gregoirenovel
|
ee145180a3
|
Add a piece_justificative_file attribute to Champ
|
2018-02-15 11:15:23 +01:00 |
|
gregoirenovel
|
7097cad51a
|
Add the “piece_justificative” type de champ
|
2018-02-15 11:14:03 +01:00 |
|
Paul Chavard
|
db42c0c0cf
|
Fix public and private champs scopes
|
2018-02-14 18:13:23 +01:00 |
|
Paul Chavard
|
31d638ae2a
|
Remove TypeDeChampPublic/TypeDeChampPrivate STI
|
2018-02-14 11:49:06 +01:00 |
|
Paul Chavard
|
b3e07d8504
|
Use in? in type_champ tests
|
2018-02-13 17:59:27 +01:00 |
|
Paul Chavard
|
f80a9466b9
|
Delegate mandatory? to type_de_champ
|
2018-02-13 14:56:55 +01:00 |
|
Paul Chavard
|
2e4ada98e6
|
Add private columns to Champ and TypeDeChamp
|
2018-02-13 12:35:03 +01:00 |
|
Paul Chavard
|
52749713ab
|
Remove ChampPublic/ChampPrivate STI
|
2018-02-13 12:07:13 +01:00 |
|
gregoirenovel
|
29d9b03672
|
Bump rails to 5.2.0.rc1
|
2018-02-07 16:18:42 +01:00 |
|
gregoirenovel
|
142241dd16
|
Remove notifications
|
2018-02-06 14:07:20 +01:00 |
|
gregoirenovel
|
2da724d681
|
Remove an unused Gestionnaire method and its tests
The tests would fail with rails 5.1
|
2018-01-30 16:56:49 +01:00 |
|
gregoirenovel
|
6afaf42e6a
|
The "through" relation used in a HasManyThrough must be declared first
|
2018-01-30 16:40:04 +01:00 |
|
gregoirenovel
|
25aef60354
|
Use string interpolation
|
2018-01-30 15:50:52 +01:00 |
|
gregoirenovel
|
5b62bc4f12
|
Use transform_keys when possible
|
2018-01-30 15:45:32 +01:00 |
|
gregoirenovel
|
db8c3030e3
|
Use transform_values when possible
|
2018-01-30 15:45:32 +01:00 |
|
gregoirenovel
|
b2fe1b856c
|
Use #sum instead of #inject when possible
|
2018-01-30 15:45:32 +01:00 |
|
Mathieu Magnin
|
50abb36c81
|
[Fix #1309] Format datetime before save
|
2018-01-30 13:49:16 +01:00 |
|
Paul Chavard
|
fdd6cedeb8
|
Remove data_provide and data_date_format attributes
|
2018-01-30 13:49:16 +01:00 |
|
Mathieu Magnin
|
469aca999b
|
Revert "Remove data_provide and data_date_format attributes"
This reverts commit 273b3f2faf .
|
2018-01-19 13:20:53 +01:00 |
|
Frederic Merizen
|
9b4ce1517c
|
Use lambda instead of send for etablissement tag
|
2018-01-18 18:35:07 +01:00 |
|
Frederic Merizen
|
8f41ab89cf
|
[#1203] Do not include champs privés in accusé de réception
|
2018-01-18 18:26:14 +01:00 |
|
Frederic Merizen
|
a21dee680d
|
[#1203] Define tags in constants rather than methods
|
2018-01-18 18:26:14 +01:00 |
|
Frederic Merizen
|
db5bf39e32
|
[#1203] No implicit available_for_states, make it explicit
|
2018-01-18 18:26:14 +01:00 |
|
Frederic Merizen
|
21ad13cf74
|
[#1203] Make all tags multi-line
|
2018-01-18 18:26:14 +01:00 |
|
Frederic Merizen
|
943fef3160
|
[#1203] Move all tag definitions to mail template concern
Even the one that is mail-specific, because it is too easy to overlook
it when refactoring otherwise
|
2018-01-18 18:26:14 +01:00 |
|
Frederic Merizen
|
eebab14954
|
[Fix #1203] No début d’instruction tag in accusé de réception mails
Doesn’t make sense functionnally
|
2018-01-18 18:26:14 +01:00 |
|
Frederic Merizen
|
9f7ffddb31
|
[#1203] Allow filtering tags based on an arbitray status
|
2018-01-18 18:26:14 +01:00 |
|
Paul Chavard
|
273b3f2faf
|
Remove data_provide and data_date_format attributes
|
2018-01-18 15:13:48 +01:00 |
|
gregoirenovel
|
813844f9db
|
Enable the Layout/TrailingWhitespace cop
|
2018-01-18 10:55:08 +01:00 |
|
gregoirenovel
|
d30ea70c08
|
Enable the Layout/SpaceInsideParens cop
|
2018-01-18 10:53:35 +01:00 |
|
gregoirenovel
|
b138dcd876
|
Enable the Layout/SpaceInsideHashLiteralBraces cop
|
2018-01-18 10:53:35 +01:00 |
|
gregoirenovel
|
897a30da0c
|
Enable the Layout/SpaceInsideBlockBraces cop
|
2018-01-18 10:53:34 +01:00 |
|
gregoirenovel
|
9ea1106503
|
Enable the Layout/SpaceInLambdaLiteral cop
|
2018-01-18 10:53:34 +01:00 |
|
gregoirenovel
|
3e93bd3615
|
Enable the Layout/SpaceBeforeComma cop
|
2018-01-18 10:53:34 +01:00 |
|
gregoirenovel
|
7c93b2a0c2
|
.map -> .pluck when possible
|
2018-01-16 13:23:29 +01:00 |
|
gregoirenovel
|
80ed589a17
|
Use string interpolation
|
2018-01-16 11:08:57 +01:00 |
|
gregoirenovel
|
83be054884
|
.map.flatten -> .flat_map
|
2018-01-16 11:08:56 +01:00 |
|
gregoirenovel
|
c3754a173f
|
Use map instead of inject
|
2018-01-16 11:08:56 +01:00 |
|
gregoirenovel
|
a050bc20de
|
Add a dossiers_from_avis relation to Gestionnaire
|
2018-01-16 11:01:52 +01:00 |
|
Paul Chavard
|
0cf40f4f18
|
Add invitation related methods to administrateur model
|
2018-01-16 10:49:07 +01:00 |
|
gregoirenovel
|
73dd58b6cd
|
Enable the Layout/MultilineMethodCallIndentation cop
|
2018-01-15 22:33:13 +01:00 |
|
gregoirenovel
|
14c1747645
|
Enable the Layout/MultilineArrayBraceLayout cop
|
2018-01-15 22:33:13 +01:00 |
|
gregoirenovel
|
345b892956
|
Enable the Layout/LeadingCommentSpace cop
|
2018-01-15 22:33:13 +01:00 |
|
gregoirenovel
|
1e71188d4d
|
Enable the Layout/IndentationConsistency cop
|
2018-01-15 22:33:13 +01:00 |
|
gregoirenovel
|
9e0e553f80
|
Enable the Layout/IndentArray cop
|
2018-01-15 22:33:12 +01:00 |
|
gregoirenovel
|
9f855afdfe
|
Enable the Layout/FirstHashElementLineBreak cop
|
2018-01-15 22:14:38 +01:00 |
|
gregoirenovel
|
08ed400ec2
|
Enable the Layout/FirstArrayElementLineBreak cop
|
2018-01-15 22:14:38 +01:00 |
|
simon lehericey
|
7024e14d1c
|
FC information: remove funny find_by
|
2018-01-15 17:14:12 +01:00 |
|
simon lehericey
|
f8519c5345
|
FC initializers: remove Hashie
|
2018-01-15 17:08:38 +01:00 |
|
simon lehericey
|
ec69be0f7b
|
FC ParticulierClient: simplier initializer
|
2018-01-15 17:00:26 +01:00 |
|
Simon Lehericey
|
0d46f92795
|
FC: move FC constants under particulier namespace
|
2018-01-15 16:59:50 +01:00 |
|
simon lehericey
|
4c2da46dd8
|
FC ParticulierClient: simplier initialize
|
2018-01-15 16:59:48 +01:00 |
|
gregoirenovel
|
1368cd4b03
|
[Fix #1120] Delete the old accompagnateur UI
|
2018-01-15 10:02:10 +01:00 |
|
gregoirenovel
|
bbaebe0602
|
!foo.nil? -> foo.present?
|
2018-01-12 11:32:43 +01:00 |
|
gregoirenovel
|
7c34807f46
|
Don’t use unless
|
2018-01-12 11:32:43 +01:00 |
|
gregoirenovel
|
608a8eaf67
|
Abstract the Procedure whitelisting
|
2018-01-10 17:58:10 +01:00 |
|
simon lehericey
|
53687bf84a
|
Whitelist: add whitelist button in admin
|
2018-01-10 17:18:44 +01:00 |
|
Frederic Merizen
|
56749769d6
|
[Fix #1186] Rename object to subject for mail templates
|
2018-01-09 16:00:31 +01:00 |
|
Frederic Merizen
|
7f040a5cf8
|
[Fix #1037] Add date tags to mail / attestation templates
- date de dépôt
- date de passage en instruction
|
2018-01-09 11:30:54 +01:00 |
|
Frederic Merizen
|
935a38bde0
|
[#1037] Introduce format-date function
|
2018-01-09 11:30:54 +01:00 |
|
gregoirenovel
|
093d853ecc
|
Fix some buggy error handling code in Admin::ProcedureController#clone
|
2018-01-09 11:05:19 +01:00 |
|
Frederic Merizen
|
63ca52792b
|
[#1110] Remove legacy tags
|
2018-01-09 10:39:10 +01:00 |
|
gregoirenovel
|
ec5b9c86ce
|
Add the admin argument to Procedure#clone
|
2018-01-08 14:55:07 +01:00 |
|
Frederic Merizen
|
75a3d0f3db
|
[#1110] use modern rather than legacy tags in default mail templates
|
2018-01-05 17:42:25 +01:00 |
|
Frederic Merizen
|
deea23139f
|
[#1110] Use TagsSubstitutionConcern as engine for mail template tags
|
2018-01-05 17:42:25 +01:00 |
|
Frederic Merizen
|
ab63f80080
|
[#1110] Motivation and date de décision are only tags for terminé dossiers
|
2018-01-05 16:35:29 +01:00 |
|
Frederic Merizen
|
e985439416
|
[#1110] Use tags method rather than ALLOWED_TAGS class constant
|
2018-01-05 12:48:07 +01:00 |
|
Frederic Merizen
|
b9a1f707f5
|
[#1110] name => libelle in mail templates
to match attestation templates
|
2018-01-05 12:48:07 +01:00 |
|
Frederic Merizen
|
8d77cd58c6
|
[#1110] Make linked procedure available to mail model
|
2018-01-05 12:48:07 +01:00 |
|
Frederic Merizen
|
ad0462f7ff
|
[#1110] Port libellé procédure tag from mail templates
|
2018-01-05 11:51:08 +01:00 |
|
Frederic Merizen
|
ee109b24e3
|
[#1110] Port date de décision tag from mail templates
|
2018-01-05 11:51:08 +01:00 |
|
Frederic Merizen
|
3dfc37826a
|
[#1110] Extract document template concern from attestation template class
|
2018-01-05 10:57:27 +01:00 |
|
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 |
|