Commit graph

18891 commits

Author SHA1 Message Date
Pierre de La Morinerie
77eb89cb0f dossier: add a stub page for the new dossier details 2018-08-08 11:49:15 +02:00
Pierre de La Morinerie
0ac28da207 dossier: make Dossiers#show a stub redirecting to the correct location 2018-08-08 11:49:15 +02:00
LeSim
f37a628b44
Merge pull request #2357 from betagouv/improve-setup-instructions
README: improve setup instructions
2018-08-08 11:36:26 +02:00
Pierre de La Morinerie
807937089b README: add application local URL 2018-08-08 11:11:56 +02:00
Pierre de La Morinerie
da9cea0af5 README: ensure required config files are created before booting 2018-08-08 11:11:44 +02:00
Pierre de La Morinerie
f0ea6c5c8e
Merge pull request #2334 from tchak/submit-form-without-js-when-no-direct-upload
Do not rely on javascript for form submits without direct upload
2018-08-07 17:19:21 +02:00
Paul Chavard
8b79c32a55 Do not rely on javascript for form submits without direct upload 2018-08-07 16:58:49 +02:00
Paul Chavard
7a95d2cb59
Merge pull request #2352 from tchak/send-session-to-kibana
Send session to kibana
2018-08-07 16:58:24 +02:00
Paul Chavard
b5be1d74b7 Disable logstasher log_controller_parameters option 2018-08-07 16:26:44 +02:00
Paul Chavard
a0979b1d57 Fix logstasher custom fields 2018-08-07 16:26:44 +02:00
Pierre de La Morinerie
fb408d7dc1
Merge pull request #2351 from betagouv/dev
2018-08-07-01
2018-08-07 15:50:28 +02:00
Pierre de La Morinerie
63866a47b5
Merge pull request #2348 from betagouv/document-routes
Sépare les routes par section
2018-08-07 14:49:32 +02:00
Pierre de La Morinerie
b14bba70a0 routes: add sections 2018-08-07 14:41:29 +02:00
Pierre de La Morinerie
54bfb3ec98
Merge pull request #2326 from betagouv/improve-test-reliability-again
Améliore la fiabilité des tests Capybara
2018-08-07 14:41:13 +02:00
Pierre de La Morinerie
93ba063612 specs: improve reliability of procedure creation features
The 'etape_suivante' button is sometimes not activated, and it could
be because the event handler on the checkbox sometimes doesn't run.
2018-08-07 14:28:52 +02:00
Pierre de La Morinerie
cc15b0bb28 specs: make checkbox click cleaner 2018-08-07 14:28:52 +02:00
Pierre de La Morinerie
f55f949b58 admin: disable fade on publish modal
It makes Capybara tests brittle.
2018-08-07 14:28:52 +02:00
Pierre de La Morinerie
9ec5befa09 specs: increase Capybara default timeout
Because CircleCI machines are slow, and tests sometimes timeout.
2018-08-07 14:28:52 +02:00
Pierre de La Morinerie
430763fa02
Merge pull request #2338 from tchak/drop-old-champs-editor
Remove old champ editor
2018-08-07 14:24:53 +02:00
Paul Chavard
c91abe73c5 Remove old user dossier form 2018-08-07 14:13:27 +02:00
Paul Chavard
d1613b4af1
Merge pull request #2347 from betagouv/remove-show-route-hack
Supprime un hack sur les URLs "DossiersController#show"
2018-08-07 13:33:42 +02:00
Pierre de La Morinerie
c8409ecb89 dossier: remove route hack for show 2018-08-07 12:15:38 +02:00
Pierre de La Morinerie
2a07897b6b
Merge pull request #2346 from betagouv/dev
2018-08-06-01
2018-08-06 18:17:12 +02:00
Pierre de La Morinerie
6f1d867054
Merge pull request #2345 from betagouv/improve-browser-compatibility
javascript: transpile compatible JS for all browsers we support
2018-08-06 17:57:51 +02:00
Pierre de La Morinerie
fdbda30877 javascript: transpile compatible JS for all browsers we support 2018-08-06 17:50:10 +02:00
Pierre de La Morinerie
2e87218480
Merge pull request #2343 from betagouv/disallow-ie-10
browsers: enforce IE 11 as the minimum required IE version
2018-08-06 16:41:41 +02:00
Pierre de La Morinerie
22b83dd67c browsers: enforce IE 11 as the minimum required IE version
This is already documented in the README, but not enforced.
2018-08-06 16:33:10 +02:00
Pierre de La Morinerie
a74e60f6b1
Merge pull request #2344 from betagouv/fix-submit-on-ie11
Corrige la soumission des dossiers sous Internet Explorer
2018-08-06 16:31:21 +02:00
Pierre de La Morinerie
4f9384d6bd webpack: add babel-polyfill at runtime
This includes the polyfills for features that need to be emulated at
runtime (see https://github.com/babel/babel-preset-env/issues/203#issuecomment-285820866)

It fixes a "Symbol not defined" error when using `for… in` loops on
Internet Explorer 11. This caused the dossiers not to be submitted.

Fix #2300
2018-08-06 16:30:36 +02:00
Paul Chavard
e2dda81b04
Merge pull request #2342 from betagouv/improve-browser-detection
Améliore la détection des navigateurs périmés
2018-08-06 15:56:57 +02:00
Pierre de La Morinerie
8bd2a8cb97 docs: mention the modern browsers config file in the README 2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
b4f8c69d89 browsers: add comment to minimum browsers version rules 2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
a9ddadfdd2 browsers: remove IE-specific browser detection
- It doesn't work in IE >=10 (as support for conditionnal comments was
  removed)
- It is redundant with our all-browsers detection anyway
2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
a9c9c491a2 browsers: fix outdated browsers banner styling when using the new design 2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
c73da9d299 browsers: make outdated browser message more actionnable 2018-08-06 15:00:12 +02:00
Paul Chavard
8d829dc246
Merge pull request #2335 from tchak/do-not-notify-draft-dossier-delete
Only notify on dossier supression if dossier is en_construction
2018-08-02 17:24:55 +02:00
Paul Chavard
46e75ac8ef Only notify on dossier supression if dossier is en_construction 2018-08-02 17:07:24 +02:00
gregoirenovel
e56efa49b0 Merge branch 'dev' 2018-08-02 14:33:27 +02:00
Paul Chavard
ab90f930e9
Merge pull request #2331 from betagouv/fix-reloading-production-server
Fix reloading the production server
2018-08-02 14:16:13 +02:00
Pierre de La Morinerie
fb0ddbbea9 docs: document how to regenerate the binstubs for unicorn 2018-08-02 14:02:20 +02:00
Pierre de La Morinerie
a0e2643dbd bin: re-generate binstubs for bundler
Otherwise the unicorn binstub complains that the bundler binstub wasn't
generated by Bundler.
2018-08-02 14:01:42 +02:00
Pierre de La Morinerie
f36bae17e9 bin: generate binstubs for unicorn
Binstubs generated with `bundle binstubs unicorn`
2018-08-02 14:01:09 +02:00
gregoirenovel
f4dc782123
Merge pull request #2275 from betagouv/invite-on-brouillon
Permet à un usager d'inviter quelqu'un d'autre dès le brouillon
2018-08-01 18:21:37 +02:00
Pierre de La Morinerie
1ca2ca9121 invite: support remote forms
This allows to keep the draft content when inviting a new user.
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
1cac0b80af invite: add button for invite someone to collaborate on a draft 2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
9541e781bb invite: rename 'email' to 'invite_email' 2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
030562a32f design: add styling for disabled buttons 2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
a386a0ffb2 specs: add spec for DossierController#forbid_invite_submission! 2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
bdd05937e2 specs: refactor invites_controller_spec.rb 2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
2a3ce61dd9 specs: move list_dossiers from user to new_user 2018-08-01 17:41:11 +02:00