Commit graph

5659 commits

Author SHA1 Message Date
gregoirenovel
b9a32633bb Rename a file with a more explicit filename 2018-09-05 10:09:59 +02:00
gregoirenovel
81e94ca631 Improve _status.html.haml 2018-09-05 10:09:59 +02:00
gregoirenovel
a64bfd41e2
Merge pull request #2514 from betagouv/commentaire-service
gestionnaire: move commentaire creation into a service
2018-09-05 09:54:46 +02:00
Pierre de La Morinerie
750e1e0c83 gestionnaire: move commentaire creation into a service 2018-09-04 18:52:43 +02:00
gregoirenovel
d31cc04b23
Merge pull request #2513 from betagouv/fix-warnings
Fix FactoryBot warnings
2018-09-04 16:56:56 +02:00
gregoirenovel
f66d8451b1 Fix FactoryBot warnings 2018-09-04 16:46:48 +02:00
gregoirenovel
12014fb553
Merge pull request #2512 from betagouv/envs-cleanup
Envs cleanup
2018-09-04 16:23:27 +02:00
gregoirenovel
a7095b28b4 Stop using Rails.env.xxx? methods when not relevant 2018-09-04 16:07:59 +02:00
gregoirenovel
b2dc502ed5 Use an env var for Carrierwave's cache_dir 2018-09-04 16:07:59 +02:00
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