Pierre de La Morinerie
d70f01a6b2
form: cleanup dossier feature spec
2018-07-02 12:30:27 +02:00
Mathieu Magnin
e694e7f9b9
[ Fix #2145 ] When procedure is archived, usager should see a message explaining dossier submission is closed
2018-07-02 11:10:34 +02:00
Mathieu Magnin
9afbd16bbf
[ Fix #2145 ] When procedure is archived, usager should not be able to submit a dossier
2018-07-02 11:10:33 +02:00
Frederic Merizen
b003fe9221
[ Fix #2176 ] Allow setting page size in API
2018-06-29 17:34:35 +02:00
Frederic Merizen
b326cb9c3e
[ #1421 ] Handle mandatory fields
2018-06-28 20:06:32 +02:00
Frederic Merizen
e794515c8e
[ #1421 ] Format linked dropdown menus in spreadsheet export
2018-06-28 20:06:32 +02:00
Frederic Merizen
04892f6c55
[ #1421 ] Format value for display
2018-06-28 20:06:32 +02:00
Paul Chavard
d0a6957862
Remove old cerfa code
2018-06-28 15:16:20 +02:00
Pierre de La Morinerie
0cebf60c46
[ #1421 ] replace master/slave by primary/secondary
2018-06-27 17:02:46 +02:00
Frederic Merizen
dad3bc092b
[ #1421 ] linked dropdwon user view
2018-06-27 17:02:46 +02:00
Frederic Merizen
7b1e8c2110
[ #1421 ] Extract values for both drop down lists
2018-06-27 17:02:46 +02:00
Frederic Merizen
2214fc6b86
[ #1421 ] Extract contents of both drop down lists
2018-06-27 17:02:46 +02:00
Pierre de La Morinerie
d77530b6a6
dossiers: move link back to the old ui
2018-06-27 11:37:06 +02:00
Pierre de La Morinerie
9f70e72d83
dossiers: add a button to start a new demarche
2018-06-26 18:13:52 +02:00
Pierre de La Morinerie
8c36c8d26f
dossiers: add an empty state
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
06de1d6cee
dossiers: link individual dossiers to the old UI
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
f242c73974
dossiers: make link in the header point to the new UI
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
b9c8a1ffbe
dossiers: simpler display when there are not invited dossiers
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
663c39ea11
specs: improve speed of dossiers specs (12s -> 6s)
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
51e256e122
header: fix link to the contact email
2018-06-25 11:26:45 +02:00
Frederic Merizen
15e8d8af05
[ #1421 ] Add linked dropown fields
2018-06-21 16:19:20 +02:00
Mathieu Magnin
4f93354107
Merge branch 'dev' into fix-rake-specs
2018-06-21 11:44:02 +02:00
simon lehericey
c3610fc96e
[ fix #2067 ] Resend confirmation mail if the user is not confirmed
2018-06-20 13:30:32 +02:00
Pierre de La Morinerie
9f502c536b
spec: only load tasks once
...
When a task is loaded several times, a single call of `task.invoke`
will run the task several times too.
This made `add_annotion_privee_to_procedure_spec` fail when it wasn't
the first task being tested.
2018-06-20 11:35:20 +02:00
Pierre de La Morinerie
c4057a0807
dossier: display user infos on edit page
2018-06-19 16:27:53 +02:00
Pierre de La Morinerie
60475d0165
factories: add parenthesis around method arguments
2018-06-19 16:01:35 +02:00
Frederic Merizen
0239f936d7
[ #1421 ] Move departements to DepartementChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
5b59bce0b6
[ #1421 ] Move regions to RegionChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
521aec6af9
[ #1568 ] Remove old previsualisation code
2018-06-19 12:42:46 +02:00
Frederic Merizen
fd10310cbf
[ Fix #1568 ] Use new procedure preview
2018-06-19 12:42:46 +02:00
Mathieu Magnin
e05fb2d0ae
Allow dossier deletion if instruction has not started
2018-06-19 10:05:00 +02:00
Pierre de La Morinerie
790704ef58
tasks: silence output of tasks during tests
...
Currently, when running specs, the output of rake tasks is spamming
the tests results.
This PR configures Rake so that it runs in quiet mode during specs. This
disables the internal messages of rake during tests.
However our own `puts` also need to be conditionned to the verbosity of
rake. Using a simple `rake_puts` helper allows the info messages to be
displayed when running the rake task manually, but not during tests.
Before:
```
$ bin/rspec spec/lib/rake
Randomized with seed 6544
1 Mails::ClosedMail to clean
cleaning Mails::ClosedMail #1
1 Mails::InitiatedMail to clean
cleaning Mails::InitiatedMail #1
1 Mails::ReceivedMail to clean
cleaning Mails::ReceivedMail #1
1 Mails::RefusedMail to clean
cleaning Mails::RefusedMail #1
1 Mails::WithoutContinuationMail to clean
cleaning Mails::WithoutContinuationMail #1
.....Champ 0/1
.Champ 0/1
.
```
After:
```
$ bin/rspec spec/lib/rake
Randomized with seed 6544
.......
```
2018-06-13 11:05:15 +02:00
Mathieu Magnin
cd4615b10d
When a new PJ is uploaded enqueue a anti virus scan job
2018-06-12 15:12:39 +02:00
Frederic Merizen
3ba0dd1620
[ #2071 ] Fix test now that mails are multipart
2018-06-10 11:53:51 +02:00
simon lehericey
e11392981d
[ fix #2072 ] DossierController: check the user can update the dossier
2018-06-08 16:24:29 +02:00
gregoirenovel
24e37842ee
Fix a typo
2018-06-08 15:14:22 +02:00
gregoirenovel
b88cea3c18
Change a deliver into a deliver_later
2018-06-07 15:14:26 +02:00
Frederic Merizen
65e9025d5d
Add at least minimal test for AdministrationMailer
2018-06-06 16:08:18 +02:00
Frederic Merizen
695f5b2705
Fix class methods on BizDev module
...
and add missing tests
2018-06-06 16:07:29 +02:00
gregoirenovel
41e8350cbe
[ Fix #1735 ] Sign the admin account creation email
2018-06-01 20:48:50 +02:00
Frederic Merizen
52bb40ab20
[ #1946 ] Show retention times in procedure administration summary
2018-06-01 17:35:04 +02:00
gregoirenovel
b82ed65568
[ Fix #885 ] Convert .text.erb to .html.haml
2018-06-01 17:14:48 +02:00
Frederic Merizen
346687bd33
[ #1946 ] Once durees de conservation have been set, forbid unsetting them
2018-06-01 16:46:39 +02:00
Frederic Merizen
42765efb91
[ #1946 ] Add validation to durees conservation
2018-06-01 16:46:39 +02:00
Frederic Merizen
648483ac76
[ #1946 ] Allow admins to edit data retention time
2018-06-01 16:46:39 +02:00
Frederic Merizen
5325830d62
[ #1946 ] Extract test helper method
2018-06-01 16:46:39 +02:00
gregoirenovel
4f2509861b
Improve the wording of the avis email
2018-06-01 15:42:56 +02:00
Frederic Merizen
c39a58749f
Remove duplicate translations
...
There is a default translation for `blank` already
2018-06-01 15:21:25 +02:00
gregoirenovel
b364b8bfb3
Improve many subjects
2018-06-01 11:35:40 +02:00
simon lehericey
c72421fb9e
Procedure: Once deliberation or cadre_juridique have been set, forbid unsetting them
2018-06-01 11:12:53 +02:00
simon lehericey
1f0e46a4ff
Procedure: required juridique stuff only if needed
2018-06-01 11:12:53 +02:00
gregoirenovel
185f08f63e
Add constants for email addresses
2018-06-01 00:00:11 +02:00
simon lehericey
18ad227df5
[ fix #1897 ] Procedure: can delete a deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
0e690c90cc
Procedure: clone the deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
fa14db1cbf
Procedure: add deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
a96889310b
Procedure: add legal reference
2018-05-31 16:55:31 +02:00
gregoirenovel
0329b1db68
Use User#owns_or_invite? instead of Dossier#owner_or_invite?
2018-05-31 14:39:43 +02:00
gregoirenovel
4e9565a5df
Adds User#owns?
2018-05-31 14:39:43 +02:00
Frederic Merizen
2f769ca933
[ #1995 ] Add gender and birthdate fields to API
2018-05-31 14:21:37 +02:00
gregoirenovel
a57e2388f6
Unify NotificationMailer methods’ signatures
2018-05-31 12:10:06 +02:00
Mathieu Magnin
eb1fbb7dbc
Delete button, notify user and admin then delete dossier
2018-05-30 18:01:36 +02:00
Frederic Merizen
a62adb4307
[ #1999 ] Remove dead code
2018-05-30 17:07:29 +02:00
simon lehericey
c00f56d454
DubiousProcedure: improve spec
2018-05-30 14:21:41 +02:00
simon lehericey
9f06308dbd
DubiousProcedure: ensure that hidden procedure are not detected
2018-05-30 14:21:41 +02:00
Paul Chavard
86b2cb211e
Do not attempt to archive already archived procedures
2018-05-29 14:29:26 +02:00
Mathieu Magnin
0f32821b27
Add dossier state to deletion email
2018-05-29 12:16:22 +02:00
Paul Chavard
87d7bd4fb2
Fix clone procedure
2018-05-28 14:58:40 +02:00
Frederic Merizen
fd168c4a72
[ Fix #1972 ] Make devise mails async
2018-05-28 12:02:13 +02:00
Frederic Merizen
07b1c147d9
[ Fix #1972 ] Always send mails asynchronously
2018-05-28 12:02:13 +02:00
Frederic Merizen
cce00e19c6
[ #1972 ] Avoid passing unsaved templates to ActionMailer
...
So that all mail arguments can be serialized
2018-05-28 12:02:13 +02:00
Mathieu Magnin
152cf03d72
[ Fix #1801 ] rename and move html_formatted_description in a generic helper
2018-05-24 18:05:00 +02:00
gregoirenovel
5d188c191d
Move transform_keys calls directly to #process_params methods
2018-05-24 17:54:51 +02:00
Paul Chavard
d99eed122d
Use new models in controllers and views
2018-05-24 17:54:51 +02:00
Paul Chavard
753a81c2d3
Update tag substitution concern
2018-05-24 17:54:51 +02:00
Paul Chavard
3f249d6663
Remove unused decorators
2018-05-24 17:54:51 +02:00
Paul Chavard
ad24fd5991
Remove entreprise and rna_information models
2018-05-24 17:54:51 +02:00
Paul Chavard
7fb7d77886
Use aasm_state in scopes
2018-05-24 17:49:24 +02:00
Mathieu Magnin
aaf1bc0b99
[ Fix #1931 ] User can ask support to delete dossier
2018-05-24 16:42:16 +02:00
Paul Chavard
7070b0aba0
Fix tests to rely on aasm states
2018-05-23 16:31:27 +02:00
Paul Chavard
365bbe931b
make propper state transitions in procedure traits
2018-05-23 16:31:27 +02:00
simon lehericey
0b87944368
[ #1915 ] Devise: avoid leaking registered people
2018-05-23 15:55:52 +02:00
simon lehericey
7fed476e29
Welcome Mailer: remove obsolete mailer
2018-05-23 15:55:52 +02:00
simon lehericey
6a69d958da
Devise: move after_sign_up to after_confirmation
2018-05-23 15:55:52 +02:00
simon lehericey
5bd589344e
Devise: confirm user email
2018-05-23 15:55:52 +02:00
Paul Chavard
ceddf65f6c
Fix crash with inexistent paths
2018-05-23 15:36:50 +02:00
Paul Chavard
94d253c6dc
Add commencer/test/:procedure_path route
2018-05-23 11:32:26 +02:00
gregoirenovel
a246181afd
Add API_GEO_URL
2018-05-22 19:01:46 +02:00
Paul Chavard
785fe3410e
Clone procedure notice
2018-05-22 17:43:44 +02:00
gregoirenovel
682823ec93
Bump gems
...
- apipie-rails
- brakeman
- dotenv-rails
- openid_connect
- openstack
- rack-mini-profiler
- rubocop
- sentry-raven
- web-console
- webmock
2018-05-18 18:14:17 +02:00
simon lehericey
928227a610
Procedure: remove now duplicate organisation and direction
2018-05-18 16:21:27 +02:00
simon lehericey
39bb56d1d9
Service: add organisme, email, tel, horaires, adresse
2018-05-18 16:21:27 +02:00
simon lehericey
30513bcb4f
Procedure Clone: ensure the service is kept
2018-05-18 16:21:26 +02:00
simon lehericey
f2357acb27
Service: cannot published a procedure without a service
2018-05-18 16:21:26 +02:00
simon lehericey
6b8a878ec1
Service: can be destroyed
2018-05-18 16:21:26 +02:00
simon lehericey
af7be58132
Service: add service to procedure
2018-05-18 16:21:26 +02:00
simon lehericey
5d7455f436
Service: keep procedure_id
2018-05-18 16:21:26 +02:00
Frederic Merizen
365cb9b44d
Service: can update a service
2018-05-18 16:21:26 +02:00
simon lehericey
c54c85bad8
Service: can create a service
2018-05-18 16:21:26 +02:00
simon lehericey
fc17b68dc1
Service: create model
2018-05-18 16:21:26 +02:00
simon lehericey
3cfffc2615
[ fix #1922 ] add one annotation to a procedure
2018-05-18 11:48:19 +02:00
Frederic Merizen
f8273ca8ae
Make match order-insensitive
...
to avoid spurious test failures
2018-05-10 12:10:47 +01:00
Frederic Merizen
93e068421b
[ #1833 ] New procedure button defaults to procedure library
2018-05-09 16:16:09 +02:00
Mathieu Magnin
3e176d4e08
Remove use of staging.apientreprise
2018-05-09 13:56:29 +02:00
Frederic Merizen
5ef129d960
[ #1563 ] Remove attestation mail attachment
2018-05-09 10:42:40 +02:00
Mathieu Magnin
7f4e6eae6b
No dubious proc. email == Everything is ok || Something went wrong. We should always send dubious procedure email.
2018-05-07 12:24:05 +02:00
Mathieu Magnin
a2bbf1b4d6
[ Fix #1907 ] A new token should be regenerated, because the one in db is encrypted
2018-05-04 14:23:05 +02:00
gregoirenovel
8848abc536
#to_sorted_values
-> #sorted_values
2018-05-03 23:35:51 +02:00
gregoirenovel
886431b120
Make some methods private
2018-05-03 23:35:51 +02:00
Paul Chavard
0b7cf3ae75
#full_data_strings_array
-> #export_values
2018-05-03 23:35:51 +02:00
gregoirenovel
12cda1739b
#export_entreprise_data
-> #export_etablissement_data
2018-05-03 23:35:51 +02:00
simon lehericey
bb4d29ee8f
[ fix #1855 ] Gestionnaire: are now invited to create their password
2018-04-27 14:10:06 +02:00
simon lehericey
3d53366678
[ fix #1877 ] add maintenance mode
2018-04-26 15:06:34 +02:00
Frederic Merizen
5b9f25271f
[ Fix #1865 ] Expose attachment field over API
2018-04-24 20:29:25 +02:00
simon lehericey
366ef2d2b5
Procedure: add new preview view
2018-04-24 16:54:05 +02:00
simon lehericey
c90ddb92a6
Procedure: add #new_dossier
...
Create a new instance of a dossier and its champs without saving them in the db
2018-04-24 16:49:42 +02:00
Frederic Merizen
b0037d50c8
Allow downloads with a HTTP range header
2018-04-24 16:07:19 +02:00
Frederic Merizen
47e06812b1
Cosmetic: nicer indentations for multiline strings
2018-04-24 16:07:19 +02:00
simon lehericey
9d0b568ef5
Procedure: add parent_procedure
2018-04-24 15:48:20 +02:00
simon lehericey
28ce027025
[ fix #1832 ] Procedure Stat: display procedure cloned ratio
2018-04-24 14:22:22 +02:00
simon lehericey
f46bf5a67e
Procedure: procedure cloned from library are tagged
2018-04-24 14:22:22 +02:00
Paul Chavard
e965203e73
Disable failing test
2018-04-18 16:51:21 +02:00
Paul Chavard
45019ce75c
Use Flipflop instead of Feature
2018-04-18 16:51:21 +02:00
Paul Chavard
3f3358db16
Add flipflop config
2018-04-18 16:51:21 +02:00
Frederic Merizen
35e1030eed
Also create users for avis gestionnaires
2018-04-12 16:40:24 +02:00
Frederic Merizen
ee67e7b154
Always create a corresponding User account for Admin accounts
2018-04-12 16:40:24 +02:00
simon lehericey
0ab526de5a
[ fix #932 ] Let an adminstrateur upload a pj template
2018-04-09 18:19:24 +02:00
Paul Chavard
408feaa52e
Display etablissement information for siret champ
2018-04-09 13:18:10 +02:00
Mathieu Magnin
f6d53be873
[ Fix #1799 ] Send automatic emails to improve administrateur activation
2018-04-09 11:08:13 +02:00
Paul Chavard
27592ae072
Add simple web hooks to procedures
2018-04-09 11:02:24 +02:00
Frederic Merizen
6ed7ae4b53
[ Fix #1809 ] Handle non-champ tags in attestation
2018-04-06 19:22:42 +02:00
kemar
b42e410da0
[ Fix #1494 ] Display a warning when accepting a dossier if needed
...
Show the accompagnateur the unspecified demande
champs and attestations privées needed for the
attestation
2018-04-06 16:15:09 +02:00
Frederic Merizen
a2ffc4357d
[ #1563 ] Generate a helpful alert on attestation / closed mail mismatch
2018-04-06 10:18:56 +02:00
Frederic Merizen
809638df79
[ #1563 ] Determine if Attestation and Closed mail are out of sync
2018-04-06 10:18:56 +02:00
Paul Chavard
45ef32e6d9
Add SIRET Type De Champ
2018-04-05 10:29:29 +02:00
Paul Chavard
0b79a3d79d
Add Siret(TypeDe)Champ STI model
2018-04-04 18:44:08 +02:00
Paul Chavard
3cd80af6cb
Add sign and verify to etablissement
2018-04-04 18:44:08 +02:00
Paul Chavard
714ebda2fe
Add SignatureService
2018-04-04 18:44:08 +02:00
simon lehericey
3c8d1f13b6
Individual: remove birthdate proxy
2018-04-04 15:27:30 +02:00
Mathieu Magnin
8c1c2f32ca
[ Fix #1724 ] Ensure that printed json is safe
2018-04-04 14:00:50 +02:00
simon lehericey
c019cb623a
Individual: use birthdate as a ... date :)
2018-04-04 13:19:39 +02:00
Frederic Merizen
3e56b6fe9b
[ #1563 ] Include attestation link in default closed mail when it makes sense
2018-04-04 10:44:40 +02:00
Frederic Merizen
84c864ed11
[ #1563 ] Add lien attestation link to closed mail template
2018-04-04 09:34:04 +02:00
simon lehericey
46fd213ad2
Individual: old controller does not care about individual anymore
2018-04-03 21:16:54 +02:00
simon lehericey
8828663880
Individual: save the birthdate in Y
2018-04-03 16:23:15 +02:00
simon lehericey
05ab4c5ca6
DossierController: add tab for dossiers invites
2018-04-03 13:32:41 +02:00
simon lehericey
4ec6c72c96
[ fix #1755 ] clean GeoJSON polygones before save
2018-03-30 16:15:30 +02:00
Paul Chavard
9cc6d494a4
Spec STI loading champ/type de champ
2018-03-29 17:45:19 +02:00
Mathieu Magnin
20fd7e52e6
[ Fix #1729 ] Clean mail templates with <code> tags
2018-03-29 17:23:30 +02:00
Frederic Merizen
dd219d5d40
[ #1677 ] Prevent invites from submitting a dossier
2018-03-29 17:03:58 +02:00
Frederic Merizen
b869efd7d1
[ #1677 ] After editing, send Invites back to invitation page
2018-03-29 17:03:58 +02:00
Frederic Merizen
839a5d43f6
[ #1677 ] Allow invites to edit dossiers
2018-03-29 17:02:10 +02:00
Frederic Merizen
884c430619
[ #1677 ] No need to use emails when we have users
2018-03-29 16:59:16 +02:00
gregoirenovel
5f1394cd7f
ExercicesAdapter#to_array -> ExercicesAdapter#to_params
2018-03-29 11:44:59 +02:00
Frederic Merizen
d825c3d586
[ Fix #1689 ] Only allow plain text for procedure descriptions
2018-03-29 10:52:37 +02:00
Paul Chavard
322f93afbe
Add administrateur#feature_enabled? method
2018-03-28 17:19:07 +02:00
gregoirenovel
caf2e50954
Make #to_params return blank hashes if we have no data
2018-03-28 10:55:15 +02:00
gregoirenovel
182afee970
to_params -> to_array
2018-03-28 10:52:54 +02:00
simon lehericey
66a113c7db
Dossier: remove uncessary query on order_champ_v2
2018-03-27 16:48:38 +02:00
simon lehericey
32913aae55
DubiousProcedureSpec: fix test (build 8212)
2018-03-27 16:06:52 +02:00
simon lehericey
289ddb5419
[ fix #1670 ] Manager send the refused admin email
2018-03-27 16:02:09 +02:00
Frederic Merizen
c413dfa127
[ #1677 ] No longer create InviteGestionnaire
s
2018-03-22 16:40:57 +01:00
gregoirenovel
4df2eb168d
Remove mandataires_sociaux
2018-03-20 16:09:00 +01:00
gregoirenovel
d0a59058e8
Remove the mandataire_social guess
...
Rationale:
- is true for only 0.06% of Dossiers
- is not displayed anymore anyways
- will be a rare case for now
* FC adoption is not insane
* FC used more for personal than professional
matters
* not always the mandataires sociaux that fill
dossiers for their companies, so not that
relevant
- we can add it back later
2018-03-20 16:09:00 +01:00
Frederic Merizen
13d251d970
describe '#method' rather than describe '.method' for instance methods
2018-03-20 16:00:30 +01:00
gregoirenovel
5658aae96b
SIADE -> ApiEntreprise
2018-03-19 11:39:46 +01:00
gregoirenovel
9a7e13f72f
Mutualise a JSON#parse call
2018-03-19 11:39:46 +01:00
Mathieu Magnin
621f8143bd
[ Fix #1654 ] Generate procedure export filename with libelle
2018-03-19 11:16:05 +01:00
Mathieu Magnin
2441d21f4b
Fix siade tests
2018-03-15 18:08:14 +01:00
Paul Chavard
e4f07dbae6
Document pagination params in api and allow to set per_page
limit
2018-03-15 17:50:41 +01:00
Paul Chavard
87d1948023
Add token authentication to API
2018-03-15 17:43:45 +01:00
Mathieu Magnin
ab368d44a1
[ Fix #1500 ] Add mandatory params to call api entreprise v2
2018-03-15 14:51:42 +01:00
Frederic Merizen
610058c534
[ Fix #1619 ] Do not consider invitations to deleted dossiers
2018-03-15 11:32:21 +01:00
Mathieu Magnin
69f8353b2f
[ Fix #1479 ] Sanitize Avis email before validation
2018-03-14 17:41:47 +01:00
Mathieu Magnin
38e1609d73
[ Fix #1479 ] Validate Avis email format
2018-03-14 17:41:46 +01:00
Mathieu Magnin
e00e8ba01d
[ Fix #1479 ] Validate email format with Rails format validation
2018-03-14 17:41:45 +01:00
Mathieu Magnin
b7de632d6c
[ Fix #1479 ] Create a sanitize email concern
2018-03-14 17:41:45 +01:00
Mathieu Magnin
9f6d6e61fb
[ Fix #1577 ] logo link in navbar on gestionnaire UI should not link to admin UI
2018-03-08 14:10:26 +01:00
Frederic Merizen
0e0d17e5eb
Merge branch 'image_optim' into dev
...
Closes #1558
2018-03-07 11:06:08 +01:00
gregoirenovel
0a9f442260
Enable some Rails cops
2018-03-06 17:18:44 +01:00
gregoirenovel
d3f0fc703a
Enable some cops to remove ambiguity
2018-03-06 17:18:44 +01:00
gregoirenovel
b5b73c8639
Enable all the Security cops
2018-03-06 17:18:44 +01:00
Frederic Merizen
3894fc48f6
[ Fix #1543 ] Strip html tags from textarea champs
2018-03-06 16:51:12 +01:00
gregoirenovel
e26f4148ff
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 16:17:22 +01:00
Guillaume RISCHARD
06c34c4920
Optimisation des images
2018-03-06 16:14:59 +01:00
gregoirenovel
fe7f8da636
Revert "Bump development gems"
...
This reverts commit d6ad3fc3fd
.
2018-03-06 15:11:26 +01:00
gregoirenovel
d6ad3fc3fd
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 10:36:35 +01:00
Mathieu Magnin
875766279d
[ Fix #1510 ] Send email after dossier is received
2018-03-05 19:08:17 +01:00
simon lehericey
28c4dde96d
_explication: display champ.description instead of champ.value
2018-03-01 11:25:57 +01:00
gregoirenovel
0af270faa0
tps.apientreprise.fr -> demarches-simplifiees.fr
2018-03-01 10:33:53 +01:00
gregoirenovel
1b8b6a3274
TPS -> demarches-simplifiees.fr
2018-02-28 18:14:06 +01:00
simon lehericey
eb937649a1
new user: thanks page
2018-02-28 17:34:27 +01:00
Frederic Merizen
43dfbf1986
Separate ActiveStorage facade from Cellar machinery
2018-02-28 14:39:27 +01:00
Frederic Merizen
6907650bcb
Use bulk delete in CellarService when possible
2018-02-28 14:39:27 +01:00
simon lehericey
abc9068412
DossierController: allow upload of empty
2018-02-27 17:39:17 +01:00
Paul Chavard
da14cceadc
Refactor siade adapters
2018-02-27 16:22:53 +01:00
Paul Chavard
0b2ad653fa
Fix camelcase attribute
2018-02-27 16:22:53 +01:00
simon lehericey
a0667f5ad9
[ fix #1411 ] user: link new screen to the rest of the application
2018-02-27 15:24:51 +01:00
simon lehericey
d702a0c083
[ fix #1411 ] user: new form ui
2018-02-27 15:24:50 +01:00
Mathieu Magnin
2b6edc0fa4
Remove unused procedure_filter
2018-02-26 17:25:28 +01:00
Mathieu Magnin
3db941ea06
[ Fix #1475 ] Ensure date is parsable before doing it (to avoid errors)
2018-02-26 13:20:23 +01:00
gregoirenovel
3d10dbf0e4
Refactor assignement-related methods
2018-02-23 17:12:58 +01:00
gregoirenovel
1b1460c191
Move a service to the gestionnaire model
2018-02-23 17:12:24 +01:00
gregoirenovel
8902a81f23
Remove a useless assignment
2018-02-23 17:12:24 +01:00
simon lehericey
c94d57db79
AutoReceivedDossiersForProcedure: fix job by changing symbole to string
2018-02-23 15:18:32 +01:00
simon lehericey
26c9f28407
Gestionnaire Namespace: fix last_week_overview
2018-02-23 13:45:21 +01:00
simon lehericey
4189a2790d
MailPreview: fix last_week_overview
2018-02-23 13:45:21 +01:00
simon lehericey
377e4d689a
Gestionnaire Namespace: fix send_dossier
2018-02-23 13:45:21 +01:00
simon lehericey
c4cd113fbd
MailPreview: add send_dossier
2018-02-23 13:45:21 +01:00
simon lehericey
630f22e205
Gestionnaire: various missing procedure urls
2018-02-22 17:02:20 +01:00
simon lehericey
864b98c6dc
Gestionnaire: various missing avis urls
2018-02-22 17:02:20 +01:00
simon lehericey
9db5e82b41
Gestionnaire: move avis_path to gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
0308345008
Gestionnaire: move procedures_path to gestionnaire_procedures_path
2018-02-22 17:02:20 +01:00
simon lehericey
4a70087f7a
Gestionnaire: move procedure_path gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
0dc101e375
Gestionnaire: move dossier_path gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
c1bbe72dbd
Gestionnaire: move sign_up_avis_path to sign_up_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
3b3849e4f3
Gestionnaire: move messagerie_avis_path to messagerie_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
c58b32a26d
Gestionnaire: move instruction_avis_path to instruction_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
63163e5022
Gestionnaire: move avis_dossier_path to avis_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
87a4029f1a
Gestionnaire: move annotations_privees_dossier_path to annotations_privees_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
be191a680e
Gestionnaire: move messagerie_dossier_path to messagerie_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
Mathieu Magnin
0c6aa42f55
[ Fix #1454 ] Send weekly overview emails async, overview param is not correctly serialized by activejob so it is computed again when email is send
2018-02-21 18:22:56 +01:00
Paul Chavard
49bb4f0b54
Set processed_at
on auto received dossiers
...
Closes #1089
2018-02-21 16:38:25 +01:00
Mathieu Magnin
3e5621f633
[ Fix #1409 ] Plug identite new design to current workflow
2018-02-20 11:01:47 +01:00
Mathieu Magnin
9627ba43c0
[ Fix #1409 ] Identite can be updated
2018-02-20 11:01:47 +01:00
Paul Chavard
35a4367114
Fix multi submit bug with direct upload
2018-02-16 12:53:00 +01:00
gregoirenovel
93d8470321
Put the piece justificative champ behind a feature flag
2018-02-15 12:04:03 +01:00
Frederic Merizen
07134684d4
Prefix_delete for cellar
2018-02-15 10:56:47 +01:00
Frederic Merizen
76c72bf4e0
Ability to delete files from Cellar
2018-02-15 10:54:45 +01:00
Frederic Merizen
741100d4f5
Active storage and Clever Cloud Cellar integration
2018-02-15 10:43:56 +01:00
Paul Chavard
db42c0c0cf
Fix public and private champs scopes
2018-02-14 18:13:23 +01:00
Paul Chavard
0c1d529b61
Unify :type_de_champ public/private factories
2018-02-14 11:49:06 +01:00
Paul Chavard
31d638ae2a
Remove TypeDeChampPublic/TypeDeChampPrivate STI
2018-02-14 11:49:06 +01:00
Paul Chavard
b3e07d8504
Use in?
in type_champ
tests
2018-02-13 17:59:27 +01:00
Paul Chavard
0c10f2bd47
Always use factories in spec
2018-02-13 15:05:10 +01:00
Paul Chavard
793768684e
Checkbox should take a “on” not “true” value
2018-02-13 14:56:55 +01:00
Paul Chavard
52749713ab
Remove ChampPublic/ChampPrivate STI
2018-02-13 12:07:13 +01:00
Frederic Merizen
283e6e927b
[ Fix #1397 ] Hide 'envoyer' button when no potential recipient
2018-02-08 20:38:20 +01:00
Mathieu Magnin
50f35ee905
[ Fix #1296 ] Birthday field is optional in procedure
2018-02-07 15:57:48 +01:00
Mathieu Magnin
d49659fc73
[ Fix #478 ] /recherche can deal with very big int ☺️
2018-02-07 11:56:22 +01:00
gregoirenovel
142241dd16
Remove notifications
2018-02-06 14:07:20 +01:00
Paul Chavard
8a55ac79f1
Remove global BROWSER and use browser helper
2018-02-05 10:35:51 +01:00
Frederic Merizen
d919d62cf7
[ Fix #1012 ] Send dossier to other accompagnateur
2018-02-01 16:58:01 +01:00
gregoirenovel
a38d96b2f8
Disable a failing test
2018-01-30 16:56:51 +01:00
gregoirenovel
c2e0959d6c
Fix a test
2018-01-30 16:56:49 +01:00
gregoirenovel
2da724d681
Remove an unused Gestionnaire method and its tests
...
The tests would fail with rails 5.1
2018-01-30 16:56:49 +01:00
gregoirenovel
7ccae2c4f1
render nothing: true has been removed from Rails
...
Use head instead
2018-01-30 16:56:49 +01:00
gregoirenovel
3fa9774123
params is now an object and no longer a hash
2018-01-30 16:56:46 +01:00
gregoirenovel
5b706cc7d4
Add missing params wrapping to some tests
2018-01-30 16:40:04 +01:00
gregoirenovel
25aef60354
Use string interpolation
2018-01-30 15:50:52 +01:00
gregoirenovel
c9a79b4f08
Use map when possible
2018-01-30 15:50:52 +01:00