Commit graph

11469 commits

Author SHA1 Message Date
Keirua
3fa628235e Nettoyage de I18n.transliterate pour les noms de feuilles d'exports
Co-authored-by: LeSim <mail@simon.lehericey.net>
2020-09-29 15:50:19 +00:00
clemkeirua
9714b607aa ensure valid excel worksheet names 2020-09-29 15:50:19 +00:00
Keirua
045501ae50
Merge pull request #5644 from tchak/fix-mandatory-linked-champs
Add mandatory * to secondary value
2020-09-29 17:49:57 +02:00
Paul Chavard
a55be55c6a Add mandatory * to secondary value 2020-09-29 14:33:27 +00:00
clemkeirua
5fd41bbfd9 disable dependabot 2020-09-29 16:27:40 +02:00
Keirua
61ff2f4c36
Merge pull request #5646 from betagouv/fix_export_bugs
Fix export bugs
2020-09-29 14:16:50 +02:00
simon lehericey
1eb780b0c9 convert sheet_name to ascii before tuncate to 30 to ensure length < 31 bytes 2020-09-29 14:11:06 +02:00
simon lehericey
29ef5e6785 compute async only after create 2020-09-29 14:00:31 +02:00
simon lehericey
5ed491b958 export are kept for 1 hour 2020-09-29 13:59:57 +02:00
Keirua
d469d4ddd1
Merge pull request #5640 from Keirua/ignore-missing-etablissement
do not run ApiEntreprise jobs on missing etablissements
2020-09-28 17:58:43 +02:00
clemkeirua
245e9e59c7 do not run ApiEntreprise jobs on missing etablissements 2020-09-28 17:36:38 +02:00
Keirua
dd43c46e5e
Merge pull request #5641 from betagouv/fix-broken-admin-stats
fix for missing user_sign_in_count
2020-09-28 17:35:49 +02:00
clemkeirua
bf02238662 fix for missing user_sign_in_count 2020-09-28 15:55:18 +02:00
Keirua
9fe8cdfcb0
Merge pull request #5639 from betagouv/dependabot/bundler/rubocop-0.92.0
Bump rubocop from 0.91.1 to 0.92.0
2020-09-28 09:43:01 +02:00
dependabot[bot]
9cba957c60
Bump rubocop from 0.91.1 to 0.92.0
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.91.1 to 0.92.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.91.1...v0.92.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-28 05:03:00 +00:00
Keirua
dc989d4cc5
Merge pull request #5619 from betagouv/dependabot/bundler/jwt-2.2.2
Bump jwt from 2.2.1 to 2.2.2
2020-09-25 20:15:23 +02:00
dependabot[bot]
d8d32a7fc8
Bump jwt from 2.2.1 to 2.2.2
Bumps [jwt](https://github.com/jwt/ruby-jwt) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/jwt/ruby-jwt/releases)
- [Changelog](https://github.com/jwt/ruby-jwt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jwt/ruby-jwt/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-25 14:53:37 +00:00
Keirua
56fdfe8d56
Merge pull request #5624 from betagouv/dependabot/bundler/geocoder-1.6.3
Bump geocoder from 1.6.2 to 1.6.3
2020-09-25 16:52:03 +02:00
dependabot[bot]
12ad186c25
Bump geocoder from 1.6.2 to 1.6.3
Bumps [geocoder](https://github.com/alexreisner/geocoder) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/alexreisner/geocoder/releases)
- [Changelog](https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/alexreisner/geocoder/compare/v1.6.2...v1.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-25 14:17:35 +00:00
Keirua
9e2d4b129a
Merge pull request #5618 from betagouv/dependabot/bundler/browser-5.0.0
Bump browser from 4.2.0 to 5.0.0
2020-09-25 16:16:19 +02:00
dependabot[bot]
36da845501
Bump browser from 4.2.0 to 5.0.0
Bumps [browser](https://github.com/fnando/browser) from 4.2.0 to 5.0.0.
- [Release notes](https://github.com/fnando/browser/releases)
- [Changelog](https://github.com/fnando/browser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fnando/browser/compare/v4.2.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-25 13:59:07 +00:00
Keirua
a21e26bd82
Merge pull request #5616 from Keirua/bump-rubocop
Bump rubocop
2020-09-25 15:22:47 +02:00
clemkeirua
5db826bc8d enable the rules that are already passing 2020-09-25 12:53:11 +00:00
clemkeirua
4053198e78 add disabled new rules to rubocop.yml 2020-09-25 12:53:11 +00:00
clemkeirua
bdfc25c928 argument expand path 2020-09-25 12:53:11 +00:00
clemkeirua
560e1fc4fe tag.span instead of content_tag 2020-09-25 12:53:11 +00:00
clemkeirua
2cb3b1c68e more idiomatic count 2020-09-25 12:53:11 +00:00
clemkeirua
f7ebbdc7c2 use match if possible 2020-09-25 12:53:11 +00:00
clemkeirua
9b324614b8 transform_values instead of map+to_h 2020-09-25 12:53:11 +00:00
clemkeirua
f3e487bd9e replace filter+first with find 2020-09-25 12:53:11 +00:00
clemkeirua
dfd2c1ee79 reorder gems 2020-09-25 12:53:11 +00:00
clemkeirua
19294a93e4 replace deprecate rubocop rules as suggested 2020-09-25 12:53:10 +00:00
clemkeirua
a10e692d35 bump rubocop & dependencies
Error: The `Layout/Tab` cop has been renamed to `Layout/IndentationStyle`.
(obsolete configuration found in .rubocop.yml, please update it)
The `Style/MethodMissingSuper` cop has been removed since it has been superseded by `Lint/MissingSuper`. Please use `Lint/MissingSuper` instead.
(obsolete configuration found in .rubocop.yml, please update it)
The `Lint/UselessComparison` cop has been removed since it has been superseded by `Lint/BinaryOperatorWithIdenticalOperands`. Please use `Lint/BinaryOperatorWithIdenticalOperands` instead.
(obsolete configuration found in .rubocop.yml, please update it)
2020-09-25 12:53:10 +00:00
Keirua
5fb2dbfdb4
Merge pull request #5357 from Keirua/reenable-validator-on-pj
#4926 Reenable validator on piece_justificative
2020-09-25 12:02:35 +02:00
clemkeirua
eb46cc6425 piecejusticative file validation focus on size 2020-09-25 09:35:16 +00:00
clemkeirua
c155de1d7e ajout de la liste des extensions 2020-09-25 09:35:16 +00:00
clemkeirua
a465bad405 fix broken test in champ_serializer_spec 2020-09-25 09:35:16 +00:00
clemkeirua
31d48c2879 validation is enableed only for 'new' procedures 2020-09-25 09:35:16 +00:00
clemkeirua
0d88674cea better translations 2020-09-25 09:35:16 +00:00
clemkeirua
8711e8f911 reenable validator on piece_justificative 2020-09-25 09:35:16 +00:00
Keirua
c5af4110a4
Merge pull request #5623 from Keirua/use-after_save_commit-for-async-tasks
create export after commiting the export object
2020-09-24 23:21:21 +02:00
clemkeirua
d617a4b252 create export after commiting the export object 2020-09-24 18:56:22 +00:00
Paul Chavard
a266b22399
Merge pull request #5621 from betagouv/dependabot/bundler/graphql-batch-0.4.3
Bump graphql-batch from 0.4.2 to 0.4.3
2020-09-24 18:22:33 +02:00
dependabot[bot]
11f3cd96f2
Bump graphql-batch from 0.4.2 to 0.4.3
Bumps [graphql-batch](https://github.com/Shopify/graphql-batch) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/Shopify/graphql-batch/releases)
- [Commits](https://github.com/Shopify/graphql-batch/compare/v0.4.2...v0.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-24 15:17:01 +00:00
Keirua
c394ad030c
Merge pull request #5617 from betagouv/introduce-dependabot
Create dependabot.yml
2020-09-24 17:15:02 +02:00
Keirua
f44ebf4cbc Create dependabot.yml 2020-09-24 15:02:15 +00:00
Paul Chavard
77fd783fa9
Merge pull request #5614 from Keirua/fix-length-error-worksheet-names
Length sanitization for worksheet exports
2020-09-24 16:53:45 +02:00
clemkeirua
c19b653581 higher level length sanitization for worksheet length 2020-09-24 14:59:46 +02:00
Paul Chavard
fb9b44fb39
Merge pull request #5613 from tchak/fix-new-demade-url
Redirect demandes to DEMANDE_INSCRIPTION_ADMIN_PAGE_URL
2020-09-24 11:34:40 +02:00
Paul Chavard
a49c962ab3 Redirect demandes to DEMANDE_INSCRIPTION_ADMIN_PAGE_URL 2020-09-24 09:57:43 +02:00