Commit graph

4186 commits

Author SHA1 Message Date
gregoirenovel
e92853853d
Merge pull request #1694 from betagouv/frederic/fix-CVE-2018-8048
Upgrade loofah 2.2.0 -> 2.2.1 to fix CVE-2018-8048
2018-03-21 20:07:35 +01:00
Frederic Merizen
04b4fac89c Upgrade loofah 2.2.0 -> 2.2.1 to fix CVE-2018-8048 2018-03-21 19:58:37 +01:00
Frederic Merizen
0dabd28ea5
Merge pull request #1685 from betagouv/enable-cop
Enable cop
2018-03-21 10:59:50 +01:00
gregoirenovel
ecc0f88417 Enable the cop that checks for brackets in method definitions 2018-03-20 18:03:39 +01:00
gregoirenovel
19606d5b94
Merge pull request #1684 from betagouv/fix-method-definition-brackets
Add missing brackets around parameters in method definitions
2018-03-20 18:03:23 +01:00
Frederic Merizen
2fa88a432b Add missing brackets around parameters in method definitions 2018-03-20 17:54:51 +01:00
gregoirenovel
9e19c78b48
Merge pull request #1683 from betagouv/fix-1682
Fix contact link on the landing page
2018-03-20 17:29:37 +01:00
gregoirenovel
862d8051c8 Fix contact link on the landing page 2018-03-20 17:15:41 +01:00
LeSim
233e0a8dc7
Merge pull request #1673 from betagouv/add-timestamps
[Fix #1534] Add missing timestamps columns
2018-03-20 17:01:06 +01:00
gregoirenovel
8555a51350 [Fix #1534] Add missing timestamps columns 2018-03-20 16:53:47 +01:00
gregoirenovel
0a5fd83c92
Merge pull request #1672 from betagouv/remove-mandataire-social-column
Remove mandataire social column
2018-03-20 16:52:39 +01:00
gregoirenovel
578cbcda37 Remove the mandataire_social column 2018-03-20 16:20:17 +01:00
gregoirenovel
2f6f6e27c0
Merge pull request #1671 from betagouv/remove-mandataire-social
Remove the mandataire_social guess
2018-03-20 16:18:59 +01:00
gregoirenovel
4df2eb168d Remove mandataires_sociaux 2018-03-20 16:09:00 +01:00
gregoirenovel
d0a59058e8 Remove the mandataire_social guess
Rationale:
- is true for only 0.06% of Dossiers
- is not displayed anymore anyways
- will be a rare case for now
  * FC adoption is not insane
  * FC used more for personal than professional
    matters
  * not always the mandataires sociaux that fill
    dossiers for their companies, so not that
    relevant
- we can add it back later
2018-03-20 16:09:00 +01:00
gregoirenovel
51fff9eb17
Merge pull request #1678 from betagouv/frederic/fix-instance-class-method-description
describe '#method' rather than describe '.method' for instance methods
2018-03-20 16:08:46 +01:00
Frederic Merizen
13d251d970 describe '#method' rather than describe '.method' for instance methods 2018-03-20 16:00:30 +01:00
LeSim
5c9e5018f1
Merge pull request #1634 from betagouv/refactor-siade
Refactor siade
2018-03-19 14:24:36 +01:00
gregoirenovel
5658aae96b SIADE -> ApiEntreprise 2018-03-19 11:39:46 +01:00
gregoirenovel
96f78b6213 data_source methods can be private 2018-03-19 11:39:46 +01:00
gregoirenovel
9a7e13f72f Mutualise a JSON#parse call 2018-03-19 11:39:46 +01:00
gregoirenovel
57b42e24e5 SIADEURL -> API_ENTREPRISE_URL 2018-03-19 11:39:46 +01:00
gregoirenovel
658bd95f86 Add a constant to SIADEURL 2018-03-19 11:39:46 +01:00
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