Commit graph

5849 commits

Author SHA1 Message Date
simon lehericey
888bbee097 [fix #2818] DossierController: ensure save_draft is authorized 2018-10-12 12:14:49 +02:00
gregoirenovel
8fd2c95ea2
Merge pull request #2812 from betagouv/fix-manager
Show the service, not the organisation in Procedures list
2018-10-11 14:15:42 +02:00
gregoirenovel
c56ea05f60 Show the service, not the organisation in Procedures list 2018-10-11 14:13:43 +02:00
gregoirenovel
22baf2569f
Merge pull request #2805 from betagouv/fix-2692
Fix #2692
2018-10-11 14:07:39 +02:00
gregoirenovel
56cfcd08d3 [Fix #2692] Move the sign up CTA at the top of the sign in page 2018-10-11 12:22:47 +02:00
gregoirenovel
d78f4a8faf [#2692] Make the sign up button a primary button on the sign in page 2018-10-11 12:22:47 +02:00
gregoirenovel
841e67b19c
Merge pull request #2810 from betagouv/frederic/fix_1961-search_by_individual
Fix #1961 search by individual
2018-10-11 12:22:02 +02:00
Frederic Merizen
3dca3c7dee [Fix #1961] Check that sorted_ids works for individual 2018-10-11 12:13:03 +02:00
Frederic Merizen
abd066c6f4 [#1961] filtered_ids for individual 2018-10-11 12:13:03 +02:00
Frederic Merizen
34da620b0f [#1961] get_value for individual 2018-10-11 12:13:03 +02:00
Frederic Merizen
5d862ae92b [#1961] Add individual fields 2018-10-11 12:13:03 +02:00
Frederic Merizen
58d4ee17d6
Merge pull request #2811 from betagouv/frederic/remove-dead-code
Remove dead code
2018-10-11 12:12:43 +02:00
Frederic Merizen
07b8838561 Remove dead code
Should have been removed as part of #2720 but was accidentally reintroduced
in #2770
2018-10-11 12:00:49 +02:00
gregoirenovel
064b5c1d7b
Merge pull request #2804 from betagouv/frederic/fix_2800-invalid_empty_cell_display
[Fix #2800] Handle empty cells
2018-10-10 20:39:07 +02:00
Frederic Merizen
05c8c3f18b [Fix #2800] Handle empty cells
Evidently link_to handles nil differently when it receives it as a first
argument than when it is returned from a block argument
2018-10-10 20:32:03 +02:00
Frederic Merizen
734352beba
Merge pull request #2803 from betagouv/frederic/fix_2580-allow_instructeur_date_filtering
[Fix #2580] Filter by created_at / updated_at
2018-10-10 19:09:46 +02:00
Frederic Merizen
577475f26e [Fix #2580] Filter by created_at / updated_at 2018-10-10 18:18:28 +02:00
gregoirenovel
165feb20b9
Merge pull request #2726 from tchak/less-jquery
Remove jQuery from new design
2018-10-10 15:20:54 +02:00
Paul Chavard
136031bea4 Remove jQuery import from new design 2018-10-10 15:05:51 +02:00
Paul Chavard
b79e77687e Refactor avis helpers 2018-10-10 15:05:51 +02:00
Paul Chavard
08d5e7d328 Refactor toggle chart helpers 2018-10-10 15:05:51 +02:00
Paul Chavard
9d5ffba068 Refactor state button helpers 2018-10-10 15:05:51 +02:00
Paul Chavard
3897d4abf4 Refactor messagerie helpers 2018-10-10 15:05:51 +02:00
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