Commit graph

9305 commits

Author SHA1 Message Date
simon lehericey
378443eb5b Fix admin/new manager page 2020-03-24 15:52:37 +01:00
simon lehericey
25dad37604 bump administrate 2020-03-24 15:52:37 +01:00
Paul Chavard
b8cbe55ce4
Merge pull request #4936 from betagouv/fix-champ-localization
locales: fix translation of champ value
2020-03-24 15:47:29 +01:00
Pierre de La Morinerie
a716713ed6 locales: fix translation of champ value
Due to the extra 's', the names of Champs attributes were never
translated.
2020-03-24 15:42:02 +01:00
Paul Chavard
12166e29bb
Merge pull request #4914 from tchak/fix-brouillon-deletions
Always add a reason when deleting a dossier
2020-03-24 09:46:04 +01:00
Paul Chavard
5c2eba1dd1 Always add a reason to dossier deletion 2020-03-24 09:30:11 +01:00
Paul Chavard
9243ae69df Add reason to DeletedDossier
# Conflicts:
#	db/schema.rb
2020-03-24 09:30:11 +01:00
Paul Chavard
b2706b9031
Merge pull request #4920 from tchak/keep-operation-logs-after-dossiers-removal
Keep operation logs after dossier removal
2020-03-24 09:29:03 +01:00
Paul Chavard
903cf0cef5 Keep operation logs after dossier removal 2020-03-24 09:18:45 +01:00
Pierre de La Morinerie
1dfd450d18
Merge pull request #4927 from betagouv/js-move-autosave-files
Déplacement de fichiers Javascript d'un dossier à l'autre
2020-03-23 17:57:13 +01:00
Pierre de La Morinerie
e908b42b43 javascript: move the autosave files to a sub-directory 2020-03-23 14:02:29 +01:00
Pierre de La Morinerie
7e513cc5f6
Merge pull request #4923 from betagouv/minor_rails_update
Mise à jour mineure de Rails (5.2.4.1 -> 5.2.4.2)
2020-03-23 12:55:53 +01:00
simon lehericey
d1cad0388e minor rails bump 2020-03-23 11:43:50 +00:00
Kara Diaby
908ee43b02
Merge pull request #4891 from betagouv/feat/4227
feat/4227 - add files validations to models
2020-03-23 11:34:35 +01:00
kara Diaby
1f27652cd3 add files validations to models 2020-03-23 11:28:13 +01:00
Keirua
84c54f7271
Merge pull request #4924 from betagouv/fix_brouillon_deletion
fix missing rename
2020-03-20 22:51:26 +01:00
simon lehericey
969d5625c8 fix missing rename 2020-03-20 22:28:52 +01:00
Kara Diaby
8d75722392
Merge pull request #4921 from betagouv/fix/4872
fix/4872  - fix the email notifications data bug
2020-03-20 18:11:02 +01:00
kara Diaby
eb8df80c18 fix the email notifications data bug 2020-03-20 16:38:57 +01:00
krichtof
402d749c24
Merge pull request #4912 from betagouv/3366-fix-remplir-demarche-en-cliquant-lien
permet à un instructeur de remplir une demarche en cliquant sur un lien
2020-03-20 11:43:56 +01:00
Christophe Robillard
d46bcecc51 improve code readbility 2020-03-20 10:41:36 +01:00
Christophe Robillard
775cc11d30 include store_location_extension for all controllers 2020-03-20 10:41:36 +01:00
Christophe Robillard
884de51b94 Revert "Revert "go to procedure after cliking link""
This reverts commit 952bae32fe.
2020-03-20 10:41:36 +01:00
Paul Chavard
6ea64c28e1
Merge pull request #4919 from betagouv/ajax-as-promise
javascript: make utils.ajax() return a promise
2020-03-19 18:55:27 +01:00
Pierre de La Morinerie
ec2199f7b1 javascript: make utils.ajax() return a promise
This allow to use `await ajax(…)`, and still have Rails manage the
request, insert the proper headers and tokens, etc.
2020-03-19 18:28:24 +01:00
Pierre de La Morinerie
0c944ceeb2
Merge pull request #4917 from betagouv/remove-duplicated-chrome-arg
Tests : suppression d’un paramètre Chrome en double
2020-03-19 18:04:06 +01:00
Pierre de La Morinerie
1b4a218b0e specs: remove useless chrome argument
The `options.add_argument('--headless')` above is sufficient.
2020-03-19 17:47:33 +01:00
Paul Chavard
e89f34a210
Merge pull request #4913 from tchak/refactor-dossier-mailers
Cleanup dossier mailers
2020-03-19 17:24:28 +01:00
Paul Chavard
cd0acb1344 Cleanup dossier mailers 2020-03-19 16:52:18 +01:00
Paul Chavard
e826bfbb63
Merge pull request #4916 from betagouv/fix-schema-rb
db: fix diff in schema.rb
2020-03-19 16:52:05 +01:00
Pierre de La Morinerie
6b83998e28 db: fix diff in schema.rb 2020-03-19 16:34:40 +01:00
Pierre de La Morinerie
f0ece8c8f2
Merge pull request #4779 from tchak/destory_dossiers_en_construction_next
Préparation de la suppression périodique des dossiers en construction (suite)
2020-03-18 17:59:18 +01:00
simon lehericey
a10aa9602a do not link to deleted dossier 2020-03-18 15:25:02 +01:00
simon lehericey
3e7cef63c6 add mailer preview 2020-03-18 15:25:02 +01:00
simon lehericey
ede61ee22b refacto 2020-03-18 15:25:02 +01:00
simon lehericey
3dd4ea26c7 add similar tests for send_brouillon_expiration_notices and delete_expired_brouillon_and_notify 2020-03-18 15:25:02 +01:00
simon lehericey
50bb2e6a08 refacto 2020-03-18 15:25:02 +01:00
simon lehericey
3f6012bff5 Delete complicated test 2020-03-18 15:25:02 +01:00
simon lehericey
74db7ab146 test for #send_en_construction_expiration_notices 2020-03-18 15:25:02 +01:00
simon lehericey
f35c0518b7 test for #delete_expired_en_construction_and_notify 2020-03-18 15:25:02 +01:00
simon lehericey
043847ae6e change notify_automatic_deletion_to_administration signature 2020-03-18 15:25:02 +01:00
Paul Chavard
fe1cd2a47b Delete and notify en_construction dossiers 2020-03-18 15:25:02 +01:00
Paul Chavard
85580ce34e rename SeekAndDestroyExpiredDossiersJob to ExpiredDossiersDeletionJob 2020-03-18 15:25:02 +01:00
Paul Chavard
6a5a83d555 update WarnExpiringDossiersJob to use new scope 2020-03-18 15:25:02 +01:00
Paul Chavard
77018b9e2b Add expiration scopes to dossier 2020-03-18 15:25:02 +01:00
Paul Chavard
f35ccc9d92 Move process_expired_dossiers_brouillon to a service 2020-03-18 15:25:02 +01:00
Paul Chavard
7930bf8bf6 Add en_construction_close_to_expiration_notice_sent_at column 2020-03-18 15:25:02 +01:00
krichtof
8cdabc10a4
Merge pull request #4908 from betagouv/revert-go-to-proc-after-cliking-link
Revert "go to procedure after cliking link"
2020-03-18 14:55:42 +01:00
Christophe Robillard
952bae32fe Revert "go to procedure after cliking link"
This reverts commit 795eabb1ea.
2020-03-18 14:45:39 +01:00
Keirua
fd4e422ab2
Merge pull request #4899 from betagouv/allow-live-reload-csp
config: configure CSP to allow live-reload requests
2020-03-18 13:48:49 +01:00