Paul Chavard
76b1b85fa7
fix(attestation_template): add revision diff support
2022-02-11 08:45:32 +01:00
Paul Chavard
e269077c40
refactor(attestation_template): cleanup relationships
2022-02-11 08:45:32 +01:00
Paul Chavard
88e80e9e32
Merge pull request #6901 from adullact/feature/6859-jwt-token-expiration
...
[API Entreprise] Ajout du support des jetons JWT sans clé d'expiration
2022-02-10 11:48:39 +01:00
Kara Diaby
d629901e7f
Merge pull request #6938 from betagouv/feat/6846
...
Crée les DeletedDossier dans la méthode Dossier.purge_discarded
2022-02-09 14:51:12 +01:00
Kara Diaby
24ff41d2c0
tests
2022-02-09 14:43:36 +01:00
Kara Diaby
a6b2873bfc
modify instructeur model
2022-02-09 14:43:36 +01:00
Kara Diaby
0ce61f451e
modify dossier model
2022-02-09 14:43:36 +01:00
Kara Diaby
ebd0c711e6
add hidden by reason to dossiers
2022-02-09 14:43:36 +01:00
Pierre de La Morinerie
60b74767ba
Merge pull request #6932 from adullact/feature/6890-openstack-vars-cleanup
...
OpenStack : utilisation de la variable d'environnement FOG_OPENSTACK_URL
2022-02-09 13:07:06 +01:00
Pierre de La Morinerie
56461c6614
feat(openstack): just use FOG_OPENSTACK_URL
...
We don't need introducing a new env var for this.
2022-02-09 13:02:43 +01:00
François Vantomme
36f8a582ed
feat(openstack): use env variables for base and auth URLs
2022-02-09 13:02:42 +01:00
Pierre de La Morinerie
2b563f55b4
Merge pull request #6931 from adullact/feature/6889-matomo-iframe-config
...
L'URL de l'iframe Matomo est maintenant configurable
2022-02-09 12:49:41 +01:00
François Vantomme
aebe90a0c4
refactor: use example domains
...
According to RFC 2606, example domains must be:
example.com, example.net, or example.org
2022-02-09 12:44:13 +01:00
François Vantomme
e8f62e78fe
feat(matomo): configure Matomo iframe URL with an env variable
2022-02-09 12:44:13 +01:00
Paul Chavard
1762a404a5
Merge pull request #6876 from tchak/refactor-replace-mapbox
...
Replace mapbox-gl with maplibre-gl
2022-02-09 11:03:36 +01:00
Paul Chavard
1f661325a5
refactor(carto): use maplibre instead of mapbox
2022-02-09 10:29:00 +01:00
Paul Chavard
ea6aec8b1a
chore(webpack): enable typescript
2022-02-09 10:29:00 +01:00
Pierre de La Morinerie
5b4b57060c
Merge pull request #6944 from betagouv/revert-6933-feature/6891-content-security-policy-vars
...
Revert "Utilisation des variables d'environnement lors de la déclaration des Content Security Policies"
2022-02-08 22:26:04 +01:00
Pierre de La Morinerie
3e20ea13d8
Revert "Utilisation des variables d'environnement lors de la déclaration des Content Security Policies"
2022-02-08 22:20:08 +01:00
Pierre de La Morinerie
47bd842f9b
Merge pull request #6841 from tchak/fix-attestations-revisions
...
Versionnage des templates d’attestation (à nouveau)
2022-02-08 16:27:22 +01:00
Paul Chavard
77e42dd0e2
Update spec/lib/tasks/deployment/20220112184331_revise_attestation_templates_spec.rb
...
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2022-02-08 16:22:59 +01:00
Paul Chavard
1fc7db2562
fix(attestation_template): fix migration task
2022-02-08 16:22:59 +01:00
Paul Chavard
12151acb99
Revert "Revert "feat(attestation): revise attestations""
...
This reverts commit 4e7733e571
.
2022-02-08 16:22:59 +01:00
Pierre de La Morinerie
ae86b09c39
Merge pull request #6923 from adullact/fix/6881-afterparty-backfill-claimant-type
...
AfterParty : corection de la tâche `20210307144755_backfill_claimant_type_on_avis_table`
2022-02-08 16:21:25 +01:00
François Vantomme
284483c3db
fix(task): deal nicely with nil claimant_type on avis table
2022-02-08 16:14:59 +01:00
Pierre de La Morinerie
871ee6acda
Merge pull request #6922 from adullact/fix/6880-afterparty-backfill-expert-procedure
...
AfterParty : correction de la tâche `20210118142539_backfill_experts_procedure_id_on_avis_table`
2022-02-08 16:08:21 +01:00
François Vantomme
c466d225e8
fix(task): deal nicely with dropped instructeur_id column on avis table
2022-02-08 16:03:58 +01:00
Pierre de La Morinerie
ad7600a7e2
Merge pull request #6900 from adullact/fix/6858-universign-api-url
...
Correction d'un test qui échouait si la variable d'environnement `UNIVERSIGN_API_URL` était définie sans valeur
2022-02-08 16:03:42 +01:00
François Vantomme
b9d6c32af7
Test (Universign): mock API URL constant
...
Addressable::URI::InvalidURIError:
Absolute URI missing hierarchical segment: 'http://'
2022-02-08 15:59:50 +01:00
Pierre de La Morinerie
ccfc21be03
Merge pull request #6933 from adullact/feature/6891-content-security-policy-vars
...
Utilisation des variables d'environnement lors de la déclaration des Content Security Policies
2022-02-08 15:22:07 +01:00
François Vantomme
8eaecd184a
refactor(url): use env variables in content security policies
2022-02-08 15:15:55 +01:00
Paul Chavard
0ad44bcfdb
Merge pull request #6924 from adullact/fix/6882-afterparty-backfill-claimant
...
[AfterParty] échec de la tâche 20210311085419_backfill_claimant_id_for_experts_on_avis_table
2022-02-08 14:58:41 +01:00
Paul Chavard
a680ceba01
Merge pull request #6925 from adullact/fix/6883-afterparty-backfill-experts-procedure
...
[AfterParty] échec de la tâche 20210324081552_backfill_experts_procedure_id_on_avis_table
2022-02-08 14:58:11 +01:00
Pierre de La Morinerie
27d80153ce
Merge pull request #6905 from adullact/feature/6863-rubocop-rspec-focused
...
Remplacement de la gem `rubocop-rspec-focused` dépréciée
2022-02-08 13:11:17 +01:00
François Vantomme
bebc78b587
chore(rubocop): replace deprecated rspec-focused by rubocop-rspec
...
WARNING: We are no longer maintaining this gem, and will eventually
archive this repo. We recommend you use rubocop-rspec instead.
https://github.com/CarooDev/rubocop-rspec-focused
2022-02-08 12:50:18 +01:00
Pierre de La Morinerie
a3a2bab89b
Merge pull request #6821 from betagouv/improve-email-balancing
...
Amélioration de la configuration des fournisseurs d'email
2022-02-08 12:49:09 +01:00
Pierre de La Morinerie
847abca122
config: simplify mailer configuration again
...
Move everything to initializers, and replace the email settings
interceptor by a BalancerDeliveryMethod.
It has the advantage that it can be configured entirely from the
`config/environment.rb` file, without an extra file to look at.
2022-02-08 12:44:43 +01:00
Pierre de La Morinerie
27b42fe8ae
config: better document SENDINBLUE_BALANCING
2022-02-08 12:44:43 +01:00
Pierre de La Morinerie
04cfc8ed9d
config: use alternate delivery methods to configure ActionMailer
...
Previously `SENDINBLUE_BALANCING` was used only when
`SENDINBLUE_ENABLED` was *disabled* (otherwise only SendInBlue was ever
used).
This commit:
- Ensure that `SENDINBLUE_BALANCING` is used only when SendInBlue is
*enabled* (which is more intuitive).
- Make it easier to add other delivery methods.
2022-02-08 12:44:43 +01:00
Pierre de La Morinerie
d3603cf3c5
Merge pull request #6908 from adullact/feature/6866-rubocop-deps-cleanup
...
Nettoyage des dépendances de Rubocop
2022-02-08 12:39:28 +01:00
François Vantomme
2bdf58cb79
style(rubocop): fix Layout/SpaceInsideBlockBraces offense
2022-02-08 12:35:08 +01:00
François Vantomme
f3bf0499b6
chore(rubocop): cleanup dependencies
...
Using rubocop-rails_config is a nonsense because:
- it relies on rubocop-minitest which is useless here (we use RSpec)
- it relies on rubocop-packaging but disables all its cops
- it targets ruby version 2.7, but we use 3.0
2022-02-08 12:35:08 +01:00
Paul Chavard
ad545771b7
Merge pull request #6918 from adullact/feature/6875-improve-landing-contrast
...
Amélioration du contraste de la landing page administration
2022-02-08 12:30:18 +01:00
Paul Chavard
e87e8b2c26
Merge pull request #6899 from adullact/feature/6857-no-sandbox
...
ETQ développeur, je voudrais pouvoir influer sur l'option --no-sandbox du pilote Selenium Chrome lors des tests
2022-02-08 12:29:51 +01:00
Paul Chavard
537112acee
Merge pull request #6926 from adullact/fix/6884-afterparty-rename-conservation-extension
...
[AfterParty] échec de la tâche 20210429172327_rename_conservation_extension
2022-02-08 12:00:50 +01:00
LeSim
fe9adf061c
Merge pull request #6916 from adullact/feature/6873-dinum-vars
...
Déplacer toutes les mentions à la DINUM dans des variables
2022-02-08 11:58:05 +01:00
Paul Chavard
e9f0df0472
Merge pull request #6930 from adullact/fix/6888-uniq-deployment-task-names
...
Unicité du nom des tâches de déploiement
2022-02-08 11:57:11 +01:00
Paul Chavard
7705fdd164
Merge pull request #6909 from adullact/feature/6867-rubocop-sort-cops
...
Tri alphabétique des règles Rubocop
2022-02-08 11:54:10 +01:00
Paul Chavard
dad17ec2f8
Merge pull request #6906 from adullact/fix/6864-franceconnect-application-name
...
[FranceConnect] les tests échouent quand la variable d'env APPLICATION_NAME a une autre valeur que celle par défaut
2022-02-08 11:53:16 +01:00
Paul Chavard
5b147e6d81
Merge pull request #6903 from adullact/fix/6861-feature-test-emails
...
Les feature tests touchant aux emails échouent de manière aléatoire
2022-02-08 11:52:28 +01:00