maatinito
|
1af32b29fd
|
#4807 Use now() instead of Date.time.today (better code homogeneity)
|
2020-03-24 17:09:14 -10:00 |
|
maatinito
|
f5c2dc03c5
|
#4807 better method/variable naming
|
2020-03-24 16:46:23 -10:00 |
|
Christian Lautier
|
e61c53f267
|
Fix #4807 48h before closing a procedure, notify users their draft is not submitted
|
2020-03-24 16:46:23 -10:00 |
|
clemkeirua
|
e76870844e
|
update test for dossier#en_construction_close_to_expiration
It now takes into account en_construction_conservation_extension
|
2020-03-24 18:10:51 +01:00 |
|
Paul Chavard
|
5c2eba1dd1
|
Always add a reason to dossier deletion
|
2020-03-24 09:30:11 +01:00 |
|
Paul Chavard
|
903cf0cef5
|
Keep operation logs after dossier removal
|
2020-03-24 09:18:45 +01:00 |
|
kara Diaby
|
1f27652cd3
|
add files validations to models
|
2020-03-23 11:28:13 +01:00 |
|
Paul Chavard
|
77018b9e2b
|
Add expiration scopes to dossier
|
2020-03-18 15:25:02 +01:00 |
|
Paul Chavard
|
f35ccc9d92
|
Move process_expired_dossiers_brouillon to a service
|
2020-03-18 15:25:02 +01:00 |
|
kara Diaby
|
395af2fbb0
|
instructors : receive daily emails for declarative folders
|
2020-03-17 15:54:50 +01:00 |
|
Christophe Robillard
|
d8d9b0922d
|
remove orphan services when destroying admin
|
2020-03-16 21:40:05 +01:00 |
|
Christophe Robillard
|
50007b2aac
|
highlight demande tab when groupe instructeur updated
|
2020-03-04 14:56:59 +01:00 |
|
Christophe Robillard
|
e8bef76772
|
fix test for procedure presentation
|
2020-03-03 18:07:50 +01:00 |
|
Paul Chavard
|
c46e012c10
|
Use dossier.assign_to_groupe_instructeur
|
2020-03-03 10:30:49 +01:00 |
|
kara Diaby
|
4a70a7fcc8
|
remove email_notifications_enabled column because of the new daily_email_notifications_enabled
|
2020-02-27 11:09:19 +01:00 |
|
Christophe Robillard
|
2bd6f01009
|
log changer_groupe_instructeur
|
2020-02-26 11:25:07 +01:00 |
|
Christophe Robillard
|
e0f4957dfd
|
notify instructeur after groupe_instructeur changed
|
2020-02-26 11:25:07 +01:00 |
|
Christophe Robillard
|
fb3d7e45ba
|
unfollow stale instructeurs
when the group instructeur of a dossier is changed, unfollow the
instructeurs who don't belong to the new groupe instructeur
|
2020-02-26 11:25:07 +01:00 |
|
kara Diaby
|
6102ba6039
|
Do not permit to upload a GIF file via javascript
|
2020-02-25 23:33:15 +01:00 |
|
Paul Chavard
|
24d237de9e
|
A cloned procedure should not have canonical relationship
|
2020-02-25 15:26:43 +01:00 |
|
Paul Chavard
|
be66a8986c
|
Activate champ integer number on all the new procedures
|
2020-02-25 11:26:37 +01:00 |
|
clemkeirua
|
48d2093577
|
tag 'groupe instructeur' uniquement si la procedure est routee
|
2020-02-20 14:48:14 +00:00 |
|
clemkeirua
|
059d80ea34
|
#4785 ajout d'une balise 'groupe instructeur'
|
2020-02-20 14:48:14 +00:00 |
|
Paul Chavard
|
b7051da278
|
Remove old export code
|
2020-02-19 18:19:17 +01:00 |
|
Pierre de La Morinerie
|
d6a9318d05
|
champ: fix siblings for repetition champs
Fix a crash when requesting the `section_index` of a section header
in a repetition champ.
|
2020-02-17 17:11:17 +01:00 |
|
Paul Chavard
|
1ce1c1e6d0
|
use discard
|
2020-02-13 12:31:59 +01:00 |
|
Pierre de La Morinerie
|
f8ed7ec051
|
form: display index of section in header
|
2020-02-13 11:18:46 +01:00 |
|
kara Diaby
|
0b8a59d5e9
|
Add the possibility to disable weekly email notifications (instructeur) && rename the column email_notifications_enabled to daily_email_notification_enabled
|
2020-02-12 13:02:31 +00:00 |
|
Pierre de La Morinerie
|
e3ba2ed96c
|
Revert "form: add number to section headers"
This reverts commit f42977e40a .
|
2020-02-12 13:54:44 +01:00 |
|
Pierre de La Morinerie
|
3e1ba4eebc
|
specs: fix test failing because of unspecified types_de_champ order
|
2020-02-12 13:26:54 +01:00 |
|
Pierre de La Morinerie
|
f42977e40a
|
form: add number to section headers
|
2020-02-11 17:36:50 +01:00 |
|
Christophe Robillard
|
c137917396
|
fix typo
|
2020-02-04 16:07:01 +01:00 |
|
Christophe Robillard
|
5a46effcbc
|
remove useless condition to admin that can be deleted
administrateur can be deleted only if he/she has a procedure where
he/she is the only admin
|
2020-02-04 16:07:01 +01:00 |
|
Christophe Robillard
|
4bf020cb96
|
rend le test plus élégant
|
2020-02-04 16:07:01 +01:00 |
|
Christophe Robillard
|
6fc8a27bd7
|
destroys not all dossiers
but only dossiers for a specific user
|
2020-02-04 16:07:01 +01:00 |
|
Christophe Robillard
|
cee4c5b8fb
|
Revert "Revert "4127 fix superadmin supprime compte usager""
This reverts commit 751f24f7bb .
|
2020-02-04 16:07:01 +01:00 |
|
clemkeirua
|
57a0973c99
|
added a test to show #4658 does not exist
|
2020-02-03 15:43:53 +01:00 |
|
Pierre de La Morinerie
|
96932faa3f
|
models: add a Dossier#with_hidden scope, and remove unscoped usages
|
2020-01-28 17:32:38 +01:00 |
|
Pierre de La Morinerie
|
1448d5b098
|
models: add a Procedure#with_hidden scope, and remove unscoped usages
This avoids the broad use of `unscoped` to remove the `hidden_at`
clause.
|
2020-01-28 17:32:38 +01:00 |
|
Pierre de La Morinerie
|
4efea77280
|
specs: regroup dossier scope specs together
|
2020-01-28 17:32:38 +01:00 |
|
clemkeirua
|
65b4bcf3a1
|
Permet de déposer un dossier lorsqu'un menu déroulant lié obligatoire n'a pas de valeur (car la liste est légitimement vide) dans le second champ.
|
2020-01-28 14:30:26 +01:00 |
|
Paul Chavard
|
67dea1ee50
|
Update spec/models/procedure_spec.rb
Co-Authored-By: Pierre de La Morinerie <kemenaran@gmail.com>
|
2020-01-28 12:49:53 +01:00 |
|
Paul Chavard
|
517ab25783
|
Register canonical procedure when demarche republished under existing path
|
2020-01-28 12:49:53 +01:00 |
|
Pierre de La Morinerie
|
aaaf6f393b
|
specs: add an actual test case to the Exercice spec
This fixes the "No timing found for 'spec/models/exercice_spec.rb'"
warning message during specs.
|
2020-01-28 12:00:34 +01:00 |
|
Pierre de La Morinerie
|
751f24f7bb
|
Revert "4127 fix superadmin supprime compte usager"
|
2020-01-21 18:57:54 +01:00 |
|
Pierre de La Morinerie
|
0efb62f03a
|
factories: ensure that dossiers with_individual are consistent
|
2020-01-21 17:24:56 +01:00 |
|
Pierre de La Morinerie
|
724ff50363
|
factories: rename dossier for_individual to with_individual
This clarifies the distinction between
```
create :procedure, :for_individual
```
and
```
create :dossier, :with_individual
```
|
2020-01-21 17:24:56 +01:00 |
|
Christophe Robillard
|
675bbdad15
|
transfere les services lors de suppression admin
Lorsqu'un administrateur est supprimé, ses services sont transférés à un
autre administrateur pour chacune de ses procédures
|
2020-01-21 15:05:33 +01:00 |
|
Christophe Robillard
|
d9570eedc6
|
empêche suppression d'un user qui est instructeur
|
2020-01-21 15:05:33 +01:00 |
|
Christophe Robillard
|
a6d007dbd3
|
supprime un instructeur
|
2020-01-21 15:05:33 +01:00 |
|