gregoirenovel
25aef60354
Use string interpolation
2018-01-30 15:50:52 +01:00
Frederic Merizen
0ce26055d8
[ #1374 ] Revert "Merge pull request #1373 from betagouv/fix_pagination"
...
This reverts commit 5a56fe0182
, reversing
changes made to 31aabcd6b6
.
2018-01-30 15:04:21 +01:00
Mathieu Magnin
dcb38d79a3
[ Fix #1309 ] Datetime value should be print with yyyy-mm-dd format
2018-01-30 13:49:16 +01:00
simon lehericey
691b12688d
Revert "[ #1360 ] Upgrade SmartListing to fork of 1.2.1"
...
This reverts commit 506a505477
.
2018-01-29 17:43:30 +01:00
Frederic Merizen
506a505477
[ #1360 ] Upgrade SmartListing to fork of 1.2.1
2018-01-25 17:47:10 +01:00
gregoirenovel
a2f4e8b283
factory_girl is now factory_bot
2018-01-23 17:15:42 +01:00
Mathieu Magnin
e9ec9e410f
[ Fix #1304 ] If procedure has no path do not crash when hiding it
2018-01-18 18:52:54 +01:00
Paul Chavard
e42626c588
Add user info to LogStasher
2018-01-18 17:14:42 +01:00
gregoirenovel
2df14691e7
Enable the Layout/TrailingBlankLines cop
2018-01-18 10:53:35 +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
05b1fd96fd
Enable the Layout/SpaceBeforeSemicolon cop
2018-01-18 10:53:34 +01:00
gregoirenovel
f605cd35ac
Enable the Layout/SpaceAfterColon cop
2018-01-18 10:53:34 +01:00
Mathieu Magnin
d5c036362b
Remove old controller and templates
2018-01-17 18:04:23 +01:00
Mathieu Magnin
67f89d5f86
Move administrateur creation in Administrate
2018-01-17 18:04:21 +01:00
Simon Lehericey
d70b6f4af0
FC ParticulierController: cleaner update attribute
2018-01-17 16:37:26 +01:00
Simon Lehericey
2651c5e029
FC ParticulierControllerSpec: final clean
2018-01-17 16:37:26 +01:00
Simon Lehericey
69c121a879
FC ParticulierControllerSpec: simplify ... well you know
2018-01-17 16:37:26 +01:00
Simon Lehericey
570f779bb2
FC ParticulierControllerSpec: without an associate user, better test
2018-01-17 16:37:26 +01:00
Simon Lehericey
b2f59e2b14
FC ParticulierControllerSpec: simplify without an associate user
2018-01-17 16:37:26 +01:00
Simon Lehericey
e1ac33f420
FC ParticulierControllerSpec: simplifier with an associate user case
2018-01-17 16:37:26 +01:00
Simon Lehericey
49f5d570ed
FC ParticulierControllerSpec: mutualize subject
2018-01-17 16:37:26 +01:00
Simon Lehericey
ab02f796b3
FC ParticulierControllerSpec: one liner expectation
2018-01-17 16:37:26 +01:00
Simon Lehericey
4008d8e44d
FC ParticulierControllerSpec: remove unless context
2018-01-17 16:37:26 +01:00
Simon Lehericey
28bf45e536
FC ParticulierControllerSpec: use controller to store_location
2018-01-17 16:37:26 +01:00
Simon Lehericey
ab116895b7
FC ParticulierControllerSpec: remove one context
2018-01-17 16:37:26 +01:00
simon lehericey
4f86b6305b
FC ParticulierControllerSpec: callback handle empty string
2018-01-17 16:37:26 +01:00
simon lehericey
9b6b6bde97
FC ParticulierControllerSpec: simplier auth spec
2018-01-17 16:37:26 +01:00
simon lehericey
02dd1e209c
FC ParticulierController: implement auto reconciliation based on user email
2018-01-17 16:37:26 +01:00
simon lehericey
7cbd6ed067
FC ParticulierController: create is private
...
yep, I know this is strange
2018-01-17 16:37:26 +01:00
gregoirenovel
80ed589a17
Use string interpolation
2018-01-16 11:08:57 +01:00
Paul Chavard
bbf55ab85e
Create administrateurs with invitation link and no password
2018-01-16 10:49:07 +01:00
gregoirenovel
73dd58b6cd
Enable the Layout/MultilineMethodCallIndentation cop
2018-01-15 22:33:13 +01:00
gregoirenovel
5077e654f2
Enable the Layout/MultilineHashBraceLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
9d75526460
Enable the Layout/MultilineAssignmentLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
0be657c0d7
Enable the Layout/IndentHash cop
2018-01-15 22:33:12 +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
simon lehericey
02395e732c
FC service: return domain info
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
0d46f92795
FC: move FC constants under particulier namespace
2018-01-15 16:59:50 +01:00
gregoirenovel
1368cd4b03
[ Fix #1120 ] Delete the old accompagnateur UI
2018-01-15 10:02:10 +01:00
Frederic Merizen
fcb8fb5935
[ Fix #1209 ] test that en_construction is set for initiated mail
2018-01-11 16:47:06 +01:00
Frederic Merizen
ca642abda8
[ #1209 ] Actually put dossier in brouillon state
2018-01-11 16:47:06 +01:00
Frederic Merizen
8807763561
[ #1209 ] Make submission side-effect more explicit
2018-01-11 16:47:06 +01:00
Frederic Merizen
f6986c4db3
[ #1209 ] Clean up formatting
2018-01-11 16:47:06 +01:00
Frederic Merizen
b006db1402
[ #1209 ] remove unused test code
2018-01-11 16:47:06 +01:00
Mathieu Magnin
4c0592d631
Rails-ish route
2018-01-10 18:17:05 +01:00
gregoirenovel
289461d708
Handle the GitHub org rename: sgmap -> betagouv
2018-01-10 17:26:25 +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
8e9d360260
Replace old stub with new allow syntax
2018-01-09 14:37:39 +01:00
simon lehericey
d7d5d7eff4
Rename new_admin_mailer to administration_mailer
2018-01-09 10:29:54 +01:00
Mathieu Magnin
04e9f7be3e
[ Fix #1149 ] Move avis actions to new gestionnaire controller
2018-01-08 16:50:15 +01:00
Mathieu Magnin
aba59239ca
[ Fix #1149 ] Add context on tests before adding some more
2018-01-08 15:15:38 +01:00
gregoirenovel
27a8aba53e
Allow the cloning of another admininistrateur’s procedure
2018-01-08 14:55:07 +01:00
Frederic Merizen
8d77cd58c6
[ #1110 ] Make linked procedure available to mail model
2018-01-05 12:48:07 +01:00
Frederic Merizen
6a85094e1a
[ #1110 ] Make processed_at date available for attestation generation
2018-01-05 11:51:08 +01:00
Mathieu Magnin
62d8381ef7
Remove will paginate
2018-01-03 14:35:48 +01:00
Mathieu Magnin
98ac496aa5
[ Fix #1100 ] Administrateur can renew his API Token
2017-12-26 18:30:36 +01:00
Frederic Merizen
888c25fa34
Remove test focus that shouldn't have been committed in 48cb623
2017-12-22 16:42:21 +01:00
Mathieu Magnin
7c0fdbc9f8
[ Fix #1096 ] Github Oauth
2017-12-22 11:10:24 +01:00
Frederic Merizen
ff2c4d7bfe
Fix flaky test
...
1) StatsController#avis_average_answer_time should include [1512120443, 9.5]
Failure/Error: it { is_expected.to include [3.week.ago.to_i, 9.5] }
expected [[1512120442, 9.5], [1512725242, 7.33], [1513330042, 1.0]] to include [1512120443, 9.5]
# ./spec/controllers/stats_controller_spec.rb:263:in `block (3 levels) in <top (required)>'
2017-12-22 10:58:48 +01:00
Frederic Merizen
2ae67a44f2
[ Fix #1143 ] Set motivation before generating attestation
2017-12-22 10:23:40 +01:00
Mathieu Magnin
642dc4ba21
[ Fix #1118 ] New ui is the default ui for gestionnaire
2017-12-21 23:20:59 +01:00
Mathieu Magnin
142f01d1bb
Revert "ProcedureController: remove unused destroy method" (Sentry : #2149 )
...
This reverts commit 6ca6669144
.
2017-12-21 18:33:42 +01:00
gregoirenovel
8c1eeb9f25
[ Fix #1011 ] Change the “Enregistrer un brouillon” button behaviour
...
And add the “Voir mes brouillons et dossiers”
button
2017-12-21 15:05:13 +01:00
LeSim
bd29b3c4f8
[ fix #1039 ] hide a procedure release its procedure_path
2017-12-15 17:57:34 +01:00
LeSim
6ca6669144
ProcedureController: remove unused destroy method
2017-12-15 17:57:34 +01:00
Simon Lehericey
907db89371
[fix 363] Dossier: remove next_step! action = follow
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
Simon Lehericey
83d9831183
[ fix #1046 ] Update api entreprise host
2017-12-11 16:02:57 +01:00
Simon Lehericey
b02282c1d0
[ fix #1000 ] export name and first name in api
2017-12-11 15:29:56 +01:00
gregoirenovel
0d22ecfe5a
Delete the CGU-related files and mentions
2017-12-07 16:15:44 +01:00
gregoirenovel
dd47f96424
Improve the names of some parameters in DossiersController
2017-12-01 14:28:07 +01:00
gregoirenovel
a04af24cbf
Add DossiersController#terminer
2017-12-01 14:28:07 +01:00
gregoirenovel
a5b4b20a7d
Add DossiersController#repasser_en_construction
2017-12-01 14:28:07 +01:00
gregoirenovel
eb55dfc0c8
Add and use DossiersController#passer_en_instruction
2017-12-01 14:28:07 +01:00
Simon Lehericey
fe9ac727de
[ fix #872 ] apientrepise: use v2 endpoints
2017-12-01 11:26:40 +01:00
Simon Lehericey
bbcf350d7d
[ fix #997 ] New Style: allow new line in messagerie
2017-11-30 16:07:48 +01:00
Simon Lehericey
d90e22e332
Tests: add (or group) Timecop.return to resume time in specs
2017-11-29 16:07:39 +01:00
Mathieu Magnin
2db1d93a84
Remove this test because no Notification should be created when gestionnaire is sending a file on messagerie
2017-11-28 15:07:11 +01:00
Mathieu Magnin
fa95c312ff
Old UI : Plug messagerie on new commentaire file system
2017-11-28 15:07:10 +01:00
Mathieu Magnin
eae16f7746
New UI : Regular messagerie and avis messagerie should use same partials
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
76cb54988d
Validate virus free with Clamav
2017-11-28 15:07:10 +01:00
Mathieu Magnin
ae5e6653cb
[ Fix #888 ] New UI : Add upload on commentaire form
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
f34546cf2a
[ Fix #508 ]Api GeoJson: export cadastre
2017-11-28 14:37:12 +01:00
Simon Lehericey
9f2338a70a
[ Fix #508 ]Api GeoJson: export quartier_prioritaire
2017-11-28 14:37:12 +01:00
gregoirenovel
c8e62ad095
recherches -> recherche
2017-11-22 10:48:38 +01:00
Simon Lehericey
2b146a6d62
Notifications: show dossiers with notification in first place
2017-11-20 17:22:52 +01:00
Mathieu Magnin
b187e7163a
Remove demo accounts routes
2017-11-16 12:36:58 +01:00
Mathieu Magnin
adaa1e0dec
[ Fix #939 ] Remove demo page in staging
2017-11-10 18:19:41 +01:00
Mathieu Magnin
08f76f336c
If not super admin do not display current month in cumul
2017-10-17 12:55:17 +02:00
Mathieu Magnin
5eff915b9d
Add initiated_at to DossiersSerializer
2017-10-06 17:49:06 +02:00
Simon Lehericey
e20d403b20
DossierController: a archived dossier is not followed
2017-10-05 16:59:26 +02:00
Simon Lehericey
01da457ad0
DossierController: a dossier commented is followed
2017-10-05 16:59:26 +02:00
gregoirenovel
801318b053
Memoize statut
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
f5a227fa92
[ Fix #762 ] move dossier instruction -> dossier annotations_privees
2017-09-27 12:16:33 +02:00
Simon Lehericey
a421f0257e
[ Fix #762 ] split annotations and avis
2017-09-27 12:08:55 +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
53f0a16186
BackofficeAvisController: make new avis confidentiel by default
2017-09-22 17:58:16 +02:00
Simon Lehericey
3c3e303a59
Dossier instruction: can ask for a confidentiel avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
caaa3169e5
Avis instruction: can ask for a confidentiel avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
112e3a5793
Procedures: redirect to avis if suitable
2017-09-20 15:42:26 +02:00
Simon Lehericey
3dfd77e914
Avis: add messagerie
2017-09-20 15:42:26 +02:00
Simon Lehericey
88c27479ee
Avis: instruction
2017-09-20 15:42:26 +02:00
Simon Lehericey
a1f9f7aa75
Avis: show
2017-09-20 15:42:26 +02:00
Simon Lehericey
3cc09c98f9
Avis: index
2017-09-20 15:42:26 +02:00
Mathieu Magnin
44b5c4b93b
Dossiers should be sorted by updated_at date
2017-09-20 11:20:00 +02:00
Mathieu Magnin
fbd82a87db
Improve tests reliability
2017-09-08 12:14:34 +02:00
Mathieu Magnin
719b848e79
Fix search test that fails randomly
2017-09-06 14:36:09 +02:00
Mathieu Magnin
059a0b961b
Action button for construction state
2017-09-06 11:13:59 +02:00
Simon Lehericey
a298c48e8f
Dossier: add notification icon
2017-09-06 11:13:50 +02:00
Mathieu Magnin
bf97a111f9
Old recherche with new design
2017-09-06 11:11:43 +02:00
Simon Lehericey
3e5d0dce6a
NewDesign: can add annotations
2017-09-06 11:11:37 +02:00
Simon Lehericey
2923d4448b
NewDesign: can ask a new avis
2017-09-06 11:11:36 +02:00
Simon Lehericey
62894175ae
DossierControllerSpec: refactor by remove sign_in test logic
...
As this test belongs to ProcedureControllerSpec
2017-09-06 11:11:29 +02:00
Simon Lehericey
f6bc9ec852
DossierControllerSpec: rename describe (add #)
2017-09-06 11:11:28 +02:00
gregoirenovel
7ff7710803
A gestionnaire can only see procédures publiées
2017-09-06 11:11:26 +02:00
Simon Lehericey
714b2a5f08
NewDesign: gestionnaire can add a new commentaire
2017-09-06 11:11:25 +02:00
Simon Lehericey
d5535aaaaa
DossierControllerSpec: refactor
2017-09-06 11:11:23 +02:00
Simon Lehericey
97de5b2dd9
DossierControllerSpec: remove duplicate test
2017-09-06 11:11:23 +02:00
Simon Lehericey
86ea47bb0d
BackofficeDossierController: follow dossier when receive
2017-09-06 11:11:23 +02:00
Simon Lehericey
b80d6a6a59
Follow: add flash notice to dossier_controller
2017-09-06 11:11:23 +02:00
Simon Lehericey
95fbd1824a
Follow: remove old backoffice follow and toggle_follow
2017-09-06 11:11:22 +02:00
Simon Lehericey
6cff044a50
NewDossierController: add next_step follow
2017-09-06 11:11:22 +02:00
Mathieu Magnin
923a16a8c8
remove extra line
2017-09-06 11:11:18 +02:00
Mathieu Magnin
f9f313e990
Add identité demandeur for entreprise on dossier detail page
2017-09-06 11:11:15 +02:00
Mathieu Magnin
5b417889b2
Use same counters on procedures index than show
2017-09-06 11:11:14 +02:00
Simon Lehericey
a064ae64a4
NewDesign: add archive and unarchive actions on dossier
2017-09-06 11:11:12 +02:00
Simon Lehericey
eb65318844
NewDesign: add follow and unfollow actions on dossier
2017-09-06 11:11:12 +02:00
Simon Lehericey
ad1a11ab52
NewDesign: procedure show add dossier table
2017-09-06 11:11:11 +02:00
Simon Lehericey
b48af51ee9
NewDesign: procedure show only header
2017-09-06 11:11:11 +02:00
Mathieu Magnin
f7d1cfc462
Add tests on procedures#index
2017-09-06 11:11:09 +02:00
Mathieu Magnin
05f83fb3d3
convert simple quote to double quote
2017-09-06 11:11:09 +02:00
Simon Lehericey
806c41af38
[ Fix #667 ] Can add an already register gestionnaire with uppercase email
2017-08-28 15:36:34 +02:00
Simon Lehericey
a7b00ee847
Rubocop: enable Layout/SpaceAroundOperators
2017-08-28 13:39:13 +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
Mathieu Magnin
dd581082ca
[ Fix #395 ] Export user email in API
2017-08-25 12:01:53 +02:00
gregoirenovel
af91751e1e
Refactor a test to avoid logging a Sentry error message
2017-08-21 16:34:52 +02:00