Pierre de La Morinerie
5b2311c851
dossiers: rescue RecordNotFound only for procedures
...
This ensures that we won't rescue an `ActiveRecord::RecordNotFound`
exception related to another object.
2020-01-08 10:48:21 +01:00
Pierre de La Morinerie
7f5b0d8bf3
specs: don't create an implicit brouillon in all test cases
2020-01-07 17:59:11 +01:00
Pierre de La Morinerie
630c6de967
specs: move the query for individual to the individual context
2020-01-07 17:59:11 +01:00
Paul Chavard
4cec26f73a
Merge pull request #4552 from tchak/champ-communes
...
Add champ communes and make all location champs autocomplete
2020-01-07 17:25:50 +01:00
Paul Chavard
e61e39d345
Remove unused code and tests
2020-01-07 11:52:51 +01:00
Paul Chavard
ff46ee366e
Fix user brouillon spec
2020-01-07 11:52:51 +01:00
Paul Chavard
4bbd16576b
Add champ communes
2020-01-07 11:52:51 +01:00
Paul Chavard
22aa2d4ee0
Make all location champs autocomplete
2020-01-07 11:52:51 +01:00
Paul Chavard
0ef25ef36c
Merge pull request #4649 from tchak/cleanup-archive
...
Cleanup demarche archivee state
2020-01-07 11:51:33 +01:00
Paul Chavard
fa2eea81aa
Cleanup demarche archivee state
2020-01-07 11:13:42 +01:00
Keirua
6f654b3ebe
Merge pull request #4671 from betagouv/dev
...
2020-01-07-01
2020-01-07 10:24:56 +01:00
Keirua
4527124755
Merge pull request #4668 from betagouv/strike-banner-feature-flip
...
Put the strike banner behind a feature-flip
2020-01-07 10:19:50 +01:00
clemkeirua
4f604c8b0a
put the strike banner behind a feature-flip
2020-01-06 15:25:43 +01:00
Pierre de La Morinerie
25d213dcf1
2020-01-06-01 ( #4665 )
...
2020-01-06-01
2020-01-06 11:10:02 +01:00
Paul Chavard
71a3e464b4
Merge pull request #4660 from betagouv/fix-autocorrect-exception
...
sign_up: fix suggestions error when navigating away
2019-12-19 18:30:48 +01:00
Pierre de La Morinerie
a5f2c84cbf
sign_up: fix suggestions error when navigating away
...
When navigating away from the page, the field receives the 'focusout'
event – but stops to be present in the DOM.
Thus we need to check that the DOM element is actually present.
2019-12-19 17:45:14 +01:00
Pierre de La Morinerie
fccbbdf53a
Fix dossier AASM exceptions ( #4657 )
...
Instructeur : meilleur messages lorsque le changement d’état d’un dossier échoue
2019-12-19 15:34:28 +01:00
Pierre de La Morinerie
8eb295d67e
dossiers: avoid exceptions on invalid AASM transitions
...
When attempting an invalid transition on a dossier, provide a meaningful
error message (instead of letting an `AASM::InvalidTransition` exception
propagate).
This handles not only the case where the same state is applied twice
(which was already handled manually), but all cases where the transition
is invalid.
2019-12-19 13:25:32 +01:00
Pierre de La Morinerie
c7a307553c
helpers: allow dossier_display_state
to take a state as input
...
This allow to use either:
- `dossier_display_state(dossier)`
- `dossier_display_state(:en_construction)`
2019-12-19 13:22:40 +01:00
Paul Chavard
0b54af822f
Merge pull request #4655 from betagouv/dependabot/bundler/rack-2.0.8
...
build(deps): bump rack from 2.0.7 to 2.0.8
2019-12-19 09:45:50 +01:00
dependabot[bot]
94736e4f27
build(deps): bump rack from 2.0.7 to 2.0.8
...
Bumps [rack](https://github.com/rack/rack ) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/2.0.7...2.0.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-18 23:28:28 +00:00
LeSim
37f290cf23
Merge pull request #4651 from betagouv/dev
...
2019-12-18-01
2019-12-18 14:04:33 +01:00
LeSim
3cd2296c52
Merge pull request #4650 from betagouv/fix_typo_in_job_name
...
Fix typo in purges_stale_exports_job filename
2019-12-18 13:43:31 +01:00
simon lehericey
2ee559c748
Fix typo in purges_stale_exports_job filename
2019-12-18 13:35:04 +01:00
LeSim
05ebb3f14e
Merge pull request #4632 from betagouv/export_uses_groupe_instructeur
...
Rend l'export de dossier compatible avec les procédures routées
2019-12-18 13:17:56 +01:00
simon lehericey
c95b7a33fa
Add brakeman exception for a export.file.service_url
2019-12-18 13:13:15 +01:00
simon lehericey
60538c9c28
Controller use new export model
2019-12-18 13:13:15 +01:00
simon lehericey
745086cbb5
Simplify view
2019-12-18 13:13:15 +01:00
simon lehericey
ce7ab89934
Add purge stale export job
2019-12-18 13:13:15 +01:00
simon lehericey
d0939ae1a4
Add Export Model
2019-12-18 13:13:15 +01:00
simon lehericey
d0f0533a32
Remove unused code
2019-12-18 13:13:15 +01:00
LeSim
388d8d6f01
Merge pull request #4645 from betagouv/dependabot/bundler/excon-0.71.0
...
build(deps): bump excon from 0.68.0 to 0.71.0
2019-12-18 13:13:05 +01:00
dependabot[bot]
d7454594aa
build(deps): bump excon from 0.68.0 to 0.71.0
...
Bumps [excon](https://github.com/excon/excon ) from 0.68.0 to 0.71.0.
- [Release notes](https://github.com/excon/excon/releases )
- [Changelog](https://github.com/excon/excon/blob/master/changelog.txt )
- [Commits](https://github.com/excon/excon/compare/v0.68.0...v0.71.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-18 09:35:44 +00:00
Keirua
5ab56d3276
Merge pull request #4646 from betagouv/dev
...
2019-12-16-01
2019-12-16 23:18:07 +01:00
Keirua
bddfabb2ad
Merge pull request #4644 from betagouv/bravo_simon
...
Corrige un bug concernant les destinataires du mail annoncant un nouvel instructeur dans un groupe
2019-12-16 23:15:55 +01:00
simon lehericey
f069f6f779
Make the new instructeur receive the affectation mail
2019-12-16 18:20:00 +01:00
simon lehericey
c02e8b9553
Routing: send emails to the right group
2019-12-16 17:47:08 +01:00
Keirua
c9810adf4b
Merge pull request #4625 from Keirua/fix-typo-editeur
...
Clarification du bouton de création d'annotations privées
2019-12-16 10:30:53 +01:00
clemkeirua
c2c3f05262
p'tit fix d'utilisabilité
2019-12-16 09:49:23 +01:00
LeSim
f2e1a7f18f
Merge pull request #4634 from betagouv/dev
...
2019-12-12-01
2019-12-12 16:23:05 +01:00
LeSim
4c57659765
Merge pull request #4633 from betagouv/fix_mail
...
Corrige un bug qui empéchait les mails concernant les dossiers dont la démarche n'avait pas de tel de partir
2019-12-12 16:10:12 +01:00
simon lehericey
278659dcb3
fix footer without tel
2019-12-12 15:57:47 +01:00
LeSim
7096513738
Corrige certaines dates qui ne prenaient pas en compte la timezone
...
Bug with time zone: Date breaks database comparisons
2019-12-11 17:44:04 +01:00
maatinito
a02a5edce3
Bug with time zone when testing sending of brouillon expiration notices
2019-12-11 17:34:10 +01:00
maatinito
9672d892e9
Bug with time zone: Time.zone.today looses time_zone and may breaks database comparisons
2019-12-11 17:34:10 +01:00
LeSim
1b17218b5c
Merge pull request #4624 from betagouv/instructor_cannot_change_its_mail
...
Suppression de la possibilité pour instructeur de changer son propre email
2019-12-11 17:28:57 +01:00
simon lehericey
058442c84e
[link to #4557 ] An instructeur cannot change its email on its own
2019-12-11 17:18:21 +01:00
simon lehericey
21910c959e
@current_user -> current_user
2019-12-11 17:18:21 +01:00
simon lehericey
e06733d01b
Clean spec
2019-12-11 17:18:21 +01:00
simon lehericey
301653bb89
Only display email form if the user is not instructeur
2019-12-11 17:18:21 +01:00