Commit graph

17279 commits

Author SHA1 Message Date
Martin
7206f1b298 bug(api): token, not checked 2023-01-19 17:33:19 +01:00
LeSim
d566a5e095
Merge pull request #8455 from demarches-simplifiees/fix_instructeur_visibility
fix(expert_export): an expert export excludes annotation and avis
2023-01-19 12:16:31 +01:00
simon lehericey
84d08d4d24 fix(expert_export): an expert export excludes annotation and avis 2023-01-19 12:09:16 +01:00
Paul Chavard
c62d83a7f5
Merge pull request #8463 from marc-bouvier/strike-banner
add strike banner
2023-01-19 12:03:49 +01:00
Paul Chavard
b40b6267ad chore(layout): remove unused file 2023-01-19 11:56:46 +01:00
Marc Bouvier
8688671439 add strike banner 2023-01-19 11:56:46 +01:00
Sébastien Carceles
0046338e6a
fix(prefill): don't mark the dossier as prefilled when it's not (#8464)
A dossier should not be marked as prefilled when it's not, meaning
when no prefill params are given.
2023-01-19 10:51:56 +00:00
mfo
51e97b2d89
Merge pull request #8465 from mfo/US/fix-repetition
Us/fix repetition
2023-01-19 11:04:12 +01:00
Martin
8528939b75 correctif(champs/repetitions#remove): les row id etant des ulid commence par un int. utiliser l'ulid comme selecteur css n'est pas valide. il faut donc avoir un selecteur CSS 'safe', et envoyer le row_id 2023-01-19 10:48:01 +01:00
Martin
f59354f787 tech(champs/repetitions#remove): ajout d'un test pour s'assurer que l'action de suppression d'un bloc repetable fonctionne 2023-01-19 10:38:30 +01:00
mfo
1f3215ed46
Merge pull request #8434 from mfo/US/sib-webhooks
Us/sib webhooks - ajoute d'un webhook pr diffuser les incidents SIB sur nos channel de support
2023-01-19 09:57:56 +01:00
Martin
3dc26efc61 infra(monitoring): ajoute le webhook pour les notifier des incidents cote sib 2023-01-19 09:50:25 +01:00
Colin Darie
40ca336750
Merge pull request #8462 from colinux/fix-not-terminable-dossier-having-incomplete-etablissement
Fix: prévient l'instructeur lorsqu'un dossier n'est pas terminable à cause de champ SIRET incomplet
2023-01-18 19:37:31 +01:00
Colin Darie
00643b968d chore(serializer): add sentry tags to have more details when serialization failed 2023-01-18 19:23:25 +01:00
Colin Darie
b549a0ba83 fix(instructeurs): notify that dossier can be terminer if a siret champ is in degraded mode 2023-01-18 19:23:25 +01:00
Colin Darie
428dd9bf1a fix(dossier): we can't terminer any dossier having etablissements in degraded mode
Closes #8449
2023-01-18 19:23:25 +01:00
Kara Diaby
d986c998b8
Merge pull request #8392 from demarches-simplifiees/feat/8065
ETQ Administrateur, je souhaite filtrer mes démarches par tag
2023-01-18 18:54:35 +01:00
Kara Diaby
063059d6f0 tests 2023-01-18 18:46:42 +01:00
Kara Diaby
eac5a42a32 model 2023-01-18 18:46:42 +01:00
Kara Diaby
04b86e9c55 controller 2023-01-18 18:46:42 +01:00
Kara Diaby
b81c36c6b8 layout 2023-01-18 18:46:42 +01:00
Paul Chavard
3f735de520
Merge pull request #8461 from tchak/fix-graphql-description-with-pj
fix(graphql): demarche with pj should return schema
2023-01-18 18:21:56 +01:00
Paul Chavard
b5dc71e975 fix(graphql): demarche with pj should return schema 2023-01-18 18:06:10 +01:00
Colin Darie
1c4d1c4760
Merge pull request #8460 from colinux/backfill-missing-row-ids
fix(after_party): backfill children Champs without row_ids
2023-01-18 17:51:37 +01:00
Colin Darie
869bdf6ade fix(after_party): backfill children Champs without row_ids
Pendant l'after_party 20221215135522_backfill_row_id_on_champs.rake
qui crééait les row_id pour la première fois,
des dossiers ont été clonés et ont échappé à cette tâche.
Ils possèdent donc des champs répétables sans row_id.

Cette tâche vient compléter les row_id manquants
pour ces quelques malheureux champs.

Co-authored-by: Paul Chavard <github@paul.chavard.net>
2023-01-18 17:42:40 +01:00
Paul Chavard
357290acf7
Merge pull request #8117 from tchak/graphql-complete-demarche
feat(graphql): expose more information on demarche descriptor
2023-01-18 15:50:22 +01:00
Paul Chavard
e19af241ca feat(graphql): expose pays, region and departement options in schema 2023-01-18 13:46:40 +01:00
Paul Chavard
c04e39a74d fix(graphql): annotationDescriptors should not be exposed as opendata 2023-01-18 13:46:40 +01:00
Paul Chavard
cdb3ce65cb feat(graphql): expose more information on demarche descriptor 2023-01-18 13:46:40 +01:00
Paul Chavard
ed1754e1fb refactor(graphql): make champ descriptor an interface 2023-01-18 13:30:02 +01:00
Damien Le Thiec
3a8a50a216
Allow prefill pays type de champs (#8344)
* Allow prefill pays type de champs

* Avoid conditional prefil params for pays champ

* Clean pays data with batch update

* Fix bug and add test batch update pays value

* Improve performance batch_update_pays

* Fix associated country code problem

* Fix after party task name

* Format country name if needed in batch update
2023-01-18 12:52:38 +01:00
Paul Chavard
eea2912ae5
Merge pull request #8364 from SebastienGt/fix-adding-console-output-active-record
Fix : flash.now pour groupe instructeurs
2023-01-18 10:13:49 +01:00
SebastienGt
bd42e93bc6 Correction pour flash.now 2023-01-18 10:03:55 +01:00
SebastienGt
1fd26fad54 Correction 2023-01-18 10:03:55 +01:00
SebastienGt
05d0870cce Correction 2023-01-18 10:03:55 +01:00
SebastienGt
981ae0625f Correction 2023-01-18 10:03:55 +01:00
SebastienGt
b14167837c Decalage notice 2023-01-18 10:03:55 +01:00
SebastienGt
0cb7bd2424 Merging 2023-01-18 10:03:55 +01:00
SebastienGt
0507bb673d Simplification du code en supprimant if 2023-01-18 10:03:55 +01:00
Sebastien
c37ed7a7a1 Adding console output when saving failed 2023-01-18 10:03:55 +01:00
Colin Darie
6a349278b3
Merge pull request #8451 from colinux/dolist-report-job
feat: ETQ super-admin je peux recevoir un rapport d'analyse d'emails envoyés avec Dolist
2023-01-18 10:03:18 +01:00
Colin Darie
deb40caae1 feat(manager): schedule a dolist report from manager 2023-01-18 09:56:40 +01:00
Colin Darie
1947fcf72b feat(manager): allow to add a footer below index without always overriding index 2023-01-18 09:56:40 +01:00
Colin Darie
784b0458fe feat(dolist): consolidate dispatched events with delivered emails 2023-01-18 09:56:40 +01:00
Sébastien Carceles
5c7b2ba1f3
feat(dossier): prefill drop down list champ (#8361)
* feat(dossier): prefill drop down list champ

* decorate the types de champ to avoid if / else

In order to avoid doing if this a drop down ? / else at several places,
we decorate the types de champ and let the decorator give the possible
and example values.

* show all possible values when there are too many

* allow to prefill 'other' option

* review: remove duplicate

* review: refactor for readability

* validate that value is in options

* review: exclude disabled options
2023-01-18 09:47:22 +01:00
Paul Chavard
91117fe97f
Merge pull request #8441 from tchak/fix-and-improuve-autosubmit
feat(autosubmit): data-no-autosubmit can disable only some event types
2023-01-18 09:34:17 +01:00
Paul Chavard
2f17793900 feat(autosubmit): data-no-autosubmit can disable only some event types
this is useful on inputs with datalist for example where we want to only autosubmit on change
2023-01-18 09:26:47 +01:00
Paul Chavard
e4eb54e87a fix(autosubmit): addEventListener with capture for focus events 2023-01-18 09:25:41 +01:00
Paul Chavard
424301376f
Merge pull request #8452 from colinux/fix-rails-cve 2023-01-18 09:15:26 +01: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