Commit graph

9882 commits

Author SHA1 Message Date
Christophe Robillard
e8bef76772 fix test for procedure presentation 2020-03-03 18:07:50 +01:00
Paul Chavard
323b18ad69
Merge pull request #4833 from tchak/fix-change-groupe-instructeur
Use dossier.assign_to_groupe_instructeur
2020-03-03 14:21:35 +01:00
Paul Chavard
c46e012c10 Use dossier.assign_to_groupe_instructeur 2020-03-03 10:30:49 +01:00
Paul Chavard
c6727ec7f5
Merge pull request #4845 from tchak/graphql-dossier-groupe-instructeur
[GraphQL] add groupeInstructeur on dossier
2020-03-03 10:29:49 +01:00
Paul Chavard
1ed1aa75cd [GraphQL] add groupeInstructeur on dossier 2020-03-03 10:23:18 +01:00
Paul Chavard
ed152bd3dc
Merge pull request #4843 from tchak/update-gems
Update gems
2020-03-03 10:22:48 +01:00
Paul Chavard
b6612bbcf9 Use a forked activestorage-openstack 2020-03-03 10:14:15 +01:00
Paul Chavard
d20fa54054 Revert "Revert "Update gems""
This reverts commit c74082c117.
2020-03-03 10:14:15 +01:00
Kara Diaby
a8ccd53c8b
Merge pull request #4846 from betagouv/fix/4814-fix-bug-error
fix/4814-fix-bug-error
2020-02-28 16:48:26 +01:00
kara Diaby
44a63ae1c3 fix attestation template error case 2020-02-28 16:33:07 +01:00
Paul Chavard
e5ffb82821
Merge pull request #4840 from tchak/revert-gem-update
Revert "Update gems"
2020-02-27 12:41:28 +01:00
Paul Chavard
c74082c117 Revert "Update gems"
This reverts commit 92a37e6348.
2020-02-27 12:20:36 +01:00
Kara Diaby
e24642881a
Merge pull request #4838 from betagouv/feat/4796-remove-email-notifications-column
feat/4796 - remove email_notifications_enabled column
2020-02-27 12:13:49 +01:00
kara Diaby
4a70a7fcc8 remove email_notifications_enabled column because of the new daily_email_notifications_enabled 2020-02-27 11:09:19 +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
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