Commit graph

2587 commits

Author SHA1 Message Date
simon lehericey
31adc8e990 Pipedrive: Rename pipedrive_dev_id 2018-03-27 14:52:39 +02:00
simon lehericey
ec3d558af0 Pipedrive: extract methods in service 2018-03-27 14:52:39 +02:00
Paul Chavard
6b7d0ccb82 Remove unused rescue in SIRET form controller 2018-03-27 13:56:22 +02:00
Paul Chavard
2fc03e9079 Handle ajax errors on SIRET form 2018-03-27 13:56:22 +02:00
Paul Chavard
a17ac5a9db Remove debug logger 2018-03-26 17:44:51 +02:00
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
Paul Chavard
f35aef0eb6 Use Typhoeus and set agressive timeouts 2018-03-26 16:53:42 +02:00
gregoirenovel
2385548a03 [Ref #1626] Add the administrateurs_procedures table and associations 2018-03-23 11:40:03 +01:00
gregoirenovel
5b04fa2a4c [Fix #1687] Align sign in/up form to the top 2018-03-22 17:16:39 +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
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
Frederic Merizen
2fa88a432b Add missing brackets around parameters in method definitions 2018-03-20 17:54:51 +01:00
gregoirenovel
862d8051c8 Fix contact link on the landing page 2018-03-20 17:15:41 +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
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
df06850d5d Remove unused images 2018-03-19 11:29:27 +01:00
Mathieu Magnin
621f8143bd [Fix #1654] Generate procedure export filename with libelle 2018-03-19 11:16:05 +01:00
gregoirenovel
19a2398593 [Fix #1644] In API, current_administrateur -> administrateur 2018-03-19 11:09:30 +01:00
Mathieu Magnin
4e2af06423 Use root_url in admin creation mail 2018-03-19 11:02:36 +01:00
Frederic Merizen
d60765880f Fix authentication token description 2018-03-16 10:10:43 +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
29f35f29a9 [Fix #1628] Change phone number 2018-03-15 15:05:52 +01:00
Mathieu Magnin
ab368d44a1 [Fix #1500] Add mandatory params to call api entreprise v2 2018-03-15 14:51:42 +01:00
Frederic Merizen
6c669ccc39 [Fix #1614] Show newlines for textarea champs 2018-03-15 12:21:00 +01:00
Frederic Merizen
610058c534 [Fix #1619] Do not consider invitations to deleted dossiers 2018-03-15 11:32:21 +01:00
gregoirenovel
031b9c0bab Update documentation links to GitBook v2 2018-03-15 09:37:24 +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
Mathieu Magnin
5650c4aefe [Fix #1479] Sanitize email format for invite 2018-03-14 17:41:45 +01:00
Mathieu Magnin
e00e8ba01d [Fix #1479] Validate email format with Rails format validation 2018-03-14 17:41:45 +01:00
Mathieu Magnin
b7de632d6c [Fix #1479] Create a sanitize email concern 2018-03-14 17:41:45 +01:00
gregoirenovel
4ec782ab15 [Fix #1599] Add rel attribute to target blank links 2018-03-14 16:57:39 +01:00
gregoirenovel
8bf09ac2d4 Do not center balises 2018-03-14 16:45:34 +01:00
gregoirenovel
3f92fe9755 [Fix #1589] Keep all the balises’ spaces 2018-03-14 16:45:34 +01:00
Mathieu Magnin
a90a719d9a Improve dossier readability with wider libelles 2018-03-14 16:24:04 +01:00
Mathieu Magnin
96b1c83537 Align identite headers to dossier champs headers 2018-03-14 16:24:04 +01:00
Mathieu Magnin
ac068861f5 [Fix #1607] Add email to dossier details 2018-03-14 16:24:03 +01:00
Mathieu Magnin
734950f36b [Fix #1609] Fix buttons on 2 lines 2018-03-14 12:05:50 +01:00
gregoirenovel
092df8e8af Change a reply_to email address
equipe@ is an internal email address
2018-03-14 11:50:22 +01:00
gregoirenovel
53ad9d3611 [Fix #1591] Add rel attribute to target blank links 2018-03-13 11:24:12 +01:00
gregoirenovel
657b9d2e93 Change link to doc 2018-03-12 17:51:39 +01:00
Mathieu Magnin
5b07f59ffb fix data tag without a value attribute 2018-03-08 23:18:49 +01:00
Mathieu Magnin
df625f3b6c fix spaces in href 2018-03-08 23:10:03 +01:00
Mathieu Magnin
b1584ff739 fix target _blank 2018-03-08 23:03:58 +01:00
gregoirenovel
eb977ab798 [Fix #1565] Improve accessibility of the landing page
- Improve the alt text for the header logo
- Empty alt text for decorative images
- Improve the alt text for the logos of our users
- Improve the alt text for footer logos
2018-03-08 15:25:37 +01:00
Paul Chavard
5faf4cdd84 Remove all references to old STI 2018-03-08 14:17:04 +01:00
Mathieu Magnin
9f6d6e61fb [Fix #1577] logo link in navbar on gestionnaire UI should not link to admin UI 2018-03-08 14:10:26 +01:00
Paul Chavard
6ef141b014 Build instead of create etablissement 2018-03-07 17:43:44 +01:00
Paul Chavard
19b58a298c Clarify dependent relationships between etablissement and entreprise 2018-03-07 17:42:31 +01:00
Paul Chavard
d5f620a163 Mark 1to1 nested relationships as update_only to avoid creating multiple associations
This fixes the invalid entreprises without etablissements
2018-03-07 17:42:02 +01:00
Mathieu Magnin
109b48ad01 [Fix #1573] Display multiples spaces from libelle in attestation tags 2018-03-07 17:22:43 +01:00
Mathieu Magnin
22f0767625 [Fix #1566] Do not set buttons height on landing 2018-03-07 11:51:47 +01:00
Frederic Merizen
0e0d17e5eb Merge branch 'image_optim' into dev
Closes #1558
2018-03-07 11:06:08 +01:00
gregoirenovel
ca061dc12f Add alt descriptions for images 2018-03-06 17:37:37 +01:00
gregoirenovel
55608414ad Improve the title format 2018-03-06 17:37:09 +01:00
gregoirenovel
bbcf945a8b Add missing titles to some pages 2018-03-06 17:37:09 +01:00
Guillaume RISCHARD
cb0ea02751 Restauration des svg qui n'ont pas supporté svgcleaner 2018-03-06 17:25:35 +01:00
gregoirenovel
0a9f442260 Enable some Rails cops 2018-03-06 17:18:44 +01:00
gregoirenovel
da3d9d403a Enable some more cops 2018-03-06 17:18:44 +01:00
gregoirenovel
7489b8d1aa Avoid assignments in conditions 2018-03-06 17:18:44 +01:00
Mathieu Magnin
4205f14742 fix old navbar 2018-03-06 17:11:46 +01:00
Guillaume RISCHARD
0544ac3ffe Modifications d'accessibilité au template de base 2018-03-06 16:19:08 +01:00
gregoirenovel
e26f4148ff Bump development gems
- brakeman
- rubocop
- scss_lint
2018-03-06 16:17:22 +01:00
Guillaume RISCHARD
06c34c4920 Optimisation des images 2018-03-06 16:14:59 +01:00
gregoirenovel
fe7f8da636 Revert "Bump development gems"
This reverts commit d6ad3fc3fd.
2018-03-06 15:11:26 +01:00
gregoirenovel
d6ad3fc3fd Bump development gems
- brakeman
- rubocop
- scss_lint
2018-03-06 10:36:35 +01:00
gregoirenovel
be5849a7f5 Remove unneeded quotes 2018-03-05 19:21:20 +01:00
Mathieu Magnin
875766279d [Fix #1510] Send email after dossier is received 2018-03-05 19:08:17 +01:00
Mathieu Magnin
cc648fcdb3 Log siret behaviour to investigate Sentry #2371 2018-03-05 17:46:42 +01:00
gregoirenovel
b33fd6dd37 Fix rubocop warnings 2018-03-02 15:42:20 +01:00
gregoirenovel
4d8315b997 Change the FAQ URL 2018-03-02 10:30:47 +01:00
gregoirenovel
fcfa35e34d Improve the subject of the “request an account” link 2018-03-02 10:30:47 +01:00
gregoirenovel
ea4899de06 Improve the wording of a feature 2018-03-02 10:21:36 +01:00
Mael
40c0546efd typo 2018-03-01 18:27:48 +01:00
gregoirenovel
84ffee66da Fix a typo 2018-03-01 13:09:08 +01:00
gregoirenovel
740fa86391 Update the contact panel 2018-03-01 12:13:18 +01:00
gregoirenovel
7cca5bbf64 Add the roles panels 2018-03-01 12:13:18 +01:00