Commit graph

5580 commits

Author SHA1 Message Date
Paul Chavard
2500cd516b Use delegation in SIRET champ code 2018-08-22 16:42:55 +02:00
Paul Chavard
e8e62b0e63 Remove unused modules from old design 2018-08-22 16:42:46 +02:00
Paul Chavard
a17fb60aea Include select2 from the file where it is used 2018-08-22 16:42:29 +02:00
Paul Chavard
a362e77b82
Merge pull request #2430 from tchak/jquery-csrf
Add csrf token protection to jQuery initiated requests
2018-08-22 12:35:37 +00:00
Paul Chavard
1109a4500f Add csrf token protection to jQuery initiated requests 2018-08-22 14:13:10 +02:00
Paul Chavard
9ea36717ec
Merge pull request #2437 from betagouv/improve-2342
Improve #2342
2018-08-22 12:11:44 +00:00
gregoirenovel
1fb3f516bf Add a new color variable 2018-08-22 11:23:06 +02:00
gregoirenovel
e6442436ba Remove a space before a final period 2018-08-22 11:23:06 +02:00
gregoirenovel
af56e73572 Open the browser-update.org link in a new tab 2018-08-22 11:21:00 +02:00
gregoirenovel
0b7060d48b Improve the outdated browser message 2018-08-22 11:21:00 +02:00
gregoirenovel
9c94308209 Enforce a minimum Edge version 2018-08-22 11:20:52 +02:00
gregoirenovel
3d14ae418f Unify the syntax in browser.rb 2018-08-22 11:20:39 +02:00
gregoirenovel
fad18d6173 Update the minimum browsers versions 2018-08-21 18:21:14 +02:00
gregoirenovel
c19f6a2416 Add Opera constraint to .babelrc 2018-08-21 18:21:03 +02:00
gregoirenovel
1a1fe4b283 Use >= in .babelrc 2018-08-21 18:19:16 +02:00
gregoirenovel
e0bb0ac7b6 Use the proper product name 2018-08-21 18:05:09 +02:00
gregoirenovel
61099282ea
Merge pull request #2411 from tchak/activate-dotenv-in-all-envirenements
Activate dotenv in all envirenements
2018-08-21 16:22:09 +02:00
Paul Chavard
f4f3a302b9 Do not rely on rails env to detect staging 2018-08-21 15:43:06 +02:00
Paul Chavard
ebc7044743 Get app url from ENV 2018-08-21 15:42:06 +02:00
Paul Chavard
ebe3be40fa Add .env example file and instructions 2018-08-21 15:41:16 +02:00
Mathieu Magnin
20a3f86729 Dotenv-rails should be defined a the very top of the gemfile 2018-08-21 15:41:06 +02:00
Paul Chavard
be2c75d3c0
Merge pull request #2413 from tchak/do-no-deploy-features-file
Do not deploy features.yml file
2018-08-21 10:03:27 +00:00
Paul Chavard
8ed80f6310 Do not deploy features.yml file 2018-08-21 10:24:57 +02:00
Paul Chavard
e1346be4f8
Merge pull request #2417 from betagouv/tab-item-helper
views: add `tab_item` and `active_tab_item` helpers
2018-08-16 16:05:43 +00:00
Pierre de La Morinerie
2e762e268e views: add tab_item and active_tab_item helpers 2018-08-16 16:36:37 +02:00
Paul Chavard
6b9d36fbfd
Merge pull request #2405 from tchak/fix-lograge
Remove logstasher and add custom job structured logger
2018-08-16 12:20:02 +00:00
Paul Chavard
40a1e22cc9 Remove logstasher and add custom job structured logger 2018-08-16 12:26:13 +02:00
Paul Chavard
2977e4af10
Merge pull request #2406 from tchak/enable-env-file
Enable env file on deploy
2018-08-16 10:26:00 +00:00
Paul Chavard
c95bd2d180 Enable env file on deploy 2018-08-16 12:16:51 +02:00
Pierre de La Morinerie
b018984167
Merge pull request #2409 from tchak/fix-js-error
Fix js error from calling inexistent function
2018-08-16 12:07:15 +02:00
Paul Chavard
7724a48cee Fix js error from calling inexistent function 2018-08-16 11:59:18 +02:00
Pierre de La Morinerie
61c5a939e4
Merge pull request #2392 from tchak/remove-unused-js
Remove unused JavaScript
2018-08-14 17:11:15 +02:00
Paul Chavard
13470e9781 Remove unused JavaScript 2018-08-14 17:03:00 +02:00
Paul Chavard
0f5ae8eea6
Merge pull request #2400 from tchak/fix-test-dossier-page
Fix test dossier page
2018-08-14 14:55:09 +00:00
Paul Chavard
097b06e314 Fix test dossier page 2018-08-14 16:47:31 +02:00
Pierre de La Morinerie
8bd418e122
Merge pull request #2402 from tchak/refactor-procedure-show
Refactor publish dialog
2018-08-14 16:46:50 +02:00
Paul Chavard
b57c22cafe Refactor publish dialog 2018-08-14 16:39:11 +02:00
Pierre de La Morinerie
559984c351
Merge pull request #2399 from tchak/remove-references-to-test-procedures
Remove references to `test_procedure`
2018-08-14 16:37:53 +02:00
Paul Chavard
aec02a9b8a Remove references to test_procedure 2018-08-14 16:30:43 +02:00
Pierre de La Morinerie
f0c415389f
Merge pull request #2377 from betagouv/landing_page_administration
separates the homepage into two parts, users/administrations
2018-08-14 16:18:13 +02:00
lucien mollard
0f790c4b07 separates the homepage into two parts, users/administrations 2018-08-14 16:12:51 +02:00
Paul Chavard
1c87814d17
Merge pull request #2401 from betagouv/dossier-form-tab
[Détails d'un dossier] Onglet "Formulaire"
2018-08-14 13:39:06 +00:00
Pierre de La Morinerie
af95e56b50 dossier: add a page with the form 2018-08-14 15:25:27 +02:00
Pierre de La Morinerie
86539413ee gestionnaire: move dossier partials to a shared location 2018-08-14 15:06:44 +02:00
Pierre de La Morinerie
c286e5fa41 specs: improve dossier details tests 2018-08-14 15:06:44 +02:00
Pierre de La Morinerie
4714fc64e7 dossier: make "show" a standalone page 2018-08-14 15:06:44 +02:00
Pierre de La Morinerie
efd29ab174 dossier: fix the width of the status explanation 2018-08-14 15:06:44 +02:00
Paul Chavard
bac6eee379
Merge pull request #2394 from betagouv/fix-dossier-spec-timecop
specs: fix order-dependant tests in spec/models/gestionnaire_spec.rb
2018-08-14 09:58:43 +00:00
Pierre de La Morinerie
242f9d0af7 specs: fix order-dependant tests in spec/models/gestionnaire_spec.rb
Test run that would fail randomly before:

```
bin/rspec --seed 10002 spec/models/dossier_spec.rb spec/models/gestionnaire_spec.rb
```
2018-08-14 11:48:54 +02:00
Pierre de La Morinerie
dd252b515b
Merge pull request #2390 from betagouv/fix-activestorage
javascript: transpile activestorage files (instead of copying them)
2018-08-14 11:48:31 +02:00