Commit graph

11487 commits

Author SHA1 Message Date
Keirua
92ab31891e
Merge pull request #4835 from betagouv/dev
2020-02-26-01
2020-02-26 16:35:33 +01:00
Keirua
4934a6359b
Merge pull request #4834 from betagouv/4832-perfs-dossiers-traites
[#4832] Amélioration des performances des écrans de listes de dossiers
2020-02-26 15:48:43 +01:00
clemkeirua
cfc584f496 suppression des preconditions sur sorted_ids et filtered_ids
Ces preconditions induisent un probleme de n+1. On peut résoudre le problème en supprimant la précondition, ou en incluant les procedures dans les dossiers
J'ai opté pour la suppression de la précondition, qui avait fait débat lors de son introduction:

667deae5cc (diff-b6be6196cd739f8b31e0b195677e46d6R176)
2020-02-26 15:21:42 +01:00
Paul Chavard
8743ecef50
Merge pull request #4831 from betagouv/4784-dossiers-reroutés-mis-en-avant
4784: dossiers reroutés dans la colonne "A suivre" des instructeurs du nouveau groupe
2020-02-26 12:30:29 +01:00
Christophe Robillard
2bd6f01009 log changer_groupe_instructeur 2020-02-26 11:25:07 +01:00
Christophe Robillard
e0f4957dfd notify instructeur after groupe_instructeur changed 2020-02-26 11:25:07 +01:00
Christophe Robillard
fb3d7e45ba unfollow stale instructeurs
when the group instructeur of a dossier is changed, unfollow the
instructeurs who don't belong to the new groupe instructeur
2020-02-26 11:25:07 +01:00
Paul Chavard
f7a4759664
Merge pull request #4818 from betagouv/feat/4814-images-support
fix/4814 - Do not permit to upload a GIF file via javascript
2020-02-26 10:28:40 +01:00
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
32442ae00c
Merge pull request #4830 from betagouv/dev
2020-02-25-02
2020-02-25 15:46:31 +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
526e54ca17
Merge pull request #4827 from betagouv/dev
2020-02-25-01
2020-02-25 13:56:51 +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
Keirua
3b48815604
Merge pull request #4816 from betagouv/dev
2020-02-24-01
2020-02-24 10:09:42 +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