Commit graph

4643 commits

Author SHA1 Message Date
gregoirenovel
2d2490477e
Merge pull request #2006 from betagouv/clean-notification-mailer
Clean notification mailer
2018-05-31 13:45:47 +02:00
gregoirenovel
32a2ab153f Remove vars_mailer and simplify code 2018-05-31 12:10:06 +02:00
gregoirenovel
2e0abb054c Stop doing something useless 2018-05-31 12:10:06 +02:00
gregoirenovel
641f72a517 Stop relying on instance variables 2018-05-31 12:10:06 +02:00
gregoirenovel
0d8cb50a30 Introduce a local variable to improve legibility 2018-05-31 12:10:06 +02:00
gregoirenovel
8eacfa801c Use send_mail when possible 2018-05-31 12:10:06 +02:00
gregoirenovel
02c2f681aa Reorder some methods 2018-05-31 12:10:06 +02:00
gregoirenovel
a57e2388f6 Unify NotificationMailer methods’ signatures 2018-05-31 12:10:06 +02:00
gregoirenovel
7ea37abefa Use a local variable instead of an instance variable 2018-05-31 12:10:06 +02:00
gregoirenovel
bb8adba9b9 Use goddamn parentheses 2018-05-31 12:10:06 +02:00
gregoirenovel
bcc2970de4
Merge pull request #2005 from betagouv/frederic/fix-2002-create-missed-ar-messages
[Fix #2002] Create missing accuse de reception messages
2018-05-31 12:09:52 +02:00
Frederic Merizen
44af4e95f1 [Fix #2002] Create missing accuse de reception messages 2018-05-31 12:03:50 +02:00
gregoirenovel
e91029a25d
Merge pull request #2003 from betagouv/clean-2
Clean
2018-05-31 11:54:01 +02:00
gregoirenovel
661010100d [Fix #1536] Remove stringupcasepatch 2018-05-31 11:49:25 +02:00
gregoirenovel
faa56956c5 [Fix #1744] Remove useless variable 2018-05-31 11:49:25 +02:00
gregoirenovel
dc045bdefb [Fix #1808] Use &. where possible 2018-05-31 11:49:25 +02:00
Mathieu Magnin
9df649d8cc
Merge pull request #2001 from betagouv/gprd-delete-dossier
Gprd delete dossier
2018-05-31 09:44:41 +02:00
Mathieu Magnin
eb1fbb7dbc Delete button, notify user and admin then delete dossier 2018-05-30 18:01:36 +02:00
Mathieu Magnin
55a3d59e38 Create new model to store deleted dossier metadatas 2018-05-30 18:01:36 +02:00
Mathieu Magnin
b68563f45f Only dossier owner can see delete button 2018-05-30 18:01:36 +02:00
Mathieu Magnin
28fc32db6d Change delete button wording 2018-05-30 18:01:36 +02:00
gregoirenovel
8f390fa275
Merge pull request #2002 from betagouv/frederic/fix-1999-store-AR-to-messagerie
Fix #1999 store AR to messagerie
2018-05-30 17:22:30 +02:00
Frederic Merizen
80e75b33c4 [Fix #1999] create commentaires for AR 2018-05-30 17:12:06 +02:00
Frederic Merizen
a62adb4307 [#1999] Remove dead code 2018-05-30 17:07:29 +02:00
LeSim
3930e85458
Merge pull request #1998 from betagouv/frederic/download_db_dump_compressed
Enable compression for DB dump download
2018-05-30 15:48:47 +02:00
Frederic Merizen
3fd0681a10 Enable compression for DB dump download 2018-05-30 15:40:35 +02:00
Paul Chavard
8fb0241d99
Merge pull request #1996 from tchak/association-fix
Guard for champ SIRET without etablissement
2018-05-30 15:10:54 +02:00
Paul Chavard
66855e77b6 Guard for champ SIRET without etablissement 2018-05-30 15:03:44 +02:00
Paul Chavard
6303372b3e
Merge pull request #1971 from betagouv/fix_1952_improve_dubious_procedure
Fix 1952 improve dubious procedure
2018-05-30 14:40:40 +02:00
simon lehericey
c00f56d454 DubiousProcedure: improve spec 2018-05-30 14:21:41 +02:00
simon lehericey
9f06308dbd DubiousProcedure: ensure that hidden procedure are not detected 2018-05-30 14:21:41 +02:00
simon lehericey
959097ce8b DubiousProcedure: small style adjustement 2018-05-30 14:21:41 +02:00
simon lehericey
6eadea29bc [fix #1952] DubiousProcedure: add admin contact, procedure state and dossier count 2018-05-30 14:21:41 +02:00
simon lehericey
47cc0180bd DubiousProcedure: change forbidden keywords 2018-05-30 14:21:35 +02:00
Paul Chavard
6a8cd6da4e
Merge pull request #1944 from tchak/cerfa-pj
Convert CERFA to PJ
2018-05-29 15:08:35 +02:00
Paul Chavard
1e3bb352cd Convert CERFA to PJ 2018-05-29 15:00:24 +02:00
Paul Chavard
902e1a7bcb
Merge pull request #1978 from tchak/fix-procedure-archive
Do not attempt to archive already archived procedures
2018-05-29 15:00:04 +02:00
Paul Chavard
86b2cb211e Do not attempt to archive already archived procedures 2018-05-29 14:29:26 +02:00
Mathieu Magnin
a9b4ba2958
Merge pull request #1980 from betagouv/add-dossier-state-to-deletion-email
Add dossier state to deletion email
2018-05-29 12:23:15 +02:00
Mathieu Magnin
0f32821b27 Add dossier state to deletion email 2018-05-29 12:16:22 +02:00
Paul Chavard
50326b6827
Merge pull request #1974 from tchak/fix-clone-procedure
Fix clone procedure
2018-05-28 15:06:34 +02:00
Paul Chavard
87d7bd4fb2 Fix clone procedure 2018-05-28 14:58:40 +02:00
Frederic Merizen
a2fcf97694
Merge pull request #1973 from betagouv/frederic/fix-1972-async-mail
[Fix #1972] Envoyer les mails en asynchrone
2018-05-28 12:19:25 +02:00
Frederic Merizen
fd168c4a72 [Fix #1972] Make devise mails async 2018-05-28 12:02:13 +02:00
Frederic Merizen
07b1c147d9 [Fix #1972] Always send mails asynchronously 2018-05-28 12:02:13 +02:00
Frederic Merizen
cce00e19c6 [#1972] Avoid passing unsaved templates to ActionMailer
So that all mail arguments can be serialized
2018-05-28 12:02:13 +02:00
gregoirenovel
1fb85afdc7
Merge pull request #1965 from betagouv/gemfile-cleanup
Gemfile cleanup
2018-05-25 09:08:23 +02:00
gregoirenovel
a8ac59dd4c Remove constraint on rails 2018-05-24 18:17:34 +02:00
gregoirenovel
5a880b5663 Remove constraint on uglifier 2018-05-24 18:17:34 +02:00
gregoirenovel
cf0eec6cd6 Remove the fixed version for guard-livereload 2018-05-24 18:17:34 +02:00