Commit graph

2630 commits

Author SHA1 Message Date
Simon Lehericey
490f71856d Rake: add tasks to clean followed_dossiers 2017-07-18 15:00:00 +02:00
gregoirenovel
26cfa6b2e9 Merge pull request #603 from sgmap/sort-procedures
[Fix #168] Sort published and archived procedures by publishing date
2017-07-18 13:45:21 +02:00
gregoirenovel
c464a6faba [Fix #168] Sort published and archived procedures by publication_date 2017-07-18 13:44:03 +02:00
gregoirenovel
70acbd1ecb Merge pull request #602 from sgmap/fix-146
Fix #146
2017-07-18 13:38:01 +02:00
gregoirenovel
6f2c63c094 Remove default values for some stat methods’ arguments 2017-07-17 16:00:16 +02:00
gregoirenovel
20b4c7ce6f [Fix #146] Use published_at for procedures in Stats
Instead of created_at, which is less
representative
2017-07-17 15:10:05 +02:00
gregoirenovel
1c1a47d83a publiee_ou_archivee -> publiees_ou_archivees 2017-07-17 15:06:36 +02:00
LeSim
7b45704137 Merge pull request #600 from sgmap/remove_useless_facade
DossierController: remove useless facade
2017-07-17 14:03:11 +02:00
Simon Lehericey
a1ddcb6d34 DossierController: remove useless facade 2017-07-17 13:36:22 +02:00
gregoirenovel
926b723d80 Merge pull request #596 from sgmap/procedure-fixes
Procedure fixes
2017-07-13 17:09:20 +02:00
gregoirenovel
32e0fa9f69 Add Procedure#publiee_ou_archivee? 2017-07-13 17:01:39 +02:00
gregoirenovel
2b7a148540 Remove Procedure#published? 2017-07-13 17:01:38 +02:00
gregoirenovel
36bee67085 Add Procedure#brouillon? 2017-07-13 17:01:38 +02:00
gregoirenovel
25800305ad cefixup publiee 2017-07-13 17:01:33 +02:00
gregoirenovel
9a7d5d1833 Add Procedure#publiee? 2017-07-13 15:44:18 +02:00
gregoirenovel
cfec05506a Rename Procedure#archived? -> #archivee? 2017-07-13 15:32:13 +02:00
gregoirenovel
07d390db09 Remove comments that were wrong
Having a foo_at column automatically generates the
#foo_at? method, not the #foo? method
2017-07-13 14:46:09 +02:00
gregoirenovel
c43f3fa415 Improve the formatting of the Procedure scopes 2017-07-13 14:46:09 +02:00
gregoirenovel
2f4f10683f Delete now unused scopes on Procedure 2017-07-13 14:46:09 +02:00
gregoirenovel
75aebe4f07 Add the archivees scope on Procedure 2017-07-13 14:46:09 +02:00
gregoirenovel
89feb6cdf7 Add the brouillons scope on Procedure 2017-07-13 14:46:08 +02:00
gregoirenovel
fc2540649f Add the publiees scope on Procedure 2017-07-13 14:46:07 +02:00
gregoirenovel
ab9cf1c351 Rename the published scope on Procedure 2017-07-13 14:40:41 +02:00
LeSim
9305cc6c45 Merge pull request #594 from sgmap/benjaminhenkel-patch-1
Wording spelling mistake
2017-07-13 11:16:01 +02:00
benjaminhenkel
0a060dbb53 Wording spelling mistake 2017-07-13 11:02:30 +02:00
gregoirenovel
ce4bdb4812 Merge pull request #588 from sgmap/delete-procedure-flags
Delete procedure flags
2017-07-13 10:58:46 +02:00
gregoirenovel
69c77331d6 [Fix #154] Remove archived from Procedure 2017-07-13 10:50:22 +02:00
gregoirenovel
758ea612c6 [Fix #144] Remove published from Procedure 2017-07-13 10:50:17 +02:00
gregoirenovel
bf775b4b2b Merge pull request #595 from sgmap/remove_html_safe
Remove html safe
2017-07-13 10:38:09 +02:00
Simon Lehericey
c68b4e9cf6 [Fix #592] Rubocop: add rule to forbid html_safe 2017-07-13 10:14:16 +02:00
Simon Lehericey
693c2a43ac [Fix #592] mutualize sanitize and clean flash messages 2017-07-13 10:14:16 +02:00
Simon Lehericey
4ae9d8ef0d [Fix #592] Convert html_safe to sanitize 2017-07-13 10:14:16 +02:00
Simon Lehericey
da7af28f9f [Fix #592] Remove useless html_safe 2017-07-13 10:14:16 +02:00
gregoirenovel
1234d028d7 Merge pull request #583 from sgmap/autofocus-on-forms
Autofocus on email fields when relevant
2017-07-13 09:34:15 +02:00
gregoirenovel
3d4c93a7fb Autofocus on email fields when relevant 2017-07-13 00:04:52 +02:00
LeSim
77f5e761c4 Merge pull request #590 from sgmap/fix_injection
Fix injection
2017-07-12 15:13:29 +02:00
Simon Lehericey
35affd69fc Commentaires: avoid xss injection 2017-07-12 13:53:25 +02:00
Simon Lehericey
2e03f77e4d InfoDossier: avoid xss injection 2017-07-12 13:47:59 +02:00
gregoirenovel
7c3b9ecfa9 Merge pull request #581 from sgmap/procedure-timestamps
Procedure timestamps
2017-07-12 10:22:46 +02:00
gregoirenovel
bb10e13e2f [Ref #145] Don't use Procedure.archived anymore 2017-07-11 15:03:35 +02:00
gregoirenovel
f55b7914cf [Ref #144] Don't use Procedure.published anymore 2017-07-11 14:51:43 +02:00
Mathieu Magnin
c2459da05b Merge pull request #572 from sgmap/fix_anybody_can_post_a_comment_on_a_dossier
Restrict comment creation to Users/Gestionnaires allowed on dossier
2017-07-11 11:30:35 +02:00
Mathieu Magnin
c3fa1e01b9 [Fix #577] Restrict comment creation to Users/Gestionnaires allowed on dossier 2017-07-11 11:01:06 +02:00
Mathieu Magnin
2985623bec Merge pull request #570 from sgmap/fix_only_allowed_users_can_create_invitation
When user or gestionnaire has no access to dossier, he cannot create …
2017-07-11 10:59:44 +02:00
Mathieu Magnin
065719ea06 [Fix #576] When user or gestionnaire has no access to dossier, he cannot create an invitation 2017-07-11 10:43:33 +02:00
LeSim
fa4ade0872 Merge pull request #574 from sgmap/fix_turbolinks_in_new_design
Fix turbolinks in new design
2017-07-11 10:26:32 +02:00
Simon Lehericey
831ccac685 Turbolinks: do not reload mailjet js on every page 2017-07-11 10:00:29 +02:00
Simon Lehericey
b2e99dd755 Turbolinks: do not reload application js on every page 2017-07-11 10:00:29 +02:00
Mathieu Magnin
671ec231e7 Merge pull request #573 from sgmap/fix_admninistration_view
fix administration view
2017-07-11 09:41:14 +02:00
Simon Lehericey
27cd42a100 fix administration view 2017-07-11 09:09:20 +02:00