Commit graph

9296 commits

Author SHA1 Message Date
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
Pierre de La Morinerie
ea94ea05a0 config: configure CSP to allow live-reload requests
This avoids CSP errors when using the `bin/webpack-dev-server` external
assets compilation server.
2020-03-18 13:26:54 +01:00
Pierre de La Morinerie
a81e0c17fb
Merge pull request #4903 from maatinito/issue/removed_obsolete_after_party_tasks
Suppression des tâches `after_party` périmées
2020-03-18 13:11:46 +01:00
maatinito
d56635ebb1 removed obsolete after_party tasks
They no longer work on fresh database
2020-03-18 12:46:35 +01:00
Pierre de La Morinerie
ebac24e390
Merge pull request #4902 from maatinito/issue/#4892_cancel_declarative_mode_on_procedure
Administrateur : possibilité de repasser une démarche déclarative en non-déclaratif
2020-03-18 12:20:40 +01:00
maatinito
ee3f5652f9 fix #4892 Allows cancelling declarative mode on procedure 2020-03-18 12:07:40 +01:00
krichtof
23af8caf05
Merge pull request #4900 from betagouv/3366-remplir-demarche-en-cliquant-lien
instructeur: remplir une démarche en cliquant sur son lien
2020-03-18 11:24:10 +01:00
Christophe Robillard
795eabb1ea go to procedure after cliking link
even for an instructeur which is not signed in and unstrusted
2020-03-18 11:16:19 +01:00
Pierre de La Morinerie
4cc17453f9
Merge pull request #4901 from maatinito/issue/database_seed_correction
Correction de l'initialisation de la base de donnée locale
2020-03-18 10:33:55 +01:00
maatinito
cb6386eb3a database seed: administrateur no longer have email field 2020-03-17 17:03:34 -10:00