gregoirenovel
2d3b553e4d
Use enum to the fullest with TypeDeChamp.type_champs
2018-08-29 17:31:08 +02:00
Paul Chavard
b57c22cafe
Refactor publish dialog
2018-08-14 16:39:11 +02:00
Paul Chavard
7237ff80cc
Drop procedure dossiers when updating brouillon
2018-08-14 11:21:05 +02:00
Pierre de La Morinerie
b0a9e49549
procedures: group new_from_existing list by organization
...
As procedures are not grouped by Service (which are unique to an
administrator) but by organization, this allows procedures with the same
organization name to be displayed together.
2018-07-03 23:43:42 +02:00
Pierre de La Morinerie
56987e5147
procedures: add tests for new_from_existing
2018-07-03 23:43:41 +02:00
Paul Chavard
d0a6957862
Remove old cerfa code
2018-06-28 15:16:20 +02:00
Frederic Merizen
521aec6af9
[ #1568 ] Remove old previsualisation code
2018-06-19 12:42:46 +02:00
Frederic Merizen
648483ac76
[ #1946 ] Allow admins to edit data retention time
2018-06-01 16:46:39 +02:00
simon lehericey
18ad227df5
[ fix #1897 ] Procedure: can delete a deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
0e690c90cc
Procedure: clone the deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
a96889310b
Procedure: add legal reference
2018-05-31 16:55:31 +02:00
Paul Chavard
86b2cb211e
Do not attempt to archive already archived procedures
2018-05-29 14:29:26 +02:00
Frederic Merizen
07b1c147d9
[ Fix #1972 ] Always send mails asynchronously
2018-05-28 12:02:13 +02:00
Paul Chavard
7070b0aba0
Fix tests to rely on aasm states
2018-05-23 16:31:27 +02:00
Paul Chavard
94d253c6dc
Add commencer/test/:procedure_path route
2018-05-23 11:32:26 +02:00
Paul Chavard
785fe3410e
Clone procedure notice
2018-05-22 17:43:44 +02:00
simon lehericey
bb4d29ee8f
[ fix #1855 ] Gestionnaire: are now invited to create their password
2018-04-27 14:10:06 +02:00
simon lehericey
f46bf5a67e
Procedure: procedure cloned from library are tagged
2018-04-24 14:22:22 +02:00
gregoirenovel
0a9f442260
Enable some Rails cops
2018-03-06 17:18:44 +01:00
gregoirenovel
d3f0fc703a
Enable some cops to remove ambiguity
2018-03-06 17:18:44 +01:00
gregoirenovel
e26f4148ff
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 16:17:22 +01:00
gregoirenovel
fe7f8da636
Revert "Bump development gems"
...
This reverts commit d6ad3fc3fd
.
2018-03-06 15:11:26 +01:00
gregoirenovel
d6ad3fc3fd
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 10:36:35 +01:00
Paul Chavard
0c1d529b61
Unify :type_de_champ public/private factories
2018-02-14 11:49:06 +01:00
Paul Chavard
31d638ae2a
Remove TypeDeChampPublic/TypeDeChampPrivate STI
2018-02-14 11:49:06 +01:00
gregoirenovel
c2e0959d6c
Fix a test
2018-01-30 16:56:49 +01:00
gregoirenovel
5b706cc7d4
Add missing params wrapping to some tests
2018-01-30 16:40:04 +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
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
Mathieu Magnin
e9ec9e410f
[ Fix #1304 ] If procedure has no path do not crash when hiding it
2018-01-18 18:52:54 +01:00
gregoirenovel
b138dcd876
Enable the Layout/SpaceInsideHashLiteralBraces cop
2018-01-18 10:53:35 +01:00
gregoirenovel
05b1fd96fd
Enable the Layout/SpaceBeforeSemicolon cop
2018-01-18 10:53:34 +01:00
gregoirenovel
0be657c0d7
Enable the Layout/IndentHash 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
1368cd4b03
[ Fix #1120 ] Delete the old accompagnateur UI
2018-01-15 10:02:10 +01:00
Frederic Merizen
56749769d6
[ Fix #1186 ] Rename object to subject for mail templates
2018-01-09 16:00:31 +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
Mathieu Magnin
98ac496aa5
[ Fix #1100 ] Administrateur can renew his API Token
2017-12-26 18:30:36 +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
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
d90e22e332
Tests: add (or group) Timecop.return to resume time in specs
2017-11-29 16:07:39 +01:00
Simon Lehericey
806c41af38
[ Fix #667 ] Can add an already register gestionnaire with uppercase email
2017-08-28 15:36:34 +02:00
Mathieu Magnin
ed11ee4fb4
Fix SQL injections
2017-07-20 18:22:14 +02:00
Mathieu Magnin
1d0734dda2
Admin should be owner of procedure to hide it
2017-07-20 16:40:11 +02:00
Mathieu Magnin
e468612d95
Admin should be owner of procedure to destroy it
2017-07-20 14:30:36 +02:00
gregoirenovel
25800305ad
cefixup publiee
2017-07-13 17:01:33 +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
benjaminhenkel
0a060dbb53
Wording spelling mistake
2017-07-13 11:02:30 +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
Simon Lehericey
9d48249660
Attestation: uninterlaced png file to be compatible with Prawn
2017-07-10 10:52:27 +02:00
Simon Lehericey
48e881f9ec
[ FIX #491 ] Attestation: allow administrateur to change attestation template on a published procedure
2017-07-04 13:59:54 +02:00
gregoirenovel
bb57002eff
[ Fix #352 ] Downcase admin emails when transferring a procedure
...
See config/initializers/devise.rb:L44
config.case_insensitive_keys = [ :email ]
We therefore need to downcase the email before
looking for an admin by its email address
2017-06-27 14:25:56 +02:00
gregoirenovel
ba5d816ce6
[ Fix #176 ] Delete useless new_assignement email
2017-06-26 10:49:42 +02:00
Simon Lehericey
b664709c3d
[ Fix #196 ] Attestation: allow vizualisation after the procedure is published
2017-06-16 12:11:10 +02:00
Simon Lehericey
671a0575ce
[ Fix #196 ] Recapitulatif: user can download its attestation
2017-06-16 12:11:10 +02:00
Simon Lehericey
c0facbf679
[ Fix #196 ] AttestionTemplate: add preview
2017-06-16 12:11:09 +02:00
Simon Lehericey
fdb4d15bcf
[ Fix #196 ] AttestationTemplate: add edition
2017-06-16 12:11:09 +02:00
gregoirenovel
f1907f4d0e
Enable the Layout/EmptyLinesAroundBlockBody cop
2017-06-13 10:35:23 +02:00
gregoirenovel
f496f1adab
Enable the Layout/EmptyLines cop
2017-06-13 10:35:20 +02:00
gregoirenovel
ec69086ebc
Don’t use alias_method_chain, use a proxy method
2017-06-08 12:22:48 +02:00
gregoirenovel
07ea0ceea1
Make MailTemplateConcern.slug a constant
2017-06-08 12:22:44 +02:00
gregoirenovel
d5e7bbd80d
Files should end with a new line
2017-04-04 16:59:38 +02:00
Simon Lehericey
65e83dd6ec
Mails: factorize default and change slug
2017-03-07 10:27:14 +01:00
Simon Lehericey
02bbf0543f
Mails: move to their own namespace
2017-03-07 10:27:14 +01:00
Simon Lehericey
89763ec8d4
MailTemplateController: use new initiated_mail
2017-03-07 10:25:34 +01:00
Mathieu Magnin
702a1456f1
Remove duplicate line
2017-02-20 14:46:06 +01:00
Mathieu Magnin
6979f6b5f6
Add some tests
2017-02-15 17:09:25 +01:00
Mathieu Magnin
b40193e7b5
New customizable mail : mail_validated, new balise --lien_dossier--
2017-01-26 12:12:52 +01:00
Mathieu Magnin
83616f77db
Fix tests
2017-01-24 17:14:51 +01:00
Mathieu Magnin
2bc5ee88f7
Change controller name according to model name, add simple_form
2017-01-24 15:53:42 +01:00
Mathieu Magnin
0e5c90cb0c
Real index and edit for mail_templates
2017-01-24 10:19:42 +01:00
Xavier J
0706d59793
Fix admin procedure controller spec
2017-01-03 11:37:26 +01:00
Xavier J
decde2ee6c
Fix bug publish procedure with same path
2016-12-21 11:00:05 +01:00
Xavier J
e85cb4c24b
Delete features unified_login
2016-12-16 14:39:17 +01:00
Xavier J
5750eb1aa5
Fix major DEPRECATION WARNING for spec/controllers/admin/*.rb
2016-11-15 05:19:30 +01:00
Xavier J
5284df5ce0
Add page « Procédure terminée »
2016-11-07 17:08:33 +01:00
Julien Portalier
c8b7d0eeb3
Create user when creating gestionnaire (unified login)
2016-10-18 15:52:14 +02:00
Xavier J
1ccf84dac2
Fix bug type_de_champ header section can be mandatory
2016-10-04 19:53:21 +02:00
Xavier J
62a0b84048
Filter by procedure is activated on route /backoffice/dossiers/procedure/:id
2016-09-08 16:21:54 +02:00
Xavier J
12ebab66cc
Administrateur can be param the acknowledgement of delivery mail object and body.
2016-08-31 16:07:11 +02:00
Xavier J
85e7af840a
Add drop down list on type champ list
2016-08-09 16:21:39 +02:00
Xavier J
116dd0d94f
Administrateur can be define private champs => same as typical champs
2016-08-03 18:19:56 +02:00
Xavier J
4e6d153893
Fix test
2016-07-22 12:25:23 +02:00
Xavier J
2ad816b6b3
Admin can be transfer a clone of a procédure at an other admin
2016-07-22 11:34:34 +02:00
Xavier J
721ea424ed
Merge branch 'develop' of github.com:sgmap/tps into develop
...
# Conflicts:
# app/views/admin/procedures/_modal_publish.html.haml
2016-06-30 14:17:33 +02:00
Xavier J
09c9d5ea76
async publication procedure
2016-06-30 12:33:43 +02:00
Guillaume Lazzara
582a368107
Code review related updates
2016-06-30 10:24:20 +02:00
Guillaume Lazzara
92a5100a09
Handle "réactiver" feature with permanent procedure url
2016-06-24 16:57:35 +02:00
Guillaume Lazzara
e5002dbb11
Introduce permanent and customizable procedure url
2016-06-24 16:41:44 +02:00
Xavier J
1dcb29ec65
Add feature delete for draft procedure
2016-06-20 17:37:04 +02:00
Guillaume Lazzara
7af7859334
Implement procedure cloning
2016-06-15 11:34:05 +02:00
Guillaume Lazzara
2791988da2
Add draft/publish status for procedure.
2016-06-09 17:49:48 +02:00
Guillaume Lazzara
1551b7ce21
Add ordering feature on piece justificative view
2016-06-08 16:45:37 +02:00
Xavier J
69f9c52b02
Preview procedure logo on edit procedure page for admin
2016-06-06 18:25:51 +02:00
Xavier J
e6b5698008
Add previsualization formulaire page for administrateur
2016-06-06 17:40:32 +02:00