Martin
9a8ec1087c
feat(commentaire.soft_delete): wrap deletion behaviour in service
2021-11-15 12:43:53 +01:00
kara Diaby
475bf0bd2d
add lock version to blobs
2021-11-04 17:42:43 +01:00
simon lehericey
6625c6bac3
add requested_merge_into column in user table
2021-11-04 16:10:09 +01:00
simon lehericey
7935e42109
Add merge log
2021-10-28 14:39:13 +02:00
Paul Chavard
09a09d3fcf
feat(revisions): add rebased_at to champs
2021-10-20 17:26:09 +02:00
Paul Chavard
7e5d388ef8
fix(export): add index on champs.etablissement_id
2021-10-20 16:51:41 +02:00
simon lehericey
2e118a8f5b
allow unattached fci
2021-10-14 14:47:50 +02:00
simon lehericey
6e6635560f
Add merge token to FCI
2021-10-14 14:47:50 +02:00
Paul Chavard
288ea82286
fix(avis): add foreign key to avis dossier_id
2021-10-13 09:28:11 +02:00
simon lehericey
354735ace4
add champ value_json jsonb column
2021-10-12 14:27:20 +02:00
Paul Chavard
4a947f9135
feat(manager): add become administrateur button in manager (with 24h expiration)
2021-10-07 11:32:12 +02:00
simon lehericey
3a878dfc04
add identity_updated_at column to dossier
2021-10-05 12:05:43 +02:00
Paul Chavard
d4e8158887
feat(routing): add instructeurs_self_management_enabled to procedures
2021-09-27 15:06:17 +02:00
Paul Chavard
0ff62c5a5e
feat(routage): add routing_enabled to procedures
2021-09-18 11:22:35 +02:00
simon lehericey
b000590d81
add api particulier sources to procedure
2021-09-17 13:50:23 +02:00
simon lehericey
2d2ae3a878
add api particulier scopes to procedure
2021-09-16 09:30:11 +02:00
Paul Chavard
dfafc57bb9
feat(dossier): add dossier_transfers and dossier_transfer_logs
2021-09-08 14:39:45 +02:00
Paul Chavard
f1ff6da81b
feat(i18n): add locale to user
2021-09-07 09:47:01 +02:00
Paul Chavard
ffa8c0c80a
feat(dossiers): enable dossiers termine expiration behind feature flag
...
feature flag "procedure_process_expired_dossiers_termine" controls if a procedure has expiration
enabled on dossiers termine
re #3796
2021-08-18 16:11:35 +01:00
simon lehericey
b29bae4707
a procedure has an encrypted api_particulier_token
...
Co-authored-by: François VANTOMME <akarzim@gmail.com>
2021-07-30 11:18:44 +02:00
kara Diaby
b6f931a968
add unique index on bulk messages join table
2021-07-27 20:32:28 +02:00
kara Diaby
ab0782530c
create Bulk Message model and migration
2021-07-27 19:38:22 +02:00
Pierre de La Morinerie
02120c7c5f
db: add uniqueness constraints to Etablissement
2021-07-22 18:00:34 +02:00
Pierre de La Morinerie
dea3395c91
db: add uniqueness constraints to DeletedDossiers
2021-07-22 17:57:11 +02:00
Pierre de La Morinerie
3d25fc995a
db: add uniqueness constraints to Champs
2021-07-22 17:56:14 +02:00
Pierre de La Morinerie
0fd23ebd43
db: fix schema.rb leftovers
2021-07-22 17:55:47 +02:00
Paul Chavard
f238710044
Add last_month export
2021-06-23 09:23:10 +02:00
Paul Chavard
1888f74b10
Prevent double processing of declarative dossiers
2021-06-04 17:55:40 +02:00
Paul Chavard
306e5d228d
Add published_at to procedure_revisions
2021-06-03 13:11:16 +02:00
Paul Chavard
8a74438dc1
Use conservation_extension instead of en_construction_conservation_extension
2021-05-11 17:33:53 +02:00
Paul Chavard
1e0d6ea28f
Rename en_construction_conservation_extension to conservation_extension
2021-05-11 14:08:51 +02:00
simon lehericey
4dc314d24b
[ fix #6084 ] add db constraints to france_connect_informations table
2021-05-05 14:28:20 +02:00
Paul Chavard
bcbfcdc537
Revert "Merge pull request #6142 from tchak/enable_brouillon_extend_conservation"
...
This reverts commit 48eb4d9778
, reversing
changes made to 5539d5cb8c
.
# Conflicts:
# app/models/dossier.rb
# db/schema.rb
2021-05-04 16:03:29 +02:00
Paul Chavard
a4fd629f4a
Enable user destruction
2021-05-04 12:05:06 +02:00
Paul Chavard
ba69edffc5
add conservation extension to dossiers
2021-04-29 18:03:57 +02:00
Christophe Robillard
f40d96fbd2
Revert "Revert "Export de tous les dossier d'une démarche""
...
This reverts commit d9a588b52e
.
2021-04-29 17:29:47 +02:00
krichtof
d9a588b52e
Revert "Export de tous les dossier d'une démarche"
2021-04-29 16:07:18 +02:00
Christophe Robillard
09870c918d
prevent race conditions when creating archives
2021-04-28 11:40:58 +02:00
Christophe Robillard
dfbe004122
rename content_type to time_span_type for archives
2021-04-28 11:40:58 +02:00
Christophe Robillard
c25f3c79d9
add archive model
2021-04-28 11:40:58 +02:00
Pierre de La Morinerie
d1777d8cd6
db: fix migration adding unique index to Individuals
2021-04-27 16:57:46 +02:00
Pierre de La Morinerie
d024b9ab9e
db: add uniqueness constraints
...
Enforce uniqueness constraints at the database level, on:
- Invites,
- Procedures,
- Individuals.
These are the one less likely to have duplicates. A follow-up
PR will contains similar migrations, but more likely to have
existing duplicates that need to be removed.
2021-04-27 15:36:22 +02:00
Paul Chavard
c20ad5ca17
Remove the link between commentaire and user
2021-04-22 15:10:47 +01:00
simon lehericey
f542c0876e
Add missing etablissement_id index on exercices table (-600ms)
2021-04-22 14:12:50 +02:00
kara Diaby
541a36abbf
Add boolean to procedures table
2021-04-19 10:23:45 +02:00
simon lehericey
76e261691a
add data column to france_connect_infromations
2021-04-13 09:59:28 +02:00
simon lehericey
cd6cb99c3c
add bypass_email_login_token to instructeur
2021-04-13 09:43:38 +02:00
simon lehericey
b24faae7e3
remove obsolete procedure_id column in assign_to table
2021-04-09 11:41:13 +02:00
Paul Chavard
371d612fdb
Remove unused columns
2021-04-08 12:43:29 +01:00
kara Diaby
60c06b6d8c
add revoked at to experts_procedures
2021-04-06 10:39:22 +02:00
Paul Chavard
7f3d4a26ad
Make exports#key not-null
2021-04-02 17:42:24 +01:00
Paul Chavard
fd48b86b7f
Simplify export unicity check and use create_or_find_by
2021-04-01 21:14:16 +01:00
Pierre de La Morinerie
e865a894f2
db: add last part of ActiveStorage::Blob migration
...
On DS, we split the ActiveStorage schema migration from Rails 6.1 into two migrations:
1. one for adding the column and filling the data asynchronousely
2. one for marking the column as non-null
This is the second part of this migration: it marks the column as non-null.
2021-03-30 12:54:13 +02:00
Pierre de La Morinerie
dd9c3c3fbd
db: fix missing change in schema
2021-03-30 10:46:17 +02:00
Pierre de La Morinerie
a08c18eb81
db: fix ActiveStorage migration to Rails 6.1
...
1. Executing an `update_all` on a lot of records is slow. Instead we
backfill the column in batches (without locking the table).
2. We can't mark the colum as not-null, because already running
instances still using the old code will not use the service_name
column yet.
A later migration will backfill the remaining data and make the column
non-null.
2021-03-25 18:08:29 +01:00
Pierre de La Morinerie
305a312815
db: migrate ActiveStorage to Rails 6.1
2021-03-25 13:24:53 +01:00
Pierre de La Morinerie
5990439ab7
app: update code to Rails 6.1
2021-03-25 13:24:53 +01:00
kara Diaby
2165b5bcc6
fix tmp expert migrated on schema
2021-03-25 11:48:19 +01:00
kara Diaby
71973de17c
remove useless columns from the db
2021-03-24 16:20:44 +01:00
kara Diaby
5e0cfbea07
add tmp_expert_migrated to avis table
2021-03-18 11:38:53 +01:00
kara Diaby
6383e6b9e7
Revert "Revert "Claimant type to avis table""
...
This reverts commit f4fd220d43
.
2021-03-10 08:48:55 +01:00
Kara Diaby
f4fd220d43
Revert "Claimant type to avis table"
2021-03-09 13:40:10 +01:00
kara Diaby
af4a27f4e0
add claimant type on avis table
2021-03-07 22:47:24 +01:00
Paul Chavard
78a07ef021
Add job exception logs to dossier and champ
2021-02-04 19:27:27 +01:00
kara Diaby
f280820201
Add unique index to Experts Procedures on expert <> procedure ids
2021-01-22 14:31:02 +01:00
kara Diaby
b39d9d41f0
Add afterparty task to create experts from instructeurs after deploy
2021-01-22 14:31:02 +01:00
kara Diaby
b683c2023b
add expert to avis table
2021-01-22 14:31:02 +01:00
simon lehericey
d409a9a6c5
Procedure and expert link
2021-01-20 18:03:05 +01:00
simon lehericey
29e9f2dd32
Ajout du model expert
...
Co-authored-by: Kara Diaby <kdiaby.pro@gmail.com>
2021-01-20 18:03:05 +01:00
Paul Chavard
09a3cacd88
Add external_id to champs
2021-01-15 11:50:02 +01:00
Paul Chavard
a1643dad84
Add data column to champ
2021-01-14 17:31:37 +01:00
Fabrice Gangler
1d0355ce1c
fix db/seeds.rb (replace "Administration" by "SuperAdmin"
2020-11-25 19:54:32 +01:00
kara Diaby
d9dea779ea
Remove foreign key dossier on dossier operations logs
2020-11-17 16:02:53 +01:00
kara Diaby
06f6cf7771
add new columns to deleted dossiers
2020-11-12 12:18:59 +01:00
Christophe Robillard
5562e65bf3
refacto: rename administration to super_admin
2020-11-05 16:03:55 +01:00
Christophe Robillard
305ccdc0cd
add recoverable and two_factor stragegy for administration
2020-11-05 16:03:55 +01:00
simon lehericey
4af8bd47ac
cache landing data
2020-10-06 16:12:01 +02:00
simon lehericey
ad01d4dee5
really faster stats by precomputing some of them
2020-10-06 16:12:01 +02:00
kara Diaby
57adb90c8f
add the possibility for administrator to refuse external review on a specific procedure
2020-10-01 10:55:19 +02:00
clemkeirua
0307beecd6
Revert "Merge pull request #5576 from tchak/soft-delete-users"
...
This reverts commit bf0d3914ce
, reversing
changes made to 503527459e
.
2020-09-17 15:39:16 +02:00
Paul Chavard
337b20661a
Add discared_at to users
2020-09-17 11:16:56 +02:00
Paul Chavard
11a1e44fbe
Remove procedure_id from type_de_champ
2020-09-03 15:23:58 +02:00
Christophe Robillard
f77cc06a91
prend en compte le nom de l'enseigne pour l'établissement
2020-08-20 14:23:02 +02:00
kara Diaby
db3e40ebf8
Fixe la non possibilité de cloner une démarche pour une procédure archivée (nouvelle interface administrateur)
2020-07-30 12:00:43 +02:00
Christophe Robillard
667b7d9876
add migration
...
Co-authored-by: clemkeirua <clement@keiruaprod.fr>
2020-07-30 10:18:44 +02:00
kara Diaby
d4c6e501c6
Ajoute la liste des démarches de l'interface administrateur sur la nouvelle UI
2020-07-29 15:35:52 +02:00
Paul Chavard
35461f0159
Add revisions migrations
2020-07-21 19:35:30 +02:00
Christophe Robillard
3ea34834a7
revoke expert avis
2020-07-16 21:05:11 +02:00
Christophe Robillard
1253bb5994
store instructeur_email in traitement
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
f558b61298
Update schema.rb comment
2020-07-07 18:03:56 +02:00
Paul Chavard
d98362568e
Remove dossier procedure_id
2020-06-16 11:13:54 +02:00
Christophe Robillard
b12226c667
fetch and store bilans bdf
2020-04-30 16:15:16 +02:00
Christophe Robillard
14ff18ca80
store specific api-entreprise token for a procedure
2020-04-28 15:17:11 +02:00
kara Diaby
9aea1fffee
Migrate the map editor to mapbox-gl with react component
2020-04-27 11:30:32 +02:00
Christophe Robillard
453adf3c74
instructeurs: affiche l'effectif moyen annuel n-1
2020-04-23 09:53:27 +02:00
Paul Chavard
50524fa640
Add termine_close_to_expiration_notice_sent_at to dossiers
2020-04-22 15:39:10 +02:00
Christophe Robillard
1165f8483d
rename effectif columns
2020-04-21 21:13:07 +02:00
Christophe Robillard
db3ef195ad
fetch and show effectif mensuel
...
- fetch and store effectif mensuel (at the creation of the dossier or
when updating a siret field
- show effectif mensuel only for instructeurs
2020-04-21 14:22:11 +02:00
Christophe Robillard
f683b850c3
Notifie instructeurs le souhaitant lors depot dossier
...
Notifie par mail uniquement les instructeurs qui le souhaitent à chaque dépôt de dossier
2020-04-09 15:02:05 +02:00
Christophe Robillard
969478b706
Envoie une notif aux followers_instructeurs le souhaitant
...
après chaque message déposé par l'usager
2020-04-09 14:17:07 +02:00
Paul Chavard
273cb8a8ff
Add default to en_construction_conservation_extension
2020-03-26 13:03:26 +01:00
Paul Chavard
e60597aa30
Do not add default to en_construction_conservation_extension
2020-03-26 11:46:27 +01:00
clemkeirua
dadbcd7ede
add dossier_construction_conservation_extension column
2020-03-24 18:10:51 +01:00
Paul Chavard
9243ae69df
Add reason to DeletedDossier
...
# Conflicts:
# db/schema.rb
2020-03-24 09:30:11 +01:00
Pierre de La Morinerie
6b83998e28
db: fix diff in schema.rb
2020-03-19 16:34:40 +01:00
Paul Chavard
7930bf8bf6
Add en_construction_close_to_expiration_notice_sent_at column
2020-03-18 15:25:02 +01:00
maatinito
cb6386eb3a
database seed: administrateur no longer have email field
2020-03-17 17:03:34 -10:00
Christophe Robillard
91abcd7792
récupère les infos d'établissement avec infos non diffusables
2020-03-17 15:57:02 +00:00
Christophe Robillard
924702699f
highlight routing criteria label when updated
2020-03-04 14:56:59 +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
kara Diaby
5dc5230791
Step1 : add new column to Assign_tos and make sure that the data is saved on form submit
2020-02-20 16:14:56 +01:00
Christophe Robillard
82af0e4db8
supprime la colonne email des administrateurs
2020-02-17 15:01:40 +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
Christophe Robillard
7bb298722f
remove unique constraint on admin emails
2020-02-04 16:21:42 +01:00
Paul Chavard
04ad829e3f
Add canonical_procedure_id to procedures
2020-01-28 12:49:53 +01:00
Paul Chavard
fa2eea81aa
Cleanup demarche archivee state
2020-01-07 11:13:42 +01:00
simon lehericey
d0939ae1a4
Add Export Model
2019-12-18 13:13:15 +01:00
simon lehericey
3afdf9e9ac
Remove unused column
2019-12-11 17:07:26 +01:00
Paul Chavard
4a614f6f4f
Add unpublished_at to procedures
2019-12-04 16:37:37 +01:00
simon lehericey
a79abfac79
Add brouillon_close_to_expiration_notice_sent_at column to Dossier
2019-12-03 17:18:53 +01:00
Paul Chavard
0d6675a2ae
Fix schema timestamp
2019-11-28 18:22:06 +01:00
Paul Chavard
b29b6176c9
Add closed_at to procedures table
2019-11-28 16:07:14 +01:00
Paul Chavard
556ec351f3
Drop email on instructeurs
2019-11-13 15:38:44 +01:00
Pierre de La Morinerie
f8358b3ae9
instructeurs: create without providing the email
2019-11-04 10:44:24 +01:00
simon lehericey
c6513318b8
Revert "DB: drop active column from adminsitrateurs table"
...
This reverts commit 2cb8041560
.
2019-10-28 14:59:58 +01:00
simon lehericey
2cb8041560
DB: drop active column from adminsitrateurs table
2019-10-24 18:32:48 +02:00
simon lehericey
7a922f46b2
Migration: add defaut value to routing critéria
2019-10-23 21:48:08 +02:00
clemkeirua
43424e4f4e
merge with the work of paul, using 3 links
2019-10-22 09:51:14 +02:00
simon lehericey
6389a29f60
Add procedure routing criteria name
2019-10-16 10:30:55 +02:00
Nicolas Bouilleaud
780e157190
Add indexes to Dossier.state, Dossier.archived, Follow.unfollowed_at
...
We make a ton of queries on these attributes (for example in /procedures#index and /procedures#show). I think it should help.
2019-09-25 14:10:00 +02:00
Nicolas Bouilleaud
e9c6ed80e4
Migration: Index and make Procedure.path nonnull
2019-09-17 16:30:48 +02:00
Paul Chavard
8e44172e59
Remove unused columns and tables
2019-09-17 15:39:15 +02:00
Nicolas Bouilleaud
661b80777d
Replace old migrations with a single “recreate_structure”
...
* copy-paste the description from schema.rb,
* without the `force: :cascade` options (that drops the tables before recreating them).
* create a new migration with it
* give it the same timestamp as the last deleted migration, so that it exists in the schema_migration table and it is not run in production.
* (Also got rid of some stray changes in schema.rb for mon_avis and unconfirmed_email)
* Run rake db:migrate and make sure nothing moves
2019-09-16 14:44:37 +02:00
Paul Chavard
65e227c44b
Migrate to flipper
2019-09-10 16:10:14 +02:00
simon lehericey
3cc8f0c792
Link Dossier and GroupeInstructeur
2019-09-03 06:47:02 +02:00
simon lehericey
97884c4349
Link AssignTo et GroupeInstructeur
2019-09-02 11:41:12 +02:00
simon lehericey
f296318072
Create GroupeInstructeur
2019-09-02 11:41:12 +02:00
simon lehericey
9fc63d923f
Fix seeds.rb
2019-08-14 16:34:50 +02:00
simon lehericey
81f44fa76b
Link user and administrateur
2019-08-14 15:06:15 +02:00
simon lehericey
dd4ffb926c
Link user and instructeur
2019-08-13 15:15:16 +02:00
Nicolas Bouilleaud
17579ab8a5
Rename Gestionnaire to Instructeur in seeds.rb
2019-08-13 14:04:23 +02:00
simon lehericey
c681806f8d
Rename gestionnaires to instructeurs in db
2019-08-12 13:47:01 +02:00
Pierre de La Morinerie
befee0ea57
Drop types_de_piece_justificative
and pieces_justificatives
tables
...
Now that the content of these tables has been migrated, we can drop
them.
2019-08-01 12:21:25 +02:00
Paul Chavard
6f3fde21f2
Merge pull request #4139 from Keirua/fix/confirm-on-delete-champ
...
#4137 - Ajout d'un confirm à la suppression d'un champ
2019-07-31 12:31:44 +02:00
pedong
5921da9397
add schema.rb updated
2019-07-29 17:48:44 +02:00
pedong
8d03a6747c
add lockable to User, Gestionnaire, administration, Administrateur
2019-07-29 17:48:44 +02:00
Nicolas Bouilleaud
d06e2cd25f
Fix schema.rb description after #4116
...
Always run migrations in the PR :)
2019-07-29 11:41:15 +02:00
clemkeirua
12f1a29b68
update tests
2019-07-25 11:13:30 +02:00
pedong
0f957ec77b
[fixe #3974 ] add message for invite mail
2019-07-23 18:54:58 +02:00
clemkeirua
6d43465ee5
renammed into monavis_embed
2019-07-17 18:04:32 +02:00
clemkeirua
d8b63cd4c9
added 'monavis' inside the procedure and for users
2019-07-17 18:04:32 +02:00
Pierre de La Morinerie
2c8d953bb9
db: fix missing update to schema.rb
2019-07-11 16:45:32 +02:00
Pierre de La Morinerie
619f663e1a
procedure: remove individual_with_siret
column
2019-07-11 15:57:46 +02:00
Pierre de La Morinerie
a047ee356b
procedure: remove expects_multiple_submissions
column
2019-07-11 15:57:46 +02:00
simon lehericey
0f9fdf3f75
Activate device email change confirmation
2019-07-09 11:55:17 +02:00
Nicolas Bouilleaud
4d73275bab
Drop Procedure.administrateur_id
2019-07-04 17:01:12 +02:00
Mathieu Magnin
b34f8fbe3d
Add ActionText
2019-07-03 13:15:49 +02:00
Paul Chavard
46c1bbbc6f
Official support for declarative demarches
2019-07-02 14:12:26 +02:00
simon lehericey
92bd382c64
[ fix #4008 ] secured login for all gestionnaires
2019-07-01 15:06:39 +02:00
Nicolas Bouilleaud
f355f849a6
Add BillSignature Model
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
be4c575622
Add Follow.unfollowed_at
...
The active scopes is used indirectly in the dossier<->gestionnaire associations: the existing tests in dossier and gestionnaire just work™.
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
ba48a1da6e
Ensure Follow dates can not be not null
...
* Add Follow.unfollowed_at
* Change the unicity constraint to gestionnaire/dossier AND unfollowed_at
2019-06-12 17:33:53 +02:00
Paul Chavard
3c4380251d
Add digest and timestamps to operation_logs
2019-05-14 14:31:03 +02:00
Pierre de La Morinerie
dd4eae7d62
admin: add a expects_multiple_submissions
property on procedures
2019-03-28 15:26:15 +01:00
simon lehericey
1644fd9059
Notification: add gestionnaire.procedures_with_email_notifications scope
2019-03-18 16:19:36 +01:00
Frederic Merizen
29a7ecb477
Remove unused column
...
The index in schema.rb is not directly related to this modification, it should
have been part of 2b763e4484
but was presumably
forgotten
2019-03-11 15:12:07 +01:00
Mathieu Magnin
2b763e4484
Add procedure_id index to type_de_piece_justificative
2019-02-27 15:45:45 +01:00
Mathieu Magnin
ff1f59a882
Add index Procedure_id on TypesDeChamp
2019-02-26 12:05:49 +01:00
simon lehericey
b9b83cca3a
use multiple trusted_device_token
2019-02-18 17:20:42 +01:00
simon lehericey
a7e068003a
[ fix #3427 ] Administration can soft delete a dossier
2019-02-14 18:09:08 +01:00
simon lehericey
cb4f843171
DossierOperationLog: add automatic operation column
2019-01-16 17:12:32 +01:00
gregoirenovel
a9d4672de1
Remove sql views
2019-01-05 10:44:43 +01:00
gregoirenovel
edca75148a
Drop the now useless rna_informations table
2019-01-05 10:44:43 +01:00
gregoirenovel
0596d53ac2
Enable the Lint/UnusedBlockArgument cop
2019-01-03 10:53:50 +01:00
gregoirenovel
186e362701
Enable the Layout/SpaceInsideArrayLiteralBrackets
2019-01-03 10:53:50 +01:00
Paul Chavard
5d1c24f3d8
Add type de champ repetition models (with row)
2018-12-19 15:31:11 +01:00
gregoirenovel
8769e49e92
[ Fix #586 ] Add timestamps to tables where they were missing
2018-12-19 14:40:10 +01:00
gregoirenovel
27f4d9421f
Remove now useless carto tables
2018-12-19 10:29:11 +01:00
Paul Chavard
b927ab4568
Add user_id and gestionnaire_id to commentaires
2018-12-05 11:25:18 +01:00
Paul Chavard
fb57a07927
Add stable_id to types_de_champ
2018-11-29 11:41:13 +01:00
Paul Chavard
85e3eb04f4
Add DossierOperationLog model
2018-11-27 12:49:40 +01:00
gregoirenovel
9bff7afabb
[ Fix #233 ] Remove the champ_id column on commentaires
2018-11-22 12:44:19 +01:00
Paul Chavard
e63fd9d573
Add migrated flag to module_api_cartos
2018-11-20 10:53:14 +01:00
simon lehericey
36621bffeb
FlipFlop: enable for gestionnaire
2018-11-13 10:41:45 +01:00
simon lehericey
5690599289
Session: send a mail to confirm gestionnaire login
2018-11-13 10:41:45 +01:00
Paul Chavard
520dbc25c4
Drop procedure_paths table
2018-11-01 15:46:55 +01:00
Paul Chavard
fcdc0114fd
Add id to geo areas
2018-10-30 12:16:09 +01:00
simon lehericey
2238e5bd9f
Time.now => Time.zone.now
2018-10-26 10:10:20 +00:00
simon lehericey
13ffa61435
DateTime.now => Time.zone.now
2018-10-26 10:10:20 +00:00
Paul Chavard
202e055b7b
Add geo areas schema
2018-10-16 14:00:52 +03:00
gregoirenovel
ed11852300
Delete the InviteGestionnaire model
2018-10-10 12:07:10 +02:00
gregoirenovel
d9d4f6fe20
Enable Style/SymbolProc
2018-10-03 12:15:48 +02:00
gregoirenovel
a171186dd8
Enable Style/TrailingCommaInHashLiteral
2018-10-03 12:03:21 +02:00
gregoirenovel
ed240cb4d3
Enable Style/UnneededInterpolation
2018-10-03 12:03:21 +02:00
gregoirenovel
6eeba14885
Enable Style/WordArray
2018-10-03 12:03:21 +02:00
Frederic Merizen
bdc0ee6126
Remove unused column
2018-10-03 11:32:14 +02:00
Frederic Merizen
892f9ca668
Remove now unused view
2018-10-02 18:30:30 +02:00
gregoirenovel
b994fa4206
Do one thing per line
2018-10-01 16:15:46 +02:00
simon lehericey
fe30c19aa4
Seed: fix weak password
2018-09-27 15:36:34 +02:00
simon lehericey
4300d7abf8
[ fix #2449 ] Migration: remove administrateur api_token column
2018-09-27 10:24:56 +02:00
simon lehericey
8c4f8347ca
Api Token: store token in an encrypted form
2018-09-27 10:14:32 +02:00
gregoirenovel
904f75a963
[ Fix #1722 ] Drop the entreprises table
2018-09-25 13:50:55 +02:00
Frederic Merizen
a3cb2356cf
[ #2622 ] Change DB schema to JSONB
2018-09-24 19:39:01 +02:00
Paul Chavard
5ab22ee139
Add path column to procedures table
2018-09-18 13:21:18 +02:00
gregoirenovel
00ecae5f93
Procédure → Démarche
2018-09-05 15:46:24 +02:00
Paul Chavard
c67f8dcaaa
Add after_party
2018-08-30 11:54:54 +01:00
gregoirenovel
5059c12b34
Remove the now useless mark column on the feedbacks table
2018-08-28 10:36:36 +02:00
gregoirenovel
fc0c54365f
Add SQL validation for Feedback rating
2018-08-28 10:36:36 +02:00
gregoirenovel
4103861f90
Add the rating column to feedbacks
2018-08-27 17:03:11 +02:00
gregoirenovel
f30a62971a
Drop the cerfas table
2018-08-22 21:17:19 +02:00
lucien mollard
9ecc5f7928
add a user satisfaction form'
2018-08-09 11:41:26 +02:00
Frederic Merizen
01ca8cc3cc
[ #2179 ] Add denormalized search_terms field to Dossier
2018-07-27 11:00:15 +02:00
gregoirenovel
cfdbeca4da
Add the siret column to the services table
2018-07-19 15:36:29 +02:00
Paul Chavard
f30dadfb53
Update search to version 4
2018-06-28 15:16:20 +02:00
Pierre de La Morinerie
e50cc68e75
Rakefile: move first user creation to db/seeds.rb
2018-06-13 10:58:23 +02:00
Mathieu Magnin
927cd3c6f4
Create virus scan model to store clamav result
2018-06-12 15:12:38 +02:00
Frederic Merizen
d3cfcaa8ac
[ #1946 ] Add durees_conservation_required flag to procedures
2018-06-01 16:46:39 +02:00
simon lehericey
7eb34053f8
Procedure: add juridique_required flag to procedure
2018-06-01 11:12:53 +02:00
simon lehericey
a96889310b
Procedure: add legal reference
2018-05-31 16:55:31 +02:00
Mathieu Magnin
55a3d59e38
Create new model to store deleted dossier metadatas
2018-05-30 18:01:36 +02:00
Paul Chavard
81179ceba9
Update search view to search v3
2018-05-24 17:54:51 +02:00
Frederic Merizen
79e35158e3
[ #1946 ] Add data retention times to Procedure
2018-05-24 11:16:25 +02:00
simon lehericey
5bd589344e
Devise: confirm user email
2018-05-23 15:55:52 +02:00
Paul Chavard
4ad3932c05
Add test_procedure to procedure_path
2018-05-23 11:32:26 +02:00
simon lehericey
928227a610
Procedure: remove now duplicate organisation and direction
2018-05-18 16:21:27 +02:00
simon lehericey
39bb56d1d9
Service: add organisme, email, tel, horaires, adresse
2018-05-18 16:21:27 +02:00
simon lehericey
fc17b68dc1
Service: create model
2018-05-18 16:21:26 +02:00
Paul Chavard
2b8ee92074
Add aasm_state to procedures
2018-05-17 14:46:48 +02:00
Paul Chavard
0c54220c2b
Add test_started_at to procedures
2018-05-15 11:00:20 +02:00
Mathieu Magnin
7130eb6f41
Fix Sentry #2565
2018-05-02 16:46:38 +02:00
simon lehericey
9d0b568ef5
Procedure: add parent_procedure
2018-04-24 15:48:20 +02:00
simon lehericey
06a5063807
Procedure: add cloned_from_library flag
2018-04-24 14:22:22 +02:00
Paul Chavard
6b9003c3f4
Create flipflop table
2018-04-18 16:51:21 +02:00
Paul Chavard
27592ae072
Add simple web hooks to procedures
2018-04-09 11:02:24 +02:00
simon lehericey
155ffcb4ba
Individual: change birthdate column type
2018-04-04 15:26:51 +02:00
simon lehericey
0093db18a1
Individual: add a second birthdate which is a date
2018-04-03 16:23:04 +02:00
gregoirenovel
2385548a03
[Ref #1626 ] Add the administrateurs_procedures table and associations
2018-03-23 11:40:03 +01:00
Frederic Merizen
2fa88a432b
Add missing brackets around parameters in method definitions
2018-03-20 17:54:51 +01:00
gregoirenovel
8555a51350
[ Fix #1534 ] Add missing timestamps columns
2018-03-20 16:53:47 +01:00
gregoirenovel
578cbcda37
Remove the mandataire_social column
2018-03-20 16:20:17 +01:00
Paul Chavard
5faf4cdd84
Remove all references to old STI
2018-03-08 14:17:04 +01:00
Paul Chavard
94dba77202
Fix capital social for large amounts
2018-03-07 11:24:59 +01:00
gregoirenovel
0a9f442260
Enable some Rails cops
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
9481f12294
Inline entreprise and rna in to etablissement
2018-02-27 16:22:53 +01:00
Mathieu Magnin
5cd6767593
Remove unused procedure_filter
2018-02-26 17:42:46 +01:00
gregoirenovel
deeda0e540
Add a unicity constraint on AssignTo
2018-02-23 17:12:24 +01:00
gregoirenovel
922e504623
Add active_storage tables
2018-02-15 11:14:02 +01:00
Paul Chavard
2e4ada98e6
Add private columns to Champ and TypeDeChamp
2018-02-13 12:35:03 +01:00
Paul Chavard
160b4e78c7
Update schema.rb
2018-02-13 10:28:56 +01:00
Mathieu Magnin
50f35ee905
[ Fix #1296 ] Birthday field is optional in procedure
2018-02-07 15:57:48 +01:00
gregoirenovel
c5c330e1df
Drop the Notifications table
2018-02-06 14:07:20 +01:00
gregoirenovel
b138dcd876
Enable the Layout/SpaceInsideHashLiteralBraces cop
2018-01-18 10:53:35 +01:00
gregoirenovel
278a662350
Enable the Layout/SpaceAroundEqualsInParameterDefault cop
2018-01-18 10:53:34 +01:00
gregoirenovel
48fd3605a4
Bump rubocop
2018-01-18 10:47:11 +01:00
Paul Chavard
8688d62a24
Add active attribute to administrateur model
2018-01-16 10:49:07 +01:00
gregoirenovel
345b892956
Enable the Layout/LeadingCommentSpace cop
2018-01-15 22:33:13 +01:00
gregoirenovel
1e71188d4d
Enable the Layout/IndentationConsistency 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
5125cf8396
Enable the Layout/FirstParameterIndentation cop
2018-01-15 22:14:39 +01:00
gregoirenovel
9f855afdfe
Enable the Layout/FirstHashElementLineBreak cop
2018-01-15 22:14:38 +01:00
gregoirenovel
08ed400ec2
Enable the Layout/FirstArrayElementLineBreak cop
2018-01-15 22:14:38 +01:00
gregoirenovel
5b1d578726
Delete 3 now unused tables
2018-01-15 18:32:14 +01:00
gregoirenovel
7c34807f46
Don’t use unless
2018-01-12 11:32:43 +01:00
Frederic Merizen
56749769d6
[ Fix #1186 ] Rename object to subject for mail templates
2018-01-09 16:00:31 +01:00
Frederic Merizen
39a138e48d
Drop MAIL_TEMPLATES table
...
it’s not used since 695dc16b8
/ 335caed65e
anymore
2018-01-09 15:28:16 +01:00
Simon Lehericey
8d52f57e6a
Fix pg extension creation in migration for #1097
2018-01-09 15:20:04 +01:00
simon lehericey
2bc61f9f3f
[ fix #1097 ] Accent insensitive search
2018-01-09 10:29:54 +01:00
simon lehericey
6a2b575027
[ fix #1097 ] Add whitelist mechanisme to procedure
2018-01-09 10:29:54 +01:00
LeSim
3dda27b281
[ fix #504 ] Dossier: received -> en_instruction
2017-12-15 12:10:54 +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
Mathieu Magnin
d8bbb8cb08
Add timestamps on Entreprises
2017-12-08 09:15:45 +01:00
gregoirenovel
dc439933d8
Make the procedures’ table organisation column not null
2017-11-29 10:36:22 +01:00
Mathieu Magnin
5775901868
Add commentaire file uploader
2017-11-28 15:07:09 +01:00
Simon Lehericey
d0cad00940
ProcedurePresentation: change default sort value
2017-11-20 17:22:52 +01:00
Simon Lehericey
909ecf2142
Notification: add timestamp to champs, pieces jusitificatives and follows
2017-11-10 16:29:44 +01:00
Simon Lehericey
3dce5b9b5e
AttestationTemplate: store logo and signature with uuid
2017-10-19 15:32:04 +02:00
Simon Lehericey
ea2827134e
[ fix #850 ] Use UUID as a uniq identifier for the attestation
2017-10-19 15:02:01 +02:00
gregoirenovel
7036f9778b
Add ProcedurePresentation
2017-10-02 17:03:30 +02:00
Mathieu Magnin
8965c668d9
Add and install delayed_cron_job gem
2017-09-27 16:47:32 +02:00
Mathieu Magnin
608419701e
Add and install delayed_job gem
2017-09-27 16:47:32 +02:00
Simon Lehericey
f55c7a0512
Avis: add confidentiel field
2017-09-20 15:42:26 +02:00
Simon Lehericey
62f1b9c712
Rubocop: enable indentation width rule
2017-08-28 12:20:58 +02:00
Mathieu Magnin
b377d8b538
Add id column on AssignTo
2017-08-28 10:42:29 +02:00
gregoirenovel
f9e0812f92
[Ref #288 ] Remove the seeds.rb file which required an uncommitted file
...
This caused an error while setting up the app
2017-08-25 15:34:30 +02:00
Simon Lehericey
3a17c86a74
Follow: follow must be uniq
2017-07-18 15:12:10 +02:00
gregoirenovel
69c77331d6
[ Fix #154 ] Remove archived from Procedure
2017-07-13 10:50:22 +02:00
gregoirenovel
758ea612c6
[ Fix #144 ] Remove published from Procedure
2017-07-13 10:50:17 +02:00
Mathieu Magnin
be3304f71e
Add a scope to Dossier to check if procedure is not hidden
2017-07-04 14:34:16 +02:00
Mathieu Magnin
760efcdad3
Add hidden_at on procedure
2017-07-04 14:33:40 +02:00
gregoirenovel
698bffd156
[Ref #145 ] Add the AddArchivedAtToProcedures
2017-07-03 10:18:48 +02:00
gregoirenovel
1b808d9abe
Add the AddPublishedAtToProcedure migration
2017-06-27 13:55:17 +02:00
Simon Lehericey
b443b5cefd
[ Fix #196 ] Dossier: add Attestation
2017-06-16 12:11:09 +02:00
Simon Lehericey
d7ff3d6139
[ Fix #196 ] AttestationTemplate: add model
2017-06-16 11:35:13 +02:00
gregoirenovel
12740b4a3e
[ Fix #197 ] Add the motivation column to Dossiers
2017-06-13 15:05:10 +02:00
gregoirenovel
d248afc376
Enable the Layout/ExtraSpacing cop
2017-06-13 10:35:35 +02:00
gregoirenovel
82eb66cfe8
Enable the Layout/EmptyLinesAroundMethodBody cop
2017-06-13 10:35:33 +02:00
gregoirenovel
24e7537c49
Enable the Layout/EmptyLinesAroundClassBody cop
2017-06-13 10:35:32 +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
ff1f679c7b
Enable the Layout/EmptyLineBetweenDefs cop
2017-06-13 10:35:20 +02:00
Simon Lehericey
e0c253eee1
Revert "Procedure: set archive_date to datetime to allow localtime"
...
This reverts commit 14dd75d0d2
.
2017-05-29 13:53:14 +02:00
Simon Lehericey
64f7cab3cf
Avis: add claimant gestionnaire to track who asks for an avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
72494de76f
Create new model Avis
2017-05-29 11:44:28 +02:00
Simon Lehericey
14dd75d0d2
Procedure: set archive_date to datetime to allow localtime
...
And fix /issues/1562/ sentry bug
2017-05-23 13:42:36 +02:00
Mathieu Magnin
887512c26c
Procedure path can contain dashes and can be longer
2017-04-21 16:32:48 +02:00
gregoirenovel
ddf02ccd6d
Use a non-breaking space after the “numéro” contraction
2017-04-19 11:19:53 +02:00
gregoirenovel
ba4ee68019
Use masculine ordinal indicator instead of the degree sign
...
It’s the right way to contract “numéro”
We should use the superscript lowercase o but
it’s hard to do in places where only raw text is
available
2017-04-19 11:19:53 +02:00
Simon Lehericey
a907b9c062
Migration: add mandatory column to type de piece justificative
2017-04-18 17:48:03 +02:00
gregoirenovel
3ca914aba8
Delete some environment-based conditions
...
We should always try to be the closest to the
production environment
2017-04-10 16:17:33 +02:00
gregoirenovel
a1ee82f3dd
Indent using spaces, not tabs
2017-04-04 16:59:39 +02:00
Mathieu Magnin
359807b4f7
Procedure has an auto_archive date
2017-03-14 10:45:59 +01:00
Mathieu Magnin
4ea7635dfc
Fix after review
2017-03-07 16:23:44 +01:00
LeSim
9764604430
Merge branch 'develop' into customize_submission_mail
2017-03-07 11:05:04 +01:00
Simon Lehericey
63681cfded
Migrate mails to new system
2017-03-07 10:44:24 +01:00
Simon Lehericey
c1953592b7
ReceivedMail: change timestamp for migration
2017-03-07 10:44:10 +01:00
Simon Lehericey
8cd46b7fdf
InitiatedMail: set default timestamp
2017-03-07 10:43:58 +01:00
Simon Lehericey
335caed65e
Mail Template: Delete
2017-03-07 10:27:14 +01:00
Simon Lehericey
695dc16b85
Mails: add refused, without_continuation, draft, closed, received mails object
2017-03-07 10:27:05 +01:00
Simon Lehericey
47fc6e6957
InitiatedEmail: add initiated email
2017-03-07 10:25:28 +01:00
Mathieu Magnin
292ab74c45
Deposit datetime is renamed to initiated_at
2017-03-02 12:41:40 +01:00
Mathieu Magnin
6fcd35fd4c
Merge branch 'develop' into add_dossier_workflow_dates
2017-03-02 11:46:17 +01:00
Mathieu Magnin
d9f5603f05
Add state dates to dossier
2017-03-01 09:51:55 +01:00
Simon Lehericey
d0898d4c40
Migration to transform previous inet type to string
2017-02-28 17:13:01 +01:00
Simon Lehericey
8bccf375e1
Tests: adapt migration to sqlite
...
Add sqlite
Remove scenic from tests
2017-02-28 17:01:58 +01:00
Mathieu Magnin
4cc6aedfb9
Fix tests after workflow simplication
2017-02-27 11:56:26 +01:00
Mathieu Magnin
cae5b37e38
First step to remove :validated and :submitted states
2017-02-21 18:05:48 +01:00
Simon Lehericey
8995c67542
Add timestamp to mailtemplate
2017-02-15 15:44:27 +01:00
Simon Lehericey
58d5e40130
Remove duplicate email received
2017-02-15 15:44:27 +01:00
Xavier Julien
3c6ae2d005
Merge pull request #14 from sgmap/customizable-emails
...
Customizable emails
2017-02-13 15:20:04 +01:00
Mathieu Magnin
8ba8135e6b
Allow blank for lien_demarche
2017-02-07 18:12:25 +01:00
Mathieu Magnin
566fd8bc74
Add lien demarche to type de piece justificative
2017-02-07 18:12:25 +01:00
Mathieu Magnin
b40193e7b5
New customizable mail : mail_validated, new balise --lien_dossier--
2017-01-26 12:12:52 +01:00
Xavier J
c01132c788
Delete old attr in database
2016-12-27 11:57:34 +01:00
Xavier J
a681564b39
Add notification table and model
2016-12-21 17:26:31 +01:00
Xavier J
84ccfdbfdb
Update schema TPS
2016-12-13 14:20:30 +01:00
JC
271ce62476
Adding logout information for sign_out hover, changing colors for links
2016-12-05 14:45:00 +01:00
Xavier J
09fc59d54b
Merge branch 'develop' into develop_v2
...
# Conflicts:
# db/schema.rb
2016-12-05 12:11:04 +01:00
Xavier J
e8f7aa7c4f
Add Table PreferenceDeviseProfil
2016-12-05 12:07:33 +01:00
Xavier J
418b5faa52
New user tableau de bord UI
2016-12-01 19:43:56 +01:00
Xavier J
778dd1a3e4
Delete last migration
2016-12-01 19:08:25 +01:00
Xavier J
647eaa4ba8
Merge branch 'develop' into develop_v2
...
# Conflicts:
# Gemfile.lock
# db/schema.rb
2016-11-17 16:55:41 +01:00
Xavier J
d144047a50
Fix export data dossiers
2016-11-17 11:13:11 +01:00
Julien Portalier
96ca5113f7
Flux de commentaires par champs
2016-11-15 18:36:20 +01:00
Xavier J
90cfd3eccb
Fix Test spec/controllers/api/*.rb
2016-11-15 09:54:17 +01:00
Xavier J
d7fdf22abb
First fixed
2016-11-14 17:33:45 +01:00