gregoirenovel
aeeb0dd22f
[ Fix #170 ] Keep drop down menu values for annot. privées when cloning
2017-06-27 14:31:33 +02:00
gregoirenovel
556359cd05
[ Fix #318 ] Add annotations privées to exported files
2017-06-27 14:27:02 +02:00
gregoirenovel
bb57002eff
[ Fix #352 ] Downcase admin emails when transferring a procedure
...
See config/initializers/devise.rb:L44
config.case_insensitive_keys = [ :email ]
We therefore need to downcase the email before
looking for an admin by its email address
2017-06-27 14:25:56 +02:00
gregoirenovel
cf5398fe99
Record published_at when publishing a procedure
2017-06-27 13:55:17 +02:00
gregoirenovel
99ee68451a
Add proper tests for Procedure#publish!
2017-06-27 13:55:15 +02:00
gregoirenovel
68b9cd209d
Remove tests that were just testing if Rails worked
2017-06-27 13:55:06 +02:00
Simon Lehericey
3d99407495
[ Fix #499 ] Attestation: add maxlength to footer
2017-06-27 13:35:01 +02:00
Simon Lehericey
84e3d8fbe0
Attestation_template: use etablissement inline_adresse
2017-06-27 11:15:25 +02:00
Simon Lehericey
d69d0f8a78
Etablissement: add inline_adresse
2017-06-27 11:15:25 +02:00
gregoirenovel
0e3ebfd819
[ Fix #183 ] Display “oui” or “non” instead of “true” or “false”
2017-06-26 14:53:38 +02:00
gregoirenovel
469f0aed4b
[ Fix #440 ] Show the current month only if logged in as superadmin
2017-06-26 10:50:31 +02:00
gregoirenovel
ba5d816ce6
[ Fix #176 ] Delete useless new_assignement email
2017-06-26 10:49:42 +02:00
Mathieu Magnin
3f90e82d09
[ Fix #327 ] flashes messages can deal with Arrays
2017-06-21 18:08:05 +02:00
Mathieu Magnin
ac5c00c26f
[ fix #452 ] redesign sign up form
2017-06-21 17:38:38 +02:00
Mathieu Magnin
6777b51331
rename login css to auth, since it will also be used by sign up
2017-06-21 17:38:34 +02:00
Mathieu Magnin
58350f219a
Rewrite tests that should fail so that they actually do
2017-06-20 17:04:54 +02:00
Mathieu Magnin
b68a8b37e8
Redesign the login form
2017-06-19 18:21:15 +02:00
gregoirenovel
d0b927857a
Add stats for encart motivation
2017-06-19 18:01:59 +02:00
gregoirenovel
14823560a1
Expose the motivation on exported files
2017-06-19 15:01:14 +02:00
gregoirenovel
ce2def9c40
Expose the motivation on the API
2017-06-19 15:01:14 +02:00
Simon Lehericey
dd441ff0c7
Attestation: fix mail attachment when the files are remotely stored
2017-06-19 13:47:32 +02:00
Simon Lehericey
5c70d38a23
Attestation: fix missing_attachment
2017-06-16 14:47:44 +02:00
Simon Lehericey
e60ce35ae8
[ Fix #196 ] Attestation: join the attestation to the closed mail
...
Add a upper limit to the attachment size as it could be a problem with Mailjet and receiver
(https://www.mailjet.com/support/what-is-the-size-limit-for-attachments-files-sent-via-mailjet,289.htm )
If the attestation cannot be sent, it is logged in sentry
2017-06-16 12:11:10 +02:00
Simon Lehericey
b664709c3d
[ Fix #196 ] Attestation: allow vizualisation after the procedure is published
2017-06-16 12:11:10 +02:00
Simon Lehericey
671a0575ce
[ Fix #196 ] Recapitulatif: user can download its attestation
2017-06-16 12:11:10 +02:00
Simon Lehericey
602527a09d
[ Fix #196 ] Attestation: building logic from template
2017-06-16 12:11:09 +02:00
Simon Lehericey
c0facbf679
[ Fix #196 ] AttestionTemplate: add preview
2017-06-16 12:11:09 +02:00
Simon Lehericey
fdb4d15bcf
[ Fix #196 ] AttestationTemplate: add edition
2017-06-16 12:11:09 +02:00
Simon Lehericey
d7ff3d6139
[ Fix #196 ] AttestationTemplate: add model
2017-06-16 11:35:13 +02:00
gregoirenovel
12d74be668
Refactor Backoffice::DossiersController#process_dossier
2017-06-13 15:14:51 +02:00
gregoirenovel
88267a990d
[ Fix #197 ] Show the motivation on a dossier’s details
2017-06-13 15:14:48 +02:00
gregoirenovel
33944e343a
Add Backoffice::DossiersController#process_dossier and use it
2017-06-13 15:05:09 +02:00
gregoirenovel
1bff7d1914
Fix incorrect Backoffice::DossiersController tests
2017-06-13 15:05:09 +02:00
gregoirenovel
d248afc376
Enable the Layout/ExtraSpacing cop
2017-06-13 10:35:35 +02:00
gregoirenovel
24e7537c49
Enable the Layout/EmptyLinesAroundClassBody cop
2017-06-13 10:35:32 +02:00
gregoirenovel
f1907f4d0e
Enable the Layout/EmptyLinesAroundBlockBody cop
2017-06-13 10:35:23 +02:00
gregoirenovel
f496f1adab
Enable the Layout/EmptyLines cop
2017-06-13 10:35:20 +02:00
gregoirenovel
a62d5322b6
Enable the Layout/DotPosition cop
2017-06-13 10:35:19 +02:00
gregoirenovel
bc16027ccc
Enable the Layout/BlockEndNewline cop
2017-06-13 10:35:19 +02:00
gregoirenovel
9439e1abb1
Enable the Layout/AlignParameters cop
2017-06-13 10:35:16 +02:00
Mathieu Magnin
b9522ce404
[ Fix #376 ] Before save format champ date to ISO
2017-06-12 14:05:31 +02:00
Mathieu Magnin
41a5ed59f3
[ Fix #376 ] Force every browser to use native input[type=date] on date champ
2017-06-12 14:05:31 +02:00
gregoirenovel
2a74207d15
you_are_invited_on_dossier -> avis_invitation
...
- shorter
- clearer
2017-06-12 10:53:59 +02:00
gregoirenovel
9eb897f721
Fix spacing in auto_archive_procedure_worker_spec.rb
2017-06-08 15:06:01 +02:00
gregoirenovel
107c322062
[ Fix #323 ] Refactor received dossier notification: use a callback
2017-06-08 15:06:01 +02:00
gregoirenovel
ec69086ebc
Don’t use alias_method_chain, use a proxy method
2017-06-08 12:22:48 +02:00
gregoirenovel
bc7fc2634e
Fix test indentation, name and remove a blank line
2017-06-08 12:22:48 +02:00
gregoirenovel
07ea0ceea1
Make MailTemplateConcern.slug a constant
2017-06-08 12:22:44 +02:00
Mathieu Magnin
c52a979199
Fix email collision in tests
2017-06-01 18:11:56 +02:00
gregoirenovel
0971ede57e
Add a termine scope to Dossier
2017-06-01 11:08:00 +02:00
gregoirenovel
5e5a01cdc8
Do not test scopes
2017-06-01 11:07:32 +02:00
gregoirenovel
ab1c19c09b
Rename some Dossier scopes
2017-06-01 10:58:08 +02:00
Mathieu Magnin
8e9144f565
[ Fix #378 ] Remove redirect based on referrer
2017-06-01 10:36:36 +02:00
Simon Lehericey
9e6098dc09
Add the weekly avis answer percentage to Stats
2017-05-31 14:24:33 +02:00
Mathieu Magnin
068b635b7c
Add the weekly avis answer time average to Stats
2017-05-31 14:24:32 +02:00
Simon Lehericey
b5f1b898c7
Add the weekly avis usage to Stats
2017-05-31 13:31:19 +02:00
gregoirenovel
4655707eb5
[ Fix #319 ] Include archived dossiers in the export
2017-05-30 15:41:35 +02:00
Mathieu Magnin
69a5857322
[ Fix #264 ] Add pie chart to count administrations
2017-05-30 15:36:21 +02:00
Simon Lehericey
ae8b126594
ProcedureOverview: use procedure_url to link with absolute path in email
2017-05-30 15:03:51 +02:00
gregoirenovel
3215411547
Delete the 30 days flows graphs
2017-05-30 12:05:28 +02:00
gregoirenovel
711f21c458
[ Fix #264 ] Add the mean filling time graph to Stats
2017-05-30 12:05:27 +02:00
gregoirenovel
faa547e891
[ Fix #264 ] Add the mean instruction time graph to Stats
2017-05-30 12:05:27 +02:00
gregoirenovel
ed7ba60cf0
[ Fix #264 ] Add the last 4 months evolution graphs to Stats
2017-05-30 12:05:26 +02:00
gregoirenovel
0cc5d85f13
Improve the Procedure factory
...
We can now specify how many types_de_champ a
procedure has
2017-05-29 16:11:53 +02:00
gregoirenovel
b820f9d39c
Move a test in the right describe section
2017-05-29 16:11:53 +02:00
Simon Lehericey
64f7cab3cf
Avis: add claimant gestionnaire to track who asks for an avis
2017-05-29 11:44:28 +02:00
Simon Lehericey
cdcd5b951f
AvisController: add a notification when a avis has been received
2017-05-29 11:44:28 +02:00
Simon Lehericey
34a7905828
DossierController: giving an advice does not remove the notifications
2017-05-29 11:44:28 +02:00
Simon Lehericey
3483ec075b
DossierController: extract dossier_id from params[:id]
2017-05-29 11:44:28 +02:00
Simon Lehericey
f9aee06040
AvisController: add redirection logic for various login cases
2017-05-29 11:44:28 +02:00
Simon Lehericey
842999d229
Avis: add create_gestionnaire logic
2017-05-29 11:44:28 +02:00
Simon Lehericey
aaf155df72
Avis: add sign_up logic for new tps gestionnaire
2017-05-29 11:44:28 +02:00
Mathieu Magnin
4e064dbaed
Add a method to link multiple avis to a gestionnaire by his email
2017-05-29 11:44:28 +02:00
Mathieu Magnin
efdac753c6
When an Avis is created an email is sent to the Gestionnaire
2017-05-29 11:44:28 +02:00
Simon Lehericey
f6359cb7aa
gestionnaire invited on dossier for avis, can update Avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
f24e4a77d3
Gestionnaire can view dossier if he is invited on dossier
2017-05-29 11:44:28 +02:00
Mathieu Magnin
d07943a55d
Add by_latest scope in Avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
7c662aa7b2
Gestionnaire invited on dossier for avis, cannot see private form / change dossier state / follow dossier / see invited people / see others avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
43f481b7ff
Gestionnaire can list dossiers where he is invited for avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
e831442cbd
Associate gestionnaire to avis if gestionnaire is known
2017-05-29 11:44:28 +02:00
Mathieu Magnin
c3bf15d49f
Create and list Avis on Dossier detail page
2017-05-29 11:44:28 +02:00
Simon Lehericey
b48549d765
WeeklyOverviewWorker: add feature flip on worker
...
The main objective is to avoid batch mail sent in staging
2017-05-23 17:12:18 +02:00
Simon Lehericey
c4c2dc78a2
WeeklyOverviewWorker: add worker to send the week overview
2017-05-23 17:12:18 +02:00
Simon Lehericey
8dabdcc6c4
GestionnaireMailer: add a last week report
2017-05-23 17:12:18 +02:00
Simon Lehericey
e630548110
Gestionnaire: add last_week_overview method
2017-05-23 17:12:18 +02:00
Simon Lehericey
e7d39ca650
ProcedureOverview: add object to contain overview logic
2017-05-23 17:12:18 +02:00
gregoirenovel
f67aa63766
[ Fix #285 ] Use a has_many through for Gestionnaire#dossiers_follow
2017-05-15 15:51:51 +02:00
gregoirenovel
8a5420301c
Add Commentaire#notify to dispatch notifications
2017-05-12 16:31:03 +02:00
gregoirenovel
9c3cde2b2e
Move CommentairesController#notify_user_user_with_mail to Commentaire
2017-05-12 16:31:02 +02:00
Mathieu Magnin
58abd9eaf1
Fix #276 Rewrite #dossiers_with_notifications_count_for_procedure and add tests
2017-05-12 15:42:33 +02:00
Mathieu Magnin
8f5fdfa81f
Rename dossier_with_notification_for
2017-05-12 15:42:33 +02:00
gregoirenovel
70f637f088
[ Fix #198 ] Add a Commentaire when we send a Notification email to a user
2017-05-12 14:03:48 +02:00
Mathieu Magnin
e5ac555a41
fix #245 it should only count dossiers with notifications on followed dossiers
2017-05-12 10:13:51 +02:00
Mathieu Magnin
cfba1af7a4
Ensure that read notifications are not counted
2017-05-12 10:13:51 +02:00
Mathieu Magnin
459c2afe33
remove empty line
2017-05-11 18:18:28 +02:00
Simon Lehericey
cebb197994
Fix #171 : add localtime to a bunch of date
2017-05-11 15:10:49 +02:00
Simon Lehericey
07dfec9236
Clean: remove dead code
2017-05-11 12:45:01 +02:00
gregoirenovel
38480ef3ed
Remove dead code
2017-05-09 16:39:39 +02:00
gregoirenovel
1a5f9fd067
[ Fix #105 ] Show the pieces justificative’ descriptions
2017-05-09 12:47:21 +02:00
gregoirenovel
ecca3b3f37
Add a missing test for _pieces_justificatives.html.haml
2017-05-09 12:47:20 +02:00
gregoirenovel
06714b5fc3
Add a date_attribute argument to StatsController#cumulative_hash
2017-05-05 12:03:53 +02:00
gregoirenovel
c7999b9691
Add a date_attribute argument to StatsController#thirty_days_flow
2017-05-05 12:03:53 +02:00
gregoirenovel
9a0df71887
Change the link to a linked dossier depending on the user profile
2017-05-04 17:20:18 +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
fd07a88ed6
Add a missing test to the _render_list_champs template’s test
2017-05-04 11:31:10 +02:00
gregoirenovel
4ce6c92394
Reformat the _render_list_champs template test
2017-05-04 11:31:10 +02:00
gregoirenovel
988947696e
[ Fix #161 ] Remove incorrect commas from Dossier#text_summary
2017-05-04 11:25:33 +02:00
gregoirenovel
eff9e556e9
[ Fix #162 ] Deny dossier access for an unauthorized accompagnateur
2017-05-03 10:28:29 +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
b89e59192c
Add a missing a test for the dossier link field in the form
2017-04-26 11:35:49 +02:00
gregoirenovel
2b23d0d087
Add a missing feature test for the linked dossier feature
2017-04-26 11:35:48 +02:00
gregoirenovel
b34bf4846c
Improve a test title in the _render_list_champs test
2017-04-26 11:35:48 +02:00
Mathieu Magnin
ad4bd87b1f
Remove unused pending tests, and enable old tests disabled for sqlite
2017-04-21 17:07:06 +02:00
Mathieu Magnin
887512c26c
Procedure path can contain dashes and can be longer
2017-04-21 16:32:48 +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
0c10c3e9be
Improve tests predictability
2017-04-21 14:36:50 +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
gregoirenovel
663cd18364
Change the landing page, add the “Hero” part
2017-04-20 12:18:17 +02:00
gregoirenovel
c10c2fc31b
Selectors must be written in lowercase with hyphens
2017-04-20 10:35:53 +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
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
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
367b7c6ae1
DescriptionController: use common system to redirect with errors
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
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
Mathieu Magnin
3730ba76b5
Remove sqlite flag for tests
2017-04-12 17:34:31 +02:00
gregoirenovel
913735554c
Improve StatsController#thirty_days_flow and #clean_hash
2017-04-11 16:58:27 +02:00
gregoirenovel
52ea4a1b8d
Add new charts and a segmented control to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
2074ac93ba
Add StatsController#thirty_days_flow_hash
2017-04-11 15:29:19 +02:00
Simon Lehericey
3228737a87
DossierLink: add edition template
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
4df03fc28e
ChampsService: add tests and refactor
2017-04-11 12:11:09 +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
64fdc7a2af
Remove a Dossier#convert_specific_array_values_to_string useless test
2017-04-11 10:29:07 +02:00
gregoirenovel
82b07be455
Fix a failing test, incompatible with the new DatabaseCleaner strategy
2017-04-10 17:33:05 +02:00
gregoirenovel
fa9bf2d398
Fix a test now that we use transaction instead of truncation
2017-04-10 16:17:34 +02:00
gregoirenovel
0e13e4bdfd
Use transaction instead of truncation DatabaseCleaner strategy
...
It is the recommended strategy for ActiveRecod
2017-04-10 16:17:34 +02:00
gregoirenovel
30d1d87277
Fix a test due to the move to Postgresql
...
double precision’s length is 15 digits
2017-04-10 16:17:34 +02:00
Mathieu Magnin
e626933569
Remove annoying test with external dependency
2017-04-10 16:05:18 +02:00
Mathieu Magnin
86ab596a87
Change test structure
2017-04-06 17:19:56 +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
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
Mathieu Magnin
95b83a57c1
Checkbox should be checked when value is 'on'
2017-04-03 10:50:15 +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
Mathieu Magnin
c2a27c6f6a
Merge branch 'develop' into auto_archive_on_date
2017-03-22 11:32:56 +01:00
gregoirenovel
d41dabe00a
Remove the simplecov gem (unused)
2017-03-22 11:07:47 +01:00
gregoirenovel
0483fe028f
Remove the parallel_test gem
2017-03-21 19:07:40 +01:00
Mathieu Magnin
4112af6c93
Fix tests
2017-03-20 13:48:42 +01:00
Mathieu Magnin
c795a7d7e2
Fix tests
2017-03-20 13:38:51 +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
657ce53a60
select_multiple: add multiple_drop_down_list type
2017-03-15 17:51:34 +01:00
Mathieu Magnin
24d17dc0f3
Sidekiq worker to archive procedures automatically + tests
2017-03-15 12:40:59 +01:00
Simon Lehericey
fb2aef1810
Explication: style in edit page
2017-03-14 13:58:59 +01:00
Mathieu Magnin
359807b4f7
Procedure has an auto_archive date
2017-03-14 10:45:59 +01:00
Simon Lehericey
367f06495e
ProcedureSpec: remove useless tests
2017-03-13 14:13:21 +01:00
Mathieu Magnin
ad1250af6f
Add confirm popup on important actions
2017-03-09 16:55:47 +01:00
Mathieu Magnin
9cd506e265
Clone mail_templates with procedure
2017-03-07 18:19:48 +01:00
Mathieu Magnin
4ea7635dfc
Fix after review
2017-03-07 16:23:44 +01:00
LeSim
9764604430
Merge branch 'develop' into customize_submission_mail
2017-03-07 11:05:04 +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
3d7f04ad3d
DossierController: send receivedMail when the mail is ... received
2017-03-07 10:27:14 +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
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
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
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
88654535ea
Remove comment
2017-03-06 14:35:45 +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
0a11165308
Tests for display archived dossiers
2017-03-02 17:52:28 +01:00
Mathieu Magnin
d03016db9c
Merge branch 'develop' into list_dossiers_archived
2017-03-02 16:22:59 +01:00
Mathieu Magnin
858c9a3bba
Export dates and add tests
2017-03-02 16:18:14 +01:00
Mathieu Magnin
6fcd35fd4c
Merge branch 'develop' into add_dossier_workflow_dates
2017-03-02 11:46:17 +01:00
Mathieu Magnin
5228670274
Fix tests
2017-03-01 18:11:58 +01:00
Mathieu Magnin
8139f33db8
Fix test after deleting unused email template
2017-03-01 16:27:08 +01:00
Mathieu Magnin
4d60aecb6d
Merge branch 'develop' into try_to_use_sqlite
2017-03-01 14:59:17 +01:00
Mathieu Magnin
210e0294e1
Rewrite tests and logic
2017-03-01 11:13:48 +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
cac679cd83
Tests: feature flip few circleci tests
...
Yes, i am ashamed
2017-02-28 17:01:59 +01:00
Simon Lehericey
2d6d289457
Tests: feature flip test with timezone
2017-02-28 17:01:58 +01:00
Simon Lehericey
df26b4c3e2
Tests: fix users_controller_shared_example
2017-02-28 17:01:58 +01:00
Simon Lehericey
3f87c08db3
Tests: comment test that does not work with sqlite
2017-02-28 17:01:58 +01:00
Simon Lehericey
b097e1d6b8
Tests: adapt to sqlite
2017-02-28 17:01:58 +01:00
Simon Lehericey
382b614095
Tests: feature flip tests that require postgres
2017-02-28 17:01:58 +01:00
Simon Lehericey
870d3719e1
Dossier: add method to allow gestionnaire to reopen dossier
2017-02-28 15:14:27 +01:00
Mathieu Magnin
fa884f3ed0
Unarchive button & tests
2017-02-28 14:33:05 +01:00
Mathieu Magnin
ef1d46d30e
Fix tests
2017-02-28 11:37:37 +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
cae5b37e38
First step to remove :validated and :submitted states
2017-02-21 18:05:48 +01:00
Mathieu Magnin
b2198663d1
Fix test : procedure link is not hidden if archived
2017-02-21 12:20:18 +01:00
Simon Lehericey
ec55c48ef4
Fix test: in see only its own file
2017-02-21 10:50:23 +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
702a1456f1
Remove duplicate line
2017-02-20 14:46:06 +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
6979f6b5f6
Add some tests
2017-02-15 17:09:25 +01:00
Simon Lehericey
58d5e40130
Remove duplicate email received
2017-02-15 15:44:27 +01:00
Xavier J
933d1ac09a
Move JS: true for start demande spec
2017-02-14 15:20:10 +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
Xavier J
e4b0638762
Merge branch 'archive_dossier' into develop
2017-02-13 13:41:50 +01:00
Xavier J
807a8112e3
Fix some features tests (DONE)
2017-02-13 13:15:37 +01:00
Xavier J
306650ee89
Fix some features tests
2017-02-13 11:57:35 +01:00
Xavier J
bc918446f2
Fix some tests
2017-02-10 12:48:49 +01:00
Mathieu Magnin
5613b896b1
Gestionnaire can archive dossier
2017-02-08 17:35:28 +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
Xavier J
333ea9a610
Merge commit '99248a75a02710899e7ee2ecbcb3b304620cb721' into develop
2017-02-07 17:54:21 +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
91bd058106
Some fixes after review
2017-02-01 15:58:56 +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
83616f77db
Fix tests
2017-01-24 17:14:51 +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
Mathieu Magnin
7e24adbca0
Add mail preview and small fix
2017-01-23 15:49:19 +01:00
Mathieu Magnin
29de9b0b55
Simplify mailers development with mailcatcher and previews
2017-01-23 15:41:09 +01:00
Xavier J
23df8a2348
- Ajust TPS for OpenSimplif
...
- Create /simplifcations routes for OpenSimplifController
2017-01-09 17:12:11 +01:00
Xavier J
c815ec5e82
Add tab for follow dossier in gestionnaire dashboard
2017-01-05 19:07:01 +01:00
Xavier J
b48726427d
Fix bug with procedure_filter loop redirections
2017-01-05 12:44:15 +01:00
Xavier J
ccde8fdb86
Change status libelle
2017-01-04 18:09:35 +01:00
Xavier J
99e6749c96
Fix invite to access a files
2017-01-04 18:03:03 +01:00
Xavier J
18659474e7
Fix tests user dossier editions
2017-01-03 14:08:57 +01:00
JC
a683f86263
Voodoo here -> spec/features/backoffice/navigate_to_dossier_spec.rb
2017-01-03 12:56:08 +01:00
Xavier J
8d4656cf89
Fix features dossiers edition spec
2017-01-03 12:53:27 +01:00
JC
49d539b136
Removing binding.pry
2017-01-03 12:12:56 +01:00
JC
7ac829becb
Fixing dossier edition spec, cannot find why vcr erros
2017-01-03 12:11:35 +01:00
Xavier J
26db1d377e
Fix some test into back office index show procedure
2017-01-03 12:11:30 +01:00
Xavier J
3ccb5af4d3
Fix admin connexion spec
2017-01-03 11:55:45 +01:00
Xavier J
e051dc371e
Fix admin procedure creation spec
2017-01-03 11:54:22 +01:00
JC
97617f6c5d
Fixing feature test for users dossier_index
2017-01-03 11:51:08 +01:00
JC
2f5584d097
Fixing feature test for backoffice connection
2017-01-03 11:40:47 +01:00
Xavier J
5faa197e3b
Fix back office controller spec
2017-01-03 11:38:39 +01:00
Xavier J
0706d59793
Fix admin procedure controller spec
2017-01-03 11:37:26 +01:00
Xavier J
21f58c0725
Fix notification Mailer tests
2017-01-03 11:36:08 +01:00
Xavier J
f7c11218db
Fix demo controller connexion spec Gestionnaire
2017-01-03 11:35:14 +01:00
Xavier J
f9759d9368
Fix demo controller connexion spec
2017-01-03 11:34:29 +01:00
Xavier J
2750319f77
Fix some tests
2017-01-03 11:32:21 +01:00
JC
d9b59eb70c
Forget an 'save_and_open_page' from launchy gem, that openned page during feature tests
2017-01-02 10:53:13 +01:00
Xavier J
a6dc2bab15
Merge branch 'notifications' into develop
2017-01-02 09:46:16 +01:00
JC
0d45b06ffb
Changing click for tigger(click)
2016-12-27 17:29:14 +01:00
Xavier J
12edb06a02
Merge branch 'notifications' into develop
2016-12-27 16:03:33 +01:00
Xavier J
e7b7652388
Fix some tests
2016-12-27 15:50:45 +01:00
Xavier J
c01132c788
Delete old attr in database
2016-12-27 11:57:34 +01:00
Xavier J
4d765d3b46
Past all notification to read when gestionnaire is on back office dossier show
2016-12-27 11:23:19 +01:00
Xavier J
2e13cb6818
Get gestionnaire unread notifications for his follows files
2016-12-27 10:57:21 +01:00
Xavier J
ce5bf8d622
Initialize fonction « unread_notifications » in DossierListFacade
2016-12-27 10:47:23 +01:00
Xavier J
4e6adf5bc3
Fix some tests
2016-12-26 18:37:27 +01:00
Xavier J
153c472ef6
Add notifications into procedure list on back office report
2016-12-26 17:25:59 +01:00
Xavier J
9a0a391c40
Exclude notification for dossier state draft and for accompagnateur comments
2016-12-26 14:38:00 +01:00
JC
a727c5146f
Cannot have the right feature test about invites, both side User and Gestionnaire
2016-12-26 14:16:08 +01:00
Xavier J
33362d1a52
Add notification for submitted state
2016-12-26 11:57:08 +01:00
Xavier J
e5768b6798
Add notification for piece justificative
2016-12-26 11:42:02 +01:00
Xavier J
6ed91073c4
Add notification for cerfa
2016-12-26 11:33:12 +01:00
JC
4c9c898a69
Feature test about clonning procedures
2016-12-26 10:56:57 +01:00
Xavier J
263d85ccee
Merge branch 'develop' into notifications
...
# Conflicts:
# app/views/backoffice/dossiers/_list.html.haml
2016-12-26 10:53:05 +01:00
JC
2908460c16
Feature test for gestionnaire, index and show (only filtering not tested)
2016-12-23 14:46:50 +01:00
Xavier J
54fbe367c0
Add notifications when user post a comment
2016-12-22 20:40:23 +01:00
Xavier J
a681564b39
Add notification table and model
2016-12-21 17:26:31 +01:00
Xavier J
78bba67995
Fix bug who does not saved Individual information
2016-12-21 15:39:41 +01:00
Xavier J
decde2ee6c
Fix bug publish procedure with same path
2016-12-21 11:00:05 +01:00
JC
646fc37daf
Adding feature tests for Accompagnateur, continue on page features, then on dossier show
2016-12-20 17:26:54 +01:00
Xavier J
90804c8a33
Add tests for individual information saving but TEST FAILED
2016-12-20 17:02:36 +01:00
Xavier J
927d977541
Add tests and validator for individual model.
2016-12-20 17:01:16 +01:00
Xavier J
e258118825
Reactive cartographie
2016-12-20 14:48:09 +01:00
Xavier J
db10c4023e
Fix tests dossier creation for user
2016-12-20 12:37:22 +01:00
Xavier J
83444ab54c
Catch error 500 for quartier prioritaire
2016-12-20 12:27:53 +01:00
JC
39a023b3e2
Features tests about user: index of dossiers, sorting and using pagination
2016-12-20 11:58:29 +01:00
Xavier J
d67d32e3c2
Fix bug get_position when établissement is nil
2016-12-20 11:35:16 +01:00
Xavier J
addeaab744
Review UI procedure construction for Administrateur
2016-12-19 19:07:57 +01:00
JC
04a8632bda
Merge branch 'develop_v2' into develop
2016-12-19 17:17:10 +01:00
JC
691f061828
Features tests about user: create and edit dossier
2016-12-19 17:16:07 +01:00
Xavier J
f1ae1d8dea
Change render « show » by redirect_to backoffice_dossier_path(id) in dossier controller POST action
2016-12-19 17:11:26 +01:00
Xavier J
d7569f3cb2
Add tests for file size validator
2016-12-19 15:43:55 +01:00
Xavier J
2fccbbf4f0
Delete un-use code
2016-12-19 15:08:00 +01:00
Xavier J
2f9444ea14
MAJ spec_helper
2016-12-19 12:04:04 +01:00
Xavier J
5ee455a36f
Add real tests for search controller
2016-12-16 17:51:07 +01:00
Xavier J
5b8f0304f9
Add tests for Carto Geocodeur
2016-12-16 17:28:50 +01:00
Xavier J
ee82e7fa8a
Add ProcedureController tests
2016-12-16 17:15:13 +01:00
Xavier J
24e0768961
Add tests for invites controller
2016-12-16 15:34:49 +01:00
Xavier J
7c20d1e9a0
Add tests for SearchController
2016-12-16 15:18:34 +01:00
Xavier J
f627957869
Add ChampDecorator tests
2016-12-16 14:40:20 +01:00
Xavier J
e85cb4c24b
Delete features unified_login
2016-12-16 14:39:17 +01:00
Xavier J
d9dfff3b6a
Refacto invite dossier facades
2016-12-16 14:09:05 +01:00
Xavier J
2aebf9933c
Add tests for demo devise sessions
2016-12-16 10:59:16 +01:00
Xavier J
f21f151c9c
Add test for GeoAPI driver lib
2016-12-16 10:42:34 +01:00
Xavier J
0aedeba125
Add QuartierPrioritaire test
2016-12-16 10:15:29 +01:00
Xavier J
21dc35215e
Add test for DropDownList model
2016-12-16 10:07:40 +01:00
Xavier J
2ac0d2241f
Fix dossier and invite dossier tests
2016-12-16 09:56:41 +01:00
Xavier J
fb16d4582d
Delete un-user code in DossierDecorator
2016-12-16 09:43:59 +01:00
Xavier J
02ec901777
Add CommentaireDecorator test
2016-12-16 09:38:43 +01:00
Xavier J
a6ff698cf8
Base uploader tests
2016-12-16 09:25:19 +01:00
Xavier J
b03b02371f
Add clamav tests
2016-12-16 09:12:16 +01:00
Xavier J
ea5ef257b8
Add tests for remote downloader
2016-12-15 17:59:25 +01:00
Xavier J
14df85d16d
Change require for notification mailer spec
2016-12-15 17:59:01 +01:00
Xavier J
3dc26bd9aa
Add InviteDossierFacade tests
2016-12-15 17:58:40 +01:00
Xavier J
067097825f
Add Github tests
2016-12-15 16:48:39 +01:00
Xavier J
0f2013f002
Add tests for ProceduresDecorator
2016-12-15 16:27:47 +01:00
Xavier J
5e950c1a5f
Add tests for FranceConnectInformationDecorator
2016-12-15 15:38:32 +01:00
Xavier J
73261a34c0
Add PingController tests
2016-12-15 15:31:05 +01:00
Xavier J
502f41657b
Add DemoController tests
2016-12-15 15:28:35 +01:00
Xavier J
71bd708ffd
CGU test
2016-12-15 15:19:28 +01:00