Frederic Merizen
41734092b2
[ #1421 ] Move type specific for_export code to typed champs
2018-06-19 15:20:01 +02:00
Frederic Merizen
ee8616fb97
[ #1421 ] Move type specific to_s implementations to typed champs
2018-06-19 15:20:01 +02:00
Frederic Merizen
c2f199c5aa
[ #1421 ] Move piece justificative specific validation to PieceJustificativeChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
c690d3819e
[ #1421 ] Move type-specific before_save to typed champs
2018-06-19 15:20:01 +02:00
Mathieu Magnin
fac9c6cf47
Merge pull request #2120 from betagouv/dev
...
MEP 2016-06-19-01
2018-06-19 14:37:19 +02:00
gregoirenovel
75bdb8c4bc
Merge pull request #2119 from betagouv/ui-fixes
...
UI fixes
2018-06-19 13:57:01 +02:00
Pierre de La Morinerie
426e61777c
dossier: make the "Save changes" button title more meaningful
2018-06-19 13:46:43 +02:00
Pierre de La Morinerie
a4382ac198
dossiers: asterisque
-> astérisque
2018-06-19 13:46:43 +02:00
Pierre de La Morinerie
c0da0ba52c
publish-modal: fix the textfield vertical alignement
2018-06-19 13:46:43 +02:00
Frederic Merizen
69ae3fc341
Merge pull request #2114 from betagouv/frederic/fix_1568-nouvel_apercu_procedure
...
fix #1568 nouvel aperçu procédure
2018-06-19 12:47:46 +02:00
Frederic Merizen
bdece939c8
[ #1568 ] Inline partial that is only used in one view
2018-06-19 12:42:46 +02:00
Frederic Merizen
521aec6af9
[ #1568 ] Remove old previsualisation code
2018-06-19 12:42:46 +02:00
Frederic Merizen
fd10310cbf
[ Fix #1568 ] Use new procedure preview
2018-06-19 12:42:46 +02:00
Frederic Merizen
f614e88a99
Merge pull request #2098 from betagouv/fred/support_tooling
...
Support script to change procedure ownership
2018-06-19 12:26:38 +02:00
Frederic Merizen
14ef163a13
Support script to change procedure ownership
2018-06-19 12:14:17 +02:00
Mathieu Magnin
150cc4a636
Merge pull request #2102 from betagouv/dossier_deletion_done_right
...
Dossier deletion done right
2018-06-19 11:50:00 +02:00
Mathieu Magnin
ae6e3e345e
Task to unhide dossiers with instruction commencee
2018-06-19 10:05:00 +02:00
Mathieu Magnin
89f82ba92e
Move email sending in delete method
2018-06-19 10:05:00 +02:00
Mathieu Magnin
e05fb2d0ae
Allow dossier deletion if instruction has not started
2018-06-19 10:05:00 +02:00
Mathieu Magnin
e588195001
Merge pull request #2108 from betagouv/pimp-checkboxes
...
Pimp checkboxes
2018-06-19 10:04:23 +02:00
Pierre de La Morinerie
3ba5d654ba
editable_champs: move the label near the checkbox
2018-06-18 18:12:11 +02:00
Mathieu Magnin
43bbbacd59
Merge pull request #2087 from kemenaran/default-config-files
...
Ajoute les fichiers de configuration par défaut à `/config`
2018-06-18 14:16:46 +02:00
Pierre de La Morinerie
2cfa1b441d
config: add default config files to the source
2018-06-18 13:13:59 +02:00
Mathieu Magnin
b652e93e2e
Merge branch 'dev'
2018-06-18 11:26:09 +02:00
Mathieu Magnin
c4031b7dc4
Merge pull request #2079 from betagouv/frederic/fix_2068-french_mails
...
[Fix #2068 ] Use mail templates from application rather than devise
2018-06-18 10:53:26 +02:00
Frederic Merizen
78fa6945cb
[ #2068 ] Use official French word for mail
2018-06-18 10:42:04 +02:00
Frederic Merizen
354c76e26f
[ #2068 ] Remove duplicate devise translations
2018-06-18 10:42:04 +02:00
Frederic Merizen
dd4e6eaa11
[ #2068 ] Add missing devise translations
2018-06-18 10:42:04 +02:00
Frederic Merizen
bae7a2dd3c
[ Fix #2068 ] Use mail templates from application rather than devise
...
`default template_path:` was the documented way, but wasn’t working
(and there was no hint in the source code of Devise that it could
work)
Therefore, let’s override `template_paths` instead and stop worrying
2018-06-18 10:42:03 +02:00
Mathieu Magnin
41dbd9d599
Merge pull request #2111 from betagouv/no-seed
...
deploy: don't seed the database
2018-06-18 10:26:23 +02:00
Pierre de La Morinerie
15511d0863
deploy: don't seed the database
...
The database should be seeded only when deploying on a fresh new
environment – like a local setup or a review app.
Persistent testing and production environment shouldn't be seeded.
2018-06-15 12:28:18 +02:00
LeSim
849a093709
Merge pull request #2103 from betagouv/manager_gestionnaire_button
...
Manager: can reinvite a gestionnaire
2018-06-14 17:19:18 +02:00
simon lehericey
eee41cbf39
Manager: can reinvite a gestionnaire
2018-06-14 16:41:10 +02:00
Mathieu Magnin
9797b11b45
Merge pull request #2097 from betagouv/fix-publish-tooltip
...
Correction de l'affichage du tooltip de publication
2018-06-13 13:54:27 +02:00
Pierre de La Morinerie
0bef35946f
procedure: make sentence shorter
...
Before: "Affectez des accompagnateurs à votre procédure.Affectez un
service à votre procédure.
After: "Affectez des accompagnateurs et un service à votre procédure."
2018-06-13 11:59:40 +02:00
Pierre de La Morinerie
367ac0dd5a
procedure: avoid tooltip being hidden by the navbar
2018-06-13 11:59:40 +02:00
Mathieu Magnin
0bd31c6d4f
Merge pull request #2093 from betagouv/rake-verbosity
...
tasks: silence output of tasks during tests
2018-06-13 11:48:29 +02:00
Pierre de La Morinerie
790704ef58
tasks: silence output of tasks during tests
...
Currently, when running specs, the output of rake tasks is spamming
the tests results.
This PR configures Rake so that it runs in quiet mode during specs. This
disables the internal messages of rake during tests.
However our own `puts` also need to be conditionned to the verbosity of
rake. Using a simple `rake_puts` helper allows the info messages to be
displayed when running the rake task manually, but not during tests.
Before:
```
$ bin/rspec spec/lib/rake
Randomized with seed 6544
1 Mails::ClosedMail to clean
cleaning Mails::ClosedMail #1
1 Mails::InitiatedMail to clean
cleaning Mails::InitiatedMail #1
1 Mails::ReceivedMail to clean
cleaning Mails::ReceivedMail #1
1 Mails::RefusedMail to clean
cleaning Mails::RefusedMail #1
1 Mails::WithoutContinuationMail to clean
cleaning Mails::WithoutContinuationMail #1
.....Champ 0/1
.Champ 0/1
.
```
After:
```
$ bin/rspec spec/lib/rake
Randomized with seed 6544
.......
```
2018-06-13 11:05:15 +02:00
Mathieu Magnin
0490e58d0b
Merge pull request #2088 from kemenaran/initial-user
...
Crée l'utilisateur initial dans les seeds
2018-06-13 11:04:43 +02:00
Pierre de La Morinerie
e50cc68e75
Rakefile: move first user creation to db/seeds.rb
2018-06-13 10:58:23 +02:00
Pierre de La Morinerie
b0c5d8ec66
Rakefile: add task to create initial users
2018-06-13 10:58:11 +02:00
Mathieu Magnin
f2ebf48564
Merge pull request #2090 from betagouv/binstubs
...
README: always use binstubs
2018-06-13 10:51:24 +02:00
Pierre de La Morinerie
b8328b90e6
README: always use binstubs
...
Otherwise we use the gem installed globally, which may not be the same
version as the gem defined in the project Gemfile.
2018-06-13 10:45:19 +02:00
Mathieu Magnin
9960d2bb5d
Merge pull request #2095 from betagouv/frederic/fix-procedures-show
...
Remove erroneous space in haml
2018-06-13 10:26:28 +02:00
Frederic Merizen
fd2fd83aac
Remove erroneous space in haml
2018-06-13 10:21:57 +02:00
Frederic Merizen
92afd15b13
Merge pull request #2092 from betagouv/frederic/fix_2089-validation_message
...
[Fix #2089 ] Add missing validation message
2018-06-13 09:40:42 +02:00
Mathieu Magnin
e32ec39540
Merge pull request #2091 from betagouv/dev
...
MEP 2018-06-12-01 🚀
2018-06-12 17:12:58 +02:00
Frederic Merizen
07b6089950
[ Fix #2089 ] Add missing validation message
2018-06-12 16:36:26 +02:00
Mathieu Magnin
8bb4343b90
Merge pull request #2046 from betagouv/antivirus
...
Antivirus async
2018-06-12 15:30:14 +02:00
Mathieu Magnin
aad109e376
Add task to scan old champs pj
2018-06-12 15:12:40 +02:00