gregoirenovel
9a0df71887
Change the link to a linked dossier depending on the user profile
2017-05-04 17:20:18 +02:00
gregoirenovel
849ab5191a
[ Fix #204 ] Add the date_de_decision tag in relevant email templates
2017-05-04 16:17:59 +02:00
gregoirenovel
2582b44f07
[ Fix #204 ] Add the date_de_decision tag
2017-05-04 16:17:53 +02:00
gregoirenovel
3bd5e32dff
Add a system to restrain the email templates tags to specific templates
2017-05-04 16:17:39 +02:00
gregoirenovel
30cf475485
Add missing brackets in mail_template_concern.rb
2017-05-04 16:17:39 +02:00
gregoirenovel
43ae28de87
Make the email templates tags table occupy the whole width available
...
It improves the content formatting (no more ugly
line breaks splitting a tag on several lines)
2017-05-04 16:17:38 +02:00
gregoirenovel
f389bbeb53
Fix indentation in mail_template_concern.rb
2017-05-04 16:17:38 +02:00
gregoirenovel
f3343f593f
Fix some spelling mistakes
2017-05-04 16:15:51 +02:00
gregoirenovel
53e5416627
Remove an unused file
2017-05-04 16:01:41 +02:00
gregoirenovel
402f44c5fd
Champs privés -> Annotations privées
2017-05-04 11:35:23 +02:00
gregoirenovel
77dae0462b
Utilisateur -> Usager
2017-05-04 11:35:23 +02:00
gregoirenovel
4303dcef2c
Organisation -> Organisme
2017-05-04 11:35:22 +02:00
gregoirenovel
d3a84eb20a
Démarche -> Procédure
2017-05-04 11:33:26 +02:00
gregoirenovel
988947696e
[ Fix #161 ] Remove incorrect commas from Dossier#text_summary
2017-05-04 11:25:33 +02:00
Mathieu Magnin
b6e1526f89
Fix #239 , (refresh is needed to load charts)
2017-05-03 18:48:27 +02:00
gregoirenovel
eff9e556e9
[ Fix #162 ] Deny dossier access for an unauthorized accompagnateur
2017-05-03 10:28:29 +02:00
gregoirenovel
f310f672b6
Extract class attributes from HAML tag attributes
2017-04-26 17:22:31 +02:00
gregoirenovel
7ddcb9aedc
Extract id attributes from HAML tag attributes
2017-04-26 17:22:30 +02:00
gregoirenovel
51daa2f498
Use implicit div tags instead of explicit
2017-04-26 17:01:45 +02:00
Mathieu Magnin
6ef6a66c3f
Remove @facade_data_view from left_panel view
2017-04-26 16:55:22 +02:00
gregoirenovel
f58a626648
[ Fix #99 ] Improve the info message in _dossier_link.html.haml
2017-04-26 16:47:38 +02:00
gregoirenovel
a6d3ea8536
[ Fix #133 ] Improve the linked dossier informations displayed
2017-04-26 15:59:18 +02:00
gregoirenovel
f5c5ad532d
Add Dossier#text_summary
2017-04-26 15:59:17 +02:00
gregoirenovel
7173d359d4
[ Fix #132 ] Show the dossier link in the dossier detail for Users
...
There’s no reason why they couldn’t easily
navigate to it
Also improve the typography of a placeholder
message
2017-04-26 11:57:36 +02:00
gregoirenovel
8deef8e8e3
[ Fix #137 ] Change the dossier link placeholder
...
Otherwise we don’t know what to enter (words,
numbers…)
2017-04-26 11:46:39 +02:00
gregoirenovel
14b7badfed
Eager-load the dossier’s procedure when possible
2017-04-26 09:53:10 +02:00
gregoirenovel
6bb67d639c
Use lowercase letters and dashes for CSS classes
...
As enforced by scss-lint
2017-04-25 15:59:03 +02:00
gregoirenovel
8bea7cb610
Fix a typographic mistake in _dossier_link.html.haml
...
Sentences should start with an uppercase letter
2017-04-25 15:59:03 +02:00
gregoirenovel
f8cb34a393
Add some spacing in _dossier_link.html.haml
2017-04-25 15:59:03 +02:00
Mathieu Magnin
887512c26c
Procedure path can contain dashes and can be longer
2017-04-21 16:32:48 +02:00
gregoirenovel
595ea9bb37
Add a “Call Us” CTA on the landing page
2017-04-21 14:57:54 +02:00
gregoirenovel
03761c1136
Change the testimonials’ order
2017-04-21 14:57:54 +02:00
Mathieu Magnin
757af12d42
Add invites to API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
40d897f538
Add accompagnateurs emails in API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
bf67b3f7ad
Add dossier workflow dates to the API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
822c7cdd96
Add human version translation for state
2017-04-21 14:51:35 +02:00
Mathieu Magnin
d87989622c
Remove useless code
2017-04-21 14:51:34 +02:00
Mathieu Magnin
762a11fc6f
Define .termine as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
320ff4839f
Define .en_instruction as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
7a9fd77af0
Remove archived=false filter from en_construction scope (Fix : archived dossier is not shown to user)
2017-04-21 14:36:50 +02:00
Mathieu Magnin
688a3d8f31
Define .brouillon as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
21a2a5402b
Remove unused service
2017-04-21 14:36:50 +02:00
Mathieu Magnin
1a628dc42c
Remove DossierListFacade dependency
2017-04-21 14:36:50 +02:00
gregoirenovel
0ddd7ae639
Add the “CTA” part of the landing page
2017-04-20 12:38:00 +02:00
gregoirenovel
663b556766
Add the “Users” part of the landing page
2017-04-20 12:38:00 +02:00
gregoirenovel
f604ccb7d6
Add the “Numbers” part of the landing page
2017-04-20 12:37:59 +02:00
gregoirenovel
4b2baa25b7
Add the “Testimonials” part of the landing page
2017-04-20 12:37:58 +02:00
gregoirenovel
58a7f399c0
Add the “Features” part of the landing page
2017-04-20 12:18:18 +02:00
gregoirenovel
663cd18364
Change the landing page, add the “Hero” part
2017-04-20 12:18:17 +02:00
gregoirenovel
e504531ca0
Use the new_application layout for the landing page
2017-04-20 12:18:16 +02:00
gregoirenovel
f9b4469660
Add the new footer
2017-04-20 12:18:16 +02:00
gregoirenovel
336e6120a6
Add the new header
2017-04-20 12:18:16 +02:00
gregoirenovel
e605be9246
Add the new_application layout
2017-04-20 12:18:15 +02:00
gregoirenovel
5c1aad2e4f
Add the placeholders stylesheet
2017-04-20 12:18:15 +02:00
gregoirenovel
8dcf0af56d
Add the mixins stylesheet
2017-04-20 12:18:14 +02:00
gregoirenovel
3696d3613a
Add the typography stylesheet
2017-04-20 12:18:14 +02:00
gregoirenovel
40d49aee1f
Add the Muli Regular and Bold fonts
2017-04-20 12:18:14 +02:00
gregoirenovel
8f2ef4e254
Add the colors stylesheet
2017-04-20 10:41:03 +02:00
gregoirenovel
01f894316c
Rename _variables.scss to _constants.scss
2017-04-20 10:41:02 +02:00
gregoirenovel
d8cc41140b
Remove an unexpected blank line
2017-04-20 10:35:53 +02:00
gregoirenovel
5d4dcf8ec7
Don't use line blocks
2017-04-20 10:35:53 +02:00
gregoirenovel
c10c2fc31b
Selectors must be written in lowercase with hyphens
2017-04-20 10:35:53 +02:00
gregoirenovel
73caee0ff3
Remove unused declarations
2017-04-20 10:05:59 +02:00
gregoirenovel
c32a2432c7
Don’t use vendor prefixes
2017-04-20 10:05:59 +02:00
gregoirenovel
e2bd606e49
Declarations must be terminated by a semicolon
2017-04-20 10:05:58 +02:00
gregoirenovel
0316bac137
Use double-quoted strings
2017-04-20 10:05:58 +02:00
gregoirenovel
11e5943989
Only one selector per line
2017-04-20 10:05:56 +02:00
gregoirenovel
5e1c99d642
Opening curly braces must be preceded by one single space
2017-04-19 17:05:57 +02:00
gregoirenovel
8cad7361cf
An operator must be surrounded by single spaces
2017-04-19 17:05:57 +02:00
gregoirenovel
0789cfd311
Colons must be followed by a single space
2017-04-19 17:05:57 +02:00
gregoirenovel
8906801d6c
Comment literals must be followed by a space
2017-04-19 17:05:57 +02:00
gregoirenovel
4b575bd386
Commas are followed by a space
2017-04-19 17:05:57 +02:00
gregoirenovel
4f0de677ab
Begin pseudo elements with double colons
2017-04-19 17:05:57 +02:00
gregoirenovel
4b39e76c8a
Use extend only with placeholders
2017-04-19 17:05:57 +02:00
gregoirenovel
f3ec7f1d42
Indent with two spaces
2017-04-19 17:05:57 +02:00
gregoirenovel
af7b611dd0
< 1 numbers must all have a leading zero
2017-04-19 17:05:57 +02:00
gregoirenovel
c9ff601b28
Hex colors must be written with uppercase letters
2017-04-19 17:05:57 +02:00
gregoirenovel
f519896e54
Hex colors must be 6 characters long
2017-04-19 17:05:57 +02:00
gregoirenovel
2cae8e751e
Blocks must be separated by an empty line
2017-04-19 17:05:57 +02:00
gregoirenovel
0d5dd9d492
Remove empty rules
2017-04-19 17:05:57 +02:00
gregoirenovel
6a13e481fd
Fix the declaration order
2017-04-19 17:05:57 +02:00
gregoirenovel
0ed13c9fe7
Remove duplicated properties
2017-04-19 17:05:56 +02:00
gregoirenovel
c5fc77b606
Change the comments style
2017-04-19 17:05:56 +02:00
gregoirenovel
bb02339183
Use border: none instead of border: 0
2017-04-19 17:05:56 +02:00
gregoirenovel
db331447e1
Use hex codes for colors
2017-04-19 17:05:55 +02:00
Simon Lehericey
ce4a23ec7f
MandatoryAttachment: show * near mandatory attachment
2017-04-19 15:45:45 +02:00
Simon Lehericey
2b969ef575
MandatoryAttachment: group missing errors logic together
...
and show errors only if not draft
2017-04-19 15:45:45 +02:00
gregoirenovel
b00eb914da
Use case statements instead of if statements where appropriated
2017-04-19 11:57:49 +02:00
gregoirenovel
9071656b55
Use #each instead of #map where appropriated
2017-04-19 11:57:49 +02:00
gregoirenovel
ddf02ccd6d
Use a non-breaking space after the “numéro” contraction
2017-04-19 11:19:53 +02:00
gregoirenovel
aa41349f0c
Lowercase the “n” of “numéro” contraction where needed
2017-04-19 11:19:53 +02:00
gregoirenovel
ba4ee68019
Use masculine ordinal indicator instead of the degree sign
...
It’s the right way to contract “numéro”
We should use the superscript lowercase o but
it’s hard to do in places where only raw text is
available
2017-04-19 11:19:53 +02:00
Simon Lehericey
4cd21580fb
DescriptionController: move html_safe to the view
...
html_safe could not work upon redirection as stated here :
https://groups.google.com/forum/#!topic/rubyonrails-core/z52zgDgUmbs
2017-04-19 10:52:04 +02:00
Simon Lehericey
eb3bb63a8f
DescriptionController: remove useless @champs
2017-04-19 10:52:04 +02:00
Simon Lehericey
866a54085c
DescriptionController: cosmetic
2017-04-19 10:52:04 +02:00
Simon Lehericey
157d1818b2
DescriptionController: move instance var to local var
2017-04-19 10:52:04 +02:00
Simon Lehericey
71542f6a3a
PiecesJustificativesService: more explicit selection of content
2017-04-19 10:24:08 +02:00
Simon Lehericey
21d7a96062
PiecesJustificativesService: less violent error message in case of virus
2017-04-19 10:22:30 +02:00
Simon Lehericey
395c9d5bb1
PiecesJustificativesService: improve error message when the file cannot be saved
2017-04-19 10:20:32 +02:00
Simon Lehericey
e0828dda13
PiecesJustificativesService: save_pj returns nil if no errors
2017-04-19 10:16:30 +02:00
Simon Lehericey
8e7e7a8ab4
Stats Index: remove useless locale
2017-04-19 10:06:22 +02:00
Simon Lehericey
4c74b04a91
Commentaire: use fr local to display date
2017-04-19 10:06:22 +02:00
Simon Lehericey
367b7c6ae1
DescriptionController: use common system to redirect with errors
2017-04-18 17:48:03 +02:00
Simon Lehericey
591ed2037e
PiecesJustificativesServices: refactor upload_one!
2017-04-18 17:48:03 +02:00
Simon Lehericey
03e9cd523e
PiecesJustificativesService: mandatory pj check and add test
2017-04-18 17:48:03 +02:00
Simon Lehericey
e49ea2d0e0
PiecesJustificative: add field to set it mandatory
...
small css to align the fields
2017-04-18 17:48:03 +02:00
gregoirenovel
3abbb0bdcd
Use french formatting for numbers on the Stats page
2017-04-18 14:34:56 +02:00
gregoirenovel
21ff863dab
[ Fix #112 ] Add favicons
2017-04-17 19:32:26 +02:00
Mathieu Magnin
1612b60126
Remove useless code
2017-04-13 16:54:00 +02:00
Mathieu Magnin
320d5da40f
Add individual infos to flat table export serializer
2017-04-13 16:54:00 +02:00
gregoirenovel
d531b02bc5
Order types_de_piece_justificative on Procedure
...
So that /spec/controllers/api/v1/
dossiers_controller_spec.rb#L163-L179 (on commit
8852431
for example) does not randomly fail due
to unordered types_de_piece_justificative
2017-04-13 14:48:18 +02:00
Mathieu Magnin
080c7c3d04
Fix csv export with no dossiers
2017-04-12 18:19:37 +02:00
gregoirenovel
f4ff778a5c
Add a missing newline before the end of the controller
...
Same spacing rules at the top and at the bottom
of the file
2017-04-11 16:58:27 +02:00
gregoirenovel
913735554c
Improve StatsController#thirty_days_flow and #clean_hash
2017-04-11 16:58:27 +02:00
gregoirenovel
11015787bf
Add new total numbers to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
52ea4a1b8d
Add new charts and a segmented control to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
9dc4901294
Change the template and style of the Stats page
2017-04-11 15:29:19 +02:00
gregoirenovel
e370c4e393
Exclude draft Dossiers and unpublished Procedures from Stats
2017-04-11 15:29:19 +02:00
gregoirenovel
2074ac93ba
Add StatsController#thirty_days_flow_hash
2017-04-11 15:29:19 +02:00
gregoirenovel
e192038045
Rename the variables in StatsController#index
2017-04-11 15:29:19 +02:00
gregoirenovel
c4c6095abd
Only show the last 30 days of data in Stats
2017-04-11 15:29:19 +02:00
gregoirenovel
de01914fa7
Fix the where clause in Stats
...
Now properly show the last 90 days of data instead
of strict quarters.
With the previous code, on the
1st of january, april, july and october, only one
day of data would be shown.
2017-04-11 15:29:18 +02:00
gregoirenovel
664d821dc0
Add a link to the Stats page in the footer
2017-04-11 15:29:18 +02:00
gregoirenovel
f84cd7f11b
Make Stats a public page
2017-04-11 15:29:18 +02:00
Simon Lehericey
4a16fb2ce2
DescriptionController: refacto
2017-04-11 14:45:30 +02:00
gregoirenovel
dd1fd419c7
Require mandatory fields on the frontend side
2017-04-11 14:25:49 +02:00
Simon Lehericey
a324a22ba2
DossierLink: add show template
2017-04-11 13:54:33 +02:00
Simon Lehericey
3228737a87
DossierLink: add edition template
2017-04-11 13:54:33 +02:00
Simon Lehericey
785219c956
DossierLink: add type de champ
2017-04-11 13:54:33 +02:00
Simon Lehericey
ed36897337
DossiersController: add get procedure libelle
2017-04-11 13:54:33 +02:00
Simon Lehericey
ccf956ec01
DescriptionController: refactor redirection for draft
2017-04-11 12:11:10 +02:00
Simon Lehericey
d14a75c24a
DescriptionController: refactor check_mandatory_fields
2017-04-11 12:11:10 +02:00
Simon Lehericey
191b29aff5
DescriptionController: simplify update logic
2017-04-11 12:11:10 +02:00
Simon Lehericey
3a9065e4c1
DescriptionController: remove useless code
2017-04-11 12:11:10 +02:00
Simon Lehericey
c4e128a506
DescriptionController: rename variable
2017-04-11 12:11:09 +02:00
Simon Lehericey
4df03fc28e
ChampsService: add tests and refactor
2017-04-11 12:11:09 +02:00
gregoirenovel
1db37894c2
Factorize some code in Dossier#serialize_value_for_export
2017-04-11 11:43:42 +02:00
gregoirenovel
ae5b4f6249
Refactor Dossier#full_data_strings_array
2017-04-11 11:39:34 +02:00
gregoirenovel
df878b9ef4
Change Dossier#convert_specific_array_values_to_string’s signature and name
...
- It is always called with the data_with_champs
argument
- Changing the signature requires a change of name
in this case
2017-04-11 10:29:07 +02:00
gregoirenovel
57ee3c5b3f
Separate ternary operators with spaces on both sides
2017-04-10 17:55:55 +02:00
gregoirenovel
9c04d3ff93
All CSS declarations must end with a semi-colon
2017-04-10 17:55:55 +02:00
gregoirenovel
3797015908
All colons must be followed by a single space
2017-04-10 17:55:55 +02:00
gregoirenovel
97df69bcd8
In HAML files, separate arguments by a comma and a single space
2017-04-10 17:55:55 +02:00
gregoirenovel
6db4a69cb2
Use spaces inside hashes
2017-04-10 17:55:54 +02:00
gregoirenovel
aaaed328fb
Remove unnecessary string outputs
2017-04-10 17:55:54 +02:00
gregoirenovel
8d9cdf8e33
Remove a useless string in the gestionnaires list
2017-04-10 17:55:54 +02:00
gregoirenovel
6cb53b5545
Move a comment to avoid a haml-lint MultilineScript warning
2017-04-10 17:55:54 +02:00
gregoirenovel
7a941d3219
Remove a useless id in _list.html.haml
2017-04-10 17:55:54 +02:00
gregoirenovel
aa255e7e2d
Use HAML comments in HAML files
2017-04-10 17:55:54 +02:00
gregoirenovel
69ba92009b
Separate HAML comments from the leading # by a space
2017-04-10 17:55:54 +02:00
gregoirenovel
a8d2a003c1
Do not define static class names in the attributes hash
2017-04-10 17:55:53 +02:00
gregoirenovel
4788e280f5
Fix the indentation in the drop down list template
2017-04-10 17:55:53 +02:00
gregoirenovel
2d5df47c4e
Use implicit div tags in HAML files
2017-04-10 17:55:53 +02:00
gregoirenovel
7e067c2624
Static classes attribute must use the inline tag syntax
2017-04-10 17:55:53 +02:00
gregoirenovel
a3d04fe7a9
Html Ruby evaluation tags must be followed by a single space
2017-04-10 17:55:53 +02:00
gregoirenovel
e7e4e41e12
Haml Ruby evaluation tags must be followed by a space
2017-04-10 17:55:53 +02:00
gregoirenovel
3ca914aba8
Delete some environment-based conditions
...
We should always try to be the closest to the
production environment
2017-04-10 16:17:33 +02:00
Mathieu Magnin
bf0d466f4b
Move export_full_generation method from Dossier to Procedure
2017-04-05 12:26:38 +02:00
Mathieu Magnin
b18c09e9fd
Download dossiers button exports all dossiers except draft
2017-04-05 11:04:53 +02:00
gregoirenovel
cb677dfb45
Indent using 2 spaces
2017-04-04 16:59:40 +02:00
gregoirenovel
d1e463b7ab
Files should end with a single new line
2017-04-04 16:59:39 +02:00
gregoirenovel
d5e7bbd80d
Files should end with a new line
2017-04-04 16:59:38 +02:00
gregoirenovel
15802b18ea
Files should not start with a new line
2017-04-04 16:59:38 +02:00
gregoirenovel
87ab2ba9eb
Remove trailing spaces
2017-04-04 16:59:37 +02:00
gregoirenovel
6cb78acd85
Make the birthday field a date field
...
And remove the date picker (you can now use the
native one)
2017-04-03 16:03:38 +02:00
gregoirenovel
8126549a0d
Make the datepicker french for the auto archive field
2017-04-03 16:03:38 +02:00
Mathieu Magnin
d5e5a7997a
Disable turbolinks cache to avoid weird behavior (ex: page change twice after single click)
2017-04-03 15:43:42 +02:00
Mathieu Magnin
08442e64a3
Update turbolinks
2017-04-03 15:43:41 +02:00
gregoirenovel
28747a951f
Delete unused assets
2017-04-03 13:25:19 +02:00
Mathieu Magnin
95b83a57c1
Checkbox should be checked when value is 'on'
2017-04-03 10:50:15 +02:00
Mathieu Magnin
096f1e7198
Imageoptim on assets saved 400 ko
2017-03-30 15:51:39 +02:00
Mathieu Magnin
e4826b468a
Fix departements / pays / regions drop down list
2017-03-29 14:22:23 +02:00
gregoirenovel
c6738bf223
Rename Mr in M.
2017-03-27 15:45:07 +02:00
Mathieu Magnin
6a8ca67a83
Merge branch 'develop' into auto_archive_on_date
2017-03-27 15:35:52 +02:00
gregoirenovel
458f557c93
Add a sort order to the demo procedures list
2017-03-22 17:52:56 +01:00
Mathieu Magnin
c2a27c6f6a
Merge branch 'develop' into auto_archive_on_date
2017-03-22 11:32:56 +01:00
Mathieu Magnin
8e91d4ba97
Merge branch 'develop' into select_multiple
2017-03-20 12:30:42 +01:00
Mathieu Magnin
75007825f8
Update champ_decorator.rb
2017-03-20 12:14:16 +01:00
Simon Lehericey
a076dc2987
Wording
2017-03-20 12:03:27 +01:00
Simon Lehericey
ce343aac96
Select Multiple: text in placeholder and add separator
2017-03-20 11:36:06 +01:00
Simon Lehericey
ebd2051337
multiple_select: fix decorateur interference
2017-03-16 09:09:15 +01:00
Simon Lehericey
b3624256cd
select_multiple: add decoration for view of multiple_select
2017-03-15 17:51:34 +01:00
Simon Lehericey
2f561a9cd0
select_multiple: clean user input
2017-03-15 17:51:34 +01:00
Simon Lehericey
1fa1e9e8e8
select_multiple: add select2
2017-03-15 17:51:34 +01:00
Simon Lehericey
3ed14bf1a4
Cleaning
2017-03-15 17:51:34 +01:00
Simon Lehericey
657ce53a60
select_multiple: add multiple_drop_down_list type
2017-03-15 17:51:34 +01:00
Mathieu Magnin
a87b54b168
Typo
2017-03-15 15:28:09 +01:00
Mathieu Magnin
237d4bdc28
Auto archive option is available even if procedure is published
2017-03-15 15:22:29 +01:00
Mathieu Magnin
4d323497e7
Remove puts
2017-03-15 15:16:00 +01:00
Mathieu Magnin
24d17dc0f3
Sidekiq worker to archive procedures automatically + tests
2017-03-15 12:40:59 +01:00
Simon Lehericey
7596c2424e
Explication: do not show explication in _infos_dossier
2017-03-14 13:59:37 +01:00
Simon Lehericey
fb2aef1810
Explication: style in edit page
2017-03-14 13:58:59 +01:00
Simon Lehericey
d250cafccc
Explication: add champ in edit formulaire
2017-03-14 13:58:21 +01:00
Simon Lehericey
fcca0bb247
Cleaning
2017-03-14 13:54:31 +01:00
Mathieu Magnin
359807b4f7
Procedure has an auto_archive date
2017-03-14 10:45:59 +01:00
Simon Lehericey
176092c256
Explication: add field and template
2017-03-13 15:02:05 +01:00
Simon Lehericey
ec0092fb3c
Cleaning
2017-03-13 15:01:41 +01:00
LeSim
8f5f86b2f3
Merge pull request #40 from sgmap/destroy_emails_with_procedure
...
Destroy emails with procedure
2017-03-13 13:59:32 +01:00
Mathieu Magnin
fc9ef92c37
Destroy emails with procedure
2017-03-13 10:27:19 +01:00
Mathieu Magnin
ad1250af6f
Add confirm popup on important actions
2017-03-09 16:55:47 +01:00
Mathieu Magnin
48d12cfa34
max width in Administration
2017-03-08 14:52:37 +01:00
Simon Lehericey
66cb0c09b1
Stats: wording
2017-03-08 14:26:45 +01:00
Mathieu Magnin
5d4e8622f6
Merge pull request #38 from sgmap/stats
...
Stats: add adminitrations stats view
2017-03-08 10:59:06 +01:00
Mathieu Magnin
342a6b239e
Small css changes
2017-03-08 10:55:24 +01:00
LeSim
78325cc9f9
Merge pull request #34 from sgmap/customize_submission_mail
...
Customize submission mail
2017-03-07 18:32:55 +01:00
Mathieu Magnin
9cd506e265
Clone mail_templates with procedure
2017-03-07 18:19:48 +01:00
Simon Lehericey
6cb88a995f
Stats: add adminitrations stats view
2017-03-07 18:09:09 +01:00
Mathieu Magnin
4ea7635dfc
Fix after review
2017-03-07 16:23:44 +01:00
LeSim
2e19dd26b7
Merge pull request #36 from sgmap/remember_me
...
Add remember me on login
2017-03-07 14:15:37 +01:00
LeSim
9764604430
Merge branch 'develop' into customize_submission_mail
2017-03-07 11:05:04 +01:00
Mathieu Magnin
a88b150c3c
Add remember me on login
2017-03-07 10:29:48 +01:00
Simon Lehericey
65e83dd6ec
Mails: factorize default and change slug
2017-03-07 10:27:14 +01:00
Simon Lehericey
02bbf0543f
Mails: move to their own namespace
2017-03-07 10:27:14 +01:00
Simon Lehericey
335caed65e
Mail Template: Delete
2017-03-07 10:27:14 +01:00
Simon Lehericey
2536774519
DescriptionController: send initiatedMail notification
2017-03-07 10:27:14 +01:00
Simon Lehericey
3d7f04ad3d
DossierController: send receivedMail when the mail is ... received
2017-03-07 10:27:14 +01:00
Simon Lehericey
9d710336b3
MailTemplate: allow edition of all the new mails
2017-03-07 10:27:13 +01:00
Simon Lehericey
c8f515832b
MailTemplate: add email and nom_organisation tag
2017-03-07 10:27:13 +01:00
Simon Lehericey
6c560e65eb
Notification Mailer: use send_notification for all the mails
2017-03-07 10:27:13 +01:00
Simon Lehericey
70b2020656
Procedure: remove mail_template
2017-03-07 10:27:13 +01:00
Simon Lehericey
206d56f106
Procedure: add the new mails
2017-03-07 10:27:13 +01:00
Simon Lehericey
695dc16b85
Mails: add refused, without_continuation, draft, closed, received mails object
2017-03-07 10:27:05 +01:00
Simon Lehericey
7b336922cc
Cleaning
2017-03-07 10:25:34 +01:00
Simon Lehericey
36500407b4
DossierController: use the new method send_notification
2017-03-07 10:25:34 +01:00
Simon Lehericey
65d399b4b0
NotificationMailer: add send notification
2017-03-07 10:25:34 +01:00
Simon Lehericey
89763ec8d4
MailTemplateController: use new initiated_mail
2017-03-07 10:25:34 +01:00
Simon Lehericey
c22c84f1f9
Procedure: add inititad_mail with default provider
2017-03-07 10:25:34 +01:00
Simon Lehericey
2f5dde381a
NotificationMailer: simplify using default method
2017-03-07 10:25:34 +01:00
Simon Lehericey
47fc6e6957
InitiatedEmail: add initiated email
2017-03-07 10:25:28 +01:00
LeSim
22837c01b0
Merge pull request #35 from sgmap/state_wording
...
Wording
2017-03-06 20:49:22 +01:00
Simon Lehericey
a334888363
Wording
2017-03-06 20:44:25 +01:00
Simon Lehericey
a5bb6ea0d7
Dossier: fix merge
2017-03-06 18:17:28 +01:00
LeSim
caf1f1b74f
Merge branch 'develop' into add_dossier_workflow_dates
2017-03-06 17:54:45 +01:00
LeSim
4de6a9595a
Merge pull request #33 from sgmap/block_dossier_initiation_if_procedure_is_archived
...
Block dossier initiation if procedure is archived
2017-03-06 17:48:18 +01:00
Mathieu Magnin
376c50db8f
Long procedure title should be cut if too long
2017-03-06 16:18:22 +01:00
Mathieu Magnin
44819bb0b1
Fix reopened dossier should not be listed in new dossiers
2017-03-06 15:59:52 +01:00
Mathieu Magnin
7e4f473027
When procedure is archived user can update dossier if not in brouillon
2017-03-06 15:03:51 +01:00
Mathieu Magnin
a24980145c
Block dossier initiation if procedure is archived
2017-03-06 14:29:01 +01:00
Simon Lehericey
7eb77ba667
Mail Received: remove useless template_decorator
2017-03-05 22:17:17 +01:00
Mathieu Magnin
d03016db9c
Merge branch 'develop' into list_dossiers_archived
2017-03-02 16:22:59 +01:00
Simon Lehericey
5cceb9773c
Style: simple css for custom emails list
2017-03-02 16:19:05 +01:00
Mathieu Magnin
858c9a3bba
Export dates and add tests
2017-03-02 16:18:14 +01:00
Mathieu Magnin
c77c46bf37
Remove unused title
2017-03-02 11:53:03 +01:00
Mathieu Magnin
6fcd35fd4c
Merge branch 'develop' into add_dossier_workflow_dates
2017-03-02 11:46:17 +01:00
Mathieu Magnin
e9147a8e76
Fix floating login button
2017-03-02 11:20:20 +01:00
Simon Lehericey
494d5fed5c
Dossier_list_controller: renaming
2017-03-01 16:00:39 +01:00
Simon Lehericey
ca799421c9
backoffice dossiers index: simple cleaning
2017-03-01 15:51:02 +01:00
Simon Lehericey
0862f2fc51
Dossier_list_controller: same name pattern
2017-03-01 15:51:02 +01:00
Simon Lehericey
5b475fdd06
Dossier_list_controller: simplify smartlisting
2017-03-01 15:51:02 +01:00
Simon Lehericey
925a087f4a
Dossier_list_controller: use same system for archived dossiers
2017-03-01 15:50:57 +01:00
Mathieu Magnin
4d60aecb6d
Merge branch 'develop' into try_to_use_sqlite
2017-03-01 14:59:17 +01:00
Simon Lehericey
8dc634f4d3
Dossier_list_controller: factorize smart_listing_create
2017-03-01 14:19:22 +01:00
Mathieu Magnin
87865fcf1b
Merge branch 'develop' into list_dossiers_archived
2017-03-01 10:35:20 +01:00
Mathieu Magnin
d9f5603f05
Add state dates to dossier
2017-03-01 09:51:55 +01:00
Simon Lehericey
c56a346f2e
fix wrong mail subject
2017-02-28 18:07:58 +01:00
Simon Lehericey
b097e1d6b8
Tests: adapt to sqlite
2017-02-28 17:01:58 +01:00
Simon Lehericey
db3884cc93
Style: fix width in show dossier
2017-02-28 16:00:42 +01:00
LeSim
0da239c657
Merge branch 'develop' into simplify_dossier_workflow
2017-02-28 15:23:25 +01:00
Simon Lehericey
870d3719e1
Dossier: add method to allow gestionnaire to reopen dossier
2017-02-28 15:14:27 +01:00
Simon Lehericey
43e6f15c5f
Style: fix backoffice navbar
2017-02-28 15:14:01 +01:00
Mathieu Magnin
67daaa033c
Merge pull request #28 from sgmap/simplify_dossier_workflow
...
Simplify dossier workflow
2017-02-28 14:56:57 +01:00
Mathieu Magnin
fa884f3ed0
Unarchive button & tests
2017-02-28 14:33:05 +01:00
Simon Lehericey
7b877dc28f
Style: fix backoffice dossier width for small screen
2017-02-28 13:54:19 +01:00
Mathieu Magnin
ef1d46d30e
Fix tests
2017-02-28 11:37:37 +01:00
Mathieu Magnin
6774dd008f
List dossiers archived
2017-02-27 17:44:08 +01:00
Mathieu Magnin
ab3c1b4be4
Remove mail validated in procedure
2017-02-27 13:29:26 +01:00
Mathieu Magnin
4cc6aedfb9
Fix tests after workflow simplication
2017-02-27 11:56:26 +01:00
Mathieu Magnin
10add61bd1
Clean some tests after removing :validated & :submitted states
2017-02-23 17:54:11 +01:00
Mathieu Magnin
3fcf9bf350
Landing is no longer a symlink on prod/staging env, new call to action on landing is a mailto
2017-02-22 16:07:06 +01:00
Mathieu Magnin
cae5b37e38
First step to remove :validated and :submitted states
2017-02-21 18:05:48 +01:00
Mathieu Magnin
6f1243eb7e
Do not hide link if procedure is archived
2017-02-21 11:05:11 +01:00
Simon Lehericey
b6fc30fd62
Search: see only its own files
2017-02-20 18:07:33 +01:00
Mathieu Magnin
ab0d8deef1
Modify wording : Procedure can be edited after publication
2017-02-20 15:08:31 +01:00
Mathieu Magnin
c4f57087fe
Merge pull request #23 from sgmap/admin_can_modify_procedure_description_after_published
...
Admin can modify procedure description after published
2017-02-20 14:52:14 +01:00
Mathieu Magnin
62152e0b6e
After environment.rb updated this should work
2017-02-20 14:11:12 +01:00
Mathieu Magnin
2798d225fd
Fix uninitialized constant
2017-02-17 17:18:10 +01:00
Mathieu Magnin
85c07f8095
Quick & dirty fix
2017-02-16 18:05:42 +01:00
Mathieu Magnin
ff9c95f18e
Merge branch 'develop' into admin_can_modify_procedure_description_after_published
2017-02-16 15:59:49 +01:00
Mathieu Magnin
9fcc0920e6
Css update
2017-02-16 13:59:32 +01:00
Mathieu Magnin
6979f6b5f6
Add some tests
2017-02-15 17:09:25 +01:00
Simon Lehericey
a124069210
Procedure: use after_create to build_default_mails
2017-02-15 15:44:27 +01:00
Mathieu Magnin
1d0a236813
Typo
2017-02-15 15:21:34 +01:00
Mathieu Magnin
a0d84eda5c
Fix logo display in development
2017-02-15 15:13:49 +01:00
Mathieu Magnin
a636d4f98d
Filter procedure update parms if procedure is locked
2017-02-15 14:13:02 +01:00
Mathieu Magnin
85608f18ab
Description page is accessible, some field are disabled if procedure is locked
2017-02-14 18:13:19 +01:00
Mathieu Magnin
c0ae500aa3
Merge branch 'develop' into remove_cerfa_text
2017-02-14 17:59:41 +01:00
Mathieu Magnin
9986ab1f01
Merge pull request #21 from sgmap/clean_grid
...
Clean grid
2017-02-14 17:58:15 +01:00
LeSim
7bc6e67e15
Merge pull request #19 from sgmap/clickable-links-in-champs-description
...
Add clickable links in champ description and use bootstrap layout for…
2017-02-14 17:28:03 +01:00
Simon Lehericey
5359c046e6
Clean grid usage
2017-02-14 17:12:44 +01:00
Simon Lehericey
3b827fa5e3
Remove specific cerfa in favor of default enclosed documents
2017-02-14 16:26:25 +01:00
Mathieu Magnin
11c793a60c
Remove custom button code, use bootstrap classes
2017-02-14 16:23:48 +01:00
Mathieu Magnin
6c41cbcc5e
Clean css
2017-02-14 16:20:52 +01:00
Mathieu Magnin
e7b91c3db5
Bootstrap default font-size is set to 16px
2017-02-14 16:09:52 +01:00
Mathieu Magnin
1e3c5bf14a
Fix engagement field
2017-02-14 15:23:39 +01:00
Mathieu Magnin
f60098311e
Fix hidden checkbox bug, address field : full width
2017-02-14 14:55:08 +01:00
Mathieu Magnin
b08a4c5091
Fix style for checkbox and radios
2017-02-14 14:34:00 +01:00
Mathieu Magnin
308a037f19
Add clickable links in champ description and use bootstrap layout for forms
2017-02-14 11:13:48 +01:00
Xavier J
5d733c11fd
Delete references @opensimplif
2017-02-13 15:46:28 +01:00
Xavier Julien
3c6ae2d005
Merge pull request #14 from sgmap/customizable-emails
...
Customizable emails
2017-02-13 15:20:04 +01:00
Xavier J
c344c99fbb
Merge branch 'sync-passwords-on-login' into develop
2017-02-13 13:47:36 +01:00
Mathieu Magnin
5613b896b1
Gestionnaire can archive dossier
2017-02-08 17:35:28 +01:00
Mathieu Magnin
82546a3ad4
Fix merge error
2017-02-08 15:32:49 +01:00
Mathieu Magnin
8ba8135e6b
Allow blank for lien_demarche
2017-02-07 18:12:25 +01:00
Mathieu Magnin
1bd66b6a9e
Add tests and lien_demarche in serialize
2017-02-07 18:12:25 +01:00
Mathieu Magnin
f15e9ec7da
In dev mode, demo buttons link to localhost
2017-02-07 18:12:25 +01:00
Mathieu Magnin
566fd8bc74
Add lien demarche to type de piece justificative
2017-02-07 18:12:25 +01:00
Xavier J
333ea9a610
Merge commit '99248a75a02710899e7ee2ecbcb3b304620cb721' into develop
2017-02-07 17:54:21 +01:00
Xavier J
5edd16c30f
Fix indentation
2017-02-07 17:52:56 +01:00
Xavier J
7cd08ec3f9
Merge branch 'develop' into print_css_for_dossier_show
...
# Conflicts:
# app/views/dossiers/_messagerie.html.haml
2017-02-07 17:38:02 +01:00
Mathieu Magnin
aa88fad777
Sync password after login
2017-02-07 16:56:21 +01:00
Mathieu Magnin
6444aa5be6
Use has_one instead of scope
2017-02-06 16:52:57 +01:00
Mathieu Magnin
749baedf43
Replace administration with services instructeurs
2017-02-01 18:05:58 +01:00
Mathieu Magnin
6bf3b9edf8
Fix test : do not send notification if commentaire is not saved
2017-02-01 17:16:08 +01:00
Mathieu Magnin
e99746639b
Merge branch 'send_user_notification_when_invite_send_a_message' into develop
2017-02-01 17:01:34 +01:00
Mathieu Magnin
91bd058106
Some fixes after review
2017-02-01 15:58:56 +01:00
Mathieu Magnin
34d05e4d9e
Improve the print css for the dossier/show
2017-02-01 14:24:24 +01:00
Mathieu Magnin
9266cf0feb
Disable scrollwheel zoom on map
2017-02-01 10:31:45 +01:00
Mathieu Magnin
ef9012cd82
Add lien cerfa vierge in the modification popup
2017-01-31 17:58:44 +01:00
Mathieu Magnin
37d31fae7b
Rename formulaire to formulaire de demande
2017-01-31 11:45:29 +01:00
Mathieu Magnin
38e8acf285
Change some wordings and clean some templates
2017-01-31 10:46:20 +01:00
Mathieu Magnin
c7934b2f97
Send a mail to usager if somebody else wrote a new commentaire on his dossier
2017-01-30 15:17:45 +01:00
Mathieu Magnin
99248a75a0
Add accompagnateurs emails in export
2017-01-26 17:54:04 +01:00
Mathieu Magnin
b40193e7b5
New customizable mail : mail_validated, new balise --lien_dossier--
2017-01-26 12:12:52 +01:00
Mathieu Magnin
2bc5ee88f7
Change controller name according to model name, add simple_form
2017-01-24 15:53:42 +01:00
Mathieu Magnin
482ca2a317
Add a mail_template decorator
2017-01-24 11:58:09 +01:00
Mathieu Magnin
0e5c90cb0c
Real index and edit for mail_templates
2017-01-24 10:19:42 +01:00
JC
4880101202
Fixing nomethoderror for opensimplif
2017-01-23 17:18:57 +01:00
Mathieu Magnin
7e24adbca0
Add mail preview and small fix
2017-01-23 15:49:19 +01:00
Mathieu Magnin
c41c36b4d1
Fix typo
2017-01-19 12:07:55 +01:00
Mathieu Magnin
52bf1d1ea2
Fix typos
2017-01-19 11:58:38 +01:00
Mathieu Magnin
2e3cb7a861
Cleaning HAML
2017-01-18 15:34:03 +01:00
Mathieu Magnin
d5e4f45d7d
Add xray-rails in dev mode
2017-01-18 13:59:14 +01:00
Xavier J
154e4f3c10
Refacto check_invite! after registration for User.
2017-01-13 11:19:29 +01:00
Xavier J
f5f5ef1a0d
Badge count invites by dossiers
2017-01-12 17:02:30 +01:00
Xavier J
42359eff15
Fix rake tasks
2017-01-11 17:36:28 +01:00
Xavier J
6612e56da2
Mask section left panel is user does not have any dossier
2017-01-11 15:22:24 +01:00
Xavier J
a6b10ba2df
Active protect on change dossier state tool with admin email verification
2017-01-10 17:34:55 +01:00
Xavier J
bc71754e87
Add tool change dossier state
2017-01-10 17:29:38 +01:00
Xavier J
04ee25dc7d
Fix bug post commentaire invite
2017-01-10 16:25:05 +01:00
Xavier J
8f5ad1af35
Fix bug procedure_path does not exist
2017-01-10 15:27:40 +01:00
Xavier J
12af46a22a
Fix invite dossier validated recapitulative show
2017-01-10 15:04:13 +01:00
Xavier J
672ad55651
Fix FranceConnect connexion routing
2017-01-10 11:03:12 +01:00
Xavier J
23df8a2348
- Ajust TPS for OpenSimplif
...
- Create /simplifcations routes for OpenSimplifController
2017-01-09 17:12:11 +01:00
Xavier J
29c7c8f498
Fix bug @liste sélection in DossierListGestionnaireService
2017-01-09 12:26:41 +01:00
Xavier J
32378405ed
Fix smart listing usage with new admin list presentation
2017-01-09 12:00:39 +01:00
Xavier J
c815ec5e82
Add tab for follow dossier in gestionnaire dashboard
2017-01-05 19:07:01 +01:00
Xavier J
ab02fe48c3
Force state dossier in files lists on gestionnaire board
2017-01-05 18:01:53 +01:00
Xavier J
b48726427d
Fix bug with procedure_filter loop redirections
2017-01-05 12:44:15 +01:00
Xavier J
99e6749c96
Fix invite to access a files
2017-01-04 18:03:03 +01:00
JC
45042d0200
Catching case for empty dossiers, cannot download them while locked on procedure, third fix making good condition about empty dossiers
2017-01-03 15:50:44 +01:00