Commit graph

11487 commits

Author SHA1 Message Date
Keirua
3fcbc2a0bd
Merge pull request #5203 from betagouv/dependabot/bundler/kaminari-1.2.1
build(deps): bump kaminari from 1.1.1 to 1.2.1
2020-06-02 10:29:52 +02:00
dependabot[bot]
dc9769c38c build(deps): bump kaminari from 1.1.1 to 1.2.1
Bumps [kaminari](https://github.com/kaminari/kaminari) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/kaminari/kaminari/releases)
- [Changelog](https://github.com/kaminari/kaminari/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kaminari/kaminari/compare/v1.1.1...v1.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-02 07:59:16 +00:00
Kara Diaby
8d55ad3104
Merge pull request #5202 from betagouv/feat/5195-2
feat/5195 - Add styles without cadastres in  mapReader + tutorials pages
2020-05-29 09:36:34 +02:00
kara Diaby
1e3a042a69 Add styles without cadastres in mapReader + tutorials pages in MapEditor 2020-05-28 17:50:14 +02:00
krichtof
fd1e1914b6
Merge pull request #5201 from betagouv/dev
2020-05-28-02
2020-05-28 17:44:19 +02:00
krichtof
838ebfe2f1
Merge pull request #5199 from tchak/fix-etablissements-dossier
Fix remaining etablissements with shared dossier
2020-05-28 17:40:32 +02:00
Paul Chavard
cbe7249b67 Fix remaining etablissements with shared dossier 2020-05-28 16:54:58 +02:00
Pierre de La Morinerie
4048834b32
Merge pull request #5200 from betagouv/update-rebase-action
Mise à jour de l'action GitHub "Rebase"
2020-05-28 16:02:34 +02:00
Pierre de La Morinerie
44765e362b github: fix trailing whitespace 2020-05-28 13:53:01 +00:00
Pierre de La Morinerie
cfb66490d3 github: update rebase action
Update from 1.2 to 1.3.1:

- Allows to rebase PRs on forks (as long as the submitter checked "allow edits from maintainers").
- Less workarounds
2020-05-28 13:53:01 +00:00
Pierre de La Morinerie
cd234791cf
Merge pull request #5194 from betagouv/heure-de-paris
Usager : affichage de la date limite des démarches dans la description et les emails
2020-05-28 15:34:25 +02:00
Judith
d930124839 change procedure_auto_archive helper name and added a helper for 23 h 59 2020-05-28 13:22:02 +00:00
Judith
6b65ee8d15 mailers: display auto-archive date in notifications 2020-05-28 13:22:02 +00:00
Judith
38eb60f2ac views: display auto-archive date on procedure description 2020-05-28 13:22:02 +00:00
Judith
59346ee868 mailers: mention the auto_archive in notify_new_draft 2020-05-28 13:22:02 +00:00
Judith
e73086ee4c views: added the precision of the time zone for auto_archive
fix #5181
2020-05-28 13:22:02 +00:00
Paul Chavard
49f34210d1
Merge pull request #5198 from betagouv/dev
2020-05-27-02
2020-05-27 18:48:14 +02:00
Christophe Robillard
a923215139 fix fix champ etablissement 2020-05-27 18:46:04 +02:00
krichtof
3509f1d0ee
Merge pull request #5197 from betagouv/dev
2020-05-27-01
2020-05-27 18:17:49 +02:00
krichtof
1e8827500b
Merge pull request #5196 from betagouv/fix-champ-etablissement
fix champ etablissement
2020-05-27 18:14:28 +02:00
Christophe Robillard
35458761da fix champ etablissement 2020-05-27 18:04:56 +02:00
Paul Chavard
8c5fd58bd1
Merge pull request #5099 from tchak/fix-draft-notofications
Do not send draft norifications to users on inactive démarches
2020-05-27 17:23:29 +02:00
Paul Chavard
20705d6e30 Do not send draft norifications to users on inactive démarches 2020-05-27 16:36:46 +02:00
krichtof
d06ef02f67
Merge pull request #5192 from betagouv/dev
2020-05-26-01
2020-05-26 18:47:25 +02:00
krichtof
e3b6a33d89
Merge pull request #5191 from betagouv/bugfix-champ-siret
Fix. Ne met plus à jour l'établissement du dossier lors de la modif d'un champ siret
2020-05-26 18:26:32 +02:00
Christophe Robillard
fb87a09c02 doesn't update dossier etablissement for siret controller 2020-05-26 18:13:20 +02:00
Keirua
b8093962ec
Merge pull request #5185 from betagouv/aide-probleme-mail
Ajout de precisions pour les emails non reçus lors de la création de compte
2020-05-26 16:48:27 +02:00
clemkeirua
87f1e63e1b ajout de precisions pour les emails non reçus 2020-05-26 15:46:51 +02:00
Keirua
08f21c3bd6
Merge pull request #5186 from betagouv/service-must-be-reachable
Précisions sur le caractère obligatoire des infos de service
2020-05-26 15:46:33 +02:00
Keirua
0727f99ac8
reformulation d'un libelle de l'editeur de services
Co-authored-by: Pierre de La Morinerie <pierre.de_la_morinerie@beta.gouv.fr>
2020-05-26 15:28:27 +02:00
clemkeirua
21ad7055a2 precisions sur le caractère obligatoire des infos de service 2020-05-25 15:47:02 +02:00
Pierre de La Morinerie
2b644eb042
Merge pull request #5183 from betagouv/fix-spring-pg-crash
Correction de crashes lors de l'utilisation de Spring
2020-05-25 11:45:39 +02:00
Pierre de La Morinerie
b0db74ea79 config: fix spring randomly crashing in the pg gem
See https://github.com/ged/ruby-pg/issues/311
2020-05-25 09:23:41 +00:00
Keirua
1adb197e96
Merge pull request #5184 from betagouv/remove-unused-spec
specs: remove unused test case
2020-05-25 09:10:30 +02:00
Pierre de La Morinerie
2f509c2536 specs: remove unused test case
Actual code was removed in 0ff6c793ae

The spec was never executed, because it lacked the `_spec.rb` suffix.
2020-05-20 17:45:06 +02:00
Keirua
af6731578a
Merge pull request #5182 from betagouv/5113-async-for-api-ent-calls
raise exception with url
2020-05-20 16:11:40 +02:00
Christophe Robillard
1b509c15f8 raise exception with url 2020-05-20 15:53:08 +02:00
Kara Diaby
f672305d59
Merge pull request #5180 from betagouv/dev
2020-05-20-01
2020-05-20 15:05:18 +02:00
Pierre de La Morinerie
8f283d1383
Merge pull request #5164 from betagouv/feat/5136
Usager : amélioration de l'interface d'import de données cartographiques
2020-05-20 14:28:31 +02:00
kara Diaby
d8ae089e93 [Carto] Improve files import UX + import KML files 2020-05-20 14:17:27 +02:00
krichtof
7c6d870925
Merge pull request #5176 from betagouv/5113-async-for-api-ent-calls
Passe la récupération des données API Entreprise en asynchrone
2020-05-20 11:22:12 +02:00
Christophe Robillard
8c66b2cab1 rescue ResourceNotFound and BadFormatRequest errors
we don't have to retry this kind of errors, but just to send it to
sentry
2020-05-20 11:09:54 +02:00
Christophe Robillard
d92a0ba8f3 raise BadFormatRequest error
L'intention est de distinguer ce type d'erreur avec les erreurs serveur
5xx.
Lorsque l'api est appelé par un Job, les erreurs serveur seront retry, car éphémères.
Alors que les erreurs de type BadFormatRequest ou ResourceNotFound n'ont
pas être retried.
2020-05-20 11:09:54 +02:00
Christophe Robillard
f40123fee1 display only etablissement infos
all the other infos are not yet available because the jobs which
retrieve it are performed later
2020-05-20 11:09:54 +02:00
Christophe Robillard
3b46594e60 precise http error code for api calls 2020-05-20 11:09:54 +02:00
Christophe Robillard
013e78ce4e fix creating dossier feature sprec 2020-05-20 11:09:54 +02:00
Christophe Robillard
637bde7326 update siret_controller when finding etablissement
now, `ApiEntrepriseService` does'nt return a hash anymore but an
etablissement which is already persisted.
2020-05-20 11:09:54 +02:00
Christophe Robillard
eebfb5ee5b update dossiers_controller when updating siret
now, `ApiEntrepriseService` does'nt return a hash anymore but an
etablissement which is already persisted.
2020-05-20 11:09:54 +02:00
Christophe Robillard
ba5fa9aa4b update ApiEntrepriseService
There is now the `create_etablissement` method which
create etablissement with EtablissementAdapter
and enqueue api_entreprise jobs to retrieve
all informations we can get based on SIRET
2020-05-20 11:09:54 +02:00
Christophe Robillard
f4ebb5d107 create api_entreprise jobs 2020-05-20 11:09:54 +02:00