Commit graph

6305 commits

Author SHA1 Message Date
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
simon lehericey
4f1cc8a2f0 Rubocop: add TimeZone rule 2018-10-26 10:10:20 +00:00
gregoirenovel
c0b79bf4ed
Merge pull request #2911 from betagouv/frederic/fix_overmind_port
Force port to 3000 when running on overmind
2018-10-26 11:27:20 +02:00
Frederic Merizen
5853ed94f5 Force port to 3000 when running on overmind
On development machines

- overmind + unicorn defaulted to port 3000
- overmind + puma defaults to port 5000

Forcing port 3000 rather than changing the readme and configuration
2018-10-26 11:05:04 +02:00
Paul Chavard
7934294e3e
Merge pull request #2910 from tchak/demarche-en-test-banner
Show warning on dossier pages when procedure is brouillon
2018-10-25 19:42:24 +02:00
Paul Chavard
fba0fad22e Show warning on dossier pages when procedure is brouillon 2018-10-25 18:05:47 +02:00
LeSim
ad66c1e30d
Merge pull request #2904 from betagouv/change_storage_url
Conf: storage.apientreprise.fr -> static.demarches-simplifiees.fr
2018-10-25 17:10:26 +02:00
simon lehericey
b00dec4bf6 Conf: storage.apientreprise.fr -> static.demarches-simplifiees.fr 2018-10-25 17:05:22 +02:00
gregoirenovel
459816a0ab
Merge pull request #2906 from betagouv/webhook-doc
Webhook doc
2018-10-25 14:50:25 +02:00
gregoirenovel
fed1f05456 Add CADRE_JURIDIQUE_URL 2018-10-25 14:45:13 +02:00
gregoirenovel
394524b397 Improve the webhook description 2018-10-25 14:45:13 +02:00
gregoirenovel
cfc58000c6 Improve urls.rb 2018-10-25 14:45:13 +02:00
Frederic Merizen
02697948ed
Merge pull request #2897 from betagouv/frederic/fix_2675_sort_by_notification
Corrige le tri par notification sur l’onglet « tous les dossiers »
2018-10-24 17:20:11 +02:00
Frederic Merizen
64cb231b01 [#2675] Fix notification sort order 2018-10-24 17:10:30 +02:00
Frederic Merizen
02f4ef215a [#2675] Make dossiers_id_with_notifications public 2018-10-24 17:10:30 +02:00
Frederic Merizen
dfdcfc62e2 [#2675] Make dossiers_id_with_notifications self-contained 2018-10-24 17:10:30 +02:00
gregoirenovel
7466557b1f
Merge pull request #2901 from betagouv/deploy
Improve the deploy scripts
2018-10-24 16:05:47 +02:00
gregoirenovel
5b32638502 Order shared_dirs by alphabetic order 2018-10-24 16:00:49 +02:00
gregoirenovel
a90232e57b Order require statements by alphabetic order 2018-10-24 16:00:49 +02:00
gregoirenovel
f60ff02394 Improve readability 2018-10-24 16:00:49 +02:00
gregoirenovel
21028bd97b Extract a task to make things more atomic 2018-10-24 16:00:49 +02:00
gregoirenovel
1c55a38e81 Move variable definition to the top 2018-10-24 16:00:49 +02:00
gregoirenovel
4026984852 Move a comment in the comment block 2018-10-24 16:00:49 +02:00
gregoirenovel
7559653062 Make the comments-code order match 2018-10-24 16:00:49 +02:00
gregoirenovel
70a3b9737c Improve a comment 2018-10-24 16:00:49 +02:00
gregoirenovel
b9c91cbab4 Factorize some code 2018-10-24 16:00:49 +02:00
gregoirenovel
fda1218a5f Keep the same order between shared_dirs and setup 2018-10-24 16:00:48 +02:00
gregoirenovel
883c981165 Group single-line parameter definitions 2018-10-24 16:00:48 +02:00
gregoirenovel
db540471d4 Remove a duplicated comment 2018-10-24 16:00:48 +02:00
gregoirenovel
eb6132b5cb Move the setup task before the deploy task 2018-10-24 16:00:47 +02:00
gregoirenovel
916dd17873 domains_from_env → domains_for_stage 2018-10-24 16:00:07 +02:00
gregoirenovel
000d19b1f6
Merge pull request #2900 from tchak/fix-cart-selection-param
Fix old carto exception when no selection is passed
2018-10-24 14:00:28 +02:00
Paul Chavard
72db9084a8 Fix old carto exception when no selection is passed 2018-10-24 13:16:50 +02:00
LeSim
5b8c64081e
Merge pull request #2895 from betagouv/puma
Puma
2018-10-24 12:30:00 +02:00
simon lehericey
d4b3f829b6 Deploy: update description 2018-10-24 12:22:33 +02:00
simon lehericey
c616f6e5b8 Deploy: improve layout 2018-10-24 12:22:33 +02:00
simon lehericey
6e8473e6c1 Deploy: move print and use puts 2018-10-24 12:22:33 +02:00
simon lehericey
a1d813aff4 Deploy: use fetch 2018-10-24 12:22:33 +02:00
simon lehericey
e63ba1b9cb Deploy: use domains_from_env for setup 2018-10-24 12:22:33 +02:00
simon lehericey
47697c5881 Deploy: extract domains_from_env function 2018-10-24 12:22:33 +02:00
simon lehericey
d3c74897f1 Deploy: use prod keyword for prod stage 2018-10-24 12:22:33 +02:00
simon lehericey
1433331fb5 Deploy: branch base on BRANCH var 2018-10-24 12:22:33 +02:00
simon lehericey
9ee1119656 Deploy: STAGE_NAME -> STAGE 2018-10-24 12:22:33 +02:00
simon lehericey
07ecb2509b case 2018-10-24 12:22:33 +02:00
Mathieu Magnin
8316ab8e51 When deploying read stage from environment 2018-10-24 12:22:33 +02:00
simon lehericey
e41a597386 circleci: remove deploy 2018-10-24 12:22:33 +02:00
Mathieu Magnin
bffeeaf954 Configure mina for new infra 2018-10-24 12:22:33 +02:00
Mathieu Magnin
3c9182d41d Update Mina 2018-10-24 12:22:33 +02:00
Mathieu Magnin
d0a8cedbe2 Unicorn -> Puma 2018-10-24 12:22:33 +02:00