clemkeirua
dfefb827d9
missing connect-src
2019-07-02 10:50:10 +02:00
clemkeirua
d6f2de2fbf
enable static + activate csp in production
2019-07-02 09:40:38 +02:00
clemkeirua
eaf850c1e9
enable csp
2019-06-27 11:10:29 +02:00
clemkeirua
f19b5f8911
fix csp rule for crisp websocket
2019-06-26 12:37:55 +02:00
clemkeirua
7064f7e973
enable crisp websockets and css
2019-06-25 17:39:08 +02:00
clemkeirua
d3c6021ef4
add duplicate rules as fallback
2019-06-20 11:34:24 +02:00
clemkeirua
dc6c2e6bc0
add missing elements
2019-06-17 17:05:08 +02:00
Nicolas Bouilleaud
dace9a53d3
Add Universign timestamp API query
2019-06-17 16:16:28 +02:00
clemkeirua
765b10026e
more generic elements to the security policy
2019-06-17 09:51:27 +02:00
Pierre de La Morinerie
d410e31344
active_storage: document the virus scan hooks
2019-05-28 11:39:22 +02:00
Paul Chavard
cc4eba2b36
Less mokey patching
2019-05-21 14:21:42 +02:00
clemkeirua
5cbbbb8d3e
more whitelist for the common domains we use
2019-05-20 09:52:44 +02:00
Paul Chavard
42235e81b1
Use active storage load hook to extend blob
2019-05-16 20:43:01 +02:00
Paul Chavard
348b15f595
Put devtools behind feature flags
2019-05-15 18:10:25 +02:00
clemkeirua
6fe4031b2e
use constant for localhost
2019-05-15 16:33:27 +02:00
clemkeirua
b670b60ac6
changement de l'URI de report-uri
2019-05-15 15:32:00 +02:00
Pierre de La Morinerie
d431eeeb93
carrierwave: fix typo
...
Turns out the `openstack_identity_api_version` has not actually been
filled out for a while, because of a typo.
2019-05-15 14:03:15 +02:00
Chaïb Martinez
3004f96cf5
Add video and webinar URLs to admin pages
...
Fix #3850
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-13 17:47:02 +02:00
clemkeirua
675cc5150c
update on the security policy headers
2019-05-09 14:55:21 +02:00
clemkeirua
64b858ef19
handle Gon + add report-uri URL
2019-05-06 10:07:51 +02:00
clemkeirua
8582b08a98
add security policy
2019-05-06 10:07:51 +02:00
Paul Chavard
f113d108c9
Save virus scan status to blob metadata
2019-05-02 15:58:09 +02:00
Paul Chavard
b9be186d2c
Sentry should send environment information
2019-04-03 18:19:16 +02:00
Paul Chavard
51c79ba6a6
Update webpacker and replace vue with react
2019-04-03 14:38:07 +02:00
Frederic Merizen
98713b6a4d
Proxy for SendinBlue API
2019-03-08 16:33:28 +01:00
Mathieu Magnin
1eed114d78
Add status page in footer
2019-03-05 17:42:00 +01:00
simon lehericey
2920769a68
ActiveStorage: temp url are valid for 1 hour
2019-02-28 18:36:28 +01:00
Pierre de La Morinerie
283f110e9b
stats: improve numeric separators and suffixes
2019-02-01 11:02:37 +01:00
Pierre de La Morinerie
3b92fe93fc
stats: make groupdate week start on Monday
2019-01-10 16:14:14 +01:00
gregoirenovel
5fa5f2aa37
Bump development gems
...
- rubocop (0.61.1 → 0.62.0)
2019-01-05 11:47:55 +01:00
gregoirenovel
0596d53ac2
Enable the Lint/UnusedBlockArgument cop
2019-01-03 10:53:50 +01:00
gregoirenovel
8ffcc16ec5
Avoid EOL ifs
2019-01-03 10:53:50 +01:00
gregoirenovel
7ffe40868b
Use parentheses
2019-01-03 10:53:50 +01:00
pedong
ef1c17beaa
[ Fix #3056 ] get url api in the environment variable
2018-11-27 14:47:10 +01:00
gregoirenovel
dffd132564
Remove a useless file
2018-11-22 01:51:55 +01:00
Frederic Merizen
d901cb286b
[ #2180 ] Bump fog-openstack
2018-11-16 11:11:39 +01:00
Frederic Merizen
6da33f2387
[ #2180 ] Drop fog
2018-11-16 11:11:39 +01:00
Chaïb Martinez
8d02b4dbdf
Add Matomo Suivi page
2018-11-08 14:25:37 +01:00
pengfei
7950597bf5
[ fix #2858 ] env api geo
2018-11-06 12:54:01 +01:00
simon lehericey
b00dec4bf6
Conf: storage.apientreprise.fr -> static.demarches-simplifiees.fr
2018-10-25 17:05:22 +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
Paul Chavard
7ffbe417f9
Add ApiGeo RPG adapter
2018-10-23 18:13:44 +02:00
Paul Chavard
ed46e2c3be
Use Typhoeus in ApiGeo adapter
2018-10-23 18:13:44 +02:00
Chaïb Martinez
535fe6d13a
Link directly to the instructeur tutorial in the instructeur email
2018-10-23 11:23:24 +02:00
Chaïb Martinez
796ff972e6
Add a webinaire registration CTA at the end of the admin email
2018-10-23 11:23:24 +02:00
Chaïb Martinez
e8dd6b00bf
Link to the admin tutorial instead of the doc
2018-10-23 11:23:24 +02:00
gregoirenovel
442b4a241b
Make API_ADRRESSE_URL canonical
2018-10-15 20:55:46 +02:00
gregoirenovel
9156acb839
Use double quotes in urls.rb
2018-10-15 20:55:46 +02:00
gregoirenovel
bf63e7d6ab
Use HTTPS for the API Adresse URL
2018-10-15 20:55:46 +02:00
gregoirenovel
a7a6898ce3
Constantize the API Adresse URL
2018-10-15 20:55:46 +02:00
gregoirenovel
f3caa8ef7f
Remove apipie (and maruku)
2018-10-09 17:23:07 +02:00
gregoirenovel
a1bab24681
Change the link to the API documentation
2018-10-09 17:23:07 +02:00
gregoirenovel
a171186dd8
Enable Style/TrailingCommaInHashLiteral
2018-10-03 12:03:21 +02:00
gregoirenovel
6eeba14885
Enable Style/WordArray
2018-10-03 12:03:21 +02:00
Mathieu Magnin
5d6f8de5a0
[ Fix #1285 ] Add a custom dictionary for zxcvbn
2018-09-26 09:02:59 +02:00
gregoirenovel
5db408efdb
[ Fix #1511 ] Remove the now obsolete DS logo
2018-09-24 12:16:58 +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
gregoirenovel
df742421a8
Remove an env var
2018-09-03 16:13:38 +02:00
Paul Chavard
c67f8dcaaa
Add after_party
2018-08-30 11:54:54 +01:00
Paul Chavard
c3e2d61d0a
Add helpscout config
2018-08-29 10:41:42 +01:00
gregoirenovel
5085357db9
Improve the formatting of the urls.rb file
2018-08-28 10:44:17 +02:00
gregoirenovel
9284afc649
Use a constant for the API Entreprise URL
2018-08-28 10:44:16 +02:00
gregoirenovel
5f60e204d1
Use parentheses
2018-08-27 09:21:20 +02:00
Paul Chavard
3e23ba5a4f
[ENV] Add lograge config
2018-08-23 15:55:32 +02:00
Mathieu Magnin
907f48e148
[ENV] Configure Raven (Sentry)
2018-08-23 15:55:32 +02:00
Paul Chavard
296e3a9b09
[ENV] Add fog config
2018-08-23 15:55:32 +02:00
Mathieu Magnin
db8e750f1a
[ENV] Configure Api Entreprise token
2018-08-23 15:55:32 +02:00
Mathieu Magnin
5ff869e1bc
[ENV] Add Mailjet conf
2018-08-23 15:55:32 +02:00
Mathieu Magnin
aa0a4cf87f
[ENV] Devise config
2018-08-23 15:55:32 +02:00
Mathieu Magnin
9eb48413b5
[ENV] Active storage config in storage.yml
2018-08-23 15:55:31 +02:00
Mathieu Magnin
8934d495e9
[ENV] GH config in secrets.yml
2018-08-23 15:55:31 +02:00
Mathieu Magnin
238d94cdc3
[ENV] France connect particulier config in secrets.yml
2018-08-23 15:55:31 +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
Paul Chavard
40a1e22cc9
Remove logstasher and add custom job structured logger
2018-08-16 12:26:13 +02:00
Paul Chavard
c7b97073ee
Log backtrace on exceptions
2018-08-13 18:32:00 +02:00
Paul Chavard
9de3e6e74b
Make info extraction method more safe
2018-08-13 18:32:00 +02:00
simon lehericey
839b7627ac
[ fix #2387 ] Rack: increase max multipart number
2018-08-13 17:45:47 +02:00
Paul Chavard
a6a4790a35
Replace logstasher with lograge
2018-08-13 12:44:00 +02:00
simon lehericey
9196a3ef4c
Logstasher: remove bugging initializer
2018-08-10 13:07:41 +02:00
Paul Chavard
a0979b1d57
Fix logstasher custom fields
2018-08-07 16:26:44 +02:00
Pierre de La Morinerie
fdbda30877
javascript: transpile compatible JS for all browsers we support
2018-08-06 17:50:10 +02:00
Pierre de La Morinerie
22b83dd67c
browsers: enforce IE 11 as the minimum required IE version
...
This is already documented in the README, but not enforced.
2018-08-06 16:33:10 +02:00
Paul Chavard
3645c56416
Use Chartkick with defer option
2018-08-01 17:02:30 +02:00
Pierre de La Morinerie
956c3fe36c
Replace hardcoded phone numbers by a CONTACT_PHONE constant
2018-06-25 11:51:15 +02:00
gregoirenovel
23931a7591
Remove the contact_email locale
2018-06-01 00:00:11 +02:00
gregoirenovel
185f08f63e
Add constants for email addresses
2018-06-01 00:00:11 +02:00
gregoirenovel
661010100d
[ Fix #1536 ] Remove stringupcasepatch
2018-05-31 11:49:25 +02:00
simon lehericey
569da996d2
[ fix #1915 ] enable devise paranoid mode
2018-05-23 16:11:03 +02:00
simon lehericey
5bd589344e
Devise: confirm user email
2018-05-23 15:55:52 +02:00
gregoirenovel
a246181afd
Add API_GEO_URL
2018-05-22 19:01:46 +02:00
gregoirenovel
1839269dd9
Add API_CARTO_URL
2018-05-22 18:53:34 +02:00
gregoirenovel
0b35bfffa5
Move constants to urls.rb
2018-05-22 17:35:11 +02:00
gregoirenovel
5757782d29
Fix the mentions legales link
2018-05-22 17:28:17 +02:00
gregoirenovel
a98ab683aa
Update FAQ_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
de201fca04
Add FAQ_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
6ac8d6abf8
Update the DOC_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
b93ec30a2d
Make the GitBook URLs depend on DOC_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
52d878fea8
Remove trailing slash from DOC_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
5126503cfc
Add MENTIONS_LEGALES_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
dc962f0c0a
Add LISTE_DES_DEMARCHES_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
5e2219416e
Add the DOC_URL constant
2018-05-22 17:23:56 +02:00
Mathieu Magnin
3e176d4e08
Remove use of staging.apientreprise
2018-05-09 13:56:29 +02:00
simon lehericey
959ff6be2c
[ fix #1902 ] decrease session timeout to 1 hour
2018-05-02 11:28:18 +02:00
Paul Chavard
d9dbf7b7f9
Remove legacy features support
2018-04-26 16:28:45 +02:00
gregoirenovel
049a2d88b9
Bump rails to 5.2 final
2018-04-24 16:07:19 +02:00
Paul Chavard
71c852fc85
Remove Feature
2018-04-18 16:51:21 +02:00
Paul Chavard
45019ce75c
Use Flipflop instead of Feature
2018-04-18 16:51:21 +02:00
Paul Chavard
27592ae072
Add simple web hooks to procedures
2018-04-09 11:02:24 +02:00
gregoirenovel
c5953f8aef
Use .join to generate urls (unification)
2018-04-09 09:54:10 +02:00
Paul Chavard
45ef32e6d9
Add SIRET Type De Champ
2018-04-05 10:29:29 +02:00
simon lehericey
6a74aaa42a
[ fix #1697 ] Pipedrive: use a job to process an admin creation
2018-03-27 14:52:39 +02:00
simon lehericey
ec3d558af0
Pipedrive: extract methods in service
2018-03-27 14:52:39 +02:00
gregoirenovel
57b42e24e5
SIADEURL -> API_ENTREPRISE_URL
2018-03-19 11:39:46 +01:00
gregoirenovel
658bd95f86
Add a constant to SIADEURL
2018-03-19 11:39:46 +01:00
gregoirenovel
031b9c0bab
Update documentation links to GitBook v2
2018-03-15 09:37:24 +01:00
gregoirenovel
acc2ed5646
Move CGU_URL to a new initializer
2018-03-12 18:13:23 +01:00
gregoirenovel
657b9d2e93
Change link to doc
2018-03-12 17:51:39 +01:00
gregoirenovel
0a9f442260
Enable some Rails cops
2018-03-06 17:18:44 +01:00
gregoirenovel
be5849a7f5
Remove unneeded quotes
2018-03-05 19:21:20 +01:00
gregoirenovel
ad2e418490
Change the cookie key
2018-03-01 10:33:53 +01:00
gregoirenovel
67da280fa0
Change logos that included “tps”
2018-03-01 10:33:53 +01:00
gregoirenovel
fbe431f8dd
Téléprocédures simplifiées -> demarches-simplifiees.fr
2018-03-01 10:33:53 +01:00
gregoirenovel
1b8b6a3274
TPS -> demarches-simplifiees.fr
2018-02-28 18:14:06 +01:00
Paul Chavard
5470141ca4
Moulinette™ STI Champ et TypeDeChamp
2018-02-20 16:13:40 +01:00
Frederic Merizen
18db0ceae9
CleverCloud Cellar Compatible range query
2018-02-15 17:45:27 +01:00
Frederic Merizen
2012a19efa
Disable content type detection for new attachments
2018-02-15 17:03:15 +01:00
gregoirenovel
732af26946
Override the conf for active_storage
2018-02-15 14:30:18 +01:00
gregoirenovel
93d8470321
Put the piece justificative champ behind a feature flag
2018-02-15 12:04:03 +01:00
gregoirenovel
071c459011
Slight refactor of the features flagging code
2018-02-15 11:15:24 +01:00
Frederic Merizen
1dc413e313
[ Fix #1383 ] Force french language for apidoc
...
Also fixes #1389 , #1392 and #1398
2018-02-08 16:20:22 +01:00
Paul Chavard
8a55ac79f1
Remove global BROWSER and use browser helper
2018-02-05 10:35:51 +01:00
Mathieu Magnin
11dbc595c7
Store in constant CGU url
2018-01-29 11:08:19 +01:00
Mathieu Magnin
8b2fc0f8b4
Increase password creation delay
2018-01-29 10:50:32 +01:00
gregoirenovel
5723c4c894
Remove any reference to the SGMAP
2018-01-18 17:39:56 +01:00
Paul Chavard
e42626c588
Add user info to LogStasher
2018-01-18 17:14:42 +01:00
gregoirenovel
02ade68b38
Enable the Layout/SpaceInsideBrackets cop
2018-01-18 10:53:34 +01:00
gregoirenovel
80ed589a17
Use string interpolation
2018-01-16 11:08:57 +01:00
gregoirenovel
99a49a8144
Enable the Layout/IndentHeredoc cop
2018-01-15 22:33:13 +01:00
gregoirenovel
0be657c0d7
Enable the Layout/IndentHash cop
2018-01-15 22:33:12 +01:00
simon lehericey
b35a88ffd4
FC initializers: simplify
2018-01-15 17:14:12 +01:00
simon lehericey
f8519c5345
FC initializers: remove Hashie
2018-01-15 17:08:38 +01:00
Simon Lehericey
0d46f92795
FC: move FC constants under particulier namespace
2018-01-15 16:59:50 +01:00
Mathieu Magnin
e3ec8643db
In manager display libelles with line breaks
2018-01-11 11:03:34 +01:00
Mathieu Magnin
62d8381ef7
Remove will paginate
2018-01-03 14:35:48 +01:00
Mathieu Magnin
7c0fdbc9f8
[ Fix #1096 ] Github Oauth
2017-12-22 11:10:24 +01:00
Simon Lehericey
83d9831183
[ fix #1046 ] Update api entreprise host
2017-12-11 16:02:57 +01:00
Mathieu Magnin
b187e7163a
Remove demo accounts routes
2017-11-16 12:36:58 +01:00
gregoirenovel
316d8e09b5
Allow accompagnateurs to print a Dossier
2017-10-16 09:33:58 +02:00
Mathieu Magnin
7b20395b63
Remove sidekiq traces
2017-09-27 16:47:32 +02:00
Mathieu Magnin
eb2a33138c
Add french inflections rules for nouveau=>nouveaux
2017-09-06 11:11:07 +02:00
Simon Lehericey
a7b00ee847
Rubocop: enable Layout/SpaceAroundOperators
2017-08-28 13:39:13 +02:00
Simon Lehericey
62f1b9c712
Rubocop: enable indentation width rule
2017-08-28 12:20:58 +02:00
Mathieu Magnin
b7dc511a7d
Create a clean application.js file for new design
2017-07-03 14:34:31 +02:00
gregoirenovel
d248afc376
Enable the Layout/ExtraSpacing cop
2017-06-13 10:35:35 +02:00
gregoirenovel
24e7537c49
Enable the Layout/EmptyLinesAroundClassBody cop
2017-06-13 10:35:32 +02:00
gregoirenovel
f1907f4d0e
Enable the Layout/EmptyLinesAroundBlockBody cop
2017-06-13 10:35:23 +02:00
gregoirenovel
f2cf32a15c
Enable the Layout/CommentIndentation cop
2017-06-13 10:35:19 +02:00
gregoirenovel
38e8908986
Fix the colors of the graphs on the Stats page
2017-06-13 10:13:20 +02:00
gregoirenovel
ba865215af
Use the Chartkick colors option
2017-06-07 14:53:10 +02:00
gregoirenovel
627ce150a7
Capture the Chartkick JS and yield it in the layout
...
So that we can include all the JS at the bottom of
the page without error
2017-05-29 15:46:54 +02:00
Mathieu Magnin
72494de76f
Create new model Avis
2017-05-29 11:44:28 +02:00
Simon Lehericey
b48549d765
WeeklyOverviewWorker: add feature flip on worker
...
The main objective is to avoid batch mail sent in staging
2017-05-23 17:12:18 +02:00
Mathieu Magnin
8af72f7b9a
Isolate new design stylesheets
2017-05-17 18:06:53 +02:00
gregoirenovel
8ba55a0d5d
Mutualize the email address in a localised string
2017-05-12 16:53:03 +02:00
gregoirenovel
84ae1a0c0b
Change the email address we send emails with
...
Also add a display name, so that we don't show
just a dumb email address
2017-05-12 13:50:42 +02:00
Simon Lehericey
dc371b83b8
CSS: add new application layout + CSS
...
Without bootstrap!
2017-05-04 18:24:57 +02:00
gregoirenovel
a1ee82f3dd
Indent using spaces, not tabs
2017-04-04 16:59:39 +02:00
gregoirenovel
d1e463b7ab
Files should end with a single new line
2017-04-04 16:59:39 +02:00
gregoirenovel
d5e7bbd80d
Files should end with a new line
2017-04-04 16:59:38 +02:00
Mathieu Magnin
24d17dc0f3
Sidekiq worker to archive procedures automatically + tests
2017-03-15 12:40:59 +01:00
Mathieu Magnin
a88b150c3c
Add remember me on login
2017-03-07 10:29:48 +01:00
Simon Lehericey
6865231a27
Tests: france_connect initializer if not test
2017-02-28 17:01:58 +01:00
Xavier J
5d733c11fd
Delete references @opensimplif
2017-02-13 15:46:28 +01:00
Xavier Julien
3c6ae2d005
Merge pull request #14 from sgmap/customizable-emails
...
Customizable emails
2017-02-13 15:20:04 +01:00
Xavier J
7cd08ec3f9
Merge branch 'develop' into print_css_for_dossier_show
...
# Conflicts:
# app/views/dossiers/_messagerie.html.haml
2017-02-07 17:38:02 +01:00
Mathieu Magnin
34d05e4d9e
Improve the print css for the dossier/show
2017-02-01 14:24:24 +01:00
Mathieu Magnin
c7934b2f97
Send a mail to usager if somebody else wrote a new commentaire on his dossier
2017-01-30 15:17:45 +01:00
Mathieu Magnin
2bc5ee88f7
Change controller name according to model name, add simple_form
2017-01-24 15:53:42 +01:00
Xavier J
cbb5737fdf
new demo link on home page
2017-01-03 10:40:09 +01:00
Xavier J
4a1a23d1d7
Add per page link for smart listing User, Admin and Accompagnateur for follow files
2017-01-02 10:48:47 +01:00
Xavier J
e85cb4c24b
Delete features unified_login
2016-12-16 14:39:17 +01:00
Hugo Lepetit
03bfbb1462
Boyscout initializers
2016-12-14 13:56:56 +01:00
Xavier J
c682387a39
First change connexion navbar
2016-12-01 10:54:25 +01:00
JC
4a5c053ae5
Continue on dossier#show
2016-11-28 18:34:31 +01:00
Xavier J
58df3c3a75
- Continue development Tableau de bord
...
- Optimize toggle block
2016-11-24 19:33:34 +01:00
Xavier J
90cfd3eccb
Fix Test spec/controllers/api/*.rb
2016-11-15 09:54:17 +01:00
Xavier J
e10c218d3a
Add dynamic logo (opensimplif)
2016-11-03 17:20:56 +01:00
Xavier J
8fb76d1a6e
Add type de champ Engagement
2016-10-27 13:43:10 +02:00
Xavier J
740b3650aa
Restore select procedure for gestionnaire (opensimplif)
2016-10-24 16:00:03 +02:00
Xavier J
32d70bd909
Fix features flip on user connection for unified_login
2016-10-20 11:48:40 +02:00
Xavier J
1f1b235283
Fix bug Chrome datepicker
2016-09-22 11:31:24 +02:00
Xavier J
ccd9c0898d
Fix test with cloud storage enabled
2016-09-16 15:40:30 +02:00
Xavier J
4a336b8af7
Config devise session timeout
2016-09-09 17:44:00 +02:00
Xavier J
1c5cd471cd
Externalize in config file SIADE API URL.
2016-09-01 12:09:44 +02:00
Xavier J
116dd0d94f
Administrateur can be define private champs => same as typical champs
2016-08-03 18:19:56 +02:00
Xavier J
382c8d8700
Add minim preparation for dossier uniq page
2016-07-18 09:37:22 +02:00