Commit graph

4699 commits

Author SHA1 Message Date
Paul Chavard
2505419b08 Treat partial success from api entreprises as errors
We might refine this later, but for now this will give an error instead of unspecified state
2018-03-26 17:44:37 +02:00
gregoirenovel
d72e0e92a9
Merge pull request #1725 from tchak/fix-api-entreprise-timouts
Use Typhoeus and set agressive timeouts
2018-03-26 17:01:43 +02:00
Paul Chavard
f35aef0eb6 Use Typhoeus and set agressive timeouts 2018-03-26 16:53:42 +02:00
gregoirenovel
197089a746
Merge pull request #1700 from betagouv/prepare-1626
[Ref #1626] Add the administrateurs_procedures table and associations
2018-03-23 14:18:18 +01:00
gregoirenovel
2385548a03 [Ref #1626] Add the administrateurs_procedures table and associations 2018-03-23 11:40:03 +01:00
gregoirenovel
a7a60f92cf
Merge pull request #1688 from betagouv/remove-auto-margin
[Fix #1687] Align sign in/up form to the top
2018-03-22 17:24:58 +01:00
gregoirenovel
5b04fa2a4c [Fix #1687] Align sign in/up form to the top 2018-03-22 17:16:39 +01:00
Frederic Merizen
6a9016fbfd
Merge pull request #1695 from betagouv/frederic/fix_1677-remove_invite_instructeur
#1677 remove invite instructeur
2018-03-22 16:54:20 +01:00
Frederic Merizen
cab670b1ad [#1677] Simplify code 2018-03-22 16:40:57 +01:00
Frederic Merizen
c413dfa127 [#1677] No longer create InviteGestionnaires 2018-03-22 16:40:57 +01:00
LeSim
6c3f287f68
Merge pull request #1686 from betagouv/fix_1601_pipedrive_manager_integration
Fix 1601 pipedrive manager integration
2018-03-22 15:50:25 +01:00
simon lehericey
9eb28faa10 [fix #1601] accept demandes in manager 2018-03-22 15:37:16 +01:00
simon lehericey
9e566596fa [fix #1601] show pipedrive demandes in manager 2018-03-22 15:37:16 +01:00
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