Pierre de La Morinerie
|
71d9774d58
|
models: require belong_to associations on trusted_device_token
|
2020-08-18 15:57:37 +02:00 |
|
Pierre de La Morinerie
|
059c147ffc
|
models: require belong_to associations on service
|
2020-08-18 15:57:37 +02:00 |
|
Pierre de La Morinerie
|
802d3804f5
|
models: require belong_to associations on invite
|
2020-08-18 15:57:37 +02:00 |
|
Pierre de La Morinerie
|
fe8804f208
|
models: require belong_to associations on individual
|
2020-08-18 15:57:37 +02:00 |
|
Pierre de La Morinerie
|
afb1c33154
|
models: require belong_to associations on geo_area
|
2020-08-18 15:57:37 +02:00 |
|
Pierre de La Morinerie
|
aff2713032
|
models: require belong_to associations on follow
|
2020-08-18 15:57:37 +02:00 |
|
Pierre de La Morinerie
|
91619b16e8
|
models: require belong_to associations on feedback
|
2020-08-18 15:57:36 +02:00 |
|
Pierre de La Morinerie
|
51d392a1dc
|
models: require belong_to associations on dossier
|
2020-08-18 15:57:36 +02:00 |
|
Pierre de La Morinerie
|
dd1bed9340
|
models: require belong_to associations on commentaire
|
2020-08-18 15:57:36 +02:00 |
|
Pierre de La Morinerie
|
32e55a6d37
|
models: require belong_to associations on avis
|
2020-08-18 15:57:36 +02:00 |
|
Pierre de La Morinerie
|
aefdd5d2a1
|
models: require belong_to associations on attestation_template
|
2020-08-18 15:57:36 +02:00 |
|
Pierre de La Morinerie
|
1ea4c2aa36
|
models: require belong_to associations on attestation
|
2020-08-18 15:57:36 +02:00 |
|
Pierre de La Morinerie
|
c1e2928ce7
|
models: require belong_to associations on assign_to
|
2020-08-18 15:57:36 +02:00 |
|
Pierre de La Morinerie
|
df2429d7ad
|
factories: build type_de_champ instead of creating them
This allows to minimize the number of actual creations when only a
build is requested.
|
2020-08-13 17:39:49 +02:00 |
|
Pierre de La Morinerie
|
c8ec5c8846
|
factories: remove the Rubocop workaround
|
2020-08-13 17:39:49 +02:00 |
|
clemkeirua
|
c91e231347
|
spec: replace reference to ds in password
|
2020-07-23 16:20:16 +02:00 |
|
Paul Chavard
|
3c9cc6c070
|
Remove repetition types_de_champ on type_champ change
|
2020-07-08 19:25:05 +02:00 |
|
Christophe Robillard
|
0be4b50ade
|
update usual_traitement_time with traitement model
|
2020-07-08 18:15:15 +02:00 |
|
Christophe Robillard
|
a072d35211
|
use traitement model
when a dossier is terminated (accepte, refuse or classe_sans_suite),
we store now `processed_at` and `motivation` in a traitement instance
|
2020-07-08 18:15:15 +02:00 |
|
Paul Chavard
|
c9ab80c880
|
WIP
|
2020-07-07 18:03:56 +02:00 |
|
Paul Chavard
|
13c21d89af
|
Fix attestation_template spec
|
2020-07-07 18:03:56 +02:00 |
|
Pierre de La Morinerie
|
060bf1f9ca
|
factories: flesh out the default etablissement for a dossier
|
2020-07-06 11:41:25 +02:00 |
|
Pierre de La Morinerie
|
43569f687e
|
specs: use fixture_file_upload rather than Rack::Test::UploadedFile
This is mostly for consistency (both styles were used before).
Note: we still have to use `Rack::Test::UploadedFile.new` in factories,
because of https://github.com/thoughtbot/factory_bot/issues/385.
|
2020-07-01 11:13:45 +02:00 |
|
clemkeirua
|
f7d957e59a
|
rename 'Menu déroulant' in specs
|
2020-06-29 08:59:12 +00:00 |
|
Paul Chavard
|
97f91513c8
|
Store drop_down_list values as jsonb
|
2020-06-25 13:14:17 +02:00 |
|
clemkeirua
|
465449e684
|
fix unit tests
|
2020-06-24 12:18:56 +02:00 |
|
Judith
|
59346ee868
|
mailers: mention the auto_archive in notify_new_draft
|
2020-05-28 13:22:02 +00:00 |
|
Paul Chavard
|
f0148184ca
|
Remove legacy carto code
|
2020-05-13 12:17:04 +02:00 |
|
Paul Chavard
|
6556df2a85
|
Fix a crash in case of invalid geometry
|
2020-05-05 15:56:05 +02:00 |
|
Paul Chavard
|
843e033c38
|
Allow instructeurs to download a GeoJSON document for a given dossier
|
2020-04-30 15:49:43 +02:00 |
|
Christophe Robillard
|
339066778d
|
send notif only to the right instructeurs
after a dossier creation, only the instructeurs that belong to the group
instructeur of the dossier, and who want notif will be notified by mail
|
2020-04-23 13:01:57 +02:00 |
|
Paul Chavard
|
bd81970f67
|
DeletedDossier should have access to discarded demarche
|
2020-03-31 17:08:29 +02:00 |
|
Paul Chavard
|
876e05aed3
|
Discard demarches from manager
|
2020-03-31 17:08:28 +02:00 |
|
Christophe Robillard
|
c21dd3b830
|
affiche infos d'un usager entreprise uniquement si diffusable
pour un usager de type entreprise qui a choisi de ne pas diffuser publiquement ses infos,
elles sont affichées uniquement aux instructeurs
|
2020-03-17 15:57:02 +00:00 |
|
Paul Chavard
|
3cd4597006
|
Update rubocop roules
|
2020-03-17 11:25:21 +01:00 |
|
Paul Chavard
|
be66a8986c
|
Activate champ integer number on all the new procedures
|
2020-02-25 11:26:37 +01:00 |
|
Paul Chavard
|
b7051da278
|
Remove old export code
|
2020-02-19 18:19:17 +01:00 |
|
Paul Chavard
|
1ce1c1e6d0
|
use discard
|
2020-02-13 12:31:59 +01:00 |
|
Paul Chavard
|
f0ea96772d
|
Only invite experts to dossiers instructeur have access to
|
2020-02-11 17:38:57 +01:00 |
|
simon lehericey
|
4f317e84d1
|
Iterate over type_de_champ in repetition type_de_champ
|
2020-02-11 13:35:55 +00:00 |
|
Pierre de La Morinerie
|
52ea019ba9
|
app: replace remaining references of DINSIC by DINUM
Fix #4488
|
2020-02-10 17:46:20 +00:00 |
|
Christophe Robillard
|
ed970d3f3c
|
admin: create without providing email
|
2020-02-04 16:21:42 +01:00 |
|
Pierre de La Morinerie
|
792ba73643
|
factories: ensure that dossiers with_entreprise are consistent
|
2020-01-21 17:24:56 +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 |
|
Pierre de La Morinerie
|
00e5b736fb
|
factories: mark the parent procedure as for_individual
This ensures that we don't get an inconsistency, where a dossier is
`for_individual` while its procedure is not `for_individual`.
|
2020-01-21 17:24:56 +01:00 |
|
Paul Chavard
|
14295db9ad
|
Revert "Revert "Merge pull request #4552 from tchak/champ-communes""
This reverts commit 4373cb22cb .
|
2020-01-14 18:46:07 +01:00 |
|
clemkeirua
|
4373cb22cb
|
Revert "Merge pull request #4552 from tchak/champ-communes"
This reverts commit 4cec26f73a , reversing
changes made to 0ef25ef36c .
|
2020-01-13 16:26:27 +01:00 |
|
Pierre de La Morinerie
|
b3558c497d
|
dossiers: make build_default_individual explicit
It avoid the use of callbacks, and may avoid situations where an empty
individual is implicitely created.
|
2020-01-08 10:48:22 +01:00 |
|
Paul Chavard
|
4bbd16576b
|
Add champ communes
|
2020-01-07 11:52:51 +01:00 |
|