Commit graph

8409 commits

Author SHA1 Message Date
Pierre de La Morinerie
2d5edc06c5
tasks: fix the commentaires migration task to work with hidden… (#4165)
Correction de la tâche de migration des pièces jointes sur les Commentaires
2019-08-01 15:43:40 +02:00
Pierre de La Morinerie
6459e9cf37 tasks: fix the commentaires migration task to work with hidden dossiers
By default `commentaire.dossier` doesn't return the dossier if it is
hidden.
2019-08-01 15:43:09 +02:00
LeSim
541b3dc8f8
Merge pull request #4166 from betagouv/fix-unencrypted-gem-url
Gemfile: fix an 'insecure connection' Bundler warning
2019-08-01 15:19:23 +02:00
Pierre de La Morinerie
20239077a7 Gemfile: fix an 'insecure connection' Bundler warning 2019-08-01 15:00:23 +02:00
Pierre de La Morinerie
1b1ec833fe
Merge pull request #4154 from betagouv/drop-pj-tables
⚠ Suppression des tables `types_de_piece_justificative` et `pieces_justificatives` dans la base de donnée
2019-08-01 12:28:27 +02:00
Pierre de La Morinerie
befee0ea57 Drop types_de_piece_justificative and pieces_justificatives tables
Now that the content of these tables has been migrated, we can drop
them.
2019-08-01 12:21:25 +02:00
Paul Chavard
95af8560b2
Merge pull request #3193 from tchak/carte-use-geojson
Save selection utilisateur as geo area
2019-08-01 11:47:36 +02:00
Paul Chavard
586141a596 Add selection_utilisateur geo_area to all champs carte with value 2019-08-01 11:38:09 +02:00
Paul Chavard
c75e39884e Save selection utilisateur as geo area 2019-08-01 11:38:09 +02:00
Keirua
4325bc0689
Merge pull request #4147 from Keirua/4058-transition-accepte-instruction-superadmin
#4058 - Transition from accepte to instruction as superadmin
2019-08-01 10:41:16 +02:00
clemkeirua
f5d3818e3c remove unnecessary retransition methods 2019-08-01 10:40:08 +02:00
Keirua
2f82dd9a3d improve typography and texts
Co-Authored-By: Nicolas Bouilleaud <nico@bou.io>
2019-08-01 10:29:51 +02:00
clemkeirua
38b48f4217 transition from accepte to instruction as superadmin 2019-08-01 10:29:51 +02:00
Nicolas Bouilleaud
85378ae193
Merge pull request #4083 from tchak/api-champ-repetable
Add repetitions to api
2019-08-01 10:15:01 +02:00
Paul Chavard
b266915892 Add repetitions to api 2019-08-01 10:04:35 +02:00
Paul Chavard
127a4d2ffb
Merge pull request #4157 from tchak/add-attestation-url-to-api
Add attestation url to dossier on api
2019-08-01 10:04:04 +02:00
Paul Chavard
fba195c0b5 Add attestation url to dossier on api 2019-07-31 18:30:40 +02:00
Paul Chavard
fd977a4a84
Merge pull request #4155 from tchak/stop-using-feature-flags-for-env-switch
Stop using feature flags for env switch
2019-07-31 15:29:08 +02:00
Paul Chavard
6cfad01d12 Stop using Flipflop as switch for weekly_overview 2019-07-31 15:15:09 +02:00
Paul Chavard
25db21467d Stop using Flipflop as switch for Fog 2019-07-31 15:15:09 +02:00
Paul Chavard
6f3fde21f2
Merge pull request #4139 from Keirua/fix/confirm-on-delete-champ
#4137 - Ajout d'un confirm à la suppression d'un champ
2019-07-31 12:31:44 +02:00
Paul Chavard
117e70cc7d
Merge pull request #4046 from tchak/use-pundit
Start using pundit
2019-07-31 12:08:12 +02:00
Paul Chavard
fc75580a3c Start using pundit 2019-07-30 18:09:28 +02:00
Pierre de La Morinerie
25f49acbd2
Fix export dossier (#4151)
Correction de l'export tableur des dossiers v2
2019-07-30 17:31:51 +02:00
Paul Chavard
8c72470a6c Add default etablissement champ name 2019-07-30 17:17:36 +02:00
Paul Chavard
ab1170bcfc Fix export dossier n+1 query 2019-07-30 17:17:36 +02:00
Paul Chavard
5a9468aa95 Fix repetition data export 2019-07-30 17:17:36 +02:00
Pierre de La Morinerie
d1ff311879
Suppression du code des anciennes pièces jointes (#4142)
Suppression du code des anciennes pièces jointes
2019-07-30 16:19:18 +02:00
Pierre de La Morinerie
02a5234bde lib: remove FileSizeValidator
It was only used by the PieceJustificative model.
2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
65e7489b4f uploaders: remove PieceJustificativeUploader 2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
95e24392f9 models: remove old pieces justificatives 2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
212d1f8cea locales: remove references to old pj 2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
ea1c8ea7e3 models: remove associations to old pieces justificatives 2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
f6a1c7ded3 manager: remove support for old pj 2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
0da0a2b446 model: remove support for cloning procedures with old pj 2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
ffe081c1f2 specs: remove old pieces_justificative from specs and factories 2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
f69f325236 api: remove export of old pieces justificatives 2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
e975fe4ade tasks: remove task to migrate old pieces justificatives 2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
31ebe41025 tasks: remove dossier procedure migrator
It was used only once, and contains references to the old pieces
justificatives that we are going to remove.
2019-07-30 16:11:17 +02:00
Pierre de La Morinerie
0018f36b44 gestionnaire: remove UI for filtering pieces justificatives 2019-07-30 16:11:16 +02:00
Pierre de La Morinerie
f825f62ce5 dossier: remove UI for viewing old pieces justificatives 2019-07-30 16:11:16 +02:00
Pierre de La Morinerie
5502f2e42e dossier: remove UI for uploading old pieces justificatives 2019-07-30 16:11:16 +02:00
Pierre de La Morinerie
0c4cb3b498 admin: remove UI for managing old pj 2019-07-30 16:11:16 +02:00
Nicolas Bouilleaud
b1a6a33261
Merge pull request #4150 from betagouv/tour-de-france-is-over
Remove tour-de-france
2019-07-30 15:56:40 +02:00
Nicolas Bouilleaud
7205f4da9e L'enfer du Nord Paris-Roubaix (Tour de France, Tour de France) 2019-07-30 14:47:48 +02:00
Pierre de La Morinerie
7be022ff48
Lock account by brute force attack (#3995)
Après un certain nombre d'authentifications infructueuses, le compte utilisateur est temporairement verrouillé
2019-07-29 18:01:32 +02:00
pedong
5921da9397 add schema.rb updated 2019-07-29 17:48:44 +02:00
pedong
9438f962c5 add alert for account is locked 2019-07-29 17:48:44 +02:00
pedong
0ed9c4cbd4 add check access_locked? when login 2019-07-29 17:48:44 +02:00
pedong
8d03a6747c add lockable to User, Gestionnaire, administration, Administrateur 2019-07-29 17:48:44 +02:00