Simon Lehericey
|
e28b18d978
|
Dossier: add statut method
|
2017-11-23 09:34:18 +01:00 |
|
Simon Lehericey
|
a71574b8dd
|
[fix #445]: add title to pages
|
2017-11-21 17:47:27 +01:00 |
|
Simon Lehericey
|
155a5f7826
|
Notification: add methods to retrieve notifications
|
2017-11-10 16:29:44 +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
|
f0373f6bc2
|
Dossier: remove useless return
|
2017-10-30 17:14:31 +01:00 |
|
Mathieu Magnin
|
a8ec374252
|
[Fix #813] When a brouillon is created, send an email to user
|
2017-10-20 12:13:55 +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 |
|
Mathieu Magnin
|
0f945e2fea
|
Simplify mailer parameters to be serializable (even if mail_template.id is nil)
|
2017-10-13 21:27:17 +02:00 |
|
Mathieu Magnin
|
3ba5de88b6
|
[Fix #839] Send notification email in async to avoid sending same email to different users
|
2017-10-13 17:41:02 +02:00 |
|
gregoirenovel
|
fd08bb8c57
|
Eager-load data for downloadable dossiers
So that the export is faster
|
2017-10-11 12:38:00 +02:00 |
|
gregoirenovel
|
3df9356021
|
Add field sort to the dossiers table
|
2017-10-02 17:45:22 +02:00 |
|
gregoirenovel
|
88ad986143
|
Remove the ordering from the dossier scopes
|
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 |
|
Simon Lehericey
|
2b760c85c4
|
[Fix #763] Add annotations_privees to buggy annotation system
|
2017-09-27 15:08:34 +02:00 |
|
Simon Lehericey
|
04d1e0f0e8
|
Notification: instruction -> avis
|
2017-09-27 12:16:33 +02:00 |
|
Simon Lehericey
|
fb5472d3f6
|
Dossier: remove a_instruire scope
As it s a duplication of en_instruction
|
2017-09-26 14:42:54 +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
|
030a11d98c
|
[Fix #503] Dossier: remove unused ouvert state
|
2017-09-26 14:42:54 +02:00 |
|
Simon Lehericey
|
73357c5144
|
[Fix #503] Dossier: Remove waiting for gestionnaire scope
|
2017-09-26 14:42:54 +02:00 |
|
Simon Lehericey
|
460cd3e237
|
[Fix #503] Dossier: Remove waiting for user scope
|
2017-09-26 14:42:54 +02:00 |
|
Simon Lehericey
|
fdbf34f04b
|
Avis instruction: only authorized avis
|
2017-09-20 15:42:26 +02:00 |
|
Simon Lehericey
|
a298c48e8f
|
Dossier: add notification icon
|
2017-09-06 11:13:50 +02:00 |
|
Simon Lehericey
|
fbd16b8c75
|
Procedure show: add notification icon
|
2017-09-06 11:11:47 +02:00 |
|
Simon Lehericey
|
3e5d0dce6a
|
NewDesign: can add annotations
|
2017-09-06 11:11:37 +02:00 |
|
Simon Lehericey
|
74c71a3776
|
Form: use rails form helper
|
2017-09-06 11:11:34 +02:00 |
|
Simon Lehericey
|
0d3c145ef3
|
NewDesign: procedure show add dossier actions
|
2017-09-06 11:11:12 +02:00 |
|
Simon Lehericey
|
013f2463d1
|
NewDesign: procedure show add dossier status
|
2017-09-06 11:11:12 +02:00 |
|
Simon Lehericey
|
b48af51ee9
|
NewDesign: procedure show only header
|
2017-09-06 11:11:11 +02:00 |
|
Simon Lehericey
|
5737ebd090
|
Dossier: workaround preview bug linked to champs with dossier.id == 0
|
2017-08-29 16:30:34 +02:00 |
|
gregoirenovel
|
79eccb2de0
|
Add a method to speed up a conditional statement
|
2017-08-29 14:57:23 +02:00 |
|
gregoirenovel
|
0a8ac645d8
|
Shave some requests in build_default_champs
|
2017-08-29 14:22:14 +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
|
5ec0e2ed18
|
Dossier: remove unused ordered_commentaires
as commentaires are sorted on the view _messagerie.haml.html
dossier_facade.commentaires.object.sort
|
2017-07-20 11:03:10 +02:00 |
|
Mathieu Magnin
|
b0c0477622
|
[Fix #315] Order champs by procedure order in export
|
2017-07-19 16:31:30 +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 |
|
Mathieu Magnin
|
be3304f71e
|
Add a scope to Dossier to check if procedure is not hidden
|
2017-07-04 14:34:16 +02:00 |
|
gregoirenovel
|
556359cd05
|
[Fix #318] Add annotations privées to exported files
|
2017-06-27 14:27:02 +02:00 |
|
Simon Lehericey
|
602527a09d
|
[Fix #196] Attestation: building logic from template
|
2017-06-16 12:11:09 +02:00 |
|
Simon Lehericey
|
b443b5cefd
|
[Fix #196] Dossier: add Attestation
|
2017-06-16 12:11:09 +02:00 |
|
gregoirenovel
|
b58c02180c
|
[Fix #197] Allow a gestionnaire to add a motivation
|
2017-06-13 15:14:50 +02:00 |
|
gregoirenovel
|
107c322062
|
[Fix #323] Refactor received dossier notification: use a callback
|
2017-06-08 15:06:01 +02:00 |
|
gregoirenovel
|
d5023a3d38
|
Use the same order for constants and scopes in Dossier
|
2017-06-01 11:08:26 +02:00 |
|
gregoirenovel
|
0971ede57e
|
Add a termine scope to Dossier
|
2017-06-01 11:08:00 +02:00 |
|
gregoirenovel
|
68da2ecbae
|
Use symbols instead of strings in for the order arg in scopes
|
2017-06-01 11:07:30 +02:00 |
|
gregoirenovel
|
8fb6a41386
|
Remove an unused argument in some Dossier scopes
|
2017-06-01 11:07:04 +02:00 |
|
gregoirenovel
|
e0a3a48f76
|
Improve the formatting of Dossier scopes
|
2017-06-01 11:05:51 +02:00 |
|
gregoirenovel
|
ddac4bbfdb
|
Change the order in the all_state scope for consistency
|
2017-06-01 10:58:09 +02:00 |
|
gregoirenovel
|
7055aec634
|
Add some more state scopes and use them
|
2017-06-01 10:58:09 +02:00 |
|
gregoirenovel
|
9c2c0346b6
|
[Fix #125] Transform some Dossier class methods into scopes
|
2017-06-01 10:58:08 +02:00 |
|
gregoirenovel
|
ab1c19c09b
|
Rename some Dossier scopes
|
2017-06-01 10:58:08 +02:00 |
|
gregoirenovel
|
51dd6df1c0
|
Improve the formatting of the Dossier state enum
|
2017-06-01 10:58:08 +02:00 |
|
gregoirenovel
|
1816aef7d0
|
Group the Dossier scopes and move them at the top
|
2017-06-01 10:58:07 +02:00 |
|
gregoirenovel
|
6731f28e23
|
Move the state constants below the state enum
|
2017-06-01 10:58:07 +02:00 |
|
gregoirenovel
|
4655707eb5
|
[Fix #319] Include archived dossiers in the export
|
2017-05-30 15:41:35 +02:00 |
|
gregoirenovel
|
5253f07b69
|
Use the order_by_updated_at scope in Dossier
|
2017-05-30 15:41:35 +02:00 |
|
gregoirenovel
|
7eed44d430
|
Use the not_archived scope in Dossier
|
2017-05-30 15:41:35 +02:00 |
|
gregoirenovel
|
f2fe06e86f
|
Add the not_brouillon scope on Dossier
|
2017-05-30 15:41:35 +02:00 |
|
Mathieu Magnin
|
72494de76f
|
Create new model Avis
|
2017-05-29 11:44:28 +02:00 |
|
Simon Lehericey
|
cebb197994
|
Fix #171 : add localtime to a bunch of date
|
2017-05-11 15:10:49 +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 |
|
gregoirenovel
|
f5c5ad532d
|
Add Dossier#text_summary
|
2017-04-26 15:59:17 +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
|
822c7cdd96
|
Add human version translation for state
|
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 |
|
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 |
|
gregoirenovel
|
b00eb914da
|
Use case statements instead of if statements where appropriated
|
2017-04-19 11:57:49 +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
|
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 |
|
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 |
|
Mathieu Magnin
|
24d17dc0f3
|
Sidekiq worker to archive procedures automatically + tests
|
2017-03-15 12:40:59 +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 |
|
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
|
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 |
|
Mathieu Magnin
|
6774dd008f
|
List dossiers archived
|
2017-02-27 17:44:08 +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
|
99248a75a0
|
Add accompagnateurs emails in export
|
2017-01-26 17:54:04 +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 |
|
JC
|
ac85392454
|
Css for index dossier count, using method in dossier model to get unreaded notification count
|
2017-01-02 16:45:03 +01:00 |
|
Xavier J
|
33362d1a52
|
Add notification for submitted state
|
2016-12-26 11:57:08 +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
|
80c9165f08
|
Delete death code Model/Dossier
|
2016-12-19 16:02:35 +01:00 |
|
Xavier J
|
907ac0f56c
|
Delete death code
|
2016-12-19 15:55:11 +01:00 |
|
Xavier J
|
d1bb453d0d
|
Remove state :draft in all state list
|
2016-12-01 19:18:15 +01:00 |
|
JC
|
0ac3c5fc86
|
Merging develop branch updated
|
2016-11-15 10:46:33 +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
|
5aa9c75669
|
Ordering champs through export method, not through serializer
|
2016-11-14 16:37:58 +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 |
|
Xavier J
|
ec4b634f8a
|
Change onglet presentation for gestionnaire.
|
2016-11-10 15:57:14 +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
|
c01e3987f6
|
Using serializer to get procedure.dossier from controller
|
2016-11-09 15:36:18 +01:00 |
|
JC
|
2056605135
|
Working with procedure types_de_champ ordered by id ASC -> building bunch of 'extra' data to default data values... when value is set (obvious)
|
2016-11-09 10:49:37 +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 |
|
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 |
|
JC
|
fa767ad56f
|
Config using default Serializers to generate both CSV and XLSX files from Dossier records, problem with ODS in gem -> github issue openned
|
2016-11-07 17:23:58 +01:00 |
|
Julien Portalier
|
f9a5e5c5ff
|
Drop textacular (to enable prefix matching) + disable materialized view (for the time being) + specs
|
2016-11-04 15:38:34 +01:00 |
|
Xavier J
|
740b3650aa
|
Restore select procedure for gestionnaire (opensimplif)
|
2016-10-24 16:00:03 +02:00 |
|
Xavier J
|
a7166d306f
|
Delete tab Nouveau A traiter and En cours d'étude for User and replace this only one call En construction
|
2016-10-19 17:25:24 +02:00 |
|
Xavier J
|
177295f6e4
|
Fix bug download CSV
|
2016-10-07 15:34:10 +02:00 |
|
Xavier J
|
8409b660cf
|
Ordered piece justificative
|
2016-10-07 15:16:03 +02:00 |
|
Xavier J
|
ac971a805e
|
Adapt search function at the PreferenceListDossier table
|
2016-10-07 14:58:45 +02:00 |
|
Xavier J
|
71de64e3ec
|
User can save a draft dossier who does not see by the accompagnateur
|
2016-10-05 16:45:51 +02:00 |
|
Xavier J
|
d78b64982b
|
Fix tests
|
2016-10-05 15:01:31 +02:00 |
|
Xavier J
|
8160d4d0df
|
User can be add siret when is procedure at the attribut individual and individual_with_siret
|
2016-10-05 14:28:10 +02:00 |
|
Xavier J
|
0c9fea1c14
|
User can invite other user to edit his dossier
|
2016-09-14 16:36:01 +02:00 |
|
Xavier J
|
0ac23f6d96
|
User can invite other User
|
2016-09-13 12:17:56 +02:00 |
|
Xavier J
|
c5035ca81e
|
When gestionnaire follow an initiated dossier, this paste his state at 'updated'
|
2016-09-09 15:55:03 +02:00 |
|
Xavier J
|
a69433e8de
|
User can be begin without SIRET
|
2016-08-30 11:18:43 +02:00 |
|
Guillaume Lazzara
|
09236f32aa
|
Add 'refuser' and 'classer sans suite' buttons
|
2016-08-25 17:46:26 +02:00 |
|
Guillaume Lazzara
|
0120ce2a32
|
Add an action to set a dossier as 'recu'.
|
2016-08-25 15:22:08 +02:00 |
|
Xavier J
|
5b0e01f117
|
delete filter procedure for gestionnaire
|
2016-08-22 16:36:25 +02:00 |
|
Xavier J
|
b661a2eb38
|
Updated test for new user status UI
|
2016-08-22 16:10:48 +02:00 |
|
Xavier J
|
6adfcac5bf
|
Add new state on User UI.
/!/ WARNING : No tests fix
|
2016-08-12 13:56:10 +02:00 |
|
Xavier J
|
1a92382259
|
- Add new status for a dossier : received, refused and without_continuation
- Add new and rename tabs on gestionnaire all dossiers view
/!\ WARNING : One test does not pasted. He will be corrected in the next commit
|
2016-08-11 15:27:35 +02:00 |
|
Xavier J
|
9487d47ef8
|
Add deposit date time on dossier table
|
2016-08-08 14:12:16 +02:00 |
|
Xavier J
|
480431ea01
|
Add on gestionnaire dossier view the private form
|
2016-08-08 12:52:30 +02:00 |
|
Xavier J
|
a37320bae9
|
Add lateral panel to configure dossier list in back office
|
2016-08-01 18:10:32 +02:00 |
|
Xavier J
|
21a18a536f
|
Add total_commentaire in API Dossier and total_dossier on API Procedure
|
2016-07-22 15:06:30 +02:00 |
|
Xavier J
|
127c9bb138
|
Add total followers on dossier list and followers list on dossier page for gestionnaire
|
2016-07-19 16:44:26 +02:00 |
|
Xavier J
|
7d0bcfc35f
|
Delete utilisation of "nom_projet" attribut (no delete in database)
|
2016-07-19 16:10:50 +02:00 |
|
Xavier J
|
d26ae9539d
|
An accompagnateur can be mark a dossier follow by us
|
2016-07-18 18:24:29 +02:00 |
|
Xavier J
|
2fa10a43e5
|
Fix bug prévisualisation
|
2016-06-21 12:41:28 +02:00 |
|
Xavier J
|
cc8d2ef4ee
|
New UI and UX for the dossier initialization
|
2016-06-20 13:57:57 +02:00 |
|
Xavier J
|
866565495d
|
Delete default description in dossier
|
2016-06-13 12:03:05 +02:00 |
|
Guillaume Lazzara
|
f62c9ebec9
|
Remove carriage returns in address in CSV format only
|
2016-05-24 15:58:21 +02:00 |
|
Xavier J
|
6d5a3e6256
|
User and Guest can be upload new documents on our recapitulative dossier page.
|
2016-03-22 17:36:36 +01:00 |
|
Xavier J
|
bb79aca58a
|
Add historic for piece justificative
|
2016-03-17 14:50:10 +01:00 |
|
Xavier J
|
4b7e6426b3
|
Gestionnaire can have the history of cerfa updated on dossier show page
|
2016-03-16 15:34:35 +01:00 |
|
Xavier J
|
abfb6367d6
|
Active filter procedure on dossiers list backoffice
|
2016-03-14 16:49:12 +01:00 |
|
Guillaume Lazzara
|
bd5a39ff17
|
Add CSV output for Dossier API
|
2016-02-19 16:59:39 +01:00 |
|
Xavier J
|
e2a896d0b0
|
Gestionnaire can invite an email contact to participate at a dossier
|
2016-02-08 18:16:18 +01:00 |
|
Xavier J
|
d7dbd28507
|
fix test cerfa flag
|
2016-02-04 14:08:35 +01:00 |
|