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 |
|
Xavier J
|
c01132c788
|
Delete old attr in database
|
2016-12-27 11:57:34 +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
|
153c472ef6
|
Add notifications into procedure list on back office report
|
2016-12-26 17:25:59 +01:00 |
|
Xavier J
|
a681564b39
|
Add notification table and model
|
2016-12-21 17:26:31 +01:00 |
|
Xavier J
|
927d977541
|
Add tests and validator for individual model.
|
2016-12-20 17:01:16 +01:00 |
|
Xavier J
|
e85cb4c24b
|
Delete features unified_login
|
2016-12-16 14:39:17 +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
|
7cb2e80a3d
|
Sync credentials between user, gestionnaire and administrateur account
|
2016-12-07 17:24:01 +01:00 |
|
Xavier J
|
402459437d
|
Fix spec models
|
2016-12-01 18:07:51 +01:00 |
|
Xavier J
|
647eaa4ba8
|
Merge branch 'develop' into develop_v2
# Conflicts:
# Gemfile.lock
# db/schema.rb
|
2016-11-17 16:55:41 +01:00 |
|
Xavier J
|
d144047a50
|
Fix export data dossiers
|
2016-11-17 11:13:11 +01:00 |
|
Xavier J
|
b3b03a2449
|
Fix features tests
|
2016-11-15 11:01:58 +01:00 |
|
JC
|
0ac3c5fc86
|
Merging develop branch updated
|
2016-11-15 10:46:33 +01:00 |
|
JC
|
f1b177e0bb
|
Testing only primary dossier attributes for data_with_champs methods
|
2016-11-15 10:19:47 +01:00 |
|
Xavier J
|
a5a95abf06
|
Fix test for all Model
|
2016-11-14 18:36:09 +01:00 |
|
JC
|
a549f95da1
|
Continue test for data_with_champs
|
2016-11-14 17:43:34 +01:00 |
|
JC
|
2f96895bb8
|
Continue tests for data_with_champs method, and add a convert_specific_values_to_string for array
|
2016-11-14 17:25:17 +01:00 |
|
JC
|
5c3049d6bd
|
Manualy sort type_de_champ by order_place
|
2016-11-14 14:39:59 +01:00 |
|
JC
|
e49e0b02ef
|
Split methods for export, need to write 2 tests for headers and raw data (export_headers, data_with_champs)
|
2016-11-14 10:41:56 +01:00 |
|
JC
|
a89a40df34
|
Prevent call for headers writting (export with procedures), get filtered dossiers by using the 'yoloServiceRegexCraftedByHandMetaForAllProject' -> extra :), adding tests for generic methods, still need to test export_columns_and_procedure
|
2016-11-09 17:20:55 +01:00 |
|
JC
|
973570332f
|
Implemented custom method to catch procedure_id while rendering data on each request format
|
2016-11-09 09:19:57 +01:00 |
|
XjulI1
|
9b9e2be8d8
|
Merge pull request #4 from sgmap/postgresql-full-text-search-2
PostgreSQL full text search
|
2016-11-08 15:17:57 +01:00 |
|
JC
|
7b8b5e28e1
|
Adding tests, reading csv values for Dossier.to_csv, instead... checking String returned by to_ods, to_xlsx, checking encode and fields values for them would be overkill
|
2016-11-08 14:40:42 +01:00 |
|
JC
|
8dda0d3fb1
|
Okay... Add some conversion method to catch .ods write of number and boolean values -> as strings, passing on initial test for as_csv method
|
2016-11-08 11:48:36 +01:00 |
|