gregoirenovel
|
864bb38d8a
|
Add #for_api methods to CheckboxChamp and YesNoChamp
Otherwise, we return nil instead of “off” / “non”,
so we don’t expose the data properly
|
2019-01-08 12:32:27 +01:00 |
|
gregoirenovel
|
0846bad1c8
|
Mutualize code in methods
As done in YesNoChamp
|
2019-01-08 12:32:27 +01:00 |
|
gregoirenovel
|
866c74ce63
|
Add Champ#for_api
|
2019-01-08 12:32:27 +01:00 |
|
gregoirenovel
|
c00aac2f80
|
We can now replace processing in #formatted_value by #to_s calls
|
2019-01-08 12:32:26 +01:00 |
|
gregoirenovel
|
f27717ab23
|
Make the CheckboxChamp export similar to YesNoChamp
Previously, nil values would be returned as nil
and not as off
|
2019-01-08 12:32:26 +01:00 |
|
gregoirenovel
|
4a6930b60a
|
Remove from EngagementChamp a method it’s inheriting
|
2019-01-08 12:32:26 +01:00 |
|
gregoirenovel
|
66d1b7ba10
|
Use ternary conditions
|
2019-01-08 12:32:26 +01:00 |
|
gregoirenovel
|
9e42190148
|
Remove the proxy value_for_export method
Overload for_export instead
|
2019-01-08 12:32:26 +01:00 |
|
gregoirenovel
|
7cd50531cf
|
Remove the proxy string_value method
Overload to_s instead
|
2019-01-08 12:32:26 +01:00 |
|
gregoirenovel
|
9a2341c56c
|
Remove the useless #for_display proxy method
|
2019-01-08 12:32:26 +01:00 |
|
gregoirenovel
|
2e6c91e9b0
|
Move #selected_options to the only relevant model
|
2019-01-08 12:32:26 +01:00 |
|
gregoirenovel
|
c4b9a0b79e
|
Rename DropDownList#selected_options_without_decorator
|
2019-01-08 12:32:26 +01:00 |
|
simon lehericey
|
7b935a6486
|
login_token: lets constantize
|
2019-01-07 08:18:29 +01:00 |
|
gregoirenovel
|
5fa5f2aa37
|
Bump development gems
- rubocop (0.61.1 → 0.62.0)
|
2019-01-05 11:47:55 +01:00 |
|
Pierre de La Morinerie
|
d77530c461
|
Make Procedure state consistent after switching types de champ order
Fixes an issue where, after clicking the "move champ up" button,
the new form is rendered with an incoherent order.
|
2019-01-03 15:13:14 +01:00 |
|
gregoirenovel
|
b41764ec03
|
Remove ChampDecorator
|
2019-01-03 12:08:25 +01:00 |
|
gregoirenovel
|
0596d53ac2
|
Enable the Lint/UnusedBlockArgument cop
|
2019-01-03 10:53:50 +01:00 |
|
gregoirenovel
|
baf7977786
|
Enable the Lint/StringConversionInInterpolation cop
|
2019-01-03 10:53:50 +01:00 |
|
gregoirenovel
|
186e362701
|
Enable the Layout/SpaceInsideArrayLiteralBrackets
|
2019-01-03 10:53:50 +01:00 |
|
gregoirenovel
|
386fbce776
|
Enable the Layout/SpaceBeforeBlockBraces cop
|
2019-01-03 10:53:50 +01:00 |
|
gregoirenovel
|
8b0b8162f0
|
Enable the Layout/SpaceAfterComma cop
|
2019-01-03 10:53:50 +01:00 |
|
gregoirenovel
|
03eb47016c
|
Fix a gestionnaire sign in bug
|
2018-12-26 18:14:04 +01:00 |
|
Mathieu Magnin
|
b40c706d98
|
[Fix #3192] Clone service if procedure is transferred
|
2018-12-20 15:45:48 +01:00 |
|
Paul Chavard
|
eb9edc1cee
|
Order types de champ in scope
|
2018-12-20 14:14:15 +01:00 |
|
Frederic Merizen
|
2a758d0759
|
[Fix #3196] Convert YAML to JSON
|
2018-12-19 23:17:55 +01:00 |
|
Frederic Merizen
|
36d6a43084
|
[#3196] Make TypeDeChamp#options compatible with raw JSON
instead of YAML inside a JSON string.
We still need to support the YAML form until the data has been migrated
|
2018-12-19 18:43:56 +01:00 |
|
Paul Chavard
|
5d1c24f3d8
|
Add type de champ repetition models (with row)
|
2018-12-19 15:31:11 +01:00 |
|
gregoirenovel
|
df7e0a9881
|
Remove dead code
|
2018-12-19 14:59:15 +01:00 |
|
gregoirenovel
|
4b0e632abb
|
Enable the Style/ColonMethodCall cop
|
2018-12-19 13:56:10 +01:00 |
|
gregoirenovel
|
fba8d97256
|
Enable the Stlye/BlockDelimiters cop
|
2018-12-19 13:56:10 +01:00 |
|
Frederic Merizen
|
d1cfe4468d
|
Encourager la création de champs PJ plutôt que de vieilles PJS
|
2018-12-19 11:57:23 +01:00 |
|
gregoirenovel
|
129df93fb1
|
Add a blank line to ease readability
|
2018-12-18 22:49:27 +01:00 |
|
gregoirenovel
|
3ce3d203d4
|
Simplify some code
|
2018-12-18 22:49:27 +01:00 |
|
pedong
|
f70f276ae9
|
[fix #2813] set lien_notice nil when clone a procedure
|
2018-12-06 21:28:08 +01:00 |
|
Paul Chavard
|
35494df78e
|
Procedure export dossiers with champs siret
|
2018-12-05 17:09:39 +01:00 |
|
Pierre de La Morinerie
|
e206f3d4d4
|
gestionnaire: display draft procedures in the list
Fix #3088
|
2018-12-05 15:38:20 +01:00 |
|
Paul Chavard
|
a08f170dbd
|
Assign users and gestionnaires to commentaires
fix #2052
|
2018-12-05 13:40:57 +01:00 |
|
Paul Chavard
|
e873b6a9c4
|
Expose selection utilisateur size on champ carte
|
2018-12-03 12:49:03 +01:00 |
|
Paul Chavard
|
d77a5c9f15
|
More tests and fixes on carte champ
|
2018-11-30 13:28:30 +01:00 |
|
Paul Chavard
|
097a15d624
|
Test and fix all possible cases of champ carte serialization
|
2018-11-30 12:02:27 +01:00 |
|
Paul Chavard
|
35d2bc36fc
|
cleanup selection_utilisateur geo_json
|
2018-11-29 17:10:14 +01:00 |
|
Paul Chavard
|
ca147969ab
|
Fix number champs validation
|
2018-11-29 15:12:31 +01:00 |
|
Paul Chavard
|
1883c57c87
|
Add stable ids to types_de_champ after every update
|
2018-11-29 11:41:13 +01:00 |
|
Paul Chavard
|
c18796d02a
|
Fix geojson exposed on legacy carto API
|
2018-11-29 08:43:51 +01:00 |
|
Paul Chavard
|
9b39934e8b
|
Destroy dossier_operation_logs when dossier is destroyed
|
2018-11-28 17:06:54 +01:00 |
|
Mathieu Magnin
|
b51bf759b1
|
[Fix #3081] If a dossier is destroyed, then destroy the attestation
|
2018-11-28 16:33:12 +01:00 |
|
Paul Chavard
|
36f6f54337
|
Remove unused carto models
|
2018-11-27 16:11:25 +01:00 |
|
Paul Chavard
|
0f0ca2ec65
|
Lod dossier operations
|
2018-11-27 12:49:40 +01:00 |
|
Paul Chavard
|
85e3eb04f4
|
Add DossierOperationLog model
|
2018-11-27 12:49:40 +01:00 |
|
Paul Chavard
|
a079eaea5c
|
Add procedure gestionnaire_for_cron_job method
|
2018-11-27 12:49:40 +01:00 |
|