benjaminhenkel
0a060dbb53
Wording spelling mistake
2017-07-13 11:02:30 +02:00
Simon Lehericey
693c2a43ac
[ Fix #592 ] mutualize sanitize and clean flash messages
2017-07-13 10:14:16 +02:00
gregoirenovel
bb10e13e2f
[Ref #145 ] Don't use Procedure.archived anymore
2017-07-11 15:03:35 +02:00
gregoirenovel
6a381caaee
Add the archived scope to Procedure
2017-07-10 17:24:53 +02:00
gregoirenovel
411c5791c8
Use the not_archived Procedure scope
2017-07-10 17:24:43 +02:00
gregoirenovel
31b23ac74e
Add the not_published Procedure scope
2017-07-10 17:24:39 +02:00
gregoirenovel
5f50f76341
Add the published scope en Procedure
2017-07-10 16:54:01 +02:00
Mathieu Magnin
70c7c42e1f
[ Fix #430 ] Add delete procedure button
2017-07-04 14:34:26 +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
0ea29d131f
Refactor Admin::ProceduresController#transfer
2017-06-26 10:51:28 +02:00
gregoirenovel
a3e3284c5d
Fix a spelling mistake
2017-06-26 10:51:27 +02:00
gregoirenovel
82eb66cfe8
Enable the Layout/EmptyLinesAroundMethodBody cop
2017-06-13 10:35:33 +02:00
gregoirenovel
9439e1abb1
Enable the Layout/AlignParameters cop
2017-06-13 10:35:16 +02:00
Mathieu Magnin
4d323497e7
Remove puts
2017-03-15 15:16:00 +01:00
Mathieu Magnin
359807b4f7
Procedure has an auto_archive date
2017-03-14 10:45:59 +01:00
Simon Lehericey
b097e1d6b8
Tests: adapt to sqlite
2017-02-28 17:01:58 +01:00
Mathieu Magnin
6979f6b5f6
Add some tests
2017-02-15 17:09:25 +01:00
Mathieu Magnin
1d0a236813
Typo
2017-02-15 15:21:34 +01:00
Mathieu Magnin
a636d4f98d
Filter procedure update parms if procedure is locked
2017-02-15 14:13:02 +01:00
Mathieu Magnin
85608f18ab
Description page is accessible, some field are disabled if procedure is locked
2017-02-14 18:13:19 +01:00
Xavier J
decde2ee6c
Fix bug publish procedure with same path
2016-12-21 11:00:05 +01:00
Xavier J
5284df5ce0
Add page « Procédure terminée »
2016-11-07 17:08:33 +01:00
Xavier J
aa3b1e974d
Can create procédure individual with SIRET for later
2016-10-05 10:48:11 +02:00
Xavier J
ed8da1552c
Admin can be declare a procedure for individual people (no SIRET)
2016-08-29 12:07:30 +02:00
Xavier J
c700701b36
Add lien_site_web attr and lien_notice attr
2016-08-24 12:14:25 +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
7281ee74b2
Fix bug double procedure path publish
2016-07-12 15:20:10 +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
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
Xavier J
866565495d
Delete default description in dossier
2016-06-13 12:03:05 +02:00
Xavier J
14142d9433
Dix published and archive method in procedure controller
2016-06-13 11:04:50 +02:00
Guillaume Lazzara
2791988da2
Add draft/publish status for procedure.
2016-06-09 17:49:48 +02:00
Xavier J
69f9c52b02
Preview procedure logo on edit procedure page for admin
2016-06-06 18:25:51 +02:00
Guillaume Lazzara
e20de3dba9
First attempt
2016-02-02 18:37:38 +01:00
Xavier J
e8fd212d13
- Code review
...
- Delete Mandataires sociaux adapter
- Add function to get mandataires sociaux in Enterprise Adapter
2016-01-19 17:19:38 +01:00
Xavier J
0d2bd17a9e
Admin procedure sort list
2016-01-07 15:29:29 +01:00
Xavier J
7069acba4b
Add détails on admin procedure informations page
2016-01-06 17:01:34 +01:00
Xavier J
9fb575ef8c
Refactor procedure locked and retrieve management
2015-12-24 15:57:03 +01:00
Xavier J
e66daf3b95
Refactor procedure active and archived class
2015-12-24 15:22:07 +01:00
Xavier J
43779aafee
Error 403 when admin would edit a procedure with at least one dossier
2015-12-21 12:02:53 +01:00
Xavier J
d49e9fe75a
admin can upload a logo for his procedure
2015-12-10 17:13:39 +01:00
Xavier J
8755ce2ab1
add euro flag to procedure object
2015-12-10 16:09:21 +01:00
Xavier J
0e3bec7f9f
Administrateur can be select dynamically the activation of api carto modules
2015-12-08 10:11:58 +01:00
Xavier J
92d57db91d
- migrate page show to edit for procedure admin
...
- create new page show for procedure admin
2015-12-04 16:17:35 +01:00
Xavier J
49217a1b39
- add decorator for procedure and procedures
...
- add link to procedure on admin procedures list
2015-12-03 15:38:17 +01:00
Xavier J
5cebb5b621
- Code review
...
- Delete routes 'users/dossiers/a_traiter - en_attente - termine' for user
- Add routes 'uses/dossiers/?liste=xxx' to reach at file lists for user
2015-12-02 16:52:09 +01:00
Xavier J
141e23a381
Code review
2015-11-30 17:03:36 +01:00
Xavier J
3eb990a611
Administrator can unarchived a procedure
2015-11-27 17:13:06 +01:00
Xavier J
7c3f322d6e
Add tabs for administrateur procedures list
2015-11-27 16:23:02 +01:00
Xavier J
dd09a38bbb
User can begin a new dossier with a procedure archived
...
Administrateur can see archived procedure
2015-11-27 10:39:05 +01:00
Xavier J
833752161f
Add button archive on procedure
2015-11-26 18:41:41 +01:00
Xavier J
02453e4cb1
Pagination per page procedures for admin change 2 => 12
2015-11-26 16:39:37 +01:00
Xavier J
5e3bc1472c
Add pagination for administrateur procedure
2015-11-26 16:00:12 +01:00
Xavier J
f92f0f46cc
After create new procedure, admin is redirect to type de champ form
2015-11-20 10:54:07 +01:00
Tanguy PATTE
9942525984
link procedure to administrateur
2015-11-16 18:25:31 +01:00
Tanguy PATTE
2696a6098e
remove useless test
2015-11-16 18:08:33 +01:00
Tanguy PATTE
0f73a2fc94
Merge branch 'develop' into refactor_type_de_xxx
2015-11-16 17:09:54 +01:00
Tanguy PATTE
a2f4281f21
refacto.
...
split procedure into 3 screen
desactivate order place for type de champ
desactivate features test to rewrite them
use ajax instead of pure js to manage type de champ
2015-11-16 16:16:08 +01:00
Xavier J
fd9061abdf
- Administrateur can't show only his procedures
...
- Gestionnaire can't show only files of his Administrateur's procedures
2015-11-10 11:58:56 +01:00
Xavier J
0906d44ea8
Refactor TypeDeXxxx
2015-11-09 17:15:51 +01:00
Xavier J
f3d8645426
Rename TypeDeChamps to TypeDeChamp
2015-11-05 11:21:44 +01:00
Xavier J
519af34c82
Revu de code
2015-11-04 17:27:01 +01:00
Xavier J
afb11f429a
Add button delete for TypeDeChamps and TypeDePieceJustificative on Procedure form
...
+ refactor procedure.js
2015-10-29 17:22:57 +01:00
Xavier J
71f9455e36
Back : Save TypeDePJ for a procedure
2015-10-28 18:09:47 +01:00
Xavier J
e673fe6ae2
Change updated method for type de champs' procedure
2015-10-28 15:08:23 +01:00
Xavier J
4eecba4ce1
Back : save types de champs for procedure OK
2015-10-28 11:53:16 +01:00
Xavier J
270d28f6da
Add procedure edition functionality
2015-10-26 15:54:20 +01:00