Paul Chavard
|
071448e1d9
|
Champ Repetition dossier editor
|
2019-02-04 16:19:07 +01:00 |
|
Paul Chavard
|
7678d8eb0b
|
Revert for_api value on yes_no champs
|
2019-01-29 15:23:09 +01:00 |
|
Mathieu Magnin
|
31c45fe2e5
|
Fix Sentry 161
|
2019-01-10 15:21:40 +01:00 |
|
Paul Chavard
|
1beefe4469
|
Fix champ repetition belongs_to associations
|
2019-01-08 11:56:33 +00:00 |
|
gregoirenovel
|
55419b92a8
|
Simplify code
|
2019-01-08 12:32:27 +01:00 |
|
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
|
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 |
|
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
|
8b0b8162f0
|
Enable the Layout/SpaceAfterComma cop
|
2019-01-03 10:53:50 +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 |
|
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
|
c18796d02a
|
Fix geojson exposed on legacy carto API
|
2018-11-29 08:43:51 +01:00 |
|
Paul Chavard
|
d92364b90b
|
Add user_geo_area do champ carte
|
2018-11-20 10:53:14 +01:00 |
|
Paul Chavard
|
18815e88a3
|
Rename champ.zones to champ.geo_json
|
2018-11-20 10:53:14 +01:00 |
|
Paul Chavard
|
6706b9004f
|
Fix includes on api queries
|
2018-11-08 14:45:09 +01:00 |
|
simon lehericey
|
9d406770a8
|
[fix #2956] YesNo: fixing to_s
|
2018-11-06 16:59:47 +01:00 |
|
Paul Chavard
|
074050a91a
|
Add IntegerNumberChamp
|
2018-11-06 11:28:44 +01:00 |
|
Paul Chavard
|
45bfb2fd47
|
Add DecimalNumberChamp
|
2018-11-06 11:28:44 +01:00 |
|
simon lehericey
|
e684cec516
|
DateTime.new => Time.zone.local
|
2018-10-26 10:10:20 +00:00 |
|
simon lehericey
|
4b25d16f5a
|
Time.zone.parse(_, options) => Time.zone.strptime(_, options)
|
2018-10-26 10:10:20 +00:00 |
|
simon lehericey
|
f620e4aee2
|
DateTime.parse => Time.zone.parse
|
2018-10-26 10:10:20 +00:00 |
|
Paul Chavard
|
5a8a4b393f
|
Add RPG carte source
|
2018-10-23 18:13:44 +02:00 |
|
Paul Chavard
|
ed46e2c3be
|
Use Typhoeus in ApiGeo adapter
|
2018-10-23 18:13:44 +02:00 |
|
Paul Chavard
|
99e1a20d98
|
Add champ carte endpoint
|
2018-10-23 09:35:25 +02:00 |
|
Paul Chavard
|
a541f1fcee
|
Add type options on carte champ
|
2018-10-23 09:35:25 +02:00 |
|
Paul Chavard
|
df73e442e9
|
Explicit foreign_key on CarteChamp
|
2018-10-22 23:28:00 +02:00 |
|
Paul Chavard
|
93ba94a9e6
|
Add carte champ and geo area models
|
2018-10-16 14:01:12 +03:00 |
|
gregoirenovel
|
76cf9ab746
|
ApiGeo::Driver → ApiGeo::API
|
2018-10-15 23:31:23 +02:00 |
|
gregoirenovel
|
4903a6b189
|
Carto::GeoAPI → ApiGeo
|
2018-10-15 20:55:46 +02:00 |
|
Frederic Merizen
|
9beaa293cd
|
[#1421] Use delegation rather than STI for TypeDeChamp
|
2018-09-25 08:26:56 +02:00 |
|
gregoirenovel
|
e4eb55a37f
|
Revert "[Fix #2623] Ensure numbers are integers"
This reverts commit 68789ff43b .
|
2018-09-21 15:15:11 +02:00 |
|
gregoirenovel
|
68789ff43b
|
[Fix #2623] Ensure numbers are integers
|
2018-09-21 08:12:52 +02:00 |
|
gregoirenovel
|
606b56033a
|
Use enum to the fullest with VirusScan.statuses
|
2018-08-29 17:31:08 +02:00 |
|
simon lehericey
|
b33f11115c
|
[fix #2358] Checkbox: serialize in attestation by oui or no
|
2018-08-10 16:25:34 +02:00 |
|
Frederic Merizen
|
0e639030f9
|
[#2179] Generate denormalized search terms value for Dossier
|
2018-07-27 11:11:52 +02:00 |
|