Frederic Merizen
|
b603af1ec7
|
[#1110] Simplification: directly use symbols
|
2018-01-04 16:20:08 +01:00 |
|
Mathieu Magnin
|
7c0fdbc9f8
|
[Fix #1096] Github Oauth
|
2017-12-22 11:10:24 +01:00 |
|
Simon Lehericey
|
40b9a77395
|
Dossier: replace nouveau scope by en_construction
|
2017-12-15 17:37:30 +01:00 |
|
Simon Lehericey
|
4be6cb9126
|
Dossier: delete state_nouveaux which is similar to en_construction
|
2017-12-15 17:37:30 +01:00 |
|
LeSim
|
7cc69de543
|
Dossier: remove useless state methods and const
|
2017-12-15 17:37:30 +01:00 |
|
Simon Lehericey
|
9c354e18eb
|
[fix 363] Dossier: remove next_step!
|
2017-12-15 15:43:30 +01:00 |
|
Simon Lehericey
|
e78f5b3a2d
|
[fix 363] Dossier: remove next_step! role var
|
2017-12-15 15:43:30 +01:00 |
|
Simon Lehericey
|
201862d450
|
[fix 363] Dossier: remove next_step! action = initiate, role = user
|
2017-12-15 15:43:30 +01:00 |
|
Simon Lehericey
|
907db89371
|
[fix 363] Dossier: remove next_step! action = follow
|
2017-12-15 15:43:30 +01:00 |
|
Simon Lehericey
|
11c010859c
|
[fix 363] Dossier: remove next_step! action = update
|
2017-12-15 15:43:30 +01:00 |
|
Simon Lehericey
|
629cccbf27
|
[fix 363] Dossier: remove next_step! action = comment
|
2017-12-15 15:43:30 +01:00 |
|
Simon Lehericey
|
c83552f423
|
[fix #504] Dossier: without_continuation -> sans_suite
|
2017-12-15 12:10:54 +01:00 |
|
Simon Lehericey
|
2be9b8d2ba
|
[fix #504] Dossier: refused -> refuse
|
2017-12-15 12:10:54 +01:00 |
|
Simon Lehericey
|
a13256f73d
|
[fix #504] Dossier: closed -> accepte
|
2017-12-15 12:10:54 +01:00 |
|
LeSim
|
3dda27b281
|
[fix #504] Dossier: received -> en_instruction
|
2017-12-15 12:10:54 +01:00 |
|
Simon Lehericey
|
72bae2c374
|
[fix #504] Dossier: draft -> brouillon
|
2017-12-15 11:52:09 +01:00 |
|
LeSim
|
56545933a9
|
[fix #504] Dossier: initiated -> en_construction
The change must not impact the api
|
2017-12-15 11:52:09 +01:00 |
|
Frederic Merizen
|
94f1a1fa0c
|
[Fix #866] Allow use of non-breaking spaces in balise in attestation template
|
2017-12-14 17:22:21 +00:00 |
|
Mathieu Magnin
|
c6be745067
|
[Fix #1016] display notifications for champs publics
|
2017-12-14 13:57:15 +01:00 |
|
gregoirenovel
|
e26911a47a
|
An Etablissement’s libelle is its Libellé NAF, not its name
|
2017-12-07 16:26:59 +01:00 |
|
Simon Lehericey
|
e2bbd2a37a
|
[fix #992] export: dossiers are order by initiated_at
|
2017-12-01 13:45:53 +01:00 |
|
Mathieu Magnin
|
53bb7b07da
|
[Fix #775] If champ type is a multiple drop down list then display it properly
|
2017-12-01 12:23:19 +01:00 |
|
gregoirenovel
|
731e1b6787
|
[Fix #164] Make the organisme field mandatory
|
2017-11-29 10:36:22 +01:00 |
|
Mathieu Magnin
|
150ff5e7ca
|
New UI : Use RemoteDownloader class to hide ovh url
|
2017-11-28 15:07:10 +01:00 |
|
Mathieu Magnin
|
4d12aa222c
|
Validate body is present
|
2017-11-28 15:07:10 +01:00 |
|
Mathieu Magnin
|
6c39aba978
|
Validates commentaire file size
|
2017-11-28 15:07:10 +01:00 |
|
Mathieu Magnin
|
76cb54988d
|
Validate virus free with Clamav
|
2017-11-28 15:07:10 +01:00 |
|
Mathieu Magnin
|
5775901868
|
Add commentaire file uploader
|
2017-11-28 15:07:09 +01:00 |
|
Simon Lehericey
|
28a047a64b
|
[Fix #508]Api GeoJson: export dossier.json_latlngs to geojson
|
2017-11-28 14:41:08 +01:00 |
|
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 |
|
Mathieu Magnin
|
7bfafb6fc2
|
Fix export for yes_no champs
|
2017-11-21 10:36:24 +01:00 |
|
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
|
909ecf2142
|
Notification: add timestamp to champs, pieces jusitificatives and follows
|
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
|
f0373f6bc2
|
Dossier: remove useless return
|
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
|
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 |
|
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 |
|
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 |
|
Mathieu Magnin
|
17ce3885fd
|
Force commentaire order to avoid tests to fail randomly
|
2017-10-06 11:04:09 +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
|
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 |
|
gregoirenovel
|
7036f9778b
|
Add ProcedurePresentation
|
2017-10-02 17:03:30 +02:00 |
|
Simon Lehericey
|
2b760c85c4
|
[Fix #763] Add annotations_privees to buggy annotation system
|
2017-09-27 15:08:34 +02:00 |
|
Simon Lehericey
|
f2e1480c73
|
Notifications: add annotations_privees
|
2017-09-27 12:16:33 +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 |
|
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
|
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
|
3e93d21bf5
|
Procedure Index: add notification icon
|
2017-09-06 11:11:47 +02:00 |
|
Simon Lehericey
|
faf2d2814b
|
Champ: fix indentation
|
2017-09-06 11:11:40 +02:00 |
|
Simon Lehericey
|
3e5d0dce6a
|
NewDesign: can add annotations
|
2017-09-06 11:11:37 +02:00 |
|
Simon Lehericey
|
d4bbcdf682
|
Champ: add before save logic to serialize datetime and dropdownlist fields
|
2017-09-06 11:11:35 +02:00 |
|
Simon Lehericey
|
74c71a3776
|
Form: use rails form helper
|
2017-09-06 11:11:34 +02:00 |
|
Simon Lehericey
|
9c2e71afa3
|
Form: add various champs html and style
|
2017-09-06 11:11:29 +02:00 |
|
gregoirenovel
|
7ff7710803
|
A gestionnaire can only see procédures publiées
|
2017-09-06 11:11:26 +02:00 |
|
Simon Lehericey
|
0d27ca3bca
|
Commentaire: use scope to order commentaires association
|
2017-09-06 11:11:25 +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
|
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
|
a7b00ee847
|
Rubocop: enable Layout/SpaceAroundOperators
|
2017-08-28 13:39:13 +02:00 |
|
Simon Lehericey
|
62f1b9c712
|
Rubocop: enable indentation width rule
|
2017-08-28 12:20:58 +02:00 |
|
Mathieu Magnin
|
dd1fea78ac
|
[Fix #658] when dossier linked to avis is hidden, do not crash application
|
2017-08-28 10:11:50 +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 |
|
Mathieu Magnin
|
539fc682a0
|
Format date to iso with dedicated method
|
2017-08-01 16:47:44 +02:00 |
|
Mathieu Magnin
|
03fde0a502
|
[FIX #589] Force birthdate format when saving
|
2017-08-01 16:47:43 +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 |
|
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
|
1c1a47d83a
|
publiee_ou_archivee -> publiees_ou_archivees
|
2017-07-17 15:06:36 +02:00 |
|
gregoirenovel
|
32e0fa9f69
|
Add Procedure#publiee_ou_archivee?
|
2017-07-13 17:01:39 +02:00 |
|
gregoirenovel
|
2b7a148540
|
Remove Procedure#published?
|
2017-07-13 17:01:38 +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
|
07d390db09
|
Remove comments that were wrong
Having a foo_at column automatically generates the
#foo_at? method, not the #foo? method
|
2017-07-13 14:46:09 +02:00 |
|
gregoirenovel
|
c43f3fa415
|
Improve the formatting of the Procedure scopes
|
2017-07-13 14:46:09 +02:00 |
|
gregoirenovel
|
2f4f10683f
|
Delete now unused scopes on Procedure
|
2017-07-13 14:46:09 +02:00 |
|
gregoirenovel
|
75aebe4f07
|
Add the archivees scope on Procedure
|
2017-07-13 14:46:09 +02:00 |
|
gregoirenovel
|
89feb6cdf7
|
Add the brouillons scope on Procedure
|
2017-07-13 14:46:08 +02:00 |
|
gregoirenovel
|
fc2540649f
|
Add the publiees scope on Procedure
|
2017-07-13 14:46:07 +02:00 |
|
gregoirenovel
|
ab9cf1c351
|
Rename the published scope on Procedure
|
2017-07-13 14:40:41 +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 |
|
gregoirenovel
|
6a381caaee
|
Add the archived scope to Procedure
|
2017-07-10 17:24:53 +02:00 |
|
gregoirenovel
|
31b23ac74e
|
Add the not_published Procedure scope
|
2017-07-10 17:24:39 +02:00 |
|
gregoirenovel
|
3a602b05a4
|
Use the archived and not_archived Dossier scopes
|
2017-07-10 16:54:02 +02:00 |
|
gregoirenovel
|
f480f26bd4
|
Use the state_not_brouillon Dossier scope
|
2017-07-10 16:54:02 +02:00 |
|
gregoirenovel
|
09d596eec1
|
Remove a useless call to all
|
2017-07-10 16:54:02 +02:00 |
|
gregoirenovel
|
5f50f76341
|
Add the published scope en Procedure
|
2017-07-10 16:54:01 +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 |
|
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 |
|
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 |
|
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
|
b443b5cefd
|
[Fix #196] Dossier: add Attestation
|
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
|
0120995533
|
[Fix #197] Add the TAG_MOTIVATION email tag
|
2017-06-13 15:14:50 +02:00 |
|
gregoirenovel
|
b58c02180c
|
[Fix #197] Allow a gestionnaire to add a motivation
|
2017-06-13 15:14:50 +02:00 |
|
gregoirenovel
|
f1d66e40c3
|
Enable the Layout/EmptyLinesAroundModuleBody cop
|
2017-06-13 10:35:34 +02:00 |
|
gregoirenovel
|
82eb66cfe8
|
Enable the Layout/EmptyLinesAroundMethodBody cop
|
2017-06-13 10:35:33 +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
|
9439e1abb1
|
Enable the Layout/AlignParameters cop
|
2017-06-13 10:35:16 +02:00 |
|
gregoirenovel
|
50fad54538
|
Enable the Layout/AlignArray cop
|
2017-06-13 10:35:15 +02:00 |
|
gregoirenovel
|
3f44b963c8
|
Fix the wording of the initiated email’s subject
|
2017-06-12 16:17:07 +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
|
107c322062
|
[Fix #323] Refactor received dossier notification: use a callback
|
2017-06-08 15:06:01 +02:00 |
|