Paul Chavard
b468eb8dec
Merge pull request #3980 from tchak/add-order-to-api
...
Add order param to API
2019-06-20 15:40:36 +02:00
Paul Chavard
1781a49932
Add order param to API
2019-06-20 15:28:16 +02:00
Keirua
fc9a241461
Merge pull request #3978 from betagouv/feat/csp-duplicates-rules
...
add duplicate rules as fallback
2019-06-20 11:58:44 +02:00
clemkeirua
d3c6021ef4
add duplicate rules as fallback
2019-06-20 11:34:24 +02:00
Pierre de La Morinerie
93c3d1bc92
champs: show attachment actions only when the attachment is persisted ( #3963 )
...
Usager : correction d'une erreur lors de l'enregistrement simultané d'un champ invalide et d'une pièce jointe
2019-06-20 11:10:29 +02:00
Pierre de La Morinerie
9ce92d5c3b
champs: show attachment actions only when the atachment is persisted
...
Fix #3961
2019-06-20 11:03:08 +02:00
Pierre de La Morinerie
b98c6e1994
Migration PJ : corrige le rollback dans le cas où les dossiers sont cachés ( #3971 )
...
Migration des PJ : corrige le rollback dans le cas où les dossiers sont cachés
2019-06-20 10:58:59 +02:00
Pierre de La Morinerie
d561936863
task: ensure that hidden dossiers are rolled back
2019-06-20 10:48:56 +02:00
Nicolas Bouilleaud
d71b3ade80
Merge pull request #3970 from betagouv/fix-pj-migration-rollback
...
Migration des PJ : gestion des erreurs qui peuvent se produire pendant le rollback
2019-06-20 10:42:50 +02:00
Pierre de La Morinerie
f8dda3ae45
tasks: don't abort rollback when a dossier fails
...
Instead print a warning, and continue rolling back the other dossiers.
2019-06-20 10:31:23 +02:00
Pierre de La Morinerie
91393be13c
tasks: extract rollback to a separate method
2019-06-20 10:31:23 +02:00
Pierre de La Morinerie
0cfbc75ca9
Mailer preview correction: procedure has now multiple administrators ( #3977 )
...
Correction du mailer_preview pour prendre en compte les administrateurs multiples
2019-06-20 10:27:46 +02:00
Christian Lautier
2393fa86be
Mailer preview correction: procedure has now multiple administrators
2019-06-20 10:17:55 +02:00
Paul Chavard
8f6a1d1d10
Merge pull request #3967 from betagouv/fix-disabled-new-procedure-save-button
...
Do not check for path availability when in the “new procedure” form
2019-06-19 10:48:14 +02:00
Nicolas Bouilleaud
43f936ec77
Do not check for path availability when in the “new procedure” form
...
The user can’t even enter the path here, it’s nil.
fixes #3918
The @availability was always PATH_NOT_AVAILABLE when the form was reloaded after an error, because Procedure::path_availability always found an (archived) procedure with a nil path. It got confused and concluded its path was conflicting.
🤷🏻♂️
2019-06-18 14:31:12 +02:00
Pierre de La Morinerie
42a424d67d
add missing elements to the security policy ( #3964 )
...
Ajustement des restrictions de Content-Security-Policy
2019-06-17 18:23:32 +02:00
clemkeirua
dc6c2e6bc0
add missing elements
2019-06-17 17:05:08 +02:00
Nicolas Bouilleaud
de79a9a8bd
Merge pull request #3886 from betagouv/timestamp-dossier-operations
...
Timestamp operations
2019-06-17 16:38:47 +02:00
Nicolas Bouilleaud
c606644902
Tweak codestyle in specs, following review
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
eb592f8ddf
Add manager controller for bill signatures
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
925edb01c7
Add OperationsSignatureJob
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
ad3553f0be
Add BillSignature Service
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
f355f849a6
Add BillSignature Model
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
dace9a53d3
Add Universign timestamp API query
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
e16cb731c5
Add poor man’s ASN1 parsing
2019-06-17 16:16:28 +02:00
Pierre de La Morinerie
bef9f9e361
Petites améliorations au CONTRIBUTING.md ( #3962 )
...
Petites améliorations au CONTRIBUTING.md
2019-06-17 15:56:17 +02:00
Pierre de La Morinerie
ab92d6b906
doc: clarify wording in CONTRIBUTING.md
2019-06-17 15:54:41 +02:00
Pierre de La Morinerie
000cba10e3
models: fix touch not propagating when using nested attributes ( #3907 )
...
Correction d'un problème où la date de modification d'un dossier n'était pas mise à jour lorsque seulement les pièces justificatives étaient modifiées
2019-06-17 13:50:25 +02:00
Nicolas Bouilleaud
7e80b8a4dc
Enable the Rails/InverseOf cop and add missing inverse_of
2019-06-17 13:44:07 +02:00
Pierre de La Morinerie
51aacabf13
models: fix touch not propagating when using nested attributes
...
Sometimes, when using nested attributes, touch doesn’t propagate to
parent relationships. (see https://github.com/rails/rails/issues/26726 )
Specifically, this happens in our app when updating a dossier with
only new attachements (but without changing the value of any fields).
To work around this, we need to define the parent relationship
explicitely. This is good practice anyway.
Fix #3906
2019-06-17 13:44:07 +02:00
Pierre de La Morinerie
52d672486e
fix duplicate content ( #3960 )
...
Suppression d'un paragraphe dupliqué dans le fichier README
2019-06-17 13:37:44 +02:00
Mikaël Létang
2a22a522c8
fix duplicate content
2019-06-17 12:27:12 +02:00
Nicolas Bouilleaud
5ea815f688
Merge pull request #3955 from betagouv/fix-js-dependancies
...
javascript: fix dependancies compilation using yarn 1.16.0
2019-06-17 11:53:45 +02:00
Pierre de La Morinerie
3a88f206ec
javascript: fix dependancies compilation using yarn 1.16.0
2019-06-17 11:40:10 +02:00
Pierre de La Morinerie
7ee1bf2ebf
Brouillon : clarifie les explications sur l'enregistrement et la reprise ( #3956 )
...
Usager : clarifie les explications sur l'enregistrement du brouillon pour le reprendre plus tard
2019-06-17 11:13:09 +02:00
Pierre de La Morinerie
1a832388fe
brouillon: clarify the "How to save" explanations
2019-06-17 11:12:26 +02:00
Keirua
7c4c43a96b
Merge pull request #3943 from betagouv/update/csp
...
More generic elements to the security policy
2019-06-17 09:51:54 +02:00
clemkeirua
765b10026e
more generic elements to the security policy
2019-06-17 09:51:27 +02:00
Pierre de La Morinerie
71c4589257
Merge pull request #3935 from betagouv/fix-pj-migration-changing-timestamps
...
Corrige la tâche de migration des PJ
2019-06-13 14:25:33 +02:00
Pierre de La Morinerie
f12668fbfb
tasks: prevent the PJ migrations task updating from touching dossiers
2019-06-12 19:07:45 +02:00
Pierre de La Morinerie
60a61da644
tasks: extract dossier migration to a separate method
2019-06-12 18:58:47 +02:00
Pierre de La Morinerie
77e6296842
Fix 3710 correct show date with letter english ( #3936 )
...
Les dates sont maintenant affichées au format "12 juillet 2019"
2019-06-12 18:57:34 +02:00
pedong
7ef1a558f4
change date format for all, use try_format_date of helper
2019-06-12 17:48:12 +02:00
simon lehericey
ee296f2b44
Use default format for date and datetime champ
2019-06-12 17:48:12 +02:00
pedong
abcd58c35d
[ fix #3710 ] date with letter
...
Co-Authored-By: simon lehericey <mail@simon.lehericey.net>
2019-06-12 17:48:12 +02:00
Pierre de La Morinerie
d11e246112
Display “previously following” gestionnaires ( #3940 )
...
Instructeur : affiche tous les instructeurs ayant suivi le dossier à un moment donné
2019-06-12 17:44:34 +02:00
Nicolas Bouilleaud
5acb7a3f1b
Make rubocop happy
...
I did make some changes some lines above this 🤷 .
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
1ac6cad132
Display previous followers in “personnes impliquées”
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
6b90bc1ea1
Add “previously followed” dossiers and gestionnaires
...
Using an “inactive” Follow scope, similar to the “active” scope.
(I was tempted to use a default_scope, but this breaks when trying to `unscope` it in associations.)
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
be4c575622
Add Follow.unfollowed_at
...
The active scopes is used indirectly in the dossier<->gestionnaire associations: the existing tests in dossier and gestionnaire just work™.
2019-06-12 17:33:53 +02:00