Commit graph

3963 commits

Author SHA1 Message Date
gregoirenovel
a0a56d6f67 Add a variable for legibility 2018-03-19 11:39:46 +01:00
gregoirenovel
5628eba0a4 mandatory_params -> params 2018-03-19 11:39:46 +01:00
gregoirenovel
b71b8ea8e0 Refactor the url method 2018-03-19 11:39:46 +01:00
gregoirenovel
92e0e4c231 Remove the base_url method 2018-03-19 11:39:46 +01:00
gregoirenovel
51c030b945 Move the URL computation to a private method 2018-03-19 11:39:46 +01:00
gregoirenovel
94176f0b53 Pass a resource instead of a url to #call 2018-03-19 11:39:46 +01:00
gregoirenovel
330f99de8a Mutualise part of the URL 2018-03-19 11:39:46 +01:00
gregoirenovel
2c18541256 Mutualise base_url call 2018-03-19 11:39:46 +01:00
gregoirenovel
6902f502d3 Mutualise mandatory_params call 2018-03-19 11:39:46 +01:00
gregoirenovel
9daf0ee608 Remove useless attribute default 2018-03-19 11:39:46 +01:00
gregoirenovel
805fd86248
Merge pull request #1660 from betagouv/remove-unused-images
Remove unused images
2018-03-19 11:39:19 +01:00
gregoirenovel
df06850d5d Remove unused images 2018-03-19 11:29:27 +01:00
gregoirenovel
452a8808ce
Merge pull request #1655 from betagouv/fix-1654
[Fix #1654] Generate procedure export filename with libelle
2018-03-19 11:29:18 +01:00
Mathieu Magnin
621f8143bd [Fix #1654] Generate procedure export filename with libelle 2018-03-19 11:16:05 +01:00
gregoirenovel
a78978052e
Merge pull request #1646 from betagouv/fix-1644
[Fix #1644] In API, current_administrateur -> administrateur
2018-03-19 11:14:00 +01:00
gregoirenovel
19a2398593 [Fix #1644] In API, current_administrateur -> administrateur 2018-03-19 11:09:30 +01:00
Mathieu Magnin
d2d4015f0d
Merge pull request #1653 from betagouv/fix-env-root-url
Use root_url in admin creation mail
2018-03-19 11:08:33 +01:00
Mathieu Magnin
4e2af06423 Use root_url in admin creation mail 2018-03-19 11:02:36 +01:00
gregoirenovel
d8c73dc63b
Merge pull request #1657 from betagouv/fix-1535
Remove super_admin.rb from Mina
2018-03-19 10:36:51 +01:00
gregoirenovel
ec3a1bd132 [Fix #1535] Remove super_admin.rb from Mina 2018-03-19 10:31:26 +01:00
Frederic Merizen
7c7f28aea6
Merge pull request #1650 from betagouv/better-api
Fix authentication token description
2018-03-16 10:15:43 +01:00
Frederic Merizen
d60765880f Fix authentication token description 2018-03-16 10:10:43 +01:00
gregoirenovel
aabf5d737a
Merge pull request #1647 from betagouv/fix-siade-tests
Fix siade tests
2018-03-15 18:14:16 +01:00
Mathieu Magnin
2441d21f4b Fix siade tests 2018-03-15 18:08:14 +01:00
gregoirenovel
74d38221af
Merge pull request #1642 from betagouv/better-api
Améliorations API′
2018-03-15 17:59:40 +01:00
Paul Chavard
e4f07dbae6 Document pagination params in api and allow to set per_page limit 2018-03-15 17:50:41 +01:00
Paul Chavard
87d1948023 Add token authentication to API 2018-03-15 17:43:45 +01:00
gregoirenovel
c48a60de90
Merge pull request #1627 from betagouv/phone
Change phone number
2018-03-15 15:10:22 +01:00
gregoirenovel
29f35f29a9 [Fix #1628] Change phone number 2018-03-15 15:05:52 +01:00
Mathieu Magnin
8c2622e9ff
Merge pull request #1625 from betagouv/fix-1500
Api Entreprise v2
2018-03-15 15:03:53 +01:00
Mathieu Magnin
ab368d44a1 [Fix #1500] Add mandatory params to call api entreprise v2 2018-03-15 14:51:42 +01:00
Mathieu Magnin
e08f59ffb8 [Fix #1500] Use urls.rb from this repository 2018-03-15 14:37:13 +01:00
Frederic Merizen
521d70e43a
Merge pull request #1622 from betagouv/frederic/fix_1614-textarea_newlines
Frederic/fix 1614 textarea newlines
2018-03-15 13:08:07 +01:00
Frederic Merizen
6c669ccc39 [Fix #1614] Show newlines for textarea champs 2018-03-15 12:21:00 +01:00
Frederic Merizen
a02e749c03
Merge pull request #1620 from betagouv/frederic/fix_1619-invitation_on_dossier_for_removed_procedure
[Fix #1619] Do not consider invitations to deleted dossiers
2018-03-15 11:36:25 +01:00
Frederic Merizen
610058c534 [Fix #1619] Do not consider invitations to deleted dossiers 2018-03-15 11:32:21 +01:00
Mathieu Magnin
dcfe3070dd
Merge pull request #1621 from betagouv/doc-link
Update documentation links to GitBook v2
2018-03-15 10:17:48 +01:00
gregoirenovel
031b9c0bab Update documentation links to GitBook v2 2018-03-15 09:37:24 +01:00
gregoirenovel
46d878f433
Merge pull request #1612 from betagouv/bump-gems
Bump gems
2018-03-14 17:57:28 +01:00
gregoirenovel
a15790160e Bump ffi 2018-03-14 17:46:22 +01:00
gregoirenovel
97a2c9321f Unlock ffi now that a bug has been resolved 2018-03-14 17:46:22 +01:00
gregoirenovel
39f627fdbd Bump default gems
- browser
- chartkick
- openid_connect
- openstack
- uglifier
2018-03-14 17:46:22 +01:00
gregoirenovel
939c7bc970
Merge pull request #1506 from betagouv/fix-1479
Gestionnaire emails with nbsp 😩
2018-03-14 17:46:15 +01:00
Mathieu Magnin
69f8353b2f [Fix #1479] Sanitize Avis email before validation 2018-03-14 17:41:47 +01:00
Mathieu Magnin
a00114d03d [Fix #1479] Sanitize User email before validation 2018-03-14 17:41:47 +01:00
Mathieu Magnin
8731f7c63b [Fix #1479] Sanitize Administrateur email before validation 2018-03-14 17:41:47 +01:00
Mathieu Magnin
d9c562c59d [Fix #1479] Sanitize Gestionnaire email before validation 2018-03-14 17:41:46 +01:00
Mathieu Magnin
38e1609d73 [Fix #1479] Validate Avis email format 2018-03-14 17:41:46 +01:00
Mathieu Magnin
247526578c [Fix #1479] Avis creation can fail gracefully 2018-03-14 17:41:46 +01:00
Mathieu Magnin
ba3b0b4687 [Fix #1479] Remove unused email format validator 2018-03-14 17:41:46 +01:00