Commit graph

9161 commits

Author SHA1 Message Date
kara Diaby
6102ba6039 Do not permit to upload a GIF file via javascript 2020-02-25 23:33:15 +01:00
Pierre de La Morinerie
8c3a382dae
Merge pull request #4825 from tchak/update-gems
Mise à jour des dépendances
2020-02-25 16:35:25 +01:00
Paul Chavard
92a37e6348 Update gems 2020-02-25 16:12:04 +01:00
Paul Chavard
049a041d66 Update flipper gems 2020-02-25 16:12:04 +01:00
Paul Chavard
adea07c84c Update graphql gems 2020-02-25 16:12:04 +01:00
Pierre de La Morinerie
e4532500f0
Merge pull request #4826 from tchak/fix-canonical-clone
Administrateur : cloner une démarche supprime son lien à des révisions précédentes de la démarche
2020-02-25 15:35:36 +01:00
Paul Chavard
24d237de9e A cloned procedure should not have canonical relationship 2020-02-25 15:26:43 +01:00
Pierre de La Morinerie
a025fa124e
Merge pull request #4829 from betagouv/fix-registration-link
Usager : correction du lien vers la démarche après l'inscription
2020-02-25 15:23:36 +01:00
Pierre de La Morinerie
8eb6dd78a1 mailers: fix procedure_after_confirmation in the confirmation email
As mailers are run asynchronously, they don't have access to the
CurrentConfirmation defined in an earlier request.

For the procedure_after_confirmation to be serialized to the Mailer,
we need to pass it at creation time.
2020-02-25 15:17:09 +01:00
Pierre de La Morinerie
9ad56d8e9b
Merge pull request #4778 from betagouv/redirect-to-procedure-after-confirmation
Usager : redirige vers la démarche après l'email de confirmation, même lorsque le navigateur web est différent
2020-02-25 12:51:51 +01:00
Pierre de La Morinerie
6664965961 mailers: add procedure context to the confirmation link
This allows to redirect the user to the procedure they signed up for
even when the browser session is not available (like if they changed
of browser).

Fix #4738
2020-02-25 11:45:36 +00:00
Pierre de La Morinerie
10c940c188 specs: small cosmetic cleanups in sign-up specs 2020-02-25 11:45:36 +00:00
Pierre de La Morinerie
dcc81d42dd specs: ensure the procedure-less sign-up is tested 2020-02-25 11:45:36 +00:00
Paul Chavard
e2356c8000
Merge pull request #4811 from tchak/champ-nombre
Activate champ integer number on all the new procedures
2020-02-25 12:37:08 +01:00
Paul Chavard
be66a8986c Activate champ integer number on all the new procedures 2020-02-25 11:26:37 +01:00
Paul Chavard
d879a43520
Merge pull request #4821 from betagouv/dependabot/bundler/nokogiri-1.10.8
build(deps): bump nokogiri from 1.10.7 to 1.10.8
2020-02-25 11:13:10 +01:00
dependabot[bot]
98a37c9e95
build(deps): bump nokogiri from 1.10.7 to 1.10.8
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.7 to 1.10.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.7...v1.10.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-25 09:25:13 +00:00
Paul Chavard
07d36b80e2
Merge pull request #4812 from tchak/update-chartkick
Load chartkick and highcharts only on stat pages
2020-02-25 09:19:35 +01:00
Paul Chavard
ee1a930693
Update app/views/instructeurs/procedures/stats.html.haml
Co-Authored-By: Pierre de La Morinerie <kemenaran@gmail.com>
2020-02-25 09:12:58 +01:00
Paul Chavard
662ef451a9
Update app/views/stats/index.html.haml
Co-Authored-By: Pierre de La Morinerie <kemenaran@gmail.com>
2020-02-25 09:12:48 +01:00
Paul Chavard
d8eb3ebb94 Load chartkick and highcharts only on stat pages 2020-02-25 09:07:07 +01:00
Paul Chavard
655e8bc849
Merge pull request #4775 from tchak/js-polyfills
Upgrade core-js
2020-02-25 09:06:25 +01:00
Paul Chavard
0b06864f7a Upgrade core-js 2020-02-24 19:43:07 +01:00
Pierre de La Morinerie
a66c7bc179
Merge pull request #4819 from betagouv/improve-procedure-edit-form
Édition d'une démarche : améliorations de design
2020-02-24 17:56:37 +01:00
Pierre de La Morinerie
d49217bd72 procedure: improve wording for declarative procedures 2020-02-24 16:48:07 +00:00
Pierre de La Morinerie
cdf48bcfa6 procedure: add a default label to the declarative prompt 2020-02-24 16:48:07 +00:00
Pierre de La Morinerie
480765aa17 procedure: use smaller headers in the edit form 2020-02-24 16:48:07 +00:00
Keirua
c5814a3f7a
Merge pull request #4820 from betagouv/4700-virus-scan-safe
#4700: Les exports sont immédiatement marqués comme sûrs par l'antivirus
2020-02-24 17:25:51 +01:00
clemkeirua
ae14599245 #4700: export files are antivirus-safe 2020-02-24 16:14:58 +00:00
Keirua
4dd5960108
Merge pull request #4817 from betagouv/4806-export-csv-precisions
#4806 - ajout de precisions sur l'export CSV
2020-02-24 14:55:33 +01:00
clemkeirua
14a2be00e2 4806 - ajout de precisions sur l'export CSV 2020-02-24 14:45:01 +01:00
Paul Chavard
0ae881a62e
Merge pull request #4810 from betagouv/deactivate-email-syntax-errors
Suppression des erreurs d'email pour cause de syntaxe erronée
2020-02-20 16:40:09 +01:00
clemkeirua
4343bb3918 Revert "openly fail when not delivering mail"
This reverts commit 415cc2c2f1.
2020-02-20 15:31:43 +00:00
Paul Chavard
6b598fc080
Merge pull request #4802 from betagouv/feat/4796-add-column-assign_tos
feat/4796 - Step1 : add new column to Assign_tos
2020-02-20 16:30:50 +01:00
kara Diaby
5dc5230791 Step1 : add new column to Assign_tos and make sure that the data is saved on form submit 2020-02-20 16:14:56 +01:00
Paul Chavard
bc1c085e5e
Merge pull request #4805 from betagouv/4785-tag-groupe-instructeur
4785 - Ajout d'un tag 'groupe instructeur'
2020-02-20 15:57:08 +01:00
clemkeirua
48d2093577 tag 'groupe instructeur' uniquement si la procedure est routee 2020-02-20 14:48:14 +00:00
clemkeirua
059d80ea34 #4785 ajout d'une balise 'groupe instructeur' 2020-02-20 14:48:14 +00:00
Paul Chavard
c6bfcd5c2f
Merge pull request #4804 from tchak/remove_dead_export_code
Remove old export code
2020-02-20 11:28:23 +01:00
Paul Chavard
b7051da278 Remove old export code 2020-02-19 18:19:17 +01:00
krichtof
bcd92f5956
Merge pull request #4801 from betagouv/4797-impossible-ajouter-administrateur-dans-manager
- permet d'ajouter de nouveau un administrateur depuis le manager
- permet de nouveau de rechercher un administrateur depuis le manager
2020-02-19 15:36:38 +01:00
Christophe Robillard
bb61500f9b recherche un administrateur par email dans manager 2020-02-19 15:17:36 +01:00
Christophe Robillard
ba3d2f1b9f refactor 2020-02-19 15:17:36 +01:00
Christophe Robillard
32d1ebe565 add administrateur from manager 2020-02-19 15:17:36 +01:00
Paul Chavard
51f7b41ab4
Merge pull request #4800 from tchak/remove-unused-mailers
Remove notify_unhide_to_user and notify_undelete_to_user mailers
2020-02-19 11:48:10 +01:00
Paul Chavard
e931c0800d Remove notify_unhide_to_user and notify_undelete_to_user mailers 2020-02-18 17:56:52 +01:00
Paul Chavard
fc2d81bc47
Merge pull request #4776 from tchak/add_dossier_en_construction_deletion_mailers
Add new dossier mailers for deletion operations
2020-02-18 17:51:53 +01:00
Paul Chavard
318baf316e Add notify_en_construction_near_deletion mailer 2020-02-18 17:18:14 +01:00
Paul Chavard
8c77d91e9f Add notify_automatic_deletion_to_administration mailer 2020-02-18 17:18:06 +01:00
Paul Chavard
4e116f06a6 Add notify_automatic_deletion_to_user mailer 2020-02-18 17:15:32 +01:00