Commit graph

16366 commits

Author SHA1 Message Date
Paul Chavard
6709b9ed20 Fix cloned revisions task 2020-07-28 17:10:12 +02:00
Paul Chavard
a6eef6fb19 Expose draft_revision types_de_champ to editor 2020-07-28 17:04:06 +02:00
Paul Chavard
1fca481c6e Cleanup after clone 2020-07-28 17:04:06 +02:00
Keirua
49600cc7d9
Merge pull request #5422 from betagouv/dev
2020-07-28-01
2020-07-28 10:18:38 +02:00
Keirua
7301b202aa
Merge pull request #5421 from betagouv/fix-haml-linter
fix haml linter declaration
2020-07-28 09:52:56 +02:00
clemkeirua
602d91f232 fix haml linter declaration
This is necessary in order to boot delayed_job -_-
Without this, it attempts to inherit a missing class
2020-07-28 09:42:30 +02:00
Keirua
68c37e4276
Merge pull request #5420 from betagouv/dev
2020-07-27-01
2020-07-27 17:41:20 +02:00
Keirua
00e6ffe26c
Merge pull request #5419 from betagouv/csp-cdn.jsdeliver
add cdn.jsdeliver.net to the CSP
2020-07-27 17:02:45 +02:00
clemkeirua
db0d230531 add cdn.jsdeliver.net to the CSP 2020-07-27 16:54:46 +02:00
Keirua
29aae2da08
Merge pull request #5404 from betagouv/fix-menu-active-link
instructeurs: fix demarches active link
2020-07-27 15:04:52 +02:00
clemkeirua
de1df85462 suppression du message d'alerte suite aux problèmes d'upload 2020-07-27 10:32:03 +02:00
Keirua
98fbf69f58
Merge pull request #5409 from adullact/5408-Email-sender-customisation
#5408 - Allow emails senders to be configured in .env file
2020-07-27 09:40:38 +02:00
Judith
9ae6e979d6 after Sim rediew: box-shadow homogenized with the rest of the app, rem changed into px and tabindex removed 2020-07-24 12:33:36 +02:00
Fabrice Gangler
1352cde321 Feat: allow emails senders to be configured in .env file
Refs: #5408
2020-07-24 10:50:55 +02:00
LeSim
7f22cc86a9
Merge pull request #5405 from betagouv/set-app-name-as-parameter
Rendre le nom d'application paramètrable
2020-07-24 10:33:54 +02:00
clemkeirua
c91e231347 spec: replace reference to ds in password 2020-07-23 16:20:16 +02:00
clemkeirua
7e085c657d specific deactivation of rubocop DS/ApplicationName rule 2020-07-23 16:20:16 +02:00
clemkeirua
c658428441 added application name in config/ 2020-07-23 16:17:54 +02:00
clemkeirua
52548d7646 ajout du nom d'application dans les mailers 2020-07-23 16:17:52 +02:00
clemkeirua
03864f60cf added a custom rubocop linter in order to avoid hardcoding application name 2020-07-23 16:17:15 +02:00
clemkeirua
c1208add62 remplacement de demarches-simplifiees.fr par un paramètre dans les vues 2020-07-23 16:16:36 +02:00
clemkeirua
31a262efef extraction d'urls doc/faq/… dans url.rb 2020-07-23 16:16:36 +02:00
clemkeirua
4cfe41ce25 added a custom haml linter in order to avoid hardcoding application name 2020-07-23 16:16:36 +02:00
clemkeirua
3340a2b091 ajout du nom d'application tot au demarrage
The application name is used in the views, but also in the initializers and in the config/ directory

According to rails doc (https://guides.rubyonrails.org/v6.0/configuring.html#locations-for-initialization-code),
if we want to do some things before the initializers and the environment, the only place to do so is in config/application.rb
2020-07-23 16:16:36 +02:00
Paul Chavard
c7031138b4
Merge pull request #5414 from betagouv/dev
2020-07-23-02
2020-07-23 15:32:46 +02:00
Paul Chavard
2914a5b4f9
Merge pull request #5413 from tchak/fix-revision-migration-job
fix active_revision_id -> active_revision.id
2020-07-23 15:21:46 +02:00
Paul Chavard
bb5a90da76 fix active_revision_id -> active_revision.id 2020-07-23 15:07:25 +02:00
Paul Chavard
85a629399d
Merge pull request #5412 from betagouv/dev
2020-07-23-01
2020-07-23 14:42:48 +02:00
Judith
19fa9e3f2e toggle-switch created and added in the patron 2020-07-23 11:22:57 +02:00
Paul Chavard
fb3e69aa2a
Merge pull request #5410 from tchak/fix-revision-migration-job
Fix revision migration job
2020-07-23 10:51:43 +02:00
Paul Chavard
7d421d471c Fix revision migration job 2020-07-23 09:56:34 +02:00
Paul Chavard
8b9e73a30a
Merge pull request #5382 from adullact/feat_status-page-customisation
#5379 - Allow status page URL to be configured in the .env file
2020-07-22 22:10:58 +02:00
Paul Chavard
8094dde25f
Merge pull request #5407 from betagouv/dev
2020-07-22-01
2020-07-22 13:26:52 +02:00
Paul Chavard
d55bc3cc7a
Merge pull request #5406 from tchak/revisions-fixes
Différent fix lié au types_de_champ (surtout révisions)
2020-07-22 12:35:51 +02:00
Paul Chavard
a08e318617 Add implicit_order_column on revisions 2020-07-22 12:25:06 +02:00
Paul Chavard
733b8bd904 Add published revision to all non brouillon procedures 2020-07-22 11:27:49 +02:00
Paul Chavard
87a1661cdc fix prop type error 2020-07-22 11:10:14 +02:00
Paul Chavard
69ab2e44fb Insert type_de_champ with correct initial position 2020-07-22 11:09:51 +02:00
Paul Chavard
3193784c24 Remove unused revision_id from payload 2020-07-22 11:09:06 +02:00
Paul Chavard
ad4dff819e fix type_de_champ controller move param 2020-07-22 11:08:06 +02:00
Christophe Robillard
5950f6c93c fix demarches active link when action of procedures_controller 2020-07-22 10:04:32 +02:00
Paul Chavard
e493bfbf31
Merge pull request #5303 from tchak/add-revisions
Add revision migration and models
2020-07-21 19:46:16 +02:00
Paul Chavard
58535c6a35 Add procedure revisions spec 2020-07-21 19:35:30 +02:00
Paul Chavard
0338080430 Remove unused procedure move type_de_champ code 2020-07-21 19:35:30 +02:00
Paul Chavard
d18a9c8162 Migrate procedures “on demand” 2020-07-21 19:35:30 +02:00
Paul Chavard
0a0912503b Add type_de_champ mutation methods to revision 2020-07-21 19:35:30 +02:00
Paul Chavard
bc09b61684 Add migration service and task 2020-07-21 19:35:30 +02:00
Paul Chavard
9de917592b Add revisions models and relationships 2020-07-21 19:35:30 +02:00
Paul Chavard
35461f0159 Add revisions migrations 2020-07-21 19:35:30 +02:00
Pierre de La Morinerie
213e325a8a
Merge pull request #5401 from betagouv/fix/5287-champs
Administrateur : indique plus clairement si des champs de formulaire ont été ajouté à la démarche
2020-07-21 18:23:41 +02:00