Commit graph

806 commits

Author SHA1 Message Date
Colin Darie
6f1ed786fa
chore(bundle): remove elastic-apm, we don't use it anymore 2024-02-12 09:32:27 +01:00
Colin Darie
8ed2d114b4
chore(bundle): Update dotenv-rails from 2.7.6 to 2.8.1 2024-02-12 09:32:26 +01:00
Colin Darie
9ec0574eda
chore(bundle): Update discard from 1.2.1 to 1.3.0 2024-02-12 09:32:25 +01:00
Colin Darie
8e069dbd5a
chore(bundle): Update devise-i18n from 1.9.2 to 1.12.0 2024-02-12 09:32:24 +01:00
Colin Darie
78bd09c15c
chore(bundle): Update delayed_job_active_record from 4.1.7 to 4.1.8 2024-02-12 09:32:23 +01:00
Colin Darie
fe84714c16
chore(bundle): Update daemons from 1.3.1 to 1.4.1 2024-02-12 09:32:22 +01:00
Colin Darie
1f4ff826a7
chore(bundle): Update chartkick from 5.0.4 to 5.0.5 2024-02-12 09:32:20 +01:00
Colin Darie
4b12883171
chore(bundle): Update capybara from 3.39.2 to 3.40.0 2024-02-12 09:32:19 +01:00
Colin Darie
6eb0c224c8
chore(bundle): Update brakeman from 5.4.1 to 6.1.2 2024-02-12 09:32:18 +01:00
Colin Darie
947f361a5c
chore(bundle): Update bootsnap from 1.9.3 to 1.18.3 2024-02-12 09:32:17 +01:00
Colin Darie
6ea6b37b7c
chore(bundle): Update benchmark-ips from 2.12.0 to 2.13.0 2024-02-12 09:32:16 +01:00
Colin Darie
555c4a10b2
chore(bundle): Update bcrypt from 3.1.19 to 3.1.20 2024-02-12 09:32:15 +01:00
Colin Darie
9953f989b8
chore(bundle): Update axe-core-rspec from 4.8.0 to 4.8.1 2024-02-12 09:32:13 +01:00
Colin Darie
c58a890bf4
chore(bundle): Update active_model_serializers from 0.10.13 to 0.10.14 2024-02-12 09:32:12 +01:00
Colin Darie
fe0a59bbed
chore(bundle): Update active_storage_validations from 0.9.6 to 1.1.4 2024-02-12 09:32:11 +01:00
Colin Darie
6e9d506b61
chore(bundle): Update aasm from 5.2.0 to 5.5.0 2024-02-12 09:32:08 +01:00
Colin Darie
460778b617
chore(bundle): Update administrate from 0.18.0 to 0.20.1 2024-02-07 16:47:10 +01:00
dependabot[bot]
113f4a58a1
chore(deps): bump nokogiri from 1.16.0 to 1.16.2
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.0 to 1.16.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.0...v1.16.2)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 03:55:44 +00:00
Colin Darie
88e62323b6
Merge pull request #9949 from mfo/US/fix-device-locale
correctif: ETQ usager naviguant sur le site en anglais, je m'attends a recevoir des messages d'erreur de connexion en anglais
2024-01-31 09:28:15 +00:00
Martin
a82db7fcfc fix(auth.error_message): switch to devise with fixed forwarding locale to FailureApp/warden 2024-01-30 10:03:40 +01:00
Colin Darie
4d1988fd66
chore(bundle): +kredis 2024-01-24 10:58:38 +01:00
Colin Darie
5859957d15
chore(bundle): rails 7.0.8 for removing deprecation warning 2024-01-11 13:46:03 +01:00
Colin Darie
3315cd042d
chore(bundle): update parser 3.3.0 remove deprecation warning 2024-01-11 13:46:02 +01:00
Colin Darie
84506a2ab1
chore: try ruby 3.3.0 2024-01-11 13:45:58 +01:00
dependabot[bot]
68f950bf36
chore(deps): bump puma from 6.3.1 to 6.4.2
Bumps [puma](https://github.com/puma/puma) from 6.3.1 to 6.4.2.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.3.1...v6.4.2)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 16:09:53 +00:00
dependabot[bot]
aa1eb5b46b chore(deps): bump view_component from 2.82.0 to 3.9.0
Bumps [view_component](https://github.com/viewcomponent/view_component) from 2.82.0 to 3.9.0.
- [Release notes](https://github.com/viewcomponent/view_component/releases)
- [Changelog](https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/viewcomponent/view_component/compare/v2.82.0...v3.9.0)

---
updated-dependencies:
- dependency-name: view_component
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 11:22:41 +01:00
simon lehericey
f0a28ab1e8 Revert "Merge pull request #9835 from demarches-simplifiees/update_openid_connect"
This reverts commit 2e59ef97c9, reversing
changes made to d0372ec608.
2023-12-13 14:09:50 +01:00
simon lehericey
b981b9a3ed chore(agent_connect): add faraday-jwt to make openid work with jwt 2023-12-11 15:02:23 +01:00
simon lehericey
f6079ee435 chore(agent_connect): update openid connect as current code is not compatible with openssl 3 2023-12-11 15:02:23 +01:00
Paul Chavard
6646fd5277 chore(vite): update 2023-11-29 00:02:56 +00:00
simon lehericey
2e8e401818 try to update ruby-sentry update dep instead
To avoid a deprecation warning from sidekiq relative to exception handling, we need https://github.com/getsentry/sentry-ruby/pull/2160 not yet released
2023-11-22 10:08:55 +01:00
simon lehericey
137680879c Add sentry sidekiq 2023-11-22 10:08:55 +01:00
Colin Darie
352ed3969c chore(bundle): remove unused active_link_to 2023-11-20 15:06:43 +01:00
Martin
c1a4f7d81d correctif(dossiers): ETQ usager, le menu d'invitation etait cassé sur mobile 2023-11-14 09:22:07 +01:00
Colin Darie
fb318620aa
Merge pull request #9692 from colinux/fix-deprecation-warnings
Tech: fix multiple deprecation warnings
2023-11-13 10:16:06 +00:00
Colin Darie
92661d074d
chore(bundle): update chartkick to fix defer deprecation warning and v5 like JS counterpart 2023-11-10 14:20:03 +01:00
Colin Darie
baecdd5cbd
chore(bundle): update groupdate to fix ActiveRecord::Base.default_timezone deprecation warning 2023-11-10 14:20:02 +01:00
LeSim
fcec4a7ef7
Merge pull request #9519 from demarches-simplifiees/init_sidekiq
Tech: infrastructure pour utiliser sidekiq
2023-11-09 16:18:04 +00:00
Colin Darie
04f429abef chore(bundle): update geocoder 1.6 => 1.8 2023-11-09 16:36:23 +01:00
simon lehericey
8ef3b77c0e add gem sidekiq 2023-11-09 16:23:49 +01:00
krichtof
a6ea607e7a
Merge pull request #9566 from adullact/feature-ouidou/admin_creation_delegation_gestionnaire_page_children_management
Feature ouidou/admin creation delegation gestionnaire page children management
2023-11-08 15:13:10 +00:00
Colin Darie
197866159c chore(bundle): update devise 4.9.2 => 4.9.3 2023-10-27 11:26:37 +02:00
seb-by-ouidou
528c51cb5e feat: US4.3.9 children management 2023-10-26 10:46:18 +00:00
Paul Chavard
9ad2c4358a
Merge pull request #9584 from tchak/maintenance_tasks
use maintenance tasks gem
2023-10-19 16:07:17 +00:00
Paul Chavard
71d5470100 fix(graphql): implement real cursor pagination 2023-10-18 13:01:07 +02:00
Paul Chavard
4b893b6ebf chore(ruby): update axe-core-rspec 2023-10-12 20:00:06 +02:00
simon lehericey
b3d95521d9 update flipper 2023-10-10 17:37:14 +02:00
Paul Chavard
7a01889563 use maintenance tasks gem 2023-10-10 15:11:08 +02:00
Colin Darie
202ba6bbe6
Merge pull request #9544 from colinux/form-champ-scroll-margin
ETQ usager aère le form quand on clic sur une ancre d'un champ en erreur
2023-10-02 07:44:58 +00:00
Colin Darie
bda55299d3 chore(bundle): update scss-lint 0.59 => 0.60 2023-10-02 09:33:45 +02:00
Colin Darie
8678986808 chore(benchmark): tooling for benchmarking controller action 2023-09-29 15:11:50 +02:00
kleph
ee294303fe tech(skylight): bump skylight version to fix proxy issue with skylightd 2023-09-20 11:39:52 +02:00
simon lehericey
bc34ec0104 chore: update activestorage-openstack and listen 2023-09-07 15:13:18 +02:00
LeSim
cd5d89336c
Merge pull request #7904 from E-L-T/add-rspec-retry-gem
test rspec retry gem
2023-08-29 13:30:03 +00:00
Eric Leroy-Terquem
3f1309011a test gem 2023-08-29 15:11:34 +02:00
dependabot[bot]
cca73dd83d chore(deps): bump puma from 6.1.1 to 6.3.1
Bumps [puma](https://github.com/puma/puma) from 6.1.1 to 6.3.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v6.1.1...v6.3.1)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 14:53:55 +02:00
Christophe Robillard
3f33c450e9 Revert "tech(gemfile): met à jour activestorage-openstack 1.5.1 vers 1.6.0"
This reverts commit d8e5ec3b6d.
La version 1.6.0 passe la méthode `service.client` en privé ce qui pose
souci.
2023-08-21 15:36:00 +02:00
Martin
d8e5ec3b6d tech(gemfile): met à jour activestorage-openstack 1.5.1 vers 1.6.0 2023-08-18 16:32:16 +02:00
Martin
a3c6a2c46f correctif(dolist): utilise des liens vers les logos des procedures plutôt que des attachements.inlined 2023-08-14 13:09:05 +02:00
Paul Chavard
19902f46bf chore(annotate): remove annotate gem 2023-08-02 11:11:36 +02:00
Martin
e1993ab66d poc(gems): utilise selenium-webdriver gem plutot que webdrivers qui est actuellement cassé. cf: https://github.com/SplitTime/OpenSplitTime/pull/1100 2023-07-26 11:10:57 +02:00
simon lehericey
da507ff0ea conf: add redis 2023-07-19 11:43:54 +02:00
Paul Chavard
c6d728d44f feat(api): HTTP API client 2023-07-10 14:57:34 +02:00
dependabot[bot]
ae4d6eeb60
chore(deps): bump sanitize from 6.0.1 to 6.0.2
Bumps [sanitize](https://github.com/rgrove/sanitize) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/rgrove/sanitize/releases)
- [Changelog](https://github.com/rgrove/sanitize/blob/main/HISTORY.md)
- [Commits](https://github.com/rgrove/sanitize/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: sanitize
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 20:03:38 +00:00
Paul Chavard
7136c96a36 feat(procedure): validate external links 2023-07-06 10:27:43 +02:00
Colin Darie
9edf4c6dbe chore(bundle): update rails 7.0.5.1, fix CVE-2023-28362 in redirect_to 2023-06-28 10:00:52 +02:00
Colin Darie
bc0386b9f0 chore(bundle): update selenium & capybara for better chrome 114 compat 2023-06-20 11:28:16 +02:00
Paul Chavard
b3aeb46c1b fix(prefill): it should be possible to prefill a dossier on a test procedure 2023-06-14 09:14:12 +01:00
Paul Chavard
c4432b1b47 perf(carto): use json schema to validate geojson instead of rgeo 2023-06-06 15:43:56 +02:00
Colin Darie
2f2df08285 chore(bundle): update sentry 4.8 => 5.9 (drop faraday dependency) 2023-05-24 17:51:22 +02:00
Paul Chavard
c8fc839acb chore(npm): fix update dependencies 2023-05-04 14:13:41 +02:00
Colin Darie
ae88c1de6b
fix(devise): default config for devise and turbo stream as navigational format 2023-05-03 11:35:32 +02:00
Colin Darie
d044472615
chore(bundle): update rspec-rails & rspec-mocks for rails 7 support 2023-05-03 11:35:32 +02:00
Colin Darie
1f3cd386e5
chore(bundle): pry 0.13.1 => 0.14.2 2023-05-03 11:35:30 +02:00
Colin Darie
5a35154c37
chore(bundle): update to rails 7.0.4.3 and improve pinning 2023-05-03 11:35:30 +02:00
Colin Darie
d5efe47286
chore(bundle): pg 1.2.3 => 1.4.6 2023-05-03 11:35:30 +02:00
Nicolas Cavigneaux
42689e34ba
chore: bump Rails (and required dependencies) to 7.0.4.2 2023-05-03 10:10:38 +02:00
Nicolas Cavigneaux
5ba409ec9a
chore: update Rails to latest minor version of 6 2023-05-03 10:10:37 +02:00
Colin Darie
57e0466780
chore(bundle): rubocop upgrades 1.36 => 1.50 2023-04-19 12:54:58 +02:00
dependabot[bot]
ea4896a57d
chore(deps): bump nokogiri from 1.14.2 to 1.14.3
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 06:34:45 +00:00
Paul Chavard
d17044e125 chore(npm): update vitejs to fix legacy build issues 2023-03-28 10:20:24 +02:00
simon lehericey
b04a85d74d update capybara 2023-03-15 15:19:16 +01:00
simon lehericey
78f0ebc6bb update to puma 6.1.1 2023-03-15 14:53:41 +01:00
dependabot[bot]
cb647233d0
chore(deps): bump rack from 2.2.6.2 to 2.2.6.3
Bumps [rack](https://github.com/rack/rack) from 2.2.6.2 to 2.2.6.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.6.2...v2.2.6.3)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 02:26:16 +00:00
Damien Le Thiec
687c05e6d1
Merge pull request #8622 from demarches-simplifiees/fix/stored_query_issue
Dossier prefill get without stored queries
2023-03-02 14:01:04 +00:00
Lisa Durand
54f17ad3c7
Merge pull request #8630 from demarches-simplifiees/harmonize-actions-for-instructeurs
[instructeurs] Uniformiser les actions pour les instructeurs sur la page tableau et dossier
2023-03-02 13:28:23 +00:00
Lisa Durand
9fa58b4f2e update brakeman to fix tests 2023-03-02 10:11:00 +01:00
Damien Le Thiec
8a7cb3f1fe
Merge branch 'main' into fix/stored_query_issue 2023-03-01 10:22:40 +01:00
Damien Le Thiec
01f142183e Add and correct tests 2023-03-01 10:21:22 +01:00
Martin
4d8b4e078b amelioration(a11y): extrait un nouveau composant pour rendre du texte saisi par un humain accessible 2023-02-23 15:23:20 +01:00
Colin Darie
a71e8d9a81 chore(bundle): setup elastic_apm, disabled by default 2023-02-21 12:30:51 +01:00
Martin
d83f577482 secu(sinatra): passe la grappe des dependances limitante pour embarquer la bonne version de sinatra 2023-02-06 09:48:23 +01:00
dependabot[bot]
e2f99a814a chore(deps): bump sanitize from 6.0.0 to 6.0.1
Bumps [sanitize](https://github.com/rgrove/sanitize) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/rgrove/sanitize/releases)
- [Changelog](https://github.com/rgrove/sanitize/blob/main/HISTORY.md)
- [Commits](https://github.com/rgrove/sanitize/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: sanitize
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:36:16 +01:00
Paul Chavard
5b9e534b3f chore(turbo): morph all the things 2023-01-25 13:45:26 +01:00
dependabot[bot]
aac5753798
chore(deps): bump globalid from 1.0.0 to 1.0.1
Bumps [globalid](https://github.com/rails/globalid) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rails/globalid/releases)
- [Commits](https://github.com/rails/globalid/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: globalid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 22:17:33 +00:00
Colin Darie
e02ba7b07d chore(bundle): rails 6.1.7.1
https://rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released
2023-01-17 22:29:20 +01:00
Paul Chavard
7f2a7e18d3 chore(npm): update build dependencies 2023-01-12 12:27:14 +01:00
Paul Chavard
dfe65136be refactor(repetition): add row_id to champs 2023-01-05 18:04:54 +01:00
dependabot[bot]
5af5747aa9
chore(deps): bump rails-html-sanitizer from 1.4.3 to 1.4.4
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases)
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.4.3...v1.4.4)

---
updated-dependencies:
- dependency-name: rails-html-sanitizer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 10:43:51 +00:00
dependabot[bot]
3fc641da48 chore(deps): bump loofah from 2.19.0 to 2.19.1
Bumps [loofah](https://github.com/flavorjones/loofah) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/flavorjones/loofah/releases)
- [Changelog](https://github.com/flavorjones/loofah/blob/main/CHANGELOG.md)
- [Commits](https://github.com/flavorjones/loofah/compare/v2.19.0...v2.19.1)

---
updated-dependencies:
- dependency-name: loofah
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 11:36:03 +01:00
dependabot[bot]
e5bce4816b
chore(deps): bump nokogiri from 1.13.9 to 1.13.10
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.9...v1.13.10)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 03:51:17 +00:00
simon lehericey
8ed00bc0ff chore: bump skylight 2022-11-23 17:55:57 +01:00
Paul Chavard
f6609d42ce chore(vitejs): update 2022-11-15 18:54:43 +01:00
Colin Darie
3ea57a0416 chore(bundle): bump pundit 2.1.0 => 2.2.0
Fix administrate autoloading.
2022-11-15 17:28:04 +01:00
Colin Darie
a28e31bd97 chore(bundle): update administrate 0.16 => 0.18 2022-11-15 17:28:04 +01:00
Paul Chavard
6ad057dcee feat(graphql): upgrade playground version 2022-11-15 11:48:29 +01:00
Paul Chavard
70a9a7b8bd chore(graphql): update 2022-10-31 19:20:40 +01:00
Colin Darie
ab5f222455 chore(bundle): update strscan 3.0.3 => 3.0.4 2022-10-25 16:19:57 +02:00
simon lehericey
5d38345478 feat(system-spec): display js console error 2022-10-25 14:44:43 +02:00
dependabot[bot]
a703dfce3b
chore(deps): bump nokogiri from 1.13.8 to 1.13.9
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.8 to 1.13.9.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.8...v1.13.9)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 10:22:53 +00:00
Paul Chavard
36e9b27e8c chore(webdriver): update 2022-10-12 13:17:44 +02:00
simon lehericey
daed0d6d5e chore: bump haml, haml-lint 2022-10-07 13:56:05 +02:00
simon lehericey
b966dd3b54 chore: add stackprof and memory_profiler gems 2022-10-06 16:56:26 +02:00
simon lehericey
35357454fd chore: update rack-mini-profiler 2022-10-06 16:56:26 +02:00
Paul Chavard
432c4690b5 feat(tags): replace regexp based parser with a parser combinator 2022-10-05 11:25:37 +02:00
Christophe Robillard
0ccb85b139 change gem for saml idp 2022-08-23 15:05:20 +02:00
Colin Darie
3ce699eef3
chore(bundle): updata capybara 3.35.3 => 3.37.1 + capybara-screenshot 2022-08-03 16:15:38 +02:00
Colin Darie
76150c4bf5 chore(bundle): update again view_component for a nester helper fix 2022-08-03 11:57:26 +02:00
Colin Darie
0641069d0b chore(bundle): update view_component, no need for use_global_output_buffer anymore
This fix contact form and captcha invisibility due to buffer issues.

Closes #7627
2022-08-03 11:57:26 +02:00
Colin Darie
6b95ce5ecc chore(dev): add more pry features with pry-rails gem 2022-08-02 18:47:58 +02:00
simon lehericey
5d5f46b4d8 instances : prawn does not like svg
win 10% on pdf generation
2022-07-20 15:48:16 +02:00
simon lehericey
0455010360 bump rails 2022-07-18 10:17:52 +02:00
Paul Chavard
e1851cc3d1 chore(bundle): update strscan to prevent rspec error 2022-07-04 15:07:23 +02:00
simon lehericey
3474adadbc update vcr to silent verbose test log 2022-07-02 16:42:50 +02:00
Paul Chavard
72636f3332 fix(vite): porte vite fallback logic from vite legacy plugin 2022-07-01 10:25:24 +02:00
Paul Chavard
ea18c2b9ba chore(build): use vitejs 2022-06-23 15:22:54 +02:00
simon lehericey
972cb865c7 update rubocop 2022-06-17 14:54:21 +02:00
simon lehericey
c5081c0a1c bump rake 2022-05-31 13:55:59 +02:00
mfo
b5871f72b0
Merge pull request #7326 from betagouv/US/unlock-kaminari
tech(Gemfile): unlock versions for kaminari and delayed_job_web
2022-05-17 06:02:37 +02:00
simon lehericey
05ebeefb7d bump delayed_job 2022-05-16 16:10:35 +02:00
simon lehericey
00618b8c9a bump sinatra 2022-05-16 16:10:35 +02:00
simon lehericey
9af2c14f3e bump flipper 2022-05-16 16:10:35 +02:00
Martin
595491fb44 tech(Gemfile): unlock versions for kaminari and delayed_job_web 2022-05-16 16:02:36 +02:00
simon lehericey
74bf19f99c bump to rails 6.1.5.1 2022-04-28 16:05:16 +02:00
simon lehericey
07ab55d83a update brakeman for ruby 3.1 pattern matching 2022-04-28 15:48:54 +02:00
Paul Chavard
1e928a277d chore(devise): drop unmaintained dependencie 2022-04-28 12:28:33 +02:00
Paul Chavard
86df16ebda feat(view_components): add view_components 2022-04-26 14:54:58 +02:00
Paul Chavard
55d6b787c8 feat(js): add turbo 2022-04-21 19:41:27 +02:00
Paul Chavard
64c599e208 refactor(stimulus): initiate react components via stimulus 2022-04-20 14:08:47 +02:00
Paul Chavard
c96adbf2d2 chore(chartkick): upgrade to 4.1 and use built-in lazy loading 2022-04-15 12:12:18 +02:00
simon lehericey
8cbbd10408 add missing net-pop and net-imap missing from ruby 3.1.2 2022-04-13 17:13:55 +02:00
simon lehericey
df6ecb09cb update i18n-tasks 2022-04-13 14:39:20 +02:00
simon lehericey
51b69a5821 update rails to 6.1.5 2022-04-13 14:39:20 +02:00
simon lehericey
1d6b3c6ce5 add matrix needed by prawn 2022-04-13 14:39:20 +02:00
simon lehericey
e326a9b4c2 update bundler 2022-04-13 14:39:20 +02:00
simon lehericey
73bf3c8038 add net-smtp 2022-04-13 14:39:20 +02:00
dependabot[bot]
b2444fb2ec
build(deps): bump devise-two-factor from 4.0.0 to 4.0.2
Bumps [devise-two-factor](https://github.com/tinfoil/devise-two-factor) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/tinfoil/devise-two-factor/releases)
- [Changelog](https://github.com/tinfoil/devise-two-factor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tinfoil/devise-two-factor/compare/v4.0.0...v4.0.2)

---
updated-dependencies:
- dependency-name: devise-two-factor
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 22:01:21 +00:00
Paul Chavard
433c01b1e6 Revert "Merge pull request #7137 from betagouv/faster_pdf"
This reverts commit 9da44bd913, reversing
changes made to ebac71796c.
2022-04-12 19:22:07 +02:00
simon lehericey
af27af7900 ! instances : prawn does not like svg
win 10% on pdf generation
2022-04-12 11:56:56 +02:00
simon lehericey
5955b1af05 update Nokogiri 2022-04-12 11:50:59 +02:00
Martin
c1884f231c Revert "Merge pull request #7105 from betagouv/US/fix-dossier.processed_in_month"
This reverts commit a0e144b9a7, reversing
changes made to 49848bd150.
2022-04-05 13:39:37 +02:00
Martin
d6d9db9721 tech(Sorbet): prepare usage of sorbet to avoid defensive programming style [casting date to datetime] 2022-04-05 12:14:07 +02:00
Paul Chavard
44c64669e9 Revert "Merge pull request #6787 from tchak/use-vite"
This reverts commit 5d572727b5, reversing
changes made to 43be4482ee.
2022-03-31 12:07:52 +02:00
dependabot[bot]
8ee1913b85
build(deps): bump puma from 5.6.2 to 5.6.4
Bumps [puma](https://github.com/puma/puma) from 5.6.2 to 5.6.4.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.6.2...v5.6.4)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 22:21:24 +00:00
Paul Chavard
187e84a010 feat(assets): use vitejs to build javascript 2022-03-29 16:27:08 +02:00
Pierre de La Morinerie
2e04435117 gems: add strong_migrations 2022-03-16 10:30:25 +01:00
simon lehericey
feeb8b691a bump rails to 6.1.4.7 2022-03-09 10:32:29 +01:00
dependabot[bot]
19cde3140e
chore(deps): bump image_processing from 1.12.1 to 1.12.2
Bumps [image_processing](https://github.com/janko/image_processing) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/janko/image_processing/releases)
- [Changelog](https://github.com/janko/image_processing/blob/master/CHANGELOG.md)
- [Commits](https://github.com/janko/image_processing/compare/v1.12.1...v1.12.2)

---
updated-dependencies:
- dependency-name: image_processing
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 23:35:43 +00:00
simon lehericey
30a7fb25a7 update nokogiri 2022-03-01 10:01:33 +01:00
Pierre de La Morinerie
4cde3623be gems: remove hardcoded git URL for mina
It is not needed anymore.
2022-02-22 09:27:57 +01:00
Pierre de La Morinerie
e6ad411aae gems: remove hardcoded version for zipline
The fix was eventually released.
2022-02-22 09:27:57 +01:00
simon lehericey
6930ddb433 bump rails 2022-02-22 09:19:08 +01:00
dependabot[bot]
6e11c3445d
chore(deps): bump puma from 5.5.1 to 5.6.2
Bumps [puma](https://github.com/puma/puma) from 5.5.1 to 5.6.2.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.5.1...v5.6.2)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 13:44:10 +00: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
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
simon lehericey
7839067bcd bump rails to 6.4.4 2022-01-05 12:25:23 +01:00
Martin
252eee272b feat(support#create): block with invisible captcha [avoid painful captcha] 2022-01-04 14:49:00 +01:00
Pierre de La Morinerie
a11c851c79 Update webpacker to v5.4.3.
By running:

```
bundle update webpacker
rails webpacker:binstubs
yarn upgrade @rails/webpacker --latest
yarn upgrade webpack-dev-server --latest
```
2021-12-23 13:44:25 +01:00
Pierre de La Morinerie
dc003113e6 gems: update sentry-rails to 4.8.1 2021-12-07 15:09:56 +01:00
simon lehericey
ab6d97d1ef add rexml
rexml gems are now bundled gems
https://github.com/Shopify/bootsnap/issues/325
2021-11-30 12:04:33 +01:00
simon lehericey
7e76b35297 need bootsnap bump 2021-11-30 09:42:45 +01:00
Pierre de La Morinerie
4b557a4f18 gems: update active_storage_validation to 0.9.6
This allows us to have the %{file_max_size} variable defined in the
error message.

See https://github.com/igorkasyanchuk/active_storage_validations/pull/134
2021-11-24 08:18:18 +01:00
simon lehericey
ed7d776727 Bump jwt dep to decrypt ES256 FCA response 2021-11-23 14:17:59 +01:00
simon lehericey
91109dc944 bump openid connect (mandatory to avoid lets encrypt certs pb) 2021-11-23 14:17:59 +01:00
Pierre de La Morinerie
75e207122b ci: use previous test timings to split the tests 2021-11-09 08:32:31 +01:00
Paul Chavard
36912eded5 chore(gem): update ethon gem 2021-11-04 15:53:45 +01:00
Pierre de La Morinerie
6c60c940d4 gems: update aasm 2021-11-03 19:38:01 +01:00
Pierre de La Morinerie
9fd38cae5e specs: migrate from features to system specs
System specs have been available since Rails 5.1, and are better
integrated with the Rails framework.

- Rename `spec/features` to `spec/system`
- Rename `feature do` to `describe do`
- Configure Capybara for system specs

Steps mostly taken from https://medium.com/table-xi/a-quick-guide-to-rails-system-tests-in-rspec-b6e9e8a8b5f6
2021-10-26 12:24:46 +02:00
Pierre de La Morinerie
df9fa258ae specs: remove database_cleaner
This is not needed for integration tests since Rails 5.1.

See https://www.nicholasjacques.io/blog/you-probably-dont-need-databasecleaner/
2021-10-26 12:24:46 +02:00
Pierre de La Morinerie
2ad9955e10 gems: update phonelib
Fixes a warning during tests:

> /home/runner/work/demarches-simplifiees.fr/demarches-simplifiees.fr/vendor/bundle/ruby/2.7.0/gems/phonelib-0.6.48/lib/validators/phone_validator.rb:65: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
> /home/runner/work/demarches-simplifiees.fr/demarches-simplifiees.fr/vendor/bundle/ruby/2.7.0/gems/activemodel-6.1.4.1/lib/active_model/errors.rb:404: warning: The called method `add' is defined here
2021-10-20 09:34:56 +02:00
dependabot[bot]
f9003872e7
build(deps): bump puma from 5.3.1 to 5.5.1
Bumps [puma](https://github.com/puma/puma) from 5.3.1 to 5.5.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.3.1...v5.5.1)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 18:15:29 +00:00
Pierre de La Morinerie
f854e3af63 controllers: use ACSV to import groupe instructeurs
Unlike `CSV`, `ACSV` auto-detect the file encoding and separator type.
2021-10-05 10:58:15 +02:00
Pierre de La Morinerie
275eb389d0 gems: update webpacker to 5.4.3 2021-09-30 17:05:26 +02:00
dependabot[bot]
b2f8c24030
build(deps): bump nokogiri from 1.12.4 to 1.12.5
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.4 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.12.4...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 14:05:09 +00:00
Pierre de La Morinerie
49345e95e0 gems: update zipline
This (unreleased) version contains a fix for a pre-Ruby 3.0 kwargs use.

It fixes a warning in specs using zip files:

> warning: Using the last argument as keyword parameters is deprecated
2021-09-09 09:58:42 -05:00
Pierre de La Morinerie
407f46b7de gems: remove smart_listing
It was only used in the old design, which we recently removed
completely.
2021-09-09 09:58:41 -05:00
Pierre de La Morinerie
f9529da8bd gems: update brakeman
This prevent a false-positive warning about a vulnerable loofah version.

We also need to ignore a new warning, about an unsafe redirect. This is
unsafe when the object given in redirect can be a hash that includes
a `:host` key. But here we are redirecting to a plain string, which is
definitely safe.
2021-09-02 16:11:23 -05:00
Pierre de La Morinerie
27376c00b0 gems: bump rails to 6.1.4.1 2021-09-02 15:50:23 -05:00
Paul Chavard
a3cc072bbd feat(i18n): translate countries selector 2021-08-31 13:15:26 +02:00
Christophe Robillard
83b6c5d7c7 replace deprecated axe-matchers by axe-core-spec 2021-08-24 08:09:17 -05:00
dependabot[bot]
73935c23e4
build(deps): bump addressable from 2.7.0 to 2.8.0
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-20 07:13:05 +00:00
kara Diaby
d2d046a39d fix encoding problems with cherlock Holmes gem 2021-07-13 10:58:41 +02:00
Pierre de La Morinerie
9eb2e13d43 config: report job exceptions after max retry count reached
Previously Sentry reported job exceptions even if a retry
strategy was specified. So we had to ignore retried job exceptions
entirely.

Since sentry-delayed-job 0.4.4, we can instead let Sentry report
job exceptions when the retry count is exhausted. Which is
exactly the behavior we want.
2021-07-01 15:06:14 +02:00
Christophe Robillard
b047c38b47 gems: upgrade delayed_job_web
fix error when attempting to "retry" or "reload" a failed job via the web interface.

bump delayed_job_web from 1.4.3 to 1.4.4
See [Changelog](https://github.com/ejschmitt/delayed_job_web/blob/v1.4.4/CHANGELOG.md) from 1.4.3 to 1.4.4
2021-06-24 14:29:54 +02:00
dependabot[bot]
2b1e0f14f6
Bump bindata from 2.4.8 to 2.4.10
Bumps [bindata](https://github.com/dmendel/bindata) from 2.4.8 to 2.4.10.
- [Release notes](https://github.com/dmendel/bindata/releases)
- [Changelog](https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc)
- [Commits](https://github.com/dmendel/bindata/compare/v2.4.8...v2.4.10)

---
updated-dependencies:
- dependency-name: bindata
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 23:43:20 +00:00
Pierre de La Morinerie
895ef98692 gems: upgrade sentry to 4.4.0 2021-05-27 14:33:13 +02:00
dependabot[bot]
fb045f9729 Bump puma from 5.2.1 to 5.3.1
Bumps [puma](https://github.com/puma/puma) from 5.2.1 to 5.3.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.2.1...v5.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 11:43:38 +02:00
dependabot[bot]
7045d8457f Bump nokogiri from 1.11.3 to 1.11.4
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.3 to 1.11.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.3...v1.11.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 11:32:43 +02:00
simon lehericey
19aefa1fd0 update administrate 2021-05-07 11:15:22 +02:00
Pierre de La Morinerie
b398485d97 manager: localize dossier enums
In the previous commit, we cleaned up the localization of the
Dossier.state enum. This prevented administrate from crashing, but now
the dossier enum are no longer localized in the Manager.

By using a `Field::Enum` type, we instruct the administrate plugin
to look up our localized name for the Dossier state enum.
2021-05-06 14:41:08 +02:00