Commit graph

9719 commits

Author SHA1 Message Date
Kara Diaby
aad44dbac8
Merge pull request #5102 from betagouv/fix/4995
Fix Safari and Firefox compatibility for mapbox-gl js
2020-04-30 14:28:20 +02:00
kara Diaby
2fc438ab65 Fix safari and firefox compatibility mapbox gl 2020-04-30 14:14:03 +02:00
Paul Chavard
40d4a0f407
Merge pull request #5101 from betagouv/attestations-only-for-instructeurs
show attestations sociales and fiscales only for instructeurs
2020-04-30 12:23:49 +02:00
Christophe Robillard
59357f2100 show attestations sociales and fiscales only for instructeurs 2020-04-30 11:53:17 +02:00
krichtof
c896f424ff
Merge pull request #5097 from betagouv/5087-attestation-fiscale
instructeurs: affiche attestation fiscale
2020-04-30 11:46:55 +02:00
Christophe Robillard
3ddb5a4cb4 store attestation fiscale and display 2020-04-30 11:39:54 +02:00
Christophe Robillard
38c68b16e3 create attestation_fiscale_adapter 2020-04-30 11:39:54 +02:00
Paul Chavard
15d8155f59
Merge pull request #5098 from betagouv/dependabot/npm_and_yarn/jquery-3.5.0
build(deps): bump jquery from 3.4.1 to 3.5.0
2020-04-30 11:05:39 +02:00
dependabot[bot]
cd6d07741f
build(deps): bump jquery from 3.4.1 to 3.5.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-30 02:23:37 +00:00
Paul Chavard
f57a2036e9
Merge pull request #5043 from tchak/show-republish-button-when-depubliee
Enable republish on démarches dépubliée
2020-04-29 19:05:38 +02:00
Paul Chavard
b516cbc179 Enable republish on démarches dépubliée 2020-04-29 18:04:35 +02:00
Paul Chavard
60998f410d
Merge pull request #5096 from betagouv/ne-clone-pas-token
don't copy api_entreprise_token when cloning
2020-04-29 18:04:07 +02:00
Christophe Robillard
ddd3e6bb02 don't copy api_entreprise_token when cloning
except for an admin who owns the parent procedure
2020-04-29 17:17:20 +02:00
krichtof
8130e1d2b5
Merge pull request #5095 from betagouv/5086-afficher-attestation-sociale
[5086] instructeurs : affiche attestation sociale pour les procédures autorisées
2020-04-29 16:37:18 +02:00
Christophe Robillard
158b4802ab store attestation sociale and display 2020-04-29 16:25:47 +02:00
Christophe Robillard
d74b14c205 fetch attestation sociale url 2020-04-29 14:25:55 +02:00
Christophe Robillard
b147956a92 create attestation_sociale_adapter 2020-04-29 14:01:48 +02:00
krichtof
db4cd5f031
Merge pull request #5092 from betagouv/5084-jeton-demarche
#5084 appelle api entreprise avec un jeton spécifique à une démarche
2020-04-28 15:38:04 +02:00
Christophe Robillard
4bd4524f67 fix api_entreprise specs 2020-04-28 15:17:11 +02:00
Christophe Robillard
e29af48420 call api_entreprise with specific token if exist 2020-04-28 15:17:11 +02:00
Christophe Robillard
14ff18ca80 store specific api-entreprise token for a procedure 2020-04-28 15:17:11 +02:00
Paul Chavard
920cf6bb3f fix bundle install 2020-04-28 14:58:16 +02:00
Paul Chavard
6b26f3bdb4
Merge pull request #5090 from betagouv/clarify-possibility-to-extend-construction
Précision dans le mail suppression des dossiers en construction
2020-04-28 14:56:55 +02:00
clemkeirua
1ac7ec2dca precision dans mail suppression dossier en construction 2020-04-28 12:42:00 +00:00
Paul Chavard
c7d08d2573
Merge pull request #5093 from tchak/fix-rgeo-ffi
Fix geos not being properly load in some environements
2020-04-28 14:40:08 +02:00
Paul Chavard
053e2db8f7 Fix geos not being properly load in some environements 2020-04-28 12:21:22 +02:00
Kara Diaby
d57ea33adb
Merge pull request #5082 from betagouv/feat/4995
feat/4995 - Migrate the map editor to mapbox-gl with react
2020-04-28 10:52:16 +02:00
kara Diaby
9aea1fffee Migrate the map editor to mapbox-gl with react component 2020-04-27 11:30:32 +02:00
Paul Chavard
92edbd1724
Merge pull request #5085 from tchak/fix-crash-on-boot-without-geos
Fix crash on boot without geos
2020-04-23 20:34:56 +02:00
Paul Chavard
983cfad38f Bump bundler cache 2020-04-23 20:16:20 +02:00
Paul Chavard
654793c2a7 Mention geos installation in the README 2020-04-23 20:12:31 +02:00
Paul Chavard
2a3530738d Do not crash on boot if geos is not installed 2020-04-23 20:12:31 +02:00
Pierre de La Morinerie
04cf174039 Revert "app: add a warning about the file upload"
This reverts commit 7f45c7d97b.
2020-04-23 18:31:59 +02:00
Pierre de La Morinerie
0845777fa0 Merge branch 'file-banner' into dev 2020-04-23 17:00:49 +02:00
Pierre de La Morinerie
7f45c7d97b app: add a warning about the file upload 2020-04-23 16:54:27 +02:00
krichtof
3a05d63fbd
Merge pull request #5081 from betagouv/5074-bug-notif-instructeur
5074: send notif only to the right instructeurs
2020-04-23 13:10:25 +02:00
Christophe Robillard
339066778d send notif only to the right instructeurs
after a dossier creation, only the instructeurs that belong to the group
instructeur of the dossier, and who want notif will be notified by mail
2020-04-23 13:01:57 +02:00
Pierre de La Morinerie
d927118221
Merge pull request #5076 from betagouv/fix-file-upload-error-stacktraces 2020-04-23 12:35:53 +02:00
Pierre de La Morinerie
6f4075f38e javascript: fix FileUploadError stacktraces
When subclassing a JS error, most browsers include the constructor
stacktrace :/

This is an issue, because:
- The stacktrace is deeper than it should be
- The stacktrace reaches into a polyfill for which there is not source
map, which causes Sentry to infer the issue grouping from the JS file
name. And the fingerprinted name changes on each release. So for each
release, the stacktrace is different ; and Sentry can't group issues
properly.
2020-04-23 12:27:26 +02:00
Paul Chavard
a583fa6391
Merge pull request #5070 from tchak/geo_areas_calc
Show area and length on champ carto selections utilisateur
2020-04-23 11:07:56 +02:00
Paul Chavard
d591892380 Add GEOS to circle CI 2020-04-23 10:21:18 +02:00
Paul Chavard
9cb612bb3d Show area and length on champ carto selections utilisateur 2020-04-23 10:21:18 +02:00
Paul Chavard
54d37bdb5d
Merge pull request #5078 from betagouv/5068-effectif-annee-anterieure
instructeurs: affiche l'effectif moyen pour l'année antérieure
2020-04-23 10:20:44 +02:00
Christophe Robillard
792e755af9 expose effectif_annuel dans api graphql 2020-04-23 09:53:27 +02:00
Christophe Robillard
453adf3c74 instructeurs: affiche l'effectif moyen annuel n-1 2020-04-23 09:53:27 +02:00
Christophe Robillard
85d119fa4d n'affiche plus le code effectif 2020-04-23 09:53:27 +02:00
Christophe Robillard
a507359f5c précise source pour effectifs mensuels 2020-04-23 09:53:27 +02:00
Paul Chavard
76d95e092d
Merge pull request #5077 from tchak/deleted_dossiers_safer_notifications
Mark as sent or destroy right after each notification
2020-04-23 09:48:42 +02:00
Paul Chavard
b849fc6fc3 Mark as sent or destroy right after each notification is sent to enable a better recovery in case of mid loop failures 2020-04-23 09:36:09 +02:00
Paul Chavard
91a1c129eb
Merge pull request #5075 from betagouv/cleanup-instructeur-show-specs
Specs : nettoyage de instructeurs/procedures_controller_spec.rb #show
2020-04-23 09:35:51 +02:00