Commit graph

12539 commits

Author SHA1 Message Date
clemkeirua
4fc038fe1b use after_create instead of after_save 2020-09-29 18:15:38 +00:00
clemkeirua
d23b1136ad send invite notifications using a hook 2020-09-29 18:15:38 +00:00
clemkeirua
dd7840cdc4 Notify new draft after dossier commit 2020-09-29 18:15:38 +00:00
Kara Diaby
f6ee062f27
Merge pull request #5615 from betagouv/fix-service-link
fix services choice into a procedure
2020-09-29 20:02:59 +02:00
kara Diaby
2a69e2fbeb fix services choice into a procedure 2020-09-29 19:53:28 +02:00
Keirua
d2d007fdb1
Merge pull request #5648 from betagouv/fix-transliterate
Ensure valid excel worksheet names
2020-09-29 18:04:24 +02:00
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
05391be93a
Merge pull request #5647 from betagouv/dev
2020-09-29-01
2020-09-29 14:28:59 +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
eb27f8ac3e
Merge pull request #5625 from betagouv/dev
2020-09-25-01
2020-09-25 08:58:41 +02: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