Commit graph

12534 commits

Author SHA1 Message Date
Pierre de La Morinerie
ce6a27d416 manager: upgrade administrate to be compatible with Rails 6.1.3.2
Rails 6.1.3.2 is a security upgrade, and we had to upgrade quickly.
Unfortunately that broke the administrate gem.

A PR has been opened to fix the issues with the newest Rails version,
and will probably be merged quickly. Meanwhile we can fix the manager
by using the version from the PR for now.

Once the PR is merged and a new version of administrate is released,
we can use a released version of administrate again.
2021-05-06 11:17:17 +02:00
Pierre de La Morinerie
dc33f4a395 manager: use administrate helper to retrieve resource path
This is lifted from the current default template provided by
administrate.
2021-05-06 11:11:04 +02:00
krichtof
b39b43179d
Merge pull request #6171 from betagouv/6132-fix-broken-link
corrige le lien annuaire lorsque le siren n'est pas connu
2021-05-06 10:07:32 +02:00
Christophe Robillard
6086f05524 corrige le lien annuaire lorsque le siren n'est pas connu 2021-05-06 09:59:27 +02:00
Pierre de La Morinerie
225fadbdf8
Merge pull request #6135 from betagouv/small_style_fixes
Instructeur : petites améliorations de l'interface du tableau de bord d'une démarche (#6135)
2021-05-06 09:22:13 +02:00
simon lehericey
55b80df29d display count before text in tabs 2021-05-06 09:13:20 +02:00
simon lehericey
f55c6ee371 stick arrow with label 2021-05-06 09:13:20 +02:00
Paul Chavard
924ce114f4
Merge pull request #6164 from tchak/custom-smtp
Use HELO (custom dev SMTP)
2021-05-06 09:07:44 +02:00
Paul Chavard
327bec0637 Use HELO 2021-05-06 08:59:18 +02:00
LeSim
a261801a41
Merge pull request #6174 from betagouv/update_rails
go to rails 6.1.3.2
2021-05-05 21:45:03 +02:00
simon lehericey
5124e08ccd disable faulty manager spec 2021-05-05 21:34:57 +02:00
simon lehericey
6dd3dd24a4 go to rails 6.1.3.2 2021-05-05 20:54:36 +02:00
LeSim
580c5c4ede
Merge pull request #6167 from betagouv/profiler4dev
activate rack_mini_profiler in dev
2021-05-05 17:24:44 +02:00
Christophe Robillard
2516abc277 activate rack_mini_profiler in dev and display query count 2021-05-05 17:16:10 +02:00
LeSim
9f8121247f
Merge pull request #6086 from betagouv/add_missing_fci_constraints
[#6084] rajoute des contraintes manquantes à la table france_connect_informations
2021-05-05 15:41:42 +02:00
simon lehericey
ccce724976 refactor as created fci must have an user_id 2021-05-05 14:36:34 +02:00
simon lehericey
e18fb116c6 cannot create fci without user 2021-05-05 14:36:34 +02:00
simon lehericey
8d0082419c do not know how it worked before 2021-05-05 14:36:34 +02:00
simon lehericey
9dc9e92c16 use the with_user trait in feature 2021-05-05 14:28:20 +02:00
simon lehericey
1cf59f722e add :with_user trait to fci as user_id is mandatory 2021-05-05 14:28:20 +02:00
simon lehericey
ed404f129b remove now falling spec of obsolete task 2021-05-05 14:28:20 +02:00
simon lehericey
4dc314d24b [fix #6084] add db constraints to france_connect_informations table 2021-05-05 14:28:20 +02:00
Pierre de La Morinerie
b7faed96a3
Merge pull request #6169 from betagouv/fix_duplicate_dossier
Instructeur : corrige une duplication des dossiers dans le tableau d'une démarche (#6169)
2021-05-04 16:47:57 +02:00
simon lehericey
9fd1c604a1 display follower instructeur emails in alphabetic order 2021-05-04 16:38:34 +02:00
simon lehericey
50f679746f do not extract twice the same dossier_id if the dossier is followed twice 2021-05-04 16:38:34 +02:00
krichtof
ef8745fb10
Merge pull request #6170 from tchak/revert_enable_brouillon_extend_conservation
Revert "Merge pull request #6142 from tchak/enable_brouillon_extend_conservation"
2021-05-04 16:20:49 +02:00
Paul Chavard
bcbfcdc537 Revert "Merge pull request #6142 from tchak/enable_brouillon_extend_conservation"
This reverts commit 48eb4d9778, reversing
changes made to 5539d5cb8c.

# Conflicts:
#	app/models/dossier.rb
#	db/schema.rb
2021-05-04 16:03:29 +02:00
krichtof
4cba6e3b11
Merge pull request #6165 from betagouv/optim_vue_dossier_instructeur
prend en compte uniquement les pj pour estimer la taille d'un dossier
2021-05-04 12:59:31 +02:00
Christophe Robillard
01f180022b prend en compte uniquement les pj pour estimer la taille d'un dossier 2021-05-04 12:50:12 +02:00
Paul Chavard
71a48c99bb
Merge pull request #6108 from tchak/enable-user-destruction
Enable user destruction
2021-05-04 12:31:02 +02:00
Paul Chavard
f6508899de Refactor NotificationMailer 2021-05-04 12:05:06 +02:00
Paul Chavard
a4fd629f4a Enable user destruction 2021-05-04 12:05:06 +02:00
Paul Chavard
e240dd6d2c remove NewAttestationMailer 2021-05-04 12:05:06 +02:00
Pierre de La Morinerie
ab2539dcea
Merge pull request #6163 from betagouv/add-more-transient-error
Jobs : ajout de Excon::Error::Socket à la liste des erreurs ré-essayées automatiquement (#6163)
2021-05-04 11:47:40 +02:00
Pierre de La Morinerie
13d2364fd5 jobs: add Excon::Error::Socket to the list of transient errors
In ActiveStorage::Purge job we see a lot of SSL errors:

> Connection reset by peer - SSL_connect (Errno::ECONNRESET)

These errors seem transient, and resolve themselves after a while.
2021-05-04 11:38:22 +02:00
Pierre de La Morinerie
4eadf48040
Merge pull request #6162 from adullact/6161_fix_graphql-validate-blob
Correction d'un test de l'API GraphQL (#6162)
2021-05-04 11:35:19 +02:00
François Vantomme
cb717aede2 Fix (GraphQL): raise exception when blob is missing
Failures:

  1) API::V2::GraphqlController when authenticated mutations dossierEnvoyerMessage upload error should fail
     Failure/Error: expect(gql_errors).to eq(nil)

       expected: nil
            got: [{:backtrace=>["/usr/local/bundle/ruby/2.7.0/gems/graphql-1.12.5/lib/graphql/backtrace/tracer.rb:64:i...]
2021-05-04 11:26:23 +02:00
Pierre de La Morinerie
691262340d
Merge pull request #6160 from betagouv/dependabot/bundler/rexml-3.2.5
Mise à jour de la dépendance rexml de 3.2.4 à 3.2.5 (#6160)
2021-05-04 09:04:12 +02:00
dependabot[bot]
ea087af5d9
Bump rexml from 3.2.4 to 3.2.5
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 20:30:05 +00:00
Paul Chavard
48eb4d9778
Merge pull request #6142 from tchak/enable_brouillon_extend_conservation
Enable brouillon extend conservation
2021-04-30 10:19:22 +02:00
Paul Chavard
88db6fb661 rename en_construction_conservation_extension in conservation_extension 2021-04-29 19:50:30 +02:00
Paul Chavard
b2a867266a Allow users to extend conservation on drafts 2021-04-29 19:50:30 +02:00
Paul Chavard
ba69edffc5 add conservation extension to dossiers 2021-04-29 18:03:57 +02:00
krichtof
5539d5cb8c
Merge pull request #6157 from betagouv/fix_perf_pj
exporte tous les dossiers d'une démarche
genère l'export pdf de chaque dossier uniquement sur demande
2021-04-29 17:44:57 +02:00
Christophe Robillard
3d04221dab generate pdf export for dossier only on demand 2021-04-29 17:30:38 +02:00
Christophe Robillard
f40d96fbd2 Revert "Revert "Export de tous les dossier d'une démarche""
This reverts commit d9a588b52e.
2021-04-29 17:29:47 +02:00
krichtof
533fa903bc
Merge pull request #6155 from betagouv/revert-6059-4978-export-dossiers-proc
Revert "Export de tous les dossier d'une démarche"
2021-04-29 16:16:23 +02:00
krichtof
d9a588b52e
Revert "Export de tous les dossier d'une démarche" 2021-04-29 16:07:18 +02:00
Paul Chavard
4f79c0315d
Merge pull request #6144 from tchak/use-heroicons
replace fontawesome with heroicons
2021-04-29 15:31:58 +02:00
Paul Chavard
69ab7854c2 replace fontawesome with heroicons 2021-04-29 15:20:05 +02:00