Commit graph

6026 commits

Author SHA1 Message Date
Paul Chavard
d18b1c8ddc Refactor form validation helpers 2018-10-10 14:55:28 +02:00
Paul Chavard
8c16eb4cd0 Use @utils instead of jQuery 2018-10-10 14:55:28 +02:00
Paul Chavard
c343893d00 Expose all utils function as @utils 2018-10-10 14:39:36 +02:00
gregoirenovel
552468e6d9
Merge pull request #2794 from betagouv/delete-invite-gestionnaires
Delete invite gestionnaires
2018-10-10 14:15:04 +02:00
gregoirenovel
c8f872c566 InviteUser → Invite 2018-10-10 12:07:10 +02:00
gregoirenovel
ed11852300 Delete the InviteGestionnaire model 2018-10-10 12:07:10 +02:00
gregoirenovel
7b4ab556b1
Merge pull request #2795 from betagouv/unify
Unify
2018-10-10 10:44:27 +02:00
gregoirenovel
46d02d3e2b Remove a return 2018-10-10 10:38:57 +02:00
gregoirenovel
89dec3d363 Add a variable to ease code reading 2018-10-10 10:38:57 +02:00
gregoirenovel
4e2964aec3 Unify code in Users::Dossiers::InvitesController#show 2018-10-10 10:38:57 +02:00
Frederic Merizen
6d139ed1a8
Merge pull request #2793 from betagouv/remove-invite-gestionnaires
Remove all InviteGestionnaires
2018-10-10 10:34:40 +02:00
gregoirenovel
9ba8b2da92 Remove all InviteGestionnaires 2018-10-10 10:29:08 +02:00
gregoirenovel
a5f71bfaf6
Merge pull request #2791 from betagouv/remove-facade
Remove InviteDossierFacades
2018-10-10 10:28:56 +02:00
gregoirenovel
662349c8bb Remove InviteDossierFacades 2018-10-10 09:36:05 +02:00
Frederic Merizen
4bf209a838
Merge pull request #2770 from betagouv/frederic/fix_2750-move_dossier_field_service_to_procedure_presentation
Move dossier field service to procedure presentation
2018-10-10 09:14:18 +02:00
Frederic Merizen
9086f99e2e [#2750] SQL injection false positives 2018-10-10 09:07:57 +02:00
Frederic Merizen
d5398a12a9 [#2750] Remove obsolete brakeman ignore 2018-10-10 09:07:57 +02:00
Frederic Merizen
fac6922b98 [#2750] Set might be overkill here 2018-10-10 09:07:57 +02:00
Frederic Merizen
667deae5cc [#2750] Sanity check procedure 2018-10-10 09:07:57 +02:00
Frederic Merizen
30ef6e6d95 [#2750] No need to validate table and column
Because they are pre-validated by rails on the model
2018-10-10 09:07:57 +02:00
Frederic Merizen
58c0ec1bbd [#2750] Validate order on model update rather than on usage 2018-10-10 09:07:57 +02:00
Frederic Merizen
026c322fce [#2750] Make ProcedurePresentation checks private 2018-10-10 09:07:57 +02:00
Frederic Merizen
40a5ff0266 [#2750] do parsing of displayed_fields inside ProcedurePresentation
rather than in the view
2018-10-10 09:07:57 +02:00
Frederic Merizen
f59984ea70 [#2750] Remove redundant references to procedure 2018-10-10 09:07:57 +02:00
Frederic Merizen
462c818025 [#2750] Move fields from DossierFieldService to ProcedurePresentation 2018-10-10 09:07:57 +02:00
Frederic Merizen
9fa7a6fd0e [#2750] Move get_value to ProcedurePresentation 2018-10-10 09:07:57 +02:00
Frederic Merizen
fc157c3e4c [#2750] Move sorted_ids to ProcedurePresentation 2018-10-10 09:07:57 +02:00
Frederic Merizen
2e9dafb4c3 [#2750] Move filtered_ids to ProcedurePresentation 2018-10-10 09:07:57 +02:00
Frederic Merizen
0e9b40ccf6 [#2750] Move fields from Procedure to ProcedurePresentation 2018-10-10 09:07:57 +02:00
Frederic Merizen
efcac5192a [#2750] Move fields_for_select to ProcedurePresentation 2018-10-10 09:07:57 +02:00
Frederic Merizen
b6b4a76906
Merge pull request #2789 from betagouv/frederic/remove_dead_code
Remove dead, buggy code
2018-10-10 08:12:08 +02:00
Frederic Merizen
c1f18a164d Remove dead, buggy code 2018-10-10 05:51:17 +02:00
Frederic Merizen
fbdb3ad8bb
Merge pull request #2756 from betagouv/frederic/transfer_procedure_ownership
Rake task to transfer procedure ownership
2018-10-10 05:46:07 +02:00
Frederic Merizen
88487bda6e Rake task to allow mass transfer of ownership 2018-10-10 05:36:28 +02:00
Frederic Merizen
5915449353 Add diagnostic message 2018-10-10 05:23:51 +02:00
Frederic Merizen
1a644a5159 mail -> email 2018-10-10 05:23:51 +02:00
LeSim
59c0374ec8
Merge pull request #2787 from betagouv/fix_mailjet_mistakes
Mailjet: i'm loving it
2018-10-09 17:58:56 +02:00
simon lehericey
e5a1e8c95a Mailjet: i'm loving it 2018-10-09 17:53:14 +02:00
gregoirenovel
cbb59f175d
Merge pull request #2783 from betagouv/api-doc
Change the link to the API documentation
2018-10-09 17:30:13 +02:00
gregoirenovel
f3caa8ef7f Remove apipie (and maruku) 2018-10-09 17:23:07 +02:00
gregoirenovel
a1bab24681 Change the link to the API documentation 2018-10-09 17:23:07 +02:00
gregoirenovel
c703e1a312
Merge pull request #2784 from betagouv/remove-remove-button
Remove the delete demarche feature for admins
2018-10-09 16:55:12 +02:00
gregoirenovel
98d348aab1 Remove the delete demarche feature for admins 2018-10-09 16:42:32 +02:00
Paul Chavard
94061ec0ce
Merge pull request #2780 from tchak/manager-downgrade-to-brouillon-button
Add button in manager to transition démarche in brouillon state
2018-10-09 14:34:07 +00:00
Paul Chavard
bcbfc370b2 Add button in manager to transition démarche in brouillon state
fix #2565
2018-10-09 16:14:18 +02:00
Paul Chavard
acacfebd92
Merge pull request #2781 from tchak/allow-users-to-fill-test-dossiers
Allow users to fill dossiers on démarches en brouillon
2018-10-09 14:13:54 +00:00
Paul Chavard
cc96723475 Allow users to fill dossiers on démarches en brouillon 2018-10-09 15:05:08 +02:00
LeSim
3edff83e85
Merge pull request #2778 from betagouv/fix_2777_state_in_api
Fix 2777 state in api
2018-10-08 20:02:48 +02:00
simon lehericey
2288303de9 [fix #2777] DossiersSerializer: add state 2018-10-08 18:36:49 +02:00
simon lehericey
87e731bc75 Dossier: move state translation to model dossier 2018-10-08 17:55:20 +02:00