Commit graph

5450 commits

Author SHA1 Message Date
gregoirenovel
e93f57763e
Merge pull request #2511 from betagouv/bump-ffi
Bump FFI to fix a CVE
2018-09-04 15:04:26 +02:00
gregoirenovel
49ce7a14c7 Bump FFI to fix a CVE 2018-09-04 14:52:43 +02:00
Pierre de La Morinerie
9880546d0c
Merge pull request #2502 from betagouv/check-env-vars
initializers: check at runtime that env vars declared in env.example are present
2018-09-04 10:43:47 +02:00
Pierre de La Morinerie
b4aadf43cd initializers: check that env vars declared in env.example are present
If an environment variable is declared in `config/env.example`, but not
present in the actual environment, the server initialization will raise
an exception.

Empty strings are allowed (because some values are relevant only in
development or production).
2018-09-04 10:20:20 +02:00
Pierre de La Morinerie
c443ef044d
Merge pull request #2510 from betagouv/bump-gems
Bump gems
2018-09-04 10:15:38 +02:00
gregoirenovel
4afc5fd443 Bump test gems
- factory_bot (4.10.0 → 4.11.0)
2018-09-03 21:41:18 +02:00
gregoirenovel
a6702b5889 Bump development gems
- web-console (3.6.2 → 3.7.0)
2018-09-03 21:41:18 +02:00
gregoirenovel
2acbef4d76 Bump default gems
- chartkick (2.3.5 → 3.0.1)
- devise (4.4.3 → 4.5.0)
- pg (1.0.0 → 1.1.2)
- rails (5.2.0 → 5.2.1)
- turbolinks (5.1.1 → 5.2.0)
- uglifier (4.1.17 → 4.1.18)
2018-09-03 21:41:18 +02:00
LeSim
183c251267
Merge pull request #2507 from betagouv/fix-stats
Make the stats code more robust to empty databases
2018-09-03 21:29:38 +02:00
gregoirenovel
d05209d28f Make the stats code more robust to empty databases 2018-09-03 17:35:14 +02:00
Pierre de La Morinerie
4a9cca1756
Merge pull request #2505 from betagouv/update-env
Update env
2018-09-03 17:13:48 +02:00
gregoirenovel
589127fd4c Remove now useless secrets 2018-09-03 17:08:32 +02:00
gregoirenovel
409d4f4b1b Remove useless anchor in secrets.yml 2018-09-03 17:08:32 +02:00
gregoirenovel
6d153dce46 Populate some env vars 2018-09-03 17:08:32 +02:00
gregoirenovel
a23418f12b Move the local db conf to env.example 2018-09-03 17:08:32 +02:00
gregoirenovel
e4f4f5be8c Move some conf to env.example 2018-09-03 17:08:32 +02:00
gregoirenovel
08df16c6f8 Add missing env vars 2018-09-03 17:08:32 +02:00
gregoirenovel
abc3a4f817 Remove a now unused env var 2018-09-03 16:20:54 +02:00
gregoirenovel
c94c6b8fad
Merge pull request #2504 from betagouv/new-url
Remove an env var
2018-09-03 16:16:18 +02:00
gregoirenovel
df742421a8 Remove an env var 2018-09-03 16:13:38 +02:00
Pierre de La Morinerie
994ecf8cb4
Merge pull request #2501 from betagouv/install-and-upgrade-scripts
Utilise bin/setup et bin/update pour créer et maintenir l'environnement de développement
2018-09-03 14:53:13 +02:00
Pierre de La Morinerie
d690735223 README: recommand bin/update to update the development environment 2018-09-03 14:33:26 +02:00
Pierre de La Morinerie
46d04fc131 README: recommand bin/setup to initialize a development environment 2018-09-03 14:31:48 +02:00
Pierre de La Morinerie
a89cfe7904 setup: use overmind to start the application server 2018-09-03 14:31:48 +02:00
Pierre de La Morinerie
18fd99c1f2 setup: explain what initializing the database does 2018-09-03 14:31:48 +02:00
Pierre de La Morinerie
2e536e90f2 setup: initialize .env file 2018-09-03 14:31:48 +02:00
Pierre de La Morinerie
2f1e47a7a5 setup: install mailcatcher 2018-09-03 14:31:48 +02:00
Pierre de La Morinerie
f52822b75b update: install yarn dependencies 2018-09-03 14:31:41 +02:00
Pierre de La Morinerie
291baad96b update: don't restart the server
The server is typically started using `overmind start`: better to
handle the update and the startup separately.
2018-09-03 14:31:36 +02:00
Pierre de La Morinerie
a33e2cd3fb update: don't clear tmp files
There is no strict need for this, and cached files take a long time
to be regenerated when restarting the server.
2018-09-03 14:31:30 +02:00
Pierre de La Morinerie
20df107620 update: update yarn dependencies 2018-09-03 14:31:23 +02:00
gregoirenovel
f4e8d575b4
Merge pull request #2500 from betagouv/improve-browser-banner
Improve browser banner
2018-09-03 12:01:35 +02:00
gregoirenovel
e927f56e0d Use a proper HAML comment 2018-09-03 11:41:25 +02:00
gregoirenovel
bdb961f280 Rename support-navigator-banner to outdated-browser-banner 2018-09-03 11:41:03 +02:00
gregoirenovel
1b545123fa Improve the outdated browser support banner style
- In the new design, it is now at the top of the
  page
- In the new design, it no longer covers up the UI
- In the new design, the text is now left-aligned
  which makes it easier to read
- In the new design, its height has been reduced
  which makes it less annoying
2018-09-03 11:35:08 +02:00
gregoirenovel
f13533ad01
Merge pull request #2495 from betagouv/deletion-warning
Improve deletion warning text
2018-08-31 15:48:38 +02:00
gregoirenovel
75ee41b7fa [Fix #2494] Improve deletion warning text 2018-08-31 15:41:51 +02:00
gregoirenovel
23e3409247
Merge pull request #2497 from tchak/fix-safari-js
Fix safari bug
2018-08-31 14:52:39 +02:00
Paul Chavard
72dded2a5a Fix safari bug
Fix #2452
2018-08-31 11:58:33 +01:00
gregoirenovel
e9304da275
Merge pull request #2496 from betagouv/pj-warning
Add a warning in the attachements part of the form
2018-08-31 10:56:34 +02:00
gregoirenovel
66af573ca4 Add a warning in the attachements part of the form 2018-08-31 00:10:16 +02:00
Frederic Merizen
acfbba69c6
Merge pull request #2492 from betagouv/frederic/fix-1946/show-retention-time-to-users
[#1946] Show data retention time in footer
2018-08-30 18:14:51 +02:00
Frederic Merizen
559d080ca6 [#1946] Show data retention time in footer 2018-08-30 18:03:01 +02:00
gregoirenovel
6c1aee7d63
Merge pull request #2488 from tchak/improve-contact-form
Improve contact form
2018-08-30 16:23:58 +02:00
Paul Chavard
4866f9724a Add support controller send_form tests 2018-08-30 15:16:35 +01:00
Paul Chavard
5d5a356ade Cleanup contact_link helper 2018-08-30 15:12:50 +01:00
Paul Chavard
8e88f2c27f Cleanup support controller tests 2018-08-30 15:12:50 +01:00
Paul Chavard
0c582197da Do not send messages to brouillon dossier 2018-08-30 15:12:50 +01:00
Paul Chavard
854bc62caa Fix class name 2018-08-30 15:12:50 +01:00
Paul Chavard
ea5248dde1 Flatten tags list, cast to array and remove blank elements 2018-08-30 15:12:50 +01:00