Commit graph

5460 commits

Author SHA1 Message Date
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
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
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
Pierre de La Morinerie
0fa18c70bf form: extract the form header to its own partial 2018-08-01 17:41:11 +02:00
Pierre de La Morinerie
dee4acd802 dossier_facade: remplace followers by an equivalent implementation 2018-08-01 17:41:11 +02:00
Pierre de La Morinerie
fab2439f31
Merge pull request #2329 from tchak/yarn-cache
Cache yarn packages
2018-08-01 17:36:58 +02:00
Paul Chavard
d0761a0559 Cache yarn packages 2018-08-01 17:18:07 +02:00
Pierre de La Morinerie
fa9659a00b
Merge pull request #2328 from tchak/fix-chartkick
Use Chartkick with defer option
2018-08-01 17:04:06 +02:00
Paul Chavard
3645c56416 Use Chartkick with defer option 2018-08-01 17:02:30 +02:00
Pierre de La Morinerie
54916e5a4c
Merge pull request #2325 from tchak/mailjet.js
Package mailjet widget with webpack
2018-08-01 17:02:05 +02:00
Paul Chavard
78a9365fe1 Package mailjet widget with webpack 2018-08-01 16:54:39 +02:00
Paul Chavard
5ea05cbb54
Merge pull request #2327 from betagouv/retry-when-yarn-install-fails
ci: retry when yarn fails because of a transcient error
2018-08-01 16:54:18 +02:00
Pierre de La Morinerie
9a963828d2 ci: retry when yarn fails because of a transcient error 2018-08-01 16:37:52 +02:00
Pierre de La Morinerie
2280344692
Merge pull request #2324 from betagouv/fix-2214
[Fix #2214] Don’t suggest using the messagerie when it is not available
2018-08-01 16:33:19 +02:00
gregoirenovel
6d9648e88c [Fix #2214] Don’t suggest using the messagerie when it is not available 2018-08-01 15:36:52 +02:00
gregoirenovel
7a56ffdd5d
Merge pull request #2319 from betagouv/hide-accompagnateurs-email-address
invite: don't display email of following accompagnateurs
2018-08-01 14:14:21 +02:00
Pierre de La Morinerie
01cdd910df invite: don't display email of following accompagnateurs
We don't want the individual contact of Accompagnateurs to be displayed, for privacy reasons.
2018-08-01 13:48:58 +02:00
Pierre de La Morinerie
1d2fb73a4c
Merge pull request #2322 from tchak/fix-webpacker
Fix global jQuery usage
2018-08-01 12:32:21 +02:00
Paul Chavard
872e07b5e6 Fix global jQuery usage 2018-08-01 11:55:35 +02:00
Paul Chavard
8b23cbd272
Merge pull request #2323 from betagouv/fix-flacky-features
Améliore la stabilité de tests peu fiables
2018-08-01 11:55:23 +02:00
Pierre de La Morinerie
b7382375e2 specs: fix disabling jQuery animations during tests 2018-08-01 11:46:04 +02:00
Pierre de La Morinerie
8d9b65e556 specs: wait for ajax requests completion where required 2018-08-01 11:01:46 +02:00
Pierre de La Morinerie
270384f8dd specs: remove redundant line 2018-08-01 11:01:26 +02:00