Simon Lehericey
|
ed4e885e6f
|
Notification: new acknowledgment system
|
2017-11-10 16:29:45 +01:00 |
|
Simon Lehericey
|
155a5f7826
|
Notification: add methods to retrieve notifications
|
2017-11-10 16:29:44 +01:00 |
|
Simon Lehericey
|
f4a8ff31b9
|
Champ: export multiple_drop_down_list as a [].join(', ')
|
2017-10-30 17:14:31 +01:00 |
|
Simon Lehericey
|
b658f8c8dc
|
Champ: export yes_no champ with oui non
|
2017-10-30 17:14:31 +01:00 |
|
Simon Lehericey
|
338911d1a8
|
[fix #905] Champ: add for_export method which strips tag for textarea champ
|
2017-10-30 17:14:31 +01:00 |
|
Simon Lehericey
|
3f2419a2a3
|
Dossier: rename data_with_champs to to_sorted_values
|
2017-10-30 17:14:31 +01:00 |
|
Simon Lehericey
|
fc987a730d
|
[Fix #925] strip avis email input
|
2017-10-30 14:19:20 +01:00 |
|
Simon Lehericey
|
5f348df570
|
Dossier spec: remove forgotten focus
|
2017-10-27 10:48:29 +02:00 |
|
Simon Lehericey
|
8dedf6fdca
|
[fix #575] dossier updated_at is ... updated when children are updated
|
2017-10-24 18:12:25 +02:00 |
|
Mathieu Magnin
|
02c83766e5
|
[Fix #839] Fix mail template modification by side effect
|
2017-10-23 14:36:52 +02:00 |
|
Mathieu Magnin
|
a8ec374252
|
[Fix #813] When a brouillon is created, send an email to user
|
2017-10-20 12:13:55 +02:00 |
|
Simon Lehericey
|
3dce5b9b5e
|
AttestationTemplate: store logo and signature with uuid
|
2017-10-19 15:32:04 +02:00 |
|
Simon Lehericey
|
ea2827134e
|
[fix #850] Use UUID as a uniq identifier for the attestation
|
2017-10-19 15:02:01 +02:00 |
|
gregoirenovel
|
9ea396cc8b
|
Avoid loading the association for the without_followers scope
As seen in https://stackoverflow.com/questions/5319400/want-to-find-records-with-no-associated-records-in-rails-3
|
2017-10-17 14:10:34 +02:00 |
|
Simon Lehericey
|
5257d20ba0
|
[fix #845] Attestation: affiche les dates au format français
|
2017-10-16 18:54:19 +02:00 |
|
Mathieu Magnin
|
0f945e2fea
|
Simplify mailer parameters to be serializable (even if mail_template.id is nil)
|
2017-10-13 21:27:17 +02:00 |
|
Simon Lehericey
|
ffe131322e
|
Dossier: prove a hidden dossier is no more followed
|
2017-10-05 16:59:26 +02:00 |
|
Simon Lehericey
|
19b3416361
|
Gestionnaire: add unfollow method
|
2017-10-05 16:59:26 +02:00 |
|
gregoirenovel
|
a611cace5f
|
Do not allow to filter by explication fields
|
2017-10-05 14:46:09 +02:00 |
|
gregoirenovel
|
0705efde30
|
Add filtering to the dossiers table
|
2017-10-02 17:45:22 +02:00 |
|
gregoirenovel
|
3df9356021
|
Add field sort to the dossiers table
|
2017-10-02 17:45:22 +02:00 |
|
gregoirenovel
|
e1bdbec815
|
Allow the customization of the dossiers table
|
2017-10-02 17:45:22 +02:00 |
|
gregoirenovel
|
7036f9778b
|
Add ProcedurePresentation
|
2017-10-02 17:03:30 +02:00 |
|
Simon Lehericey
|
1cfeb10ce9
|
[Fix #503] Dossier: remove updated
|
2017-09-26 14:42:54 +02:00 |
|
Simon Lehericey
|
633b55aca0
|
[Fix #503] Dossier: remove replied
|
2017-09-26 14:42:54 +02:00 |
|
Simon Lehericey
|
fdbf34f04b
|
Avis instruction: only authorized avis
|
2017-09-20 15:42:26 +02:00 |
|
Mathieu Magnin
|
31995c270c
|
[Fix #721] If an avis is created with uppercase email, downcase it before save
|
2017-09-13 10:59:59 +02:00 |
|
Simon Lehericey
|
3e93d21bf5
|
Procedure Index: add notification icon
|
2017-09-06 11:11:47 +02:00 |
|
Simon Lehericey
|
d4bbcdf682
|
Champ: add before save logic to serialize datetime and dropdownlist fields
|
2017-09-06 11:11:35 +02:00 |
|
gregoirenovel
|
7ff7710803
|
A gestionnaire can only see procédures publiées
|
2017-09-06 11:11:26 +02:00 |
|
gregoirenovel
|
55a4f1288f
|
Fix a gestionnaire test
|
2017-09-06 11:11:26 +02:00 |
|
Simon Lehericey
|
95fbd1824a
|
Follow: remove old backoffice follow and toggle_follow
|
2017-09-06 11:11:22 +02:00 |
|
Simon Lehericey
|
e68f3332c1
|
Gestionnaire: add follow(dossier) method
|
2017-09-06 11:11:21 +02:00 |
|
Simon Lehericey
|
033f08524f
|
Gestionnaire: refactor follow?
|
2017-09-06 11:11:21 +02:00 |
|
Simon Lehericey
|
62f1b9c712
|
Rubocop: enable indentation width rule
|
2017-08-28 12:20:58 +02:00 |
|
Mathieu Magnin
|
931e547afa
|
[Fix #395] Export user email in csv
|
2017-08-25 12:01:52 +02:00 |
|
Simon Lehericey
|
d40eef284d
|
Dossier: fixup n+1 champ query
|
2017-08-03 13:02:13 +02:00 |
|
Simon Lehericey
|
1363999621
|
Dossier: fixup n+1 private champ query
|
2017-08-03 13:01:55 +02:00 |
|
Simon Lehericey
|
7016bdc49a
|
Avis: move assign_gestionnaire logic to avis model
|
2017-07-21 11:22:16 +02:00 |
|
Simon Lehericey
|
fe1b97b738
|
Avis: move notify_gestionnaire to private method
|
2017-07-21 11:19:18 +02:00 |
|
Mathieu Magnin
|
b0c0477622
|
[Fix #315] Order champs by procedure order in export
|
2017-07-19 16:31:30 +02:00 |
|
gregoirenovel
|
9666ed7d5d
|
Remove useless tests
|
2017-07-19 13:32:59 +02:00 |
|
Simon Lehericey
|
3a17c86a74
|
Follow: follow must be uniq
|
2017-07-18 15:12:10 +02:00 |
|
gregoirenovel
|
32e0fa9f69
|
Add Procedure#publiee_ou_archivee?
|
2017-07-13 17:01:39 +02:00 |
|
gregoirenovel
|
36bee67085
|
Add Procedure#brouillon?
|
2017-07-13 17:01:38 +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
|
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
|
e51e5afe55
|
Fix tests that often fail on circle ci when comparing datetimes
|
2017-07-04 17:17:14 +02:00 |
|
Mathieu Magnin
|
ce171208da
|
Fix redirect loop for gestionnaire if hidden procedure is saved in procedure_filter
|
2017-07-04 14:34:26 +02:00 |
|
Mathieu Magnin
|
be3304f71e
|
Add a scope to Dossier to check if procedure is not hidden
|
2017-07-04 14:34:16 +02:00 |
|
Mathieu Magnin
|
760efcdad3
|
Add hidden_at on procedure
|
2017-07-04 14:33:40 +02:00 |
|
gregoirenovel
|
6b90e0ccfa
|
[Ref #145] Record archived_at when archiving a procedure
|
2017-07-03 10:18:49 +02:00 |
|
gregoirenovel
|
53b94e0017
|
Remove tests that test nothing
|
2017-07-03 10:18:48 +02:00 |
|
Simon Lehericey
|
603e2dd020
|
ProcedureOverview: reboot model and layout
|
2017-06-29 16:07:46 +02:00 |
|
Simon Lehericey
|
ee415c4aa6
|
[FIX #509] add dossier id tag in attestation template
|
2017-06-28 10:59:14 +02:00 |
|
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
|
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
|
14823560a1
|
Expose the motivation on exported files
|
2017-06-19 15:01:14 +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
|
602527a09d
|
[Fix #196] Attestation: building logic from template
|
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
|
d248afc376
|
Enable the Layout/ExtraSpacing cop
|
2017-06-13 10:35:35 +02:00 |
|
gregoirenovel
|
f1907f4d0e
|
Enable the Layout/EmptyLinesAroundBlockBody cop
|
2017-06-13 10:35:23 +02:00 |
|
gregoirenovel
|
bc16027ccc
|
Enable the Layout/BlockEndNewline cop
|
2017-06-13 10:35:19 +02:00 |
|
Mathieu Magnin
|
b9522ce404
|
[Fix #376] Before save format champ date to ISO
|
2017-06-12 14:05:31 +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
|
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 |
|
gregoirenovel
|
4655707eb5
|
[Fix #319] Include archived dossiers in the export
|
2017-05-30 15:41:35 +02:00 |
|
Simon Lehericey
|
ae8b126594
|
ProcedureOverview: use procedure_url to link with absolute path in email
|
2017-05-30 15:03:51 +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
|
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
|
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
|
c3bf15d49f
|
Create and list Avis on Dossier detail page
|
2017-05-29 11:44:28 +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 |
|
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 |
|
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 |
|
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
|
6ef6a66c3f
|
Remove @facade_data_view from left_panel view
|
2017-04-26 16:55:22 +02:00 |
|
gregoirenovel
|
f5c5ad532d
|
Add Dossier#text_summary
|
2017-04-26 15:59:17 +02:00 |
|
Mathieu Magnin
|
887512c26c
|
Procedure path can contain dashes and can be longer
|
2017-04-21 16:32:48 +02:00 |
|
Mathieu Magnin
|
40d897f538
|
Add accompagnateurs emails in API
|
2017-04-21 14:51:35 +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
|
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 |
|
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 |
|
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 |
|
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
|
fa9bf2d398
|
Fix a test now that we use transaction instead of truncation
|
2017-04-10 16:17:34 +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 |
|
Mathieu Magnin
|
c2a27c6f6a
|
Merge branch 'develop' into auto_archive_on_date
|
2017-03-22 11:32:56 +01:00 |
|
Simon Lehericey
|
ebd2051337
|
multiple_select: fix decorateur interference
|
2017-03-16 09:09:15 +01:00 |
|
Simon Lehericey
|
657ce53a60
|
select_multiple: add multiple_drop_down_list type
|
2017-03-15 17:51:34 +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
|
9cd506e265
|
Clone mail_templates with procedure
|
2017-03-07 18:19:48 +01:00 |
|
LeSim
|
9764604430
|
Merge branch 'develop' into customize_submission_mail
|
2017-03-07 11:05:04 +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
|
c8f515832b
|
MailTemplate: add email and nom_organisation tag
|
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
|
c22c84f1f9
|
Procedure: add inititad_mail with default provider
|
2017-03-07 10:25:34 +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
|
8139f33db8
|
Fix test after deleting unused email template
|
2017-03-01 16:27:08 +01:00 |
|
Mathieu Magnin
|
210e0294e1
|
Rewrite tests and logic
|
2017-03-01 11:13:48 +01:00 |
|
Mathieu Magnin
|
d9f5603f05
|
Add state dates to dossier
|
2017-03-01 09:51:55 +01:00 |
|
Simon Lehericey
|
382b614095
|
Tests: feature flip tests that require postgres
|
2017-02-28 17:01:58 +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
|
85c07f8095
|
Quick & dirty fix
|
2017-02-16 18:05:42 +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
|
bc918446f2
|
Fix some tests
|
2017-02-10 12:48:49 +01:00 |
|
Mathieu Magnin
|
1bd66b6a9e
|
Add tests and lien_demarche in serialize
|
2017-02-07 18:12:25 +01:00 |
|
Mathieu Magnin
|
6444aa5be6
|
Use has_one instead of scope
|
2017-02-06 16:52:57 +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 |
|
Xavier J
|
b48726427d
|
Fix bug with procedure_filter loop redirections
|
2017-01-05 12:44:15 +01:00 |
|
Xavier J
|
e7b7652388
|
Fix some tests
|
2016-12-27 15:50:45 +01:00 |
|