Pierre de La Morinerie
619f663e1a
procedure: remove individual_with_siret
column
2019-07-11 15:57:46 +02:00
Pierre de La Morinerie
a047ee356b
procedure: remove expects_multiple_submissions
column
2019-07-11 15:57:46 +02:00
clemkeirua
6838e69986
ajout de textes explicatifs pour les instructeurs
2019-07-11 15:48:00 +02:00
Pierre de La Morinerie
35c3795f56
dossier: make messagerie available on archived procedures
...
An Admin may archive a procedure to make it unavailable to
the general public, but before all dossiers are handled. In this case,
the messagerie needs to be available.
Fix #4089
2019-07-11 15:37:04 +02:00
Pierre de La Morinerie
10065df8ce
champs: put champ label in numeric fields validation messages
...
Replaces
> La valeur du champ doit être un nombre entier (sans chiffres après
> la virgule)
by
> La valeur du champ « Nombre de parents » doit être un nombre entier
> (sans chiffres après la virgule)
2019-07-11 15:12:48 +02:00
simon lehericey
768a298c2d
Same for go back in instruction
2019-07-11 12:50:15 +02:00
simon lehericey
5f39d3eac8
Fix bug when instruction repasse en construction twice
2019-07-11 12:50:15 +02:00
simon lehericey
6de1e2ec58
Fix bug when an instructeur closes a dossier already closed
2019-07-11 12:50:15 +02:00
Pierre de La Morinerie
fdca7c025a
procedure: ignore :expects_multiple_submissions
on the correct model
2019-07-11 12:14:25 +02:00
Pierre de La Morinerie
c2c9b19b3b
procedure: remove individual_with_siret
...
It isn't used anymore (see #3077 )
2019-07-11 11:58:21 +02:00
Pierre de La Morinerie
7ca3d5fce2
procedure: select for_individual
by default
2019-07-10 18:47:34 +02:00
Pierre de La Morinerie
9616df192d
procedure: use the model value for checking the radio buttons
...
Previously `checked: true` forced the checked status, disregarding the
actual value of the model.
Fix #4080
2019-07-10 18:47:28 +02:00
Paul Chavard
3cb39c2840
Refactor message attachements to use active_storage
2019-07-10 15:35:29 +02:00
Pierre de La Morinerie
03fc555edf
profile: send an email when the account is already taken
2019-07-10 11:31:09 +02:00
Pierre de La Morinerie
80074d6d82
profile: improve layout and wording of the confirmation message
2019-07-10 11:31:09 +02:00
Pierre de La Morinerie
f8a1911625
profile: display profile page even for single-role users
2019-07-10 11:31:09 +02:00
benjaminhenkel
c36b884adf
Update _state_button.html.haml
...
changement faute d'orthographe
2019-07-10 10:41:13 +02:00
simon lehericey
f6c402deec
better default value for linked_drop_down_list
2019-07-10 10:21:34 +02:00
clemkeirua
d29be1fe41
suppression de redouane de Pipedrive
2019-07-09 17:29:25 +02:00
clemkeirua
4c9846dcd1
Mise à jour du mail d'activation admin
2019-07-09 17:29:25 +02:00
clemkeirua
1f3015e24f
suppression de camille de la liste pipedrive
2019-07-09 17:29:25 +02:00
Pierre de La Morinerie
06afc3890f
france_connect: raise an error if some validation error occurs
...
If a validation error occurs in `find_or_create`, an object without `id`
will be returned–and the code will crash soon after.
Ensure that we crash immediately, so that we can report the root cause
(the validation error) instead of a seemingly-unrelated crash later.
2019-07-09 15:50:28 +02:00
Pierre de La Morinerie
6b27ac8514
france_connect: make existing user lookup case-insensitive
...
Fix #4053
2019-07-09 15:50:28 +02:00
Pierre de La Morinerie
ecfccae6f0
dossiers: remove support for Dossier#expects_multiple_submissions
2019-07-09 14:50:11 +02:00
Pierre de La Morinerie
d77a5552b7
dossiers: allow to start a new dossier after submitting one
2019-07-09 14:44:36 +02:00
Pierre de La Morinerie
b5ed74c09d
dossiers: always allow to create a new dossier
...
Turns out this is confusing for users (some UI elements are present for
some procedures, but not for others).
Better enable it for everyone.
2019-07-09 14:44:30 +02:00
simon lehericey
ea79b9a595
typo: use ’
2019-07-09 11:55:17 +02:00
simon lehericey
d36f6ebcd7
[ fix #1709 ] A user can change its email
2019-07-09 11:55:17 +02:00
simon lehericey
d68d2be798
Profil: accessible to all roles
2019-07-09 11:55:17 +02:00
clemkeirua
39f72a2be3
courbage d'apostrophes
2019-07-09 10:59:42 +02:00
clemkeirua
44fa210e34
changement du choix particulier/entreprise lors de creation d'une procedure
2019-07-09 10:59:42 +02:00
Paul Chavard
ad0a74ea7c
Fix dates in dossiers export
2019-07-09 10:02:08 +02:00
Pierre de La Morinerie
422f4b9cdb
dossiers_controller: warn properly when instructing a dossier twice
...
Fix #4055
2019-07-08 17:58:45 +02:00
Nicolas Bouilleaud
930fd345de
Validate messagerie_available? when creating a new Commentaire
...
Commentaires bu Users and Gestionnaire need the messagerie to be available; Automatic system Commentaires can be created anytime.
This reintroduces Commentaire validation that was introduced in #3979 and disabled in #4018
2019-07-08 16:13:43 +02:00
Nicolas Bouilleaud
3f439ac07a
Add Commentaire.is_sent_by_system? and .is_sent_by(someone)
...
And use it in CommentaireHelper and in the _message_icon and _message_issuer partials
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
2abd93d360
Display the full User
email in Commentaires
...
* Only redact gestionnaires’ emails
* Also, rename Commentaire.sender to Commentaire.redacted_email
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
3bf19de124
Remove Commentaire::columns override
...
It was used for a cleanup migration a long time ago (see #233 , #3033 , #3043 )
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
7e98213829
Pass the signed-in user as the commentaire author from /contact
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
72fd5d250f
Respect dossier.messagerie_available? in SupportController (/contact)
2019-07-08 16:06:44 +02:00
Nicolas Bouilleaud
12008728d2
Actually respect dossier.messagerie_available? in _messagerie.html.haml
...
instead of dossier.archived?
(fixup after #3979 )
2019-07-08 16:06:44 +02:00
Chaïb Martinez
c43b0c00db
minor text change [ fix #4050 ]
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-08 14:46:47 +02:00
Chaïb Martinez
94d340d25c
Remove phone number
...
Add chat link
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-08 14:32:55 +02:00
Chaïb Martinez
0fdae2456b
We will not quibble
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-08 14:20:49 +02:00
Nicolas Bouilleaud
4d73275bab
Drop Procedure.administrateur_id
2019-07-04 17:01:12 +02:00
maatinito
fee3ef8f4f
A4 output and allows large logos (headers) to take the whole width of the page
2019-07-03 15:31:34 -10:00
Paul Chavard
05987223db
Avoid crashing when demarche have no service
2019-07-03 17:18:44 +02:00
Paul Chavard
e582ff729c
Add aasm to dossiers state
2019-07-03 13:37:27 +02:00
Mathieu Magnin
10d3ba10f2
Before save copy body in rich_body
2019-07-03 13:15:49 +02:00
Mathieu Magnin
d13b7f953f
Migrate mail body to ActionText
2019-07-03 13:15:49 +02:00
Mathieu Magnin
b34f8fbe3d
Add ActionText
2019-07-03 13:15:49 +02:00
simon lehericey
4b154983fb
Landing: voir les démarches -> comment trouver ma démarche
2019-07-03 12:59:09 +02:00
Paul Chavard
860588b216
Upgrade javascript dependencies and add actiontext
2019-07-03 11:42:25 +02:00
simon lehericey
522d7684ea
dossier state button in red when refused
2019-07-02 18:40:20 +02:00
simon lehericey
c7e10fc43f
Manager: remove repasser_en_instruction
2019-07-02 18:40:20 +02:00
simon lehericey
b2c987ff0d
[ fix #3683 ] Dossier: add repasser_en_instruction!
2019-07-02 18:40:20 +02:00
simon lehericey
b79220e711
UI
2019-07-02 18:35:47 +02:00
Paul Chavard
8cb6b348a4
Update app/views/gestionnaires/procedures/_download_dossiers.html.haml
...
Co-Authored-By: Nicolas Bouilleaud <nico@bou.io>
2019-07-02 14:52:56 +02:00
Paul Chavard
fb0ef15e3c
Export dossiers v2
2019-07-02 14:20:29 +02:00
Paul Chavard
46c1bbbc6f
Official support for declarative demarches
2019-07-02 14:12:26 +02:00
Nicolas Bouilleaud
bd666a53af
Reallow automatic Commentaires for archived/closed Dossier
2019-07-01 11:59:29 +02:00
Nicolas Bouilleaud
3fee1c7644
Fix UpdateAdministrateurUsageStatisticsJob not being properly scheduled
2019-07-01 11:14:26 +02:00
Chaïb Martinez
e7b868c16f
Bug fix
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-01 11:13:36 +02:00
Chaïb Martinez
017f914e21
Add admin roi low and high
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-07-01 11:13:36 +02:00
Nicolas Bouilleaud
bd47bf2691
Disable Messagerie in archived Dossiers and procedures
...
* Use the existing Dossier#messagerie_available? method
* Raise when attempting to build a Commentaire if not messagerie_available?
* Disable the Messagerie form if not messagerie_available?
* Add tests :)
* Tweak the Horaires formatting while we’re here.
2019-07-01 09:39:39 +02:00
Paul Chavard
0d80c48b7e
Add avis to api
2019-06-27 14:40:17 +02:00
Paul Chavard
7f8079b5bb
Download active_storage blobs through proxy
2019-06-26 15:32:57 +02:00
Paul Chavard
aad4025ce0
Revert "Download active_storage blobs through proxy"
...
This reverts commit 0b39da7080
.
2019-06-26 15:31:35 +02:00
Paul Chavard
0b39da7080
Download active_storage blobs through proxy
2019-06-26 15:07:40 +02:00
Paul Chavard
7a2e9fe8a4
Merge pull request #3990 from betagouv/benjamin-alerte
...
Minor text change
2019-06-25 16:39:38 +01:00
Paul Chavard
c5704fa22f
Remove unused code from Commentaire
2019-06-25 17:04:29 +02:00
benjaminhenkel
1200d25f26
Update _list.html.haml
2019-06-24 17:00:10 +02:00
Pierre de La Morinerie
50cf6059e6
tasks: ensure creating an empty champ doesn’t display a notification
2019-06-24 15:49:02 +02:00
Nicolas Bouilleaud
44b9a2ef12
Include application_helper in ApplicationMailer
...
fixes a crash in activate_before_expiration.haml (sentry RAILS-40)
2019-06-21 09:50:33 +02:00
Paul Chavard
1781a49932
Add order param to API
2019-06-20 15:28:16 +02:00
Pierre de La Morinerie
9ce92d5c3b
champs: show attachment actions only when the atachment is persisted
...
Fix #3961
2019-06-20 11:03:08 +02:00
Pierre de La Morinerie
d561936863
task: ensure that hidden dossiers are rolled back
2019-06-20 10:48:56 +02:00
Pierre de La Morinerie
f8dda3ae45
tasks: don't abort rollback when a dossier fails
...
Instead print a warning, and continue rolling back the other dossiers.
2019-06-20 10:31:23 +02:00
Pierre de La Morinerie
91393be13c
tasks: extract rollback to a separate method
2019-06-20 10:31:23 +02:00
Nicolas Bouilleaud
43f936ec77
Do not check for path availability when in the “new procedure” form
...
The user can’t even enter the path here, it’s nil.
fixes #3918
The @availability was always PATH_NOT_AVAILABLE when the form was reloaded after an error, because Procedure::path_availability always found an (archived) procedure with a nil path. It got confused and concluded its path was conflicting.
🤷🏻♂️
2019-06-18 14:31:12 +02:00
Nicolas Bouilleaud
eb592f8ddf
Add manager controller for bill signatures
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
925edb01c7
Add OperationsSignatureJob
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
ad3553f0be
Add BillSignature Service
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
f355f849a6
Add BillSignature Model
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
dace9a53d3
Add Universign timestamp API query
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
e16cb731c5
Add poor man’s ASN1 parsing
2019-06-17 16:16:28 +02:00
Nicolas Bouilleaud
7e80b8a4dc
Enable the Rails/InverseOf cop and add missing inverse_of
2019-06-17 13:44:07 +02:00
Pierre de La Morinerie
51aacabf13
models: fix touch not propagating when using nested attributes
...
Sometimes, when using nested attributes, touch doesn’t propagate to
parent relationships. (see https://github.com/rails/rails/issues/26726 )
Specifically, this happens in our app when updating a dossier with
only new attachements (but without changing the value of any fields).
To work around this, we need to define the parent relationship
explicitely. This is good practice anyway.
Fix #3906
2019-06-17 13:44:07 +02:00
Pierre de La Morinerie
1a832388fe
brouillon: clarify the "How to save" explanations
2019-06-17 11:12:26 +02:00
Pierre de La Morinerie
f12668fbfb
tasks: prevent the PJ migrations task updating from touching dossiers
2019-06-12 19:07:45 +02:00
Pierre de La Morinerie
60a61da644
tasks: extract dossier migration to a separate method
2019-06-12 18:58:47 +02:00
pedong
7ef1a558f4
change date format for all, use try_format_date of helper
2019-06-12 17:48:12 +02:00
simon lehericey
ee296f2b44
Use default format for date and datetime champ
2019-06-12 17:48:12 +02:00
pedong
abcd58c35d
[ fix #3710 ] date with letter
...
Co-Authored-By: simon lehericey <mail@simon.lehericey.net>
2019-06-12 17:48:12 +02:00
Nicolas Bouilleaud
5acb7a3f1b
Make rubocop happy
...
I did make some changes some lines above this 🤷 .
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
1ac6cad132
Display previous followers in “personnes impliquées”
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
6b90bc1ea1
Add “previously followed” dossiers and gestionnaires
...
Using an “inactive” Follow scope, similar to the “active” scope.
(I was tempted to use a default_scope, but this breaks when trying to `unscope` it in associations.)
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
be4c575622
Add Follow.unfollowed_at
...
The active scopes is used indirectly in the dossier<->gestionnaire associations: the existing tests in dossier and gestionnaire just work™.
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
d417907f36
Just rely on the constraints to avoid duplicate Follows
...
Don’t check manually in advance: just try to create the new Follow and silently fail.
Since we have both Rails validation and DB constraints in place, we have two types of errors to check. I’m not actually sure this change improves the legibility of the code.
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
ba48a1da6e
Ensure Follow dates can not be not null
...
* Add Follow.unfollowed_at
* Change the unicity constraint to gestionnaire/dossier AND unfollowed_at
2019-06-12 17:33:53 +02:00
Nicolas Bouilleaud
8e04b4f0c9
Clear the “add admin” field after submit
...
Extract the add_admin form to its own partial and re-render it when an admin is successfully added.
2019-06-12 16:58:30 +02:00
Pierre de La Morinerie
55c9dfc001
api_entreprise: display better error message when SIRET is private
...
Previously we blamed the network.
Now we say that the entreprise infos cannot be retrieved. Which is not
ideal, but better.
2019-06-12 11:58:04 +02:00
Pierre de La Morinerie
78f75744e3
javascript: fix payload of ActiveStorage events missing on IE 11
...
Under some circumstances (like dispatching events just before a page
navigation), IE 11 events will be dispatched twice by the browser: once
with the payload, and a second time without.
To prevent these errors, ignore the events if the payload is missing.
2019-06-06 15:00:57 +02:00
Chaïb Martinez
eccd456325
Add crisp
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-06-05 17:41:47 +02:00
Paul Chavard
5a216b5583
Fix default button type
...
fix #3924
2019-06-04 17:59:02 +02:00
Chaïb Martinez
9198f7f437
Remove useless select options
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-06-04 16:55:11 +02:00
Chaïb Martinez
3b513af32a
Add nb_of_dossiers by years and deadline to PipeDrive Person
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-06-04 16:55:11 +02:00
Paul Chavard
6d312e1716
spec: refactor wait_for_ajax
to work with out new ajax utils
...
`wait_for_ajax` is not used anymore, but it may be in the future.
2019-06-04 16:30:36 +02:00
Paul Chavard
d5911071f8
Return dossiers on api with stable order
2019-06-04 15:34:49 +02:00
Pierre de La Morinerie
1f69c6c6eb
stylesheets: fix font of dropdown items on Firefox
...
Styling `<select>` elements is notoriously hard. Here, it seems that
Firefox doesn't handle custom fonts on `<option>` elements. As we have
no fallback font, the browser uses its default font, Times.
Having fallback fonts is good practice anyway.
2019-06-04 11:37:40 +02:00
Pierre de La Morinerie
f2f16e2580
carte: disable tiles layer during tests
...
During integration tests, we don't want to load the tiles from OSM:
- It hits OSM servers during every test run;
- It it slow (Capybara waits for the tiles to be loaded to proceed);
- It makes test time out when tiles cannot be loaded for some reason.
Fix #3913
2019-06-03 17:24:15 +02:00
Paul Chavard
ff44b7a600
Refactor purge pj to be more generic
2019-05-29 15:54:51 +02:00
Pierre de La Morinerie
a8847e40ea
pj migration: add comments and notices
2019-05-29 14:46:49 +02:00
Pierre de La Morinerie
6cb02f2927
pj migration: handle signal interrupts
2019-05-29 14:46:49 +02:00
Pierre de La Morinerie
1a256b37f8
pj migration: print a notice when migrating missing files
2019-05-29 12:20:10 +02:00
Pierre de La Morinerie
a168ae3a72
pj migration: reduce the number of queries by preloading champs
2019-05-29 12:20:10 +02:00
Pierre de La Morinerie
10df7b70ee
carrierwave: when migrating, create an empty blob if file is missing
2019-05-28 18:19:33 +02:00
Pierre de La Morinerie
44c410d40d
piece_justificative_service: fix for missing order_place
...
In production some pieces justificatives don't have an order place.
In this case, insert the champs after the ones that have an order place.
2019-05-28 17:20:07 +02:00
Pierre de La Morinerie
d410e31344
active_storage: document the virus scan hooks
2019-05-28 11:39:22 +02:00
Pierre de La Morinerie
52b7a82932
services: mark attachments migrated from CarrierWave as safe
...
This avoids to enqueue thousands of scans when migrating the PJs of
a whole procedure.
2019-05-28 11:39:22 +02:00
Pierre de La Morinerie
4cf54e0d28
tasks: add progress report to the pjs migration task
...
Progress is indicated per migrated champ.
2019-05-28 10:42:18 +02:00
Pierre de La Morinerie
21ac60ad04
tasks: add a task to migrate pjs of procedures in batches
2019-05-28 10:42:18 +02:00
Chaïb Martinez
920c8c0c32
Add Gestionnaire ID and ROLES
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-27 16:30:03 +02:00
clemkeirua
f06ae1631f
no crash when q is missing on RechercheController::index
2019-05-22 15:02:57 +02:00
Paul Chavard
6797c01b69
Properly handle justificatif_motivation case
2019-05-22 14:11:08 +02:00
Paul Chavard
6a3413018a
Refresh attachments with virus scan result
2019-05-21 14:21:55 +02:00
Paul Chavard
f6421e081a
Refactor attachment view
2019-05-21 14:21:13 +02:00
Paul Chavard
f833f57e45
Add PurgeUnattachedBlobsJob
2019-05-21 14:05:33 +02:00
Paul Chavard
4a9ef5d12e
Always use purge_later
2019-05-21 14:05:33 +02:00
Chaïb Martinez
49f0127300
[ fix #3856 ] Add form contact admin link
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-20 15:30:28 +02:00
Chaïb Martinez
855d4d0245
[ fix #3867 ] Add legal text
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-20 13:43:46 +02:00
Nicolas Bouilleaud
e423da9319
Fix unclosed div tags in manager views
2019-05-20 13:30:52 +02:00
Paul Chavard
42235e81b1
Use active storage load hook to extend blob
2019-05-16 20:43:01 +02:00
Paul Chavard
348b15f595
Put devtools behind feature flags
2019-05-15 18:10:25 +02:00
Keirua
a0b2e504dd
Merge branch 'dev' into fix/add-refresh-for-pj
2019-05-15 17:16:35 +02:00
Paul Chavard
2817e571e8
Remove unused sendinblue import
2019-05-15 16:00:12 +02:00
clemkeirua
285e75f470
correction wording
2019-05-15 15:08:37 +02:00
clemkeirua
131f1aacc4
ajout de plus d'informations utilisateur pour télécharger le justificatif
2019-05-15 14:56:03 +02:00
Paul Chavard
0265c10474
Safari throw if deleting inexistent property
2019-05-14 17:12:27 +02:00
Paul Chavard
9725f2a418
Enable new champs editor for all
2019-05-14 16:18:29 +02:00
Paul Chavard
3446782cd0
Remove deprecated editor
2019-05-14 16:18:29 +02:00
Paul Chavard
9ce1f0d0a6
Set keep_until on operation_log if available on procedure
2019-05-14 14:31:03 +02:00
Paul Chavard
b8bf662c6d
Track dossier demander un avis
2019-05-14 14:31:03 +02:00
Paul Chavard
9c472e6524
Track dossier private annotations modifications
2019-05-14 14:31:03 +02:00
Paul Chavard
dba8d65137
Track dossier operations with author and subject
2019-05-14 14:31:03 +02:00
Paul Chavard
c93b1bb276
Add intersection-observer polyfill
2019-05-14 10:55:16 +02:00
Paul Chavard
c4dc2adcea
Add new type de champ after type de champ on screen
2019-05-14 10:55:16 +02:00
Chaïb Martinez
3004f96cf5
Add video and webinar URLs to admin pages
...
Fix #3850
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-05-13 17:47:02 +02:00
simon lehericey
5f18b07eda
webpacker stays mysterious
2019-05-13 17:35:11 +02:00
Pierre de La Morinerie
d36cb85f6a
notification_mailer: send procedure id when reporting a missing logo
2019-05-13 16:23:11 +02:00
Pierre de La Morinerie
f5f7dfba40
france_connect: fix for params entirely missing from the callback
...
Fix a Sentry exception encountered in production.
2019-05-13 15:45:12 +02:00
pedong
a226999382
redirect to same path after use signup
2019-05-13 15:28:25 +02:00
Pierre de La Morinerie
e66e78b4db
helpscout: remove integration of custom fields
...
Our new HelpScout plan doesn't allow custom fields
anymore.
2019-05-13 12:33:29 +02:00
clemkeirua
25bcd51fce
add log for virus_scanner
2019-05-13 12:22:19 +02:00
pedong
f0ed61cce8
Carrierwave: change the method name to extension_whitelist for filter uploader file extension
2019-05-07 13:20:20 +02:00
clemkeirua
afa6711564
refacto suite à simplification virusscan
2019-05-07 08:54:29 +02:00
clemkeirua
d0794f42d1
fix tag_substitution_concern links for lien attestation
2019-05-07 08:54:29 +02:00
clemkeirua
c98655be52
ellipsis on file input overflow
2019-05-07 08:54:29 +02:00
clemkeirua
67a3d435d0
added some space after the optionnal justificatif button
2019-05-07 08:54:29 +02:00
clemkeirua
0e26bda186
cleanup the tag substitution concern & uniformization
2019-05-07 08:54:29 +02:00
clemkeirua
653eff01f0
add download link for instructeur
2019-05-07 08:54:29 +02:00
clemkeirua
486a6eccd6
fix invalid refactoring
2019-05-07 08:54:29 +02:00
clemkeirua
e4259466b4
nettoyage du tag_substitution_concern
2019-05-07 08:54:29 +02:00
clemkeirua
b3956bc072
introduce virus scans
2019-05-07 08:54:29 +02:00
clemkeirua
f8a2598647
ajout du lien vers le justificatif dans la balise --lien attestation--
2019-05-07 08:54:29 +02:00
clemkeirua
ec2e17032e
suppression de la double confirmation
2019-05-07 08:54:29 +02:00
clemkeirua
183f1a5fa8
suppression de l'ajout en PJ
2019-05-07 08:54:29 +02:00
clemkeirua
4aab72be68
implementation du systeme de PJ de motivation
2019-05-07 08:54:29 +02:00
Pierre de La Morinerie
67fb561119
Apply suggestions from code review
...
Co-Authored-By: n-b <nico@bou.io>
2019-05-06 16:19:08 +02:00
Nicolas Bouilleaud
0590cc1e28
Ignore the Procedure.administrateur_id column again
...
following #3822
2019-05-06 16:19:08 +02:00
Nicolas Bouilleaud
df865e71dc
Make sure that there always is at least one administrator per Procedure
2019-05-06 16:19:08 +02:00
Nicolas Bouilleaud
8d84dba3f2
Link to multi-admin settings from the left panel
...
refs #1626
2019-05-06 16:19:08 +02:00
Nicolas Bouilleaud
3ff0c83485
Add multi-admin UI
...
refs #1626
2019-05-06 16:19:08 +02:00
maatinito
2308b3bc5c
[Fix 3827] Champ Pays: la ligne de tirets ne devrait pas être selectionnable
2019-05-06 14:55:29 +02:00
clemkeirua
64b858ef19
handle Gon + add report-uri URL
2019-05-06 10:07:51 +02:00
Paul Chavard
96b3547788
Exercices and RNA information are optional and should not block the request
2019-05-03 18:23:21 +02:00
Paul Chavard
91f2d7d706
Remove deprecated virus_scan model
2019-05-03 11:07:19 +02:00
Paul Chavard
6e8b9cf668
Refactor piece_jointe template to avoid repetition
2019-05-02 15:58:09 +02:00
Paul Chavard
f113d108c9
Save virus scan status to blob metadata
2019-05-02 15:58:09 +02:00
Paul Chavard
2f633b5d23
Load leaflet from a separate chunk
2019-05-02 14:10:48 +02:00
Pierre de La Morinerie
e06e32238c
api_entreprise: display a specific error message on network errors
2019-05-02 11:24:38 +02:00
Pierre de La Morinerie
ad4a89f0f6
api_entreprise: raise on network error
2019-05-02 11:24:22 +02:00
Pierre de La Morinerie
6c8280fba6
api_entreprise: add a feature flag for toggling API INSEE v3
2019-04-30 17:27:58 +02:00
Pierre de La Morinerie
b74fdd3cc8
Revert "Fix API Entreprise call"
...
This reverts commit 7deb228477
.
2019-04-30 17:19:46 +02:00
Pierre de La Morinerie
54813db0ad
dossiers: fix the cache not actually caching
...
As the expensive `procedure.usual_traitement_time` was called outside of
the cache, the cache was useless.
2019-04-30 15:56:27 +02:00
Pierre de La Morinerie
d855468cb6
dossiers: display the estimate of the entire processing time
...
Displaying separate estimations for en_construction and en_instruction
doesn't really make sense for the users: they want to know how
long it is going to take overall, not the petty details of our workflow.
2019-04-30 15:56:27 +02:00
Pierre de La Morinerie
10fee7a12b
dossiers: decrease estimation cache duration
...
Some badly outdated data where shown to the users.
2019-04-30 15:56:27 +02:00
Paul Chavard
1c71355574
Better warnings in test mode
2019-04-30 11:03:24 +02:00
Paul Chavard
1d67005545
Add a default value for drop_down_list_value to avoid validation error on new type_de_champ
2019-04-30 10:39:27 +02:00
simon lehericey
7deb228477
Fix API Entreprise call
2019-04-30 10:27:35 +02:00
Pierre de La Morinerie
9c6aa209c9
sign_in: fix line breaks on form header
2019-04-29 17:59:11 +02:00
Pierre de La Morinerie
8bd1064532
tasks: populate Procedure.administrateurs even for hidden procedures
...
The previous procedure migration (created in
f7af01e0dc
) worked fine, but didn't run
on hidden procedures (due to the default scope).
2019-04-29 16:35:34 +02:00
simon lehericey
14c3686969
ApiAdresse: add timeout
2019-04-23 14:31:01 +02:00
Paul Chavard
8d093bd9ba
Fix missing dossier_id on champs inside repetition
2019-04-18 16:55:35 +02:00
simon lehericey
e65e21a72f
Email notification: use the right method for procedures
2019-04-18 15:07:01 +02:00
Pierre de La Morinerie
1f955db2c7
gestionnaire: ignore when the gestionnaire already follows the dossier
...
Fix #3720
2019-04-18 11:41:24 +02:00
simon lehericey
1d051dc3ef
Can change a piece_justificative_template on a type_de_champ
2019-04-18 11:13:35 +02:00
simon lehericey
11f8e7a3f9
Small refactor
2019-04-18 11:13:35 +02:00
Nicolas Bouilleaud
562fe90d42
Fix signout arrow direction
2019-04-18 11:03:58 +02:00
Philémon
d533abedbc
Ajout rappel enregistrement nécessaire
2019-04-18 10:25:16 +02:00
Mathieu Magnin
0770362fb4
Fix when missing logo on remote storage crash email sending
2019-04-11 15:32:52 +02:00
Paul Chavard
9beff5ee9a
Always create menu deroulant champs with a value
2019-04-11 14:38:21 +02:00
Mathieu Magnin
1a97cd42de
Fix missing helper in notification mailer
2019-04-11 12:25:55 +02:00
Mathieu Magnin
28f9208ce8
When mail template is updated, stay on edit page to easily preview it
2019-04-11 11:03:13 +02:00
Mathieu Magnin
b3f3106888
[ Fix #3064 ] Change logo size
2019-04-11 11:03:13 +02:00
Mathieu Magnin
9c6c11027c
[ Fix #3064 ] Add service footer on notification emails
2019-04-11 11:03:13 +02:00
Mathieu Magnin
60d66f0422
[ Fix #3064 ] Add logo and cancel link on preview
2019-04-11 11:03:13 +02:00
Mathieu Magnin
7e551a9d8d
[ Fix #3064 ] If procedure has logo, then display it in emails
2019-04-11 11:03:13 +02:00
Mathieu Magnin
b3970a5e6f
[ Fix #3064 ] Change default signature
2019-04-11 11:03:13 +02:00
Mathieu Magnin
14c3fb7224
[ Fix #3064 ] Add a preview button for state notifications emails
2019-04-11 11:03:13 +02:00
Mathieu Magnin
e91b412254
[ Fix #3064 ] Use a different layout for state notifications emails
2019-04-11 11:03:12 +02:00
Nicolas Bouilleaud
c5122ee7f5
Allow filtering ProcedurePresentation by followers_gestionnaires
...
fixes #3464
2019-04-10 14:32:51 +02:00
Nicolas Bouilleaud
988df15c6b
Refactor ProcedurePresentation::sanitize_columns to use model reflection
...
The passed “table” is actually an association, and may not match the table name. Use model reflection instead of manually pluralizing.
2019-04-10 14:32:51 +02:00
Nicolas Bouilleaud
2fb1b19e09
Hide other motivation fields when switching between states
2019-04-10 10:32:43 +02:00
Paul Chavard
833bafaba6
Align with behaviour on user dossier form
2019-04-09 17:16:18 +02:00
Paul Chavard
adb6255d5d
Do not crash if element to remove is not found
2019-04-09 17:15:45 +02:00
Paul Chavard
a60943a173
Polyfill insertAdjacentElement and dataset on old browsers
2019-04-09 15:26:42 +02:00
Mathieu Magnin
052bd9a9fc
[ Fix #3682 ] Remove placeholder on textarea champ
2019-04-08 16:30:16 +02:00
Nicolas Bouilleaud
c1d1754236
Fix a typo in admin/procedures
2019-04-08 16:20:43 +02:00
Pierre de La Morinerie
8ca683c515
mailers: fix last_week_overview crash when the overview is missing
...
This is because procedures may be unpublished between the time where
the job is enqueued and the time the mailer is run
Fix #3745
2019-04-04 17:32:12 +02:00
Pierre de La Morinerie
e90b1cdcc0
api_entreprise: use API v3 again
...
This reverts commit 10e1408a88
.
2019-04-04 17:14:58 +02:00
Mathieu Magnin
3de9148e33
Change WeeklyOverviewJob hour and day
2019-04-04 15:42:06 +02:00
Mathieu Magnin
f768cb2dae
[ Fix #3721 ] Change notification screen to make it understandable
2019-04-04 15:42:06 +02:00
Paul Chavard
4fb889f10a
Send browser support information and format user id
2019-04-04 14:21:32 +02:00
Paul Chavard
8e6e730c80
Send user information to sentry without email
2019-04-04 14:21:32 +02:00
Pierre de La Morinerie
41ad89d8ac
commencer: fix redirection with invalid path
2019-04-04 14:03:40 +02:00
Paul Chavard
1cbd348569
Fix scope error
2019-04-04 10:31:24 +02:00
Pierre de La Morinerie
158d6e1ae6
avis: format newlines in avis
...
Fix #3738
2019-04-04 10:20:57 +02:00
Paul Chavard
8157fd0127
Fix type de champ menu déroulant
2019-04-03 21:53:57 +02:00
Paul Chavard
b9be186d2c
Sentry should send environment information
2019-04-03 18:19:16 +02:00
Paul Chavard
8e20b6dec2
Make buttons bar wider
2019-04-03 17:59:42 +02:00
Paul Chavard
2374877e98
Add plus icon to ajouter un champ button
2019-04-03 17:59:42 +02:00
Paul Chavard
a197459e4d
Fix react props warning
2019-04-03 17:59:42 +02:00
Pierre de La Morinerie
253008e666
types_de_champ_editor: add title to actions
2019-04-03 17:49:03 +02:00
Pierre de La Morinerie
d79fee7040
types_de_champ_editor: improve the move handle
2019-04-03 17:15:35 +02:00
Pierre de La Morinerie
1880e5161b
types_de_champs_editor: improve apparence of Move buttons
2019-04-03 17:15:35 +02:00
Pierre de La Morinerie
adefd26413
procedure_context: hide the description on auth pages
2019-04-03 17:14:48 +02:00
Pierre de La Morinerie
e896310e34
procedure_context: display the procedure description on small screens
...
Fix #3658
2019-04-03 17:14:48 +02:00
Mathieu Magnin
a997f683f5
Fix pétouille on service form placeholder
2019-04-03 16:52:15 +02:00
Pierre de La Morinerie
22f2ca105e
commencer: display a FranceConnect button
...
Fix #3640
2019-04-03 16:08:09 +02:00
Pierre de La Morinerie
28dcbcb85b
auth: move the FranceConnect button to a partial
2019-04-03 16:08:09 +02:00
simon lehericey
65370b20a9
Use IPService to remove secure connexion from trusted networks
2019-04-03 15:21:19 +02:00
simon lehericey
52e6632175
Add IPService
2019-04-03 15:21:19 +02:00
Paul Chavard
b3f0b41441
Use new editor
2019-04-03 14:38:57 +02:00
Paul Chavard
47694d286e
Revrite types de champ editor using React
2019-04-03 14:38:57 +02:00
Paul Chavard
5a032d344d
Activate React components loader
2019-04-03 14:38:57 +02:00
Paul Chavard
25c4391118
Update type de champ serialization for editor
2019-04-03 14:38:07 +02:00
Paul Chavard
639facaf2a
Add new types_de_champ#move api
2019-04-03 14:38:07 +02:00
Paul Chavard
f5a66df802
Remove old vue editor
2019-04-03 14:38:07 +02:00
Paul Chavard
51c79ba6a6
Update webpacker and replace vue with react
2019-04-03 14:38:07 +02:00
Pierre de La Morinerie
10e1408a88
api_entreprise: revert to API v2
...
Fix a production error
2019-04-03 12:19:28 +02:00
Pierre de La Morinerie
2b09d16688
Merge pull request #3725 from betagouv/fix-fat-blue-button
...
commencer: fix fat two-lines button on small screens
2019-04-02 18:48:51 +02:00
Pierre de La Morinerie
015a591efd
commencer: fix fat two-lines button on small screens
2019-04-02 18:47:02 +02:00
Paul Chavard
e71cdcd12c
Move all the trackers to a separate js pack
2019-04-02 17:33:53 +02:00
Pierre de La Morinerie
a8050ce136
stats: display only the last year of contact rate
2019-04-02 17:22:38 +02:00
Pierre de La Morinerie
031c40aa55
stats: display 12 weeks of feedbacks
2019-04-02 17:22:38 +02:00
Mathieu Magnin
8525761332
Revert english dates
2019-04-02 14:38:47 +02:00
simon lehericey
f945b9ec63
Champ Siret: Fix siret-champ save
...
When a user enter a siret, it calls siret_controller in ajax. The champ value is stil nil, so champ.present? is false because champ.blank is redefined to focus on value. Thus the champ is not updated.
2019-04-02 14:17:21 +02:00
Paul Chavard
418466ca7a
Supprimer le code mort carto
2019-04-02 12:42:28 +02:00
Chaïb Martinez
4b5c5171f7
admin: minor text changes
...
Fix #3493
2019-04-01 10:40:31 +02:00
Chaïb Martinez
7b9e7718a3
admin: redesign the account request page
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-04-01 10:39:59 +02:00
Mathieu Magnin
71e0969bc0
[ Fix #3692 ] Ensure SIRET is correct on server
2019-03-28 18:03:53 +01:00
Mathieu Magnin
7ed1e5ac82
[ Fix #3692 ] Add HTML5 validation to ensure SIRET length is 14
2019-03-28 18:03:53 +01:00
Frederic Merizen
c5f8aa2e0d
[ #2180 ] Fix updated_at for migration PJ champs
2019-03-28 17:55:16 +01:00
Mathieu Magnin
27c8e9dcb8
Use the same clone_attachment method for all attributes on procedure.clone
2019-03-28 17:17:29 +01:00
Frederic Merizen
4d021f1d85
[ #2180 ] Handle additionnal wrapping layer in production
2019-03-28 16:05:09 +01:00
clemkeirua
0d71120f98
[ fix #306 ] Possibilité de joindre un document à un avis
2019-03-28 15:45:14 +01:00
Pierre de La Morinerie
abeb58caa5
dossiers: displays an "Start an other dossier" item in action dropdown
2019-03-28 15:26:15 +01:00
Pierre de La Morinerie
d03e340345
dossiers: add an actions menu
2019-03-28 15:26:15 +01:00
Pierre de La Morinerie
dd4eae7d62
admin: add a expects_multiple_submissions
property on procedures
2019-03-28 15:26:15 +01:00
Pierre de La Morinerie
48b89062c8
stylesheet: fix clickable area of dropdown items
2019-03-28 15:26:15 +01:00
Pierre de La Morinerie
75c37e25f6
stylesheet: fix dropdown triangle overflowing
2019-03-28 15:26:15 +01:00
Pierre de La Morinerie
06e7355d5b
commencer: fix invalid URL on test procedures
...
Fix #3693
2019-03-28 14:15:46 +01:00
Frederic Merizen
cbec49aa0f
Revert "Revert "Redesign admin roles menu""
2019-03-28 14:01:47 +01:00
Frederic Merizen
5e21ebd93f
Move procedure library to new design
2019-03-28 13:50:29 +01:00
Pierre de La Morinerie
1daf523695
layout: extract part of the header to a partial
2019-03-28 11:36:24 +01:00
Pierre de La Morinerie
d267d782b8
help: add administration contact on /commencer pages
2019-03-28 11:36:24 +01:00
Pierre de La Morinerie
e6351b5b1c
help: move all partials to shared/help
2019-03-28 11:36:24 +01:00
Pierre de La Morinerie
27c5d01fa4
support: add nudge to send a screenshot
2019-03-28 11:09:00 +01:00
Pierre de La Morinerie
6c350befd5
support: use constants rather than strings
2019-03-28 11:09:00 +01:00
Pierre de La Morinerie
4e2e8e9a57
support: toggle correct elements on page load
2019-03-28 11:09:00 +01:00
philemon95
bc408e3374
support: allow toggling any element depending on the question type
2019-03-28 11:09:00 +01:00
Frederic Merizen
9aebb76e77
[ #2180 ] Avoid sending spurious notifications to instructeurs
2019-03-27 17:36:13 +01:00
Frederic Merizen
7d316b8369
[ #2180 ] High-level PJ to champ PJ migration service
2019-03-27 17:36:13 +01:00
Frederic Merizen
e24242e4b2
[ #2180 ] Low-level Carrierwave to ActiveStorage migration
2019-03-27 17:36:13 +01:00
Frederic Merizen
21dbe44e07
[ #2180 ] Fix ordering of piece jointe champs
2019-03-27 17:36:13 +01:00
pedong
f82fdef45f
[ fix #3342 ] format letter for date SIRET
2019-03-27 16:10:54 +01:00
pedong
fb29d30826
[ fix #3342 ] show date with format letter
2019-03-27 15:27:20 +01:00
pedong
c0a928ac7a
[ fix #3440 ] use attachment.download for get attachment file
2019-03-26 17:11:59 +01:00
Mathieu Magnin
40d644ea3f
Add a confirm before procedure deletion
2019-03-26 15:54:43 +01:00
Mathieu Magnin
4e27872a25
[ Fix #3650 ] when cloning a procedure, do not forget pj_templates
2019-03-26 15:31:09 +01:00
Pierre de La Morinerie
97af31d54f
app: rename references to betagouv/tps
...
Github has an automatic redirection, but better be clean.
2019-03-26 11:10:30 +01:00
Pierre de La Morinerie
30d11e0dac
app: rename new_gestionnaire
to gestionnaires
2019-03-26 10:48:59 +01:00
Chaïb Martinez
caadf5667a
Minor text changes in new admin email [ fix #3628 ]
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:40:10 +01:00
Chaïb Martinez
dc220dc362
lint fix
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
Chaïb Martinez
bad5822bf3
Remove useless variable
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
Chaïb Martinez
dae51ced74
Add Sendinblue js tracking for admin logged users
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
Chaïb Martinez
9968d24af6
Remove old sendinblue interface through JavaScript [ fix #3622 ]
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
Chaïb Martinez
f229688988
Add sendinblue JS
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-25 17:03:45 +01:00
pedong
0d7c30c9dd
[ fix #3476 ] add notify email for the dossier change state to instruction
2019-03-25 16:04:33 +01:00
simon lehericey
39b710fdde
Annotation: can use repetable
2019-03-25 11:08:53 +01:00
Pierre de La Morinerie
ded5b70444
app: rename new_user
to users
2019-03-25 10:56:39 +01:00
Pierre de La Morinerie
b1a7018d30
procedure: ignore bad data when computing usual_instruction_time
...
Fix #3655
2019-03-20 17:48:54 +01:00
Pierre de La Morinerie
afac5e3b16
stylesheet: fix logo layout on Chrome
...
The new layout hits a bug where the logo are not laid out properly.
See https://github.com/philipwalton/flexbugs/issues/225
2019-03-20 17:01:29 +01:00
Pierre de La Morinerie
5e4660b827
stylesheet: fix header logo URL
2019-03-20 15:23:35 +01:00
Mathieu Magnin
6570bed09c
[ Fix #3641 ] Do not change PJ value in API if PJ is safe
2019-03-20 11:37:31 +01:00
Pierre de La Morinerie
20bff93f0d
header: make the header even narrower on mobile
...
This ensures that the help button is displayed on mobile devices.
2019-03-20 11:06:54 +01:00
Pierre de La Morinerie
69580288a4
help: add a custom help dropdown in gestionnaire context
2019-03-20 11:06:54 +01:00
Pierre de La Morinerie
549b17f75e
help: add a custom help dropdown in dossier context
2019-03-20 11:06:54 +01:00
Pierre de La Morinerie
ce9c5da6e1
dossier: add a messagerie_available? method
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
ad57c6ef99
helpers: add ServiceHelper#formatted_horaires
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
c7d247e9a1
stylesheet: add help, phone and clock icons
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
23f8c63f6a
stylesheet: add a small size for icons
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
04a4513452
stylesheet: rename .description
to .dropdown-description
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
f57985626e
stylesheet: danger buttons don't react on hover
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
3725a43f79
patron: add dropdown menus
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
69a6f1bd79
header: add a link to the Help in the navigation bar
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
9dea126431
header: center the account button vertically
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
abcc46f4cd
icon: fix trash color
2019-03-20 10:42:57 +01:00
Pierre de La Morinerie
36f9909066
webhook: make helpscout email search case-insensitive
...
Fix #3636
2019-03-20 10:41:13 +01:00
Paul Chavard
69a51e3296
Save SIRET data on search
2019-03-19 16:22:42 +01:00
Pierre de La Morinerie
ed1f6ec38d
procedure: fix verification delay
...
The verification delay was ignoring all dossiers not closed yet.
2019-03-19 15:51:51 +01:00
Mathieu Magnin
2c1e1db37d
[ Fix #3617 ] 404 when filter[value] contains a "."
2019-03-19 14:25:57 +01:00
Pierre de La Morinerie
1e63ee764a
stylesheet: improve the procedure description layout
2019-03-19 14:19:25 +01:00
Pierre de La Morinerie
9fbcf4313a
stylesheet: center the procedure title on narrow screens
2019-03-19 14:19:25 +01:00
Pierre de La Morinerie
a6380f8cbb
stylesheet: center the column on narrow screens
2019-03-19 14:19:25 +01:00
Pierre de La Morinerie
ce2df5cd25
stylesheet: refactor the two-columns layout with adaptative margins
...
This allow to break to the single-column layout later, and thus to
display the two-columns variant of the layout on narrower screens.
2019-03-19 14:19:25 +01:00
Pierre de La Morinerie
5a0fd84e98
stylesheet: fix two-columns breakpoint
...
The two-columns breakpoints was too large, and trigerred way before it
was actually needed.
2019-03-19 14:19:25 +01:00
Pierre de La Morinerie
00b41454a7
support: fix the support page not being responsive
2019-03-19 14:18:47 +01:00
simon lehericey
9b4d9dc26c
[ fix #1449 ] Notification: add job
2019-03-18 16:37:51 +01:00
simon lehericey
6607de4827
Notification: add service to send notifications
2019-03-18 16:37:51 +01:00
simon lehericey
ed6828c66c
Notification: UI
2019-03-18 16:37:51 +01:00
simon lehericey
1644fd9059
Notification: add gestionnaire.procedures_with_email_notifications scope
2019-03-18 16:19:36 +01:00
philemon95
536f0ccf02
suppression de l'option SIRET personnes physiques
...
car existe dans tous les cas dans le type de champ "SIRET", davantage source de confusion qu'autre chose
2019-03-18 15:11:18 +01:00
Pierre de La Morinerie
459acb3b77
stylesheet: increase contrast of gray texts
2019-03-14 15:28:13 +01:00
Pierre de La Morinerie
dfba2b8e16
procedure: move the webhook field to the end of the form
2019-03-13 15:22:36 +01:00
philemon95
75b7024c81
modification typos
2019-03-13 13:57:58 +01:00
Mathieu Magnin
6b9dbb22af
Remove unused stats
2019-03-13 11:00:14 +01:00
philemon95
d735b4ded8
suppression délai RGAA
...
suppression de tout horizon temporel quant à la mise en conformité RGAA
2019-03-13 10:37:35 +01:00
philemon95
eebbff1fd1
remplacement archivage par "clôture"
2019-03-13 10:06:59 +01:00
Mathieu Magnin
ff0356e698
Fix Sentry 165 : api crash when siret is unknown
2019-03-12 17:53:11 +01:00
Paul Chavard
4a9ff29391
Fix administration page
2019-03-12 15:34:30 +01:00
Paul Chavard
549eca44cb
Enable flipflop on api requests
2019-03-12 14:02:55 +01:00
Paul Chavard
48701e80bd
Enable flipflop for instructeurs
2019-03-12 12:14:34 +01:00
Paul Chavard
2e5647a926
Adapte AdministrateurUsageStatisticsService for multiadmin
2019-03-12 11:59:01 +01:00
Paul Chavard
bb8ba75d22
Explicitly pass current_administrateur on publish
2019-03-12 11:59:01 +01:00
Paul Chavard
0e4b6e1ba2
Remove “Nombre d'administrations ayant dématérialisé N démarches” graph
2019-03-12 11:59:01 +01:00
Paul Chavard
93ceb79dd1
An admin should always have access to the service of it’s procedures
2019-03-12 11:59:01 +01:00
Paul Chavard
504b26bf5e
Add administrateur to demarche from manager
2019-03-12 11:59:01 +01:00
Paul Chavard
cfb72cae39
Show administrateurs in manager
2019-03-12 11:59:01 +01:00
Paul Chavard
c37f649453
Update specs to use multiple administrateurs
2019-03-12 11:59:01 +01:00
Paul Chavard
01b966ff66
Check demarche ownership on multiple administrateurs
2019-03-12 11:59:01 +01:00
Mathieu Magnin
44f28ec565
Remove feature flag for publish draft
2019-03-12 11:26:07 +01:00
Frederic Merizen
d08b478cfd
Now that we don't have the type column anymore, we don't need to neuter it
2019-03-11 19:00:47 +01:00
Frederic Merizen
02f35e655d
[ #3477 ] Minor simplification
2019-03-11 17:14:17 +01:00
Frederic Merizen
c43cde5647
[ #3477 ] Show and / or relationship between filters
2019-03-11 17:14:17 +01:00
Frederic Merizen
b4790e5009
[ #3477 ] Slightly more compact
2019-03-11 17:14:17 +01:00
Frederic Merizen
e8747f7c38
[ #3477 ] Extract helper method
2019-03-11 17:14:17 +01:00
Frederic Merizen
656f0df377
[ #3477 ] Remove clunky extra method
2019-03-11 17:14:17 +01:00
Frederic Merizen
f64ade355f
[ #3477 ] Fix a copy-paste mistake
2019-03-11 17:14:17 +01:00
Frederic Merizen
7d09624bbe
[ #3477 ] We only use the table anyway
2019-03-11 17:14:17 +01:00
Frederic Merizen
c9ad2995f1
[ #3477 ] Remove extraneous variable
2019-03-11 17:14:17 +01:00
Frederic Merizen
4646e10864
[ #3477 ] The where clause doesn't do what it's supposed to do
2019-03-11 17:14:17 +01:00
Frederic Merizen
cf3f2409dd
[ #3477 ] Clarify what the previous code of eager_load_displayed_fields does
2019-03-11 17:14:17 +01:00
Frederic Merizen
f0d83b1de8
[ #3477 ] ignore invalid dates for now
2019-03-11 17:14:17 +01:00
Frederic Merizen
0ba3515d41
[ #3477 ] Filter by 'column ilike values' as a scope
2019-03-11 17:14:17 +01:00
Frederic Merizen
a87e3ac697
[ #3477 ] Make filtering by datetimes a proper scope
2019-03-11 17:14:17 +01:00
Frederic Merizen
9096f923b1
[ #3477 ] Cleaner way to return no dossiers
2019-03-11 17:14:17 +01:00
Frederic Merizen
d24fb5d186
[ #3477 ] Let where_ilike take care of necessary sanitizing
2019-03-11 17:14:17 +01:00
Frederic Merizen
e098779c5e
[ #3477 ] Accept symbol arguments to sanitized_column
2019-03-11 17:14:17 +01:00
Frederic Merizen
f34e65c207
[ #3477 ] Make sanitized_column a class method
2019-03-11 17:14:17 +01:00
Frederic Merizen
7241e43a7c
[ #3477 ] Allow calling sanitized_column with individual fields
...
rather than a hash
2019-03-11 17:14:17 +01:00
Frederic Merizen
00ca2e0cbb
[ #3477 ] Make sanitized_column dryer
2019-03-11 17:14:17 +01:00
Frederic Merizen
1f34d971d1
[ #3477 ] where_equals is trivial, inline it
2019-03-11 17:14:17 +01:00
Frederic Merizen
91e6671cfb
[ #3477 ] Do not use string interpolation for where_equals
2019-03-11 17:14:17 +01:00
Frederic Merizen
3c96c2e83d
[ #3477 ] Do not use string interpolation for where_datetime_matches
2019-03-11 17:14:17 +01:00
Frederic Merizen
664956d8c6
[ #3477 ] Move compact nearer to the nil-generating place
2019-03-11 17:14:17 +01:00
Frederic Merizen
55d4dcc174
[ #3477 ] Introduce column variable
2019-03-11 17:14:17 +01:00
Frederic Merizen
35d5322a9b
[ #3477 ] Clarify variable name
2019-03-11 17:14:17 +01:00
Frederic Merizen
cf2b40f6a0
[ #3477 ] Extract all variables from sort hash
2019-03-11 17:14:17 +01:00
Frederic Merizen
21128d94b6
[ #3477 ] Inline only use of variable
2019-03-11 17:14:17 +01:00
Frederic Merizen
43243e73d4
[ #3477 ] Merge two ordering cases
2019-03-11 17:14:17 +01:00
Frederic Merizen
8d8376947d
[ Fix #3477 ] Individually remove values from multi-value filter
2019-03-11 17:14:17 +01:00
Frederic Merizen
71f766c434
[ #3477 ] Prefer pluck over map
2019-03-11 17:14:17 +01:00
Frederic Merizen
c53370e14c
[ #3477 ] Reuse existing filtering facility
2019-03-11 17:14:17 +01:00
Frederic Merizen
393f1b1971
[ #3477 ] Move eager_load_displayed_fields to model
2019-03-11 17:14:17 +01:00
Frederic Merizen
c81adb80fd
[ #3477 ] Better choice of case vs if
2019-03-11 17:14:17 +01:00
Frederic Merizen
66fa7ef11d
[ #3477 ] Push up reliance on mutable state
2019-03-11 17:14:17 +01:00
Frederic Merizen
ac4750e5e3
[ #3477 ] Simplify removing a filter
2019-03-11 17:14:17 +01:00
Frederic Merizen
822a3f7098
[ #3477 ] Extract helper to find field
2019-03-11 17:14:17 +01:00
Frederic Merizen
bda41d7574
[ #3477 ] Clarify field_id
2019-03-11 17:14:17 +01:00
Frederic Merizen
58158938cb
[ #3477 ] Extract helper
2019-03-11 17:14:17 +01:00
Frederic Merizen
5e1dc7059a
[ #3477 ] Allow selecting the same filter repeatedly
2019-03-11 17:14:17 +01:00
Frederic Merizen
70bf6aecf6
[ #3477 ] Filter by mutliple values
2019-03-11 17:14:17 +01:00
Frederic Merizen
1431de5cc2
[ #3477 ] Handle multiply-valued filters
2019-03-11 17:14:17 +01:00
Frederic Merizen
54cb65b8a7
[ #3477 ] Extract helper
2019-03-11 17:14:17 +01:00
Pierre de La Morinerie
f14ddccbe8
header: improve available width on narrow viewports
2019-03-11 16:06:15 +01:00
Pierre de La Morinerie
33db73c513
header: reduce the search bar width on narrow viewports
2019-03-11 16:06:15 +01:00
Pierre de La Morinerie
dce83aef7c
footer: rename "FAQ" to "Help"
2019-03-11 15:54:34 +01:00
Frederic Merizen
02a72507b9
Remove compatibility code for legacy values in database column
...
They were fixed by a data migration long ago
2019-03-11 11:41:28 +01:00
Frederic Merizen
c75983710c
Force stable order on champ fields
2019-03-11 11:32:17 +01:00
Frederic Merizen
b428406fc7
[ Fix #3578 ] No tags for champs that cannot have user input anyway
2019-03-11 10:26:27 +01:00
Frederic Merizen
610d2e7e2b
[ Fix #3572 ] Use champ with correct type for balise
2019-03-08 18:32:35 +01:00
philemon95
56a4e73689
Update _general_footer_row.html.haml
2019-03-08 18:14:41 +01:00
maatinito
766e9db752
converting DateTime to Date looses time zone information resulting in bad time computing
...
Specifically, for Tahiti, time zone is -10 so after 14h, UTC time is Tahiti time + 10h i.e the day after. Loosing time zone results in 1 day difference whether the time is computed before of after 14h :-)
2019-03-08 17:58:58 +01:00
Chaïb Martinez
b6552f45ab
[ fix #3542 ] Fix https bug in matomo
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-03-08 17:44:07 +01:00
philemon95
43f95b98e7
Update administration.html.haml
2019-03-08 17:29:18 +01:00
maatinito
55f17f64a4
Use predefined constants instead of values for URLs, mails
2019-03-08 17:06:56 +01:00
pedong
d8f48edbed
[ fix #3521 ] del fix height for image in the mail
2019-03-08 16:49:32 +01:00
Frederic Merizen
ceb354963e
Remove old sendinblue interface through JavaScript
2019-03-08 16:33:28 +01:00
Frederic Merizen
f9a4369a54
Compute administrator usage statistics every night
2019-03-08 16:33:28 +01:00
Frederic Merizen
6b0832047b
Service that computes administrator statistics and sends them to SendinBlue
2019-03-08 16:33:28 +01:00
Frederic Merizen
98713b6a4d
Proxy for SendinBlue API
2019-03-08 16:33:28 +01:00
Frederic Merizen
fc38880155
Move sendinblue client key to configuration file
...
This is not a secret (it's sent to the client as part of the JS anyway) so it's
not a big deal that it was on the public repository but it's still better to
have it be configurable.
2019-03-08 16:33:28 +01:00
simon lehericey
26958a2785
Secured connexion: improve mail wording
2019-03-08 11:52:04 +01:00
Mathieu Magnin
97189cc3aa
Add attestation template to manager
2019-03-06 16:49:16 +01:00
philemon95
db2fff703c
Update accessibilite.html.haml
...
changed tag name 'a11y' to 'accessibilite' for clarity reasons
2019-03-06 11:21:21 +01:00
Frederic Merizen
a8ce11a4d2
Add rel=noopener to links with target=_blank
...
http://support.detectify.com/customer/portal/articles/2792257-external-links-using-target-_blank-
2019-03-05 18:25:26 +01:00
Mathieu Magnin
1eed114d78
Add status page in footer
2019-03-05 17:42:00 +01:00
Mathieu Magnin
a977e098d5
[ Fix #3495 ] add update identité button
2019-03-05 14:52:12 +01:00
Mathieu Magnin
4f70292aed
[ Fix #1874 ] Add update SIRET button on edit page
2019-03-05 14:39:15 +01:00
Paul Chavard
4aef77788a
Include blank for regions and pays
...
fix #3523
2019-03-05 11:08:09 +01:00
Frederic Merizen
d54a0a4612
Fix link to procedure brouillon in manager
2019-03-04 15:03:30 +01:00
simon lehericey
cb1895c515
send_login_token: add mention of one week validity
2019-03-04 12:37:15 +01:00
simon lehericey
6bc820d16c
link_sent: add link to faq
2019-03-04 12:31:31 +01:00
Frederic Merizen
083698a487
Revert "Redesign admin roles menu"
2019-02-26 17:51:26 +01:00
Paul Chavard
f7af01e0dc
Create new procedures with administrateurs
2019-02-26 16:38:58 +01:00
Mathieu Magnin
b3c0a261d7
Fix Sentry 238
2019-02-26 15:08:13 +01:00
Mathieu Magnin
fed1f3e921
Use query filter instead of array.reject
2019-02-26 12:05:49 +01:00
gregoirenovel
27460b55a3
Use the new merge with multiple arguments
2019-02-25 16:57:51 +01:00
Paul Chavard
146e8ba2aa
Revrite with unobtrusive js
2019-02-21 18:05:47 +01:00
Chaïb Martinez
62d7e328c9
New design
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 17:50:58 +01:00
Chaïb Martinez
0a3d87f461
Texte change
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 17:50:58 +01:00
Chaïb Martinez
6f727f4cb1
Add responses messages
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 17:50:58 +01:00
Chaïb Martinez
e9c4ff41a7
Minor changes
2019-02-21 17:50:58 +01:00
Chaïb Martinez
7124965ba8
Add JS script
2019-02-21 17:50:58 +01:00
Chaïb Martinez
9edc7ab2be
Minor css changes
2019-02-21 17:50:58 +01:00
Chaïb Martinez
93a0edcce0
Il y avait une issue crée, je push sur une nouvelle branche
2019-02-21 17:50:58 +01:00
Pierre de La Morinerie
d384b6b07f
card: add spacing to paragraphs
2019-02-21 16:49:16 +01:00
Pierre de La Morinerie
8f3d4de6c3
patron: don't override p
style on the patron page
...
It adds a global styles that messes with the elements we are trying to
present.
2019-02-21 16:49:16 +01:00
philemon95
0820db0161
demande: add text to prevent users from creating an admin account
2019-02-21 16:49:16 +01:00
philemon95
fb5e24028f
Update new.html.haml
2019-02-21 16:49:16 +01:00
Pierre de La Morinerie
066672803b
pj_link: fix an exception when the scan is not associated yet
2019-02-21 16:00:33 +01:00
Chaïb Martinez
9f1c089b30
Minor css changes
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 15:09:34 +01:00
Chaïb Martinez
221ed952d1
Redesign admin roles menu
2019-02-21 14:53:49 +01:00
Chaïb Martinez
b532d6521e
Add switch account type layout
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 14:53:49 +01:00
Chaïb Martinez
97fda013c0
Minor texte changes
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 14:53:49 +01:00
Chaïb Martinez
e29415d401
remove switch button
...
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
2019-02-21 14:53:49 +01:00
Chaïb Martinez
2e2424ec3f
Minor html/css change
2019-02-21 14:53:49 +01:00
clemkeirua
236f73f838
ajout d'une balise pour le nom du service
2019-02-21 12:18:44 +01:00
Paul Chavard
84383fc3c1
Assigne admins to procedure.administrateurs
2019-02-20 17:10:57 +01:00
Frederic Merizen
3f11f65d73
Revert "Update _general_footer_row.html.haml"
2019-02-20 11:17:40 +01:00
philemon95
282b8048f5
Merge branch 'dev' into philemon95-patch-1
2019-02-19 18:24:57 +01:00
Mathieu Magnin
f7650135f4
[ Fix #3375 ] on the API display safe files only
2019-02-19 18:10:35 +01:00
Pierre de La Morinerie
1f636e4d59
piece_justificative: toggle file upload control
2019-02-19 18:02:27 +01:00
Pierre de La Morinerie
ae5e8810a5
piece_justificative: style links as buttons, and improve layout
2019-02-19 18:02:27 +01:00
Pierre de La Morinerie
62ef02183c
pj_link: add an "attachment" icon to the link
2019-02-19 18:02:27 +01:00
Pierre de La Morinerie
d159d72aab
stylesheet: add a "small" button variant
2019-02-19 18:02:27 +01:00
philemon95
ab72846612
Update _footer.html.haml
2019-02-19 17:55:55 +01:00
philemon95
15e055ff3a
add of links to FAQ + gitbook
2019-02-19 17:55:55 +01:00
Mathieu Magnin
272a6b700d
Improve wording
2019-02-19 17:50:10 +01:00
Paul Chavard
aad685bb79
Show preview with correct type de champ options
...
fix #3439
2019-02-19 16:37:42 +01:00
philemon95
06aed4bcf2
Update _general_footer_row.html.haml
2019-02-19 16:12:29 +01:00
simon lehericey
2f66625f18
Manager: improve dossier view
2019-02-19 14:30:14 +01:00
Mathieu Magnin
540201cef5
Fix sentry 230
2019-02-19 12:40:19 +01:00
clemkeirua
8ae468e8c7
ajout de la date de depot pour l'instructeur
2019-02-19 12:00:36 +01:00
Mathieu Magnin
cf610bbd91
Merge branch 'dev' into enforce-rubocop-timezone
2019-02-18 17:41:41 +01:00
Mathieu Magnin
b2f5ff8690
Merge branch 'dev' into fix_3417_departement_with_empty_value
2019-02-18 17:35:53 +01:00
simon lehericey
0b8619be77
Gestionnaire: login_token! -> create_trusted_device_token
2019-02-18 17:21:46 +01:00
simon lehericey
47e3b57e81
TrustedDeviceToken: valid for one week
2019-02-18 17:20:49 +01:00
simon lehericey
c16e30442a
save path before redirect to link_sent_path
2019-02-18 17:20:49 +01:00
simon lehericey
7de3a18fd1
valid period depend on trusted_device_token.created_at
2019-02-18 17:20:49 +01:00
simon lehericey
d664f130fd
trustedDeviceToken: move token youth
2019-02-18 17:20:49 +01:00
simon lehericey
23db8a160c
move token validity to trusted_device_token
2019-02-18 17:20:49 +01:00
simon lehericey
b9b83cca3a
use multiple trusted_device_token
2019-02-18 17:20:42 +01:00
simon lehericey
bee9a108c5
split login and trusted_device logic
2019-02-18 17:20:00 +01:00
simon lehericey
9d92e43d8d
[ fix #3315 ] Migrate service organisme
2019-02-18 16:50:44 +01:00
Mathieu Magnin
dd27167c5d
Enforce Timezone rule in Rubocop
2019-02-18 16:19:42 +01:00
Pierre de La Morinerie
d1f514c7b0
dossier: make clear when files are being uploaded
2019-02-18 15:31:08 +01:00
Pierre de La Morinerie
e1a2a8c0d1
stylesheet: improve upload progress bar appearance
2019-02-18 15:31:08 +01:00
Pierre de La Morinerie
ffe0ceaaa2
manager: allow search procedures by path
...
By default the Field::String type is searchable.
2019-02-18 14:59:08 +01:00
simon lehericey
b152025c5f
Manager: add procedure preview link
2019-02-18 14:44:27 +01:00
Frederic Merizen
1ca64e3f28
[ Fix #1140 ] Let's close this stupid issue already
2019-02-18 14:16:06 +01:00
clemkeirua
e653e5876b
fix: ne pas afficher de date de dépot si celle-ci n'est pas dispo
2019-02-18 14:02:19 +01:00
simon lehericey
a7e068003a
[ fix #3427 ] Administration can soft delete a dossier
2019-02-14 18:09:08 +01:00
Chaïb Martinez
6aa2bf64ca
Texte update
2019-02-14 17:19:17 +01:00
Paul Chavard
5e806aa39e
Add progress bar to model uploads
2019-02-14 17:13:41 +01:00
Paul Chavard
1e8bc3e14c
Refactor upload progress bar
2019-02-14 17:13:41 +01:00
Paul Chavard
235310bcf6
Fix upload progress bar
2019-02-14 17:13:41 +01:00
Pierre de La Morinerie
7413df81e0
Revert "file upload: proxy direct upload through the APP_HOST"
...
This reverts commit 2365efbdaa
.
2019-02-14 16:23:11 +01:00
pedong
034929632b
[ fix #3417 ] add emtpy value for departement
2019-02-14 15:24:12 +01:00
Mathieu Magnin
2365efbdaa
file upload: proxy direct upload through the APP_HOST
...
Ref #3409
2019-02-14 14:28:03 +01:00
Chaïb Martinez
3a81a4ce2d
Comment/Hide "Commencer une nouvelle démarche" in user dossier page
2019-02-14 11:26:37 +01:00
clemkeirua
fcce8bd98c
affichage de la surface cadastrale dans les cartes
2019-02-14 10:55:44 +01:00
Frederic Merizen
eb7cd28504
Fix undefined method for nil:NilClass
2019-02-13 19:22:38 +01:00
Pierre de La Morinerie
2deb34ce33
matomo: fix JS error when timing data are not available
...
Happened when navigating on IE 11 for some reason.
2019-02-13 15:51:10 +01:00
Mathieu Magnin
f445d95166
Fix Macedoine 🇲🇰
2019-02-13 13:56:51 +01:00
Chaïb Martinez
9cf0ec7d02
support: fix dossier id sent to HelpScout
2019-02-13 12:19:00 +01:00
Frederic Merizen
41ab7246cf
[ #3424 ] Improve formatting of addresses with missing components
2019-02-13 09:57:33 +01:00
Paul Chavard
8750d0e410
Merge pull request #3414 from Keirua/feat/ajout-date-depot
...
Ajout de la date de passage en construction au sous-titre du dossier
2019-02-12 17:03:46 +00:00
clemkeirua
7c1a4ff998
simplication de l'appel à I18n.l
2019-02-12 16:43:51 +01:00
Paul Chavard
b7058947e1
Fix buttons on screen bottom
2019-02-12 16:22:12 +01:00
clemkeirua
ec6af852bb
using en_contruction_at for initial deposit date
2019-02-12 15:23:27 +01:00
Chaïb Martinez
d837066091
Add scroll-to to add champ buttons
2019-02-12 12:58:53 +01:00
Chaïb Martinez
dbfb7804a8
Add vue-scrollto settings
2019-02-12 12:58:53 +01:00
clemkeirua
c2048e9879
more accurate deposit date, full month + I18N
2019-02-12 12:06:40 +01:00
clemkeirua
680d80b5f2
added en_construction date to the title of the request
2019-02-11 17:55:22 +01:00
Paul Chavard
5da5f75c5f
[Types de Champ Editeur] Save on change and only edited model
2019-02-07 17:05:55 +01:00
Pierre de La Morinerie
82fc017430
autocomplete: fix initialization happening several times
2019-02-07 15:29:46 +01:00
Paul Chavard
f5c9b55c59
Move remove row button to the right and show button on previews
2019-02-07 13:10:29 +01:00
Paul Chavard
bb5c90c579
Fix champ address on repetitions
2019-02-07 12:29:27 +01:00
Paul Chavard
a0a1ce11c8
Add repetition to apercu
2019-02-07 12:29:27 +01:00
Pierre de La Morinerie
a6704c4cd6
dossiers: allow users to delete "en construction" dossiers
2019-02-07 11:07:07 +01:00
Pierre de La Morinerie
d251ebc2f4
dossiers: shorten method name
2019-02-06 18:20:35 +01:00
Pierre de La Morinerie
b8978d2196
carto: properly handle RestClient::ServiceUnavailable exceptions
2019-02-06 17:40:15 +01:00
Paul Chavard
6b39128be3
Clone nested types_de_champ
2019-02-06 10:05:27 +01:00
Mathieu Magnin
f6714cd9a3
If ClamavService fails then raise an error
2019-02-05 17:58:41 +01:00
simon lehericey
5715cdaa4c
[ fix #3363 ] use organisation_name in dossier summary
2019-02-05 17:41:51 +01:00
Frederic Merizen
a255e61556
[ #3356 ] Improve formatting for menus that only have a primary value
2019-02-05 17:35:30 +01:00
Frederic Merizen
a3d7c8de55
[ Fix #3356 ] Add tags for primary menu only / secondary menu only
2019-02-05 17:35:30 +01:00
Frederic Merizen
d3498e10bd
[ #3356 ] Let dynamic type handle tag generation
2019-02-05 17:35:30 +01:00
Frederic Merizen
4a3d402a32
[ #3356 ] No need for special treatment
2019-02-05 17:35:30 +01:00
Frederic Merizen
a8b9da9d3b
[ #3356 ] Remove redundant method
2019-02-05 17:35:30 +01:00
Frederic Merizen
5bc8bbbaa2
[ #3356 ] Let tags handle their own substitution
2019-02-05 17:35:30 +01:00
Frederic Merizen
656061b21a
[ #3356 ] Clarify naming
2019-02-05 17:35:30 +01:00
Frederic Merizen
140a65cb36
[ #3356 ] Simplify detection of handling champ
2019-02-05 17:35:30 +01:00
Frederic Merizen
bcfc0f2535
[ #3356 ] Let types de champ decide their tags
2019-02-05 17:35:30 +01:00
Frederic Merizen
d67af741d5
[ #3356 ] Prepare for multiples tags per type de champ
2019-02-05 17:35:30 +01:00
Paul Chavard
cb72507c12
Simplify repetition js
2019-02-05 16:48:26 +01:00
Paul Chavard
a9a853b669
Fix and simplify linked-drop-down-list js
2019-02-05 16:48:26 +01:00
Paul Chavard
1d75a32cac
Add a default text type de champ to editor
2019-02-05 16:48:26 +01:00
Paul Chavard
2754dc9c9e
Avoid n+1 when loading types de champ in to the editor
2019-02-05 16:48:26 +01:00
Mathieu Magnin
f67fdae542
Add logs to AntivirusJob
2019-02-05 12:50:27 +01:00
Paul Chavard
071448e1d9
Champ Repetition dossier editor
2019-02-04 16:19:07 +01:00
Paul Chavard
a4a421a91a
Champ Repetition dossier display
2019-02-04 15:46:39 +01:00
Paul Chavard
9b7b59f67e
Champs editor should handle repetition type
2019-02-04 11:58:26 +01:00
Mathieu Magnin
86a2a426bb
Merge branch 'dev' into fix_3282_datatime_with_empty_value
2019-02-01 11:45:45 +01:00
Pierre de La Morinerie
f42d9fce0c
stats: add data points to the user satisfaction
2019-02-01 11:02:37 +01:00
Pierre de La Morinerie
283f110e9b
stats: improve numeric separators and suffixes
2019-02-01 11:02:37 +01:00
Pierre de La Morinerie
34a2dc6b97
stats: turn satisfaction into a stacked area chart
2019-02-01 11:02:37 +01:00
simon lehericey
41ae1f46f4
Trusted_device: cleaner time comparison
2019-02-01 10:54:20 +01:00
Frederic Merizen
f17ab449b9
[ Fix #3343 ] Allow non windows-1252 characters in attestation
...
by using ttf font
2019-01-30 15:06:25 +01:00
Paul Chavard
7678d8eb0b
Revert for_api value on yes_no champs
2019-01-29 15:23:09 +01:00
simon lehericey
30d17aebe1
[ fix #3336 ] Fix bug in admin procedure description
2019-01-29 13:32:27 +01:00
Pierre de La Morinerie
35afbaf238
manager: display lien_site_web on procedures
...
Fix #3327
2019-01-28 18:28:12 +01:00
Pierre de La Morinerie
bb50850e3c
stylesheets: increase maximum width of fixed alerts
2019-01-28 18:22:55 +01:00
Pierre de La Morinerie
c6fdbe8256
stylesheets: ensure that fixed flash errors are presented above the map
2019-01-28 18:22:55 +01:00
Pierre de La Morinerie
00d3cbc182
carto: handle more "API unavailable" errors
2019-01-28 18:22:55 +01:00
Pierre de La Morinerie
803364490d
carto: present API InternalServerError to the user, instead of failing
2019-01-28 18:22:55 +01:00
Pierre de La Morinerie
f1f7f0ef9f
specs: cleanup "Delete draft from dossiers list" spec
2019-01-28 18:17:38 +01:00
Pierre de La Morinerie
934368616c
form: remove the "Delete draft" button
...
Draft can now be deleted from the dossiers list. This is the best place
to delete it (as it allow to clean the list) – and it is better than
asking the user if they want to delete a draft *precisely while they
are filling the form*.
2019-01-28 18:17:38 +01:00
pedong
ec76ff820b
[ fix #3048 ] add pattern for the champs phone
2019-01-24 18:48:57 +01:00
Mathieu Magnin
61dcebff79
[ Fix #3324 ] Change font and justify text in attestation
2019-01-24 16:36:03 +01:00
Mathieu Magnin
e18f9d9dfa
[Fix Sentry 97] pass a string to flash instead of array
2019-01-24 15:49:46 +01:00
pedong
358c08ec29
[ fix #3282 ] add empty value for type_champ datatime
2019-01-24 14:57:21 +01:00
Pierre de La Morinerie
db8289a19d
procedure: ensure a procedure can't be deleted while it has dossiers
2019-01-23 17:19:36 +01:00
Pierre de La Morinerie
fb75461c78
procedure: delete dossiers on destroy
2019-01-23 17:19:36 +01:00
emsnytech
5118f4d5f1
Modification du texte d’information vers les pages d’information sur internet
...
Aujourd’hui, les administrateurs doivent proposer un lien vers un site internet dans la description de leur démarche.
Toutefois, l’adresse qui est la plus importante à connaître, est le lien vers la page du site institutionnel sur laquelle les usager vont trouver le lien vers la démarche.
Il est proposé de clarifier cette attente par une phrase plus précise. ( cela n'empêche pas de publier avec une adresse générique, car cette information n’est pas obligatoire, et être modifiée après publication).
2019-01-23 16:37:28 +01:00
Pierre de La Morinerie
b177df477e
analytics: send Matomo event when navigating using Turbolinks
2019-01-23 16:31:36 +01:00
Pierre de La Morinerie
23276cb9f9
commencer: add temporal context about the dossier
...
Ref #2225
2019-01-23 16:14:25 +01:00
Pierre de La Morinerie
437f73b4ce
search: exclude more special characters
2019-01-22 17:16:49 +01:00
Pierre de La Morinerie
e04173e2df
commencer: increase description font size
2019-01-22 16:25:13 +01:00
Pierre de La Morinerie
022cf33853
contact: fix sending a message to the messagerie
...
Fix #3313
2019-01-22 16:12:13 +01:00
pedong
6103176a78
[ fix #1238 ] add previsualization attestation for gestionnaire
2019-01-22 14:54:24 +01:00
Pierre de La Morinerie
bb753ce23e
commencer: redirect to the procedure page after sign-in and sign-up
2019-01-21 14:45:38 +01:00
Pierre de La Morinerie
016e5f2e6f
commencer: add an independant page
2019-01-21 14:45:38 +01:00
Frederic Merizen
a5b29dde97
Explain to administrateur why the attestation cannot be deactivated
2019-01-21 13:46:49 +01:00
Paul Chavard
174b01ecd4
Fix champs editor on old procedures
2019-01-18 14:53:14 +01:00
philemon95
b69d10876b
Update new.html.haml
...
entendu parlé -> entendu parler
2019-01-18 11:12:20 +01:00
Frederic Merizen
d01270eff2
[ #2180 ] Do not double-expose migrated type PJ as type champ PJ
2019-01-17 17:47:08 +01:00
Frederic Merizen
63519f04c8
[ #2180 ] Expose migrated types PJ as legacy type PJ in dossier API
2019-01-17 17:47:08 +01:00
Frederic Merizen
bf23abdfe3
[ #2180 ] Expose migrated PJs as legacy PJs in dossier API
2019-01-17 17:47:08 +01:00
Frederic Merizen
5f74ae1545
[ #2180 ] Do not double-expose migrated type PJs as champs in procedure API
2019-01-17 17:47:08 +01:00
Frederic Merizen
082255b489
[ #2180 ] Expose migrated types PJ as legacy types PJ in procedure API
2019-01-17 17:46:56 +01:00
Frederic Merizen
5e37400834
[ #2180 ] Only retain old PJ API when cloning for same admin
2019-01-17 17:40:40 +01:00
Frederic Merizen
d1c0418c89
[ #2180 ] Refactor - extract local variable
2019-01-17 17:40:40 +01:00
Frederic Merizen
8cb509d192
[ #2180 ] Keep information that this type de champ was cloned from a PJ
2019-01-17 17:40:40 +01:00
Frederic Merizen
651fd6149b
[ #2180 ] When cloning a procedure, convert types de PJ to types de champ PJ
2019-01-17 17:40:40 +01:00
Mathieu Magnin
b1efe57403
[ Fix #2423 ] Allow Usager to delete brouillon from dossiers#index
2019-01-17 17:30:37 +01:00
Paul Chavard
d45273e117
Only initialize champs editor if is present on page
2019-01-17 16:29:30 +01:00
Paul Chavard
6036d7906f
Enable champ_siret for all
2019-01-17 15:17:48 +01:00
Paul Chavard
9136c9dfa0
Enable support_form for all
2019-01-17 15:17:48 +01:00
Chaïb Martinez
51877c2247
Minor sendinblue tracking change
2019-01-17 14:52:18 +01:00
Chaïb Martinez
72ec0a98f7
Minor sendinblue tracking change
2019-01-17 14:52:18 +01:00
Mathieu Magnin
f9768825a2
Fix icon alignement in buttons
2019-01-17 14:27:12 +01:00
Mathieu Magnin
306632f169
Add Test et publication on tab title
2019-01-17 14:04:59 +01:00
Mathieu Magnin
8e1b3515be
Add démarche en test on dossiers#show
2019-01-17 14:04:58 +01:00
Mathieu Magnin
910d471d86
If archived_at & published_at equal nil (tests procedures), then use created_at order
2019-01-17 14:04:58 +01:00
Mathieu Magnin
a4ddec6dff
Wording : Démarche en brouillon => Démarche en test
2019-01-17 14:04:58 +01:00
Mathieu Magnin
2ce6d01aec
Procedure has a default generated path when created
2019-01-17 14:04:58 +01:00
Mathieu Magnin
2355cdeeae
Demarches Actives -> Publiées
2019-01-17 14:04:58 +01:00
Paul Chavard
41c9b21509
Use new editor
2019-01-17 11:20:31 +01:00
Paul Chavard
0d35295d4e
New champs editor
2019-01-17 11:20:31 +01:00
Paul Chavard
e1a1a2b2ad
Add new admin procedure update action
2019-01-17 11:20:31 +01:00
Pierre de La Morinerie
ae763d93f3
sign_up: display procedure context if available
2019-01-17 11:07:09 +01:00
Pierre de La Morinerie
4fd9fa6610
sign_in: extract the procedure context to a ProcedureContextConcern
2019-01-17 11:07:09 +01:00
Pierre de La Morinerie
e580d336e4
sessions: add a helper to clear the stored return path
2019-01-17 10:48:54 +01:00
simon lehericey
99bfd19b41
[ fix #3268 ] Jobs: use automatic_operation
2019-01-16 17:20:12 +01:00
simon lehericey
6ab2d124f9
Dossier: #accepter_automatiquement!
2019-01-16 17:20:12 +01:00
simon lehericey
0f3dedb0b6
Dossier: #passer_automatiquement_en_instruction!
2019-01-16 17:12:32 +01:00
Pierre de La Morinerie
8b95da5ee5
layouts: migrate sign_up to the shared layout
2019-01-16 14:49:51 +01:00
Pierre de La Morinerie
62ee710382
sign_in: remove hack for displaying the procedure context
...
Before there was no way to display the informations about a procedure
without having a dossier. Thus an empty dossier was created.
Now we can display the informations of a procedure using a @procedure
instance variable, so we can move this hack away.
2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
5d6005dbe9
views: make dossier optional on procedure_footer
...
This allow displaying the procedure footer even when
there is no dossier yet
2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
d36696442b
layouts: migrate sign_in to the shared layout
2019-01-16 14:25:12 +01:00
Pierre de La Morinerie
13f1d4c7d9
views: rename dossier_footer to procedure_footer
2019-01-16 14:25:12 +01:00
Frederic Merizen
0846860748
Proxy for active storage service provider
2019-01-16 11:34:57 +01:00
Pierre de La Morinerie
ac88d1cc1d
stats: display the last day of the range (instead of the first day)
2019-01-10 16:17:00 +01:00
Pierre de La Morinerie
908771e172
stats: use group_by_week to compute the week range
...
Fix #3242
2019-01-10 16:17:00 +01:00
Mathieu Magnin
31c45fe2e5
Fix Sentry 161
2019-01-10 15:21:40 +01:00
simon lehericey
e55fe2bb91
link_sent: add sentence to warn max email delay
2019-01-10 12:06:35 +01:00
simon lehericey
eb6ef1eb46
Gestionnaire: increase validity token to 45 minutes
2019-01-10 12:06:35 +01:00
simon lehericey
29fff9ee68
[ fix #3269 ] bufferize login token email
2019-01-10 12:06:35 +01:00
Pierre de La Morinerie
5719107cbc
views: fix misnamed textarea template
2019-01-10 11:26:43 +01:00
simon lehericey
e7d5f30192
Admin: small reword in admin procedure ui
2019-01-09 16:25:00 +01:00
simon lehericey
a197285742
[ fix #2612 ] Admin: add missing steps to admin UI
2019-01-09 16:25:00 +01:00
simon lehericey
8ca7eb1c54
Procedure: cloning set the current admin gestionnaire of the procedure
2019-01-09 16:25:00 +01:00
simon lehericey
b38fbc78ef
SessionControllerSpec: remove specific attribut test
...
change user.update(log_in_with_france_connect: nil) as log_in_france_connect is an enum
2019-01-09 13:49:47 +01:00
simon lehericey
f0139c5962
Spec Factory: an administrateur always has a gestionnaire
2019-01-09 13:49:47 +01:00
Paul Chavard
1beefe4469
Fix champ repetition belongs_to associations
2019-01-08 11:56:33 +00:00
gregoirenovel
1c2f1a715c
Rely on the champs partial for annotations privées when printing
2019-01-08 12:32:27 +01:00
gregoirenovel
55419b92a8
Simplify code
2019-01-08 12:32:27 +01:00
gregoirenovel
864bb38d8a
Add #for_api methods to CheckboxChamp and YesNoChamp
...
Otherwise, we return nil instead of “off” / “non”,
so we don’t expose the data properly
2019-01-08 12:32:27 +01:00
gregoirenovel
0846bad1c8
Mutualize code in methods
...
As done in YesNoChamp
2019-01-08 12:32:27 +01:00
gregoirenovel
866c74ce63
Add Champ#for_api
2019-01-08 12:32:27 +01:00
gregoirenovel
083dfb4eaa
Improve ProcedureExportService
2019-01-08 12:32:27 +01:00
gregoirenovel
b4781f7440
Make dossier link clickable for users in the Demande tab
2019-01-08 12:32:27 +01:00
gregoirenovel
cc07f0d701
Add a blank line to improve readability
2019-01-08 12:32:27 +01:00
gregoirenovel
e4f10a3d2d
Order a case statement alphabetically
2019-01-08 12:32:26 +01:00
gregoirenovel
66c633a1e5
Mutualize some code
2019-01-08 12:32:26 +01:00
gregoirenovel
5014e3f4c1
Move the display logic directly into the carte champ partial
2019-01-08 12:32:26 +01:00
gregoirenovel
dbbe2866d5
Extract the siret champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
c1ebae3ee8
Extract the textarea champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
e6e67dab35
Extract multiple_drop_down_list champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
81d6e193e5
Extract the piece_justificative champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
c7f2293c15
Extract the dossier_link champ view in a partial
2019-01-08 12:32:26 +01:00
gregoirenovel
004cdd4c43
Add highlights to all champs
2019-01-08 12:32:26 +01:00
gregoirenovel
20ea577a66
Remove a case that can be handled by the general case
2019-01-08 12:32:26 +01:00
gregoirenovel
f9df32d72e
Use c.to_s instead of value, to avoid confusion
2019-01-08 12:32:26 +01:00
gregoirenovel
f5a31be36a
Remove the now useless #formatted_value method
2019-01-08 12:32:26 +01:00
gregoirenovel
c00aac2f80
We can now replace processing in #formatted_value by #to_s calls
2019-01-08 12:32:26 +01:00
gregoirenovel
f27717ab23
Make the CheckboxChamp export similar to YesNoChamp
...
Previously, nil values would be returned as nil
and not as off
2019-01-08 12:32:26 +01:00
gregoirenovel
4a6930b60a
Remove from EngagementChamp a method it’s inheriting
2019-01-08 12:32:26 +01:00
gregoirenovel
66d1b7ba10
Use ternary conditions
2019-01-08 12:32:26 +01:00
gregoirenovel
9e42190148
Remove the proxy value_for_export method
...
Overload for_export instead
2019-01-08 12:32:26 +01:00
gregoirenovel
7cd50531cf
Remove the proxy string_value method
...
Overload to_s instead
2019-01-08 12:32:26 +01:00
gregoirenovel
9a2341c56c
Remove the useless #for_display proxy method
2019-01-08 12:32:26 +01:00
gregoirenovel
2e6c91e9b0
Move #selected_options to the only relevant model
2019-01-08 12:32:26 +01:00
gregoirenovel
c4b9a0b79e
Rename DropDownList#selected_options_without_decorator
2019-01-08 12:32:26 +01:00
gregoirenovel
4b4eb6d53e
Simplify code
2019-01-08 12:32:26 +01:00
gregoirenovel
16bccb2386
Remove the useless #value_for_export method
2019-01-08 12:32:26 +01:00
Pierre de La Morinerie
142b684170
layouts: fix styling of the sign_in and sign_up pages
...
This was broken during the shared layout refactoring
2019-01-08 08:16:55 +01:00
Pierre de La Morinerie
be1567ecbd
messages: improve wording of the "Send" button
2019-01-07 16:20:23 +01:00
Pierre de La Morinerie
46b4d3c46b
messages: fix Send button being clipped on mobile screens
2019-01-07 16:20:23 +01:00
Pierre de La Morinerie
0a7b061e70
layouts: move the procedure_context
CSS to its own stylesheet
2019-01-07 15:40:19 +01:00
Pierre de La Morinerie
e25bd7139f
layouts: use a common procedure_context
layout for the demarche overview
2019-01-07 15:39:58 +01:00
Pierre de La Morinerie
5a36546485
layouts: rename "application" to "application_old"
2019-01-07 12:17:05 +01:00
Chaïb Martinez
144bc86cd0
Add sendinblue tracking in admin backoffice pages
2019-01-07 10:27:50 +01:00
Chaïb Martinez
0452a3046c
Add sendinblue tracking in admin backoffice pages
2019-01-07 10:27:50 +01:00
Chaïb Martinez
b04de622c6
Add sendinblue js
2019-01-07 10:27:50 +01:00
gregoirenovel
fd2b44b45e
Fix the FC info link
2019-01-07 08:52:51 +01:00
gregoirenovel
c66342aa2f
Add a CTA in the header on the registration page
2019-01-07 08:52:51 +01:00
gregoirenovel
a43ec4e0d1
Align the remember me and forgotten password items
2019-01-07 08:52:51 +01:00
simon lehericey
7b935a6486
login_token: lets constantize
2019-01-07 08:18:29 +01:00
gregoirenovel
65798feba3
Unify code
2019-01-07 08:12:52 +01:00
gregoirenovel
382a50abcf
Reorder the admin sidebar links
2019-01-07 08:12:52 +01:00
gregoirenovel
5fa5f2aa37
Bump development gems
...
- rubocop (0.61.1 → 0.62.0)
2019-01-05 11:47:55 +01:00
Pierre de La Morinerie
dbbe96d333
signature: replace RbNaCl by ActiveSupport::MessageVerifier
2019-01-03 17:48:53 +01:00
Pierre de La Morinerie
86b9e2d092
stats: fix exception when HelpScout env vars are missing
...
This fixes the stats page, which used to raise an exception when
HelpScout env vars are not present.
2019-01-03 17:27:56 +01:00
Pierre de La Morinerie
da675bb47e
api: fix formatting error when a request fails
2019-01-03 17:27:56 +01:00
Pierre de La Morinerie
efae27b901
stats: start helpscout stats at 01-2018
...
Data before is very variable, as it is based on a low dossiers count.
2019-01-03 17:23:22 +01:00
Pierre de La Morinerie
d77530c461
Make Procedure state consistent after switching types de champ order
...
Fixes an issue where, after clicking the "move champ up" button,
the new form is rendered with an incoherent order.
2019-01-03 15:13:14 +01:00
gregoirenovel
9466442aff
Remove the TypeDeChamp decorators
2019-01-03 12:08:25 +01:00
gregoirenovel
9c130c41da
Remove ProcedureDecorator
2019-01-03 12:08:25 +01:00
gregoirenovel
b41764ec03
Remove ChampDecorator
2019-01-03 12:08:25 +01:00
gregoirenovel
b8f57415cd
Remove the unused decorator DossierDecorator
2019-01-03 12:08:25 +01:00
gregoirenovel
559df6b82a
Remove the unused decorator ProceduresDecorator
2019-01-03 12:08:24 +01:00
gregoirenovel
6565ce9c3c
Remove the unused decorator DossiersDecorator
2019-01-03 12:08:24 +01:00
gregoirenovel
71c8083b92
Remove the unused decorator UserDecorator
2019-01-03 12:08:24 +01:00
gregoirenovel
4f30e30a08
Remove the unused decorator FranceConnectInformationDecorator
2019-01-03 12:08:24 +01:00
gregoirenovel
0c8b228fbf
Enable the Lint/UselessAssignment cop
2019-01-03 10:53:50 +01:00
gregoirenovel
0336ecf639
Remove useless arguments from some methods
2019-01-03 10:53:50 +01:00
gregoirenovel
0596d53ac2
Enable the Lint/UnusedBlockArgument cop
2019-01-03 10:53:50 +01:00
gregoirenovel
baf7977786
Enable the Lint/StringConversionInInterpolation cop
2019-01-03 10:53:50 +01:00
gregoirenovel
d473119f9d
Enable the Lint/ParenthesesAsGroupedExpression cop
2019-01-03 10:53:50 +01:00
gregoirenovel
186e362701
Enable the Layout/SpaceInsideArrayLiteralBrackets
2019-01-03 10:53:50 +01:00
gregoirenovel
386fbce776
Enable the Layout/SpaceBeforeBlockBraces cop
2019-01-03 10:53:50 +01:00
gregoirenovel
8b0b8162f0
Enable the Layout/SpaceAfterComma cop
2019-01-03 10:53:50 +01:00
gregoirenovel
d6e4f775ba
Add some space between the Merci content and the footer
2018-12-28 19:03:19 +01:00
Chaïb Martinez
802f2086d6
Redirect admins with no démarches to the new demarche page
2018-12-28 18:57:51 +01:00
Chaïb Martinez
e88a3f8dbf
Add a message to the démarches library page if the admin has 0 demarches
2018-12-28 18:25:15 +01:00
Chaïb Martinez
c19b1bb6cf
Make the “New démarche from scratch ” button bigger
2018-12-28 18:25:12 +01:00
Chaïb Martinez
d0d11edf61
Make a démarches library title bigger
2018-12-28 18:24:59 +01:00
maatinito
4ad3a60e25
[ Fix #2575 ] Créer automatiquement un compte instructeur aux administrateurs
2018-12-26 09:44:20 -10:00
gregoirenovel
03eb47016c
Fix a gestionnaire sign in bug
2018-12-26 18:14:04 +01:00
Chaïb Martinez
1a7d0f2e12
Remove mailto contact DS into admin header
2018-12-26 14:43:34 +01:00
Chaïb Martinez
1c4eb72fa5
Suspect by defaut
2018-12-22 11:49:15 +01:00
Chaïb Martinez
905d2f1635
Add phone number from pipedrive
2018-12-22 11:49:15 +01:00
maatinito
384dbf3e1b
Add an intro to the last week overview email
2018-12-20 17:07:19 +01:00
maatinito
10cd16656d
Improve the style of the last week overview email
2018-12-20 17:07:17 +01:00
maatinito
15ad7bae53
Improve the style of the avis invitation email
2018-12-20 17:07:15 +01:00
maatinito
5ca9267065
Improve the style of the dossier expiration summary email
2018-12-20 17:07:11 +01:00
maatinito
87cccae17a
Change the title of the avis invitation
2018-12-20 17:07:07 +01:00
maatinito
249a64f1a6
Improve the copy of the invite guest email
2018-12-20 17:07:06 +01:00
maatinito
e4883aa152
[ Fix #325 ] Set InviteMailer’s layout
2018-12-20 16:21:27 +01:00
maatinito
a1a11adb83
[ #325 ] Make the notification layout inherit from the general layout
2018-12-20 16:21:27 +01:00
maatinito
d80bf601e1
[ #325 ] Add support for a footer in layout.html.erb
2018-12-20 16:21:27 +01:00
Mathieu Magnin
b40c706d98
[ Fix #3192 ] Clone service if procedure is transferred
2018-12-20 15:45:48 +01:00
Chaïb Martinez
0fe473b84e
Add 2 new categories in admin contact form
2018-12-20 15:29:49 +01:00
Chaïb Martinez
206f17be90
Add warning text in email field
2018-12-20 15:29:49 +01:00
Mathieu Magnin
1dcc8303a6
Add html links in invitation mail templates
2018-12-20 15:01:04 +01:00
Paul Chavard
eb9edc1cee
Order types de champ in scope
2018-12-20 14:14:15 +01:00
gregoirenovel
af21618652
Improve the avis invitation email footer
2018-12-20 11:57:07 +01:00
maatinito
b72fd330b5
Use the layout's footer for the avis invitation email
2018-12-20 11:20:10 +01:00
maatinito
e554cc3644
Unify the emails' intro tag
2018-12-20 11:20:10 +01:00
maatinito
2de328da64
Unify the emails' intro sentence
2018-12-20 11:20:10 +01:00
maatinito
f51cdd0e48
Add a partial for the emails' signature
2018-12-20 11:20:10 +01:00
Frederic Merizen
2a758d0759
[ Fix #3196 ] Convert YAML to JSON
2018-12-19 23:17:55 +01:00
Frederic Merizen
36d6a43084
[ #3196 ] Make TypeDeChamp#options compatible with raw JSON
...
instead of YAML inside a JSON string.
We still need to support the YAML form until the data has been migrated
2018-12-19 18:43:56 +01:00
Paul Chavard
5d1c24f3d8
Add type de champ repetition models (with row)
2018-12-19 15:31:11 +01:00
gregoirenovel
df7e0a9881
Remove dead code
2018-12-19 14:59:15 +01:00
gregoirenovel
4b0e632abb
Enable the Style/ColonMethodCall cop
2018-12-19 13:56:10 +01:00
gregoirenovel
616e9305e9
Enable the Style/ClassCheck cop
2018-12-19 13:56:10 +01:00
gregoirenovel
fba8d97256
Enable the Stlye/BlockDelimiters cop
2018-12-19 13:56:10 +01:00
gregoirenovel
a8f700b572
Enable the Style/FormatString cop
2018-12-19 13:56:10 +01:00
pedong
09552ed9ff
[ fix #3188 ] replace a to link_to in footer
2018-12-19 13:18:01 +01:00
gregoirenovel
85a20f9b28
Remove double spaces
2018-12-19 12:35:22 +01:00
Chaïb Martinez
408ee31595
Add Sendinbue subscribe form
...
Remove Mailjet newsletter subscribe popin
2018-12-19 12:35:22 +01:00
Frederic Merizen
d1cfe4468d
Encourager la création de champs PJ plutôt que de vieilles PJS
2018-12-19 11:57:23 +01:00
gregoirenovel
336ee6aba0
Remove the Tour de France banner from the administration landing page
2018-12-19 10:57:28 +01:00
gregoirenovel
e69310fe07
ModuleApiCartoService → ApiCartoService
2018-12-19 10:29:11 +01:00
gregoirenovel
129df93fb1
Add a blank line to ease readability
2018-12-18 22:49:27 +01:00
gregoirenovel
3ce3d203d4
Simplify some code
2018-12-18 22:49:27 +01:00
gregoirenovel
81ee1c2961
Use a method instead of a comparison
2018-12-18 22:18:38 +01:00
gregoirenovel
026fd1aaa2
Use parentheses
2018-12-18 22:18:38 +01:00
maatinito
008793d844
[ Fix #1318 ] ETQ Instructeur, j'aimerais être averti que le texte de la motivation sera visible par les utilisateurs
2018-12-18 16:27:51 +01:00
Mathieu Magnin
8435ff004f
Add annotations privées to procedure page on manager
2018-12-18 12:15:50 +01:00
Frederic Merizen
57a136c861
Make champ PJ generally available
2018-12-18 11:11:23 +01:00
Pierre de La Morinerie
d614ea6bd5
stats: display contact rate
2018-12-18 10:38:59 +01:00
Mathieu Magnin
5ab0853f1c
Harmonize user champ pj purge route to gestionnaire
2018-12-14 11:38:59 +01:00
Mathieu Magnin
edf3eefa87
Fix Sentry 114, Instructeur can delete pj in private champs
2018-12-13 17:27:05 +01:00
gregoirenovel
ebb76c57f1
Fix a typo
2018-12-12 11:29:59 +01:00
gregoirenovel
56dcbb5b64
Update message so that it reflects the reality
2018-12-10 17:25:44 +01:00
pedong
de5de75869
[ fix #2985 ] del champ_linked_dropdown in feature
2018-12-10 16:47:22 +01:00
simon lehericey
5a87fad02e
[ fix #3154 ] order export
2018-12-10 16:41:37 +01:00
Pierre de La Morinerie
30774aa189
api_geo: cache requests for one day
...
This should make the 500 errors that we get in production less frequent.
NB: Unfortunately we can't write a spec for the caching behavior, as the
VCR mocks are never cached.
2018-12-10 11:41:07 +01:00
Pierre de La Morinerie
a0ae1afb45
typhoeus: add a cache store for successful requests
2018-12-10 11:41:07 +01:00
gregoirenovel
3b0562949c
Ask API Entreprise for insee v3
2018-12-10 10:49:56 +01:00
gregoirenovel
31250b4642
Make more ApiEntreprise::API methods private
2018-12-10 10:48:57 +01:00
pedong
f70f276ae9
[ fix #2813 ] set lien_notice nil when clone a procedure
2018-12-06 21:28:08 +01:00
Chaïb Martinez
80133601c7
Add Matomo tracking code for logged usagers
2018-12-06 19:44:50 +01:00
simon lehericey
db6c86b242
DossierController: user can destroy pjs
2018-12-06 10:45:10 +01:00
Frederic Merizen
4699e515ed
[ Fix #2999 ] Send gestionnaire back to what they were doing after email verification
2018-12-06 10:03:21 +01:00
Paul Chavard
ee93b4e33d
Revert legacy carte API to parsed json
2018-12-05 18:19:15 +01:00
Paul Chavard
35494df78e
Procedure export dossiers with champs siret
2018-12-05 17:09:39 +01:00
Pierre de La Morinerie
e206f3d4d4
gestionnaire: display draft procedures in the list
...
Fix #3088
2018-12-05 15:38:20 +01:00
Paul Chavard
a08f170dbd
Assign users and gestionnaires to commentaires
...
fix #2052
2018-12-05 13:40:57 +01:00
Paul Chavard
2f2aa580f8
Update activestorage.js
2018-12-04 11:37:00 +01:00
Paul Chavard
c492e1cd88
Update webpacker (babel7)
2018-12-04 11:37:00 +01:00
Paul Chavard
f2f8770bb5
Fix wording on services page
2018-12-04 10:55:15 +01:00
pedong
1532d287ae
[ fix #3026 ] change champ date for archivage auto
2018-12-03 13:45:40 +01:00
pedong
c14f9900d6
[ fix #2969 ] use JS replace semicolon by comma in the list email
2018-12-03 12:59:40 +01:00
Paul Chavard
e873b6a9c4
Expose selection utilisateur size on champ carte
2018-12-03 12:49:03 +01:00
Paul Chavard
d77a5c9f15
More tests and fixes on carte champ
2018-11-30 13:28:30 +01:00
Paul Chavard
097a15d624
Test and fix all possible cases of champ carte serialization
2018-11-30 12:02:27 +01:00
Paul Chavard
35d2bc36fc
cleanup selection_utilisateur geo_json
2018-11-29 17:10:14 +01:00
Paul Chavard
ca147969ab
Fix number champs validation
2018-11-29 15:12:31 +01:00
Paul Chavard
8d22275742
Make type_de_champ API ids stable
2018-11-29 11:41:13 +01:00
Paul Chavard
1883c57c87
Add stable ids to types_de_champ after every update
2018-11-29 11:41:13 +01:00
Paul Chavard
c18796d02a
Fix geojson exposed on legacy carto API
2018-11-29 08:43:51 +01:00
Paul Chavard
9b39934e8b
Destroy dossier_operation_logs when dossier is destroyed
2018-11-28 17:06:54 +01:00
Paul Chavard
b9af07b845
Add admin support contact form
2018-11-28 16:50:37 +01:00
gregoirenovel
5053d4a7d9
Change the admin landing tagline
2018-11-28 16:41:56 +01:00
gregoirenovel
6a39e0e831
Improve the admin landing page
2018-11-28 16:41:56 +01:00
gregoirenovel
684314c117
Fix a typo
2018-11-28 16:41:56 +01:00
Mathieu Magnin
b51bf759b1
[ Fix #3081 ] If a dossier is destroyed, then destroy the attestation
2018-11-28 16:33:12 +01:00
Mathieu Magnin
fc5f698207
Fog was recently updated, NotFound Module changed
2018-11-28 16:15:33 +01:00
Paul Chavard
575a437f97
Remove carto from admin/procedure controller
2018-11-27 16:11:25 +01:00
Paul Chavard
c6ef30f3e1
Remove unused carto from instructeur interface
2018-11-27 16:11:25 +01:00
Paul Chavard
9ff65efea8
Remove deprecated carto from dossiers controller
2018-11-27 16:11:25 +01:00
Paul Chavard
d988638c58
Simplify API carte serializer
2018-11-27 16:11:25 +01:00
Paul Chavard
36f6f54337
Remove unused carto models
2018-11-27 16:11:25 +01:00
Paul Chavard
5632929d3d
Remove old caro editor
2018-11-27 16:11:25 +01:00
Paul Chavard
37a7e26fc3
Remove unused users/carte_controller
2018-11-27 16:11:25 +01:00
Pierre de La Morinerie
ea8bc0c961
mailers: improve notification layout
2018-11-27 15:51:26 +01:00
Pierre de La Morinerie
3702b0967d
mailers: ensure new_answer link is an actual a
element
2018-11-27 15:42:09 +01:00
Mathieu Magnin
91115ea847
[Fix sentry-26] if file does not exist, filename should be nil
2018-11-27 14:10:43 +01:00
Paul Chavard
0f0ca2ec65
Lod dossier operations
2018-11-27 12:49:40 +01:00
Paul Chavard
85e3eb04f4
Add DossierOperationLog model
2018-11-27 12:49:40 +01:00
Paul Chavard
98d388b64d
Use state change methods on dossier in dossier auto archive job
2018-11-27 12:49:40 +01:00
Paul Chavard
b5b6832be8
Use state change methods on dossier in dossier auto recieve job
2018-11-27 12:49:40 +01:00
Paul Chavard
a079eaea5c
Add procedure gestionnaire_for_cron_job method
2018-11-27 12:49:40 +01:00
Paul Chavard
15b1499e5d
Use state change methods on dossier in dossier controller
2018-11-27 12:49:40 +01:00
Paul Chavard
9843666bdc
Implement state change methods on dossier
2018-11-27 12:49:40 +01:00
Paul Chavard
febf625dd9
Make difference between error and empty geo json
2018-11-27 12:36:10 +01:00
Paul Chavard
f2e7feec1d
Do not send error json to backend - it doesn’t need it and it creates bad data
2018-11-27 11:45:24 +01:00
Mathieu Magnin
718a30639f
[ Fix #2929 ] Improve readability of invitation for avis
2018-11-23 13:18:36 +01:00
pedong
0d02f5896e
[ Fix #1339 ] properly display avis confidentiality to experts
2018-11-22 18:38:31 +01:00
Frederic Merizen
ad991a2fe5
Show user on dossier page in manager
2018-11-22 15:27:01 +01:00
gregoirenovel
251bd635c2
Prepare for champ_id deletion
2018-11-22 12:27:48 +01:00
gregoirenovel
e8c24c27e5
[ Fix #110 ] Remove any reference left to facades
2018-11-22 11:25:55 +01:00
gregoirenovel
55143b94fc
[ Fix #1698 ] Show the footer on the “Merci” page
2018-11-22 10:04:41 +01:00
gregoirenovel
dc89c7f530
[ Fix #3027 ] Redirect to the demarches index after a demarche deletion
2018-11-22 02:06:48 +01:00
gregoirenovel
d0ec53a494
Move accessibilite to the root controller
2018-11-22 02:00:54 +01:00
gregoirenovel
82d764e340
Move tour_de_france to the root controller
2018-11-22 02:00:54 +01:00
gregoirenovel
dffd132564
Remove a useless file
2018-11-22 01:51:55 +01:00
gregoirenovel
5b24d116d9
[ Fix #324 ] Convert the last text email to html
2018-11-22 01:38:21 +01:00
gregoirenovel
5c5175d37c
[ Fix #463 ] Use l instead of I18n.l in views
2018-11-22 01:33:10 +01:00
Chaïb Martinez
0e8d235800
Add some params to track forms submissions
2018-11-21 18:25:47 +01:00
Mathieu Magnin
3ce9dd39af
[ Fix #3008 ] Soft delete demarche button in manager
2018-11-21 14:29:42 +01:00
Mathieu Magnin
5c2fe50319
Fix width in manager procedure detail
2018-11-21 14:24:09 +01:00
Mathieu Magnin
7c1768e5bb
[ Fix #3016 ] Do not crash if PJ has no extension
2018-11-21 14:15:45 +01:00
Paul Chavard
c99ef811b6
Do not save error json in database
2018-11-21 13:03:01 +01:00
Paul Chavard
49c872fb97
Fail fast if passed champ_id is invalid
2018-11-21 13:03:01 +01:00
Pierre de La Morinerie
38b5c77ad3
mailers: use notification layout for 'new answer' email
...
Fix #2224
2018-11-20 14:46:31 +01:00
Pierre de La Morinerie
a5f9be00e0
mailers: add preview URL to all previewable mailers
2018-11-20 14:46:31 +01:00
Pierre de La Morinerie
e5303fd986
mailers: streamline the NotificationMailer
...
Notifications are now only for demarche-templated emails.
2018-11-20 14:46:31 +01:00
Paul Chavard
7ba9624a3f
Fix instructeurs list filter
...
fix #3002
2018-11-20 14:27:32 +01:00
Paul Chavard
d43068ace5
Disable carto for new procedures
2018-11-20 12:14:10 +01:00
Paul Chavard
e374a5c726
Refactor ChampSerializer
2018-11-20 10:53:14 +01:00
Paul Chavard
0b017580c5
Expose migrated legacy carto champs on api
2018-11-20 10:53:14 +01:00
Paul Chavard
fe630847e9
Refactor legacy carto serializer
2018-11-20 10:53:14 +01:00
Paul Chavard
31099b782f
Remove dead code
2018-11-20 10:53:14 +01:00
Paul Chavard
d92364b90b
Add user_geo_area do champ carte
2018-11-20 10:53:14 +01:00
Paul Chavard
971a08c92a
Add expose legacy carto api flag
2018-11-20 10:53:14 +01:00
Paul Chavard
18815e88a3
Rename champ.zones to champ.geo_json
2018-11-20 10:53:14 +01:00
Paul Chavard
2462e42b53
Stop using legacy api carto after migration
2018-11-20 10:53:14 +01:00
Frederic Merizen
101e8e2588
[ #2999 ] Rediriger vers la bonne page apres login
...
(ne corrige pas le cas ou l'utilisateur est passe par le mail de confirmation)
2018-11-16 15:44:20 +01:00
Frederic Merizen
238c0c707b
[ #2180 ] Bump Carrierwave
2018-11-16 11:11:39 +01:00
pengfei
0593299def
tronquer uniquement label et mettre close-icon avant le text
2018-11-15 15:10:41 +01:00
pengfei
89daaedbe4
[ fix #2719 ] tronquer les textes dans le filtre, max=50
2018-11-15 15:10:41 +01:00
Paul Chavard
2eb61bd6ed
Move dossier invites handler to invites controller
2018-11-14 15:16:49 +01:00
Pierre de La Morinerie
83031b5cdd
procedure: compute the usual instruction time only for the last month
2018-11-13 17:23:31 +01:00
Pierre de La Morinerie
b02d50dac8
manager: improve code to hide production features
2018-11-13 16:38:56 +01:00
simon lehericey
fb76197404
SessionController: flipflop trusted device
2018-11-13 10:41:45 +01:00
simon lehericey
36621bffeb
FlipFlop: enable for gestionnaire
2018-11-13 10:41:45 +01:00
simon lehericey
457bc13c75
SessionController: do not display 'Connecté' when a login_link is required
2018-11-13 10:41:45 +01:00
simon lehericey
87967568b7
SessionController: if a admin is login in, redirect to admin page
2018-11-13 10:41:45 +01:00
simon lehericey
0d8d2de5a6
Session: add trusted_device cookie
2018-11-13 10:41:45 +01:00
simon lehericey
5690599289
Session: send a mail to confirm gestionnaire login
2018-11-13 10:41:45 +01:00
simon lehericey
2613d05a4f
An admin has always a gestionnaire role
2018-11-13 10:41:45 +01:00
Pierre de La Morinerie
7a7093503a
dossier: avoid the estimated duration to dangle on a new line
2018-11-12 10:22:21 +01:00
Pierre de La Morinerie
7635aede98
dossier: improve wording of estimated time
...
Ref #2970
2018-11-12 10:21:57 +01:00
Pierre de La Morinerie
e59bec51ef
procedure: use 90th percentile to estimate the completion delay
2018-11-08 18:29:17 +01:00
Pierre de La Morinerie
5c921182ea
procedure: rename mean_instruction_time
to usual_instruction_time
...
Ref #2970
2018-11-08 17:20:06 +01:00
Pierre de La Morinerie
c7ac43cfe7
confirmation: add a dedicated page with confirmation instructions
...
Fix #2586
2018-11-08 16:20:05 +01:00
Pierre de La Morinerie
c927e6651d
footer: fix extra horizontal pixels being added to the page
2018-11-08 16:20:05 +01:00
Paul Chavard
33c6ddc452
Remove dead code related to dossier state
2018-11-08 14:56:45 +01:00
Paul Chavard
eede94a59f
Use dossier_legacy_state helper
2018-11-08 14:56:45 +01:00
Paul Chavard
0fe59a7c65
Add dossier_legacy_state helper
2018-11-08 14:56:45 +01:00
Paul Chavard
a524c72add
Use dossier_display_state helper
2018-11-08 14:56:45 +01:00
Paul Chavard
f09a7a01c8
Add dossier_display_state helper
2018-11-08 14:56:45 +01:00
Paul Chavard
624b442cd7
Remove “Outil de changement d'état d'un dossier”
2018-11-08 14:56:45 +01:00
Paul Chavard
6706b9004f
Fix includes on api queries
2018-11-08 14:45:09 +01:00
Paul Chavard
80189def98
Remove n+1 calls from API queries
2018-11-08 14:45:09 +01:00
Chaïb Martinez
8d02b4dbdf
Add Matomo Suivi page
2018-11-08 14:25:37 +01:00
Chaïb Martinez
3187b5b05a
Add Matomo tracking code
2018-11-07 17:34:10 +01:00
Paul Chavard
a7de2e68ed
Refactor types_de_champ views to use service instead of facade
2018-11-07 11:36:10 +01:00
Paul Chavard
1c87eda6e1
Move types_de_champ helper to service
2018-11-07 11:36:10 +01:00
Paul Chavard
2d647f9fa7
Move types_de_champ facade to service
2018-11-07 11:36:10 +01:00
Paul Chavard
9acb1950a4
Remove dossier facade
2018-11-07 11:36:10 +01:00
Mathieu Magnin
62c01706df
[ Fix #2867 ] fix default sort for administrate
2018-11-06 19:22:01 +01:00
Pierre de La Morinerie
b0541fba79
users: sign-in after confirming an account within a short time
2018-11-06 18:24:34 +01:00
simon lehericey
9d406770a8
[ fix #2956 ] YesNo: fixing to_s
2018-11-06 16:59:47 +01:00
Frederic Merizen
d564eb1225
[ #835 ] Report failed and successful invitations
2018-11-06 16:40:42 +01:00
Frederic Merizen
8cf235f2fd
[ #835 ] Enable html5 validation of multiple mails
2018-11-06 15:44:43 +01:00
Frederic Merizen
c7358a8f53
[ Fix #835 ] Enable asking for multiple avis at the same time
2018-11-06 15:44:43 +01:00
Frederic Merizen
31ca0552ab
[ #835 ] Extract avis creation into concern
2018-11-06 15:44:43 +01:00
gregoirenovel
9833564863
[ #835 ] Add a missing validation to avis
2018-11-06 15:44:43 +01:00
gregoirenovel
19a6391dc8
[ #835 ] Use the create_avis_params method instead of the params hash
2018-11-06 15:44:43 +01:00
Paul Chavard
7a60f1b549
Enable champ carte for everyone
2018-11-06 14:26:32 +01:00
Paul Chavard
9ac85295c6
Do not serialize properties on carte champs
2018-11-06 14:26:32 +01:00
Paul Chavard
ca09aa52a3
Put IntegerNumberChamp behind a flag
2018-11-06 11:28:44 +01:00
Paul Chavard
074050a91a
Add IntegerNumberChamp
2018-11-06 11:28:44 +01:00
Paul Chavard
45bfb2fd47
Add DecimalNumberChamp
2018-11-06 11:28:44 +01:00
Paul Chavard
cfd1950e17
Migrate commencer to new_user
2018-11-01 13:10:41 +01:00
Mathieu Magnin
917b271a7f
[ Fix #2697 ] When file does not exist on openstack do not crash
2018-10-31 15:22:45 +01:00
Paul Chavard
8ff45c7978
Fix commentaire file_url generator
2018-10-31 12:53:14 +01:00
simon lehericey
2f2f1e1321
Let the API return times in UTC for now
2018-10-31 11:43:48 +01:00
Paul Chavard
9b40ef2a77
Expose commentaire attachement on api
...
fix #2817
2018-10-30 16:22:51 +01:00
Paul Chavard
e391fe6bec
Clarify procedure path availability code
2018-10-30 15:59:37 +01:00
Paul Chavard
6782643426
Fix js error on path check before publish
2018-10-30 15:59:37 +01:00
Paul Chavard
6e4d111e09
Refactor and fix procedure update error handling
2018-10-30 15:59:37 +01:00
Mathieu Magnin
e90c541ab4
[ Fix #2276 ] When service creation fails form is not cleared
2018-10-30 15:49:18 +01:00
gregoirenovel
6bc1a8cb71
Remove the confirmation button from the manager
2018-10-30 15:24:30 +01:00
Paul Chavard
fcdc0114fd
Add id to geo areas
2018-10-30 12:16:09 +01:00
Paul Chavard
725e88a89a
Rename :procedure_path -> :path
2018-10-30 12:01:45 +01:00
Paul Chavard
f1fd1b38ec
Refactor procedures_controller
2018-10-30 12:01:45 +01:00
Paul Chavard
b42095363e
Refactor procedure model
2018-10-30 12:01:45 +01:00
Paul Chavard
641831864b
Refactor commencer actions
2018-10-30 12:01:45 +01:00
Paul Chavard
78dc582588
Remove ProcedurePath
2018-10-30 12:01:45 +01:00
Frederic Merizen
06a667f353
[ Fix #2815 ] Ne pas parler de plusieur PJs quand il n'y en a qu'une
2018-10-30 11:19:17 +01:00
Frederic Merizen
f6207bee26
Do not take time of day into account when searching dates
2018-10-26 17:53:26 +02:00
simon lehericey
a06f872a4b
ProcedurePresentation: rescue big int as a datetime value
2018-10-26 14:39:17 +02:00
simon lehericey
63db387984
ProcedurePresentation: display dossier date in d/m/Y
2018-10-26 10:10:20 +00:00
simon lehericey
3685c65fb7
[ fix #2905 ] fix DATE_TRUNC usage
...
DATE_TRUNC is played on the db where the timestamp are stored in utc.
So if a user search for 12/12/2012 in Paris timezone and that we truncate it should do something similar to :
SELECT DATE_TRUNC('day', foo.timezone) from (SELECT timestamp '2012-12-12 00:00:00' AT TIME ZONE 'Europe/Paris') as foo;
=> 2012-12-11
To avoid such pb, I suggest avoiding DATE_TRUNC when exact results are needed
2018-10-26 10:10:20 +00:00
simon lehericey
3dad743d56
remove localtime as it uses server timezone
2018-10-26 10:10:20 +00:00
simon lehericey
ee0a6b1913
Time.at => Time.zone.at
2018-10-26 10:10:20 +00:00
simon lehericey
e684cec516
DateTime.new => Time.zone.local
2018-10-26 10:10:20 +00:00
simon lehericey
4b25d16f5a
Time.zone.parse(_, options) => Time.zone.strptime(_, options)
2018-10-26 10:10:20 +00:00
simon lehericey
f620e4aee2
DateTime.parse => Time.zone.parse
2018-10-26 10:10:20 +00:00
simon lehericey
2238e5bd9f
Time.now => Time.zone.now
2018-10-26 10:10:20 +00:00
simon lehericey
13ffa61435
DateTime.now => Time.zone.now
2018-10-26 10:10:20 +00:00
Paul Chavard
fba0fad22e
Show warning on dossier pages when procedure is brouillon
2018-10-25 18:05:47 +02:00
gregoirenovel
fed1f05456
Add CADRE_JURIDIQUE_URL
2018-10-25 14:45:13 +02:00
gregoirenovel
394524b397
Improve the webhook description
2018-10-25 14:45:13 +02:00
Frederic Merizen
64cb231b01
[ #2675 ] Fix notification sort order
2018-10-24 17:10:30 +02:00
Frederic Merizen
02f4ef215a
[ #2675 ] Make dossiers_id_with_notifications public
2018-10-24 17:10:30 +02:00
Frederic Merizen
dfdcfc62e2
[ #2675 ] Make dossiers_id_with_notifications self-contained
2018-10-24 17:10:30 +02:00
Paul Chavard
72db9084a8
Fix old carto exception when no selection is passed
2018-10-24 13:16:50 +02:00
Paul Chavard
c0344fc30e
Fix procedures with multiple dossier link champs
2018-10-24 10:44:28 +02:00
Paul Chavard
fd490efb59
GeoArea on API expose fields per source type
2018-10-23 18:13:44 +02:00
Paul Chavard
5a8a4b393f
Add RPG carte source
2018-10-23 18:13:44 +02:00
Paul Chavard
7ffbe417f9
Add ApiGeo RPG adapter
2018-10-23 18:13:44 +02:00
Paul Chavard
ed46e2c3be
Use Typhoeus in ApiGeo adapter
2018-10-23 18:13:44 +02:00
Frederic Merizen
51954a6d85
[ #2604 ] Warn that we are destroying an invalid ProcedurePresentation
2018-10-23 16:41:51 +02:00
Frederic Merizen
14fd60bee7
[ Fix #2604 ] Handle ProcedurePresentations that have gone invalid
2018-10-23 16:41:51 +02:00
Frederic Merizen
7baa239095
[ #2604 ] Introduce errors when retrieving ProcedurePresentation
2018-10-23 16:34:38 +02:00
Frederic Merizen
84cac7a5c2
[ #2604 ] Remove unneeded self in AssignTo
2018-10-23 16:34:35 +02:00
Frederic Merizen
dd80cc280a
[ #2604 ] Extract method in ProceduresController
2018-10-23 16:34:19 +02:00
Chaïb Martinez
535fe6d13a
Link directly to the instructeur tutorial in the instructeur email
2018-10-23 11:23:24 +02:00
Chaïb Martinez
eb7ef0ff82
Link to our contact form
2018-10-23 11:23:24 +02:00
Chaïb Martinez
796ff972e6
Add a webinaire registration CTA at the end of the admin email
2018-10-23 11:23:24 +02:00
Chaïb Martinez
e8dd6b00bf
Link to the admin tutorial instead of the doc
2018-10-23 11:23:24 +02:00
Chaïb Martinez
e785c91d92
Make the phone number a link
2018-10-23 11:23:24 +02:00
gregoirenovel
4716afb1c2
Remove one “invite” occurence (also written after this occurence)
2018-10-23 11:23:24 +02:00
Chaïb Martinez
48eada980e
Make the account activation link more visible in the admin email
2018-10-23 11:23:24 +02:00
Paul Chavard
c8c75fc254
Better handle empty user selection layers
2018-10-23 09:35:25 +02:00
Paul Chavard
4249f8ae25
Add carte type de champ options
2018-10-23 09:35:25 +02:00
Paul Chavard
b40abaa133
Display carte champ value
2018-10-23 09:35:25 +02:00
Paul Chavard
4a097900d2
Implement carte champ editor
2018-10-23 09:35:25 +02:00
Paul Chavard
99e1a20d98
Add champ carte endpoint
2018-10-23 09:35:25 +02:00
Paul Chavard
383a14ff06
Add geo data helper
2018-10-23 09:35:25 +02:00
Paul Chavard
a541f1fcee
Add type options on carte champ
2018-10-23 09:35:25 +02:00
Paul Chavard
f28cfdc779
Rename shared folder carto to carte
2018-10-23 09:35:25 +02:00
Paul Chavard
8d9f6573da
Rename shared module carto to carte
2018-10-23 09:35:25 +02:00
Paul Chavard
febef735b8
Refactor carto to share more code
2018-10-23 09:35:25 +02:00
Paul Chavard
53a261f424
Don’t rely on a decorator for ProcedureSerializer#geographic_information
2018-10-22 23:28:16 +02:00
Paul Chavard
2e7a4a4098
Add state to ProcedureSerializer
2018-10-22 23:28:16 +02:00
Paul Chavard
4ebc0b7f4c
Refactor link attribute generation on ProcedureSerializer
2018-10-22 23:28:16 +02:00
Paul Chavard
7cf225d443
Add Carte champs support to the API
2018-10-22 23:28:00 +02:00
Paul Chavard
17418edb54
Add SIRET champs support to the API
2018-10-22 23:28:00 +02:00
Paul Chavard
df73e442e9
Explicit foreign_key on CarteChamp
2018-10-22 23:28:00 +02:00
Paul Chavard
e5d8d351ba
Fix sentry errors in old carto module
2018-10-22 15:40:19 +02:00
Chaïb Martinez
f47aab8ce6
Improve the help CTA message for instructeurs
2018-10-18 18:38:04 +02:00
gregoirenovel
0ae8c1d719
[ Fix #2880 ] Do not show our phone number to instructeurs
2018-10-18 18:38:04 +02:00
Chaïb Martinez
e0ea605460
[ Fix #2877 ] Modification du titre contact dans le menu instructeur
2018-10-18 18:27:36 +02:00
Frederic Merizen
4b2a06acb5
[ #2874 ] Show archived / followed status of dossier in search result
2018-10-18 16:05:19 +02:00
Frederic Merizen
447e54fe45
[ Fix #2874 ] Allow archived dossiers to appear in search results
2018-10-18 16:05:19 +02:00
Pierre de La Morinerie
65bdfacd8c
dossier: remove old SIRET code, controllers and views
2018-10-18 15:46:00 +02:00
Pierre de La Morinerie
da5c3c3007
dossier: remove unused pieces_justificatives partial
2018-10-18 15:46:00 +02:00
Chaïb Martinez
a8b40c4a18
Modification du texte dans le header admin. Ajout du tel et de l'email de de support
2018-10-18 15:31:59 +02:00
gregoirenovel
7eeaac5d81
Hide the mean verification/instruction times for a special demarche
...
It is not relevant for this demarche, and we’re
doing them a favor
2018-10-18 13:10:55 +02:00
Chaïb Martinez
0090ed2e1f
Modification de texte pour le cadre juridique, afin de le rendre plus clair et simple a remplir.
2018-10-18 12:09:16 +02:00
simon lehericey
fd9bdbf31d
StatsController: avoid doing useless queries
2018-10-18 11:50:43 +02:00
Frederic Merizen
a0ab2bae04
[ Fix #2861 ] Coquille
2018-10-17 19:50:03 +02:00
gregoirenovel
3a973999a3
[Ref #2738 ] Hide exercices if not gestionnaire
2018-10-17 15:07:29 +02:00
gregoirenovel
da4037b2fd
Add a blank line
2018-10-17 12:24:00 +02:00
gregoirenovel
f9d38762ea
[Ref #2738 ] Remove exercices from a soon-to-be deleted template
2018-10-17 12:24:00 +02:00
Frederic Merizen
a2bd0582b9
[ Fix #2741 ] Filter / sort by en_construction_at
2018-10-17 12:16:51 +02:00
Pierre de La Morinerie
93f1a53dfc
dossier: add page for etablissement
2018-10-17 10:37:06 +02:00
Pierre de La Morinerie
310f4b92d1
dossier: add action to save SIRET number
2018-10-17 10:37:06 +02:00
Pierre de La Morinerie
54ba0f8e50
dossier: add new page for SIRET identification
2018-10-17 10:37:06 +02:00
Pierre de La Morinerie
1cf7568bb4
dossier: extract demarche overview to a partial
2018-10-17 10:37:06 +02:00
gregoirenovel
f8b1bc96bb
Hide other delete links when the demarche has not been persisted
2018-10-17 09:32:27 +02:00
gregoirenovel
2c44754981
[ Fix #2847 ] Hide the delete logo link if demarche is not persisted
2018-10-17 09:32:27 +02:00
simon lehericey
aff085bb6b
StatsController: avoid division by nil
2018-10-16 18:02:00 +02:00
gregoirenovel
2ab38955b7
Bump default gems
...
- administrate (0.10.0 → 0.11.0)
- groupdate (4.0.1 → 4.0.2)
- spreadsheet_architect (3.1.0 → 3.2.0)
- webpacker (4.0.0.pre.pre.2 → 4.0.0.pre.3)
2018-10-16 15:33:23 +02:00
Paul Chavard
93ba94a9e6
Add carte champ and geo area models
2018-10-16 14:01:12 +03:00
Frederic Merizen
bbdb446dfd
[ #2772 ] For unmigrated dossiers, make read-only access possible
...
and notify usager
2018-10-16 10:40:04 +02:00
Frederic Merizen
1e4ccda14c
[ #2772 ] Notify users that their dossier was restored
2018-10-16 10:40:04 +02:00
gregoirenovel
a8af27105d
Remove ssl_verifypeer option in ApiEntreprise::API.call
...
SSL seems OK for https://entreprise.api.gouv.fr/
2018-10-16 10:23:30 +02:00
gregoirenovel
5a326db650
Simplify ApiCarto::API.call
...
SSL seems OK for https://apicarto.sgmap.fr
2018-10-16 10:16:44 +02:00
gregoirenovel
99894961a5
AddressController#get → #suggestions
2018-10-16 09:38:53 +02:00
gregoirenovel
6658b466cb
address/get → address/suggestions
2018-10-16 09:38:53 +02:00
gregoirenovel
43f9fc93de
AddressController#get_address_point → #geocode
2018-10-16 09:38:53 +02:00
gregoirenovel
f01057267b
address/address_point → address/geocode
2018-10-16 09:38:53 +02:00
gregoirenovel
e667cad617
ban → address
2018-10-16 09:38:53 +02:00
gregoirenovel
79ebdc3443
Ban::SearchController → AddressController
2018-10-16 09:38:53 +02:00
gregoirenovel
f66f0f9668
Remove two useless initialize methods
2018-10-16 09:33:16 +02:00
gregoirenovel
22088b167d
Remove ApiAdresse::Geocodeur
2018-10-16 09:33:16 +02:00
gregoirenovel
d68aca545a
Refactor ApiAddresse::PointAdapter
2018-10-16 09:33:16 +02:00
gregoirenovel
145880555e
ApiAdresse::PointAdapter#point → #geocode
2018-10-16 09:33:16 +02:00
gregoirenovel
af716fa3c6
ApiAdresse::PointRetriever → ApiAdresse::PointAdapter
2018-10-16 09:33:16 +02:00
gregoirenovel
81d2b27160
Refactor ApiAdresse::AddressAdapter
2018-10-16 09:33:16 +02:00
gregoirenovel
7af41b35a2
ApiAdresse::AddressAdapter#list → #get_suggestions
2018-10-16 09:33:16 +02:00
gregoirenovel
517c0ad3fc
ApiAdresse::AddressRetriever → ApiAdresse::AddressAdapter
2018-10-16 09:33:16 +02:00
gregoirenovel
32b27ba111
Add some spacing
2018-10-15 23:31:23 +02:00
gregoirenovel
76cf9ab746
ApiGeo::Driver → ApiGeo::API
2018-10-15 23:31:23 +02:00
gregoirenovel
c654122e90
Unify scoping in app/lib
2018-10-15 23:31:23 +02:00
gregoirenovel
831cd56b95
Remove comments in ApiAdresse
2018-10-15 23:31:23 +02:00
gregoirenovel
8b4ba42f15
Simplify ApiAdresse
2018-10-15 23:31:23 +02:00
gregoirenovel
a841a517df
ApiAdresse::Driver → ApiAdresse::API
2018-10-15 23:31:23 +02:00
gregoirenovel
5db4de6c53
QuartiersPrioritaires::Adapter → QuartiersPrioritairesAdapter
2018-10-15 23:31:23 +02:00
gregoirenovel
918a91a985
ApiCarto::Cadastre::Adapter → ApiCarto::CadastreAdapter
2018-10-15 23:31:23 +02:00
simon lehericey
45d63df5ee
Autocomplete.js: debounce input
2018-10-15 21:41:42 +02:00
gregoirenovel
6be26af7db
Use parentheses
2018-10-15 20:55:46 +02:00
gregoirenovel
5e9e913dce
Carto::Geocodeur → ApiAdresse::Geocodeur
2018-10-15 20:55:46 +02:00
gregoirenovel
d726fbf698
CARTO::SGMAP → ApiCarto
2018-10-15 20:55:46 +02:00
gregoirenovel
442b4a241b
Make API_ADRRESSE_URL canonical
2018-10-15 20:55:46 +02:00
gregoirenovel
a7a6898ce3
Constantize the API Adresse URL
2018-10-15 20:55:46 +02:00
gregoirenovel
ca8af0e904
Use parentheses
2018-10-15 20:55:46 +02:00
gregoirenovel
dac2019675
Carto::Bano → ApiAdresse
2018-10-15 20:55:46 +02:00
gregoirenovel
d749d20bb3
api_url → url
2018-10-15 20:55:46 +02:00
gregoirenovel
a7019719c2
Use parentheses
2018-10-15 20:55:46 +02:00
gregoirenovel
4903a6b189
Carto::GeoAPI → ApiGeo
2018-10-15 20:55:46 +02:00
gregoirenovel
34ac68b27f
2018-10-15 17:12:34 +02:00
gregoirenovel
ac2cc1e5f4
Add a blank state message to carto
2018-10-15 17:12:34 +02:00
gregoirenovel
b162c68844
Use Hash#slice
2018-10-15 17:12:34 +02:00
gregoirenovel
889b9b9342
Make Cadastre::Adapter#to_params more like QuartiersPrioritaires::Adapter
2018-10-15 16:45:30 +02:00
gregoirenovel
22beb41240
Unify #generate_qp with #generate_cadastre
2018-10-15 16:45:30 +02:00
gregoirenovel
a18af4e616
Simplify CARTO::SGMAP::API.call
2018-10-15 16:45:30 +02:00
gregoirenovel
5df4e3305e
Simplify CARTO::SGMAP::API
2018-10-15 16:45:30 +02:00
gregoirenovel
2ed4c1da1c
Use round brackets
2018-10-15 16:45:30 +02:00
gregoirenovel
0196309822
Remove a useless default in CARTO::SGMAP::API.call
2018-10-15 16:16:16 +02:00
gregoirenovel
1f0af303f3
Remove the unused ModuleApiCarto#classes method
2018-10-15 16:16:16 +02:00
simon lehericey
3d51b7f4a3
so crazy right now
2018-10-15 14:55:07 +02:00
simon lehericey
21e3dc1498
Let the stats be great again
2018-10-15 14:55:07 +02:00
simon lehericey
17b100b4e9
ControllerStat: renaming
2018-10-15 14:55:07 +02:00
Paul Chavard
9a4975a2dd
Remove dead carto code
2018-10-14 12:34:44 +02:00
Paul Chavard
55b955f838
carto: refactor carto editor using new primitives
2018-10-14 12:34:44 +02:00
Paul Chavard
ad2c589e4d
carto: extract draw method from old design carto
2018-10-14 12:34:44 +02:00
Paul Chavard
25e71634e7
carto: extract polygonArea helper
2018-10-14 12:34:44 +02:00
Paul Chavard
53c6003d27
carto: use exported polygon styles
2018-10-14 12:34:44 +02:00
Paul Chavard
f321e9df3f
carto: use initMap in new design carto
2018-10-14 12:34:44 +02:00
Paul Chavard
485aabf295
carto: export polygon styles
2018-10-14 12:34:44 +02:00
Paul Chavard
e1b068d67c
carto: add initMap method
2018-10-14 12:34:44 +02:00
Paul Chavard
561f9a8164
carto: add drawLayer method
2018-10-14 12:34:44 +02:00
Paul Chavard
6673467117
carto: add createLayer and removeLayer methods
2018-10-14 12:34:44 +02:00
Paul Chavard
c6a28d1444
Cleanup carto save
2018-10-14 12:34:44 +02:00
Paul Chavard
2bab056613
Cleanup carto css
2018-10-14 12:34:43 +02:00
Paul Chavard
dff4f2116a
Move geographical zones list to a partial
2018-10-14 12:34:43 +02:00
Paul Chavard
c63675461a
Add new carto init code
2018-10-14 12:34:43 +02:00
Paul Chavard
5a2a18d8f1
Remove previous carto init code
2018-10-14 12:34:43 +02:00
Paul Chavard
b5a3fc76fb
Remove legacy carto routes
2018-10-14 12:34:43 +02:00
Paul Chavard
59c1b24f3c
Change demarche modifee message
...
fix #2821
2018-10-13 11:06:31 +02:00
simon lehericey
888bbee097
[ fix #2818 ] DossierController: ensure save_draft is authorized
2018-10-12 12:14:49 +02:00
gregoirenovel
c56ea05f60
Show the service, not the organisation in Procedures list
2018-10-11 14:13:43 +02:00
gregoirenovel
56cfcd08d3
[ Fix #2692 ] Move the sign up CTA at the top of the sign in page
2018-10-11 12:22:47 +02:00
gregoirenovel
d78f4a8faf
[ #2692 ] Make the sign up button a primary button on the sign in page
2018-10-11 12:22:47 +02:00
Frederic Merizen
3dca3c7dee
[ Fix #1961 ] Check that sorted_ids works for individual
2018-10-11 12:13:03 +02:00
Frederic Merizen
abd066c6f4
[ #1961 ] filtered_ids for individual
2018-10-11 12:13:03 +02:00
Frederic Merizen
34da620b0f
[ #1961 ] get_value for individual
2018-10-11 12:13:03 +02:00
Frederic Merizen
5d862ae92b
[ #1961 ] Add individual fields
2018-10-11 12:13:03 +02:00
Frederic Merizen
07b8838561
Remove dead code
...
Should have been removed as part of #2720 but was accidentally reintroduced
in #2770
2018-10-11 12:00:49 +02:00
Frederic Merizen
05c8c3f18b
[ Fix #2800 ] Handle empty cells
...
Evidently link_to handles nil differently when it receives it as a first
argument than when it is returned from a block argument
2018-10-10 20:32:03 +02:00
Frederic Merizen
577475f26e
[ Fix #2580 ] Filter by created_at / updated_at
2018-10-10 18:18:28 +02:00
Paul Chavard
136031bea4
Remove jQuery import from new design
2018-10-10 15:05:51 +02:00
Paul Chavard
b79e77687e
Refactor avis helpers
2018-10-10 15:05:51 +02:00
Paul Chavard
08d5e7d328
Refactor toggle chart helpers
2018-10-10 15:05:51 +02:00
Paul Chavard
9d5ffba068
Refactor state button helpers
2018-10-10 15:05:51 +02:00
Paul Chavard
3897d4abf4
Refactor messagerie helpers
2018-10-10 15:05:51 +02:00
Paul Chavard
d18b1c8ddc
Refactor form validation helpers
2018-10-10 14:55:28 +02:00
Paul Chavard
8c16eb4cd0
Use @utils instead of jQuery
2018-10-10 14:55:28 +02:00
Paul Chavard
c343893d00
Expose all utils function as @utils
2018-10-10 14:39:36 +02:00
gregoirenovel
c8f872c566
InviteUser → Invite
2018-10-10 12:07:10 +02:00
gregoirenovel
ed11852300
Delete the InviteGestionnaire model
2018-10-10 12:07:10 +02:00
gregoirenovel
46d02d3e2b
Remove a return
2018-10-10 10:38:57 +02:00
gregoirenovel
89dec3d363
Add a variable to ease code reading
2018-10-10 10:38:57 +02:00
gregoirenovel
4e2964aec3
Unify code in Users::Dossiers::InvitesController#show
2018-10-10 10:38:57 +02:00
gregoirenovel
662349c8bb
Remove InviteDossierFacades
2018-10-10 09:36:05 +02:00
Frederic Merizen
fac6922b98
[ #2750 ] Set might be overkill here
2018-10-10 09:07:57 +02:00
Frederic Merizen
667deae5cc
[ #2750 ] Sanity check procedure
2018-10-10 09:07:57 +02:00
Frederic Merizen
30ef6e6d95
[ #2750 ] No need to validate table and column
...
Because they are pre-validated by rails on the model
2018-10-10 09:07:57 +02:00
Frederic Merizen
58c0ec1bbd
[ #2750 ] Validate order on model update rather than on usage
2018-10-10 09:07:57 +02:00
Frederic Merizen
026c322fce
[ #2750 ] Make ProcedurePresentation checks private
2018-10-10 09:07:57 +02:00
Frederic Merizen
40a5ff0266
[ #2750 ] do parsing of displayed_fields inside ProcedurePresentation
...
rather than in the view
2018-10-10 09:07:57 +02:00
Frederic Merizen
f59984ea70
[ #2750 ] Remove redundant references to procedure
2018-10-10 09:07:57 +02:00
Frederic Merizen
462c818025
[ #2750 ] Move fields from DossierFieldService to ProcedurePresentation
2018-10-10 09:07:57 +02:00
Frederic Merizen
9fa7a6fd0e
[ #2750 ] Move get_value to ProcedurePresentation
2018-10-10 09:07:57 +02:00
Frederic Merizen
fc157c3e4c
[ #2750 ] Move sorted_ids to ProcedurePresentation
2018-10-10 09:07:57 +02:00
Frederic Merizen
2e9dafb4c3
[ #2750 ] Move filtered_ids to ProcedurePresentation
2018-10-10 09:07:57 +02:00
Frederic Merizen
0e9b40ccf6
[ #2750 ] Move fields from Procedure to ProcedurePresentation
2018-10-10 09:07:57 +02:00
Frederic Merizen
efcac5192a
[ #2750 ] Move fields_for_select to ProcedurePresentation
2018-10-10 09:07:57 +02:00
Frederic Merizen
c1f18a164d
Remove dead, buggy code
2018-10-10 05:51:17 +02:00
gregoirenovel
f3caa8ef7f
Remove apipie (and maruku)
2018-10-09 17:23:07 +02:00
gregoirenovel
a1bab24681
Change the link to the API documentation
2018-10-09 17:23:07 +02:00
gregoirenovel
98d348aab1
Remove the delete demarche feature for admins
2018-10-09 16:42:32 +02:00
Paul Chavard
bcbfc370b2
Add button in manager to transition démarche in brouillon state
...
fix #2565
2018-10-09 16:14:18 +02:00
Paul Chavard
cc96723475
Allow users to fill dossiers on démarches en brouillon
2018-10-09 15:05:08 +02:00
simon lehericey
2288303de9
[ fix #2777 ] DossiersSerializer: add state
2018-10-08 18:36:49 +02:00
simon lehericey
87e731bc75
Dossier: move state translation to model dossier
2018-10-08 17:55:20 +02:00
gregoirenovel
c5ee377a1a
Fix a date on the tour de france page
2018-10-08 14:34:01 +02:00
Paul Chavard
37d424d671
Refactor carto code
2018-10-05 09:55:41 +02:00
Paul Chavard
51127c324d
Move old carto code to webpacker
2018-10-05 09:55:41 +02:00
Paul Chavard
6ed4bb538c
Remove dead code
2018-10-05 09:55:41 +02:00
Paul Chavard
7898a33469
Format old javascript with prettier
2018-10-05 09:55:41 +02:00
Paul Chavard
179786380d
Use leaflet and freedraw from npm
2018-10-05 09:55:41 +02:00
Paul Chavard
eda3dd4215
Compile FranceConnect module with webpacker
2018-10-05 09:55:13 +02:00
Paul Chavard
9d19936f82
Move franceconnect kit to webpacker
2018-10-05 09:55:13 +02:00
Paul Chavard
ff405e1b2d
Stop using global function
2018-10-05 09:55:13 +02:00
gregoirenovel
b853402ef9
Add a blank state message in the avis tab
2018-10-05 00:01:54 +02:00
gregoirenovel
25cbd5e7af
[ Fix #2757 ] Do not show the avis form for dossiers that are terminés
2018-10-05 00:01:54 +02:00
gregoirenovel
fffbbb5d73
Extract the conditional in a partial to its caller
2018-10-05 00:01:54 +02:00
gregoirenovel
458e3e37f8
Rename .dossiers-table-empty to .blank-tab
2018-10-05 00:01:54 +02:00
gregoirenovel
db6706bd65
Remove an extra blank line
2018-10-05 00:01:54 +02:00
gregoirenovel
7fe3b43eab
Improve a comment in RNAAdapter
2018-10-04 21:03:49 +02:00
gregoirenovel
1ffd4a230b
Simplify RNAAdapter#process_params
...
Avoid catching an attribute only to remove it
a few lines later
2018-10-04 21:03:49 +02:00
gregoirenovel
b28607a3a6
Simplify an instruction in ExercicesAdapter#process_params
2018-10-04 21:03:49 +02:00
Paul Chavard
e3e83b6021
Allow link to any dossier
2018-10-04 19:53:10 +02:00
Frederic Merizen
33f29f35ab
Avoid recreating service too often
2018-10-04 18:09:39 +02:00
Frederic Merizen
eafd0e8348
Evite de cacher la whitelist trop longtemps
2018-10-04 18:09:39 +02:00
Paul Chavard
1302b68d91
Only reject api entreprise data if required fields are missing
2018-10-04 17:55:09 +02:00
gregoirenovel
36ce94195b
Remove france_connect delegation on User
2018-10-04 13:54:07 +02:00
gregoirenovel
14c8e02aca
[ Fixes #2597 ] Remove given_name and family_name delegation
2018-10-04 13:54:07 +02:00
gregoirenovel
12f0c99b5a
Remove FC fields from instructeur table customisation
2018-10-04 13:54:07 +02:00
gregoirenovel
5107b33af8
Remove FC fields from search
2018-10-04 13:54:07 +02:00
gregoirenovel
5f8e8caeb5
Stop auto copying the FC infos to the dossier identity
2018-10-04 13:54:07 +02:00
Paul Chavard
44511acfed
Do not reload page when instructeur change dossier state
...
fix #2425
2018-10-04 11:12:43 +02:00
Frederic Merizen
b36d153620
Fix missing sort columns
2018-10-03 17:09:49 +02:00
Chaïb Martinez
dc0dd8a479
Remove the details from the Publication tab
2018-10-03 16:03:43 +02:00
Chaïb Martinez
baca93dc38
Rename the Informations tab to Publication
2018-10-03 16:03:43 +02:00
Pierre de La Morinerie
7a23aaf62f
session: consistent wording between usagers and instructeurs
2018-10-03 15:10:02 +02:00
Pierre de La Morinerie
627df7a1f3
session: migrate the password pages to the new design
2018-10-03 15:10:02 +02:00
Pierre de La Morinerie
bfd106ba30
session: migrate the "token confirmation" page to the new design
2018-10-03 15:09:30 +02:00
Pierre de La Morinerie
e87264b402
stylesheets: add a devise-container class
2018-10-03 15:09:30 +02:00
gregoirenovel
c91a1cf474
Enable Style/SymbolArray
2018-10-03 12:15:48 +02:00
gregoirenovel
d9d4f6fe20
Enable Style/SymbolProc
2018-10-03 12:15:48 +02:00
gregoirenovel
7e4268db67
Enable Style/TrailingCommaInArguments
2018-10-03 12:03:21 +02:00
gregoirenovel
275bb64c1f
Enable Style/TrailingCommaInArrayLiteral
2018-10-03 12:03:21 +02:00
gregoirenovel
a171186dd8
Enable Style/TrailingCommaInHashLiteral
2018-10-03 12:03:21 +02:00
gregoirenovel
ed240cb4d3
Enable Style/UnneededInterpolation
2018-10-03 12:03:21 +02:00
gregoirenovel
6eeba14885
Enable Style/WordArray
2018-10-03 12:03:21 +02:00
gregoirenovel
d1439f8a52
Enable Style/YodaCondition
2018-10-03 12:00:17 +02:00
gregoirenovel
1f4ef0074f
Enable Style/ZeroLengthPredicate
2018-10-03 12:00:17 +02:00
Chaïb Martinez
e452fa8343
[ Fix #2432 ] Warn admins to always share a direct link to their demarche
2018-10-03 11:18:17 +02:00
Frederic Merizen
8bb08a1b8b
[ #2579 ] Validate columns on ProcedurePresentation model
2018-10-03 10:17:46 +02:00
Frederic Merizen
103f466cb8
[ Fix #2579 ] Protect get_value against method name injection
2018-10-03 10:17:46 +02:00
Frederic Merizen
1ac8840bc9
[ #2579 ] Protect against SQL injection on column and table in filtered_ids
2018-10-03 10:17:46 +02:00
Frederic Merizen
670edc3279
[ #2579 ] Sanitize order
2018-10-03 10:17:46 +02:00
Frederic Merizen
314e9354c1
[ #2579 ] Simplify sorted_ids
2018-10-03 10:17:46 +02:00
Frederic Merizen
3bb6fd2d47
[ #2579 ] Remove no-op
...
(sanitize_sql_for_order does not do anything when its argument is a string)
2018-10-03 10:17:46 +02:00
Frederic Merizen
b8f88ece5c
[ #2579 ] Fix injection SQL dans le filtrage instructeur
2018-10-03 10:17:46 +02:00
Paul Chavard
941c529b2c
Remove CGU checkbox
...
fix #2725
2018-10-03 08:59:02 +02:00
Mathieu Magnin
1dc2c30b24
Add mail templates to manager
2018-10-02 17:27:28 +02:00
Mathieu Magnin
a029aa62b1
[ Fix #2674 ] Add Services to manager
2018-10-02 16:17:17 +02:00
Pierre de La Morinerie
20f0151e8a
dossier: remove pdf.svg
2018-10-02 15:43:37 +02:00
Pierre de La Morinerie
36c1aa118d
dossier: remove RecapitulatifController
...
And add a redirection to the new URLs.
2018-10-02 15:42:29 +02:00
Pierre de La Morinerie
d476953108
dossier: remove Invites view
2018-10-02 14:40:47 +02:00
Pierre de La Morinerie
bf9f427299
dossier: remove DescriptionController
2018-10-02 14:40:47 +02:00
Pierre de La Morinerie
3392df0029
dossier: remove CommentairesController
2018-10-02 14:40:38 +02:00
gregoirenovel
553a6b53f2
Make the annotations privées submit button more visible
2018-10-02 14:18:07 +02:00
Pierre de La Morinerie
758ccff984
dossier: remove feature flag
2018-10-02 12:25:44 +02:00
Chaïb Martinez
da134c6d4b
Ajout d'une astuce dans l'ajout d'instructeur
2018-10-02 11:43:44 +02:00
gregoirenovel
cf69c28979
Fix scope for logo/notice/deliberation deletion
2018-10-02 11:03:48 +02:00
gregoirenovel
b994fa4206
Do one thing per line
2018-10-01 16:15:46 +02:00
gregoirenovel
3965709bd0
Fix a mistake in the Tour de France page
2018-10-01 15:33:19 +02:00
Pierre de La Morinerie
cd938b4c36
dropdown: refactor to make the button an actual button
2018-09-27 17:43:08 +02:00
Pierre de La Morinerie
c79c1a2636
carto: update link to dossier
2018-09-27 17:22:59 +02:00
Pierre de La Morinerie
0526551e71
templates: update link to dossier
2018-09-27 17:22:59 +02:00
Pierre de La Morinerie
40cf7ebdcb
mailers: update links to messagerie
2018-09-27 17:22:59 +02:00
Pierre de La Morinerie
5f1ce48d2e
invites: update link to dossier
2018-09-27 17:22:59 +02:00
Pierre de La Morinerie
08dfe7d13a
support: update link to messagerie
2018-09-27 17:22:59 +02:00
Paul Chavard
3c66fceba5
Replace password strength js with ujs
2018-09-27 16:00:14 +02:00
Paul Chavard
5a795ae30b
Add more information about lien demarche
2018-09-27 15:47:33 +02:00
simon lehericey
4d4dba1550
Procedure: small renaming on mean_time
2018-09-27 15:02:38 +02:00
simon lehericey
88f7e888c3
Administrateur: do not save api_token in clear text anymore
2018-09-27 10:24:56 +02:00
simon lehericey
16566b46c0
DossierController: private some methods
2018-09-27 10:24:56 +02:00
simon lehericey
912371fbd6
DossierController: use new token validation
2018-09-27 10:24:56 +02:00
simon lehericey
8dd4a1ca4e
ProcedureController: remove useless logger call
2018-09-27 10:24:56 +02:00
simon lehericey
3c95273d6f
ProcedureController: use new token validation
2018-09-27 10:24:56 +02:00
simon lehericey
0b2a98cdce
ApiController: private some methods
2018-09-27 10:24:56 +02:00
simon lehericey
f7c23bb435
ApiController: remove ensure_token_is_present
...
An admin without token answer false to admin.api_token_valid?(api_token) with api_token=*
2018-09-27 10:24:56 +02:00
simon lehericey
4a04f2e59f
ApiController: check token validity for a given admin
2018-09-27 10:24:56 +02:00
simon lehericey
d576d426f4
ApiController: remove old authenticate logic
...
The old logic cannot work anymore as we cannot `find_by api_token`
2018-09-27 10:24:56 +02:00
simon lehericey
1af789b9a8
Profile: add breadcrumb
2018-09-27 10:14:32 +02:00
simon lehericey
8c4f8347ca
Api Token: store token in an encrypted form
2018-09-27 10:14:32 +02:00
simon lehericey
1997f45d7e
Api Token: do not generate one token by default
2018-09-27 10:14:32 +02:00
simon lehericey
17285b0368
Profil: display token only once
2018-09-27 10:14:32 +02:00
simon lehericey
bd04972f65
Profile: move to new design
2018-09-27 10:14:32 +02:00
simon lehericey
f115658d55
OH !
2018-09-27 10:14:32 +02:00
Paul Chavard
f94a24d7ce
Add path field to procedure information form
2018-09-26 10:53:45 +02:00
Paul Chavard
f6a6d8f457
Fix destroy dossiers on procedure reset
2018-09-26 10:53:45 +02:00
Mathieu Magnin
7280b1f503
[ Fix #1285 ] Password strength is checked when user is typing
2018-09-26 09:51:30 +02:00
Mathieu Magnin
d1d8d9afe2
[ Fix #1285 ] Add JS to dynamically check the password strength
2018-09-26 09:51:30 +02:00
Mathieu Magnin
2507f963b1
[ Fix #1285 ] Create an endpoint to check password strength
2018-09-26 09:03:04 +02:00
Mathieu Magnin
35da5d595f
[ Fix #1285 ] Redesign the administrateurs password activation page
2018-09-26 09:03:03 +02:00
Mathieu Magnin
499021588d
[ Fix #1285 ] Password strength is ensured when saving an administrateur
2018-09-26 09:03:03 +02:00
Frederic Merizen
998754ab73
[ Fix #2258 ] Validate options for linked dropdown menus
2018-09-25 20:32:19 +02:00
Frederic Merizen
b521095010
[ #2258 ] Notify administrator of problems saving the types de champs
2018-09-25 20:31:42 +02:00
Frederic Merizen
3fea14c07d
[ #2258 ] Let dynamic type validate the type de champ
2018-09-25 20:31:34 +02:00
Frederic Merizen
695426316c
[ #2258 ] Make linked menus more robust in the face of bad configuration
2018-09-25 20:31:06 +02:00
Paul Chavard
90fb81af2b
Load OSM tiles over https
2018-09-25 17:48:29 +02:00
Chaïb Martinez
21a13b3311
Correctif mineur de texte dans le formulaire d'inscription admin
2018-09-25 16:57:41 +02:00
Frederic Merizen
40bc6208f0
[ Fix #2550 ] Also send mail notification when accepting dossier
2018-09-25 15:57:07 +02:00
Frederic Merizen
7631bde16a
[ #2550 ] Generate attestation on auto-accepted dossier
2018-09-25 15:53:57 +02:00
gregoirenovel
c92b0b163c
Add a banner about the Tour de France on the administration landing page
2018-09-25 13:43:11 +02:00
Frederic Merizen
9beaa293cd
[ #1421 ] Use delegation rather than STI for TypeDeChamp
2018-09-25 08:26:56 +02:00
Frederic Merizen
112fdb71fb
[ #2613 ] Remove dead code
2018-09-24 20:19:26 +02:00
Frederic Merizen
26ece1d144
[ Fix #2613 ] Filter by date creation entreprise
2018-09-24 20:19:26 +02:00
Frederic Merizen
7d382837d9
[ Fix #2622 ] Change filters to proper JSONB
2018-09-24 19:39:01 +02:00
Frederic Merizen
1419e9b73f
[ #2622 ] Change sort to proper JSONB
2018-09-24 19:39:01 +02:00
Frederic Merizen
68608307ad
[ #2622 ] Change displayed_fields to proper JSONB
2018-09-24 19:39:01 +02:00
gregoirenovel
5b011fef59
[ Fix #2652 ] Add the /tour-de-france page
2018-09-24 18:07:29 +02:00
Pierre de La Morinerie
682e29a211
dossier: refactor the pages permissions
...
Fixes the invites not being able to create a commentaire.
2018-09-24 17:05:27 +02:00
Pierre de La Morinerie
a5419b2f08
dossier: fix redirection to dossiers/invite
2018-09-24 17:05:27 +02:00
Pierre de La Morinerie
01599ac1e1
dossier: allow inviting users on the dossier page
2018-09-24 17:05:26 +02:00
Pierre de La Morinerie
0995c8e5ad
dossier: extract the invitation dropdown to a partial
2018-09-24 16:29:36 +02:00
gregoirenovel
f9d640d78d
[ Fix #2665 ] Fix the avis invitation email footer
2018-09-24 14:32:20 +02:00
gregoirenovel
7b3a7d2336
[ Fix #187 ] Allow an admin to delete their demarche logo
2018-09-24 13:29:35 +02:00
gregoirenovel
94378e3663
[ Fix #2332 ] Allow the notice deletion
2018-09-24 12:25:10 +02:00
gregoirenovel
89deb93e1d
Remove marianne_small.png
2018-09-24 12:16:58 +02:00
gregoirenovel
5db408efdb
[ Fix #1511 ] Remove the now obsolete DS logo
2018-09-24 12:16:58 +02:00
gregoirenovel
0b0c668888
[ Fix #2648 ] Add more details about the retention time out of DS
2018-09-24 12:09:54 +02:00
gregoirenovel
535f9004bf
Admins can delete the attestation template's logo
2018-09-24 10:15:22 +02:00
gregoirenovel
d649e29bb0
[ Fix #1979 ] Admins can delete the attestation template's signature
2018-09-24 10:15:02 +02:00
gregoirenovel
ded9c0eaf6
Add a separator between the explanation and form
2018-09-23 21:52:13 +02:00
gregoirenovel
086bf8e203
Improve the spacing on the new demande page
2018-09-23 21:45:39 +02:00
gregoirenovel
477faf06d7
Add a title to the new demande page
2018-09-23 18:17:16 +02:00
gregoirenovel
ed0e58d179
Add a footer to the new demande page
2018-09-23 18:16:53 +02:00
gregoirenovel
09196d12c3
Open the notice in a new tab
2018-09-21 15:57:04 +02:00
gregoirenovel
e4eb55a37f
Revert "[ Fix #2623 ] Ensure numbers are integers"
...
This reverts commit 68789ff43b
.
2018-09-21 15:15:11 +02:00
gregoirenovel
2585485370
Move the dossier-edit class directly to the _edit.html.haml template
...
So that when the partial included in
modifier.html.haml can also benefit from its
styling rules
2018-09-21 10:35:20 +02:00
gregoirenovel
7b7a939312
[ Fix #2642 ] Show the filename in the dossier print view
2018-09-21 10:26:10 +02:00
gregoirenovel
68789ff43b
[ Fix #2623 ] Ensure numbers are integers
2018-09-21 08:12:52 +02:00
Frederic Merizen
ac82a72dcc
[ #1946 ] Monthly expiring dossiers summary mail
2018-09-20 17:44:31 +02:00
Frederic Merizen
43d8db88d9
[ #1946 ] Check if a dossier’s retention period has expired
2018-09-20 17:44:31 +02:00
Frederic Merizen
b672377f5b
[ #1946 ] Query dossiers by remaining retention time
2018-09-20 17:44:31 +02:00
gregoirenovel
0c9628c180
Fix some files according the the .editorconfig rules
2018-09-20 16:23:09 +02:00
gregoirenovel
66fcdda59b
Extract some code in a helper
...
It makes the code clearer and will avoid some
linting issues
2018-09-20 16:23:09 +02:00
Paul Chavard
905a715e16
Fix dossier link
2018-09-20 16:05:40 +02:00
gregoirenovel
b317b49b3d
Confirmation → activation
2018-09-20 10:43:07 +02:00
gregoirenovel
f86cc835f8
courriel → email / adresse email
2018-09-20 10:43:07 +02:00
gregoirenovel
acaf7ff5a7
Adresse électronique → adresse email
2018-09-20 10:43:07 +02:00
Paul Chavard
539f15af92
Fix new lines in confirm dialogs
2018-09-19 14:45:10 +02:00
Pierre de La Morinerie
e5f4056fe2
invite: fix prefilling the invited user email
2018-09-19 12:41:09 +02:00
Pierre de La Morinerie
1a6a643dc9
invite: refactor the generation of the invitation URL
2018-09-19 12:41:09 +02:00
Pierre de La Morinerie
bc55afba51
invite: clarify logic of sign-up redirection
2018-09-19 12:41:09 +02:00
gregoirenovel
8ea021fb69
Factorize code in a method
2018-09-19 12:31:59 +02:00
gregoirenovel
6b98c36dad
Add Dossier#mean_traitement_time for the upcoming page de garde
2018-09-19 12:31:59 +02:00
gregoirenovel
f3a257d81d
Show the mean verification time in the Résumé tab
2018-09-19 12:31:59 +02:00
gregoirenovel
d55c9dff4d
Show the mean instruction time in the Résumé tab
2018-09-19 12:31:59 +02:00
Pierre de La Morinerie
082ef92a99
invite: move invites link to the after_confirmation
callback
...
Refactored from 6a69d958da
The `after_confirmation_path_for` isn't really made to be a callbback.
For instance, it is not executed during tests.
Moving the invitations linking to a proper documented callback allows
the linking to work in a testing environment, when invoking `user.confirm`.
2018-09-19 12:08:28 +02:00
Paul Chavard
9a338ec140
Change how we format brouillon démarche label
2018-09-19 11:27:55 +02:00
gregoirenovel
a0660d17eb
Refactor SiretFormatValidator#luhn_checksum
2018-09-19 10:32:43 +02:00
gregoirenovel
9d18f4187c
Simplify SiretFormatValidator
...
We can remove nil checks as we never get nil
values
2018-09-19 10:32:43 +02:00
gregoirenovel
4e4b7c617f
[ Fix #2618 ] Do not enforce Luhn for La Poste SIRET numbers
2018-09-19 10:29:43 +02:00
gregoirenovel
940dfe422b
Further refactor SiretFormatValidator#validate_each
2018-09-19 10:28:07 +02:00
gregoirenovel
36950b985b
Refactor SiretFormatValidator#validate_each
2018-09-19 10:15:44 +02:00
gregoirenovel
49d872452a
Improve SiretFormatValidator readability
2018-09-19 10:15:44 +02:00
Pierre de La Morinerie
38f6d11c57
dossier: finish feature-switch for enabled new dossier details
2018-09-18 16:48:27 +02:00
Paul Chavard
36812793d4
Do not clone procedure path
2018-09-18 14:40:02 +02:00
Frederic Merizen
89a1d990e9
[ #2584 ] Minor cleanup of DossierFieldService
2018-09-18 13:49:49 +02:00
Frederic Merizen
63fc0b3bc3
[ Fix #2584 ] Move Field related code to a service
2018-09-18 13:49:34 +02:00
Paul Chavard
18922122b4
Fix SQL ambiguous name error
2018-09-18 13:21:29 +02:00
Paul Chavard
b042efdcba
Update procedure path attribute when procedure_path changes
2018-09-18 13:21:29 +02:00
Paul Chavard
b772256a97
Read from path attribute instead of procedure_path when possible
2018-09-18 13:21:18 +02:00
Paul Chavard
2787f040af
Add path attribute to Procedure model
2018-09-18 13:21:18 +02:00
Paul Chavard
e2f13a8b73
Use helpers rather then view_context
2018-09-18 12:06:27 +02:00
Paul Chavard
db1a93ab35
fix procédure -> démarche
2018-09-18 11:22:06 +02:00
gregoirenovel
f696560a14
Affichage du service dans la liste des démarches
2018-09-18 10:44:49 +02:00
Pierre de La Morinerie
a820f2118a
dossier: improve wording for 'en instruction'
2018-09-18 10:33:11 +02:00
Pierre de La Morinerie
4a5218ffe9
dossier: improve wording for 'en construction'
2018-09-18 10:33:11 +02:00
Pierre de La Morinerie
ea3267c0d7
dossier: don't display 'brouillon' in the timeline if not required
...
Unless the user is actually editing a brouillon, we don't need to show
this state.
2018-09-18 10:33:11 +02:00
Pierre de La Morinerie
de07171acd
dossier: improve styling of finished dossier infos
2018-09-17 16:29:48 +02:00
Pierre de La Morinerie
a7cb4b6514
dossier: add download icon to attestation link
2018-09-17 16:29:48 +02:00
Pierre de La Morinerie
27727eabf3
dossier: add link to attestation when accepted
2018-09-17 16:29:48 +02:00
Pierre de La Morinerie
fd7f07a244
dossier: add link to messagerie when rejected
2018-09-17 16:29:48 +02:00
Pierre de La Morinerie
2de480d6e9
dossier: show latest message only when dossier is pending
2018-09-17 16:29:48 +02:00
gregoirenovel
cac202342a
Remove a new useless helper
2018-09-13 16:27:46 +02:00
gregoirenovel
747992025b
'Create a new demarche' links now point to the demarches page
2018-09-13 16:27:46 +02:00
gregoirenovel
734efd0822
Scope the new demarche page to add space before the footer
2018-09-13 16:27:46 +02:00
gregoirenovel
118ba12d2b
Add a footer to the new demarches page
2018-09-13 16:27:46 +02:00
gregoirenovel
aba0c1dcd6
Add links to the most popular demarches
2018-09-13 16:27:46 +02:00
gregoirenovel
523fdb5d45
Add a link to the page with all the demarches
2018-09-13 16:27:46 +02:00
gregoirenovel
9fe9f9b616
Add a new demarches page, showing the demarches already done
2018-09-13 16:27:46 +02:00
gregoirenovel
1f6870cd5e
Display a footer in the dossiers index page
2018-09-13 10:46:32 +02:00
gregoirenovel
5166b79167
Extract the general footer row in a partial
2018-09-13 10:46:32 +02:00
gregoirenovel
cedf1ba427
footer → dossier_footer
2018-09-13 10:46:32 +02:00
gregoirenovel
6745b67dc4
Add some space before the footer on the dossier pages
2018-09-13 10:46:32 +02:00
gregoirenovel
8ec27d4348
Add a clearfix below the edit-form button
...
To avoid an overlap with the footer
2018-09-13 10:46:32 +02:00
gregoirenovel
20c7733a48
Display the dossier footer on all the dossier pages
2018-09-13 10:46:32 +02:00
Frederic Merizen
a94397a70c
[ Fix #2562 ] Make dossier filters case insensitive
2018-09-13 10:29:22 +02:00
Paul Chavard
bfe7240235
Fix event bubbling on Mobile Safari
2018-09-13 09:19:09 +02:00
gregoirenovel
0b6debf9a6
Fix a typo
2018-09-12 18:33:54 +02:00
Paul Chavard
55a9b31b93
Cleanup SIRET champ
2018-09-12 15:53:02 +02:00
gregoirenovel
2330d4ba71
In the messagerie, reduce the space between the file input and its label
2018-09-12 15:39:21 +02:00
Paul Chavard
3f6cc668a7
Implement check_availability route
2018-09-12 12:37:15 +02:00
Paul Chavard
14bf543976
Add enable and disable element helpers
2018-09-12 11:00:01 +02:00
Pierre de La Morinerie
926dc3e107
dossier: display latest message on summary page
2018-09-12 10:09:16 +02:00
Pierre de La Morinerie
b4eb382e26
Extract a part of #commentaire_is_from_me_class
2018-09-12 10:09:16 +02:00
gregoirenovel
f9230b85b2
Change CommentaireHelper#commentaire_is_from_me_class’s signature
2018-09-12 10:09:16 +02:00
Paul Chavard
2f189826ab
Add some usefull polyfills for old browsers
2018-09-11 20:37:08 +02:00
gregoirenovel
c1bec7cf0b
Pass the connected_user object instead of its email
2018-09-11 18:17:40 +02:00
gregoirenovel
f8a6765367
[ Fix #2540 ] Allow an instructeur to send a dossier to several instructeurs
2018-09-11 18:00:24 +02:00
gregoirenovel
523edac4c5
Scope the select2 config call
2018-09-11 18:00:23 +02:00
gregoirenovel
fc470e9c71
Fix some spacing issues in the footer
2018-09-11 16:30:54 +02:00
gregoirenovel
04c5667b92
For footer columns, keep the same bottom margin at any width
2018-09-11 16:30:15 +02:00
gregoirenovel
61c41fa9cb
Lower the footer inner padding
2018-09-11 16:28:08 +02:00
gregoirenovel
1def444d0f
Do not add an empty ul to the DOM
2018-09-11 16:02:09 +02:00
Paul Chavard
631df3197a
Add uniqueness validation to procedure path
2018-09-11 10:38:31 +02:00
Paul Chavard
2770f1db82
Archive only when path changes owner
2018-09-11 10:38:31 +02:00
Paul Chavard
be51802983
Add reopen aasm event
2018-09-11 10:38:31 +02:00
Paul Chavard
5a794cbb08
Use Procedure#publish_or_reopen!
2018-09-11 10:38:31 +02:00
Paul Chavard
ec3a0dc4cf
Use Procedure#publish_with_path!
2018-09-11 10:38:31 +02:00
Paul Chavard
b3f8b68b99
Add Procedure#publish_with_path!
2018-09-11 10:38:31 +02:00
Paul Chavard
e6485603c4
Add ProcedurePath#valid?
2018-09-11 10:38:31 +02:00
Paul Chavard
f2f3c54147
Procedure: update -> update!
2018-09-11 10:38:31 +02:00
Paul Chavard
7a322266fa
Make aasm related methods private
2018-09-11 10:38:31 +02:00
Paul Chavard
de908ef4be
Extract ProcedurePath#find_by_path
2018-09-11 10:38:31 +02:00
gregoirenovel
50019e5317
Show user satisfaction in percentages
2018-09-11 10:17:40 +02:00
gregoirenovel
26e0ada3d4
Improve the ratings stats
...
Make sure that for each data point, we have do not
have any partial data (e.g. a week that hasn’t
finished yet)
2018-09-11 10:17:40 +02:00
gregoirenovel
05d2988f61
Format FeedbackController like the other controllers
2018-09-11 10:10:43 +02:00
gregoirenovel
d504af3216
FeedbacksController should inherit from UserController
2018-09-11 10:10:43 +02:00
gregoirenovel
ce458764f1
from-me is only relevant when the message is in a messages-list
2018-09-08 10:12:28 +02:00
gregoirenovel
6a475981e3
The relative message width is only relevant in messages-list
2018-09-08 10:12:28 +02:00
gregoirenovel
afae82c5ba
Remove a useless import in messagerie.scss
2018-09-08 10:12:28 +02:00
gregoirenovel
7482b859d5
Extract the message class into its own file
2018-09-08 10:12:28 +02:00
gregoirenovel
a4367c0809
Extract some more CSS classes from .messagerie to .messagge
2018-09-08 10:12:28 +02:00
gregoirenovel
94e5f856d3
Extract some CSS in a .message class
2018-09-08 10:12:28 +02:00
gregoirenovel
e2091fabdf
Unscope .messages-list
2018-09-08 10:12:28 +02:00
Paul Chavard
b63038faca
Allow administrateur to try dossier info on aperçu page
2018-09-07 19:41:34 +01:00
Paul Chavard
f3333595a0
Drop text_summary endpoint
2018-09-07 19:41:34 +01:00
Paul Chavard
212dee1565
Drop unused js
2018-09-07 19:41:33 +01:00
Paul Chavard
c49db4b5a4
Add a champs/dossier_link endpoint and use it to fetch dossier info
2018-09-07 19:41:33 +01:00
Paul Chavard
e2a2748e79
Expose authenticated_logged_user! method
2018-09-07 17:11:19 +01:00
Paul Chavard
7e94f7778a
Disable csrf forgery protection in test environement
2018-09-07 17:11:19 +01:00
Paul Chavard
5dadaa1a8d
Show brouillon tag on procedure names in user and instructeur lists
2018-09-07 11:21:50 +01:00
Paul Chavard
23017f4b17
Show better lien information on procedure page
2018-09-07 11:21:07 +01:00
Paul Chavard
23170f54c0
Instructeur should see published drafts
2018-09-07 11:20:16 +01:00
Pierre de La Morinerie
1da0321c26
messagerie: never display full sender email
...
See #2307
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
353ab812fc
messagerie: fix 'Invité' label in message sender
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
211674435e
messagerie: better format message dates
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
fe13871380
messagerie: add explanation for usagers
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
21dc9f8109
messagerie: improve success message
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
a6aac28b66
messagerie: move "Send" button to the right
2018-09-07 12:02:26 +02:00
Pierre de La Morinerie
6cd88db853
messagerie: make "Send" button primary
2018-09-07 12:02:26 +02:00
gregoirenovel
9c6a66ae75
Change the route for DossierController#modifier
...
If we submit the form, and there’s an error, the
URL would be `/dossiers/:id`, therefore
`dossier_path(dossier)`, so the Résumé tab would
be active, not the messagerie tab. This change
prevents this behaviour.
2018-09-07 11:30:00 +02:00
gregoirenovel
038cabfae3
The Demande tab should be active when we’re editing the demande
2018-09-07 11:30:00 +02:00
gregoirenovel
ee4d71a3f4
dynamic_tab_item now handles url arrays
2018-09-07 11:30:00 +02:00
gregoirenovel
59e809f029
active_tab_item → dynamic_tab_item
2018-09-07 11:06:26 +02:00
gregoirenovel
23405efd3a
Mutualize some code in #update_dossier_and_compute_errors
2018-09-07 10:19:10 +02:00
gregoirenovel
6fe1f912c8
Refactor DossiersController#update
...
Nested ifs are heavier but easier to understand
as related conditions are visually grouped
2018-09-07 10:19:10 +02:00
gregoirenovel
230bf22b77
Redactor DossierController#update_brouillon
2018-09-07 10:19:10 +02:00
gregoirenovel
f5debfef46
DossierController#draft? → #save_draft?
2018-09-07 10:19:10 +02:00
gregoirenovel
87e59e2bfb
Streamline DossierController#update_brouillon and #update
2018-09-07 10:19:10 +02:00
gregoirenovel
1341074325
Add DossierController#update
2018-09-07 10:19:10 +02:00
gregoirenovel
cd46ee06e1
Add DossierController#modifier
2018-09-07 10:19:10 +02:00
gregoirenovel
338ffb8b50
DossierController#update → #update_brouillon
2018-09-07 10:19:10 +02:00
gregoirenovel
5ac8117c69
DossierController#modifier → #brouillon
2018-09-07 10:19:10 +02:00
Paul Chavard
f1c1eb573c
Do not triger validation errors on path field on description page
2018-09-06 15:48:11 +01:00
Paul Chavard
8c8e7f3ef3
Patch remote ujs handler with debounced input support
2018-09-06 15:09:02 +01:00
Paul Chavard
fb883e2ebc
Fix contact_link tag rendering on a11y page
2018-09-06 14:15:58 +01:00
Pierre de La Morinerie
19908ede25
gestionnaire: fix dossier printing page
...
Fix the invalid template, and add tests.
2018-09-05 16:17:26 +02:00
gregoirenovel
088d1c74d3
Commentaires → Messages
2018-09-05 15:59:41 +02:00
gregoirenovel
00ecae5f93
Procédure → Démarche
2018-09-05 15:46:24 +02:00
lucien mollard
b2f2e75f43
mailer: add layout for notifications emails
2018-09-05 15:31:08 +02:00
gregoirenovel
80c35c284f
Properly handle a long title in a stats card
2018-09-05 14:32:11 +02:00
gregoirenovel
21776e360b
Improve a stats title to better reflect reality
2018-09-05 14:32:11 +02:00
gregoirenovel
18a7d4c794
Fix typo
2018-09-05 14:32:11 +02:00
gregoirenovel
43b406e51c
Procédures → démarches
2018-09-05 14:32:11 +02:00
gregoirenovel
be3b9382e5
Rename status partial to status_badge
2018-09-05 14:10:13 +02:00
Pierre de La Morinerie
af5df2d661
dossier: add "Messagerie" tab
2018-09-05 14:02:12 +02:00
Pierre de La Morinerie
5cfb200417
dossier: cache the dossier value
2018-09-05 13:56:12 +02:00
Pierre de La Morinerie
63472f00e6
messagerie: generalize the current user email
2018-09-05 13:56:12 +02:00
Pierre de La Morinerie
4e2a5f0b9b
messagerie: move templates to a shared location
2018-09-05 13:56:12 +02:00
Pierre de La Morinerie
d99e606206
dossier: rename status_progress to status_overview
2018-09-05 11:52:04 +02:00
gregoirenovel
37c0552c64
Add titles
2018-09-05 11:35:03 +02:00
gregoirenovel
6b88968889
Formulaire → demande, when not editable
2018-09-05 11:07:11 +02:00
gregoirenovel
b9a32633bb
Rename a file with a more explicit filename
2018-09-05 10:09:59 +02:00
gregoirenovel
81e94ca631
Improve _status.html.haml
2018-09-05 10:09:59 +02:00
Pierre de La Morinerie
750e1e0c83
gestionnaire: move commentaire creation into a service
2018-09-04 18:52:43 +02:00
gregoirenovel
b2dc502ed5
Use an env var for Carrierwave's cache_dir
2018-09-04 16:07:59 +02:00
gregoirenovel
d05209d28f
Make the stats code more robust to empty databases
2018-09-03 17:35:14 +02:00
gregoirenovel
df742421a8
Remove an env var
2018-09-03 16:13:38 +02:00
gregoirenovel
e927f56e0d
Use a proper HAML comment
2018-09-03 11:41:25 +02:00
gregoirenovel
bdb961f280
Rename support-navigator-banner to outdated-browser-banner
2018-09-03 11:41:03 +02:00
gregoirenovel
1b545123fa
Improve the outdated browser support banner style
...
- In the new design, it is now at the top of the
page
- In the new design, it no longer covers up the UI
- In the new design, the text is now left-aligned
which makes it easier to read
- In the new design, its height has been reduced
which makes it less annoying
2018-09-03 11:35:08 +02:00
gregoirenovel
75ee41b7fa
[ Fix #2494 ] Improve deletion warning text
2018-08-31 15:41:51 +02:00
Paul Chavard
72dded2a5a
Fix safari bug
...
Fix #2452
2018-08-31 11:58:33 +01:00
gregoirenovel
66af573ca4
Add a warning in the attachements part of the form
2018-08-31 00:10:16 +02:00
Frederic Merizen
559d080ca6
[ #1946 ] Show data retention time in footer
2018-08-30 18:03:01 +02:00
Paul Chavard
5d5a356ade
Cleanup contact_link helper
2018-08-30 15:12:50 +01:00
Paul Chavard
0c582197da
Do not send messages to brouillon dossier
2018-08-30 15:12:50 +01:00
Paul Chavard
854bc62caa
Fix class name
2018-08-30 15:12:50 +01:00
Paul Chavard
ea5248dde1
Flatten tags list, cast to array and remove blank elements
2018-08-30 15:12:50 +01:00
Paul Chavard
b60805a54c
Use mailto in error message
2018-08-30 15:12:50 +01:00
Paul Chavard
441e123e8a
Do not lose form content on errors
2018-08-30 15:12:50 +01:00
Paul Chavard
7ac4dc355f
Add default dossier_id to contact form on dossier pages
2018-08-30 15:12:50 +01:00
gregoirenovel
6a33c30812
Rename the last “Gestionnaire” occurence in the UI to “Instructeur”
2018-08-30 14:42:09 +02:00
gregoirenovel
c015365057
Fix case typos
2018-08-30 14:23:45 +02:00
Frederic Merizen
7326065590
[ fix #2486 ] Include all needed attributes on downloadable_sorted
...
to avoid N+1 select
2018-08-30 14:13:32 +02:00
Frederic Merizen
9403d4c042
[ #2486 ] followers_gestionnaires should not be a method
...
To help activerecord caching
2018-08-30 14:13:32 +02:00
Frederic Merizen
37c45f0d29
[ #2486 ] Always order champs
...
to help activerecord cache the champs collection
2018-08-30 14:13:32 +02:00
gregoirenovel
04c6a653da
Unify the CSS filenames’ case
2018-08-30 13:16:14 +02:00
gregoirenovel
89af9c2b36
Remove extra blank lines
2018-08-30 13:16:14 +02:00
gregoirenovel
e60aa0c37b
Use scopes when possible
2018-08-30 13:16:14 +02:00
gregoirenovel
47962ef795
Simplify route_authorization
2018-08-30 13:16:14 +02:00
gregoirenovel
bf9f3b40df
Remove useless .to_s
2018-08-30 13:16:14 +02:00
gregoirenovel
de48dab031
Alignment
2018-08-30 13:16:14 +02:00
gregoirenovel
15d1b01a90
Code simplification
2018-08-30 13:16:14 +02:00
gregoirenovel
3662b82039
accompagnateur → instructeur
2018-08-29 23:09:08 +02:00
Paul Chavard
5f12ea43a7
Add helpscout webhook
2018-08-29 21:41:14 +01:00
gregoirenovel
4b071ecf06
Use enum to the fullest with Dossier.states
2018-08-29 17:31:08 +02:00
gregoirenovel
2d3b553e4d
Use enum to the fullest with TypeDeChamp.type_champs
2018-08-29 17:31:08 +02:00
gregoirenovel
16a719922b
Use enum to the fullest with User.loged_in_with_france_connects
2018-08-29 17:31:08 +02:00
gregoirenovel
606b56033a
Use enum to the fullest with VirusScan.statuses
2018-08-29 17:31:08 +02:00
Paul Chavard
509613afe6
Use contact_link helper instead of mailto
2018-08-29 16:08:01 +01:00
Paul Chavard
a5bc8a0b09
Add contact_link helper
2018-08-29 16:08:01 +01:00
Paul Chavard
f5579aa14b
Add type param to support form
2018-08-29 16:08:01 +01:00
gregoirenovel
0ac160c824
Remove the now useless stats API
2018-08-29 14:54:49 +02:00
gregoirenovel
85105ea156
Add some space below the title in big number cards
2018-08-29 14:54:49 +02:00
gregoirenovel
00610991b7
[ Fixes #2480 ] Add 30-days evolution stats to the stats page
2018-08-29 14:54:49 +02:00
Paul Chavard
bad107ffae
Add contact form
2018-08-29 10:44:12 +01:00
Paul Chavard
41815cfb1c
Add logged_in? helper
2018-08-29 10:43:47 +01:00
Paul Chavard
6453b53a41
Add helpscout API adapter
2018-08-29 10:43:00 +01:00
gregoirenovel
6b1ab9b552
Remove a now useless facade
2018-08-28 15:38:39 +02:00
gregoirenovel
cccad7dbdf
Remove a now useless method
2018-08-28 15:19:54 +02:00
gregoirenovel
19789b6848
Remove the stats part of the procedure info page for admins
...
- the numbers are wrong (:termine state does not
exist)
- the chart does not work
2018-08-28 15:19:31 +02:00
Paul Chavard
b8ef5d823f
Fix modal close action
2018-08-28 12:18:43 +01:00
Paul Chavard
3d506a8cdc
Fix autocomplete
2018-08-28 11:04:44 +01:00
gregoirenovel
9284afc649
Use a constant for the API Entreprise URL
2018-08-28 10:44:16 +02:00
gregoirenovel
66c5f080cc
Add AR validation for Feedback rating
2018-08-28 10:36:36 +02:00
gregoirenovel
9f3650b12f
Remove 2 months old call for suggestions
2018-08-28 10:11:09 +02:00
gregoirenovel
4c7f9af73d
Order the legend in the same order as the enum
2018-08-27 18:18:26 +02:00
gregoirenovel
b535f7ce3b
Fix the colors in the satisfaction graph
...
I forgot to change it after I switched to an enum
in the previous PR and changed the values order
2018-08-27 18:18:07 +02:00
gregoirenovel
577496cb06
Fix a typo
2018-08-27 17:58:53 +02:00
gregoirenovel
18624ff872
Update the stats code to use ratings instead of marks
2018-08-27 17:12:01 +02:00
gregoirenovel
3ba4ce0d37
Create feedbacks with ratings instead of marks
2018-08-27 17:12:01 +02:00
gregoirenovel
4103861f90
Add the rating column to feedbacks
2018-08-27 17:03:11 +02:00
gregoirenovel
c81206f4d1
Scroll to top after having given feedback
2018-08-27 14:16:20 +02:00
gregoirenovel
62878f9c5a
Encourage users that give us feedback to write to us
2018-08-27 14:16:20 +02:00
gregoirenovel
3d7b239f2b
Improve the feedback form question
2018-08-27 14:16:20 +02:00
gregoirenovel
98f70cc815
Allow a user to rate the service each month
2018-08-27 14:16:20 +02:00
gregoirenovel
a700fc16cf
Remove a now useless GA call
2018-08-27 14:09:43 +02:00
gregoirenovel
047d022c8a
Add a CTA at the bottom of the admin landing page
2018-08-27 14:09:43 +02:00
gregoirenovel
83e081426c
Redirect admins requests to the admin page after the form submission
2018-08-27 14:09:43 +02:00
gregoirenovel
100974ff9a
Do not open the admin account form in a new tab
2018-08-27 14:09:43 +02:00
gregoirenovel
40da6ccf40
Use a blue button for the admin CTA
2018-08-27 14:09:43 +02:00
gregoirenovel
d240be8948
Fix the focus state of .cta-panel-button-black
2018-08-27 14:09:43 +02:00
gregoirenovel
df6d9151b8
Factorize code in a mixin
...
In this file we factorise with a mixing, not
several classes
2018-08-27 14:09:43 +02:00
gregoirenovel
1578c3bca6
Stop having several class that do the exact same things
2018-08-27 14:09:43 +02:00
gregoirenovel
b158a92493
Add a graph showing the user satisfaction
2018-08-27 14:00:34 +02:00
gregoirenovel
f381d45d1a
Add a chart showing the dossiers state repartition
2018-08-27 14:00:34 +02:00
lucien mollard
9292e243ef
Add a button to download the stats in CSV
2018-08-27 14:00:34 +02:00
gregoirenovel
23aab2d044
Use a period at the end of a sentence
2018-08-27 09:24:26 +02:00
Paul Chavard
9abb3c7a5a
[ENV] Pipedrive key config
2018-08-23 15:55:32 +02:00
Paul Chavard
14f4b16fa4
[ENV] Signing key config
...
# Conflicts:
# config/secrets.yml
2018-08-23 15:55:32 +02:00
Paul Chavard
c79827d551
[ENV] Configure default_url_options
2018-08-23 15:55:32 +02:00
Paul Chavard
296e3a9b09
[ENV] Add fog config
2018-08-23 15:55:32 +02:00
Mathieu Magnin
db8e750f1a
[ENV] Configure Api Entreprise token
2018-08-23 15:55:32 +02:00
Mathieu Magnin
d37958d1ae
[ENV] Basic auth config
2018-08-23 15:55:32 +02:00
simon lehericey
d9a9677d1d
[ fix #2397 ] Manager: update crm conf
2018-08-23 12:12:39 +02:00
simon lehericey
ee43650c32
Demande: add nb_of_procedure, deadline and nb_of_dossier fields
2018-08-23 12:12:39 +02:00
Frederic Merizen
cef0eafb1a
[ #2179 ] Tolerate spurious spaces around search terms
2018-08-23 11:57:06 +02:00
Frederic Merizen
1134877d59
[ #2179 ] Remove newly dead code
2018-08-23 11:57:06 +02:00
Frederic Merizen
d681b1116f
[ Fix #2179 ] Use new full text search
2018-08-23 11:57:06 +02:00
Frederic Merizen
8fc359c54d
[ #2179 ] Simplify matching_dossiers_for_gestionnaire
2018-08-23 11:57:06 +02:00
Frederic Merizen
8744e9b83d
[ #2179 ] Simplify dossier_by_exact_id_for_gestionnaire
2018-08-23 11:57:06 +02:00
Frederic Merizen
20b886fb85
[ #2179 ] Simplify dossiers_by_id
2018-08-23 11:57:06 +02:00
Frederic Merizen
a42c4ade4c
[ #2179 ] Simplify id_compatible?
2018-08-23 11:57:06 +02:00
Frederic Merizen
b3cb06b7e5
[ #2179 ] Extract dossier_by_full_text_for_gestionnaire method
2018-08-23 11:57:06 +02:00
Frederic Merizen
d734f978a3
[ #2179 ] Extract dossiers_by_exact_id_for_gestionnaire method
2018-08-23 11:57:06 +02:00
Frederic Merizen
a72388bb37
[ #2179 ] Don't depend on current_gestionnaire in DossierSearchService
2018-08-23 11:57:06 +02:00
Frederic Merizen
57fd59b8d5
[ #2179 ] Move code to DossierSearchService
2018-08-23 11:57:06 +02:00
Frederic Merizen
650a740642
[ #2179 ] Remove dead code
2018-08-23 11:57:06 +02:00
Paul Chavard
1af4b2aa6e
Fix transfer modal not opening
2018-08-23 11:22:03 +02:00
gregoirenovel
a86e3a3156
Don’t change a button’s text when disabled after click
2018-08-23 10:59:11 +02:00
Frederic Merizen
3b2919a326
[ #2179 ] Use new updated value for search terms
...
Rather than old in-database value
2018-08-23 10:34:25 +02:00
Frederic Merizen
333f4e8824
[ #2179 ] update champ and individual association with default
...
That way, they are safe to read in update_search_terms, and no
reload is needed later
2018-08-23 10:34:25 +02:00
Paul Chavard
e1f1827320
Replace typeahead with simpler autocomplete
2018-08-22 17:17:33 +02:00
Paul Chavard
2500cd516b
Use delegation in SIRET champ code
2018-08-22 16:42:55 +02:00
Paul Chavard
e8e62b0e63
Remove unused modules from old design
2018-08-22 16:42:46 +02:00
Paul Chavard
a17fb60aea
Include select2 from the file where it is used
2018-08-22 16:42:29 +02:00
Paul Chavard
1109a4500f
Add csrf token protection to jQuery initiated requests
2018-08-22 14:13:10 +02:00
gregoirenovel
1fb3f516bf
Add a new color variable
2018-08-22 11:23:06 +02:00
gregoirenovel
e6442436ba
Remove a space before a final period
2018-08-22 11:23:06 +02:00
gregoirenovel
af56e73572
Open the browser-update.org link in a new tab
2018-08-22 11:21:00 +02:00
gregoirenovel
0b7060d48b
Improve the outdated browser message
2018-08-22 11:21:00 +02:00
gregoirenovel
e0bb0ac7b6
Use the proper product name
2018-08-21 18:05:09 +02:00
Paul Chavard
f4f3a302b9
Do not rely on rails env to detect staging
2018-08-21 15:43:06 +02:00
Pierre de La Morinerie
2e762e268e
views: add tab_item
and active_tab_item
helpers
2018-08-16 16:36:37 +02:00
Paul Chavard
7724a48cee
Fix js error from calling inexistent function
2018-08-16 11:59:18 +02:00
Paul Chavard
13470e9781
Remove unused JavaScript
2018-08-14 17:03:00 +02:00
Paul Chavard
097b06e314
Fix test dossier page
2018-08-14 16:47:31 +02:00
Paul Chavard
b57c22cafe
Refactor publish dialog
2018-08-14 16:39:11 +02:00
Paul Chavard
aec02a9b8a
Remove references to test_procedure
2018-08-14 16:30:43 +02:00
lucien mollard
0f790c4b07
separates the homepage into two parts, users/administrations
2018-08-14 16:12:51 +02:00
Pierre de La Morinerie
af95e56b50
dossier: add a page with the form
2018-08-14 15:25:27 +02:00
Pierre de La Morinerie
86539413ee
gestionnaire: move dossier partials to a shared location
2018-08-14 15:06:44 +02:00
Pierre de La Morinerie
4714fc64e7
dossier: make "show" a standalone page
2018-08-14 15:06:44 +02:00
Pierre de La Morinerie
efd29ab174
dossier: fix the width of the status explanation
2018-08-14 15:06:44 +02:00
Pierre de La Morinerie
40d0986a82
javascript: transpile activestorage files (instead of copying them)
2018-08-14 11:40:33 +02:00
Paul Chavard
7237ff80cc
Drop procedure dossiers when updating brouillon
2018-08-14 11:21:05 +02:00
Paul Chavard
3be678dbe5
Add publish_draft feature flag
2018-08-13 19:27:28 +02:00
Paul Chavard
9de3e6e74b
Make info extraction method more safe
2018-08-13 18:32:00 +02:00
Paul Chavard
008d84f107
Explicitly import jQuery
2018-08-13 15:17:13 +02:00
Pierre de La Morinerie
e68c8a7685
feedback: add spacing between the icons
2018-08-13 14:56:36 +02:00
Pierre de La Morinerie
6da2e54d4c
feedback: move the icons under the list
2018-08-13 14:56:35 +02:00
Pierre de La Morinerie
8927af7a33
feedback: don't display feedback if user has no dossiers
2018-08-13 14:56:07 +02:00
Paul Chavard
a6a4790a35
Replace logstasher with lograge
2018-08-13 12:44:00 +02:00
Paul Chavard
541df2d961
Add support for in browser sentry
2018-08-13 11:44:32 +02:00
Pierre de La Morinerie
1b7950058d
dossier: add details résumé
2018-08-13 11:32:27 +02:00
Pierre de La Morinerie
c7ba3cbd59
dossier: improve header layout on small screens
...
- A long procedure title can now overflow under the status label
- Better icon placement
2018-08-13 11:32:27 +02:00
Pierre de La Morinerie
18d13d76d8
dossier: add details header
2018-08-13 11:32:27 +02:00
Pierre de La Morinerie
97960369db
stylesheets: rename dossier-edit.scss
...
Underscore all the things
2018-08-13 11:32:27 +02:00
Pierre de La Morinerie
44e3d98cb9
stylesheets: rename procedures_show.scss
2018-08-13 11:32:27 +02:00
lucien mollard
3f6671548d
dossier motivation obligatory exept for acceptation
2018-08-13 11:24:29 +02:00
Paul Chavard
ea68c75361
Use delegated events instead of local handlers
2018-08-13 08:34:10 +02:00
Paul Chavard
8bf5dedd80
Ruby helpers for js.erb responses
2018-08-13 08:34:10 +02:00
simon lehericey
b33f11115c
[ fix #2358 ] Checkbox: serialize in attestation by oui or no
2018-08-10 16:25:34 +02:00
Paul Chavard
e7e616ae5b
Fix transpiling issues in IE
2018-08-09 21:05:07 +02:00
lucien mollard
9ecc5f7928
add a user satisfaction form'
2018-08-09 11:41:26 +02:00
Pierre de La Morinerie
1c02eca1be
dossier: disable buttons without changing the label
2018-08-08 16:06:12 +02:00
Pierre de La Morinerie
5e01be0f15
mailer: add direct link to dossier in creation email
...
Fix #2341
2018-08-08 15:24:17 +02:00
simon lehericey
9c023095da
[ fix #2359 ] Fix link in avis mail for gestionnaire
2018-08-08 13:19:54 +02:00
simon lehericey
c4dfe34c4a
AvisController: clean unused variable
2018-08-08 13:19:54 +02:00
Paul Chavard
8625c9d0bc
Make right click work on procedure list links
2018-08-08 12:19:19 +02:00
Pierre de La Morinerie
77eb89cb0f
dossier: add a stub page for the new dossier details
2018-08-08 11:49:15 +02:00
Pierre de La Morinerie
0ac28da207
dossier: make Dossiers#show a stub redirecting to the correct location
2018-08-08 11:49:15 +02:00
Paul Chavard
8b79c32a55
Do not rely on javascript for form submits without direct upload
2018-08-07 16:58:49 +02:00
Paul Chavard
a0979b1d57
Fix logstasher custom fields
2018-08-07 16:26:44 +02:00
Pierre de La Morinerie
f55f949b58
admin: disable fade on publish modal
...
It makes Capybara tests brittle.
2018-08-07 14:28:52 +02:00
Paul Chavard
c91abe73c5
Remove old user dossier form
2018-08-07 14:13:27 +02:00
Pierre de La Morinerie
c8409ecb89
dossier: remove route hack for show
2018-08-07 12:15:38 +02:00
Pierre de La Morinerie
4f9384d6bd
webpack: add babel-polyfill at runtime
...
This includes the polyfills for features that need to be emulated at
runtime (see https://github.com/babel/babel-preset-env/issues/203#issuecomment-285820866 )
It fixes a "Symbol not defined" error when using `for… in` loops on
Internet Explorer 11. This caused the dossiers not to be submitted.
Fix #2300
2018-08-06 16:30:36 +02:00
Pierre de La Morinerie
b4f8c69d89
browsers: add comment to minimum browsers version rules
2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
a9ddadfdd2
browsers: remove IE-specific browser detection
...
- It doesn't work in IE >=10 (as support for conditionnal comments was
removed)
- It is redundant with our all-browsers detection anyway
2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
a9c9c491a2
browsers: fix outdated browsers banner styling when using the new design
2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
c73da9d299
browsers: make outdated browser message more actionnable
2018-08-06 15:00:12 +02:00
Paul Chavard
46e75ac8ef
Only notify on dossier supression if dossier is en_construction
2018-08-02 17:07:24 +02:00
Pierre de La Morinerie
1ca2ca9121
invite: support remote forms
...
This allows to keep the draft content when inviting a new user.
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
1cac0b80af
invite: add button for invite someone to collaborate on a draft
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
9541e781bb
invite: rename 'email' to 'invite_email'
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
030562a32f
design: add styling for disabled buttons
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
0fa18c70bf
form: extract the form header to its own partial
2018-08-01 17:41:11 +02:00
Pierre de La Morinerie
dee4acd802
dossier_facade: remplace followers
by an equivalent implementation
2018-08-01 17:41:11 +02:00
Paul Chavard
78a9365fe1
Package mailjet widget with webpack
2018-08-01 16:54:39 +02:00
gregoirenovel
6d9648e88c
[ Fix #2214 ] Don’t suggest using the messagerie when it is not available
2018-08-01 15:36:52 +02:00
Pierre de La Morinerie
01cdd910df
invite: don't display email of following accompagnateurs
...
We don't want the individual contact of Accompagnateurs to be displayed, for privacy reasons.
2018-08-01 13:48:58 +02:00
Paul Chavard
872e07b5e6
Fix global jQuery usage
2018-08-01 11:55:35 +02:00
Pierre de La Morinerie
b7382375e2
specs: fix disabling jQuery animations during tests
2018-08-01 11:46:04 +02:00
Paul Chavard
e358e72867
Do not display gestionnaire emails in the messaging interface
...
fix #2302
2018-07-31 15:27:36 +02:00
Pierre de La Morinerie
5011797e7a
siret: fix spinner position
2018-07-30 17:49:00 +02:00
Pierre de La Morinerie
a399cef144
siret: make etablissement styled and visible
2018-07-30 17:49:00 +02:00
Pierre de La Morinerie
fcc7ffabcd
siret: make validation error message red
2018-07-30 17:49:00 +02:00
Pierre de La Morinerie
728a92a0b3
siret: improve error messages
2018-07-30 17:49:00 +02:00
Pierre de La Morinerie
55847f011c
siret: fix validity being broken after clearing the field
2018-07-30 14:29:44 +02:00
Pierre de La Morinerie
e1088d7952
dossier: fix layout of form action buttons on IE11
...
Fix #2311
2018-07-30 11:51:35 +02:00
Frederic Merizen
0e639030f9
[ #2179 ] Generate denormalized search terms value for Dossier
2018-07-27 11:11:52 +02:00
Mathieu Magnin
84937e3d43
Fix Sentry error 2755
2018-07-26 17:38:19 +02:00
Paul Chavard
bf7c023380
Add webpacker and use it for new_design
2018-07-25 15:14:06 +02:00
Mathieu Magnin
e66d56be43
Fix text align on dropdown button
2018-07-25 14:37:15 +02:00
gregoirenovel
abbd4e3c69
[ Fix #2277 ] Do not crash when creating a service with invalid data
2018-07-25 14:22:44 +02:00
Pierre de La Morinerie
c3de45307d
dossiers: rename "Éditer" to "Modifier"
...
"Éditer" is a anglicism.
2018-07-25 14:06:09 +02:00
Pierre de La Morinerie
13182ad291
dossier: send deletion email also to the following gestionnaires
2018-07-25 13:49:55 +02:00
Mathieu Magnin
9788dcc931
Merge branch 'dev' into delete-brouillon
2018-07-25 12:25:48 +02:00
Pierre de La Morinerie
547c36243d
dossier: add responsive layout for action buttons
2018-07-24 18:31:10 +02:00
Pierre de La Morinerie
0f1811dd4e
dossier: add an button to delete a brouillon
2018-07-24 18:31:10 +02:00
Pierre de La Morinerie
768537fedc
buttons: center text also on link styled as buttons
2018-07-24 18:25:37 +02:00
Pierre de La Morinerie
07be63b48e
patron: add missing button styles
2018-07-24 17:43:28 +02:00
Pierre de La Morinerie
e613815ac6
mailer: remove last mention of TPS
2018-07-24 16:58:03 +02:00
Pierre de La Morinerie
6e5840e838
manager: allow searching for deleted dossier
...
Deleted dossiers don't appear in the unfiltered list though. You have to
know its id to find it.
2018-07-24 11:06:18 +02:00
Pierre de La Morinerie
f6c83cae1f
manager: make resources searchable by id
2018-07-24 11:01:02 +02:00
Pierre de La Morinerie
5c6fa992f8
manager: fix exception when searching for a dossier
...
Text summary is a generated accessor, and not a true DB column – so
we should tell Administrate not to use it in a search query.
2018-07-24 11:01:02 +02:00
Pierre de La Morinerie
099fac69c0
manager: fix typo
2018-07-24 11:01:01 +02:00
Mathieu Magnin
20790569a9
fix-input-file-margin
2018-07-23 14:52:14 +02:00
gregoirenovel
ab2181ea13
[ Fix #2280 ] Correct a typo
2018-07-20 10:23:34 +02:00
gregoirenovel
eb95fce194
[ Fix #2272 ] Add a SIRET field to the Service form
2018-07-19 15:43:13 +02:00
gregoirenovel
81ac3d7c6b
Bump development gems
...
- brakeman (4.3.0 → 4.3.1)
- rubocop (0.56.0 → 0.58.1)
2018-07-17 17:33:28 +02:00
gregoirenovel
ed436bfe77
[ Fix #2260 ] Add a search field in the usager UI
2018-07-17 17:26:42 +02:00
gregoirenovel
4d41381155
Move the attestation route inside the member block
2018-07-17 17:26:42 +02:00
Paul Chavard
04821a6875
Disable Champ SIRET autocomplete for previews
2018-07-17 16:50:55 +02:00
Pierre de La Morinerie
7ca476fc61
manager: add confirmation email actions for the User
...
- Allow to re-send the confirmation email
- Allow to confirm the email address manually
2018-07-17 12:10:56 +02:00
Pierre de La Morinerie
5c9676678d
manager: show if a user email address is confirmed or not
2018-07-17 11:45:30 +02:00
Pierre de La Morinerie
40aae2e20b
mailers: mention the procedure when notifying about dossier deletion
2018-07-16 15:49:34 +02:00
Pierre de La Morinerie
540c744912
apercu: add quotes around the procedure name
2018-07-16 14:53:45 +02:00
Pierre de La Morinerie
a3442674f9
apercu: fix typo
2018-07-16 14:53:45 +02:00
simon lehericey
106263f5e7
[ fix #2247 ] linked drop down list: fix js scope pb
2018-07-13 13:14:10 +02:00
simon lehericey
0e8a1f1678
[ fix #2241 ] GestionnaireDossierController: allow linked drop down value in update
2018-07-12 14:11:42 +02:00
Mathieu Magnin
e748b6883f
Fix comportement chelou in LinkedDropDownListChamp
2018-07-12 12:31:54 +02:00
Pierre de La Morinerie
da0a505cbc
form: add folder icon next to the procedure title
2018-07-11 17:28:20 +02:00
Pierre de La Morinerie
0282994990
form: move the procedure notice link to a button
2018-07-11 17:13:18 +02:00
Pierre de La Morinerie
2ef6f46ef4
style: add the styling for hr elements inside forms
2018-07-11 17:13:15 +02:00
Pierre de La Morinerie
97a92e279b
assets: add the info icon
2018-07-11 17:13:10 +02:00
Pierre de La Morinerie
6d26024aa1
patron: add missing icons
2018-07-11 17:12:35 +02:00
Mathieu Magnin
d113ca6ae4
Revert "Temporary fix to allow users to download files with extensions"
...
This reverts commit 1fb1d92fe7
.
2018-07-11 15:46:22 +02:00
Pierre de La Morinerie
e5de401107
form: make the sample asterisk also red
2018-07-09 18:34:33 +02:00
Pierre de La Morinerie
c4bf47398e
form: add missing spacing after explanations
2018-07-09 18:18:42 +02:00
Pierre de La Morinerie
adab8e44ff
form: add spacing between paragraphs
2018-07-09 18:16:59 +02:00
Mathieu Magnin
1fb1d92fe7
Temporary fix to allow users to download files with extensions
2018-07-09 12:25:25 +02:00
Pierre de La Morinerie
d2eb597380
admin: fix Procédures pluralization and accent
2018-07-09 11:40:13 +02:00
gregoirenovel
bd13be1e89
Improve the landing page backgrounds
2018-07-06 13:49:53 +02:00
gregoirenovel
43836d05ad
Small improvements to the landing page titles
2018-07-06 13:25:47 +02:00
gregoirenovel
d6c66f64bd
Move the features panel down the landing page
2018-07-05 12:01:28 +02:00
gregoirenovel
b9efd846a1
Invert two buttons
2018-07-05 12:00:00 +02:00
gregoirenovel
e77a693f5a
Clarify a button
2018-07-05 11:58:27 +02:00
gregoirenovel
1525adab8b
Clarify some titles
2018-07-05 11:57:56 +02:00
gregoirenovel
bae4cd4f59
Fix a typo
2018-07-04 17:42:20 +02:00
Pierre de La Morinerie
f5d3adba5e
dossiers: remove unused dossiers list code
...
This code is unused since the user dossiers list uses the new UI.
2018-07-04 12:23:49 +02:00
Pierre de La Morinerie
d7b54abd37
auth: add vertical spacing to the procedure description
...
Fix #2174
2018-07-04 12:14:50 +02:00
Pierre de La Morinerie
0b474a5b32
admin: explain purpose of the /admin/gestionnaires page
2018-07-04 12:11:00 +02:00
Pierre de La Morinerie
4ab5d30044
dossiers: move the index method to the top of the controller
2018-07-04 11:49:24 +02:00
Pierre de La Morinerie
f10205e3f5
dossiers: improve empty state wording
2018-07-04 11:43:39 +02:00
Pierre de La Morinerie
33c743ab77
helper: simplify DossierHelper.url_for_dossier
...
The argument is never an Invite
2018-07-04 11:43:39 +02:00
Pierre de La Morinerie
592331e9ac
procedures: fix double N+1 requests in new_from_existing
2018-07-03 23:55:55 +02:00
Pierre de La Morinerie
b0a9e49549
procedures: group new_from_existing list by organization
...
As procedures are not grouped by Service (which are unique to an
administrator) but by organization, this allows procedures with the same
organization name to be displayed together.
2018-07-03 23:43:42 +02:00
Pierre de La Morinerie
56987e5147
procedures: add tests for new_from_existing
2018-07-03 23:43:41 +02:00
Mathieu Magnin
d2812a4a54
Add a confirm before changing dossier state in manager
2018-07-03 13:55:10 +02:00
Pierre de La Morinerie
d1301762d4
pipedrive: fix deals when no deals are returned
2018-07-02 17:07:24 +02:00
LeSim
8b7b9b438c
Merge branch 'dev' into change_dossier_state_from_manager
2018-07-02 16:16:40 +02:00
simon lehericey
73a14c7f09
[ fix #2185 ] Messagerie: best commit ever
2018-07-02 16:11:20 +02:00
simon lehericey
49836564ce
Manager: can change dossier state to instruction
2018-07-02 15:57:39 +02:00
Pierre de La Morinerie
b4b533f0c5
dossiers: change all links to use the new user dossiers list
2018-07-02 13:58:58 +02:00
Pierre de La Morinerie
148dc164f7
dossiers: generate the correct link to see the dossier details
2018-07-02 13:58:58 +02:00
Pierre de La Morinerie
07f3effb02
dossiers: add details to the empty state
2018-07-02 13:58:58 +02:00
Pierre de La Morinerie
f2ee88b278
dossiers: put last updated dossiers first
2018-07-02 13:58:58 +02:00
Pierre de La Morinerie
f781399309
form: validate forms only when submitting dossier, not on draft saves
2018-07-02 12:30:27 +02:00
Paul Chavard
2a8dbf521d
form: fix action sent after navigating away and back again
2018-07-02 12:30:27 +02:00
Mathieu Magnin
34663db158
Translate devise view
2018-07-02 11:26:36 +02:00
Mathieu Magnin
47bc3a7ea3
Remove unused EN devise view
2018-07-02 11:26:36 +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
785c9cb9b9
[ #1421 ] API export for linked drop down menus
2018-06-28 20:06:32 +02:00
Frederic Merizen
5192929730
[ #1421 ] Format linked dropdown menus in attestations and mails
2018-06-28 20:06:32 +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
06efd9681c
[ #1421 ] Format linked dropdwon in user recapitulatif
2018-06-28 20:06:32 +02:00
Frederic Merizen
6dc79301ce
[ #1421 ] Format linked list in gestionnaire view
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
Paul Chavard
93d6d72df5
Do not copy service info when cloning from library
2018-06-28 11:33:10 +02:00
Frederic Merizen
7fdb523b1a
We can use the shorter syntax fort ordered_champs(_private)
...
now that the old preview is gone
2018-06-28 10:27:07 +02:00
Frederic Merizen
44d9f72da4
[ Fix #2147 ] Link to better France Connect about page
2018-06-28 10:09:12 +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
2f206af0d6
[ #1421 ] Make label clickable for drop-down lists
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
Mathieu Magnin
fee961ea1e
In dev env, load xray
2018-06-27 14:20:15 +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
20aeae5029
dossiers: ask heavy users for feedback
2018-06-26 18:04:04 +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
a569a566fc
header: use active_link_to for setting the active class on links
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
8c680347dd
header: leave horizontal space for both "Procedure" and "Avis"
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
Mathieu Magnin
202a1dd7ce
Show siege social siret in accompagnateur view
2018-06-26 17:45:18 +02:00
Pierre de La Morinerie
805ea0595b
identite: add mandatory asterisk to CGU field
2018-06-25 11:51:15 +02:00
Pierre de La Morinerie
a1f8baefdc
auth: fit the signup button on a single line
2018-06-25 11:51:15 +02:00
Pierre de La Morinerie
956c3fe36c
Replace hardcoded phone numbers by a CONTACT_PHONE constant
2018-06-25 11:51:15 +02:00
Pierre de La Morinerie
51e256e122
header: fix link to the contact email
2018-06-25 11:26:45 +02:00
Frederic Merizen
226e3ca562
[ #1421 ] Subject linked dropdown field to feature toggle
2018-06-21 16:19:20 +02:00
Frederic Merizen
d3df6e813c
[ #1421 ] DRY up type de champ toggles
2018-06-21 16:19:20 +02:00
Frederic Merizen
15e8d8af05
[ #1421 ] Add linked dropown fields
2018-06-21 16:19:20 +02:00
Mathieu Magnin
3058c4350f
Fix design
2018-06-21 15:02:12 +02:00
Mathieu Magnin
d0d55c796d
Merge branch 'dev' into useless-method
2018-06-21 11:38:19 +02:00
Mathieu Magnin
c49b88453f
Merge branch 'dev' into add-gestionnaires-to-procedures-manager
2018-06-21 11:22:52 +02:00
gregoirenovel
901748c5aa
Show the etablissement SIRET, not the siege social SIRET
2018-06-20 18:35:19 +02:00
gregoirenovel
3c331b65a5
Remove an unused method
2018-06-20 18:30:41 +02:00
Pierre de La Morinerie
e953481fd0
manager: display procedures on the gestionnaires page
2018-06-20 17:34:11 +02:00
Pierre de La Morinerie
99b9f42b21
manager: display gestionnaires on the procedure page
2018-06-20 17:33:59 +02:00
simon lehericey
c3610fc96e
[ fix #2067 ] Resend confirmation mail if the user is not confirmed
2018-06-20 13:30:32 +02:00
Mathieu Magnin
071e234150
Fix select2 overflow
2018-06-19 17:52:16 +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
c1db26b2e1
service: add explanation about contact infos
2018-06-19 16:23:43 +02:00
Pierre de La Morinerie
755600acf4
layout: move the landing footer to its own file
2018-06-19 16:23:43 +02:00
Frederic Merizen
e99931527b
[ #1421 ] Move pays to PaysChamp
2018-06-19 15:20:01 +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
95666238ea
[ #1421 ] Move piece justificative error code to piece justificative champ
2018-06-19 15:20:01 +02:00
Frederic Merizen
6af27a7190
[ #1421 ] Move same_hour / same_minute to typed champ
2018-06-19 15:20:01 +02:00
Frederic Merizen
41734092b2
[ #1421 ] Move type specific for_export code to typed champs
2018-06-19 15:20:01 +02:00
Frederic Merizen
ee8616fb97
[ #1421 ] Move type specific to_s implementations to typed champs
2018-06-19 15:20:01 +02:00
Frederic Merizen
c2f199c5aa
[ #1421 ] Move piece justificative specific validation to PieceJustificativeChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
c690d3819e
[ #1421 ] Move type-specific before_save to typed champs
2018-06-19 15:20:01 +02:00
Pierre de La Morinerie
426e61777c
dossier: make the "Save changes" button title more meaningful
2018-06-19 13:46:43 +02:00
Pierre de La Morinerie
a4382ac198
dossiers: asterisque
-> astérisque
2018-06-19 13:46:43 +02:00
Pierre de La Morinerie
c0da0ba52c
publish-modal: fix the textfield vertical alignement
2018-06-19 13:46:43 +02:00
Frederic Merizen
bdece939c8
[ #1568 ] Inline partial that is only used in one view
2018-06-19 12:42:46 +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
ae6e3e345e
Task to unhide dossiers with instruction commencee
2018-06-19 10:05:00 +02:00
Mathieu Magnin
89f82ba92e
Move email sending in delete method
2018-06-19 10:05:00 +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
3ba5d654ba
editable_champs: move the label near the checkbox
2018-06-18 18:12:11 +02:00
Frederic Merizen
78fa6945cb
[ #2068 ] Use official French word for mail
2018-06-18 10:42:04 +02:00
Frederic Merizen
dd4e6eaa11
[ #2068 ] Add missing devise translations
2018-06-18 10:42:04 +02:00
Frederic Merizen
bae7a2dd3c
[ Fix #2068 ] Use mail templates from application rather than devise
...
`default template_path:` was the documented way, but wasn’t working
(and there was no hint in the source code of Devise that it could
work)
Therefore, let’s override `template_paths` instead and stop worrying
2018-06-18 10:42:03 +02:00
simon lehericey
eee41cbf39
Manager: can reinvite a gestionnaire
2018-06-14 16:41:10 +02:00
Pierre de La Morinerie
0bef35946f
procedure: make sentence shorter
...
Before: "Affectez des accompagnateurs à votre procédure.Affectez un
service à votre procédure.
After: "Affectez des accompagnateurs et un service à votre procédure."
2018-06-13 11:59:40 +02:00
Pierre de La Morinerie
367ac0dd5a
procedure: avoid tooltip being hidden by the navbar
2018-06-13 11:59:40 +02:00
Frederic Merizen
fd2fd83aac
Remove erroneous space in haml
2018-06-13 10:21:57 +02:00
Mathieu Magnin
6289a719ef
Display virus scan status with pj champs
2018-06-12 15:12:39 +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
Mathieu Magnin
927cd3c6f4
Create virus scan model to store clamav result
2018-06-12 15:12:38 +02:00
gregoirenovel
c2b97c68e1
Fix an email
2018-06-11 11:56:52 +02:00
simon lehericey
e11392981d
[ fix #2072 ] DossierController: check the user can update the dossier
2018-06-08 16:24:29 +02:00
Frederic Merizen
7c6b60bfcb
Retroactively pre(?)activate users for gestionnaires and administrateurs
2018-06-08 10:49:31 +02:00
gregoirenovel
4db432a4ca
Remove Mailers module for app mailers
2018-06-07 17:23:12 +02:00
gregoirenovel
346b32fbd4
[ Fix #1736 ] Assign the deal and person to the person who accepted them
2018-06-07 16:04:15 +02:00
gregoirenovel
b88cea3c18
Change a deliver into a deliver_later
2018-06-07 15:14:26 +02:00
gregoirenovel
f06132edf1
Forgot to change a local variable into an instance variable
2018-06-07 15:05:30 +02:00
gregoirenovel
478598f74c
Add a task to destroy, regenerate, and send new attestations
...
For dossiers that were accepté, went back to
en instruction, and then were accepté again
2018-06-06 18:25:11 +02:00
Frederic Merizen
74135b193a
[ Fix #2042 ] Pre-validate users for administrateurs
...
Rather kludgy but better than the double-validation that is required now
2018-06-06 17:45:48 +02:00
Frederic Merizen
c3254eddae
[ Fix #2043 ] Pre-validate users for gestionnaires
...
Rather kludgy but better than the double-validation that is required now
2018-06-06 17:45:48 +02:00
Frederic Merizen
695f5b2705
Fix class methods on BizDev module
...
and add missing tests
2018-06-06 16:07:29 +02:00
gregoirenovel
bb3dcbbf22
Resend attestation for a procedure whose attestation template changed
2018-06-05 17:37:08 +02:00
gregoirenovel
41e8350cbe
[ Fix #1735 ] Sign the admin account creation email
2018-06-01 20:48:50 +02:00
gregoirenovel
6992bea141
Add the BizDev module
2018-06-01 20:48:50 +02:00
gregoirenovel
6be05e8fc5
Add a local variable to the bizdev_signature partial
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
gregoirenovel
efdcbe4265
[ Fix #885 ] Convert .html.erb to .html.haml
2018-06-01 17:14:48 +02:00
gregoirenovel
bd9d913a74
[ Fix #885 ] Remove unused mail templates
2018-06-01 17:14:48 +02:00
gregoirenovel
f6c1229cf0
[ Fix #1775 ] Improve the wording of the emails templates
2018-06-01 17:12:10 +02:00
gregoirenovel
42650cef72
Remove an unused file
2018-06-01 17:07:23 +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
gregoirenovel
f8f760db62
Use p tags in emails to improve legability
2018-06-01 15:42:56 +02:00
gregoirenovel
dd66089d5c
Put the title in an instance variable when needed to avoid repetition
2018-06-01 15:42:56 +02:00
gregoirenovel
1cd06b68d4
Remove extra markup from the avis invitation email
2018-06-01 15:42:56 +02:00
gregoirenovel
4f2509861b
Improve the wording of the avis email
2018-06-01 15:42:56 +02:00
gregoirenovel
bc8f74dc42
[ Fix #1858 ] Improve the avis email’s style
2018-06-01 14:11:06 +02:00
gregoirenovel
a0b82696dd
[ Fix #886 ] devise/mailer -> devise_mailer
2018-06-01 11:47:46 +02:00
gregoirenovel
8f1579fb9e
[ Fix #886 ] Move mail templates from /mails to /notification_mailers
2018-06-01 11:47:46 +02:00
gregoirenovel
464d1c1efa
Remove a useless method
2018-06-01 11:35:40 +02:00
gregoirenovel
8782bdd961
Do one thing per line
2018-06-01 11:35:40 +02:00
gregoirenovel
69e95f62c8
Remove useless methods
2018-06-01 11:35:40 +02:00
gregoirenovel
b364b8bfb3
Improve many subjects
2018-06-01 11:35:40 +02:00
gregoirenovel
d7a8a103d7
Remove the prefix from our emails’ subjects
2018-06-01 11:21:11 +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
23931a7591
Remove the contact_email locale
2018-06-01 00:00:11 +02:00
gregoirenovel
185f08f63e
Add constants for email addresses
2018-06-01 00:00:11 +02:00
gregoirenovel
a3f5ae9d0b
Add a variable to improve readability
2018-06-01 00:00:11 +02:00
gregoirenovel
8eeb10bc5c
Add parentheses
2018-06-01 00:00:11 +02:00
gregoirenovel
a60f1c434e
Improve the mailers readability
2018-06-01 00:00:11 +02:00
Frederic Merizen
b571f0706c
[ Fix #2015 ] Make sur all data is initialised for index view
2018-05-31 18:32:13 +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
Paul Chavard
e2a126e37a
Add users and gestionnaires to manager
2018-05-31 15:18:24 +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
gregoirenovel
a007d6e3eb
Avoid trailing spaces in strings
2018-05-31 14:29:38 +02:00
Frederic Merizen
2f769ca933
[ #1995 ] Add gender and birthdate fields to API
2018-05-31 14:21:37 +02:00
simon lehericey
126c2f2687
DubiousProcedure: update forbidden words
2018-05-31 13:52:33 +02:00
simon lehericey
167ca26036
ManagerDemandeView: does not bug when there is no demand
2018-05-31 13:47:42 +02:00
gregoirenovel
32a2ab153f
Remove vars_mailer and simplify code
2018-05-31 12:10:06 +02:00
gregoirenovel
2e0abb054c
Stop doing something useless
2018-05-31 12:10:06 +02:00
gregoirenovel
641f72a517
Stop relying on instance variables
2018-05-31 12:10:06 +02:00
gregoirenovel
0d8cb50a30
Introduce a local variable to improve legibility
2018-05-31 12:10:06 +02:00
gregoirenovel
8eacfa801c
Use send_mail when possible
2018-05-31 12:10:06 +02:00
gregoirenovel
02c2f681aa
Reorder some methods
2018-05-31 12:10:06 +02:00
gregoirenovel
a57e2388f6
Unify NotificationMailer methods’ signatures
2018-05-31 12:10:06 +02:00
gregoirenovel
7ea37abefa
Use a local variable instead of an instance variable
2018-05-31 12:10:06 +02:00
gregoirenovel
bb8adba9b9
Use goddamn parentheses
2018-05-31 12:10:06 +02:00
gregoirenovel
661010100d
[ Fix #1536 ] Remove stringupcasepatch
2018-05-31 11:49:25 +02:00
gregoirenovel
faa56956c5
[ Fix #1744 ] Remove useless variable
2018-05-31 11:49:25 +02:00
gregoirenovel
dc045bdefb
[ Fix #1808 ] Use &. where possible
2018-05-31 11:49:25 +02:00
Mathieu Magnin
eb1fbb7dbc
Delete button, notify user and admin then delete dossier
2018-05-30 18:01:36 +02:00
Mathieu Magnin
55a3d59e38
Create new model to store deleted dossier metadatas
2018-05-30 18:01:36 +02:00
Mathieu Magnin
b68563f45f
Only dossier owner can see delete button
2018-05-30 18:01:36 +02:00
Mathieu Magnin
28fc32db6d
Change delete button wording
2018-05-30 18:01:36 +02:00
Frederic Merizen
80e75b33c4
[ Fix #1999 ] create commentaires for AR
2018-05-30 17:12:06 +02:00
Frederic Merizen
a62adb4307
[ #1999 ] Remove dead code
2018-05-30 17:07:29 +02:00
Paul Chavard
66855e77b6
Guard for champ SIRET without etablissement
2018-05-30 15:03:44 +02:00
simon lehericey
959097ce8b
DubiousProcedure: small style adjustement
2018-05-30 14:21:41 +02:00
simon lehericey
6eadea29bc
[ fix #1952 ] DubiousProcedure: add admin contact, procedure state and dossier count
2018-05-30 14:21:41 +02:00
simon lehericey
47cc0180bd
DubiousProcedure: change forbidden keywords
2018-05-30 14:21:35 +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
gregoirenovel
3eab48c699
Simplify ApiEntrepriseService even further
2018-05-24 18:12:29 +02:00
Mathieu Magnin
cf36d7f1ed
[ Fix #1801 ] use the new string_to_html method
2018-05-24 18:05:41 +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
Paul Chavard
edc8e24ddd
Update gestionnaire filters
2018-05-24 17:54:51 +02:00
Paul Chavard
66b83b4508
Remove unused alias
2018-05-24 17:54:51 +02:00
gregoirenovel
5d188c191d
Move transform_keys calls directly to #process_params methods
2018-05-24 17:54:51 +02:00
gregoirenovel
a3fd271b00
Remove legacy
...
Update EtablissementUpdateJob
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
simon lehericey
aaebcd3494
[ fix #1701 ] Use DS form to enroll admin
2018-05-24 17:15:44 +02:00
Mathieu Magnin
aaf1bc0b99
[ Fix #1931 ] User can ask support to delete dossier
2018-05-24 16:42:16 +02:00
Paul Chavard
6345d5d153
Use new primitives in procedures controller
2018-05-23 16:31:27 +02:00
Paul Chavard
6b683cc491
procedure AASM derived state
2018-05-23 16:31:27 +02:00
Paul Chavard
550ddc8d97
procedure AASM callbacks
2018-05-23 16:31:27 +02:00
Paul Chavard
9cf87d6063
procedure AASM states and events
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
d2dc69cde0
Connection: redirect user to its procedure
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
Frederic Merizen
d1bbb8023a
Remove smartlisting workaround
...
As it was fixed upstream in 1.2.2
2018-05-23 15:53:58 +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
Paul Chavard
ffef1a644c
procedure_path should check for test and regular procedure
2018-05-23 11:32:26 +02:00
Paul Chavard
4ad3932c05
Add test_procedure to procedure_path
2018-05-23 11:32:26 +02:00
gregoirenovel
44754418f8
Add parentheses
2018-05-22 19:01:46 +02:00
gregoirenovel
a246181afd
Add API_GEO_URL
2018-05-22 19:01:46 +02:00
gregoirenovel
1839269dd9
Add API_CARTO_URL
2018-05-22 18:53:34 +02:00
Frederic Merizen
678baaf362
Unroll loop with ifs
2018-05-22 18:35:23 +02:00
Paul Chavard
785fe3410e
Clone procedure notice
2018-05-22 17:43:44 +02:00
gregoirenovel
de201fca04
Add FAQ_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
5126503cfc
Add MENTIONS_LEGALES_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
dc962f0c0a
Add LISTE_DES_DEMARCHES_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
5e2219416e
Add the DOC_URL constant
2018-05-22 17:23:56 +02:00
Paul Chavard
0a07e9983a
Fix test with ordering failures
2018-05-22 16:24:24 +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
0be21395ac
[ fix #1829 ] Service: add breadcrumbs
2018-05-18 16:21:26 +02:00
simon lehericey
0cb910f38a
Style: extract and rename accompagnateur-header to sub-header
2018-05-18 16:21:26 +02:00
simon lehericey
304c04275c
Admin Nav Bar: link to new service if no service available
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
abccdab6ab
Admin Procedure Show: simple cleaning
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
a8f2528dcd
Add services to procedure admin menu
2018-05-18 16:21:26 +02:00
Frederic Merizen
ec21f78274
Cosmetic refactor left procedure admin panel
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
bda0ca8188
Service: sort services by name in index
2018-05-18 16:21:26 +02:00
simon lehericey
4d0a920e7a
Service: add index page
2018-05-18 16:21:26 +02:00
simon lehericey
fc17b68dc1
Service: create model
2018-05-18 16:21:26 +02:00
Paul Chavard
2b8ee92074
Add aasm_state to procedures
2018-05-17 14:46:48 +02:00
Paul Chavard
da8ad1f3e2
Remove external scripts from mailjet widget
2018-05-17 13:27:27 +02:00
simon lehericey
95db5e5767
[ fix #1560 ] update logo in mail
2018-05-15 12:27:28 +02:00
Paul Chavard
0c54220c2b
Add test_started_at to procedures
2018-05-15 11:00:20 +02:00
Mathieu Magnin
748300fcf7
[ Fix #1896 ] fix typo
2018-05-11 13:52:06 +02:00
Frederic Merizen
26f9ec0122
[ Fix #1825 ] Also show previews for archived procedures
2018-05-09 18:28:41 +02:00
Frederic Merizen
4308535450
[ Fix #1833 ] Remove library button from new procedure from scratch screen
2018-05-09 16:16:43 +02:00
Frederic Merizen
93e068421b
[ #1833 ] New procedure button defaults to procedure library
2018-05-09 16:16:09 +02:00
Frederic Merizen
5fd5c3ee5b
[ #1833 ] Add ‘create from scratch’ button to procedure library
2018-05-09 16:15:19 +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
dcdd431bc0
[ Fix #1907 ] set activation reminder delay to 3 days to allow administrateurs to activate their account with the original message after the weekend
2018-05-04 14:23: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
gregoirenovel
f020fa9e2b
Remove some useless self mentions
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
Paul Chavard
8637a3015e
Simplify Procedure#generate_export code
2018-05-03 23:35:51 +02:00
gregoirenovel
031522cf42
Checking on entreprise has no sense, check etablissement
2018-05-03 23:35:51 +02:00
gregoirenovel
12cda1739b
#export_entreprise_data
-> #export_etablissement_data
2018-05-03 23:35:51 +02:00
gregoirenovel
5cdd7b48b1
Add a link to the available demarches
2018-05-02 17:09:38 +02:00
gregoirenovel
291259deb8
On the landing page, show the Usagers panel first
2018-05-02 17:09:38 +02:00
Mathieu Magnin
3e50903b66
[ Fix #1873 ] Add pre maintenance warning
2018-05-02 16:52:38 +02:00
simon lehericey
bb4d29ee8f
[ fix #1855 ] Gestionnaire: are now invited to create their password
2018-04-27 14:10:06 +02:00
Paul Chavard
d9dbf7b7f9
Remove legacy features support
2018-04-26 16:28:45 +02:00
gregoirenovel
47323ffbf1
[ #1872 ] Managers can enable feature flags from UI
2018-04-26 16:28:45 +02:00
gregoirenovel
09909b9293
[ Fix #1835 ] Transférer -> Envoyer une copie
2018-04-26 15:19:18 +02:00
simon lehericey
3d53366678
[ fix #1877 ] add maintenance mode
2018-04-26 15:06:34 +02:00
Paul Chavard
482b306920
Show enabled features for admins in manager
2018-04-25 15:42:45 +02:00
Paul Chavard
a5835a9777
Merge branch 'dev' into frederic/fix_1865_api_expose_pj_champ
2018-04-25 15:30:44 +02:00
simon lehericey
6b422ceb7a
[ #1868 ] ProcedureController: rescue date parsing
2018-04-25 12:03:39 +02:00
Paul Chavard
e76e17895a
Flipflop should check administrateur id not user id
2018-04-25 11:06:40 +02:00
Frederic Merizen
5b9f25271f
[ Fix #1865 ] Expose attachment field over API
2018-04-24 20:29:25 +02:00
simon lehericey
e5b5913d29
[ fix #1824 ] link preview button to preview page
2018-04-24 16:54:05 +02:00
simon lehericey
48c5d5a917
Procedure Preview: add annotations preview
2018-04-24 16:54:05 +02:00
simon lehericey
366ef2d2b5
Procedure: add new preview view
2018-04-24 16:54:05 +02:00
simon lehericey
1da69a7730
Dossier: extract edition view to shared template
2018-04-24 16:50:32 +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
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
45019ce75c
Use Flipflop instead of Feature
2018-04-18 16:51:21 +02:00
Paul Chavard
7dd0611a28
Add link to features UI to manager dashboard
2018-04-18 16:51:21 +02:00
Paul Chavard
3f3358db16
Add flipflop config
2018-04-18 16:51:21 +02:00
gregoirenovel
09e0144f30
Bump gems
...
- apipie-rails
- brakeman
- byebug
- rubocop
- turbolinks
- skylight
- chartkick
- devise
- dotenv-rails
- uglifier
- web-console
- font-awesome-rails
- pg
- deep_cloneable
- delayed_job_active_record
2018-04-17 17:24:10 +02:00
Paul Chavard
c3915234c4
Champ SIRET Spinner
2018-04-17 13:49:02 +02:00
simon lehericey
7f788c4f06
[ fix #1826 ] Library: add contact link
2018-04-16 11:28:22 +02:00
Frederic Merizen
35e1030eed
Also create users for avis gestionnaires
2018-04-12 16:40:24 +02:00
Frederic Merizen
ff3dc32de3
Do not send fake password to users upgraded to gestionnaires
2018-04-12 16:40:24 +02:00
Frederic Merizen
faeac3c31d
After activating an admin account, log them into all of their roles
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
5667cfe747
[ fix #675 ] upload notice in DS
2018-04-12 10:44:58 +02:00
Mathieu Magnin
7cf21d5171
User header should not display the 'go to user interface' button
2018-04-10 18:08:28 +02:00
Paul Chavard
07ed83f99f
Merge branch 'dev' into renaming
2018-04-10 15:10:10 +02:00
gregoirenovel
03c045aa1a
Don’t reinvent the wheel with number_to_currency
2018-04-10 12:35:47 +02:00
gregoirenovel
be672e19bc
ApiEntrepriseService #fetch -> #get_etablissement_params_for_siret
2018-04-10 12:26:06 +02:00
gregoirenovel
ace8441ec7
SIRETService -> ApiEntrepriseService
2018-04-10 12:24:49 +02:00
simon lehericey
bb6e94e76e
[ fix #932 ] Display pj template to usager
2018-04-09 18:19: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
Mathieu Magnin
2f8206edd5
[ Fix #1799 ] Extract bizdev signature to prepare reuse
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
gregoirenovel
26b66aac96
Improve a method name
2018-04-09 09:54:11 +02:00
gregoirenovel
136f15b89c
Improve some variable names
2018-04-09 09:54:11 +02:00
gregoirenovel
4c24c8346a
Use better names for PipedriveService methods
2018-04-09 09:54:11 +02:00
gregoirenovel
71e9a6056d
Structure the helpers methods the same way
2018-04-09 09:54:10 +02:00
gregoirenovel
c5953f8aef
Use .join to generate urls (unification)
2018-04-09 09:54:10 +02:00
gregoirenovel
298d7d050c
Mutualize some code in Pipedrive::API#put
2018-04-09 09:54:10 +02:00
gregoirenovel
e688fc4212
Mutualize some code in Pipedrive::API#get
2018-04-09 09:54:10 +02:00
gregoirenovel
d202e0173e
Mutualize some code in Pipedrive::API#get
2018-04-09 09:54:10 +02:00
gregoirenovel
d287eb0e5f
Create Pipedrive::API get helpers
2018-04-09 09:54:10 +02:00
gregoirenovel
4ff07f2b93
Mutualize a call Pipedrive::API.put
2018-04-09 09:54:10 +02:00
gregoirenovel
e31b839e0c
Create Pipedrive::API put helpers
2018-04-09 09:54:10 +02:00
gregoirenovel
1f226d882c
Dont use the class << self
pattern
2018-04-09 09:54:10 +02:00
gregoirenovel
e71d3a76fa
Refactor Pipedrive: create adapters and an API files
2018-04-09 09:54:10 +02:00
gregoirenovel
82d6f0b8a8
Add a method name to better separate responsabilities
...
Also rename a method to better reflect what it does
2018-04-09 09:54:10 +02:00
Frederic Merizen
6ed7ae4b53
[ Fix #1809 ] Handle non-champ tags in attestation
2018-04-06 19:22:42 +02:00
gregoirenovel
c60c58ff8b
Fix issues spotted by @fredZen in #1802
2018-04-06 16:39:54 +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
simon lehericey
2e3f72bc56
[ fix #1805 ] Notice: display notice only if needed
2018-04-06 12:32:22 +02:00
Frederic Merizen
b27218c7c4
[ #1563 ] Display attestation / closed mail discrepancy alert in admin interface
...
- When changing emails
- When changing attestation
- As a safety net, on summary page
2018-04-06 10:18:56 +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
d71aabd291
Job to fetch missing etablissement
2018-04-05 14:52:29 +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
b15be89e0c
[ fix #1797 ][ fix #1063 ] Add notice link to dossier modifier
2018-04-04 18:05:55 +02:00
gregoirenovel
616e0041a5
Add an empty state for carto
...
Avoids parsing errors
2018-04-04 16:35:30 +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
simon lehericey
1f536c94ab
Individual: missing individual part in old controller
2018-04-04 12:25:54 +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
db0937d1eb
[ #1563 ] Allow default template name to depend on procedure
2018-04-04 10:44:40 +02:00
Frederic Merizen
7bf7347b9c
[ #1563 ] Clarify constant’s role
2018-04-04 10:44:40 +02:00
Frederic Merizen
66aca60957
[ #1563 ] Remove useless self keywords
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
Frederic Merizen
abf938ff1b
[ #1563 ] Generalise external link generation for mails
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
9749365cc7
Etape2 individual: procedure with individual uses the new system
2018-04-03 18:39:48 +02:00
simon lehericey
8828663880
Individual: save the birthdate in Y
2018-04-03 16:23:15 +02:00
Paul Chavard
ee5a3852b5
Show procedure link in manager view
2018-04-03 15:15:27 +02:00
gregoirenovel
3a3afc5797
Remove a now useless flash message
2018-04-03 14:12:56 +02:00
simon lehericey
ce2f076ace
Dossiers show: add notification-col class to avoir weird display
2018-04-03 13:33:27 +02:00
simon lehericey
6fa4fc0046
DossierController: factorize page logic
2018-04-03 13:33:25 +02:00
simon lehericey
05ab4c5ca6
DossierController: add tab for dossiers invites
2018-04-03 13:32:41 +02:00
simon lehericey
0bff7abb0c
User: add has many relation to dossiers_invites
2018-04-03 10:48:46 +02:00
simon lehericey
4ec6c72c96
[ fix #1755 ] clean GeoJSON polygones before save
2018-03-30 16:15:30 +02:00
gregoirenovel
fe333674a0
Remove any reference to our old name
2018-03-30 07:42:09 +02:00
Paul Chavard
fd8674dffc
Give procedure_id to SIRETService
2018-03-29 17:57:09 +02:00
Paul Chavard
a9f078265a
Add STI types de champ models
2018-03-29 17:45:19 +02:00
Paul Chavard
e8f3fda1f0
Add STI champ models
2018-03-29 17:45:19 +02:00
Mathieu Magnin
acc68bc050
[ Fix #1729 ] Do not allow <code> tags in template editors
2018-03-29 17:23:29 +02:00
Frederic Merizen
33f7b03ff2
[ Fix #1677 ] Do not show 'submit' button to invités
2018-03-29 17:03:58 +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
b606afee3f
[ #1677 ] Extract NewUser::DossiersController#owns_dossier?
2018-03-29 17:02:10 +02:00
Frederic Merizen
baf881a38b
[ #1677 ] Remove no-operation
2018-03-29 17:02:10 +02:00
Frederic Merizen
839a5d43f6
[ #1677 ] Allow invites to edit dossiers
2018-03-29 17:02:10 +02:00
Frederic Merizen
13d7149b5c
[ #1677 ] Extract Dossier#invite_for_user
2018-03-29 16:59:16 +02:00
Frederic Merizen
884c430619
[ #1677 ] No need to use emails when we have users
2018-03-29 16:59:16 +02:00
simon lehericey
b2f04e2503
Usager UI: simple dossier index
2018-03-29 16:23:10 +02:00
simon lehericey
48ddb4cfb6
Dossier status: add brouillon label
2018-03-29 16:23:10 +02:00
simon lehericey
88d46594e9
Dossier status: move partial dans shared
2018-03-29 16:23:10 +02:00
gregoirenovel
094ccecc01
Rename Adapter’s siret_or_siren to siret
2018-03-29 16:06:14 +02:00
gregoirenovel
8938a5b40d
Delete SiretService.siren, move its code to EntrepriseAdapter#get_resource
2018-03-29 16:06:14 +02:00
gregoirenovel
cc9e318210
Add a comment to explain why we reject 206 responses
2018-03-29 15:36:41 +02:00
gregoirenovel
67cf614879
Mutualize some code on ApiEntreprise::Adapter
2018-03-29 11:44:59 +02:00
gregoirenovel
5f1394cd7f
ExercicesAdapter#to_array -> ExercicesAdapter#to_params
2018-03-29 11:44:59 +02:00
gregoirenovel
54ab0ec5f0
Extract code in a #handle_legacy_models! method
2018-03-29 11:44:59 +02:00
gregoirenovel
68c9849977
Mutualize the adapters’ #data_source methods
2018-03-29 11:44:59 +02:00
gregoirenovel
a9360a8be2
Mutualize Adapter initialization in a class and method
2018-03-29 11:44:59 +02:00
Frederic Merizen
2d6a780714
[ Fix #1750 ] Allow newlines in procedure descriptions as paragraph breaks
2018-03-29 11:26:53 +02:00
Frederic Merizen
bdf2831209
[ Fix #1691 ] Do not attempt to 'wrap' <p>s in other <p>s
...
It cannot be done because <p>s don't nest in HTML, so use
<div>s for the wrapping instead
2018-03-29 11:20:17 +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
f343e08ce2
Remove trailing spaces
2018-03-28 15:06:03 +02:00
gregoirenovel
681e33b850
Simplify RNAAdapter#to_params and unify the type of objects it returns
2018-03-28 10:55:15 +02:00
gregoirenovel
caf2e50954
Make #to_params return blank hashes if we have no data
2018-03-28 10:55:15 +02:00
gregoirenovel
0022ea71c5
Use #transform_keys instead of .map.to_h
2018-03-28 10:55:14 +02:00
gregoirenovel
7794973774
Simplify SIRETService#fetch
2018-03-28 10:55:14 +02:00
gregoirenovel
4b6b583120
Delete useless return statements
2018-03-28 10:55:14 +02:00
gregoirenovel
94a257f5b0
Add missing spaces
2018-03-28 10:55:14 +02:00
gregoirenovel
de483ac0f6
Format all attr_to_fetch methods the same way
2018-03-28 10:55:14 +02:00
gregoirenovel
b479833699
Reduce method calls
2018-03-28 10:55:14 +02:00
gregoirenovel
8b46df3176
Add a new variable to improve readability
2018-03-28 10:55:14 +02:00
gregoirenovel
3dd76c3d68
Remove useless success? methods
2018-03-28 10:55:14 +02:00
gregoirenovel
a9c1c9f551
Improve #success? methods
2018-03-28 10:55:14 +02:00
gregoirenovel
19add3f534
Use if-flows instead of rescue-flows
2018-03-28 10:55:14 +02:00
gregoirenovel
182afee970
to_params -> to_array
2018-03-28 10:52:54 +02:00
gregoirenovel
3e16eff9a0
Unify data_source methods
2018-03-28 10:50:27 +02:00
simon lehericey
07c9830da0
[ fix #1550 ] unify HS and activation mail, send doc as well
2018-03-27 18:09:27 +02:00
Paul Chavard
2f68b7c4b3
Tweak timeout API Entreprises
2018-03-27 17:59:51 +02:00
Paul Chavard
5ae8eb3383
Lower timeout for API Entreprise
2018-03-27 17:16:56 +02:00
simon lehericey
66a113c7db
Dossier: remove uncessary query on order_champ_v2
2018-03-27 16:48:38 +02:00
simon lehericey
8ac5415ce0
DossierController: avoid unecessary user fetch
2018-03-27 16:48:38 +02:00
simon lehericey
289ddb5419
[ fix #1670 ] Manager send the refused admin email
2018-03-27 16:02:09 +02:00
simon lehericey
d0431a28f2
Pipedrive: manager can refuse a deal
2018-03-27 15:56:28 +02:00
simon lehericey
2102130fa3
Pipedrive: allow super admin to choose target pipeline
2018-03-27 14:52:39 +02:00
simon lehericey
6a74aaa42a
[ fix #1697 ] Pipedrive: use a job to process an admin creation
2018-03-27 14:52:39 +02:00
simon lehericey
31adc8e990
Pipedrive: Rename pipedrive_dev_id
2018-03-27 14:52:39 +02:00
simon lehericey
ec3d558af0
Pipedrive: extract methods in service
2018-03-27 14:52:39 +02:00
Paul Chavard
6b7d0ccb82
Remove unused rescue in SIRET form controller
2018-03-27 13:56:22 +02:00
Paul Chavard
2fc03e9079
Handle ajax errors on SIRET form
2018-03-27 13:56:22 +02:00
Paul Chavard
a17ac5a9db
Remove debug logger
2018-03-26 17:44:51 +02:00
Paul Chavard
2505419b08
Treat partial success from api entreprises as errors
...
We might refine this later, but for now this will give an error instead of unspecified state
2018-03-26 17:44:37 +02:00
Paul Chavard
f35aef0eb6
Use Typhoeus and set agressive timeouts
2018-03-26 16:53:42 +02:00
gregoirenovel
2385548a03
[Ref #1626 ] Add the administrateurs_procedures table and associations
2018-03-23 11:40:03 +01:00
gregoirenovel
5b04fa2a4c
[ Fix #1687 ] Align sign in/up form to the top
2018-03-22 17:16:39 +01:00
Frederic Merizen
cab670b1ad
[ #1677 ] Simplify code
2018-03-22 16:40:57 +01:00
Frederic Merizen
c413dfa127
[ #1677 ] No longer create InviteGestionnaire
s
2018-03-22 16:40:57 +01:00
simon lehericey
9eb28faa10
[ fix #1601 ] accept demandes in manager
2018-03-22 15:37:16 +01:00
simon lehericey
9e566596fa
[ fix #1601 ] show pipedrive demandes in manager
2018-03-22 15:37:16 +01:00
Frederic Merizen
2fa88a432b
Add missing brackets around parameters in method definitions
2018-03-20 17:54:51 +01:00
gregoirenovel
862d8051c8
Fix contact link on the landing page
2018-03-20 17:15:41 +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
gregoirenovel
5658aae96b
SIADE -> ApiEntreprise
2018-03-19 11:39:46 +01:00
gregoirenovel
96f78b6213
data_source methods can be private
2018-03-19 11:39:46 +01:00
gregoirenovel
9a7e13f72f
Mutualise a JSON#parse call
2018-03-19 11:39:46 +01:00
gregoirenovel
57b42e24e5
SIADEURL -> API_ENTREPRISE_URL
2018-03-19 11:39:46 +01:00
gregoirenovel
658bd95f86
Add a constant to SIADEURL
2018-03-19 11:39:46 +01:00
gregoirenovel
a0a56d6f67
Add a variable for legibility
2018-03-19 11:39:46 +01:00
gregoirenovel
5628eba0a4
mandatory_params -> params
2018-03-19 11:39:46 +01:00
gregoirenovel
b71b8ea8e0
Refactor the url method
2018-03-19 11:39:46 +01:00
gregoirenovel
92e0e4c231
Remove the base_url method
2018-03-19 11:39:46 +01:00
gregoirenovel
51c030b945
Move the URL computation to a private method
2018-03-19 11:39:46 +01:00
gregoirenovel
94176f0b53
Pass a resource instead of a url to #call
2018-03-19 11:39:46 +01:00
gregoirenovel
330f99de8a
Mutualise part of the URL
2018-03-19 11:39:46 +01:00
gregoirenovel
2c18541256
Mutualise base_url call
2018-03-19 11:39:46 +01:00
gregoirenovel
6902f502d3
Mutualise mandatory_params call
2018-03-19 11:39:46 +01:00
gregoirenovel
9daf0ee608
Remove useless attribute default
2018-03-19 11:39:46 +01:00
gregoirenovel
df06850d5d
Remove unused images
2018-03-19 11:29:27 +01:00
Mathieu Magnin
621f8143bd
[ Fix #1654 ] Generate procedure export filename with libelle
2018-03-19 11:16:05 +01:00
gregoirenovel
19a2398593
[ Fix #1644 ] In API, current_administrateur -> administrateur
2018-03-19 11:09:30 +01:00
Mathieu Magnin
4e2af06423
Use root_url in admin creation mail
2018-03-19 11:02:36 +01:00
Frederic Merizen
d60765880f
Fix authentication token description
2018-03-16 10:10:43 +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
gregoirenovel
29f35f29a9
[ Fix #1628 ] Change phone number
2018-03-15 15:05:52 +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
6c669ccc39
[ Fix #1614 ] Show newlines for textarea champs
2018-03-15 12:21:00 +01:00
Frederic Merizen
610058c534
[ Fix #1619 ] Do not consider invitations to deleted dossiers
2018-03-15 11:32:21 +01:00
gregoirenovel
031b9c0bab
Update documentation links to GitBook v2
2018-03-15 09:37:24 +01:00
Mathieu Magnin
69f8353b2f
[ Fix #1479 ] Sanitize Avis email before validation
2018-03-14 17:41:47 +01:00
Mathieu Magnin
a00114d03d
[ Fix #1479 ] Sanitize User email before validation
2018-03-14 17:41:47 +01:00
Mathieu Magnin
8731f7c63b
[ Fix #1479 ] Sanitize Administrateur email before validation
2018-03-14 17:41:47 +01:00
Mathieu Magnin
d9c562c59d
[ Fix #1479 ] Sanitize Gestionnaire email before validation
2018-03-14 17:41:46 +01:00
Mathieu Magnin
38e1609d73
[ Fix #1479 ] Validate Avis email format
2018-03-14 17:41:46 +01:00
Mathieu Magnin
247526578c
[ Fix #1479 ] Avis creation can fail gracefully
2018-03-14 17:41:46 +01:00
Mathieu Magnin
ba3b0b4687
[ Fix #1479 ] Remove unused email format validator
2018-03-14 17:41:46 +01:00
Mathieu Magnin
5650c4aefe
[ Fix #1479 ] Sanitize email format for invite
2018-03-14 17:41:45 +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
gregoirenovel
4ec782ab15
[ Fix #1599 ] Add rel attribute to target blank links
2018-03-14 16:57:39 +01:00
gregoirenovel
8bf09ac2d4
Do not center balises
2018-03-14 16:45:34 +01:00
gregoirenovel
3f92fe9755
[ Fix #1589 ] Keep all the balises’ spaces
2018-03-14 16:45:34 +01:00
Mathieu Magnin
a90a719d9a
Improve dossier readability with wider libelles
2018-03-14 16:24:04 +01:00
Mathieu Magnin
96b1c83537
Align identite headers to dossier champs headers
2018-03-14 16:24:04 +01:00
Mathieu Magnin
ac068861f5
[ Fix #1607 ] Add email to dossier details
2018-03-14 16:24:03 +01:00
Mathieu Magnin
734950f36b
[ Fix #1609 ] Fix buttons on 2 lines
2018-03-14 12:05:50 +01:00
gregoirenovel
092df8e8af
Change a reply_to email address
...
equipe@ is an internal email address
2018-03-14 11:50:22 +01:00
gregoirenovel
53ad9d3611
[ Fix #1591 ] Add rel attribute to target blank links
2018-03-13 11:24:12 +01:00
gregoirenovel
657b9d2e93
Change link to doc
2018-03-12 17:51:39 +01:00
Mathieu Magnin
5b07f59ffb
fix data tag without a value attribute
2018-03-08 23:18:49 +01:00
Mathieu Magnin
df625f3b6c
fix spaces in href
2018-03-08 23:10:03 +01:00
Mathieu Magnin
b1584ff739
fix target _blank
2018-03-08 23:03:58 +01:00
gregoirenovel
eb977ab798
[ Fix #1565 ] Improve accessibility of the landing page
...
- Improve the alt text for the header logo
- Empty alt text for decorative images
- Improve the alt text for the logos of our users
- Improve the alt text for footer logos
2018-03-08 15:25:37 +01:00
Paul Chavard
5faf4cdd84
Remove all references to old STI
2018-03-08 14:17:04 +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
Paul Chavard
6ef141b014
Build instead of create etablissement
2018-03-07 17:43:44 +01:00
Paul Chavard
19b58a298c
Clarify dependent relationships between etablissement and entreprise
2018-03-07 17:42:31 +01:00
Paul Chavard
d5f620a163
Mark 1to1 nested relationships as update_only
to avoid creating multiple associations
...
This fixes the invalid entreprises without etablissements
2018-03-07 17:42:02 +01:00
Mathieu Magnin
109b48ad01
[ Fix #1573 ] Display multiples spaces from libelle in attestation tags
2018-03-07 17:22:43 +01:00
Mathieu Magnin
22f0767625
[ Fix #1566 ] Do not set buttons height on landing
2018-03-07 11:51:47 +01:00
Frederic Merizen
0e0d17e5eb
Merge branch 'image_optim' into dev
...
Closes #1558
2018-03-07 11:06:08 +01:00
gregoirenovel
ca061dc12f
Add alt descriptions for images
2018-03-06 17:37:37 +01:00
gregoirenovel
55608414ad
Improve the title format
2018-03-06 17:37:09 +01:00
gregoirenovel
bbcf945a8b
Add missing titles to some pages
2018-03-06 17:37:09 +01:00
Guillaume RISCHARD
cb0ea02751
Restauration des svg qui n'ont pas supporté svgcleaner
2018-03-06 17:25:35 +01:00
gregoirenovel
0a9f442260
Enable some Rails cops
2018-03-06 17:18:44 +01:00
gregoirenovel
da3d9d403a
Enable some more cops
2018-03-06 17:18:44 +01:00
gregoirenovel
7489b8d1aa
Avoid assignments in conditions
2018-03-06 17:18:44 +01:00
Mathieu Magnin
4205f14742
fix old navbar
2018-03-06 17:11:46 +01:00
Guillaume RISCHARD
0544ac3ffe
Modifications d'accessibilité au template de base
2018-03-06 16:19:08 +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
gregoirenovel
be5849a7f5
Remove unneeded quotes
2018-03-05 19:21:20 +01:00
Mathieu Magnin
875766279d
[ Fix #1510 ] Send email after dossier is received
2018-03-05 19:08:17 +01:00
Mathieu Magnin
cc648fcdb3
Log siret behaviour to investigate Sentry #2371
2018-03-05 17:46:42 +01:00
gregoirenovel
b33fd6dd37
Fix rubocop warnings
2018-03-02 15:42:20 +01:00
gregoirenovel
4d8315b997
Change the FAQ URL
2018-03-02 10:30:47 +01:00
gregoirenovel
fcfa35e34d
Improve the subject of the “request an account” link
2018-03-02 10:30:47 +01:00
gregoirenovel
ea4899de06
Improve the wording of a feature
2018-03-02 10:21:36 +01:00
Mael
40c0546efd
typo
2018-03-01 18:27:48 +01:00
gregoirenovel
84ffee66da
Fix a typo
2018-03-01 13:09:08 +01:00
gregoirenovel
740fa86391
Update the contact panel
2018-03-01 12:13:18 +01:00
gregoirenovel
7cca5bbf64
Add the roles panels
2018-03-01 12:13:18 +01:00
gregoirenovel
d09a63bd62
Add more quotes
2018-03-01 12:13:18 +01:00
gregoirenovel
950e105ca6
Change a number in the numbers panel
2018-03-01 12:13:18 +01:00
gregoirenovel
3f39c894c6
Update the users panel
...
- Change its title
- Add more users
2018-03-01 12:13:18 +01:00
gregoirenovel
c6318c666f
Change the features panel
2018-03-01 12:01:57 +01:00
gregoirenovel
02552c7a7f
Change the tagline
2018-03-01 12:01:57 +01:00
gregoirenovel
c52436d8f3
Remove an unexpected file
2018-03-01 12:01:57 +01:00
simon lehericey
82327b0231
champ description: add simple_format and links
2018-03-01 11:28:01 +01:00
simon lehericey
28c4dde96d
_explication: display champ.description instead of champ.value
2018-03-01 11:25:57 +01:00
gregoirenovel
f897901573
Use a cooler red for alerts
2018-03-01 11:03:29 +01:00
gregoirenovel
479f8b192d
Improve the logo display on the landing page
2018-03-01 10:33:53 +01:00
gregoirenovel
b784036a12
Warn of name change on the landing page
2018-03-01 10:33:53 +01:00
gregoirenovel
67da280fa0
Change logos that included “tps”
2018-03-01 10:33:53 +01:00
gregoirenovel
26d3cb1f3b
Change a wrong email address
2018-03-01 10:33:53 +01:00
gregoirenovel
0af270faa0
tps.apientreprise.fr -> demarches-simplifiees.fr
2018-03-01 10:33:53 +01:00
gregoirenovel
fbe431f8dd
Téléprocédures simplifiées -> demarches-simplifiees.fr
2018-03-01 10:33:53 +01:00
gregoirenovel
17421e54cc
In JS, TPS -> DS
2018-03-01 10:33:53 +01:00
gregoirenovel
1b8b6a3274
TPS -> demarches-simplifiees.fr
2018-02-28 18:14:06 +01:00
gregoirenovel
e2366ce658
Improve the footer
2018-02-28 18:09:20 +01:00
gregoirenovel
1e59294c84
Add the Muti Italic font
2018-02-28 18:09:20 +01:00
simon lehericey
eb937649a1
new user: thanks page
2018-02-28 17:34:27 +01:00
Paul Chavard
94a503a2c4
Fix create dossier with siret
2018-02-28 17:16:03 +01:00
simon lehericey
e44cd643b2
IdentiteEntreprise: add safe navigator to access to rna information
2018-02-28 15:34:59 +01:00
simon lehericey
c343972b87
editable_champ: move partials path
2018-02-27 18:36:29 +01:00
simon lehericey
abc9068412
DossierController: allow upload of empty
2018-02-27 17:39:17 +01:00
gregoirenovel
f17420ae4a
Improve the accessibilité page
2018-02-27 16:36:16 +01:00
gregoirenovel
7e2e249ade
Introduce the footer logos
2018-02-27 16:36:16 +01:00
gregoirenovel
31dcee9013
Make the DINSIC logo BIGGER
2018-02-27 16:36:16 +01:00
gregoirenovel
03559eec0b
Remove some footer voodoo to simplify things
2018-02-27 16:36:16 +01:00
Paul Chavard
896518f3d5
add SIRETService
2018-02-27 16:22:53 +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
6ff1d6cb18
[ fix #1411 ] user: add a link to users dossiers
2018-02-27 15:24:51 +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
simon lehericey
5aa9a5ac6c
EditableChamp: seen_at is optional
2018-02-27 14:51:28 +01:00
Mathieu Magnin
87bb7f6122
Merge branch 'dev' into fix_1185-optional_siret
2018-02-26 22:50:38 +01:00
gregoirenovel
3e02c62f45
Add the DINSIC logo to the footer
2018-02-26 17:45:17 +01:00
gregoirenovel
2284e9b40a
Change SVG colors
2018-02-26 17:45:17 +01:00
gregoirenovel
4e8dcb08a7
Change CSS colors
2018-02-26 17:45:17 +01:00
gregoirenovel
6ff1e51847
Ministère de l’environnement -> MTES
2018-02-26 17:45:17 +01:00
Mathieu Magnin
2b6edc0fa4
Remove unused procedure_filter
2018-02-26 17:25:28 +01:00
gregoirenovel
917c6b8a32
Fix accessibilite link
2018-02-26 17:08:23 +01:00
Frederic Merizen
1b528ebc31
[ #1152 ] Unlock optional SIRET for gestionnaires
2018-02-26 17:06:23 +01:00
simon lehericey
2b3672979b
PieceJustificative: fix gestionnaire view when pj champ is not filled
2018-02-26 15:59:57 +01:00
gregoirenovel
9c93000e69
[ Fix #1468 ] Add Accessibilité page
2018-02-26 15:48:10 +01:00
gregoirenovel
f928b6cdeb
[ Fix #1476 ] Add Mentions légales link
2018-02-26 15:48:10 +01:00
gregoirenovel
280deea805
[Ref #1170 ] Fix a typo in #1267
2018-02-26 15:35:20 +01:00
Mathieu Magnin
6f1e103e89
Add browserstack logo to get opensource account
2018-02-26 14:01:14 +01:00
simon lehericey
b30d0c2785
GoogleAnalytics: remove
2018-02-26 13:46:18 +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
ac6ba40598
Unscope the procedures on Gestionnaire and add #visible_procedures
2018-02-23 17:12:58 +01:00
gregoirenovel
948a29aea2
Use link_to helper
2018-02-23 17:12:24 +01:00
gregoirenovel
08f364ccdc
Add constants
2018-02-23 17:12:24 +01:00
gregoirenovel
86d867a7ea
Add more precise info messages
2018-02-23 17:12:24 +01:00
gregoirenovel
1b1460c191
Move a service to the gestionnaire model
2018-02-23 17:12:24 +01:00
gregoirenovel
dc9430b015
Bump more gems
...
- administrate
- fog
- openid_connect
2018-02-23 17:08:13 +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
377e4d689a
Gestionnaire Namespace: fix send_dossier
2018-02-23 13:45:21 +01:00
simon lehericey
f39fe88fb0
Gestionnaire: missing gestionnaire_dossier_url
2018-02-22 17:02:20 +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
7bb8849d80
Gestionnaire: move attestation_dossier_path to attestation_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
a752627d00
Gestionnaire: move recherche_path to gestionnaire_recherche_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
b59f9f6117
Gestionnaire: move commentaire_avis_path to commentaire_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
bdce6aff2e
Gestionnaire: move print_dossier_path to print_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
9c829422e0
Gestionnaire: move position_dossier_path to position_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
df167dbfb9
Gestionnaire: move envoyer_a_accompagnateur_dossier_path to envoyer_a_accompagnateur_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
1e341fefd0
Gestionnaire: move terminer_dossier_path to terminer_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
7cd3ed3955
Gestionnaire: move repasser_en_construction_dossier_path to repasser_en_construction_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
ddff38452d
Gestionnaire: move passer_en_instruction_dossier_path to passer_en_instruction_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
09c3064dd1
Gestionnaire: move commentaire_dossier_path to commentaire_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
c0793751fa
Gestionnaire: move annotations_dossier_path to annotations_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
129ebdd403
Gestionnaire: move archive_dossier_path to archive_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
b07516c41d
Gestionnaire: move follow_dossier_path to follow_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
a416efc49a
Gestionnaire: move personnes_impliquees_dossier_path to personnes_impliquees_gestionnaire_dossier_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
simon lehericey
7c364ce745
Gestionnaire: move download_dossiers_procedure_path to download_dossiers_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
d1079fda8b
Gestionnaire: move remove_filter_procedure_path to remove_filter_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
bbd31ec3a4
Gestionnaire: move add_filter_procedure_path to add_filter_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
c0229813f1
Gestionnaire: move update_sort_procedure_path to update_sort_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
b76237d2ad
Gestionnaire: move update_displayed_fields_procedure_path to update_displayed_fields_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
Mathieu Magnin
1bc93b7235
[ Fix #1456 ] When job crashed notify Sentry
2018-02-22 10:28:24 +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
3efcadd855
[ Fix #1164 ] Do not show profile switcher for current profile
2018-02-21 15:16:30 +01:00
Mathieu Magnin
6ed1d7f833
[Fix 1413] User header should not contain accompagnateurs links
2018-02-21 14:22:59 +01:00
Paul Chavard
5470141ca4
Moulinette™ STI Champ et TypeDeChamp
2018-02-20 16:13:40 +01:00
Paul Chavard
2cf0985585
Show notifications on dossiers terminé
...
Closes #1138
2018-02-20 15:54:36 +01:00
Paul Chavard
55f15b2354
Add a way to check for notifications on dossiers terminé
2018-02-20 15:54:36 +01:00
Paul Chavard
4f8a19718f
Do not show notifications on “all dossiers” tab
2018-02-20 15:54:36 +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
Mathieu Magnin
d9265d9686
[ Fix #1409 ] Display identite form with new design
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
5746ba29da
Fix a bug in the PJ PR
2018-02-15 13:58:19 +01:00
gregoirenovel
93d8470321
Put the piece justificative champ behind a feature flag
2018-02-15 12:04:03 +01:00
gregoirenovel
ee145180a3
Add a piece_justificative_file attribute to Champ
2018-02-15 11:15:23 +01:00
gregoirenovel
7097cad51a
Add the “piece_justificative” type de champ
2018-02-15 11:14:03 +01:00
gregoirenovel
2a2f794732
Add the direct_upload JS ans SCSS files
2018-02-15 11:14:03 +01:00
gregoirenovel
d51aefa10a
Add activestorage to the JS bundles
2018-02-15 11:14:03 +01:00
Paul Chavard
db42c0c0cf
Fix public and private champs scopes
2018-02-14 18:13:23 +01:00
Paul Chavard
31d638ae2a
Remove TypeDeChampPublic/TypeDeChampPrivate STI
2018-02-14 11:49:06 +01:00
CamilleGarrigue
75b2e16cc0
Update _list.html.haml
2018-02-14 10:44:26 +00:00
Paul Chavard
b3e07d8504
Use in?
in type_champ
tests
2018-02-13 17:59:27 +01:00
Paul Chavard
f80a9466b9
Delegate mandatory?
to type_de_champ
2018-02-13 14:56:55 +01:00
Paul Chavard
2e4ada98e6
Add private columns to Champ and TypeDeChamp
2018-02-13 12:35:03 +01:00
Paul Chavard
52749713ab
Remove ChampPublic/ChampPrivate STI
2018-02-13 12:07:13 +01:00
Mathieu Magnin
5398864609
Whole line should be clickable
2018-02-13 10:58:32 +01:00
Mathieu Magnin
9105e4e3f7
[ Fix #1403 ] Apply dossier index style to recherche
2018-02-13 10:58:32 +01:00
Frederic Merizen
283e6e927b
[ Fix #1397 ] Hide 'envoyer' button when no potential recipient
2018-02-08 20:38:20 +01:00
gregoirenovel
29d9b03672
Bump rails to 5.2.0.rc1
2018-02-07 16:18:42 +01:00
Mathieu Magnin
aeaa156f8b
Unused method removed
2018-02-07 15:57:49 +01:00
Mathieu Magnin
50f35ee905
[ Fix #1296 ] Birthday field is optional in procedure
2018-02-07 15:57:48 +01:00
simon lehericey
9297cbc642
Manager: regenerate views template to match the new version
2018-02-07 15:43:16 +01:00
Mathieu Magnin
d49659fc73
[ Fix #478 ] /recherche can deal with very big int ☺️
2018-02-07 11:56:22 +01:00
gregoirenovel
6320bfffbf
Improve a comment
2018-02-06 14:07:20 +01:00
gregoirenovel
9764a0af8d
Add back content_type
...
I forgot to specify it in
7ccae2c4f1
2018-02-06 14:07:20 +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
f306dd636e
Refactor some complex code
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
6afaf42e6a
The "through" relation used in a HasManyThrough must be declared first
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
gregoirenovel
5b62bc4f12
Use transform_keys when possible
2018-01-30 15:45:32 +01:00
gregoirenovel
db8c3030e3
Use transform_values when possible
2018-01-30 15:45:32 +01:00
gregoirenovel
b2fe1b856c
Use #sum instead of #inject when possible
2018-01-30 15:45:32 +01:00
Frederic Merizen
c15e1a6942
[ Fix #1374 ] Add missing parameter
...
Dossier pagination was only working for dossiers en construction.
2018-01-30 15:04:21 +01:00
Frederic Merizen
0ce26055d8
[ #1374 ] Revert "Merge pull request #1373 from betagouv/fix_pagination"
...
This reverts commit 5a56fe0182
, reversing
changes made to 31aabcd6b6
.
2018-01-30 15:04:21 +01:00
Mathieu Magnin
50abb36c81
[ Fix #1309 ] Format datetime before save
2018-01-30 13:49:16 +01:00
Mathieu Magnin
dcb38d79a3
[ Fix #1309 ] Datetime value should be print with yyyy-mm-dd format
2018-01-30 13:49:16 +01:00
Paul Chavard
fdd6cedeb8
Remove data_provide
and data_date_format
attributes
2018-01-30 13:49:16 +01:00
simon lehericey
691b12688d
Revert "[ #1360 ] Upgrade SmartListing to fork of 1.2.1"
...
This reverts commit 506a505477
.
2018-01-29 17:43:30 +01:00
Mathieu Magnin
ce5ce78eff
[ Fix #1291 ] Add CGU link to invite_admin mail template
2018-01-29 11:08:20 +01:00
Mathieu Magnin
11dbc595c7
Store in constant CGU url
2018-01-29 11:08:19 +01:00
Frederic Merizen
506a505477
[ #1360 ] Upgrade SmartListing to fork of 1.2.1
2018-01-25 17:47:10 +01:00
gregoirenovel
1c78d77c30
Bump default gems
...
- haml-rails
- jquery-rails
- unicorn
- openid_connect
- omniauth-github (dependencies)
- fog
- mailjet
- smart_listing
- spreadsheet_architect
- apipie-rails
- maruku
- openstack
- browser
- skylight
- simple_form
- scenic
- daemons
- sentry-raven
- administrate (dependencies)
- logstasher
- chartkick
- font-awesome-rails
2018-01-23 16:26:56 +01:00
gregoirenovel
d2f7c655d7
Bump development gems
...
- brakeman
- web-console
- xray-rails
- haml-lint
- scss_lint
2018-01-23 16:26:56 +01:00
Mathieu Magnin
469aca999b
Revert "Remove data_provide
and data_date_format
attributes"
...
This reverts commit 273b3f2faf
.
2018-01-19 13:20:53 +01:00
Mathieu Magnin
e9ec9e410f
[ Fix #1304 ] If procedure has no path do not crash when hiding it
2018-01-18 18:52:54 +01:00
Frederic Merizen
9b4ce1517c
Use lambda instead of send for etablissement tag
2018-01-18 18:35:07 +01:00
Frederic Merizen
8f41ab89cf
[ #1203 ] Do not include champs privés in accusé de réception
2018-01-18 18:26:14 +01:00
Frederic Merizen
a21dee680d
[ #1203 ] Define tags in constants rather than methods
2018-01-18 18:26:14 +01:00
Frederic Merizen
db5bf39e32
[ #1203 ] No implicit available_for_states, make it explicit
2018-01-18 18:26:14 +01:00
Frederic Merizen
21ad13cf74
[ #1203 ] Make all tags multi-line
2018-01-18 18:26:14 +01:00
Frederic Merizen
943fef3160
[ #1203 ] Move all tag definitions to mail template concern
...
Even the one that is mail-specific, because it is too easy to overlook
it when refactoring otherwise
2018-01-18 18:26:14 +01:00
Frederic Merizen
eebab14954
[ Fix #1203 ] No début d’instruction tag in accusé de réception mails
...
Doesn’t make sense functionnally
2018-01-18 18:26:14 +01:00
Frederic Merizen
9f7ffddb31
[ #1203 ] Allow filtering tags based on an arbitray status
2018-01-18 18:26:14 +01:00
Paul Chavard
26b1de5883
[ Closes #1170 ] Put tps-dev (staging) environement behind a BasicAuth
2018-01-18 18:09:46 +01:00
gregoirenovel
5723c4c894
Remove any reference to the SGMAP
2018-01-18 17:39:56 +01:00
Mathieu Magnin
d945001e0a
[ Fix #1302 ] sanitize_url can deal with nil values
2018-01-18 17:35:19 +01:00
Paul Chavard
e42626c588
Add user info to LogStasher
2018-01-18 17:14:42 +01:00
Paul Chavard
273b3f2faf
Remove data_provide
and data_date_format
attributes
2018-01-18 15:13:48 +01:00
gregoirenovel
f6c0edc5a3
[ Fix #1292 ] Link to avis, not dossier for expert search results
2018-01-18 11:22:08 +01:00
gregoirenovel
813844f9db
Enable the Layout/TrailingWhitespace cop
2018-01-18 10:55:08 +01:00
gregoirenovel
d30ea70c08
Enable the Layout/SpaceInsideParens cop
2018-01-18 10:53:35 +01:00
gregoirenovel
b138dcd876
Enable the Layout/SpaceInsideHashLiteralBraces cop
2018-01-18 10:53:35 +01:00
gregoirenovel
897a30da0c
Enable the Layout/SpaceInsideBlockBraces cop
2018-01-18 10:53:34 +01:00
gregoirenovel
9ea1106503
Enable the Layout/SpaceInLambdaLiteral cop
2018-01-18 10:53:34 +01:00
gregoirenovel
3e93bd3615
Enable the Layout/SpaceBeforeComma cop
2018-01-18 10:53:34 +01:00
gregoirenovel
2814fcf27e
Enable the Layout/SpaceAroundKeyword cop
2018-01-18 10:53:34 +01:00
gregoirenovel
278a662350
Enable the Layout/SpaceAroundEqualsInParameterDefault cop
2018-01-18 10:53:34 +01:00
Mathieu Magnin
307d7338e5
Remove unreachable code
2018-01-18 10:32:39 +01:00
Mathieu Magnin
11b055e07c
Rename reinvite action in controller
2018-01-18 10:04:34 +01:00
Mathieu Magnin
14b8ac614f
Redirect to sign_in if not logged in
2018-01-17 18:04:24 +01:00
Mathieu Magnin
ae1498d786
Add some attributes in Administrateur dashboard
2018-01-17 18:04:24 +01:00
Mathieu Magnin
d9feb4be06
Move sign_in behind /manager (not in namespace due to Administrate resources autoloading)
2018-01-17 18:04:23 +01:00
Mathieu Magnin
d5c036362b
Remove old controller and templates
2018-01-17 18:04:23 +01:00
Mathieu Magnin
a5aeaf988a
Add delayed_job link in sidebar
2018-01-17 18:04:23 +01:00
Mathieu Magnin
3aa6357d66
Show 20 procedures in administrateur#show (default was 5)
2018-01-17 18:04:22 +01:00
Mathieu Magnin
ef0907db93
Add flash when resending invitation
2018-01-17 18:04:22 +01:00
Mathieu Magnin
4f756975c7
Move administrateur#update in Administrate
2018-01-17 18:04:21 +01:00
Mathieu Magnin
a6be13ac5e
Redirect if success, else render form with errors ( https://github.com/thoughtbot/administrate/blob/master/app/controllers/administrate/application_controller.rb#L43 )
2018-01-17 18:04:21 +01:00
Mathieu Magnin
67f89d5f86
Move administrateur creation in Administrate
2018-01-17 18:04:21 +01:00
Mathieu Magnin
0396db9e5f
Clean Administrate templates and controllers
2018-01-17 18:04:20 +01:00
Simon Lehericey
1b91641f9a
FC ParticulierController: remove exotic route
2018-01-17 16:37:26 +01:00
Simon Lehericey
d70b6f4af0
FC ParticulierController: cleaner update attribute
2018-01-17 16:37:26 +01:00
simon lehericey
4f86b6305b
FC ParticulierControllerSpec: callback handle empty string
2018-01-17 16:37:26 +01:00
simon lehericey
02dd1e209c
FC ParticulierController: implement auto reconciliation based on user email
2018-01-17 16:37:26 +01:00
simon lehericey
ecfb0f4ec2
FC ParticulierController: move defense logic to before_action
2018-01-17 16:37:26 +01:00
Simon Lehericey
4afc41bca2
FC ParticulierController: inline fci.user
2018-01-17 16:37:26 +01:00
simon lehericey
d348e5fde0
FC ParticulierController: smaller variable
2018-01-17 16:37:26 +01:00
simon lehericey
c6c4dd7c7e
FC ParticulierController: use find or tap
2018-01-17 16:37:26 +01:00
simon lehericey
7cbd6ed067
FC ParticulierController: create is private
...
yep, I know this is strange
2018-01-17 16:37:26 +01:00
Paul Chavard
6a43248cb3
Fix CSS injection
2018-01-16 14:02:10 +01:00
gregoirenovel
7c93b2a0c2
.map -> .pluck when possible
2018-01-16 13:23:29 +01:00
gregoirenovel
80ed589a17
Use string interpolation
2018-01-16 11:08:57 +01:00
gregoirenovel
83be054884
.map.flatten -> .flat_map
2018-01-16 11:08:56 +01:00
gregoirenovel
c3754a173f
Use map instead of inject
2018-01-16 11:08:56 +01:00
gregoirenovel
16254899e1
[ Fix #1199 ] Make id search work for experts
2018-01-16 11:03:53 +01:00
gregoirenovel
d33d488db7
Avoid EOL if statements
2018-01-16 11:01:52 +01:00
gregoirenovel
a050bc20de
Add a dossiers_from_avis relation to Gestionnaire
2018-01-16 11:01:52 +01:00
Paul Chavard
bbf55ab85e
Create administrateurs with invitation link and no password
2018-01-16 10:49:07 +01:00
Paul Chavard
0cf40f4f18
Add invitation related methods to administrateur model
2018-01-16 10:49:07 +01:00
Paul Chavard
5a984a3637
Add admin invitation mailer
2018-01-16 10:49:07 +01:00
gregoirenovel
73dd58b6cd
Enable the Layout/MultilineMethodCallIndentation cop
2018-01-15 22:33:13 +01:00
gregoirenovel
b77837bfd1
Enable the Layout/MultilineMethodCallBraceLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
9d75526460
Enable the Layout/MultilineAssignmentLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
14c1747645
Enable the Layout/MultilineArrayBraceLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
345b892956
Enable the Layout/LeadingCommentSpace cop
2018-01-15 22:33:13 +01:00
gregoirenovel
1e71188d4d
Enable the Layout/IndentationConsistency cop
2018-01-15 22:33:13 +01:00
gregoirenovel
0be657c0d7
Enable the Layout/IndentHash cop
2018-01-15 22:33:12 +01:00
gregoirenovel
3363e21427
Enable the Layout/IndentAssignment cop
2018-01-15 22:33:12 +01:00
gregoirenovel
9e0e553f80
Enable the Layout/IndentArray cop
2018-01-15 22:33:12 +01:00
gregoirenovel
5125cf8396
Enable the Layout/FirstParameterIndentation cop
2018-01-15 22:14:39 +01:00
gregoirenovel
9f855afdfe
Enable the Layout/FirstHashElementLineBreak cop
2018-01-15 22:14:38 +01:00
gregoirenovel
08ed400ec2
Enable the Layout/FirstArrayElementLineBreak cop
2018-01-15 22:14:38 +01:00
simon lehericey
d086b82d44
FC ParticulierController: remove one return
2018-01-15 17:14:12 +01:00
simon lehericey
34bd3a11e9
FC ParticulierController: remove superfluous if
2018-01-15 17:14:12 +01:00
simon lehericey
02395e732c
FC service: return domain info
2018-01-15 17:14:12 +01:00
simon lehericey
7024e14d1c
FC information: remove funny find_by
2018-01-15 17:14:12 +01:00
simon lehericey
8e26a50f16
FC service: clean syntax
2018-01-15 17:14:12 +01:00
simon lehericey
e68fc0811f
FC ParticulierController: callback syntax cleaning
2018-01-15 17:14:12 +01:00
simon lehericey
9dc242d907
FC Particulier Controller: simplier login
2018-01-15 17:14:12 +01:00
simon lehericey
fc4ce4460c
FC Particulier Controller: do not parse an URI into URI
2018-01-15 17:14:12 +01:00
simon lehericey
f8519c5345
FC initializers: remove Hashie
2018-01-15 17:08:38 +01:00
simon lehericey
ec69be0f7b
FC ParticulierClient: simplier initializer
2018-01-15 17:00:26 +01:00
Simon Lehericey
0d46f92795
FC: move FC constants under particulier namespace
2018-01-15 16:59:50 +01:00
simon lehericey
4c2da46dd8
FC ParticulierClient: simplier initialize
2018-01-15 16:59:48 +01:00
Simon Lehericey
8c487c65a9
FC: remove unused code
2018-01-15 11:27:56 +01:00
gregoirenovel
1368cd4b03
[ Fix #1120 ] Delete the old accompagnateur UI
2018-01-15 10:02:10 +01:00
gregoirenovel
3593adbe66
!foo.empty? -> foo.present?
2018-01-12 11:32:43 +01:00
gregoirenovel
aedafbaf2e
!foo.blank? -> foo.present?
2018-01-12 11:32:43 +01:00
gregoirenovel
bbaebe0602
!foo.nil? -> foo.present?
2018-01-12 11:32:43 +01:00
gregoirenovel
7c34807f46
Don’t use unless
2018-01-12 11:32:43 +01:00
Mathieu Magnin
e3ec8643db
In manager display libelles with line breaks
2018-01-11 11:03:34 +01:00
Frederic Merizen
32be8213da
[ #1209 ] Make sure date de dépôt is available before sending mail
2018-01-10 18:31:55 +01:00
Mathieu Magnin
f772adc582
Add flash when procedure is whitelisted
2018-01-10 18:17:05 +01:00
Mathieu Magnin
1ebaab51de
Show procedure.whitelisted_at in administrate
2018-01-10 18:17:05 +01:00
Mathieu Magnin
4c0592d631
Rails-ish route
2018-01-10 18:17:05 +01:00
gregoirenovel
608a8eaf67
Abstract the Procedure whitelisting
2018-01-10 17:58:10 +01:00
gregoirenovel
289461d708
Handle the GitHub org rename: sgmap -> betagouv
2018-01-10 17:26:25 +01:00
Simon Lehericey
6f0c3ebc11
Whitelist: send the alert mail to equipe
2018-01-10 17:18:44 +01:00
simon lehericey
53687bf84a
Whitelist: add whitelist button in admin
2018-01-10 17:18:44 +01:00
Simon Lehericey
202d0489a1
Whitelist: links from mail to admin
2018-01-10 17:18:44 +01:00
Mathieu Magnin
440c2b5dd1
[ Fix #1098 ] add administrate custom layout to add logout link
2018-01-10 13:44:02 +01:00
Mathieu Magnin
d8d2ecf515
[ Fix #1098 ] Administrateur dashboard
2018-01-10 13:44:02 +01:00
Mathieu Magnin
c7b3bb0733
[ Fix #1098 ] Custom TypesDePieceJustificativeField for Administrate
2018-01-10 13:44:01 +01:00
Mathieu Magnin
51b94e2f53
[ Fix #1098 ] Custom TypesDeChampCollectionField for Administrate
2018-01-10 13:44:01 +01:00
Mathieu Magnin
65f0859357
[ Fix #1098 ] Using custom views to remove edit and delete button from index
...
This can be reverted when Administrate gem will include this fix : https://github.com/thoughtbot/administrate/pull/597 (>=0.5.0)
2018-01-10 13:44:00 +01:00
Mathieu Magnin
d0de9b9ae2
[ Fix #1098 ] Add procedures dashboard
2018-01-10 13:44:00 +01:00
Simon Lehericey
1473577131
[ fix #1033 ] Procedure Edition: add position field to order the champs
2018-01-10 13:27:22 +01:00
Frederic Merizen
56749769d6
[ Fix #1186 ] Rename object to subject for mail templates
2018-01-09 16:00:31 +01:00
Frederic Merizen
7f040a5cf8
[ Fix #1037 ] Add date tags to mail / attestation templates
...
- date de dépôt
- date de passage en instruction
2018-01-09 11:30:54 +01:00
Frederic Merizen
935a38bde0
[ #1037 ] Introduce format-date
function
2018-01-09 11:30:54 +01:00
gregoirenovel
fdf240cf31
Improve the wording on the “New from existing” page
2018-01-09 11:07:26 +01:00
gregoirenovel
c77558aeed
Correctly handle errors when cloning someone else’s procedure
2018-01-09 11:07:26 +01:00
gregoirenovel
a1275af55f
Use the path helper in the new procedure template
2018-01-09 11:05:19 +01:00
gregoirenovel
093d853ecc
Fix some buggy error handling code in Admin::ProcedureController#clone
2018-01-09 11:05:19 +01:00
Frederic Merizen
63ca52792b
[ #1110 ] Remove legacy tags
2018-01-09 10:39:10 +01:00
simon lehericey
2bc61f9f3f
[ fix #1097 ] Accent insensitive search
2018-01-09 10:29:54 +01:00
simon lehericey
6a2b575027
[ fix #1097 ] Add whitelist mechanisme to procedure
2018-01-09 10:29:54 +01:00
simon lehericey
f1b7a03b63
[ fix #1097 ] Add job to monitor procedures
2018-01-09 10:29:54 +01:00
simon lehericey
d7d5d7eff4
Rename new_admin_mailer to administration_mailer
2018-01-09 10:29:54 +01:00
gregoirenovel
3f2876faf6
[ Fix #1129 ] Simplify the terms checkbox message
2018-01-08 17:14:51 +01:00
gregoirenovel
301eb411cd
Remove two opensimplif-related files
...
They seem unused
2018-01-08 17:03:41 +01:00
Mathieu Magnin
04e9f7be3e
[ Fix #1149 ] Move avis actions to new gestionnaire controller
2018-01-08 16:50:15 +01:00
gregoirenovel
bf5e21d6de
[ Fix #1182 ] Add a “create new procedure from an existing one” feature
2018-01-08 14:55:07 +01:00
gregoirenovel
27a8aba53e
Allow the cloning of another admininistrateur’s procedure
2018-01-08 14:55:07 +01:00
gregoirenovel
ec5b9c86ce
Add the admin argument to Procedure#clone
2018-01-08 14:55:07 +01:00
Frederic Merizen
75a3d0f3db
[ #1110 ] use modern rather than legacy tags in default mail templates
2018-01-05 17:42:25 +01:00
Frederic Merizen
deea23139f
[ #1110 ] Use TagsSubstitutionConcern as engine for mail template tags
2018-01-05 17:42:25 +01:00
Frederic Merizen
ab63f80080
[ #1110 ] Motivation and date de décision are only tags for terminé dossiers
2018-01-05 16:35:29 +01:00
Frederic Merizen
e985439416
[ #1110 ] Use tags method rather than ALLOWED_TAGS class constant
2018-01-05 12:48:07 +01:00
Frederic Merizen
b9a1f707f5
[ #1110 ] name => libelle in mail templates
...
to match attestation templates
2018-01-05 12:48:07 +01:00
Frederic Merizen
8d77cd58c6
[ #1110 ] Make linked procedure available to mail model
2018-01-05 12:48:07 +01:00
Frederic Merizen
ad0462f7ff
[ #1110 ] Port libellé procédure tag from mail templates
2018-01-05 11:51:08 +01:00
Frederic Merizen
ee109b24e3
[ #1110 ] Port date de décision tag from mail templates
2018-01-05 11:51:08 +01:00
Frederic Merizen
6a85094e1a
[ #1110 ] Make processed_at date available for attestation generation
2018-01-05 11:51:08 +01:00
Frederic Merizen
3dfc37826a
[ #1110 ] Extract document template concern from attestation template class
2018-01-05 10:57:27 +01:00
Frederic Merizen
b603af1ec7
[ #1110 ] Simplification: directly use symbols
2018-01-04 16:20:08 +01:00
Mathieu Magnin
62d8381ef7
Remove will paginate
2018-01-03 14:35:48 +01:00
Mathieu Magnin
98ac496aa5
[ Fix #1100 ] Administrateur can renew his API Token
2017-12-26 18:30:36 +01:00
Mathieu Magnin
fab00b1674
[ Fix #1096 ] Add administration email in new administrateur email
2017-12-22 11:10:25 +01:00
Mathieu Magnin
4990595430
[ Fix #1096 ] Sign in with GitHub page
2017-12-22 11:10:24 +01:00
Mathieu Magnin
7c0fdbc9f8
[ Fix #1096 ] Github Oauth
2017-12-22 11:10:24 +01:00
gregoirenovel
6191640262
[ Fix #1102 ] Add more information to the avis confidentiality warning
2017-12-22 10:32:54 +01:00
Frederic Merizen
2ae67a44f2
[ Fix #1143 ] Set motivation before generating attestation
2017-12-22 10:23:40 +01:00
Mathieu Magnin
642dc4ba21
[ Fix #1118 ] New ui is the default ui for gestionnaire
2017-12-21 23:20:59 +01:00
Mathieu Magnin
142f01d1bb
Revert "ProcedureController: remove unused destroy method" (Sentry : #2149 )
...
This reverts commit 6ca6669144
.
2017-12-21 18:33:42 +01:00
gregoirenovel
a55463c164
Remove the dossier number from the dossier processing popover
...
- One popup_title wasn’t written so that its
combination with the dossier number made sense
- The number is already visible on the page
- The number is not that important to make a
decision (the context it adds does not have
so much value)
2017-12-21 17:42:53 +01:00
gregoirenovel
85a01a4638
Fix typos and unify the wording for dossier processing
2017-12-21 17:42:53 +01:00
gregoirenovel
8c1eeb9f25
[ Fix #1011 ] Change the “Enregistrer un brouillon” button behaviour
...
And add the “Voir mes brouillons et dossiers”
button
2017-12-21 15:05:13 +01:00
gregoirenovel
84b05a348e
[ Fix #525 ] Improve the wording of the attestation template footer label
2017-12-20 19:57:31 +01:00
gregoirenovel
280d4af5ee
Forgot to replace some commentaires/messages paths in #1122
2017-12-19 16:50:31 +01:00
Mathieu Magnin
77c28144cb
Space out select labels
2017-12-19 13:55:02 +01:00
gregoirenovel
bab4b4711a
Merge pull request #1122 from sgmap/messagerie
...
Commentaire -> message
2017-12-19 13:12:40 +01:00
gregoirenovel
2b294e2a95
[ Fix #1123 ] Remove the beta banner in production
2017-12-19 11:48:21 +01:00
gregoirenovel
a28bf91356
Commentaire -> message
2017-12-18 14:20:41 +01:00
gregoirenovel
046e1cf8f3
Mutualize some code in an avis form partial
2017-12-15 18:54:55 +01:00
gregoirenovel
ec9758a946
Mutualize some code code into a messagerie partial
2017-12-15 18:37:44 +01:00
gregoirenovel
0c995b63cf
Move the avis list partial in the shared folder
2017-12-15 18:37:44 +01:00
gregoirenovel
e4f7f20698
Mutualize some accompagnateur show template code in a partial
2017-12-15 18:37:44 +01:00
gregoirenovel
60c845986c
Remove some unused locals in the champs partial inclusions
2017-12-15 18:37:44 +01:00
gregoirenovel
0a185fb76b
Remove useless ids in the new Avis templates
2017-12-15 18:37:44 +01:00
gregoirenovel
15098d9fa2
Forgot to change some paths after the renaming in #1114
2017-12-15 18:28:08 +01:00
LeSim
bd29b3c4f8
[ fix #1039 ] hide a procedure release its procedure_path
2017-12-15 17:57:34 +01:00
LeSim
6ca6669144
ProcedureController: remove unused destroy method
2017-12-15 17:57:34 +01:00
LeSim
899f2a91dd
DossierListFacades: remove useless total_new_dossier and new_dossier_number
2017-12-15 17:38:39 +01:00
Simon Lehericey
640a42d6cc
DossierListFacade: use en_construction scope
2017-12-15 17:37:30 +01:00
Simon Lehericey
40b9a77395
Dossier: replace nouveau scope by en_construction
2017-12-15 17:37:30 +01:00
Simon Lehericey
4be6cb9126
Dossier: delete state_nouveaux which is similar to en_construction
2017-12-15 17:37:30 +01:00
LeSim
7cc69de543
Dossier: remove useless state methods and const
2017-12-15 17:37:30 +01:00
gregoirenovel
4cb84e556d
Update a class’ name
2017-12-15 15:55:24 +01:00
gregoirenovel
be1ce69f47
Improve a partial’s and a partials folder's names
2017-12-15 15:55:24 +01:00
Simon Lehericey
9c354e18eb
[fix 363] Dossier: remove next_step!
2017-12-15 15:43:30 +01:00
Simon Lehericey
e78f5b3a2d
[fix 363] Dossier: remove next_step! role var
2017-12-15 15:43:30 +01:00
Simon Lehericey
201862d450
[fix 363] Dossier: remove next_step! action = initiate, role = user
2017-12-15 15:43:30 +01:00
Simon Lehericey
907db89371
[fix 363] Dossier: remove next_step! action = follow
2017-12-15 15:43:30 +01:00
Simon Lehericey
11c010859c
[fix 363] Dossier: remove next_step! action = update
2017-12-15 15:43:30 +01:00
Simon Lehericey
629cccbf27
[fix 363] Dossier: remove next_step! action = comment
2017-12-15 15:43:30 +01:00
gregoirenovel
fb392d87c9
Improve the style of the messagerie form
...
Reduce the space between the messages and the
new message textarea
2017-12-15 14:42:41 +01:00
Simon Lehericey
c83552f423
[ fix #504 ] Dossier: without_continuation -> sans_suite
2017-12-15 12:10:54 +01:00
Simon Lehericey
2be9b8d2ba
[ fix #504 ] Dossier: refused -> refuse
2017-12-15 12:10:54 +01:00
Simon Lehericey
a13256f73d
[ fix #504 ] Dossier: closed -> accepte
2017-12-15 12:10:54 +01:00
LeSim
3dda27b281
[ fix #504 ] Dossier: received -> en_instruction
2017-12-15 12:10:54 +01:00
Simon Lehericey
72bae2c374
[ fix #504 ] Dossier: draft -> brouillon
2017-12-15 11:52:09 +01:00
LeSim
56545933a9
[ fix #504 ] Dossier: initiated -> en_construction
...
The change must not impact the api
2017-12-15 11:52:09 +01:00
Mathieu Magnin
5c46db3b3d
Improve messagerie readability
2017-12-15 11:01:48 +01:00
gregoirenovel
9766a48d64
Mutualize a duplicated render instruction
2017-12-15 10:50:58 +01:00
Mathieu Magnin
3927e5ebf9
If answer is missing on avis, notify on avis tab
2017-12-15 10:43:36 +01:00
gregoirenovel
2def3ecd20
Annotations privées look odd in a card
2017-12-14 18:32:48 +01:00
gregoirenovel
95ad67a9ad
Add more spacing below the accompagnateur-header
...
So that the design feels less cramped
2017-12-14 18:32:48 +01:00
gregoirenovel
64f9f087a0
Add some spacing to tab paragraphs and lists
...
Otherwise the personnes impliquées tab looks odd
2017-12-14 18:32:48 +01:00
gregoirenovel
9ec61a6a73
Remove the featured styling on the annotations privées tab content
2017-12-14 18:32:48 +01:00
gregoirenovel
6cc81db025
Remove a useless title
...
We do not repeat the tab title in the tab
2017-12-14 18:32:48 +01:00
Frederic Merizen
94f1a1fa0c
[ Fix #866 ] Allow use of non-breaking spaces in balise in attestation template
2017-12-14 17:22:21 +00:00
gregoirenovel
c16ca6adb1
[ Fix #1041 ] Use the tab-title style for tab titles
2017-12-14 16:39:41 +01:00
gregoirenovel
4f0e6ae467
Use the tab-title class instead of an unknown class
2017-12-14 16:39:41 +01:00
gregoirenovel
191a5a1dee
Mutualize some CSS into a class
2017-12-14 16:39:41 +01:00
gregoirenovel
b2c8a32fcd
Rename accompagneur-title to page-title
2017-12-14 16:39:41 +01:00
gregoirenovel
13d8d4bfd4
Add missing locals to partials called in the print template
2017-12-14 15:47:40 +01:00
Mathieu Magnin
7d668315db
[ Fix #1016 ] display notifications for annotations privées
2017-12-14 13:57:20 +01:00
Mathieu Magnin
c3e7e39947
[ Fix #1016 ] display notifications for avis
2017-12-14 13:57:20 +01:00
Mathieu Magnin
8e67e5c057
[ Fix #1016 ] display notifications for new messages
2017-12-14 13:57:19 +01:00
Mathieu Magnin
5474ff8bb4
[ Fix #1016 ] display notifications on PJ
2017-12-14 13:57:19 +01:00
Mathieu Magnin
c6be745067
[ Fix #1016 ] display notifications for champs publics
2017-12-14 13:57:15 +01:00
LeSim
c3b4e3f964
[ fix #1067 , fix #1030 ] AvisController inherit from GestionnaireController
...
Should not break anything as avis controller already supposed a gestionnaire is logged in.
2017-12-14 11:43:20 +01:00
Mathieu Magnin
d901852e09
Fix sentry issue #2139 when published_at is nil
2017-12-14 10:45:17 +01:00
Frederic Merizen
21bb04d74e
[ fix #1066 ] Fix links to related dossier for experts
...
- link to full dossier if gestionnaire is affected on procedure
- link to avis if avis expert requested on related dossier
2017-12-13 10:28:16 +00:00
gregoirenovel
1bd4ebbb3b
Improve the patron
2017-12-12 14:53:36 +01:00
gregoirenovel
de4d8b0297
[ Fix #1056 ] Use a span instead of a div for icons
2017-12-12 14:51:44 +01:00
gregoirenovel
060c607772
Add link to the FAQ website in the footer
2017-12-12 10:11:13 +01:00
gregoirenovel
04d17a2ed0
[ Fix #1078 ] Fix a crasher in HtmlToStringHelper
2017-12-12 10:06:50 +01:00
Simon Lehericey
271abc72fb
[ fix #1065 ] Change logout logo for plain text
2017-12-11 17:00:45 +01:00
Simon Lehericey
77907b66d7
[ fix #1053 ] An Administrateur can choose the final dossier states
...
! before going to production :
- stopping the current AutoReceiveJob
- relaunch the jobs with previous id and state = 'received'
2017-12-11 16:34:00 +01:00
Simon Lehericey
b02282c1d0
[ fix #1000 ] export name and first name in api
2017-12-11 15:29:56 +01:00
Simon Lehericey
a05217b364
[ fix #1014 ] strip html tags in annotations_privees
2017-12-11 12:40:12 +01:00
Simon Lehericey
6e97209b82
Form text_area: respect new line
2017-12-11 11:56:18 +01:00
Simon Lehericey
b551ae8097
[ fix #1015 ] New UI: add attachment history
2017-12-07 17:04:41 +01:00
Simon Lehericey
4014912ea4
[ fix #1042 ] keep footer only for the landing
2017-12-07 16:32:22 +01:00
gregoirenovel
e26911a47a
An Etablissement’s libelle is its Libellé NAF, not its name
2017-12-07 16:26:59 +01:00
gregoirenovel
3cbead5b48
Add link to the documentation in the footer
2017-12-07 16:15:44 +01:00
gregoirenovel
0d22ecfe5a
Delete the CGU-related files and mentions
2017-12-07 16:15:44 +01:00
gregoirenovel
1c413eeec4
[ Fix #1036 ] Change the links to the CGU: use the GitBook version
2017-12-07 16:15:37 +01:00
gregoirenovel
9a51940024
[ Fix #393 ] In the footer, mentions légales link -> API doc link
2017-12-07 16:15:37 +01:00
gregoirenovel
d6b093fd2c
Do not add filters with blank values
2017-12-06 17:26:45 +01:00
gregoirenovel
8e07ade8b2
Correctly filter date columns
2017-12-06 17:26:45 +01:00
Simon Lehericey
cf9303bd7e
[ fix #1047 ] Fix encoding problem in carto with IE
...
We could have also use encodeURIComponent(url)
2017-12-06 16:17:13 +01:00
gregoirenovel
d75a3872d1
[ Fix #963 ] Add a "personnes impliquées" tab
2017-12-05 17:04:17 +01:00
Simon Lehericey
e709b773b1
Logo: add a11y
2017-12-05 11:33:44 +01:00
Simon Lehericey
6c73766e0d
[ fix #1013 ] fix logo on ie11
2017-12-05 11:17:34 +01:00
gregoirenovel
407c578f68
Delete the SGMAP link from the footer
2017-12-04 16:47:05 +01:00
Mathieu Magnin
9bc5545bdd
Remove N+1 query on Dossier#show
2017-12-01 17:45:57 +01:00
gregoirenovel
cabfee44db
Rename a class to better reflect its contents
2017-12-01 14:28:07 +01:00
gregoirenovel
2d9313b10b
Rename the close icon to refuse
2017-12-01 14:28:07 +01:00
gregoirenovel
dd47f96424
Improve the names of some parameters in DossiersController
2017-12-01 14:28:07 +01:00
gregoirenovel
684dafb6d4
Remove now obsolete code
2017-12-01 14:28:07 +01:00
gregoirenovel
a04af24cbf
Add DossiersController#terminer
2017-12-01 14:28:07 +01:00
gregoirenovel
a5b4b20a7d
Add DossiersController#repasser_en_construction
2017-12-01 14:28:07 +01:00
gregoirenovel
eb55dfc0c8
Add and use DossiersController#passer_en_instruction
2017-12-01 14:28:07 +01:00
Simon Lehericey
e2bbd2a37a
[ fix #992 ] export: dossiers are order by initiated_at
2017-12-01 13:45:53 +01:00
Mathieu Magnin
a3b93229e9
[ Fix #1002 ] Use partial in print view, and style messagerie in print mode to display all messages
2017-12-01 12:30:16 +01:00
Mathieu Magnin
53bb7b07da
[ Fix #775 ] If champ type is a multiple drop down list then display it properly
2017-12-01 12:23:19 +01:00
gregoirenovel
d23c3c42a2
In new UI CSS and templates, backoffice -> accompagnateur
2017-12-01 11:53:48 +01:00
Simon Lehericey
fe9ac727de
[ fix #872 ] apientrepise: use v2 endpoints
2017-12-01 11:26:40 +01:00
Mathieu Magnin
19a951d103
[ Fix #1023 ] If old commentaire.PJ is present, then display it
2017-12-01 10:14:02 +01:00
gregoirenovel
6c785d71b4
Simplify code in NewGestionnaire::DossiersController
...
We already have procedure: it is given by
ProceduresController, which this controller
inherits form
2017-11-30 17:18:32 +01:00
Simon Lehericey
bbcf350d7d
[ fix #997 ] New Style: allow new line in messagerie
2017-11-30 16:07:48 +01:00
gregoirenovel
e42a0d55e7
Do not center data in tables
2017-11-29 14:12:15 +01:00
gregoirenovel
835567f129
Correctly display the notification column header in Chrome
2017-11-29 14:12:15 +01:00
gregoirenovel
98bd0f3553
[ Fix #994 ] Correctly display the archive button in Chrome
2017-11-29 14:12:15 +01:00
Simon Lehericey
68682fe78d
[ fix #873 ] add motivation in case of refused or without continuation dossier
2017-11-29 14:06:32 +01:00
gregoirenovel
2c901efbb1
Fix print page crasher
...
A partial was renamed in #937 but the renaming
was not reflected in this template
2017-11-29 11:38:14 +01:00
gregoirenovel
731e1b6787
[ Fix #164 ] Make the organisme field mandatory
2017-11-29 10:36:22 +01:00
gregoirenovel
db3e07820a
[ Fix #929 ] Add a current-tab only print feature
2017-11-28 15:22:50 +01:00
gregoirenovel
3c5361a96f
Correctly handle the print stylesheet
2017-11-28 15:22:50 +01:00
gregoirenovel
10f1859a2a
Properly style the button when there is a motivation or attestation
2017-11-28 15:21:34 +01:00
gregoirenovel
5c92989fc8
Properly style the label when there is no motivation nor attestation
2017-11-28 15:21:34 +01:00
gregoirenovel
e3ce5115a2
Rename two classes so that they are more meaningful
2017-11-28 15:21:34 +01:00
Mathieu Magnin
fa95c312ff
Old UI : Plug messagerie on new commentaire file system
2017-11-28 15:07:10 +01:00
Mathieu Magnin
eae16f7746
New UI : Regular messagerie and avis messagerie should use same partials
2017-11-28 15:07:10 +01:00
Mathieu Magnin
886d278d77
New UI : Move messagerie template in order to share them later
2017-11-28 15:07:10 +01:00
Mathieu Magnin
150ff5e7ca
New UI : Use RemoteDownloader class to hide ovh url
2017-11-28 15:07:10 +01:00
Mathieu Magnin
7ea7eea952
New UI : Style file uploader
2017-11-28 15:07:10 +01:00
Mathieu Magnin
7f4652fd1e
New UI : Accept only few extensions
2017-11-28 15:07:10 +01:00
Mathieu Magnin
4d12aa222c
Validate body is present
2017-11-28 15:07:10 +01:00
Mathieu Magnin
6c39aba978
Validates commentaire file size
2017-11-28 15:07:10 +01:00
Mathieu Magnin
76cb54988d
Validate virus free with Clamav
2017-11-28 15:07:10 +01:00
Mathieu Magnin
158adc2472
New UI : Check if commentaire is correctly saved
2017-11-28 15:07:10 +01:00
Mathieu Magnin
ae5e6653cb
[ Fix #888 ] New UI : Add upload on commentaire form
2017-11-28 15:07:09 +01:00
Mathieu Magnin
5775901868
Add commentaire file uploader
2017-11-28 15:07:09 +01:00
Simon Lehericey
28a047a64b
[ Fix #508 ]Api GeoJson: export dossier.json_latlngs to geojson
2017-11-28 14:41:08 +01:00
Simon Lehericey
f34546cf2a
[ Fix #508 ]Api GeoJson: export cadastre
2017-11-28 14:37:12 +01:00
Simon Lehericey
9f2338a70a
[ Fix #508 ]Api GeoJson: export quartier_prioritaire
2017-11-28 14:37:12 +01:00
Mathieu Magnin
d9e3efdf13
[ Fix #98 ] If there is no dossiers do not show export button
2017-11-28 10:24:36 +01:00
Mathieu Magnin
4e91ede69f
Move export button in partial
2017-11-28 10:23:42 +01:00
gregoirenovel
2415d628d1
[ Fix #160 ] Delete the remaining link to our staging environment
2017-11-24 17:08:56 +01:00
Mathieu Magnin
4a483e23bb
[ Fix #957 ] Use select2 for all menu deroulant
...
Displays options that are too long on mutilple lines
2017-11-24 15:36:39 +01:00
gregoirenovel
b6e0b40133
Do not crash if the user has no DOB
...
Related to #986
2017-11-23 15:24:34 +01:00
Mathieu Magnin
8edfdff0fc
[Fix#980] Engagement checkbox should be checked sometimes
2017-11-23 09:40:44 +01:00
Simon Lehericey
d9f44e013a
[ fix #878 ] change motivation text and display a label if not action is possible
2017-11-23 09:34:19 +01:00
Simon Lehericey
e28b18d978
Dossier: add statut method
2017-11-23 09:34:18 +01:00
Simon Lehericey
f9c2da7a5d
Style: change label class form closed to success
2017-11-23 09:34:14 +01:00
gregoirenovel
1d7e7fc654
[ Fix #432 ] Stop raising a useless exception in get_position
...
When an accompagnateur, in the old UI, wants to
see a map, this call crashes because he’s not
the owner or invitee on the dossier he’s looking
at, therefore current_user_dossier raises an
exception
2017-11-22 17:49:32 +01:00
gregoirenovel
5361e4e1e9
[ Fix #871 ] Add the date at the end of exported files
2017-11-22 17:27:57 +01:00
gregoirenovel
339d493602
Fix the display of the accompagnateur contact popover
2017-11-22 11:24:18 +01:00
gregoirenovel
c8e62ad095
recherches -> recherche
2017-11-22 10:48:38 +01:00
gregoirenovel
bf4873af0a
Add missing title to the recherche page
2017-11-21 18:21:59 +01:00
gregoirenovel
303e5285e9
[ Fix #962 ] In new UI, add link on “dossier_link” field values
2017-11-21 18:05:34 +01:00
Mathieu Magnin
b4b394bf18
If user_return_to procedure is invalid then remove it from session
2017-11-21 17:53:16 +01:00
Simon Lehericey
a71574b8dd
[ fix #445 ]: add title to pages
2017-11-21 17:47:27 +01:00
gregoirenovel
481c38dee2
[ Fix #896 ] Add a visible contact dialog for gestionnaires
2017-11-21 16:49:25 +01:00
gregoirenovel
a46aa83f00
Use a class instead of a tag as a tab link selector
2017-11-21 16:49:25 +01:00
gregoirenovel
496087ead9
Use CSS variables when possible
2017-11-21 16:48:13 +01:00
gregoirenovel
d5954c7423
Show links to uploaded pieces justificatives in drafts
2017-11-21 16:46:43 +01:00
Simon Lehericey
68ea1ca1bd
[ fix #879 ] Civilite: display inline
2017-11-21 10:48:08 +01:00
Simon Lehericey
3dd2b7fd1d
[ fix #879 ] Yes_No: use standard order and display inline
2017-11-21 10:48:08 +01:00
Mathieu Magnin
7bfafb6fc2
Fix export for yes_no champs
2017-11-21 10:36:24 +01:00
gregoirenovel
379e7b74d6
Enable all the rubicop perf cops
2017-11-21 10:31:16 +01:00
gregoirenovel
8997f57d21
Remove a now useless JS statement
...
This is now done in init.js
2017-11-21 10:30:50 +01:00
gregoirenovel
899e20ebcc
Fix multiple-selection values display when no value is given
2017-11-21 10:03:56 +01:00
Simon Lehericey
2b146a6d62
Notifications: show dossiers with notification in first place
2017-11-20 17:22:52 +01:00
gregoirenovel
f856077660
[ Fix #908 ] Display multi-selection values in a list
2017-11-20 17:05:08 +01:00
gregoirenovel
9b0415eed7
Use a case statement in _champs.html.haml
2017-11-20 17:05:07 +01:00
gregoirenovel
a3cc86a62e
[ Fix #683 ] Remove the white background from some icons
2017-11-20 15:59:39 +01:00
gregoirenovel
dbdd7098e3
Remove a now outdated message
2017-11-20 14:37:17 +01:00
gregoirenovel
5eb9d6854c
Remove now useless encoding statements
...
As utf-8 is the default encoding since Ruby 2,
this is no longer needed
2017-11-20 14:14:00 +01:00
Mathieu Magnin
b187e7163a
Remove demo accounts routes
2017-11-16 12:36:58 +01:00
Mathieu Magnin
36491230bb
Rename variable path_file => file_path
2017-11-16 12:28:07 +01:00
Mathieu Magnin
adaa1e0dec
[ Fix #939 ] Remove demo page in staging
2017-11-10 18:19:41 +01:00
Simon Lehericey
ed4e885e6f
Notification: new acknowledgment system
2017-11-10 16:29:45 +01:00
Simon Lehericey
f7d7cec5ae
Notification: use new notification system
2017-11-10 16:29:45 +01:00
Simon Lehericey
155a5f7826
Notification: add methods to retrieve notifications
2017-11-10 16:29:44 +01:00
Simon Lehericey
909ecf2142
Notification: add timestamp to champs, pieces jusitificatives and follows
2017-11-10 16:29:44 +01:00
Mathieu Magnin
da5dfdff40
Alert users after OVH outage
2017-11-09 12:09:45 +01:00
Simon Lehericey
9750af24d4
typo
2017-11-07 14:49:58 +01:00
Simon Lehericey
f7dc36364e
[ Fix #890 ] better display of rich text messagerie
2017-10-30 17:24:18 +01:00
Simon Lehericey
f4a8ff31b9
Champ: export multiple_drop_down_list as a [].join(', ')
2017-10-30 17:14:31 +01:00
Simon Lehericey
b658f8c8dc
Champ: export yes_no champ with oui non
2017-10-30 17:14:31 +01:00
Simon Lehericey
338911d1a8
[ fix #905 ] Champ: add for_export method which strips tag for textarea champ
2017-10-30 17:14:31 +01:00
Simon Lehericey
3f2419a2a3
Dossier: rename data_with_champs to to_sorted_values
2017-10-30 17:14:31 +01:00
Simon Lehericey
f0373f6bc2
Dossier: remove useless return
2017-10-30 17:14:31 +01:00
Simon Lehericey
d40c0d3b06
Select2: fr localization
2017-10-30 14:25:54 +01:00
Simon Lehericey
fc987a730d
[ Fix #925 ] strip avis email input
2017-10-30 14:19:20 +01:00
Simon Lehericey
92beb321a4
typo
2017-10-27 17:28:50 +02:00
Simon Lehericey
a4be8e709c
[ fix #872 ] Procedure Logo: fix overflow logo for ie11
...
Bug in ie11 linked to flex and image ratio
The only way to fix it so far and preserving image ratio is to use background image property
2017-10-25 16:04:18 +02:00
Mathieu Magnin
eabc24b432
Print champ description with simple format to display line breaks
2017-10-25 15:36:42 +02:00
Simon Lehericey
8dedf6fdca
[ fix #575 ] dossier updated_at is ... updated when children are updated
2017-10-24 18:12:25 +02:00
gregoirenovel
07ca2989bd
Align several mixed-types buttons properly
2017-10-23 15:21:34 +02:00
gregoirenovel
dc1615393b
Change the padding of icon-only buttons
...
So that they have the same height as buttons with
text
2017-10-23 15:21:34 +02:00
Mathieu Magnin
02c83766e5
[ Fix #839 ] Fix mail template modification by side effect
2017-10-23 14:36:52 +02:00
gregoirenovel
3e2f12a054
[ Fix #807 ] Increase the maximum number of columns to 5
2017-10-23 12:44:21 +02:00
gregoirenovel
8adca7e067
Increase the horizontal spacing in dossiers-table
2017-10-23 12:44:21 +02:00
gregoirenovel
f2b0a0d5bc
Decrease the vertical padding of dossiers-table th and .cell-link
2017-10-23 12:44:21 +02:00
gregoirenovel
23a6f5bae1
Properly align the dossier-table th
2017-10-23 12:44:21 +02:00
gregoirenovel
9c7ad9da91
Align the follow button to the right
2017-10-23 12:44:21 +02:00
gregoirenovel
40c4ef24a0
Change the width of the number, status and follow columns
2017-10-23 12:44:21 +02:00
gregoirenovel
1fc5264900
In SCSS files, use the class instead of the HTML tag when possible
2017-10-23 12:44:21 +02:00
gregoirenovel
b595ce9066
Reduce the font-size in the dossiers-table
2017-10-23 12:44:21 +02:00
gregoirenovel
b88490e559
Reduce the top margin of the dossiers table in the procedure page
2017-10-23 12:44:21 +02:00
gregoirenovel
1a4cef818d
Set the line-height of the labels
...
So that their heights are fixed
2017-10-23 12:44:21 +02:00
gregoirenovel
e2a8bdcbb3
Remove the phone number from the homepage
...
We only get calls from users wanting support,
not from administrations wanting a demo
2017-10-23 11:12:11 +02:00
Mathieu Magnin
a8ec374252
[ Fix #813 ] When a brouillon is created, send an email to user
2017-10-20 12:13:55 +02:00
Simon Lehericey
3dce5b9b5e
AttestationTemplate: store logo and signature with uuid
2017-10-19 15:32:04 +02:00
Simon Lehericey
ea2827134e
[ fix #850 ] Use UUID as a uniq identifier for the attestation
2017-10-19 15:02:01 +02:00
gregoirenovel
fe84ff9e6c
[ Fix #864 ] Warn the user when they click the delete draft button
2017-10-19 11:20:52 +02:00
gregoirenovel
7be86796c1
After deleting a brouillon, stay on the brouillon tab
...
Instead of redirecting on another tab
2017-10-19 11:20:52 +02:00
Mathieu Magnin
8c67339299
If date_publication is missing on rna_information, do not crash
2017-10-17 15:21:29 +02:00
gregoirenovel
9ea396cc8b
Avoid loading the association for the without_followers scope
...
As seen in https://stackoverflow.com/questions/5319400/want-to-find-records-with-no-associated-records-in-rails-3
2017-10-17 14:10:34 +02:00
Mathieu Magnin
08f76f336c
If not super admin do not display current month in cumul
2017-10-17 12:55:17 +02:00
gregoirenovel
df4bad9132
Fix the size and viewBox of several SVG icons
...
- So that they aren’t stretched by the
background-size attribute
- So that they are properly dimensioned compared
to other icons
- Note: the attachment icon is slightly different
2017-10-17 12:40:47 +02:00
gregoirenovel
e555c181e2
Fix the border for the selected header item
...
It now touches the bottom again
2017-10-17 12:04:26 +02:00
Mathieu Magnin
793a2aa4c4
Remove crisp because Benjamin left
2017-10-17 11:52:09 +02:00
gregoirenovel
29ff27eee9
[ Fix #848 ] Correctly format the dates in the Identité part
2017-10-17 11:32:26 +02:00
gregoirenovel
9e266ca0f4
Remove the .card div from the map partial
2017-10-17 11:31:59 +02:00
gregoirenovel
d42e438546
Extract the pieces jointes part into a partial
2017-10-17 11:31:59 +02:00
gregoirenovel
e053a40902
Don’t use the featured styling on Demande cards
2017-10-17 11:31:59 +02:00
gregoirenovel
2096f83a14
Extract the title from the card when showing the Pièce jointes
2017-10-17 11:31:59 +02:00
gregoirenovel
13ce8c28f0
Extract the title from the card when showing the Carte
2017-10-17 11:31:59 +02:00
gregoirenovel
bbb680e168
Extract the title from the card when showing the Identité
2017-10-17 11:31:59 +02:00
gregoirenovel
239324cdc4
Remove an extra blank line
2017-10-17 11:31:59 +02:00
Simon Lehericey
c9d4baa71b
Improve the styling of the Demande tab
2017-10-17 10:14:56 +02:00
Simon Lehericey
12223c21f1
[Ref #832 ] Improve the display of rich text in the Demande tab
2017-10-17 10:14:56 +02:00
Simon Lehericey
267591f27e
[ Fix #854 ] Give a length to libellé cells
2017-10-17 10:14:56 +02:00
gregoirenovel
fa2ee4797b
Don’t use an i
tag for icons
2017-10-17 10:02:28 +02:00
gregoirenovel
67f2d6599e
Add some more forgotten changes in #841
2017-10-17 10:01:26 +02:00
gregoirenovel
e3123ac320
[ Fix #849 ] Fix the display of icons in buttons
...
Some changes were forgotten in #841
2017-10-17 10:01:26 +02:00
gregoirenovel
e22014c0d5
Use underscores instead of dashes in filenames
2017-10-17 09:58:40 +02:00
Simon Lehericey
5257d20ba0
[fix #845 ] Attestation: affiche les dates au format français
2017-10-16 18:54:19 +02:00
gregoirenovel
8ec4ffde27
In vertical tables, invert the bold styling
...
the label is now in bold, and the value in a
normal weight:
- it is more usual
- it allows the value to contain bold styling
2017-10-16 10:59:09 +02:00
Simon Lehericey
741167abec
[ fix #832 ] sanitize user input
2017-10-16 10:49:54 +02:00
Simon Lehericey
4fab477b63
Style: scope icon style
2017-10-16 10:29:33 +02:00
gregoirenovel
316d8e09b5
Allow accompagnateurs to print a Dossier
2017-10-16 09:33:58 +02:00
Mathieu Magnin
0f945e2fea
Simplify mailer parameters to be serializable (even if mail_template.id is nil)
2017-10-13 21:27:17 +02:00
Mathieu Magnin
3ba5de88b6
[ Fix #839 ] Send notification email in async to avoid sending same email to different users
2017-10-13 17:41:02 +02:00
Simon Lehericey
965c9f9bf4
Header: better display
2017-10-12 09:10:22 +02:00
Simon Lehericey
6f4ddb9e3e
[ fix #728 ] Reduce flash error size to avoid cookies overflow
2017-10-12 09:02:54 +02:00
gregoirenovel
b2f63f7f38
Delete redis and actioncable
2017-10-12 07:21:02 +02:00
gregoirenovel
ab625093d7
[ Fix #802 ] Make the procedure’s stats clickable
...
They redirect directly to the right tabs
See http://kizu.ru/en/fun/nested-links/
for the dirty trick
2017-10-11 17:55:57 +02:00
Simon Lehericey
6a77dff916
[ fix #811 ]OpenStreetMap: use openstreetmap.org to provide the tiles
2017-10-11 15:13:02 +02:00
gregoirenovel
fd08bb8c57
Eager-load data for downloadable dossiers
...
So that the export is faster
2017-10-11 12:38:00 +02:00
gregoirenovel
8281a6474e
Force a single query for some includes
...
As explained in
https://blog.bigbinary.com/2013/07/01/preload-vs-eager-load-vs-joins-vs-includes.html
Otherwise the `where` fails because the `includes`
is done using another query
2017-10-10 18:33:20 +02:00
Mathieu Magnin
c5487657db
Create a Job that receive automatically each new dossier from a specific procedure
2017-10-06 17:49:31 +02:00
Mathieu Magnin
5eff915b9d
Add initiated_at to DossiersSerializer
2017-10-06 17:49:06 +02:00
Mathieu Magnin
17ce3885fd
Force commentaire order to avoid tests to fail randomly
2017-10-06 11:04:09 +02:00
gregoirenovel
c58a7abbd1
Capitalize the buttons’ labels
2017-10-06 10:49:38 +02:00
gregoirenovel
6daeac8a18
Invert the buttons order in the Dossier header
2017-10-06 10:33:36 +02:00
gregoirenovel
9466e6e0da
Make the hover style match the active style
2017-10-06 10:33:04 +02:00
gregoirenovel
fb769f4362
Improve the header navigation style
...
- The underline only underlines the text, not
the horizontal padding
- The underline does not overlap with the grey
border
2017-10-06 10:33:04 +02:00
Simon Lehericey
e20d403b20
DossierController: a archived dossier is not followed
2017-10-05 16:59:26 +02:00
Simon Lehericey
19b3416361
Gestionnaire: add unfollow method
2017-10-05 16:59:26 +02:00
Simon Lehericey
01da457ad0
DossierController: a dossier commented is followed
2017-10-05 16:59:26 +02:00
gregoirenovel
3bedb76701
[ Fix #791 ] Fix a typo preventing to download the Excel file
2017-10-05 16:53:57 +02:00
Simon Lehericey
c602efee18
Gestionnaire Legacy UI: fix nouveaux dossier list filter
2017-10-05 15:58:52 +02:00
gregoirenovel
044e0e69b8
Normalize the capitalisation of tab names in the Accompagnateur header
2017-10-05 15:48:18 +02:00
gregoirenovel
002ccf3552
In the Avis header, the Instruction tab is now Avis
2017-10-05 15:47:29 +02:00
gregoirenovel
0006d42874
Move the jobs logging handling in ApplicationJob
2017-10-05 15:42:48 +02:00
gregoirenovel
51f57d983e
Use ActiveJob
2017-10-05 15:42:48 +02:00
gregoirenovel
a611cace5f
Do not allow to filter by explication fields
2017-10-05 14:46:09 +02:00
gregoirenovel
c586474a45
Do not show explication fields to gestionnaires
2017-10-05 14:46:09 +02:00
Sylvain
8d7450da20
Fix special chars on homepage
...
Deux
LSEP apparaissent sur la home (Chrome, Windows, capture d'écran). Je les ai supprimé du fichier où ils apparaissent.
2017-10-05 13:45:05 +02:00
gregoirenovel
31b9f8950e
Increase the number of dossiers on the procedure page
...
Plus remove some trailing whitespace
2017-10-05 13:28:24 +02:00
gregoirenovel
0705efde30
Add filtering to the dossiers table
2017-10-02 17:45:22 +02:00
gregoirenovel
801318b053
Memoize statut
2017-10-02 17:45:22 +02:00
gregoirenovel
3df9356021
Add field sort to the dossiers table
2017-10-02 17:45:22 +02:00
gregoirenovel
88ad986143
Remove the ordering from the dossier scopes
2017-10-02 17:45:22 +02:00
gregoirenovel
b1cfd7e1bc
Extract the folders table header field into a partial
2017-10-02 17:45:22 +02:00
gregoirenovel
e1bdbec815
Allow the customization of the dossiers table
2017-10-02 17:45:22 +02:00
gregoirenovel
7036f9778b
Add ProcedurePresentation
2017-10-02 17:03:30 +02:00
Simon Lehericey
c049957bbe
Add disable_with on annotations_privees and avis
2017-09-29 17:16:32 +02:00
Simon Lehericey
69e5da1854
Avis Old UI: fix a path that have moved
2017-09-28 12:37:56 +02:00
Mathieu Magnin
e753c67ad6
Change WeeklyOverviewWorker for delayed_job
2017-09-27 16:47:32 +02:00
Mathieu Magnin
fbad15bc84
Change AutoArchiveProcedureWorker for delayed_job
2017-09-27 16:47:32 +02:00
Simon Lehericey
2b760c85c4
[ Fix #763 ] Add annotations_privees to buggy annotation system
2017-09-27 15:08:34 +02:00
Simon Lehericey
f2e1480c73
Notifications: add annotations_privees
2017-09-27 12:16:33 +02:00
Simon Lehericey
04d1e0f0e8
Notification: instruction -> avis
2017-09-27 12:16:33 +02:00
Simon Lehericey
f5a227fa92
[ Fix #762 ] move dossier instruction -> dossier annotations_privees
2017-09-27 12:16:33 +02:00
Simon Lehericey
a421f0257e
[ Fix #762 ] split annotations and avis
2017-09-27 12:08:55 +02:00
Simon Lehericey
fb5472d3f6
Dossier: remove a_instruire scope
...
As it s a duplication of en_instruction
2017-09-26 14:42:54 +02:00
Simon Lehericey
1cfeb10ce9
[ Fix #503 ] Dossier: remove updated
2017-09-26 14:42:54 +02:00
Simon Lehericey
633b55aca0
[ Fix #503 ] Dossier: remove replied
2017-09-26 14:42:54 +02:00
Simon Lehericey
030a11d98c
[ Fix #503 ] Dossier: remove unused ouvert state
2017-09-26 14:42:54 +02:00
Simon Lehericey
2eca14a731
DossierListGestionnaire: change a_traiter filter from ouvert to nouveau
2017-09-26 14:42:54 +02:00
Simon Lehericey
73357c5144
[ Fix #503 ] Dossier: Remove waiting for gestionnaire scope
2017-09-26 14:42:54 +02:00
Simon Lehericey
460cd3e237
[ Fix #503 ] Dossier: Remove waiting for user scope
2017-09-26 14:42:54 +02:00
Simon Lehericey
53f0a16186
BackofficeAvisController: make new avis confidentiel by default
2017-09-22 17:58:16 +02:00
Mathieu Magnin
45cf26e855
If type de champ has no dropdownlist do not crash, (sentry issue: https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1833/ )
2017-09-22 14:16:00 +02:00
Mathieu Magnin
64f4bcf257
Fix if gestionnaire is nil (sentry issue : https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1865/ )
2017-09-22 11:19:19 +02:00
Mathieu Magnin
356c16b1bc
Hide crisp default button, to avoid usagers to spam us
2017-09-22 10:29:49 +02:00
Mathieu Magnin
6a58873ba7
Add pagination on avis
2017-09-22 10:19:26 +02:00
Mathieu Magnin
3b3f4efa18
Design kaminari pagination
2017-09-22 10:19:25 +02:00
Mathieu Magnin
2737a8d529
Add pagination on dossiers list
2017-09-22 10:19:25 +02:00
Mathieu Magnin
fdb187368d
When procedure libelle is too long, don't shrink logo or button
2017-09-21 17:11:57 +02:00
Mathieu Magnin
10b22b018e
Header menu should be above every dropdown content
2017-09-21 11:42:49 +02:00
Simon Lehericey
1962037728
New Design: add motivation and attestation
2017-09-21 10:50:05 +02:00
Mathieu Magnin
a927affae6
Display avis counter on header
2017-09-21 10:41:53 +02:00
Mathieu Magnin
8dace5217a
Share badges style in /patron
2017-09-21 10:23:22 +02:00
gregoirenovel
5b955677c2
[ Fix #719 ] Unformat date and yes/no values in the form
2017-09-20 17:40:43 +02:00
Simon Lehericey
11e8feacce
Style: extract class describing empty stuff
2017-09-20 17:17:05 +02:00
Simon Lehericey
bacff0a178
Avis: wording
2017-09-20 15:42:26 +02:00
Simon Lehericey
3c3e303a59
Dossier instruction: can ask for a confidentiel avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
caaa3169e5
Avis instruction: can ask for a confidentiel avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
4dd20c17d1
Avis: extract of avis list and add confidential icon
2017-09-20 15:42:26 +02:00
Simon Lehericey
f420cde531
Icons: add lock
2017-09-20 15:42:26 +02:00
Simon Lehericey
fdbf34f04b
Avis instruction: only authorized avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
112e3a5793
Procedures: redirect to avis if suitable
2017-09-20 15:42:26 +02:00
Simon Lehericey
3dfd77e914
Avis: add messagerie
2017-09-20 15:42:26 +02:00
Simon Lehericey
d1540c4a68
Avis: add avis link in header
2017-09-20 15:42:26 +02:00
Simon Lehericey
88c27479ee
Avis: instruction
2017-09-20 15:42:26 +02:00
Simon Lehericey
a1f9f7aa75
Avis: show
2017-09-20 15:42:26 +02:00
Simon Lehericey
3cc09c98f9
Avis: index
2017-09-20 15:42:26 +02:00
Mathieu Magnin
bce3efc5d4
[ Fix #735 ] Change nouveau state to en construction
2017-09-20 10:38:22 +02:00
Mathieu Magnin
ca82fba170
[ Fix #738 ] TPS link on header should navigate on same UI
2017-09-19 17:53:38 +02:00
Mathieu Magnin
e33259a464
Add download dossiers button on procedure#show
2017-09-19 13:48:10 +02:00
Mathieu Magnin
35d7bac49e
Style success flash messages
2017-09-15 10:56:14 +02:00
Mathieu Magnin
b477adf586
Improve procedure logo on procedure#index
2017-09-14 11:41:19 +02:00
Mathieu Magnin
fe7f772f96
Improve procedure logo on procedure#show
2017-09-14 11:41:19 +02:00
Mathieu Magnin
66549f93bb
[ Fix #727 ] Engagement champ should behave like checkbox when displayed
2017-09-14 10:57:40 +02:00
Mathieu Magnin
9c8061d5a4
Show pieces justificatives in messagerie
2017-09-13 16:27:08 +02:00
Mathieu Magnin
581da1921e
Add a flash message after comment is created
2017-09-13 16:27:08 +02:00
Mathieu Magnin
bdf754c0d8
Automatically scroll to the last message
2017-09-13 16:27:08 +02:00
Mathieu Magnin
3cbfd2709f
Add disable_with on comment creation
2017-09-13 16:27:08 +02:00
Mathieu Magnin
3fa300d1b6
Date format on commentaire should be 13:30 le 31/01/2017
2017-09-13 16:27:07 +02:00
Mathieu Magnin
530998dad5
If gestionnaire is known on avis, use his email
2017-09-13 11:42:41 +02:00
Mathieu Magnin
31995c270c
[ Fix #721 ] If an avis is created with uppercase email, downcase it before save
2017-09-13 10:59:59 +02:00
Mathieu Magnin
a4ea5ddcee
When changing dossier state do not switch the UI
2017-09-13 09:24:51 +02:00
Mathieu Magnin
31dd45617a
PJ download button should be clear when PJ is available
2017-09-11 09:43:19 +02:00
Mathieu Magnin
dd2d666347
Limit long breadcrumbs, by truncating procedure name
2017-09-08 14:46:25 +02:00
Simon Lehericey
d9e532684f
Login: fix remember me checkbox and forget password link
2017-09-08 11:52:30 +02:00
Simon Lehericey
c2d042eb99
Dossier show: display cards champ if needed
2017-09-08 11:44:46 +02:00
Simon Lehericey
e5150da6c3
Breadcrumbs: fix margin bottom
2017-09-08 11:29:12 +02:00
Simon Lehericey
d943874144
Carto: display carto only when needed
2017-09-08 10:16:27 +02:00
Simon Lehericey
0b832a873c
Search: replace placeholder to 'Rechercher un dossier'
2017-09-07 16:50:02 +02:00
Mathieu Magnin
39c556f70e
Enable Rack mini profiler, on every environment
2017-09-07 15:12:19 +02:00
Mathieu Magnin
11386a04ee
Remove history link
2017-09-07 11:44:39 +02:00
Simon Lehericey
c9f69e9693
Avis Style: replace bubble image tag by the i tag
2017-09-07 10:37:40 +02:00
Simon Lehericey
c93feb27f0
Avis style: extract class to avis.scss file for reuse in patron and avis
2017-09-07 10:36:25 +02:00
Simon Lehericey
bbb1f77ada
Messagerie: extract css for reuse
2017-09-07 10:17:24 +02:00
Simon Lehericey
bd9536faac
Header: improve padding
2017-09-07 10:10:03 +02:00
Simon Lehericey
62c893d704
Procedure Index: increase link size to the whole line and apply same style as the dossier index
2017-09-06 11:14:00 +02:00
Mathieu Magnin
4e526c5fa9
Add action button for follow and archive
2017-09-06 11:14:00 +02:00
Mathieu Magnin
feda7213f9
Action button for instruction state
2017-09-06 11:13:59 +02:00
Mathieu Magnin
059a0b961b
Action button for construction state
2017-09-06 11:13:59 +02:00
Mathieu Magnin
c713518ac1
[ Fix #494 ] If super-admin is connected, add an link in the header menu
2017-09-06 11:13:58 +02:00
Mathieu Magnin
3f67d29a18
Mail => Email
2017-09-06 11:13:58 +02:00
Mathieu Magnin
d6e17493d5
[ Fix #694 ] Commentaire email should be displayed
2017-09-06 11:13:58 +02:00
Mathieu Magnin
485a1ceb00
[ Fix #663 ] Menu header should be above every element
2017-09-06 11:13:57 +02:00
Simon Lehericey
a298c48e8f
Dossier: add notification icon
2017-09-06 11:13:50 +02:00
Simon Lehericey
fbd16b8c75
Procedure show: add notification icon
2017-09-06 11:11:47 +02:00
Simon Lehericey
3e93d21bf5
Procedure Index: add notification icon
2017-09-06 11:11:47 +02:00
Mathieu Magnin
3e4ba4715d
Fix carte bug if user has not draw on map
2017-09-06 11:11:46 +02:00
Mathieu Magnin
7441410fff
Hide outline on buttons
2017-09-06 11:11:45 +02:00
Mathieu Magnin
4a94ce1e16
Fix line-height for buttons
2017-09-06 11:11:45 +02:00
Mathieu Magnin
4716d40574
Resize icon in button does not apply on dropdown
2017-09-06 11:11:45 +02:00
Mathieu Magnin
10ce7ad9eb
Merge pull request #679 from sgmap/new_icons_for_dossier_action_button
...
Add new icons for dossier action button
2017-09-06 11:11:44 +02:00
Mathieu Magnin
b531f85f97
Add new icons for dossier action button
2017-09-06 11:11:44 +02:00
Simon Lehericey
1a1bc461f7
ProfileSwitch: change link to stay in the old design part
2017-09-06 11:11:44 +02:00
Simon Lehericey
b8a75621e3
New_design: add design switch button
2017-09-06 11:11:43 +02:00
Mathieu Magnin
bf97a111f9
Old recherche with new design
2017-09-06 11:11:43 +02:00
Mathieu Magnin
c74bf5dd8f
Dossier index use .dossiers-table class
2017-09-06 11:11:42 +02:00
Mathieu Magnin
f5ca774e40
Add new style .dossiers-table
2017-09-06 11:11:42 +02:00
Mathieu Magnin
7e09bd71e4
Add hoverable tables
2017-09-06 11:11:42 +02:00
Mathieu Magnin
d268151e04
Improve default table style
2017-09-06 11:11:42 +02:00
Mathieu Magnin
9b95a4732f
Add a .vertical class to tables because this is not the default layout
2017-09-06 11:11:41 +02:00
Mathieu Magnin
1e61f1388b
Move layout configuration on gestionnaire controller
2017-09-06 11:11:41 +02:00
Simon Lehericey
faf2d2814b
Champ: fix indentation
2017-09-06 11:11:40 +02:00
gregoirenovel
0eb7ea23cc
Unify class conditionals in the gestionnaire dossier header
2017-09-06 11:11:40 +02:00
gregoirenovel
590c572106
Use .tabs instead of .dossier-categories in procedures#show
2017-09-06 11:11:39 +02:00
gregoirenovel
93cb2ec118
Add badge support to tabs
2017-09-06 11:11:39 +02:00
gregoirenovel
cc54fec629
Redesign the tabs so that they look more like tabs
2017-09-06 11:11:39 +02:00
gregoirenovel
7c1eed760a
Remove from patron a case that does not exist
...
We never use tabs somewhere else than in a
header
2017-09-06 11:11:39 +02:00
gregoirenovel
7af3f90197
Rename header-left-menu to header-tabs
2017-09-06 11:11:38 +02:00
gregoirenovel
08aa2ac524
Redesign the tabs so that they look more like tabs
2017-09-06 11:11:38 +02:00
Simon Lehericey
49a656db76
New_design: make the procedure list more awesome
2017-09-06 11:11:37 +02:00
Simon Lehericey
3e5d0dce6a
NewDesign: can add annotations
2017-09-06 11:11:37 +02:00
Simon Lehericey
b94fc7c132
NewDesign: list of avis
2017-09-06 11:11:37 +02:00
Simon Lehericey
2923d4448b
NewDesign: can ask a new avis
2017-09-06 11:11:36 +02:00
Simon Lehericey
f03d8ef909
NewDesign: add dossier instruction view
2017-09-06 11:11:36 +02:00
Simon Lehericey
9d7066d3c3
Form: display mandatory star in red
2017-09-06 11:11:35 +02:00
Simon Lehericey
46c144146c
Form: add description
2017-09-06 11:11:35 +02:00
Simon Lehericey
d4bbcdf682
Champ: add before save logic to serialize datetime and dropdownlist fields
2017-09-06 11:11:35 +02:00
Simon Lehericey
74c71a3776
Form: use rails form helper
2017-09-06 11:11:34 +02:00
Mathieu Magnin
c05c1ae72d
Fix sticky footer
2017-09-06 11:11:34 +02:00
Mathieu Magnin
42a8792071
Add icons to patron + new icon folder
2017-09-06 11:11:33 +02:00
Mathieu Magnin
32c83dd7a5
Add label variations to /patron
2017-09-06 11:11:33 +02:00
Mathieu Magnin
f3f2b6acc2
Avoid n+1 because of gestionnaire.follows?(dossier)
2017-09-06 11:11:32 +02:00
Mathieu Magnin
d780ab1c90
Avoid n+1 because of user.email
2017-09-06 11:11:32 +02:00
Simon Lehericey
9f890d1ea7
Form: import dossier_link js in new design
2017-09-06 11:11:31 +02:00
Simon Lehericey
1b42766836
Form: add address auto complete
2017-09-06 11:11:31 +02:00
Simon Lehericey
1a485f173e
Form: add required
2017-09-06 11:11:30 +02:00
Simon Lehericey
80023e4f7f
Form: remove form overflow to improve box shadow on input error
2017-09-06 11:11:30 +02:00
Simon Lehericey
2fd486c1a3
Form: add pseudo native form validation
2017-09-06 11:11:30 +02:00
Simon Lehericey
509b378567
Form: add select2 form multiple select
2017-09-06 11:11:30 +02:00
Simon Lehericey
e0bd42032a
Form: style select
2017-09-06 11:11:29 +02:00
Simon Lehericey
9c2e71afa3
Form: add various champs html and style
2017-09-06 11:11:29 +02:00
Mathieu Magnin
bc07082d17
Init js namespace one time
2017-09-06 11:11:28 +02:00
Mathieu Magnin
373d9999fc
Add map for gestionnaire
2017-09-06 11:11:28 +02:00
Mathieu Magnin
bdaa51c5cc
Move old js in a directory to avoid conflicts with require_tree
2017-09-06 11:11:27 +02:00
gregoirenovel
b4a1f4f248
Remove a useless scope call
...
A gestionnaire’s dossiers are already filtered so
that the brouillon ones do not appear
2017-09-06 11:11:27 +02:00
gregoirenovel
091fa1d099
Order a Gestionnaire’s procedures
...
First display the procédures publiées, sorted
by publication date, and then the procédures
archivées, sorted by archiving date
2017-09-06 11:11:27 +02:00
gregoirenovel
7ff7710803
A gestionnaire can only see procédures publiées
2017-09-06 11:11:26 +02:00
Simon Lehericey
2aa8c1d272
Messagerie: remove useless class
2017-09-06 11:11:26 +02:00
Simon Lehericey
3b7244675d
Css: add .width-100 utility class
2017-09-06 11:11:26 +02:00
Simon Lehericey
877f64599d
Form: add send button on the right
2017-09-06 11:11:25 +02:00
Simon Lehericey
0d27ca3bca
Commentaire: use scope to order commentaires association
2017-09-06 11:11:25 +02:00
Simon Lehericey
714b2a5f08
NewDesign: gestionnaire can add a new commentaire
2017-09-06 11:11:25 +02:00
Simon Lehericey
3ecc4f1327
NewDesign: add person icon to message
2017-09-06 11:11:24 +02:00
Simon Lehericey
3a8e84b128
NewDesign: add guest label to message
2017-09-06 11:11:24 +02:00
Simon Lehericey
983c17fdcf
NewDesign: Dossier add dossier and messagerie link in header
2017-09-06 11:11:24 +02:00
Simon Lehericey
497f898e1b
NewDesign: add dossier messagerie show
2017-09-06 11:11:24 +02:00
Simon Lehericey
86ea47bb0d
BackofficeDossierController: follow dossier when receive
2017-09-06 11:11:23 +02:00
Simon Lehericey
b80d6a6a59
Follow: add flash notice to dossier_controller
2017-09-06 11:11:23 +02:00
Simon Lehericey
95fbd1824a
Follow: remove old backoffice follow and toggle_follow
2017-09-06 11:11:22 +02:00
Simon Lehericey
a7f270bac4
Follow: user new dossier follow controller instead of backoffice
2017-09-06 11:11:22 +02:00
Simon Lehericey
f07b6eab53
Follow: use follow instead of toggle_follow_dossier
2017-09-06 11:11:22 +02:00
Simon Lehericey
6cff044a50
NewDossierController: add next_step follow
2017-09-06 11:11:22 +02:00
Simon Lehericey
8b2366cb98
GestionnaireDossierController: use gestionnaire follow
2017-09-06 11:11:21 +02:00
Simon Lehericey
e68f3332c1
Gestionnaire: add follow(dossier) method
2017-09-06 11:11:21 +02:00
Simon Lehericey
033f08524f
Gestionnaire: refactor follow?
2017-09-06 11:11:21 +02:00
Mathieu Magnin
8fdc16d89f
Remove old font-size
2017-09-06 11:11:20 +02:00
Mathieu Magnin
73e6053c19
Fix input search margin in header
2017-09-06 11:11:20 +02:00
Mathieu Magnin
cbd9df8f0c
[ Fix #552 ] Disable default style for buttons on iOS
2017-09-06 11:11:20 +02:00
Mathieu Magnin
9731683b43
Use default-spacer in forms
2017-09-06 11:11:20 +02:00
Simon Lehericey
dfe36ceef7
NewDesign Form: unify body and input font
2017-09-06 11:11:19 +02:00
Simon Lehericey
2a8b8d4a01
NewDesign Form: apply design to textarea
2017-09-06 11:11:19 +02:00
Simon Lehericey
9753da8fdd
NewDesign Form: move margin from label to input
...
provide beautiful layouts with or without label between inputs
2017-09-06 11:11:19 +02:00
Mathieu Magnin
f0777e166f
Add sticky footer
2017-09-06 11:11:19 +02:00
Mathieu Magnin
7a0d6108e1
.footer -> %footer
2017-09-06 11:11:18 +02:00
Mathieu Magnin
3b3e0403d2
Improve /patron readability
2017-09-06 11:11:18 +02:00
Mathieu Magnin
cf63fd6b04
Add breadcrumbs
2017-09-06 11:11:17 +02:00
Mathieu Magnin
9aac9ba7cd
use backoffice-header in views
2017-09-06 11:11:17 +02:00
Mathieu Magnin
c0eeec82c4
Add backoffice header to patron
2017-09-06 11:11:17 +02:00
Mathieu Magnin
b555320d46
Add RNA informations
2017-09-06 11:11:17 +02:00
Mathieu Magnin
f41b1b59c0
Add tabs partial
2017-09-06 11:11:16 +02:00
Mathieu Magnin
2b0c0567b8
Add header section in form table
2017-09-06 11:11:16 +02:00
Mathieu Magnin
7bb75c3f56
Add identite infos for individual
2017-09-06 11:11:16 +02:00
Mathieu Magnin
373447a19f
Pieces justificatives on dossier page
2017-09-06 11:11:16 +02:00
Mathieu Magnin
8aed0d7aef
Use champ decorator to print dossier details
2017-09-06 11:11:15 +02:00
Mathieu Magnin
47857664eb
Add dossier champs (minimalist version)
2017-09-06 11:11:15 +02:00
Mathieu Magnin
f9f313e990
Add identité demandeur for entreprise on dossier detail page
2017-09-06 11:11:15 +02:00
Mathieu Magnin
1c7d9eaa69
Add table component to patron
2017-09-06 11:11:15 +02:00
Mathieu Magnin
dc00c10366
Add card component to patron
2017-09-06 11:11:14 +02:00
Mathieu Magnin
5b417889b2
Use same counters on procedures index than show
2017-09-06 11:11:14 +02:00
Simon Lehericey
5a0be8918e
NewDesign: procedure index show procedure image if present
2017-09-06 11:11:14 +02:00
Simon Lehericey
962f55f6cc
NewDesign: same order of categories in index and show
2017-09-06 11:11:13 +02:00
Simon Lehericey
d58502ab49
NewDesign: fix pluralization on procedure index
2017-09-06 11:11:13 +02:00
Simon Lehericey
8cb770dc7a
NewDesign: new procedures index respects logo dimension ratio
2017-09-06 11:11:13 +02:00
Simon Lehericey
0667883817
NewDesign: new procedures index links to new procedure show !
2017-09-06 11:11:13 +02:00
Simon Lehericey
0d3c145ef3
NewDesign: procedure show add dossier actions
2017-09-06 11:11:12 +02:00
Simon Lehericey
a064ae64a4
NewDesign: add archive and unarchive actions on dossier
2017-09-06 11:11:12 +02:00
Simon Lehericey
eb65318844
NewDesign: add follow and unfollow actions on dossier
2017-09-06 11:11:12 +02:00
Simon Lehericey
013f2463d1
NewDesign: procedure show add dossier status
2017-09-06 11:11:12 +02:00
Simon Lehericey
ad1a11ab52
NewDesign: procedure show add dossier table
2017-09-06 11:11:11 +02:00
Simon Lehericey
b48af51ee9
NewDesign: procedure show only header
2017-09-06 11:11:11 +02:00
Mathieu Magnin
0528b83fcc
Remove %page-width-container from common
2017-09-06 11:11:11 +02:00
Mathieu Magnin
e2735b4238
Remove %page-width-container from patron
2017-09-06 11:11:10 +02:00
Mathieu Magnin
b022649699
Remove %page-width-container from header
2017-09-06 11:11:10 +02:00
Mathieu Magnin
180044acff
Remove %page-width-container from layouts
2017-09-06 11:11:10 +02:00
Mathieu Magnin
d0fa94fef0
Remove %page-width-container from footer
2017-09-06 11:11:10 +02:00
Mathieu Magnin
009a478526
Remove %page-width-container from landing
2017-09-06 11:11:09 +02:00
Mathieu Magnin
22bb4b7c92
Change link in switch profile menu to match new route
2017-09-06 11:11:09 +02:00
Mathieu Magnin
1d53214870
Add archived label on procedures list
2017-09-06 11:11:08 +02:00
Mathieu Magnin
29b201ad00
Add left menu in navbar
2017-09-06 11:11:08 +02:00
Mathieu Magnin
bc4e961200
Style backoffice title
2017-09-06 11:11:08 +02:00
Mathieu Magnin
eb2a33138c
Add french inflections rules for nouveau=>nouveaux
2017-09-06 11:11:07 +02:00
Mathieu Magnin
622a170793
Add and design new #index on procedures for gestionnaires
2017-09-06 11:11:07 +02:00
Mathieu Magnin
ca94b2bfa4
Add generic .container class
2017-09-06 11:11:07 +02:00
Mathieu Magnin
810430de0e
Add flexbox utility css classes
2017-09-06 11:11:07 +02:00
Mathieu Magnin
dcb3a48bd3
Tabs component in patron
2017-09-06 11:11:06 +02:00
benjaminhenkel
48d88a110c
Update landing.html.haml
...
Changement du deuxième numéro de la page que j'avais oublié la première fois
2017-08-31 14:35:10 +02:00
benjaminhenkel
480aefe815
Update landing.html.haml
...
Changement du numéro de téléphone de contact disponible sur le site TPS
2017-08-30 17:15:02 +02:00
Simon Lehericey
5737ebd090
Dossier: workaround preview bug linked to champs with dossier.id == 0
2017-08-29 16:30:34 +02:00
gregoirenovel
79eccb2de0
Add a method to speed up a conditional statement
2017-08-29 14:57:23 +02:00
gregoirenovel
0a8ac645d8
Shave some requests in build_default_champs
2017-08-29 14:22:14 +02:00
gregoirenovel
650a39b371
Use delete_all instead of destroy_all to batch delete
2017-08-29 14:22:14 +02:00
Simon Lehericey
806c41af38
[ Fix #667 ] Can add an already register gestionnaire with uppercase email
2017-08-28 15:36:34 +02:00
Simon Lehericey
a7b00ee847
Rubocop: enable Layout/SpaceAroundOperators
2017-08-28 13:39:13 +02:00
Simon Lehericey
62f1b9c712
Rubocop: enable indentation width rule
2017-08-28 12:20:58 +02:00
Mathieu Magnin
dd1fea78ac
[ Fix #658 ] when dossier linked to avis is hidden, do not crash application
2017-08-28 10:11:50 +02:00
Mathieu Magnin
dd581082ca
[ Fix #395 ] Export user email in API
2017-08-25 12:01:53 +02:00
Mathieu Magnin
931e547afa
[ Fix #395 ] Export user email in csv
2017-08-25 12:01:52 +02:00
Simon Lehericey
d40eef284d
Dossier: fixup n+1 champ query
2017-08-03 13:02:13 +02:00
Simon Lehericey
1363999621
Dossier: fixup n+1 private champ query
2017-08-03 13:01:55 +02:00
Mathieu Magnin
539fc682a0
Format date to iso with dedicated method
2017-08-01 16:47:44 +02:00
Mathieu Magnin
a3b069e501
[ Fix #589 ] When getting birthdate from France Connect format it to ISO
2017-08-01 16:47:44 +02:00
Mathieu Magnin
3804ab5911
[ Fix #589 ] When displaying individual form, fill birthdate input
2017-08-01 16:47:44 +02:00
Mathieu Magnin
03fde0a502
[ FIX #589 ] Force birthdate format when saving
2017-08-01 16:47:43 +02:00
Mathieu Magnin
1aabc6c82b
[ FIX #589 ] Validate birthdate from user input
2017-08-01 16:47:43 +02:00
Simon Lehericey
09ed947890
Accessibility: reenable :focus pseudo class
...
usefull when navigating using keyboard to highlight form send button
2017-07-26 11:17:40 +02:00
Mathieu Magnin
d097860b04
Enable rack mini profiler when super admin is connected
2017-07-25 14:35:54 +02:00
Simon Lehericey
7016bdc49a
Avis: move assign_gestionnaire logic to avis model
2017-07-21 11:22:16 +02:00
Simon Lehericey
fe1b97b738
Avis: move notify_gestionnaire to private method
2017-07-21 11:19:18 +02:00
Mathieu Magnin
ed11ee4fb4
Fix SQL injections
2017-07-20 18:22:14 +02:00
Mathieu Magnin
1d0734dda2
Admin should be owner of procedure to hide it
2017-07-20 16:40:11 +02:00
Mathieu Magnin
e468612d95
Admin should be owner of procedure to destroy it
2017-07-20 14:30:36 +02:00
Simon Lehericey
5ec0e2ed18
Dossier: remove unused ordered_commentaires
...
as commentaires are sorted on the view _messagerie.haml.html
dossier_facade.commentaires.object.sort
2017-07-20 11:03:10 +02:00
Mathieu Magnin
b0c0477622
[ Fix #315 ] Order champs by procedure order in export
2017-07-19 16:31:30 +02:00
Mathieu Magnin
015260ff13
Gestionnaire can download export only for his procedures
2017-07-19 16:31:30 +02:00
gregoirenovel
c464a6faba
[ Fix #168 ] Sort published and archived procedures by publication_date
2017-07-18 13:44:03 +02:00
gregoirenovel
6f2c63c094
Remove default values for some stat methods’ arguments
2017-07-17 16:00:16 +02:00
gregoirenovel
20b4c7ce6f
[ Fix #146 ] Use published_at for procedures in Stats
...
Instead of created_at, which is less
representative
2017-07-17 15:10:05 +02:00
gregoirenovel
1c1a47d83a
publiee_ou_archivee -> publiees_ou_archivees
2017-07-17 15:06:36 +02:00
Simon Lehericey
a1ddcb6d34
DossierController: remove useless facade
2017-07-17 13:36:22 +02:00
gregoirenovel
32e0fa9f69
Add Procedure#publiee_ou_archivee?
2017-07-13 17:01:39 +02:00
gregoirenovel
2b7a148540
Remove Procedure#published?
2017-07-13 17:01:38 +02:00
gregoirenovel
36bee67085
Add Procedure#brouillon?
2017-07-13 17:01:38 +02:00
gregoirenovel
9a7d5d1833
Add Procedure#publiee?
2017-07-13 15:44:18 +02:00
gregoirenovel
cfec05506a
Rename Procedure#archived? -> #archivee?
2017-07-13 15:32:13 +02:00
gregoirenovel
07d390db09
Remove comments that were wrong
...
Having a foo_at column automatically generates the
#foo_at? method, not the #foo? method
2017-07-13 14:46:09 +02:00
gregoirenovel
c43f3fa415
Improve the formatting of the Procedure scopes
2017-07-13 14:46:09 +02:00
gregoirenovel
2f4f10683f
Delete now unused scopes on Procedure
2017-07-13 14:46:09 +02:00
gregoirenovel
75aebe4f07
Add the archivees scope on Procedure
2017-07-13 14:46:09 +02:00
gregoirenovel
89feb6cdf7
Add the brouillons scope on Procedure
2017-07-13 14:46:08 +02:00
gregoirenovel
fc2540649f
Add the publiees scope on Procedure
2017-07-13 14:46:07 +02:00
gregoirenovel
ab9cf1c351
Rename the published scope on Procedure
2017-07-13 14:40:41 +02:00
benjaminhenkel
0a060dbb53
Wording spelling mistake
2017-07-13 11:02:30 +02:00
Simon Lehericey
693c2a43ac
[ Fix #592 ] mutualize sanitize and clean flash messages
2017-07-13 10:14:16 +02:00
Simon Lehericey
4ae9d8ef0d
[ Fix #592 ] Convert html_safe to sanitize
2017-07-13 10:14:16 +02:00
Simon Lehericey
da7af28f9f
[ Fix #592 ] Remove useless html_safe
2017-07-13 10:14:16 +02:00
gregoirenovel
3d4c93a7fb
Autofocus on email fields when relevant
2017-07-13 00:04:52 +02:00
Simon Lehericey
35affd69fc
Commentaires: avoid xss injection
2017-07-12 13:53:25 +02:00
Simon Lehericey
2e03f77e4d
InfoDossier: avoid xss injection
2017-07-12 13:47:59 +02:00
gregoirenovel
bb10e13e2f
[Ref #145 ] Don't use Procedure.archived anymore
2017-07-11 15:03:35 +02:00
gregoirenovel
f55b7914cf
[Ref #144 ] Don't use Procedure.published anymore
2017-07-11 14:51:43 +02:00
Mathieu Magnin
c3fa1e01b9
[ Fix #577 ] Restrict comment creation to Users/Gestionnaires allowed on dossier
2017-07-11 11:01:06 +02:00
Mathieu Magnin
065719ea06
[ Fix #576 ] When user or gestionnaire has no access to dossier, he cannot create an invitation
2017-07-11 10:43:33 +02:00
Simon Lehericey
831ccac685
Turbolinks: do not reload mailjet js on every page
2017-07-11 10:00:29 +02:00
Simon Lehericey
b2e99dd755
Turbolinks: do not reload application js on every page
2017-07-11 10:00:29 +02:00
Simon Lehericey
27cd42a100
fix administration view
2017-07-11 09:09:20 +02:00
gregoirenovel
6a381caaee
Add the archived scope to Procedure
2017-07-10 17:24:53 +02:00
gregoirenovel
411c5791c8
Use the not_archived Procedure scope
2017-07-10 17:24:43 +02:00
gregoirenovel
31b23ac74e
Add the not_published Procedure scope
2017-07-10 17:24:39 +02:00
gregoirenovel
811723e5fb
Use the state_nouveaux Dossier scope
2017-07-10 16:54:02 +02:00
gregoirenovel
3a602b05a4
Use the archived and not_archived Dossier scopes
2017-07-10 16:54:02 +02:00
gregoirenovel
f480f26bd4
Use the state_not_brouillon Dossier scope
2017-07-10 16:54:02 +02:00
gregoirenovel
09d596eec1
Remove a useless call to all
2017-07-10 16:54:02 +02:00
gregoirenovel
5f50f76341
Add the published scope en Procedure
2017-07-10 16:54:01 +02:00
Simon Lehericey
9d48249660
Attestation: uninterlaced png file to be compatible with Prawn
2017-07-10 10:52:27 +02:00
Simon Lehericey
b2ba5c597d
[ FIX #558 ] Attestation: fix access with multiple logins
2017-07-10 10:23:15 +02:00
Mathieu Magnin
aa929bb5b2
[ Fix #554 ] If procedure is hidden, then don't crash
2017-07-06 14:40:06 +02:00
Simon Lehericey
4fad288a8a
lastWeekOverview: fix template
2017-07-04 17:33:01 +02:00
Simon Lehericey
82d8871d03
DossierShow: fix unattended bug on @champs_private
2017-07-04 16:37:29 +02:00
Mathieu Magnin
ce171208da
Fix redirect loop for gestionnaire if hidden procedure is saved in procedure_filter
2017-07-04 14:34:26 +02:00
Mathieu Magnin
70c7c42e1f
[ Fix #430 ] Add delete procedure button
2017-07-04 14:34:26 +02:00
Mathieu Magnin
be3304f71e
Add a scope to Dossier to check if procedure is not hidden
2017-07-04 14:34:16 +02:00
Mathieu Magnin
760efcdad3
Add hidden_at on procedure
2017-07-04 14:33:40 +02:00
Simon Lehericey
12c12953d6
[ FIX #433 ] Add Raven Metadata on the current user/gestionnaire/admin ...
2017-07-04 14:18:46 +02:00
gregoirenovel
4ee17e44dc
[ Fix #529 ] Add missing JS file to new_design/application.js
2017-07-04 14:11:06 +02:00
Simon Lehericey
48e881f9ec
[ FIX #491 ] Attestation: allow administrateur to change attestation template on a published procedure
2017-07-04 13:59:54 +02:00
Simon Lehericey
8aaf7df579
AttestationTemplate edit: id.nil => new_record?
2017-07-04 13:59:54 +02:00
gregoirenovel
97fa7d811a
Merge pull request #537 from sgmap/fix_home_header
...
Header: fix alignement in ff
2017-07-04 13:52:13 +02:00
Simon Lehericey
1d4a0dce56
Header: fix alignement in ff
2017-07-04 13:48:56 +02:00
gregoirenovel
84751cdedf
[ Fix #528 ] Fix a spelling mistake
2017-07-04 12:18:13 +02:00
Mathieu Magnin
dc4decc827
Add profile switcher in header
2017-07-03 14:34:31 +02:00
Mathieu Magnin
5d8c798369
Connexion button is a secondary button
2017-07-03 14:34:31 +02:00
Mathieu Magnin
33af09cae5
Account menu on header
2017-07-03 14:34:31 +02:00
Mathieu Magnin
b7dc511a7d
Create a clean application.js file for new design
2017-07-03 14:34:31 +02:00
Mathieu Magnin
649af19443
Add search field in navbar
2017-07-03 14:34:30 +02:00
Simon Lehericey
b1d96f4a94
[ FIX #492 ] switch to new attestation download system
2017-07-03 14:09:14 +02:00
Simon Lehericey
4e6a8c5939
New Routes: add new_gestionnaire/dossier_controller attestation
2017-07-03 14:09:14 +02:00
Simon Lehericey
94f8fb748f
New Routes: add new_gestionnaire/procedures_controller
2017-07-03 14:09:14 +02:00
Simon Lehericey
3eec07ac08
New Routes: add new_gestionnaire/gestionnaire_controller
2017-07-03 14:09:14 +02:00
Simon Lehericey
1e661fa686
New Routes: add new_user/dossier_controller attestation
2017-07-03 14:09:14 +02:00
Simon Lehericey
15b16f36b7
New Routes: add new_user/dossier_controller
2017-07-03 14:09:14 +02:00
Simon Lehericey
081ed90968
New Routes: add new_user/user_controller
2017-07-03 14:09:13 +02:00
gregoirenovel
38400cc2ce
Fix a capitalization mistake
2017-07-03 10:19:45 +02:00
gregoirenovel
0a1543c630
[ Fix #523 ] prioritaites -> prioritaires
2017-07-03 10:19:45 +02:00
gregoirenovel
6b90e0ccfa
[Ref #145 ] Record archived_at when archiving a procedure
2017-07-03 10:18:49 +02:00
gregoirenovel
cf573a1ec6
Use Procedure#archive instead of duplicating code
2017-07-03 10:18:48 +02:00
Simon Lehericey
fb50606680
Admin: remove useless data in admin creation mail
2017-06-30 17:21:41 +02:00
Simon Lehericey
149c1ba459
ProcedureOverview: change email title
2017-06-29 16:07:46 +02:00
Simon Lehericey
603e2dd020
ProcedureOverview: reboot model and layout
2017-06-29 16:07:46 +02:00
Simon Lehericey
689d0c2dd7
ProcedureOverview: add layout
2017-06-29 16:07:46 +02:00
Simon Lehericey
26afa24e49
[ Fix #512 ] Crisp: add crisp to homepage
2017-06-29 14:35:24 +02:00
Simon Lehericey
ee415c4aa6
[ FIX #509 ] add dossier id tag in attestation template
2017-06-28 10:59:14 +02:00
gregoirenovel
aeeb0dd22f
[ Fix #170 ] Keep drop down menu values for annot. privées when cloning
2017-06-27 14:31:33 +02:00
gregoirenovel
556359cd05
[ Fix #318 ] Add annotations privées to exported files
2017-06-27 14:27:02 +02:00
gregoirenovel
bb57002eff
[ Fix #352 ] Downcase admin emails when transferring a procedure
...
See config/initializers/devise.rb:L44
config.case_insensitive_keys = [ :email ]
We therefore need to downcase the email before
looking for an admin by its email address
2017-06-27 14:25:56 +02:00
gregoirenovel
cf5398fe99
Record published_at when publishing a procedure
2017-06-27 13:55:17 +02:00
Simon Lehericey
3d99407495
[ Fix #499 ] Attestation: add maxlength to footer
2017-06-27 13:35:01 +02:00
Simon Lehericey
81984d2883
Attestation: remove misleading footer placeholder
2017-06-27 13:34:49 +02:00
Simon Lehericey
c16c19f8e6
[ Fix #499 ] Attestation: footer is now an text_field instead of a text_area
2017-06-27 13:14:47 +02:00
Simon Lehericey
84e3d8fbe0
Attestation_template: use etablissement inline_adresse
2017-06-27 11:15:25 +02:00
Simon Lehericey
d69d0f8a78
Etablissement: add inline_adresse
2017-06-27 11:15:25 +02:00
gregoirenovel
0e3ebfd819
[ Fix #183 ] Display “oui” or “non” instead of “true” or “false”
2017-06-26 14:53:38 +02:00
gregoirenovel
96dd853dbb
[ Fix #396 ] Don’t submit the publish form after a transfer
2017-06-26 10:51:28 +02:00
gregoirenovel
ed51c77895
Correctly display the success message when transfer was successful
2017-06-26 10:51:28 +02:00
gregoirenovel
12f61b490a
Reformat transfer.js.erb
2017-06-26 10:51:28 +02:00
gregoirenovel
0ea29d131f
Refactor Admin::ProceduresController#transfer
2017-06-26 10:51:28 +02:00
gregoirenovel
a3e3284c5d
Fix a spelling mistake
2017-06-26 10:51:27 +02:00
gregoirenovel
8d9ca18406
Improve spacing in _model_transfer.html.haml
2017-06-26 10:51:27 +02:00
gregoirenovel
0e3f431d7d
Fix indentation in _modal_transfer.html.haml
2017-06-26 10:51:26 +02:00
gregoirenovel
bd2fcebf95
Change a silly title
2017-06-26 10:51:26 +02:00
gregoirenovel
469f0aed4b
[ Fix #440 ] Show the current month only if logged in as superadmin
2017-06-26 10:50:31 +02:00
gregoirenovel
ba5d816ce6
[ Fix #176 ] Delete useless new_assignement email
2017-06-26 10:49:42 +02:00
gregoirenovel
3d11a35da8
Remove some commented code
2017-06-26 10:49:02 +02:00
Mathieu Magnin
3f90e82d09
[ Fix #327 ] flashes messages can deal with Arrays
2017-06-21 18:08:05 +02:00
Mathieu Magnin
8d008a51d0
[ fix #474 ] display devise errors with flashes
2017-06-21 18:07:58 +02:00
Mathieu Magnin
ac5c00c26f
[ fix #452 ] redesign sign up form
2017-06-21 17:38:38 +02:00
Mathieu Magnin
6777b51331
rename login css to auth, since it will also be used by sign up
2017-06-21 17:38:34 +02:00
Mathieu Magnin
f1ab350897
fix turbolinks bug when switching between layouts
2017-06-20 17:34:48 +02:00
Mathieu Magnin
250b858128
json style for hashes
2017-06-20 17:31:58 +02:00
Mathieu Magnin
e51d8965a2
[ Fix #468 ] fix demo login
2017-06-20 17:05:05 +02:00
Mathieu Magnin
482002fe79
Avis sign up should use generic layout
2017-06-20 13:56:49 +02:00
Mathieu Magnin
3f20d6fb9d
login should use generic two columns layout
2017-06-20 11:42:54 +02:00
Mathieu Magnin
3388dc0e1f
Create generic two-columns layout
2017-06-20 11:13:24 +02:00
Mathieu Magnin
a69915d8b5
standardize form title
2017-06-20 10:24:53 +02:00
Mathieu Magnin
f74462d826
Use generic css for avis_sign_up
2017-06-20 10:03:49 +02:00
Mathieu Magnin
2e795fb2a5
single quote => double quotes
2017-06-20 09:51:18 +02:00
Mathieu Magnin
c944088076
Add procedure overview on login
2017-06-19 18:21:15 +02:00
Mathieu Magnin
8b9eda0f43
No login link on header on login page
2017-06-19 18:21:15 +02:00
Mathieu Magnin
fb5c7e7d23
Make login responsive
2017-06-19 18:21:15 +02:00
Mathieu Magnin
b68a8b37e8
Redesign the login form
2017-06-19 18:21:15 +02:00
Mathieu Magnin
a82994f00f
Add inputs & labels to patron
2017-06-19 18:21:15 +02:00
Mathieu Magnin
765be88d6d
Add expand button on patron
2017-06-19 18:21:15 +02:00
Mathieu Magnin
90a643d4fb
Add /patron page 🎨
2017-06-19 18:21:15 +02:00
Mathieu Magnin
624fb13964
Buttons style
2017-06-19 18:21:15 +02:00
Mathieu Magnin
0bed3ae956
Use new layout for login
2017-06-19 18:21:14 +02:00
gregoirenovel
d0b927857a
Add stats for encart motivation
2017-06-19 18:01:59 +02:00
gregoirenovel
19696da736
Add StatsController#percentage
2017-06-19 18:01:57 +02:00
gregoirenovel
14823560a1
Expose the motivation on exported files
2017-06-19 15:01:14 +02:00
gregoirenovel
ce2def9c40
Expose the motivation on the API
2017-06-19 15:01:14 +02:00
Simon Lehericey
dd441ff0c7
Attestation: fix mail attachment when the files are remotely stored
2017-06-19 13:47:32 +02:00
Simon Lehericey
523df76ecb
Attestation: fix attestation_template_admin_link
2017-06-16 15:44:40 +02:00
Simon Lehericey
5c70d38a23
Attestation: fix missing_attachment
2017-06-16 14:47:44 +02:00
Simon Lehericey
e60ce35ae8
[ Fix #196 ] Attestation: join the attestation to the closed mail
...
Add a upper limit to the attachment size as it could be a problem with Mailjet and receiver
(https://www.mailjet.com/support/what-is-the-size-limit-for-attachments-files-sent-via-mailjet,289.htm )
If the attestation cannot be sent, it is logged in sentry
2017-06-16 12:11:10 +02:00
Simon Lehericey
b664709c3d
[ Fix #196 ] Attestation: allow vizualisation after the procedure is published
2017-06-16 12:11:10 +02:00
Simon Lehericey
671a0575ce
[ Fix #196 ] Recapitulatif: user can download its attestation
2017-06-16 12:11:10 +02:00
Simon Lehericey
602527a09d
[ Fix #196 ] Attestation: building logic from template
2017-06-16 12:11:09 +02:00
Simon Lehericey
b443b5cefd
[ Fix #196 ] Dossier: add Attestation
2017-06-16 12:11:09 +02:00
Simon Lehericey
c0facbf679
[ Fix #196 ] AttestionTemplate: add preview
2017-06-16 12:11:09 +02:00
Simon Lehericey
fdb4d15bcf
[ Fix #196 ] AttestationTemplate: add edition
2017-06-16 12:11:09 +02:00
Simon Lehericey
d7ff3d6139
[ Fix #196 ] AttestationTemplate: add model
2017-06-16 11:35:13 +02:00
gregoirenovel
b64c6d8817
Add a separator before the “Reouvrir” button
2017-06-13 15:14:51 +02:00
gregoirenovel
12d74be668
Refactor Backoffice::DossiersController#process_dossier
2017-06-13 15:14:51 +02:00
gregoirenovel
0120995533
[ Fix #197 ] Add the TAG_MOTIVATION email tag
2017-06-13 15:14:50 +02:00
gregoirenovel
b58c02180c
[ Fix #197 ] Allow a gestionnaire to add a motivation
2017-06-13 15:14:50 +02:00
gregoirenovel
88267a990d
[ Fix #197 ] Show the motivation on a dossier’s details
2017-06-13 15:14:48 +02:00
gregoirenovel
33944e343a
Add Backoffice::DossiersController#process_dossier and use it
2017-06-13 15:05:09 +02:00
gregoirenovel
d248afc376
Enable the Layout/ExtraSpacing cop
2017-06-13 10:35:35 +02:00
gregoirenovel
f1d66e40c3
Enable the Layout/EmptyLinesAroundModuleBody cop
2017-06-13 10:35:34 +02:00
gregoirenovel
82eb66cfe8
Enable the Layout/EmptyLinesAroundMethodBody cop
2017-06-13 10:35:33 +02:00
gregoirenovel
24e7537c49
Enable the Layout/EmptyLinesAroundClassBody cop
2017-06-13 10:35:32 +02:00
gregoirenovel
f1907f4d0e
Enable the Layout/EmptyLinesAroundBlockBody cop
2017-06-13 10:35:23 +02:00
gregoirenovel
aac75106ef
Enable the Layout/EmptyLinesAroundAccessModifier cop
2017-06-13 10:35:21 +02:00
gregoirenovel
f496f1adab
Enable the Layout/EmptyLines cop
2017-06-13 10:35:20 +02:00
gregoirenovel
ff1f679c7b
Enable the Layout/EmptyLineBetweenDefs cop
2017-06-13 10:35:20 +02:00
gregoirenovel
f2cf32a15c
Enable the Layout/CommentIndentation cop
2017-06-13 10:35:19 +02:00
gregoirenovel
1b78a8e957
Enable the Layout/CaseIndentation cop
2017-06-13 10:35:19 +02:00
gregoirenovel
bc16027ccc
Enable the Layout/BlockEndNewline cop
2017-06-13 10:35:19 +02:00
gregoirenovel
9439e1abb1
Enable the Layout/AlignParameters cop
2017-06-13 10:35:16 +02:00
gregoirenovel
50fad54538
Enable the Layout/AlignArray cop
2017-06-13 10:35:15 +02:00
gregoirenovel
38e8908986
Fix the colors of the graphs on the Stats page
2017-06-13 10:13:20 +02:00
gregoirenovel
3f44b963c8
Fix the wording of the initiated email’s subject
2017-06-12 16:17:07 +02:00
Mathieu Magnin
b9522ce404
[ Fix #376 ] Before save format champ date to ISO
2017-06-12 14:05:31 +02:00
Mathieu Magnin
41a5ed59f3
[ Fix #376 ] Force every browser to use native input[type=date] on date champ
2017-06-12 14:05:31 +02:00
Mathieu Magnin
2653862fa7
Add a placeholder to help IE users to fill the date input with the right format
2017-06-12 14:05:31 +02:00
Mathieu Magnin
95481e7b85
Move date input in a partial
2017-06-12 14:05:31 +02:00
gregoirenovel
96532cea6d
[ Fix #388 ] In avis email, redirect a signed out gest. to the dossier
2017-06-12 11:03:02 +02:00
gregoirenovel
8968675cfb
[ Fix #388 ] In avis email, redirect a signed in gest. to the dossier
...
Instead to the sign in page
2017-06-12 10:54:01 +02:00
gregoirenovel
2a74207d15
you_are_invited_on_dossier -> avis_invitation
...
- shorter
- clearer
2017-06-12 10:53:59 +02:00
gregoirenovel
107c322062
[ Fix #323 ] Refactor received dossier notification: use a callback
2017-06-08 15:06:01 +02:00
gregoirenovel
67d0fb5ddc
Further refactor of AutoArchiveProcedureWorker
...
Call received! so that validation and save
callbacks are called.
Previously, we wouldn’t have update the
received_at date
2017-06-08 15:06:01 +02:00
gregoirenovel
cc95216672
Refactor AutoArchiveProcedureWorker#perform
...
If the loop failed, we wouldn’t update the
archived attribute for procedures for which
the folders were archived.
That would have caused to re-run the task for
procedures for which the task had already been
run.
2017-06-08 15:06:01 +02:00
gregoirenovel
68e734fbb5
Remove a blank line
2017-06-08 15:06:00 +02:00
gregoirenovel
f8673894e2
Stop erasing data when auto-archiving procedures
2017-06-08 15:06:00 +02:00
gregoirenovel
d3f4e0c210
Change the new admin account notification receiver
2017-06-08 15:03:55 +02:00
gregoirenovel
3c83cc3c52
In Avis sign up, fix the numero character and add a non-breaking space
2017-06-08 14:08:43 +02:00
gregoirenovel
220b71abfd
Fix invite guest email
...
- fix typo
- add a missing non-breaking space
2017-06-08 14:06:58 +02:00
gregoirenovel
0b6f5a9603
Remove bold weight on Avis sign up button
2017-06-08 12:24:07 +02:00
gregoirenovel
cb81610e60
Add brackets around arguments
2017-06-08 12:22:50 +02:00
gregoirenovel
23f5582907
Improve a variable name
2017-06-08 12:22:49 +02:00
gregoirenovel
585a5bcaba
Add TEMPLATE_NAME to Mail classes
2017-06-08 12:22:49 +02:00
gregoirenovel
ec69086ebc
Don’t use alias_method_chain, use a proxy method
2017-06-08 12:22:48 +02:00
gregoirenovel
d557906fe9
Remove unused variable in MailTemplatesController#edit
2017-06-08 12:22:47 +02:00
gregoirenovel
07ad7b4c84
mails -> mail_templates
2017-06-08 12:22:46 +02:00
gregoirenovel
07ea0ceea1
Make MailTemplateConcern.slug a constant
2017-06-08 12:22:44 +02:00
gregoirenovel
18d6204980
find_the_right_email -> find_mail_template_by_slug
2017-06-08 12:22:42 +02:00
gregoirenovel
41b3fa62ed
Refactor MailTemplatesController#mails
2017-06-08 12:22:42 +02:00
gregoirenovel
9988444459
Remove useless blank lines
2017-06-08 12:22:40 +02:00
gregoirenovel
e06ddeb168
Make all Mails classes inherit from ApplicationRecord
2017-06-08 12:22:38 +02:00
gregoirenovel
5a59115df4
Refactor the TAGS management in MailTemplateConcern
2017-06-08 12:22:36 +02:00
gregoirenovel
ba865215af
Use the Chartkick colors option
2017-06-07 14:53:10 +02:00
gregoirenovel
1794da5a30
[ Fix #234 ] Remove dynamic email templates handling code in Procedure
2017-06-07 10:10:15 +02:00
Mathieu Magnin
9d323fd387
Click on Demander une démo, opens a new tab
2017-06-02 15:38:24 +02:00
Mathieu Magnin
8b92b44ab0
Track ask demo click on home page
2017-06-02 10:05:00 +02:00
gregoirenovel
d5023a3d38
Use the same order for constants and scopes in Dossier
2017-06-01 11:08:26 +02:00
gregoirenovel
0971ede57e
Add a termine scope to Dossier
2017-06-01 11:08:00 +02:00
gregoirenovel
68da2ecbae
Use symbols instead of strings in for the order arg in scopes
2017-06-01 11:07:30 +02:00
gregoirenovel
8fb6a41386
Remove an unused argument in some Dossier scopes
2017-06-01 11:07:04 +02:00
gregoirenovel
e0a3a48f76
Improve the formatting of Dossier scopes
2017-06-01 11:05:51 +02:00
gregoirenovel
ddac4bbfdb
Change the order in the all_state scope for consistency
2017-06-01 10:58:09 +02:00
gregoirenovel
7055aec634
Add some more state scopes and use them
2017-06-01 10:58:09 +02:00
gregoirenovel
9c2c0346b6
[ Fix #125 ] Transform some Dossier class methods into scopes
2017-06-01 10:58:08 +02:00
gregoirenovel
ab1c19c09b
Rename some Dossier scopes
2017-06-01 10:58:08 +02:00
gregoirenovel
51dd6df1c0
Improve the formatting of the Dossier state enum
2017-06-01 10:58:08 +02:00
gregoirenovel
1816aef7d0
Group the Dossier scopes and move them at the top
2017-06-01 10:58:07 +02:00
gregoirenovel
6731f28e23
Move the state constants below the state enum
2017-06-01 10:58:07 +02:00
Mathieu Magnin
8e9144f565
[ Fix #378 ] Remove redirect based on referrer
2017-06-01 10:36:36 +02:00
Mathieu Magnin
d2d2c78461
Remove unused code
2017-06-01 10:36:36 +02:00
Mathieu Magnin
705a3f3e1b
Fix cache bug on stats page
2017-06-01 09:44:22 +02:00
Simon Lehericey
c185f60dd2
Avis: ugly workaround for #375
2017-05-31 16:44:06 +02:00
Simon Lehericey
9e6098dc09
Add the weekly avis answer percentage to Stats
2017-05-31 14:24:33 +02:00
Mathieu Magnin
068b635b7c
Add the weekly avis answer time average to Stats
2017-05-31 14:24:32 +02:00
Simon Lehericey
b5f1b898c7
Add the weekly avis usage to Stats
2017-05-31 13:31:19 +02:00
gregoirenovel
9268da8236
Refactor Procedure#switch_list_order
2017-05-30 15:54:49 +02:00
gregoirenovel
d54fe12a9c
Remove inconsistent and useless blank lines in controllers
2017-05-30 15:54:49 +02:00
gregoirenovel
04845efdfc
Remove inconsistent and useless blank lines in models
2017-05-30 15:53:19 +02:00
gregoirenovel
d47e8b3702
Reformat Notification correctly
2017-05-30 15:53:19 +02:00
gregoirenovel
9f6edc5d1e
Format the TypeDeChamp type_champs enum correctly
2017-05-30 15:52:29 +02:00
gregoirenovel
843bb9fd2c
Format the User loged_in_with_france_connect enum correctly
2017-05-30 15:52:28 +02:00
gregoirenovel
258a80b0d7
Use the Procedure not_archived scope
2017-05-30 15:52:28 +02:00
gregoirenovel
9d478609d0
Move the Procedure scopes at the top
2017-05-30 15:52:28 +02:00
gregoirenovel
4655707eb5
[ Fix #319 ] Include archived dossiers in the export
2017-05-30 15:41:35 +02:00
gregoirenovel
5253f07b69
Use the order_by_updated_at scope in Dossier
2017-05-30 15:41:35 +02:00
gregoirenovel
7eed44d430
Use the not_archived scope in Dossier
2017-05-30 15:41:35 +02:00
gregoirenovel
f2fe06e86f
Add the not_brouillon scope on Dossier
2017-05-30 15:41:35 +02:00
Mathieu Magnin
69a5857322
[ Fix #264 ] Add pie chart to count administrations
2017-05-30 15:36:21 +02:00
Simon Lehericey
ae8b126594
ProcedureOverview: use procedure_url to link with absolute path in email
2017-05-30 15:03:51 +02:00
gregoirenovel
9585142468
Group the cumulative and monthly charts
2017-05-30 12:05:28 +02:00
gregoirenovel
3215411547
Delete the 30 days flows graphs
2017-05-30 12:05:28 +02:00
gregoirenovel
58aa94359c
On the Stats page, move the total numbers at the top of the page
2017-05-30 12:05:27 +02:00
gregoirenovel
e19fb43f01
Only show the mean charts to logged in users
2017-05-30 12:05:27 +02:00
gregoirenovel
e242c5d742
Add caching to the Stats page
2017-05-30 12:05:27 +02:00
gregoirenovel
711f21c458
[ Fix #264 ] Add the mean filling time graph to Stats
2017-05-30 12:05:27 +02:00
gregoirenovel
faa547e891
[ Fix #264 ] Add the mean instruction time graph to Stats
2017-05-30 12:05:27 +02:00
gregoirenovel
ed7ba60cf0
[ Fix #264 ] Add the last 4 months evolution graphs to Stats
2017-05-30 12:05:26 +02:00
gregoirenovel
f82533be19
Use the new_application layout for the Stats page
2017-05-29 15:46:54 +02:00
gregoirenovel
627ce150a7
Capture the Chartkick JS and yield it in the layout
...
So that we can include all the JS at the bottom of
the page without error
2017-05-29 15:46:54 +02:00
Simon Lehericey
7ac6c81154
AdminProceduresInfoHaml: remove localtime to date
2017-05-29 13:53:14 +02:00
Simon Lehericey
64f7cab3cf
Avis: add claimant gestionnaire to track who asks for an avis
2017-05-29 11:44:28 +02:00
Simon Lehericey
23e57f5cc4
Navbar: add deprecation warning for invitations
2017-05-29 11:44:28 +02:00
Simon Lehericey
cdcd5b951f
AvisController: add a notification when a avis has been received
2017-05-29 11:44:28 +02:00
Simon Lehericey
34a7905828
DossierController: giving an advice does not remove the notifications
2017-05-29 11:44:28 +02:00
Simon Lehericey
3483ec075b
DossierController: extract dossier_id from params[:id]
2017-05-29 11:44:28 +02:00
Mathieu Magnin
612a8c4b91
Confirm with flash after avis is sent
2017-05-29 11:44:28 +02:00
Simon Lehericey
f9aee06040
AvisController: add redirection logic for various login cases
2017-05-29 11:44:28 +02:00
Simon Lehericey
516a8c28c5
Avis: change invitation mail when the recipient is not tps
2017-05-29 11:44:28 +02:00
Simon Lehericey
842999d229
Avis: add create_gestionnaire logic
2017-05-29 11:44:28 +02:00
Simon Lehericey
aaf155df72
Avis: add sign_up logic for new tps gestionnaire
2017-05-29 11:44:28 +02:00
Mathieu Magnin
4e064dbaed
Add a method to link multiple avis to a gestionnaire by his email
2017-05-29 11:44:28 +02:00
Mathieu Magnin
efdac753c6
When an Avis is created an email is sent to the Gestionnaire
2017-05-29 11:44:28 +02:00
Simon Lehericey
f6359cb7aa
gestionnaire invited on dossier for avis, can update Avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
f24e4a77d3
Gestionnaire can view dossier if he is invited on dossier
2017-05-29 11:44:28 +02:00
Mathieu Magnin
d07943a55d
Add by_latest scope in Avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
7c662aa7b2
Gestionnaire invited on dossier for avis, cannot see private form / change dossier state / follow dossier / see invited people / see others avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
43f481b7ff
Gestionnaire can list dossiers where he is invited for avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
e831442cbd
Associate gestionnaire to avis if gestionnaire is known
2017-05-29 11:44:28 +02:00
Mathieu Magnin
c3bf15d49f
Create and list Avis on Dossier detail page
2017-05-29 11:44:28 +02:00
Mathieu Magnin
72494de76f
Create new model Avis
2017-05-29 11:44:28 +02:00
Simon Lehericey
5cc4862983
[ Fix #349 ] NewHeader: the logo is a link to root_path
2017-05-29 11:35:29 +02:00
Simon Lehericey
b48549d765
WeeklyOverviewWorker: add feature flip on worker
...
The main objective is to avoid batch mail sent in staging
2017-05-23 17:12:18 +02:00
Simon Lehericey
5a794a8b9a
GestionnaireMailer: add mailjet campaign tag
2017-05-23 17:12:18 +02:00
Simon Lehericey
c4c2dc78a2
WeeklyOverviewWorker: add worker to send the week overview
2017-05-23 17:12:18 +02:00
Simon Lehericey
8dabdcc6c4
GestionnaireMailer: add a last week report
2017-05-23 17:12:18 +02:00
Simon Lehericey
e630548110
Gestionnaire: add last_week_overview method
2017-05-23 17:12:18 +02:00
Simon Lehericey
e7d39ca650
ProcedureOverview: add object to contain overview logic
2017-05-23 17:12:18 +02:00
Simon Lehericey
f1b923e30f
ApiControllers: remove useless meta data
2017-05-23 10:46:37 +02:00
Simon Lehericey
b30cb34fa2
LeftPanelBackofficeDossier: fix a typo
2017-05-22 17:58:12 +02:00
gregoirenovel
ca1a61cd7f
Remove an extra character in welcome_email.text.erb
2017-05-22 17:24:44 +02:00
Mathieu Magnin
8af72f7b9a
Isolate new design stylesheets
2017-05-17 18:06:53 +02:00
Mathieu Magnin
14bfda2e26
[ Fix #251 ] Fix landing page design on mobile (and add responsive)
2017-05-17 18:06:46 +02:00
Simon Lehericey
a213032f28
Refactor: use select block to select stuff
2017-05-17 11:18:01 +02:00
gregoirenovel
cd19c17df5
mail -> email
2017-05-16 15:10:44 +02:00
gregoirenovel
e6f866d99e
Do not use the email address in emails
2017-05-16 15:10:44 +02:00
gregoirenovel
536591078e
In emails, add a comma after the salutation phrase
2017-05-16 15:10:44 +02:00
gregoirenovel
ae7cea369d
Move the “please do not reply” message below the signature
2017-05-16 15:10:44 +02:00
gregoirenovel
b77c63605a
Add a signature to the emails which don’t have one
2017-05-16 15:10:44 +02:00
gregoirenovel
2796eea39a
Improve the formatting of reset_password_instructions.html.erb
2017-05-16 15:10:44 +02:00
gregoirenovel
2984c495e6
Add a parting phrase to emails which don’t have one
2017-05-16 15:10:44 +02:00
gregoirenovel
d8c5db4ac5
End the email parting phrase with a comma
2017-05-16 15:10:44 +02:00
gregoirenovel
d5fce6f7b6
Remove the 3 dashes from the emails signature
2017-05-16 15:10:44 +02:00
Simon Lehericey
df731cb895
Fix localtime on date object
2017-05-16 14:40:44 +02:00
Simon Lehericey
8d6838e8ed
Mailjet: fix https errors
2017-05-16 13:44:07 +02:00
Simon Lehericey
f2d9953e59
Fix #295 : mailjet script should be in https
2017-05-16 10:27:10 +02:00
Mathieu Magnin
9bec2e9536
Fix #281 Remove unreadable tooltip on procedure libelle
2017-05-15 16:55:24 +02:00
gregoirenovel
a58a8684d9
[ Fix #285 ] Gestionnaire.dossiers_follow -> followed_dossiers
2017-05-15 15:51:51 +02:00
gregoirenovel
f67aa63766
[ Fix #285 ] Use a has_many through for Gestionnaire#dossiers_follow
2017-05-15 15:51:51 +02:00
Mathieu Magnin
ac1782256a
Fix #282 use disable_with to avoid sending same message twice
2017-05-12 17:34:20 +02:00
gregoirenovel
8ba55a0d5d
Mutualize the email address in a localised string
2017-05-12 16:53:03 +02:00
gregoirenovel
8a5420301c
Add Commentaire#notify to dispatch notifications
2017-05-12 16:31:03 +02:00
gregoirenovel
1235fce34a
Refactor Commentaire#notify_user
2017-05-12 16:31:02 +02:00
gregoirenovel
c07b83b266
Commentaire#notify_user_with_mail -> #notify_user
2017-05-12 16:31:02 +02:00
gregoirenovel
9c3cde2b2e
Move CommentairesController#notify_user_user_with_mail to Commentaire
2017-05-12 16:31:02 +02:00
gregoirenovel
cae3e1f420
Commentaire#internal_notification => #notify_gestionnaires
2017-05-12 16:31:02 +02:00
Mathieu Magnin
58abd9eaf1
Fix #276 Rewrite #dossiers_with_notifications_count_for_procedure and add tests
2017-05-12 15:42:33 +02:00
Mathieu Magnin
8f5fdfa81f
Rename dossier_with_notification_for
2017-05-12 15:42:33 +02:00
gregoirenovel
70f637f088
[ Fix #198 ] Add a Commentaire when we send a Notification email to a user
2017-05-12 14:03:48 +02:00
gregoirenovel
09ba66dc41
[ Fix #274 ] Change the email signatures
...
- Equide -> Equipe
- TPS -> Téléprocédures simplifiées
- Remove the email address
2017-05-12 13:51:01 +02:00
gregoirenovel
84ae1a0c0b
Change the email address we send emails with
...
Also add a display name, so that we don't show
just a dumb email address
2017-05-12 13:50:42 +02:00
gregoirenovel
e14d1a6c15
Remove useless from parameter in mailers
...
We already defined a default one in
ApplicationMailer
2017-05-12 13:50:41 +02:00
Mathieu Magnin
e5ac555a41
fix #245 it should only count dossiers with notifications on followed dossiers
2017-05-12 10:13:51 +02:00
Simon Lehericey
cebb197994
Fix #171 : add localtime to a bunch of date
2017-05-11 15:10:49 +02:00
Simon Lehericey
07dfec9236
Clean: remove dead code
2017-05-11 12:45:01 +02:00
Simon Lehericey
a312628383
Newsletter: add mailjet widget
2017-05-11 10:11:40 +02:00
Simon Lehericey
c6fd3045e4
Fix #261 : add link to return to dossier list.
2017-05-10 16:24:21 +02:00
Mathieu Magnin
054afb40a4
[ Fix #50 , fix #239 ] Install chartkick the right way
2017-05-10 09:28:13 +02:00
gregoirenovel
c6d0ea76bb
[ Fix #174 ] Make .default-data-block header titles take the full width
2017-05-09 14:36:33 +02:00
gregoirenovel
1a5f9fd067
[ Fix #105 ] Show the pieces justificative’ descriptions
2017-05-09 12:47:21 +02:00
Simon Lehericey
5d915ada88
Css: add border on header and footer
...
Remove headers border on homepage
2017-05-09 12:38:57 +02:00
Simon Lehericey
9f1217c843
FlashMessage: center flash message
...
otherwise the #flash_message.center is useless
2017-05-09 12:28:27 +02:00
Simon Lehericey
029186fdf7
Css: fix color import
2017-05-09 12:18:52 +02:00
Simon Lehericey
bf68814f7a
Css: add alert css to new style
2017-05-09 11:59:21 +02:00
Simon Lehericey
2668b036b4
Css: add center class in new style
2017-05-05 14:59:00 +02:00
Simon Lehericey
a26965f41b
Cable: remove useless js logic
2017-05-05 14:37:59 +02:00
Simon Lehericey
9d16c0365a
Notification: remove useless notification system
2017-05-05 14:08:36 +02:00
gregoirenovel
02a8cf3fe1
Use the initialisation date for the cumulative dossiers
...
We want to show when dossiers were published, not
created
2017-05-05 12:03:54 +02:00
gregoirenovel
06714b5fc3
Add a date_attribute argument to StatsController#cumulative_hash
2017-05-05 12:03:53 +02:00
gregoirenovel
dbf891b333
Use the initialisation date for the dossiers 30 days flow
...
We want to show when dossiers were published, not
created
2017-05-05 12:03:53 +02:00
gregoirenovel
c7999b9691
Add a date_attribute argument to StatsController#thirty_days_flow
2017-05-05 12:03:53 +02:00
Simon Lehericey
dc371b83b8
CSS: add new application layout + CSS
...
Without bootstrap!
2017-05-04 18:24:57 +02:00
Simon Lehericey
aee17c5b19
CSS: CSS filenames should not contain dashes
2017-05-04 18:24:39 +02:00
Simon Lehericey
e7383c7c85
CSS: add Meyer's reset.scss
2017-05-04 18:24:14 +02:00
Simon Lehericey
38dcf5c74d
Application.scss: replace require_tree by explicit import
...
Change needed for futur new_application.scss and corresponding style
2017-05-04 18:23:55 +02:00
gregoirenovel
6b25d25a9a
The correct app name is “Téléprocédures Simplifiées”
2017-05-04 18:19:13 +02:00
gregoirenovel
9a0df71887
Change the link to a linked dossier depending on the user profile
2017-05-04 17:20:18 +02:00
gregoirenovel
849ab5191a
[ Fix #204 ] Add the date_de_decision tag in relevant email templates
2017-05-04 16:17:59 +02:00
gregoirenovel
2582b44f07
[ Fix #204 ] Add the date_de_decision tag
2017-05-04 16:17:53 +02:00
gregoirenovel
3bd5e32dff
Add a system to restrain the email templates tags to specific templates
2017-05-04 16:17:39 +02:00
gregoirenovel
30cf475485
Add missing brackets in mail_template_concern.rb
2017-05-04 16:17:39 +02:00
gregoirenovel
43ae28de87
Make the email templates tags table occupy the whole width available
...
It improves the content formatting (no more ugly
line breaks splitting a tag on several lines)
2017-05-04 16:17:38 +02:00
gregoirenovel
f389bbeb53
Fix indentation in mail_template_concern.rb
2017-05-04 16:17:38 +02:00
gregoirenovel
f3343f593f
Fix some spelling mistakes
2017-05-04 16:15:51 +02:00
gregoirenovel
53e5416627
Remove an unused file
2017-05-04 16:01:41 +02:00
gregoirenovel
402f44c5fd
Champs privés -> Annotations privées
2017-05-04 11:35:23 +02:00
gregoirenovel
77dae0462b
Utilisateur -> Usager
2017-05-04 11:35:23 +02:00
gregoirenovel
4303dcef2c
Organisation -> Organisme
2017-05-04 11:35:22 +02:00
gregoirenovel
d3a84eb20a
Démarche -> Procédure
2017-05-04 11:33:26 +02:00
gregoirenovel
988947696e
[ Fix #161 ] Remove incorrect commas from Dossier#text_summary
2017-05-04 11:25:33 +02:00
Mathieu Magnin
b6e1526f89
Fix #239 , (refresh is needed to load charts)
2017-05-03 18:48:27 +02:00
gregoirenovel
eff9e556e9
[ Fix #162 ] Deny dossier access for an unauthorized accompagnateur
2017-05-03 10:28:29 +02:00
gregoirenovel
f310f672b6
Extract class attributes from HAML tag attributes
2017-04-26 17:22:31 +02:00
gregoirenovel
7ddcb9aedc
Extract id attributes from HAML tag attributes
2017-04-26 17:22:30 +02:00
gregoirenovel
51daa2f498
Use implicit div tags instead of explicit
2017-04-26 17:01:45 +02:00
Mathieu Magnin
6ef6a66c3f
Remove @facade_data_view from left_panel view
2017-04-26 16:55:22 +02:00
gregoirenovel
f58a626648
[ Fix #99 ] Improve the info message in _dossier_link.html.haml
2017-04-26 16:47:38 +02:00
gregoirenovel
a6d3ea8536
[ Fix #133 ] Improve the linked dossier informations displayed
2017-04-26 15:59:18 +02:00
gregoirenovel
f5c5ad532d
Add Dossier#text_summary
2017-04-26 15:59:17 +02:00
gregoirenovel
7173d359d4
[ Fix #132 ] Show the dossier link in the dossier detail for Users
...
There’s no reason why they couldn’t easily
navigate to it
Also improve the typography of a placeholder
message
2017-04-26 11:57:36 +02:00
gregoirenovel
8deef8e8e3
[ Fix #137 ] Change the dossier link placeholder
...
Otherwise we don’t know what to enter (words,
numbers…)
2017-04-26 11:46:39 +02:00
gregoirenovel
14b7badfed
Eager-load the dossier’s procedure when possible
2017-04-26 09:53:10 +02:00
gregoirenovel
6bb67d639c
Use lowercase letters and dashes for CSS classes
...
As enforced by scss-lint
2017-04-25 15:59:03 +02:00
gregoirenovel
8bea7cb610
Fix a typographic mistake in _dossier_link.html.haml
...
Sentences should start with an uppercase letter
2017-04-25 15:59:03 +02:00
gregoirenovel
f8cb34a393
Add some spacing in _dossier_link.html.haml
2017-04-25 15:59:03 +02:00
Mathieu Magnin
887512c26c
Procedure path can contain dashes and can be longer
2017-04-21 16:32:48 +02:00
gregoirenovel
595ea9bb37
Add a “Call Us” CTA on the landing page
2017-04-21 14:57:54 +02:00
gregoirenovel
03761c1136
Change the testimonials’ order
2017-04-21 14:57:54 +02:00
Mathieu Magnin
757af12d42
Add invites to API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
40d897f538
Add accompagnateurs emails in API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
bf67b3f7ad
Add dossier workflow dates to the API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
822c7cdd96
Add human version translation for state
2017-04-21 14:51:35 +02:00
Mathieu Magnin
d87989622c
Remove useless code
2017-04-21 14:51:34 +02:00
Mathieu Magnin
762a11fc6f
Define .termine as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
320ff4839f
Define .en_instruction as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
7a9fd77af0
Remove archived=false filter from en_construction scope (Fix : archived dossier is not shown to user)
2017-04-21 14:36:50 +02:00
Mathieu Magnin
688a3d8f31
Define .brouillon as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
21a2a5402b
Remove unused service
2017-04-21 14:36:50 +02:00
Mathieu Magnin
1a628dc42c
Remove DossierListFacade dependency
2017-04-21 14:36:50 +02:00
gregoirenovel
0ddd7ae639
Add the “CTA” part of the landing page
2017-04-20 12:38:00 +02:00
gregoirenovel
663b556766
Add the “Users” part of the landing page
2017-04-20 12:38:00 +02:00
gregoirenovel
f604ccb7d6
Add the “Numbers” part of the landing page
2017-04-20 12:37:59 +02:00
gregoirenovel
4b2baa25b7
Add the “Testimonials” part of the landing page
2017-04-20 12:37:58 +02:00
gregoirenovel
58a7f399c0
Add the “Features” part of the landing page
2017-04-20 12:18:18 +02:00
gregoirenovel
663cd18364
Change the landing page, add the “Hero” part
2017-04-20 12:18:17 +02:00
gregoirenovel
e504531ca0
Use the new_application layout for the landing page
2017-04-20 12:18:16 +02:00
gregoirenovel
f9b4469660
Add the new footer
2017-04-20 12:18:16 +02:00
gregoirenovel
336e6120a6
Add the new header
2017-04-20 12:18:16 +02:00
gregoirenovel
e605be9246
Add the new_application layout
2017-04-20 12:18:15 +02:00
gregoirenovel
5c1aad2e4f
Add the placeholders stylesheet
2017-04-20 12:18:15 +02:00
gregoirenovel
8dcf0af56d
Add the mixins stylesheet
2017-04-20 12:18:14 +02:00
gregoirenovel
3696d3613a
Add the typography stylesheet
2017-04-20 12:18:14 +02:00
gregoirenovel
40d49aee1f
Add the Muli Regular and Bold fonts
2017-04-20 12:18:14 +02:00
gregoirenovel
8f2ef4e254
Add the colors stylesheet
2017-04-20 10:41:03 +02:00
gregoirenovel
01f894316c
Rename _variables.scss to _constants.scss
2017-04-20 10:41:02 +02:00
gregoirenovel
d8cc41140b
Remove an unexpected blank line
2017-04-20 10:35:53 +02:00
gregoirenovel
5d4dcf8ec7
Don't use line blocks
2017-04-20 10:35:53 +02:00
gregoirenovel
c10c2fc31b
Selectors must be written in lowercase with hyphens
2017-04-20 10:35:53 +02:00
gregoirenovel
73caee0ff3
Remove unused declarations
2017-04-20 10:05:59 +02:00
gregoirenovel
c32a2432c7
Don’t use vendor prefixes
2017-04-20 10:05:59 +02:00
gregoirenovel
e2bd606e49
Declarations must be terminated by a semicolon
2017-04-20 10:05:58 +02:00
gregoirenovel
0316bac137
Use double-quoted strings
2017-04-20 10:05:58 +02:00
gregoirenovel
11e5943989
Only one selector per line
2017-04-20 10:05:56 +02:00
gregoirenovel
5e1c99d642
Opening curly braces must be preceded by one single space
2017-04-19 17:05:57 +02:00
gregoirenovel
8cad7361cf
An operator must be surrounded by single spaces
2017-04-19 17:05:57 +02:00
gregoirenovel
0789cfd311
Colons must be followed by a single space
2017-04-19 17:05:57 +02:00
gregoirenovel
8906801d6c
Comment literals must be followed by a space
2017-04-19 17:05:57 +02:00
gregoirenovel
4b575bd386
Commas are followed by a space
2017-04-19 17:05:57 +02:00
gregoirenovel
4f0de677ab
Begin pseudo elements with double colons
2017-04-19 17:05:57 +02:00
gregoirenovel
4b39e76c8a
Use extend only with placeholders
2017-04-19 17:05:57 +02:00
gregoirenovel
f3ec7f1d42
Indent with two spaces
2017-04-19 17:05:57 +02:00
gregoirenovel
af7b611dd0
< 1 numbers must all have a leading zero
2017-04-19 17:05:57 +02:00
gregoirenovel
c9ff601b28
Hex colors must be written with uppercase letters
2017-04-19 17:05:57 +02:00
gregoirenovel
f519896e54
Hex colors must be 6 characters long
2017-04-19 17:05:57 +02:00
gregoirenovel
2cae8e751e
Blocks must be separated by an empty line
2017-04-19 17:05:57 +02:00
gregoirenovel
0d5dd9d492
Remove empty rules
2017-04-19 17:05:57 +02:00
gregoirenovel
6a13e481fd
Fix the declaration order
2017-04-19 17:05:57 +02:00
gregoirenovel
0ed13c9fe7
Remove duplicated properties
2017-04-19 17:05:56 +02:00
gregoirenovel
c5fc77b606
Change the comments style
2017-04-19 17:05:56 +02:00
gregoirenovel
bb02339183
Use border: none instead of border: 0
2017-04-19 17:05:56 +02:00
gregoirenovel
db331447e1
Use hex codes for colors
2017-04-19 17:05:55 +02:00
Simon Lehericey
ce4a23ec7f
MandatoryAttachment: show * near mandatory attachment
2017-04-19 15:45:45 +02:00
Simon Lehericey
2b969ef575
MandatoryAttachment: group missing errors logic together
...
and show errors only if not draft
2017-04-19 15:45:45 +02:00
gregoirenovel
b00eb914da
Use case statements instead of if statements where appropriated
2017-04-19 11:57:49 +02:00
gregoirenovel
9071656b55
Use #each instead of #map where appropriated
2017-04-19 11:57:49 +02:00
gregoirenovel
ddf02ccd6d
Use a non-breaking space after the “numéro” contraction
2017-04-19 11:19:53 +02:00
gregoirenovel
aa41349f0c
Lowercase the “n” of “numéro” contraction where needed
2017-04-19 11:19:53 +02:00
gregoirenovel
ba4ee68019
Use masculine ordinal indicator instead of the degree sign
...
It’s the right way to contract “numéro”
We should use the superscript lowercase o but
it’s hard to do in places where only raw text is
available
2017-04-19 11:19:53 +02:00
Simon Lehericey
4cd21580fb
DescriptionController: move html_safe to the view
...
html_safe could not work upon redirection as stated here :
https://groups.google.com/forum/#!topic/rubyonrails-core/z52zgDgUmbs
2017-04-19 10:52:04 +02:00
Simon Lehericey
eb3bb63a8f
DescriptionController: remove useless @champs
2017-04-19 10:52:04 +02:00
Simon Lehericey
866a54085c
DescriptionController: cosmetic
2017-04-19 10:52:04 +02:00
Simon Lehericey
157d1818b2
DescriptionController: move instance var to local var
2017-04-19 10:52:04 +02:00
Simon Lehericey
71542f6a3a
PiecesJustificativesService: more explicit selection of content
2017-04-19 10:24:08 +02:00
Simon Lehericey
21d7a96062
PiecesJustificativesService: less violent error message in case of virus
2017-04-19 10:22:30 +02:00
Simon Lehericey
395c9d5bb1
PiecesJustificativesService: improve error message when the file cannot be saved
2017-04-19 10:20:32 +02:00
Simon Lehericey
e0828dda13
PiecesJustificativesService: save_pj returns nil if no errors
2017-04-19 10:16:30 +02:00
Simon Lehericey
8e7e7a8ab4
Stats Index: remove useless locale
2017-04-19 10:06:22 +02:00
Simon Lehericey
4c74b04a91
Commentaire: use fr local to display date
2017-04-19 10:06:22 +02:00
Simon Lehericey
367b7c6ae1
DescriptionController: use common system to redirect with errors
2017-04-18 17:48:03 +02:00
Simon Lehericey
591ed2037e
PiecesJustificativesServices: refactor upload_one!
2017-04-18 17:48:03 +02:00
Simon Lehericey
03e9cd523e
PiecesJustificativesService: mandatory pj check and add test
2017-04-18 17:48:03 +02:00
Simon Lehericey
e49ea2d0e0
PiecesJustificative: add field to set it mandatory
...
small css to align the fields
2017-04-18 17:48:03 +02:00
gregoirenovel
3abbb0bdcd
Use french formatting for numbers on the Stats page
2017-04-18 14:34:56 +02:00
gregoirenovel
21ff863dab
[ Fix #112 ] Add favicons
2017-04-17 19:32:26 +02:00
Mathieu Magnin
1612b60126
Remove useless code
2017-04-13 16:54:00 +02:00
Mathieu Magnin
320d5da40f
Add individual infos to flat table export serializer
2017-04-13 16:54:00 +02:00
gregoirenovel
d531b02bc5
Order types_de_piece_justificative on Procedure
...
So that /spec/controllers/api/v1/
dossiers_controller_spec.rb#L163-L179 (on commit
8852431
for example) does not randomly fail due
to unordered types_de_piece_justificative
2017-04-13 14:48:18 +02:00
Mathieu Magnin
080c7c3d04
Fix csv export with no dossiers
2017-04-12 18:19:37 +02:00
gregoirenovel
f4ff778a5c
Add a missing newline before the end of the controller
...
Same spacing rules at the top and at the bottom
of the file
2017-04-11 16:58:27 +02:00
gregoirenovel
913735554c
Improve StatsController#thirty_days_flow and #clean_hash
2017-04-11 16:58:27 +02:00
gregoirenovel
11015787bf
Add new total numbers to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
52ea4a1b8d
Add new charts and a segmented control to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
9dc4901294
Change the template and style of the Stats page
2017-04-11 15:29:19 +02:00
gregoirenovel
e370c4e393
Exclude draft Dossiers and unpublished Procedures from Stats
2017-04-11 15:29:19 +02:00
gregoirenovel
2074ac93ba
Add StatsController#thirty_days_flow_hash
2017-04-11 15:29:19 +02:00
gregoirenovel
e192038045
Rename the variables in StatsController#index
2017-04-11 15:29:19 +02:00
gregoirenovel
c4c6095abd
Only show the last 30 days of data in Stats
2017-04-11 15:29:19 +02:00
gregoirenovel
de01914fa7
Fix the where clause in Stats
...
Now properly show the last 90 days of data instead
of strict quarters.
With the previous code, on the
1st of january, april, july and october, only one
day of data would be shown.
2017-04-11 15:29:18 +02:00
gregoirenovel
664d821dc0
Add a link to the Stats page in the footer
2017-04-11 15:29:18 +02:00
gregoirenovel
f84cd7f11b
Make Stats a public page
2017-04-11 15:29:18 +02:00
Simon Lehericey
4a16fb2ce2
DescriptionController: refacto
2017-04-11 14:45:30 +02:00
gregoirenovel
dd1fd419c7
Require mandatory fields on the frontend side
2017-04-11 14:25:49 +02:00
Simon Lehericey
a324a22ba2
DossierLink: add show template
2017-04-11 13:54:33 +02:00
Simon Lehericey
3228737a87
DossierLink: add edition template
2017-04-11 13:54:33 +02:00
Simon Lehericey
785219c956
DossierLink: add type de champ
2017-04-11 13:54:33 +02:00
Simon Lehericey
ed36897337
DossiersController: add get procedure libelle
2017-04-11 13:54:33 +02:00
Simon Lehericey
ccf956ec01
DescriptionController: refactor redirection for draft
2017-04-11 12:11:10 +02:00
Simon Lehericey
d14a75c24a
DescriptionController: refactor check_mandatory_fields
2017-04-11 12:11:10 +02:00
Simon Lehericey
191b29aff5
DescriptionController: simplify update logic
2017-04-11 12:11:10 +02:00
Simon Lehericey
3a9065e4c1
DescriptionController: remove useless code
2017-04-11 12:11:10 +02:00
Simon Lehericey
c4e128a506
DescriptionController: rename variable
2017-04-11 12:11:09 +02:00
Simon Lehericey
4df03fc28e
ChampsService: add tests and refactor
2017-04-11 12:11:09 +02:00
gregoirenovel
1db37894c2
Factorize some code in Dossier#serialize_value_for_export
2017-04-11 11:43:42 +02:00
gregoirenovel
ae5b4f6249
Refactor Dossier#full_data_strings_array
2017-04-11 11:39:34 +02:00
gregoirenovel
df878b9ef4
Change Dossier#convert_specific_array_values_to_string’s signature and name
...
- It is always called with the data_with_champs
argument
- Changing the signature requires a change of name
in this case
2017-04-11 10:29:07 +02:00
gregoirenovel
57ee3c5b3f
Separate ternary operators with spaces on both sides
2017-04-10 17:55:55 +02:00
gregoirenovel
9c04d3ff93
All CSS declarations must end with a semi-colon
2017-04-10 17:55:55 +02:00
gregoirenovel
3797015908
All colons must be followed by a single space
2017-04-10 17:55:55 +02:00
gregoirenovel
97df69bcd8
In HAML files, separate arguments by a comma and a single space
2017-04-10 17:55:55 +02:00
gregoirenovel
6db4a69cb2
Use spaces inside hashes
2017-04-10 17:55:54 +02:00
gregoirenovel
aaaed328fb
Remove unnecessary string outputs
2017-04-10 17:55:54 +02:00
gregoirenovel
8d9cdf8e33
Remove a useless string in the gestionnaires list
2017-04-10 17:55:54 +02:00
gregoirenovel
6cb53b5545
Move a comment to avoid a haml-lint MultilineScript warning
2017-04-10 17:55:54 +02:00
gregoirenovel
7a941d3219
Remove a useless id in _list.html.haml
2017-04-10 17:55:54 +02:00
gregoirenovel
aa255e7e2d
Use HAML comments in HAML files
2017-04-10 17:55:54 +02:00
gregoirenovel
69ba92009b
Separate HAML comments from the leading # by a space
2017-04-10 17:55:54 +02:00
gregoirenovel
a8d2a003c1
Do not define static class names in the attributes hash
2017-04-10 17:55:53 +02:00
gregoirenovel
4788e280f5
Fix the indentation in the drop down list template
2017-04-10 17:55:53 +02:00
gregoirenovel
2d5df47c4e
Use implicit div tags in HAML files
2017-04-10 17:55:53 +02:00
gregoirenovel
7e067c2624
Static classes attribute must use the inline tag syntax
2017-04-10 17:55:53 +02:00
gregoirenovel
a3d04fe7a9
Html Ruby evaluation tags must be followed by a single space
2017-04-10 17:55:53 +02:00
gregoirenovel
e7e4e41e12
Haml Ruby evaluation tags must be followed by a space
2017-04-10 17:55:53 +02:00
gregoirenovel
3ca914aba8
Delete some environment-based conditions
...
We should always try to be the closest to the
production environment
2017-04-10 16:17:33 +02:00
Mathieu Magnin
bf0d466f4b
Move export_full_generation method from Dossier to Procedure
2017-04-05 12:26:38 +02:00
Mathieu Magnin
b18c09e9fd
Download dossiers button exports all dossiers except draft
2017-04-05 11:04:53 +02:00
gregoirenovel
cb677dfb45
Indent using 2 spaces
2017-04-04 16:59:40 +02:00
gregoirenovel
d1e463b7ab
Files should end with a single new line
2017-04-04 16:59:39 +02:00
gregoirenovel
d5e7bbd80d
Files should end with a new line
2017-04-04 16:59:38 +02:00
gregoirenovel
15802b18ea
Files should not start with a new line
2017-04-04 16:59:38 +02:00
gregoirenovel
87ab2ba9eb
Remove trailing spaces
2017-04-04 16:59:37 +02:00
gregoirenovel
6cb78acd85
Make the birthday field a date field
...
And remove the date picker (you can now use the
native one)
2017-04-03 16:03:38 +02:00
gregoirenovel
8126549a0d
Make the datepicker french for the auto archive field
2017-04-03 16:03:38 +02:00
Mathieu Magnin
d5e5a7997a
Disable turbolinks cache to avoid weird behavior (ex: page change twice after single click)
2017-04-03 15:43:42 +02:00
Mathieu Magnin
08442e64a3
Update turbolinks
2017-04-03 15:43:41 +02:00
gregoirenovel
28747a951f
Delete unused assets
2017-04-03 13:25:19 +02:00
Mathieu Magnin
95b83a57c1
Checkbox should be checked when value is 'on'
2017-04-03 10:50:15 +02:00
Mathieu Magnin
096f1e7198
Imageoptim on assets saved 400 ko
2017-03-30 15:51:39 +02:00
Mathieu Magnin
e4826b468a
Fix departements / pays / regions drop down list
2017-03-29 14:22:23 +02:00
gregoirenovel
c6738bf223
Rename Mr in M.
2017-03-27 15:45:07 +02:00
Mathieu Magnin
6a8ca67a83
Merge branch 'develop' into auto_archive_on_date
2017-03-27 15:35:52 +02:00
gregoirenovel
458f557c93
Add a sort order to the demo procedures list
2017-03-22 17:52:56 +01:00
Mathieu Magnin
c2a27c6f6a
Merge branch 'develop' into auto_archive_on_date
2017-03-22 11:32:56 +01:00
Mathieu Magnin
8e91d4ba97
Merge branch 'develop' into select_multiple
2017-03-20 12:30:42 +01:00
Mathieu Magnin
75007825f8
Update champ_decorator.rb
2017-03-20 12:14:16 +01:00
Simon Lehericey
a076dc2987
Wording
2017-03-20 12:03:27 +01:00
Simon Lehericey
ce343aac96
Select Multiple: text in placeholder and add separator
2017-03-20 11:36:06 +01:00
Simon Lehericey
ebd2051337
multiple_select: fix decorateur interference
2017-03-16 09:09:15 +01:00
Simon Lehericey
b3624256cd
select_multiple: add decoration for view of multiple_select
2017-03-15 17:51:34 +01:00
Simon Lehericey
2f561a9cd0
select_multiple: clean user input
2017-03-15 17:51:34 +01:00
Simon Lehericey
1fa1e9e8e8
select_multiple: add select2
2017-03-15 17:51:34 +01:00
Simon Lehericey
3ed14bf1a4
Cleaning
2017-03-15 17:51:34 +01:00
Simon Lehericey
657ce53a60
select_multiple: add multiple_drop_down_list type
2017-03-15 17:51:34 +01:00
Mathieu Magnin
a87b54b168
Typo
2017-03-15 15:28:09 +01:00
Mathieu Magnin
237d4bdc28
Auto archive option is available even if procedure is published
2017-03-15 15:22:29 +01:00
Mathieu Magnin
4d323497e7
Remove puts
2017-03-15 15:16:00 +01:00
Mathieu Magnin
24d17dc0f3
Sidekiq worker to archive procedures automatically + tests
2017-03-15 12:40:59 +01:00
Simon Lehericey
7596c2424e
Explication: do not show explication in _infos_dossier
2017-03-14 13:59:37 +01:00
Simon Lehericey
fb2aef1810
Explication: style in edit page
2017-03-14 13:58:59 +01:00
Simon Lehericey
d250cafccc
Explication: add champ in edit formulaire
2017-03-14 13:58:21 +01:00
Simon Lehericey
fcca0bb247
Cleaning
2017-03-14 13:54:31 +01:00
Mathieu Magnin
359807b4f7
Procedure has an auto_archive date
2017-03-14 10:45:59 +01:00
Simon Lehericey
176092c256
Explication: add field and template
2017-03-13 15:02:05 +01:00
Simon Lehericey
ec0092fb3c
Cleaning
2017-03-13 15:01:41 +01:00
LeSim
8f5f86b2f3
Merge pull request #40 from sgmap/destroy_emails_with_procedure
...
Destroy emails with procedure
2017-03-13 13:59:32 +01:00
Mathieu Magnin
fc9ef92c37
Destroy emails with procedure
2017-03-13 10:27:19 +01:00
Mathieu Magnin
ad1250af6f
Add confirm popup on important actions
2017-03-09 16:55:47 +01:00
Mathieu Magnin
48d12cfa34
max width in Administration
2017-03-08 14:52:37 +01:00
Simon Lehericey
66cb0c09b1
Stats: wording
2017-03-08 14:26:45 +01:00
Mathieu Magnin
5d4e8622f6
Merge pull request #38 from sgmap/stats
...
Stats: add adminitrations stats view
2017-03-08 10:59:06 +01:00
Mathieu Magnin
342a6b239e
Small css changes
2017-03-08 10:55:24 +01:00
LeSim
78325cc9f9
Merge pull request #34 from sgmap/customize_submission_mail
...
Customize submission mail
2017-03-07 18:32:55 +01:00
Mathieu Magnin
9cd506e265
Clone mail_templates with procedure
2017-03-07 18:19:48 +01:00
Simon Lehericey
6cb88a995f
Stats: add adminitrations stats view
2017-03-07 18:09:09 +01:00
Mathieu Magnin
4ea7635dfc
Fix after review
2017-03-07 16:23:44 +01:00
LeSim
2e19dd26b7
Merge pull request #36 from sgmap/remember_me
...
Add remember me on login
2017-03-07 14:15:37 +01:00
LeSim
9764604430
Merge branch 'develop' into customize_submission_mail
2017-03-07 11:05:04 +01:00
Mathieu Magnin
a88b150c3c
Add remember me on login
2017-03-07 10:29:48 +01:00
Simon Lehericey
65e83dd6ec
Mails: factorize default and change slug
2017-03-07 10:27:14 +01:00
Simon Lehericey
02bbf0543f
Mails: move to their own namespace
2017-03-07 10:27:14 +01:00
Simon Lehericey
335caed65e
Mail Template: Delete
2017-03-07 10:27:14 +01:00
Simon Lehericey
2536774519
DescriptionController: send initiatedMail notification
2017-03-07 10:27:14 +01:00
Simon Lehericey
3d7f04ad3d
DossierController: send receivedMail when the mail is ... received
2017-03-07 10:27:14 +01:00
Simon Lehericey
9d710336b3
MailTemplate: allow edition of all the new mails
2017-03-07 10:27:13 +01:00
Simon Lehericey
c8f515832b
MailTemplate: add email and nom_organisation tag
2017-03-07 10:27:13 +01:00
Simon Lehericey
6c560e65eb
Notification Mailer: use send_notification for all the mails
2017-03-07 10:27:13 +01:00
Simon Lehericey
70b2020656
Procedure: remove mail_template
2017-03-07 10:27:13 +01:00
Simon Lehericey
206d56f106
Procedure: add the new mails
2017-03-07 10:27:13 +01:00
Simon Lehericey
695dc16b85
Mails: add refused, without_continuation, draft, closed, received mails object
2017-03-07 10:27:05 +01:00
Simon Lehericey
7b336922cc
Cleaning
2017-03-07 10:25:34 +01:00
Simon Lehericey
36500407b4
DossierController: use the new method send_notification
2017-03-07 10:25:34 +01:00
Simon Lehericey
65d399b4b0
NotificationMailer: add send notification
2017-03-07 10:25:34 +01:00
Simon Lehericey
89763ec8d4
MailTemplateController: use new initiated_mail
2017-03-07 10:25:34 +01:00
Simon Lehericey
c22c84f1f9
Procedure: add inititad_mail with default provider
2017-03-07 10:25:34 +01:00
Simon Lehericey
2f5dde381a
NotificationMailer: simplify using default method
2017-03-07 10:25:34 +01:00
Simon Lehericey
47fc6e6957
InitiatedEmail: add initiated email
2017-03-07 10:25:28 +01:00
LeSim
22837c01b0
Merge pull request #35 from sgmap/state_wording
...
Wording
2017-03-06 20:49:22 +01:00
Simon Lehericey
a334888363
Wording
2017-03-06 20:44:25 +01:00
Simon Lehericey
a5bb6ea0d7
Dossier: fix merge
2017-03-06 18:17:28 +01:00
LeSim
caf1f1b74f
Merge branch 'develop' into add_dossier_workflow_dates
2017-03-06 17:54:45 +01:00
LeSim
4de6a9595a
Merge pull request #33 from sgmap/block_dossier_initiation_if_procedure_is_archived
...
Block dossier initiation if procedure is archived
2017-03-06 17:48:18 +01:00
Mathieu Magnin
376c50db8f
Long procedure title should be cut if too long
2017-03-06 16:18:22 +01:00
Mathieu Magnin
44819bb0b1
Fix reopened dossier should not be listed in new dossiers
2017-03-06 15:59:52 +01:00
Mathieu Magnin
7e4f473027
When procedure is archived user can update dossier if not in brouillon
2017-03-06 15:03:51 +01:00
Mathieu Magnin
a24980145c
Block dossier initiation if procedure is archived
2017-03-06 14:29:01 +01:00
Simon Lehericey
7eb77ba667
Mail Received: remove useless template_decorator
2017-03-05 22:17:17 +01:00
Mathieu Magnin
d03016db9c
Merge branch 'develop' into list_dossiers_archived
2017-03-02 16:22:59 +01:00
Simon Lehericey
5cceb9773c
Style: simple css for custom emails list
2017-03-02 16:19:05 +01:00
Mathieu Magnin
858c9a3bba
Export dates and add tests
2017-03-02 16:18:14 +01:00
Mathieu Magnin
c77c46bf37
Remove unused title
2017-03-02 11:53:03 +01:00
Mathieu Magnin
6fcd35fd4c
Merge branch 'develop' into add_dossier_workflow_dates
2017-03-02 11:46:17 +01:00
Mathieu Magnin
e9147a8e76
Fix floating login button
2017-03-02 11:20:20 +01:00
Simon Lehericey
494d5fed5c
Dossier_list_controller: renaming
2017-03-01 16:00:39 +01:00
Simon Lehericey
ca799421c9
backoffice dossiers index: simple cleaning
2017-03-01 15:51:02 +01:00
Simon Lehericey
0862f2fc51
Dossier_list_controller: same name pattern
2017-03-01 15:51:02 +01:00
Simon Lehericey
5b475fdd06
Dossier_list_controller: simplify smartlisting
2017-03-01 15:51:02 +01:00
Simon Lehericey
925a087f4a
Dossier_list_controller: use same system for archived dossiers
2017-03-01 15:50:57 +01:00
Mathieu Magnin
4d60aecb6d
Merge branch 'develop' into try_to_use_sqlite
2017-03-01 14:59:17 +01:00
Simon Lehericey
8dc634f4d3
Dossier_list_controller: factorize smart_listing_create
2017-03-01 14:19:22 +01:00
Mathieu Magnin
87865fcf1b
Merge branch 'develop' into list_dossiers_archived
2017-03-01 10:35:20 +01:00
Mathieu Magnin
d9f5603f05
Add state dates to dossier
2017-03-01 09:51:55 +01:00
Simon Lehericey
c56a346f2e
fix wrong mail subject
2017-02-28 18:07:58 +01:00
Simon Lehericey
b097e1d6b8
Tests: adapt to sqlite
2017-02-28 17:01:58 +01:00
Simon Lehericey
db3884cc93
Style: fix width in show dossier
2017-02-28 16:00:42 +01:00
LeSim
0da239c657
Merge branch 'develop' into simplify_dossier_workflow
2017-02-28 15:23:25 +01:00
Simon Lehericey
870d3719e1
Dossier: add method to allow gestionnaire to reopen dossier
2017-02-28 15:14:27 +01:00
Simon Lehericey
43e6f15c5f
Style: fix backoffice navbar
2017-02-28 15:14:01 +01:00
Mathieu Magnin
67daaa033c
Merge pull request #28 from sgmap/simplify_dossier_workflow
...
Simplify dossier workflow
2017-02-28 14:56:57 +01:00
Mathieu Magnin
fa884f3ed0
Unarchive button & tests
2017-02-28 14:33:05 +01:00
Simon Lehericey
7b877dc28f
Style: fix backoffice dossier width for small screen
2017-02-28 13:54:19 +01:00
Mathieu Magnin
ef1d46d30e
Fix tests
2017-02-28 11:37:37 +01:00
Mathieu Magnin
6774dd008f
List dossiers archived
2017-02-27 17:44:08 +01:00
Mathieu Magnin
ab3c1b4be4
Remove mail validated in procedure
2017-02-27 13:29:26 +01:00
Mathieu Magnin
4cc6aedfb9
Fix tests after workflow simplication
2017-02-27 11:56:26 +01:00
Mathieu Magnin
10add61bd1
Clean some tests after removing :validated & :submitted states
2017-02-23 17:54:11 +01:00
Mathieu Magnin
3fcf9bf350
Landing is no longer a symlink on prod/staging env, new call to action on landing is a mailto
2017-02-22 16:07:06 +01:00
Mathieu Magnin
cae5b37e38
First step to remove :validated and :submitted states
2017-02-21 18:05:48 +01:00
Mathieu Magnin
6f1243eb7e
Do not hide link if procedure is archived
2017-02-21 11:05:11 +01:00
Simon Lehericey
b6fc30fd62
Search: see only its own files
2017-02-20 18:07:33 +01:00
Mathieu Magnin
ab0d8deef1
Modify wording : Procedure can be edited after publication
2017-02-20 15:08:31 +01:00
Mathieu Magnin
c4f57087fe
Merge pull request #23 from sgmap/admin_can_modify_procedure_description_after_published
...
Admin can modify procedure description after published
2017-02-20 14:52:14 +01:00
Mathieu Magnin
62152e0b6e
After environment.rb updated this should work
2017-02-20 14:11:12 +01:00
Mathieu Magnin
2798d225fd
Fix uninitialized constant
2017-02-17 17:18:10 +01:00
Mathieu Magnin
85c07f8095
Quick & dirty fix
2017-02-16 18:05:42 +01:00
Mathieu Magnin
ff9c95f18e
Merge branch 'develop' into admin_can_modify_procedure_description_after_published
2017-02-16 15:59:49 +01:00
Mathieu Magnin
9fcc0920e6
Css update
2017-02-16 13:59:32 +01:00
Mathieu Magnin
6979f6b5f6
Add some tests
2017-02-15 17:09:25 +01:00
Simon Lehericey
a124069210
Procedure: use after_create to build_default_mails
2017-02-15 15:44:27 +01:00
Mathieu Magnin
1d0a236813
Typo
2017-02-15 15:21:34 +01:00
Mathieu Magnin
a0d84eda5c
Fix logo display in development
2017-02-15 15:13:49 +01:00
Mathieu Magnin
a636d4f98d
Filter procedure update parms if procedure is locked
2017-02-15 14:13:02 +01:00
Mathieu Magnin
85608f18ab
Description page is accessible, some field are disabled if procedure is locked
2017-02-14 18:13:19 +01:00
Mathieu Magnin
c0ae500aa3
Merge branch 'develop' into remove_cerfa_text
2017-02-14 17:59:41 +01:00
Mathieu Magnin
9986ab1f01
Merge pull request #21 from sgmap/clean_grid
...
Clean grid
2017-02-14 17:58:15 +01:00
LeSim
7bc6e67e15
Merge pull request #19 from sgmap/clickable-links-in-champs-description
...
Add clickable links in champ description and use bootstrap layout for…
2017-02-14 17:28:03 +01:00
Simon Lehericey
5359c046e6
Clean grid usage
2017-02-14 17:12:44 +01:00
Simon Lehericey
3b827fa5e3
Remove specific cerfa in favor of default enclosed documents
2017-02-14 16:26:25 +01:00
Mathieu Magnin
11c793a60c
Remove custom button code, use bootstrap classes
2017-02-14 16:23:48 +01:00
Mathieu Magnin
6c41cbcc5e
Clean css
2017-02-14 16:20:52 +01:00
Mathieu Magnin
e7b91c3db5
Bootstrap default font-size is set to 16px
2017-02-14 16:09:52 +01:00
Mathieu Magnin
1e3c5bf14a
Fix engagement field
2017-02-14 15:23:39 +01:00
Mathieu Magnin
f60098311e
Fix hidden checkbox bug, address field : full width
2017-02-14 14:55:08 +01:00
Mathieu Magnin
b08a4c5091
Fix style for checkbox and radios
2017-02-14 14:34:00 +01:00
Mathieu Magnin
308a037f19
Add clickable links in champ description and use bootstrap layout for forms
2017-02-14 11:13:48 +01:00
Xavier J
5d733c11fd
Delete references @opensimplif
2017-02-13 15:46:28 +01:00
Xavier Julien
3c6ae2d005
Merge pull request #14 from sgmap/customizable-emails
...
Customizable emails
2017-02-13 15:20:04 +01:00
Xavier J
c344c99fbb
Merge branch 'sync-passwords-on-login' into develop
2017-02-13 13:47:36 +01:00
Mathieu Magnin
5613b896b1
Gestionnaire can archive dossier
2017-02-08 17:35:28 +01:00
Mathieu Magnin
82546a3ad4
Fix merge error
2017-02-08 15:32:49 +01:00
Mathieu Magnin
8ba8135e6b
Allow blank for lien_demarche
2017-02-07 18:12:25 +01:00
Mathieu Magnin
1bd66b6a9e
Add tests and lien_demarche in serialize
2017-02-07 18:12:25 +01:00
Mathieu Magnin
f15e9ec7da
In dev mode, demo buttons link to localhost
2017-02-07 18:12:25 +01:00
Mathieu Magnin
566fd8bc74
Add lien demarche to type de piece justificative
2017-02-07 18:12:25 +01:00
Xavier J
333ea9a610
Merge commit '99248a75a02710899e7ee2ecbcb3b304620cb721' into develop
2017-02-07 17:54:21 +01:00
Xavier J
5edd16c30f
Fix indentation
2017-02-07 17:52:56 +01:00
Xavier J
7cd08ec3f9
Merge branch 'develop' into print_css_for_dossier_show
...
# Conflicts:
# app/views/dossiers/_messagerie.html.haml
2017-02-07 17:38:02 +01:00
Mathieu Magnin
aa88fad777
Sync password after login
2017-02-07 16:56:21 +01:00
Mathieu Magnin
6444aa5be6
Use has_one instead of scope
2017-02-06 16:52:57 +01:00
Mathieu Magnin
749baedf43
Replace administration with services instructeurs
2017-02-01 18:05:58 +01:00
Mathieu Magnin
6bf3b9edf8
Fix test : do not send notification if commentaire is not saved
2017-02-01 17:16:08 +01:00
Mathieu Magnin
e99746639b
Merge branch 'send_user_notification_when_invite_send_a_message' into develop
2017-02-01 17:01:34 +01:00
Mathieu Magnin
91bd058106
Some fixes after review
2017-02-01 15:58:56 +01:00
Mathieu Magnin
34d05e4d9e
Improve the print css for the dossier/show
2017-02-01 14:24:24 +01:00
Mathieu Magnin
9266cf0feb
Disable scrollwheel zoom on map
2017-02-01 10:31:45 +01:00
Mathieu Magnin
ef9012cd82
Add lien cerfa vierge in the modification popup
2017-01-31 17:58:44 +01:00
Mathieu Magnin
37d31fae7b
Rename formulaire to formulaire de demande
2017-01-31 11:45:29 +01:00
Mathieu Magnin
38e8acf285
Change some wordings and clean some templates
2017-01-31 10:46:20 +01:00
Mathieu Magnin
c7934b2f97
Send a mail to usager if somebody else wrote a new commentaire on his dossier
2017-01-30 15:17:45 +01:00
Mathieu Magnin
99248a75a0
Add accompagnateurs emails in export
2017-01-26 17:54:04 +01:00
Mathieu Magnin
b40193e7b5
New customizable mail : mail_validated, new balise --lien_dossier--
2017-01-26 12:12:52 +01:00
Mathieu Magnin
2bc5ee88f7
Change controller name according to model name, add simple_form
2017-01-24 15:53:42 +01:00
Mathieu Magnin
482ca2a317
Add a mail_template decorator
2017-01-24 11:58:09 +01:00
Mathieu Magnin
0e5c90cb0c
Real index and edit for mail_templates
2017-01-24 10:19:42 +01:00
JC
4880101202
Fixing nomethoderror for opensimplif
2017-01-23 17:18:57 +01:00
Mathieu Magnin
7e24adbca0
Add mail preview and small fix
2017-01-23 15:49:19 +01:00
Mathieu Magnin
c41c36b4d1
Fix typo
2017-01-19 12:07:55 +01:00
Mathieu Magnin
52bf1d1ea2
Fix typos
2017-01-19 11:58:38 +01:00
Mathieu Magnin
2e3cb7a861
Cleaning HAML
2017-01-18 15:34:03 +01:00
Mathieu Magnin
d5e4f45d7d
Add xray-rails in dev mode
2017-01-18 13:59:14 +01:00
Xavier J
154e4f3c10
Refacto check_invite! after registration for User.
2017-01-13 11:19:29 +01:00
Xavier J
f5f5ef1a0d
Badge count invites by dossiers
2017-01-12 17:02:30 +01:00
Xavier J
42359eff15
Fix rake tasks
2017-01-11 17:36:28 +01:00
Xavier J
6612e56da2
Mask section left panel is user does not have any dossier
2017-01-11 15:22:24 +01:00
Xavier J
a6b10ba2df
Active protect on change dossier state tool with admin email verification
2017-01-10 17:34:55 +01:00
Xavier J
bc71754e87
Add tool change dossier state
2017-01-10 17:29:38 +01:00
Xavier J
04ee25dc7d
Fix bug post commentaire invite
2017-01-10 16:25:05 +01:00
Xavier J
8f5ad1af35
Fix bug procedure_path does not exist
2017-01-10 15:27:40 +01:00
Xavier J
12af46a22a
Fix invite dossier validated recapitulative show
2017-01-10 15:04:13 +01:00
Xavier J
672ad55651
Fix FranceConnect connexion routing
2017-01-10 11:03:12 +01:00
Xavier J
23df8a2348
- Ajust TPS for OpenSimplif
...
- Create /simplifcations routes for OpenSimplifController
2017-01-09 17:12:11 +01:00
Xavier J
29c7c8f498
Fix bug @liste sélection in DossierListGestionnaireService
2017-01-09 12:26:41 +01:00
Xavier J
32378405ed
Fix smart listing usage with new admin list presentation
2017-01-09 12:00:39 +01:00
Xavier J
c815ec5e82
Add tab for follow dossier in gestionnaire dashboard
2017-01-05 19:07:01 +01:00
Xavier J
ab02fe48c3
Force state dossier in files lists on gestionnaire board
2017-01-05 18:01:53 +01:00
Xavier J
b48726427d
Fix bug with procedure_filter loop redirections
2017-01-05 12:44:15 +01:00
Xavier J
99e6749c96
Fix invite to access a files
2017-01-04 18:03:03 +01:00
JC
45042d0200
Catching case for empty dossiers, cannot download them while locked on procedure, third fix making good condition about empty dossiers
2017-01-03 15:50:44 +01:00
JC
2670a9db0e
Catching case for empty dossiers, cannot download them while locked on procedure
2017-01-03 15:15:20 +01:00
JC
e7ef58dc9a
Catching case for empty dossiers, cannot download them while locked on procedure
2017-01-03 15:14:39 +01:00
Xavier J
54bcc829c0
Fix commentaire PJ bug
2017-01-03 15:12:49 +01:00
Xavier J
6f31a4d7b7
Fix logo TPS with
2017-01-03 14:53:56 +01:00
Xavier J
8d4656cf89
Fix features dossiers edition spec
2017-01-03 12:53:27 +01:00
Xavier J
2750319f77
Fix some tests
2017-01-03 11:32:21 +01:00
Xavier J
02d7dfb1dc
Add News on footer
2017-01-03 10:47:07 +01:00
Xavier J
5eeb91ec60
Delete last GithubRelease
2017-01-03 10:43:04 +01:00
Xavier J
cbb5737fdf
new demo link on home page
2017-01-03 10:40:09 +01:00
Xavier J
fbeb503d9e
Reactive Beta Headband
2017-01-03 10:26:47 +01:00
Xavier J
2e04760d10
Reactive Github version on home page
2017-01-03 10:24:58 +01:00
Xavier J
c122a64237
Ajust count notification for procedure left panel in back office gestionnaire
2017-01-02 18:27:01 +01:00
Xavier J
70fcaf281f
New landing page
2017-01-02 18:07:04 +01:00
JC
ac85392454
Css for index dossier count, using method in dossier model to get unreaded notification count
2017-01-02 16:45:03 +01:00
JC
620a8559dd
Changing css for index dossier counting, wording
2017-01-02 16:07:25 +01:00
Xavier J
a680eaed1c
Change word « Commentaire » to « Message » into Mailer
...
Add not reply at this mail.
2017-01-02 15:29:46 +01:00
JC
442dd5b7b6
Adding facade dossiers_unread_notifications (last)
2017-01-02 15:25:06 +01:00
Xavier J
9ed1fc5125
Change libelle message header section
2017-01-02 15:23:05 +01:00
Xavier J
c8e4a347ae
Change CSS header section construction form
2017-01-02 15:20:05 +01:00
Xavier J
bfbe57d533
Add method « Dossier with unread notifications » for DossierListFacade
2017-01-02 15:10:53 +01:00
JC
983cec659b
Adding dossiers suivis modifiés to tease informations about new notifications for gestionnaire
2017-01-02 14:39:27 +01:00
JC
dc0d206d88
Changing dossier en cours, for dossiers suivis, in dossier index
2017-01-02 14:17:30 +01:00
JC
b9e2c52c0b
Removed left pannel information about notifications in index
2017-01-02 14:16:05 +01:00
JC
57d8b4b242
Centered buttons for receveid dossiers
2017-01-02 14:10:45 +01:00
JC
c2e8f7ba31
Fix case for submitted dossiers, notification font awsome
2017-01-02 14:06:51 +01:00
JC
f407f3a266
Need refactoring on dossier_show rendered partials
2017-01-02 14:05:31 +01:00
JC
fdf6efafb2
Display hist for pieces justificatives only if multiple files uploaded
2017-01-02 11:44:21 +01:00
JC
3ad0d1e9cd
Add css for received dossier, show up to gestionnaire 3 buttons green, orange, red to switch dossier in final states
2017-01-02 11:24:21 +01:00
JC
c4f231d04e
Layout for dossier show/index notifications fa (icon)
2017-01-02 10:51:12 +01:00
Xavier J
4a1a23d1d7
Add per page link for smart listing User, Admin and Accompagnateur for follow files
2017-01-02 10:48:47 +01:00
JC
e131442084
Adding fa to notfications types in dossier show
2017-01-02 10:36:32 +01:00
Xavier J
bfe9211f03
Change size wysihtml5 box
2017-01-02 10:34:31 +01:00
Xavier J
b929190cf5
Disabled Client JS Action Cable
2017-01-02 10:25:47 +01:00
Xavier J
2bf0cc907b
Add alert for bad connexion with unified connexion
2017-01-02 09:38:49 +01:00
Xavier J
39bab7ac6f
Changer render ‘show’ for redirect_to
2017-01-02 09:34:28 +01:00
JC
aa2d2ad924
No notification message, when gestionnaire on index
2016-12-28 12:20:34 +01:00
JC
77e30e233c
margin action block in left pannel
2016-12-28 12:10:27 +01:00
JC
9e88a0d889
Display action renseigner un siret when not gestionnaire logged and dossier in states draft, replied, initiated
2016-12-28 12:06:37 +01:00
JC
6dd4736f9d
Margin credentials and champs in dossier show
2016-12-28 11:55:39 +01:00
Xavier J
12edb06a02
Merge branch 'notifications' into develop
2016-12-27 16:03:33 +01:00
Xavier J
e7b7652388
Fix some tests
2016-12-27 15:50:45 +01:00
JC
fb737df463
Both index and show have notification on there left pannels
2016-12-27 15:26:49 +01:00
Xavier J
7ee555a120
Disabled broadcasting
2016-12-27 15:05:19 +01:00
Xavier J
c01132c788
Delete old attr in database
2016-12-27 11:57:34 +01:00
Xavier J
4d765d3b46
Past all notification to read when gestionnaire is on back office dossier show
2016-12-27 11:23:19 +01:00
JC
cea14845d2
Start backoffice dossier index menu, enable switch between procedures and notifications in left-pannel
2016-12-27 11:15:24 +01:00
Xavier J
e37012dce6
Add badge for new files in procedure list for gestionnaire
2016-12-27 11:06:09 +01:00
Xavier J
2e13cb6818
Get gestionnaire unread notifications for his follows files
2016-12-27 10:57:21 +01:00
Xavier J
ce5bf8d622
Initialize fonction « unread_notifications » in DossierListFacade
2016-12-27 10:47:23 +01:00
Xavier J
4e6adf5bc3
Fix some tests
2016-12-26 18:37:27 +01:00
JC
9788118229
Adapt listing for notifications, according champ or pieces
2016-12-26 17:59:08 +01:00
JC
f0d0bfc427
Listing updated champs, saving only champs changed
2016-12-26 17:55:31 +01:00
JC
45d5177d52
Prepend notification message for champs and piece_justificative
2016-12-26 17:36:12 +01:00
Xavier J
153c472ef6
Add notifications into procedure list on back office report
2016-12-26 17:25:59 +01:00
JC
02ce392ff3
No notifications result in displayed message
2016-12-26 17:24:40 +01:00
JC
42915979da
Notifications are shown in backoffice dossier show, limit 5
2016-12-26 17:18:45 +01:00
Xavier J
48451553b9
Change invites autorisation in commentaire model
2016-12-26 14:45:42 +01:00
Xavier J
9a0a391c40
Exclude notification for dossier state draft and for accompagnateur comments
2016-12-26 14:38:00 +01:00
JC
a727c5146f
Cannot have the right feature test about invites, both side User and Gestionnaire
2016-12-26 14:16:08 +01:00
Xavier J
33362d1a52
Add notification for submitted state
2016-12-26 11:57:08 +01:00
Xavier J
33c1a12b84
Add notification for champs
2016-12-26 11:47:51 +01:00
Xavier J
e5768b6798
Add notification for piece justificative
2016-12-26 11:42:02 +01:00
Xavier J
6ed91073c4
Add notification for cerfa
2016-12-26 11:33:12 +01:00
Xavier J
5eaa2941ad
Move commentaire creation to model
2016-12-26 11:08:53 +01:00
JC
4c9c898a69
Feature test about clonning procedures
2016-12-26 10:56:57 +01:00
Xavier J
263d85ccee
Merge branch 'develop' into notifications
...
# Conflicts:
# app/views/backoffice/dossiers/_list.html.haml
2016-12-26 10:53:05 +01:00
Xavier J
31653ff553
Add everywhere col-sm-X and col-xs-X
2016-12-23 16:58:06 +01:00
JC
2908460c16
Feature test for gestionnaire, index and show (only filtering not tested)
2016-12-23 14:46:50 +01:00
Xavier J
c533bb0a88
TEST : First implementation of notification with Action Cable : alert message
2016-12-22 22:27:02 +01:00
Xavier J
f98bb90f08
Bootstrap Action Cable and Unicorn
2016-12-22 21:49:31 +01:00
Xavier J
07495ff9ba
Ajust UI for notifications
2016-12-22 21:25:55 +01:00
Xavier J
54fbe367c0
Add notifications when user post a comment
2016-12-22 20:40:23 +01:00
Xavier J
ce5b75a0b9
Merge branch 'develop' into notifications
2016-12-22 12:25:30 +01:00
Xavier J
e25ae6dea0
Fix CSS
2016-12-22 12:24:59 +01:00
Xavier J
044d258c69
Merge branch 'develop' into notifications
2016-12-22 11:59:34 +01:00
Xavier J
02fd5a2939
Fix tests
2016-12-22 11:55:24 +01:00
Xavier J
9eb6ed3a7c
Add champs private in procédure information page
2016-12-22 11:50:03 +01:00
Xavier J
cd7b7e4055
- Fix display private form
...
- Refacto code private form
2016-12-22 11:39:44 +01:00
Xavier J
d4522ae82e
Refacto code in Récapitulatif view
2016-12-22 10:55:27 +01:00
Xavier J
76757b1d22
Fix bug display « PIÈCES JOINTES » header section
2016-12-22 10:52:04 +01:00
Xavier J
727c263f72
- Fix bug prévisualisation header
...
- Fix bug header section visualization
2016-12-22 10:36:18 +01:00
Xavier J
a681564b39
Add notification table and model
2016-12-21 17:26:31 +01:00
Xavier J
b952b0239c
Update landing page
2016-12-21 15:54:23 +01:00
Xavier J
78bba67995
Fix bug who does not saved Individual information
2016-12-21 15:39:41 +01:00
Xavier J
626e42b067
Fix search animation
2016-12-21 14:36:49 +01:00
Xavier J
e98fc64bcb
Fix display bug with scrollbar into UI
2016-12-21 14:00:50 +01:00
Xavier J
20a4febecc
Adapt UI list for procedure list in admin interface.
2016-12-21 11:26:33 +01:00
Xavier J
decde2ee6c
Fix bug publish procedure with same path
2016-12-21 11:00:05 +01:00
JC
646fc37daf
Adding feature tests for Accompagnateur, continue on page features, then on dossier show
2016-12-20 17:26:54 +01:00
Xavier J
90804c8a33
Add tests for individual information saving but TEST FAILED
2016-12-20 17:02:36 +01:00
Xavier J
927d977541
Add tests and validator for individual model.
2016-12-20 17:01:16 +01:00
Xavier J
e258118825
Reactive cartographie
2016-12-20 14:48:09 +01:00
Xavier J
83444ab54c
Catch error 500 for quartier prioritaire
2016-12-20 12:27:53 +01:00
JC
39a023b3e2
Features tests about user: index of dossiers, sorting and using pagination
2016-12-20 11:58:29 +01:00
Xavier J
d67d32e3c2
Fix bug get_position when établissement is nil
2016-12-20 11:35:16 +01:00
Xavier J
addeaab744
Review UI procedure construction for Administrateur
2016-12-19 19:07:57 +01:00
JC
04a8632bda
Merge branch 'develop_v2' into develop
2016-12-19 17:17:10 +01:00
JC
691f061828
Features tests about user: create and edit dossier
2016-12-19 17:16:07 +01:00
Xavier J
f1ae1d8dea
Change render « show » by redirect_to backoffice_dossier_path(id) in dossier controller POST action
2016-12-19 17:11:26 +01:00
Xavier J
d4790f8277
Fix root controller bugs
2016-12-19 16:54:41 +01:00
Xavier J
0563ae1090
Fix CSS for default data block Infos
2016-12-19 16:31:18 +01:00
Xavier J
80c9165f08
Delete death code Model/Dossier
2016-12-19 16:02:35 +01:00
Xavier J
907ac0f56c
Delete death code
2016-12-19 15:55:11 +01:00
Xavier J
2fccbbf4f0
Delete un-use code
2016-12-19 15:08:00 +01:00
Xavier J
5791206a45
Delete old code
2016-12-19 14:27:50 +01:00
Xavier J
ee82e7fa8a
Add ProcedureController tests
2016-12-16 17:15:13 +01:00
Xavier J
33bfe4a29c
Delete un-use code
2016-12-16 14:40:41 +01:00
Xavier J
f627957869
Add ChampDecorator tests
2016-12-16 14:40:20 +01:00
Xavier J
e85cb4c24b
Delete features unified_login
2016-12-16 14:39:17 +01:00
Xavier J
d9dfff3b6a
Refacto invite dossier facades
2016-12-16 14:09:05 +01:00
Xavier J
f21f151c9c
Add test for GeoAPI driver lib
2016-12-16 10:42:34 +01:00
Xavier J
fb16d4582d
Delete un-user code in DossierDecorator
2016-12-16 09:43:59 +01:00
Xavier J
3c11bef503
Delete un-use code DossiersDecorator
2016-12-16 09:39:21 +01:00
Xavier J
02ec901777
Add CommentaireDecorator test
2016-12-16 09:38:43 +01:00
Xavier J
4de9ce4ac2
Delete devise User unused controller
2016-12-15 15:39:18 +01:00
Xavier J
0a1a5613db
Add tests for administration controller
2016-12-15 15:09:50 +01:00
Xavier J
bc4e3860be
Fix all tests
2016-12-14 18:41:33 +01:00
JC
4f7bcba8a3
Adding feature test for procedure_creation
2016-12-14 17:15:10 +01:00
JC
22a59123c1
Adding launchy to put save_and_open_page in capybara specs, fixing many red tests by removing/changing expectations according to new UI. Need to pursue on spec/features/backoffice/flux_de_commentaires_spec.rb (not priority), and spec/controllers/root_controller_spec.rb (unkonw)
2016-12-13 16:11:11 +01:00
Xavier J
dff90d2cf7
Merge branch 'develop' into develop_v2
2016-12-13 14:26:00 +01:00
Xavier J
ec83b397f7
Fix bug invite downcase
2016-12-13 14:22:54 +01:00
Xavier J
7bf58388fa
Update landing page
2016-12-07 18:08:06 +01:00
Xavier J
414a701b03
Dynamic switch button (User, Gestionnaire, Administrateur)
2016-12-07 18:00:27 +01:00
JC
e228f20684
Adding white back to some views
2016-12-07 17:55:42 +01:00
Xavier J
72ebacf3cc
Remove admin connection link on user connection page
2016-12-07 17:38:19 +01:00
Xavier J
1c2b2010d1
Synchronised password when user or gestionnaire change this
2016-12-07 17:35:45 +01:00
Xavier J
7cb2e80a3d
Sync credentials between user, gestionnaire and administrateur account
2016-12-07 17:24:01 +01:00
Xavier J
d282d7bbea
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-12-07 17:03:45 +01:00
Xavier J
715f086957
Can connect admin with user session path
2016-12-07 17:03:36 +01:00
JC
e10bd08800
2nd round about css and some adjustements: message/pj empty validation, margins, link_to div inclusion and more
2016-12-07 16:59:35 +01:00
JC
5915a2b7d5
Delete pop menu for sign_out, also count dossiers on user side
2016-12-07 16:27:43 +01:00
Xavier J
3153eeaf01
Fix bug empty
2016-12-07 15:53:26 +01:00
Xavier J
6f731f700f
Fix description view for champs and private champs
2016-12-07 15:44:28 +01:00
JC
16bdd1666b
Fix display in projet-name
2016-12-07 15:19:49 +01:00
JC
6f019f9a0f
Time to launch on staging
2016-12-07 14:44:10 +01:00
Xavier J
dc8e936ee5
Landing page TPS V2 progression
2016-12-07 14:39:06 +01:00
JC
5c93920f74
Mutualize all informations in dossier_show partial, now work on css
2016-12-07 13:58:00 +01:00
Xavier J
746d69796e
Remove has-error class on admin views
2016-12-07 11:51:26 +01:00
JC
004e8de3f9
Ok, big css work now
2016-12-06 16:29:52 +01:00
JC
6d8d8470d8
Need to test UI
2016-12-06 15:36:04 +01:00
JC
029fb1faec
Continue working on css, display carto (buggy), now adding private fields
2016-12-06 15:22:57 +01:00
JC
f0d5b5dc25
Need to add carto body, and then private field block
2016-12-06 15:17:18 +01:00
JC
e367cba480
Added condition to show renseigner un siret action in dossiers#show
2016-12-06 14:41:50 +01:00
JC
7058fde758
First step about user registration is safe (CSS)
2016-12-06 13:56:33 +01:00
JC
9bf475e1f3
Creating test environnement with new procedure showing each stage, I'll rework each screen till end of new user process
2016-12-06 13:24:39 +01:00
JC
c8f176de74
Using carto block, need to add css classes even if empty + need to refactor some of backoffice/dossiers/show Vs users/recapitulatif/show + then continue on document block and add a siren button on construct dossier
2016-12-06 13:14:06 +01:00
JC
41ebb648ef
Having editer action for construct dossier, now need the carto default_block to be shown
2016-12-06 13:06:34 +01:00
JC
02f913afdf
Now rework the action interface for dossiers in their show
2016-12-06 12:51:02 +01:00
Xavier J
30d5323d7e
New UI for description dossier in user view
2016-12-05 19:30:58 +01:00
Xavier J
9f4e4a6b65
New UI for procédure list on admin view
2016-12-05 18:11:18 +01:00
Xavier J
04e01981e8
Fix authorized routes on show dossier
2016-12-05 17:37:13 +01:00
Xavier J
4c2dd0ede1
Fix out of ranch error on search
2016-12-05 16:57:40 +01:00
JC
461fe22a91
Fixing css on left_pannel for centering infos
2016-12-05 16:37:18 +01:00
JC
0451ae0540
Using css truncation with overflow: hidden;
2016-12-05 16:33:09 +01:00
JC
1449a1dc19
Reworked en-cours css for dossiers#index user side, counting exact 'en cours' dossiers
2016-12-05 16:23:13 +01:00
Xavier J
cc532f74f9
Fix redirection routes for gestionnaires and users with double devise profile
2016-12-05 16:17:24 +01:00
JC
bdd51ce02b
Increased font-size for dossier id, user's dossiers#show
2016-12-05 16:11:36 +01:00
JC
94373094fa
Adding default welcome message, default opening messages body while no commentaires
2016-12-05 16:01:13 +01:00
JC
c03de66137
Extract dynamics involved constant to fit with utils in fr/en
2016-12-05 15:30:21 +01:00
JC
17e5800487
Add feature flag OpenSimplif for comments per field
2016-12-05 15:24:07 +01:00
JC
5556775ee9
Adding right caret class to navbar options for right pannel modal, also changing callback from hover sign_out, to use mouseover instead
2016-12-05 15:14:39 +01:00
JC
df36b9bd35
Removing 'INDIVIDU' from entreprise default block, from both gestionnaire/user dossiers#show
2016-12-05 15:04:42 +01:00
JC
2e9de46a1c
Fix js for sign_out hover displaying credentials, add hidden to tips div into left_pannel dossiers#show
2016-12-05 14:53:22 +01:00
JC
271ce62476
Adding logout information for sign_out hover, changing colors for links
2016-12-05 14:45:00 +01:00
JC
b698046e1e
Adding layout for credentials, this dropdown is shown when you pass hover sign_out button. It display email informations about the current gestionnaire/user
2016-12-05 14:06:43 +01:00
Xavier J
92e8740ee3
New CGU left panel
2016-12-05 11:45:30 +01:00
JC
52631a39de
Adding fixed-right css class for close btn on right pan (from dossiers#index, the cool one, for field selection)
2016-12-05 11:34:56 +01:00
JC
e24008bae4
font-size increased for options in download menu (dossiers#index), adding caret to display dropdown
2016-12-05 11:27:26 +01:00
JC
bcc4c01b39
Expand search bar when clicked
2016-12-02 19:05:29 +01:00
Xavier J
1a3e23c6ef
Change place lib repository
2016-12-02 17:03:52 +01:00
JC
27cc62ea1e
Working on dossiers#show recapitulatif for users
2016-12-02 16:33:36 +01:00
Xavier J
0c90c2c122
Add unsupport navigator banner
2016-12-02 16:04:23 +01:00
JC
6b1c7b15ee
Starting with dossiers#show as User
2016-12-02 12:06:01 +01:00
Xavier J
e4f63f366e
Fix syntax
2016-12-02 12:00:22 +01:00
JC
4717d72dde
Using active css class to display which procedure is selected on dossiers#index
2016-12-02 11:25:09 +01:00
JC
62f64d2bea
Working on dossiers#show
2016-12-02 10:39:28 +01:00
Xavier J
418b5faa52
New user tableau de bord UI
2016-12-01 19:43:56 +01:00
Xavier J
d1bb453d0d
Remove state :draft in all state list
2016-12-01 19:18:15 +01:00
Xavier J
ef5a005b35
Add switch button if devise account have user and gestionnaire role.
2016-12-01 18:35:51 +01:00
Xavier J
f96b87122b
Fix controller spec
2016-12-01 18:05:49 +01:00
Xavier J
d2a221ee40
Fix admin log out navbar style
2016-12-01 13:21:56 +01:00
Xavier J
bca0292fc4
Connexion and sign out user navbar style
2016-12-01 13:01:00 +01:00
Xavier J
b779c71cb6
Gestionnaire sign out css
2016-12-01 12:37:56 +01:00
Xavier J
5c61733199
Display left panel only if layout file exist
2016-12-01 12:19:22 +01:00
Xavier J
0da13454f7
Merge branch 'develop' into develop_v2
2016-12-01 11:06:54 +01:00
Xavier J
5ab277dda9
Fix dropdown list partial render
2016-12-01 10:59:42 +01:00
Xavier J
c682387a39
First change connexion navbar
2016-12-01 10:54:25 +01:00
JC
4048855aa3
expand procedure list to full height
2016-11-30 13:42:19 +01:00
JC
aaf5273b12
Style on procedure elements
2016-11-30 13:36:44 +01:00
JC
06ee5726ed
Fixing css on split-hr-left
2016-11-30 11:22:29 +01:00
Xavier J
ea18a6f7dd
Ajust global css
2016-11-30 11:04:50 +01:00
JC
409ce10c65
Adding tips to left pannel for dossiers#show
2016-11-29 16:39:06 +01:00
JC
53f4c52435
Have limited display height for messages on dossiers#show
2016-11-29 16:26:06 +01:00
JC
53692be01d
Css on left-pannel action for dossiers#show
2016-11-29 16:03:59 +01:00
JC
67091f995b
Changing css index filters dossiers#index
2016-11-29 15:47:58 +01:00
JC
f66b593596
Continue css upon dossiers#show, doing procedure libelle
2016-11-29 14:56:24 +01:00
JC
f823c8b748
marge and height upon search global input
2016-11-29 14:50:44 +01:00
JC
3772fee85f
Dossier content displayed by default on dossiers#show
2016-11-29 14:46:09 +01:00
Xavier J
dddb8c193d
mini fix css
2016-11-29 11:56:00 +01:00
Xavier J
1a90ed3fa3
Search input only for gestionnaire
2016-11-29 11:49:40 +01:00
Xavier J
2c96f15e93
Display search input on all pages
2016-11-29 11:45:30 +01:00
Xavier J
752ae24c9f
New search UX
2016-11-29 09:56:11 +01:00
JC
a1242bb55a
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-28 18:34:39 +01:00
JC
4a5c053ae5
Continue on dossier#show
2016-11-28 18:34:31 +01:00
Xavier J
53b0b9ee63
Fix bug right preference panel
2016-11-28 16:49:50 +01:00
JC
fda8cac51c
Finished navbar for dossiers#show, need body: construct dossier
2016-11-28 15:56:38 +01:00
JC
ceff884751
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-28 15:22:11 +01:00
JC
cb5b6651d5
Working on navbar
2016-11-28 15:22:00 +01:00
Xavier J
b4fc5a6019
Fix filter popup place
2016-11-28 15:21:16 +01:00
Xavier J
fbfbe68295
Adapt JS smart listing
2016-11-28 14:43:46 +01:00
Xavier J
178f0f88c1
- Delete page « Tous les dossiers »
...
- Fix follow tab
2016-11-28 14:38:33 +01:00
Xavier J
f4b483976c
Add default navbar and left panel
2016-11-28 10:15:11 +01:00
JC
74809b33ce
Keep working on dossier Show, need actions to be in navbar, adjust flash messages too, then construct dossier
2016-11-25 16:25:54 +01:00
JC
ecb551e18d
Prevent further clicks on submit buttons
2016-11-25 15:29:09 +01:00
JC
f978455642
Add commentaire joined files (pieces justificatives) direct into messages block
2016-11-25 15:01:03 +01:00
JC
d974040540
Starting left_pannel and navbar for dossiers show
2016-11-25 12:53:37 +01:00
Xavier J
e17c592ab4
Merge branch 'develop' into develop_v2
2016-11-25 12:48:14 +01:00
JC
87a8b68b36
Finished basic commentaire/messages block for dossiers show
2016-11-25 12:20:08 +01:00
Xavier J
8cc6229606
Change max-size for CERFA and PJ
2016-11-25 12:07:01 +01:00
JC
cab4e257cd
Add new-action button to toggle default_block for messages
2016-11-25 11:25:33 +01:00
JC
1172987d8a
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-25 11:09:08 +01:00
JC
e6a01e9212
Got last message showed upon messages, adding condition to toggle out this last message on lick
2016-11-25 11:08:58 +01:00
Xavier J
eb75d9b337
Merge branch 'develop' into develop_v2
2016-11-25 10:49:28 +01:00
Xavier J
97c2be07ea
Change wording submit and receive action
2016-11-25 10:46:08 +01:00
JC
1c1942063b
Counting messages
2016-11-25 10:11:11 +01:00
Xavier J
58df3c3a75
- Continue development Tableau de bord
...
- Optimize toggle block
2016-11-24 19:33:34 +01:00
JC
09fb3d4634
Pursuie over body animation with carets
2016-11-23 17:30:55 +01:00
JC
0b7020e065
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-23 16:17:45 +01:00
JC
df794b9c89
Ok accordeon javascript upon header lines
2016-11-23 16:17:29 +01:00
JC
570b22c60f
Add google_analytics partial in layout
2016-11-23 16:15:00 +01:00
Xavier J
d09a47ae23
First iteration navbar tableau de bord
2016-11-23 15:21:42 +01:00
JC
e35c1f8757
Up limit for export form 200 to 400
2016-11-23 11:31:00 +01:00
JC
37b5e3fc48
Up limit for export form 200 to 400
2016-11-23 11:29:56 +01:00
JC
966febca68
Centering show-block, need to merge css into develop°v2
2016-11-23 11:26:05 +01:00
JC
de9753ae69
Need to anime accordeon, and check if width + margin % is the solution
2016-11-23 10:59:48 +01:00
JC
750d81e70b
Working on css for dossier#show body
2016-11-22 17:32:00 +01:00
JC
c5e0f0a780
Extract css for sign_in sign_out from navbar
2016-11-22 16:32:50 +01:00
JC
5ba1c85ca7
Change spec according to layout rendering service
2016-11-22 16:30:35 +01:00
JC
5b61d41030
layouts for dossiers show
2016-11-22 16:10:01 +01:00
JC
4f9bcdd225
Awsome struct to share layouts between controllers and there methods
2016-11-22 16:03:32 +01:00
Xavier J
7faf1705da
Add service RenderPartial
2016-11-22 15:17:37 +01:00
JC
55eb8397d2
Fixing footer and push left to center on after wrap
2016-11-22 11:33:08 +01:00
JC
3627a18420
Set navbar options from before_action
2016-11-21 17:30:28 +01:00
JC
e9eeb0b4ba
Sacrifice 1 bootstrap col unit to get disconnect preview (under ruban)
2016-11-21 16:57:42 +01:00
JC
3a82725cbd
Fix css for download dossiers buttons
2016-11-21 16:49:59 +01:00
JC
ef9adf52cb
Loading variables from controller to get several uniq layout to display
2016-11-21 16:45:12 +01:00
JC
2d355bd6a0
Working on left-pannel, include footer after main-container
2016-11-21 16:13:19 +01:00
JC
23ef3e896a
Done with navbar
2016-11-21 15:31:03 +01:00
JC
0db63f33c0
Working on navbar, will put fake content to get css sizes
2016-11-21 15:04:16 +01:00
JC
b62587f9ab
Split footer and flash messages in layouts
2016-11-21 14:19:15 +01:00
JC
f5ec476416
New application layout struct for pages
2016-11-21 14:12:59 +01:00
JC
200a99dbae
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-21 10:54:01 +01:00
JC
1fe76b8c3b
Add google_analytics partial in layout
2016-11-21 10:53:50 +01:00
Xavier J
e95ba6b56c
Merge branch 'develop' into develop_v2
2016-11-21 10:50:25 +01:00
XjulI1
46fa28322e
Merge pull request #7 from sgmap/fix-backoffice-search-dossier-by-id
...
Fix: search dossier by id (backoffice)
2016-11-21 10:40:38 +01:00
Julien Portalier
426fd55f30
Fix: search dossier by id (backoffice)
2016-11-17 19:18:24 +01:00
Xavier J
647eaa4ba8
Merge branch 'develop' into develop_v2
...
# Conflicts:
# Gemfile.lock
# db/schema.rb
2016-11-17 16:55:41 +01:00
Xavier J
8f012e3731
Add analytics
2016-11-17 12:30:39 +01:00
Xavier J
b4b2dafc7b
Add reply_to for invite mailer
2016-11-17 12:17:59 +01:00
Xavier J
6e4ddcdbcf
Fix test
2016-11-17 11:24:49 +01:00
Xavier J
d144047a50
Fix export data dossiers
2016-11-17 11:13:11 +01:00
XjulI1
926ae9d805
Merge pull request #6 from sgmap/per-champs-comment-flow
...
Flux de commentaires par champs
2016-11-17 10:52:18 +01:00
Xavier J
893bfaef40
Fix JS
2016-11-17 10:50:28 +01:00
Julien Portalier
8195a57f9c
Fix: distinction des commentaires par champ
...
Les commentaires par champ sont distincts des commentaires généraux
(non attachés à un champ). Ils ne faut donc pas les afficher dans
les commentaires sous le récapitulatif du dossier.
2016-11-16 16:23:43 +01:00
JC
c557038c38
Adding tooltip for dossiers export amount excess (200)
2016-11-16 11:12:04 +01:00
Julien Portalier
96ca5113f7
Flux de commentaires par champs
2016-11-15 18:36:20 +01:00
JC
23b928f160
Adding limit (200) for dossier exportation
2016-11-15 17:06:40 +01:00
Xavier J
6a261d125a
New color for navbar
2016-11-15 14:10:43 +01:00
JC
0ac3c5fc86
Merging develop branch updated
2016-11-15 10:46:33 +01:00
Xavier J
90cfd3eccb
Fix Test spec/controllers/api/*.rb
2016-11-15 09:54:17 +01:00
Xavier J
5750eb1aa5
Fix major DEPRECATION WARNING for spec/controllers/admin/*.rb
2016-11-15 05:19:30 +01:00
Xavier J
da3ef13522
Fix tests spec/controllers/france_connect/*.rb
2016-11-15 04:42:32 +01:00
Xavier J
213e84b546
Fix DEPRECATION for services
2016-11-15 03:56:26 +01:00
JC
a549f95da1
Continue test for data_with_champs
2016-11-14 17:43:34 +01:00
Xavier J
d7fdf22abb
First fixed
2016-11-14 17:33:45 +01:00
JC
2f96895bb8
Continue tests for data_with_champs method, and add a convert_specific_values_to_string for array
2016-11-14 17:25:17 +01:00
JC
5aa9c75669
Ordering champs through export method, not through serializer
2016-11-14 16:37:58 +01:00
JC
5c3049d6bd
Manualy sort type_de_champ by order_place
2016-11-14 14:39:59 +01:00
Xavier J
ec53f64a64
Fix bug tag received mailer
2016-11-14 11:03:17 +01:00
JC
e49e0b02ef
Split methods for export, need to write 2 tests for headers and raw data (export_headers, data_with_champs)
2016-11-14 10:41:56 +01:00
Xavier J
a72709b6da
Fix bug Cerfa on « Modifier document » recap page
2016-11-10 17:26:00 +01:00
Xavier J
ec4b634f8a
Change onglet presentation for gestionnaire.
2016-11-10 15:57:14 +01:00
JC
a89a40df34
Prevent call for headers writting (export with procedures), get filtered dossiers by using the 'yoloServiceRegexCraftedByHandMetaForAllProject' -> extra :), adding tests for generic methods, still need to test export_columns_and_procedure
2016-11-09 17:20:55 +01:00
JC
c01e3987f6
Using serializer to get procedure.dossier from controller
2016-11-09 15:36:18 +01:00
JC
2056605135
Working with procedure types_de_champ ordered by id ASC -> building bunch of 'extra' data to default data values... when value is set (obvious)
2016-11-09 10:49:37 +01:00
JC
973570332f
Implemented custom method to catch procedure_id while rendering data on each request format
2016-11-09 09:19:57 +01:00
Xavier J
9c863c7bff
Fix bug go to dossier list tableau de bord
2016-11-08 19:03:21 +01:00
JC
23ee1cb21c
Adding style for download link as dropdown menu, changing locales
2016-11-08 15:28:39 +01:00
XjulI1
9b9e2be8d8
Merge pull request #4 from sgmap/postgresql-full-text-search-2
...
PostgreSQL full text search
2016-11-08 15:17:57 +01:00
Xavier J
b44da7b43d
Fix tests
2016-11-08 15:13:40 +01:00
Xavier J
f2a5d582b8
Change UX on dossier list (user and backoffice) to go on recap dossier.
2016-11-08 14:08:16 +01:00
JC
8dda0d3fb1
Okay... Add some conversion method to catch .ods write of number and boolean values -> as strings, passing on initial test for as_csv method
2016-11-08 11:48:36 +01:00
Xavier J
eb64e04aba
Dynamic Page title
2016-11-08 10:57:15 +01:00
JC
fa767ad56f
Config using default Serializers to generate both CSV and XLSX files from Dossier records, problem with ODS in gem -> github issue openned
2016-11-07 17:23:58 +01:00
Xavier J
5284df5ce0
Add page « Procédure terminée »
2016-11-07 17:08:33 +01:00
Xavier J
511cabf95a
Merge commit '20cab702f624513bdec6d1ab64535c88ae32ffb5' into develop
2016-11-07 13:25:48 +01:00
JC
20cab702f6
Merge remote-tracking branch 'origin/erase_params_filter' into click_outside_close_pan
2016-11-07 12:35:33 +01:00
JC
83ad08622f
Adding js that check oustide click from div, adding rescue LOGO_NAME causing 500
2016-11-07 11:32:51 +01:00
Xavier J
2f68d540e3
Migrate to ruby 2.3.1
2016-11-07 11:23:21 +01:00
JC
926d705806
Added js and button, only flushing input value from parent form
2016-11-07 10:30:45 +01:00
Julien Portalier
31272cf0f5
Fix: rebased off the develop branch (not master)
...
Remove textacular gem, drop `db/structure.sql` (no special indices)
and regenerates `db/schema.rb`
2016-11-04 17:14:09 +01:00
Julien Portalier
ce7e2c8a87
Rework searches to enable cross-table searches
...
It allows to search for multiple terms in multiple tables at once.
2016-11-04 15:41:42 +01:00
Julien Portalier
f9a5e5c5ff
Drop textacular (to enable prefix matching) + disable materialized view (for the time being) + specs
2016-11-04 15:38:34 +01:00
Julien Portalier
6bb1ad892f
Fixes for PostgreSQL full text search
...
- Drop individual GIN indices that aren't used by the search query.
- Add missing indices to speed up view query (missing dossier_id)
- Fix view query for drop_down_lists (and merge it with champs)
2016-11-04 15:34:35 +01:00
Julien Portalier
0ea69cfc3e
PostgreSQL full text search [WIP]
2016-11-04 15:34:21 +01:00
Xavier J
a08ded5322
Fix logo image_url
2016-11-03 17:29:59 +01:00
Xavier J
e10c218d3a
Add dynamic logo (opensimplif)
2016-11-03 17:20:56 +01:00
Xavier J
68951c3a53
Add locales dynamics (opensimplif)
2016-11-03 16:46:26 +01:00
Xavier J
e596f71b07
Check if starter informations and autorisations_donnees is valid on description dossier page
2016-11-02 16:33:01 +01:00
JC
b03dd07d97
Add number validation with javascript, for number fields
2016-11-02 11:58:42 +01:00
Xavier J
98fe908daf
Change status when user upload a new PJ
2016-11-02 11:07:33 +01:00
Xavier J
1ecfc62bb5
Fix upload cache directory (opensimplif)
2016-11-02 10:18:59 +01:00
Xavier J
1376372c9e
Revert "Active degraded mode if insee is disabled"
...
This reverts commit 6044c120c5
.
2016-11-01 22:56:58 +01:00
Xavier J
6044c120c5
Active degraded mode if insee is disabled
2016-10-30 22:59:57 +01:00
Xavier J
b1788ef481
Fix apparition description on engagement champ
2016-10-28 12:14:26 +02:00
Xavier J
28811a0bda
Change "En construction" state description.
2016-10-27 17:10:23 +02:00
Xavier J
a73339b12a
Up max size for cerfa and PJ
2016-10-27 17:00:59 +02:00
Xavier J
88233b716c
Fix smartlisting search back office
2016-10-27 14:25:08 +02:00
Xavier J
6cb98b073b
Ajust wording
2016-10-27 14:02:38 +02:00
Xavier J
6295492d65
Disable auto-mask section on description form
2016-10-27 13:59:31 +02:00
Xavier J
382e4b6857
Merge branch 'delete_draft_dossier' into develop
2016-10-27 13:47:00 +02:00
Xavier J
d698e95797
Change dossier.find on destroy draft fonction
2016-10-27 13:46:12 +02:00
Xavier J
8fb76d1a6e
Add type de champ Engagement
2016-10-27 13:43:10 +02:00
Xavier J
d455b6f12d
Fix bug follower render (opensimplf)
2016-10-26 16:06:01 +02:00
Xavier J
06df02f72b
Change cache directory (opensimplf)
2016-10-26 15:45:40 +02:00
JC
0599d7b148
Patching 'submited' dossier now can be openned
2016-10-26 12:31:27 +02:00
JC
c6f5a8b62d
Adding button, method in controller, testing call
2016-10-25 17:39:53 +02:00
Xavier J
e1d70f4e4a
Change count on administrations page
2016-10-25 12:11:11 +02:00
Xavier J
7674eb23f0
Add informations on administrations view
2016-10-25 12:02:51 +02:00
Xavier J
740b3650aa
Restore select procedure for gestionnaire (opensimplif)
2016-10-24 16:00:03 +02:00
Xavier J
028078216a
Get all dossiers on one table for User and Gestionnaire (opensimplif)
2016-10-24 15:18:32 +02:00
Xavier J
6c00b652e8
Disable state description (opensimplif)
2016-10-24 14:56:01 +02:00
Xavier J
a5ab7af0f8
Add private champs in tab preference list
2016-10-20 17:14:38 +02:00
Xavier J
32d70bd909
Fix features flip on user connection for unified_login
2016-10-20 11:48:40 +02:00
Xavier J
a7166d306f
Delete tab Nouveau A traiter and En cours d'étude for User and replace this only one call En construction
2016-10-19 17:25:24 +02:00
Xavier J
fd9eaa5a4d
Escape apostrophizes char on filter
2016-10-19 15:10:12 +02:00
Xavier J
a781473b42
By default, mask all section in user form expect the first
2016-10-19 14:35:42 +02:00
Xavier J
c2f014e59f
Add "99 - Étranger" in Champ département.
2016-10-19 11:33:21 +02:00
Xavier J
6f40424979
Change wording "Valider le dossier" to "Déclarer complet"
2016-10-19 11:23:34 +02:00
Xavier J
de07d4437c
adapt validated email for user
2016-10-19 10:51:40 +02:00
Julien Portalier
101bd68252
Add opensimplif feature flip to hide user/gestionnaire tabs
2016-10-18 15:52:14 +02:00
Julien Portalier
86e6dd0233
Hide gestionnaire login link (unified login)
2016-10-18 15:52:14 +02:00
Julien Portalier
c8b7d0eeb3
Create user when creating gestionnaire (unified login)
2016-10-18 15:52:14 +02:00
Julien Portalier
fa762dbb39
Add unified_login feature flip
2016-10-18 15:52:14 +02:00
Julien Portalier
7b9b236962
Add dossiers/mes dossiers in navbar
2016-10-18 14:25:16 +02:00
Julien Portalier
45e14d7a43
Sign associated user/gestionnaire in after password change
2016-10-18 14:25:16 +02:00
Julien Portalier
c2068d055d
Sign user + gestionnaire in (OpenSimplif)
...
Hacks into users/sessions to sign in and sign out a gestionnaire
and/or a user at the same time, as long as credentials are
identical (same email, same password).
2016-10-18 14:25:16 +02:00
Julien Portalier
687f87e457
Sync user/gestionnaire credentials (OpenSimplif)
...
Syncs email and password when either a gestionnaire or a user is
updated and it has an associated user or gestionnaire (same email).
2016-10-18 14:25:16 +02:00
Xavier J
49e4d6a9d3
Gestionnaire can be filter on the specifics fields of the form when is on the folder list.
2016-10-14 12:02:39 +02:00
Xavier J
f1515616ff
Add 3 new type de champs : Pays, Régions et Départements
2016-10-12 17:22:56 +02:00
Xavier J
7425a0be59
Disable publication (on UI) if procedure does not have gestionnaire
2016-10-12 14:35:39 +02:00
Xavier J
3c400da89d
Add individual information on resume page for gestionnaire
2016-10-12 14:21:54 +02:00
Xavier J
e7637efc06
User can see enterprise informations in his resume view
2016-10-12 12:01:58 +02:00
Xavier J
1696d0a159
Possibilité d'afficher ou non une section pour un utilisateur.
2016-10-12 11:54:17 +02:00
Xavier J
fe6f6ebad3
Bug fix cookie for user
2016-10-11 18:05:49 +02:00
Xavier J
d5a85d17c7
Active feature "keep actual smart listing page"
2016-10-11 17:40:59 +02:00
Xavier J
64d46a25df
Add PreferenceSmartListingPage table and implement the usage
2016-10-11 15:37:16 +02:00
Xavier J
627d80277b
Disabled date picker on microsoft edge
2016-10-10 16:17:17 +02:00
Xavier J
dd75a58a6c
Fix bug PG::AmbiguousColumn on PreferenceListDossier
2016-10-10 14:56:23 +02:00
Xavier J
2a2ccec373
Fix bug cookie not valid for back office gestionnaire
2016-10-07 16:01:32 +02:00
Xavier J
177295f6e4
Fix bug download CSV
2016-10-07 15:34:10 +02:00
Xavier J
8409b660cf
Ordered piece justificative
2016-10-07 15:16:03 +02:00
Xavier J
ac971a805e
Adapt search function at the PreferenceListDossier table
2016-10-07 14:58:45 +02:00
Xavier J
7c2bcd0b64
Fix bug and change the implementation to create new preference list column when new gestionnarire is affect on a procedure
2016-10-07 12:10:58 +02:00
Xavier J
52bac4f3f9
Add automatically values on individual form if user is logged with FranceConnect
2016-10-06 11:45:26 +02:00
Xavier J
8ade790a81
Add gender on individual form
2016-10-06 11:21:07 +02:00
Xavier J
0418968f77
Fix bug
2016-10-06 10:09:51 +02:00
Xavier J
fd6b1f15a0
Purge all dossier with state draft
2016-10-05 17:12:45 +02:00
Xavier J
71de64e3ec
User can save a draft dossier who does not see by the accompagnateur
2016-10-05 16:45:51 +02:00
Xavier J
d78b64982b
Fix tests
2016-10-05 15:01:31 +02:00
Xavier J
8160d4d0df
User can be add siret when is procedure at the attribut individual and individual_with_siret
2016-10-05 14:28:10 +02:00
Xavier J
aa3b1e974d
Can create procédure individual with SIRET for later
2016-10-05 10:48:11 +02:00
Xavier J
1ccf84dac2
Fix bug type_de_champ header section can be mandatory
2016-10-04 19:53:21 +02:00
Xavier J
52249f92b5
Add filter on gestionnaire dossier list
2016-10-04 19:19:03 +02:00
Xavier J
77dadd1db5
Fix bug
2016-10-03 14:36:07 +02:00
Xavier J
9628041bfe
Fix html_safe description recap dossier
2016-10-03 14:19:16 +02:00
Xavier J
00c9c8250d
Fix bug clone drop_down_list procedure
2016-10-03 13:09:45 +02:00
Xavier J
60ff939089
Fix bug select options blank
2016-10-03 12:43:05 +02:00
Xavier J
5f8c2549c1
delete max length on email procedure transfert
2016-10-03 12:25:07 +02:00
Xavier J
5ff37a270e
Fix with migration bad table value for nil table attr
2016-09-27 17:53:46 +02:00
Xavier J
b3d454a53b
Smart listing sorting is saved on dossier list
2016-09-27 17:26:49 +02:00
Xavier J
0f1236aa7a
Fix test
2016-09-26 14:11:57 +02:00
Xavier J
ee9c38c0f8
Keep procedure filter when gestionnaire select on
2016-09-26 13:58:54 +02:00
Xavier J
1f1b235283
Fix bug Chrome datepicker
2016-09-22 11:31:24 +02:00
Xavier J
6bd2cfb935
Disabled @latest_release for Github
2016-09-19 17:06:09 +02:00
Xavier J
b86d4ced0d
Disabled @latest_release for Github
2016-09-19 17:02:29 +02:00
Xavier J
d3ed39597e
Fix bug @latest_release for Github
2016-09-19 16:59:07 +02:00
Xavier J
bd89688346
Fix test INSEE v2 get etablissement view
2016-09-16 17:08:50 +02:00
Xavier J
9332c0f6ed
Fix brakeman test
2016-09-16 16:29:34 +02:00
Xavier J
3014c4c539
Change word "Instruction" to "Examen"
2016-09-14 16:57:51 +02:00
Xavier J
0c9fea1c14
User can invite other user to edit his dossier
2016-09-14 16:36:01 +02:00
Xavier J
60b94fc41b
Specialize Invite object
2016-09-13 15:54:26 +02:00
Xavier J
0ac23f6d96
User can invite other User
2016-09-13 12:17:56 +02:00
Xavier J
969e5f020a
Fix bug clonage private fields
2016-09-09 17:39:56 +02:00
Xavier J
f6ab83f8bd
gestionnaire can be filter be procedure on dossier list tab
2016-09-09 17:29:21 +02:00
Xavier J
30acd9bb3e
A cookie file keep the last navigation tab for user and gestionnaire
2016-09-09 16:20:07 +02:00
Xavier J
c5035ca81e
When gestionnaire follow an initiated dossier, this paste his state at 'updated'
2016-09-09 15:55:03 +02:00
Xavier J
955c984a88
Gestionnaire can add specific attr on dossier list by procedure
2016-09-09 15:05:46 +02:00
Xavier J
62a0b84048
Filter by procedure is activated on route /backoffice/dossiers/procedure/:id
2016-09-08 16:21:54 +02:00
Xavier J
bb19982011
Change onglet url to dynamic gestion
2016-09-06 14:07:07 +02:00
Xavier J
d5ad256919
create route and controller to filter dossier view by procedure
2016-09-06 11:07:26 +02:00
Guillaume Lazzara
6a6ac7872a
Force deep copy of procedure logo
2016-09-02 17:11:30 +02:00
Xavier J
a48299353e
Fix html interpretation in ReceivedMail
2016-09-01 11:00:06 +02:00
Xavier J
b56883db16
Clone mail_templates where clone procedure
2016-09-01 10:43:49 +02:00
Xavier J
f03733f3ff
Mail for receive dossier is now send.
2016-09-01 10:27:22 +02:00
Xavier J
12ebab66cc
Administrateur can be param the acknowledgement of delivery mail object and body.
2016-08-31 16:07:11 +02:00
Xavier J
d438e9a329
Ajust landing page
2016-08-30 14:14:18 +02:00
Xavier J
16c1fe31c1
Update CGU
2016-08-30 13:29:40 +02:00
Xavier J
f07606a373
IE 9 alert
2016-08-30 11:42:33 +02:00
Xavier J
a69433e8de
User can be begin without SIRET
2016-08-30 11:18:43 +02:00
Xavier J
ed8da1552c
Admin can be declare a procedure for individual people (no SIRET)
2016-08-29 12:07:30 +02:00
Xavier J
0eb2acb959
CGU
2016-08-29 11:02:02 +02:00
Xavier J
a179c372cf
Ajust text
2016-08-26 09:17:31 +02:00
Guillaume Lazzara
db511b15a8
Fix typos in notification emails
2016-08-25 18:03:05 +02:00
Guillaume Lazzara
fc99dc65d6
Send notification emails when a dossier is closed.
2016-08-25 18:02:56 +02:00
Guillaume Lazzara
09236f32aa
Add 'refuser' and 'classer sans suite' buttons
2016-08-25 17:46:26 +02:00
Guillaume Lazzara
0120ce2a32
Add an action to set a dossier as 'recu'.
2016-08-25 15:22:08 +02:00
Xavier J
e4cf25b677
Download all gestionnaire dossier with a button
2016-08-25 12:30:15 +02:00
Guillaume Lazzara
39df032c8c
Translate type de champ values
2016-08-24 17:07:13 +02:00
Xavier J
b16c5d7bea
Renate site web link on etape 1 page.
2016-08-24 15:51:16 +02:00
Xavier J
3ebdab23a9
Enable french local on rich textarea
2016-08-24 15:32:41 +02:00
Xavier J
dd03b96e0c
Disabled link on rich textarea
2016-08-24 15:17:40 +02:00
Xavier J
c700701b36
Add lien_site_web attr and lien_notice attr
2016-08-24 12:14:25 +02:00
Xavier J
42943aad19
Explicit the use of lien_demarche attr
2016-08-24 11:40:53 +02:00
Xavier J
5b0e01f117
delete filter procedure for gestionnaire
2016-08-22 16:36:25 +02:00
Xavier J
b661a2eb38
Updated test for new user status UI
2016-08-22 16:10:48 +02:00
Xavier J
19ee3af273
Ajusté warning staging text
2016-08-22 14:15:21 +02:00
Xavier J
7140d79f64
Warning platform staging
2016-08-22 14:00:34 +02:00
Xavier J
6adfcac5bf
Add new state on User UI.
...
/!/ WARNING : No tests fix
2016-08-12 13:56:10 +02:00
Xavier J
1a92382259
- Add new status for a dossier : received, refused and without_continuation
...
- Add new and rename tabs on gestionnaire all dossiers view
/!\ WARNING : One test does not pasted. He will be corrected in the next commit
2016-08-11 15:27:35 +02:00
Xavier J
85e7af840a
Add drop down list on type champ list
2016-08-09 16:21:39 +02:00
Xavier J
9487d47ef8
Add deposit date time on dossier table
2016-08-08 14:12:16 +02:00
Xavier J
d6b9ebde9a
User can access at the summary tab of comments files
2016-08-08 13:34:26 +02:00
Xavier J
480431ea01
Add on gestionnaire dossier view the private form
2016-08-08 12:52:30 +02:00
Xavier J
ddb64878c8
Refactor code for private type de champ
2016-08-04 12:06:46 +02:00
Xavier J
116dd0d94f
Administrateur can be define private champs => same as typical champs
2016-08-03 18:19:56 +02:00
Xavier J
26b5e4cb24
Add model TypeDeChampPrivate
2016-08-02 16:13:15 +02:00
Xavier J
bce1b96fee
Build default pref list dossier for new gestionnaire
2016-08-02 14:49:41 +02:00
Xavier J
9bf8005658
Fix get entreprise 404 not found
2016-08-02 14:45:09 +02:00
Xavier J
a37320bae9
Add lateral panel to configure dossier list in back office
2016-08-01 18:10:32 +02:00
Xavier J
2d9fd187d9
Fix get siret for new dossier
2016-07-28 10:20:53 +02:00
Xavier J
f6d3e2d780
Fix test welcome mailer
2016-07-26 15:05:24 +02:00
Xavier J
35a9d78d48
Fix bug welcome mailer
2016-07-26 14:23:39 +02:00
Xavier J
21a18a536f
Add total_commentaire in API Dossier and total_dossier on API Procedure
2016-07-22 15:06:30 +02:00
Xavier J
4e6d153893
Fix test
2016-07-22 12:25:23 +02:00
Xavier J
2ad816b6b3
Admin can be transfer a clone of a procédure at an other admin
2016-07-22 11:34:34 +02:00
Xavier J
e7830deefa
Add header section on procédure champ
2016-07-20 11:38:19 +02:00
Xavier J
6796ec26e8
Add suivi tab for gestionnaire
2016-07-19 17:18:41 +02:00
Xavier J
127c9bb138
Add total followers on dossier list and followers list on dossier page for gestionnaire
2016-07-19 16:44:26 +02:00
Xavier J
7d0bcfc35f
Delete utilisation of "nom_projet" attribut (no delete in database)
2016-07-19 16:10:50 +02:00
Xavier J
9221a0bb26
Add tab to group all commentaires files in one (for gestionnaire)
2016-07-18 18:48:59 +02:00
Xavier J
d26ae9539d
An accompagnateur can be mark a dossier follow by us
2016-07-18 18:24:29 +02:00
Xavier J
5ba88aa31a
Fix address type search
2016-07-18 11:23:03 +02:00
Xavier J
382c8d8700
Add minim preparation for dossier uniq page
2016-07-18 09:37:22 +02:00
Xavier J
23e582d597
Add type_de_champ yes/no
2016-07-12 15:25:26 +02:00
Xavier J
7281ee74b2
Fix bug double procedure path publish
2016-07-12 15:20:10 +02:00
Xavier J
9669fee7fe
Add state attribut in API
2016-07-11 14:43:20 +02:00
Xavier J
49c10fc00e
Compress assets
2016-07-08 12:04:26 +02:00
Guillaume Lazzara
9fd954d285
Add default protocol for urls
2016-07-07 10:13:46 +02:00
Guillaume Lazzara
f176a730a5
Silent logs of ping rendering
2016-07-06 10:06:28 +02:00
Guillaume Lazzara
e1f73f3bdc
Fix path to procedure logo
2016-07-05 11:50:56 +02:00
Guillaume Lazzara
aebc673cdc
Set STORAGE_URL during initialization
2016-07-05 11:50:45 +02:00
Xavier J
721ea424ed
Merge branch 'develop' of github.com:sgmap/tps into develop
...
# Conflicts:
# app/views/admin/procedures/_modal_publish.html.haml
2016-06-30 14:17:33 +02:00
Xavier J
09c9d5ea76
async publication procedure
2016-06-30 12:33:43 +02:00
Guillaume Lazzara
582a368107
Code review related updates
2016-06-30 10:24:20 +02:00
Xavier J
575cbaa3e1
Fix route commencer and adapt feature test
2016-06-29 17:35:34 +02:00
Guillaume Lazzara
92a5100a09
Handle "réactiver" feature with permanent procedure url
2016-06-24 16:57:35 +02:00
Guillaume Lazzara
e5002dbb11
Introduce permanent and customizable procedure url
2016-06-24 16:41:44 +02:00
Xavier J
b68b62b8f0
Disable Thread for API requests on new dossier
2016-06-22 11:29:59 +02:00
Xavier J
4355d4775a
Add type de champ date
...
Add hour and minute on UI for datetime
2016-06-22 11:25:41 +02:00
Xavier J
2fa10a43e5
Fix bug prévisualisation
2016-06-21 12:41:28 +02:00
Xavier J
1dcb29ec65
Add feature delete for draft procedure
2016-06-20 17:37:04 +02:00
Xavier J
86e26e520c
Merge branches 'develop' and 'develop' of github.com:sgmap/tps into develop
2016-06-20 13:59:31 +02:00
Xavier J
cc8d2ef4ee
New UI and UX for the dossier initialization
2016-06-20 13:57:57 +02:00
Guillaume Lazzara
7af7859334
Implement procedure cloning
2016-06-15 11:34:05 +02:00
Guillaume Lazzara
7fd2aa40ca
Do not send notification email when comments cannot be saved.
2016-06-14 16:00:37 +02:00
Guillaume Lazzara
f58f9d27d9
Enable password reset for Gestionnaires
2016-06-14 15:36:37 +02:00
Xavier J
5c2902bda5
Filter procedure on /demo page for staging
2016-06-14 15:21:32 +02:00
Xavier J
954ac2bc86
Fix bug revisualization controller
2016-06-14 11:59:50 +02:00
Xavier J
bbae7214c9
New UI for the map
2016-06-14 11:00:57 +02:00
Xavier J
866565495d
Delete default description in dossier
2016-06-13 12:03:05 +02:00
Xavier J
14142d9433
Dix published and archive method in procedure controller
2016-06-13 11:04:50 +02:00
Guillaume Lazzara
2791988da2
Add draft/publish status for procedure.
2016-06-09 17:49:48 +02:00
Xavier J
b987b86bd8
Add address input on carte view
2016-06-09 16:28:44 +02:00
Xavier J
54256b1e55
Add description champs on description page.
2016-06-09 14:18:28 +02:00
Xavier J
3c75fb27c4
Fix bug get Forbidden last version github
2016-06-09 12:23:50 +02:00
Xavier J
e72487bb28
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-06-09 12:08:25 +02:00
Xavier J
23ab25396f
Add type champs "Address" plug at the BAN
2016-06-09 12:08:18 +02:00
Guillaume Lazzara
1551b7ce21
Add ordering feature on piece justificative view
2016-06-08 16:45:37 +02:00
Xavier J
35a07aec87
Ajustement graphique navbar
2016-06-08 10:41:01 +02:00
Guillaume Lazzara
0314bc54dd
Add 'mes procédures' link in navbar
2016-06-07 15:52:55 +02:00
Guillaume Lazzara
64d27e0088
Add 'mes dossiers' link in navbar
2016-06-07 15:16:35 +02:00
Guillaume Lazzara
0c67cda7c5
Set specific cache path regarding environment
2016-06-07 10:33:22 +02:00
Xavier J
69f9c52b02
Preview procedure logo on edit procedure page for admin
2016-06-06 18:25:51 +02:00
Xavier J
e6b5698008
Add previsualization formulaire page for administrateur
2016-06-06 17:40:32 +02:00
Xavier J
d26feb4c72
Add JPG and PNG image on cerfa and piece justificative uploader
2016-06-06 16:38:14 +02:00
Xavier J
ddeaf5abf3
Add type de champs civilite
2016-06-06 16:32:59 +02:00
Xavier J
3513b16888
Add type de champs email and phone
2016-06-06 16:17:19 +02:00
Xavier J
9ac95345c1
Add underline on calendar button date picker
2016-06-06 14:44:34 +02:00
Guillaume Lazzara
16ca407542
Add ping route
2016-06-01 15:07:34 +02:00
Xavier J
bb116a68dd
Fix connexion view
2016-05-27 10:15:19 +02:00
Xavier J
811e771763
dynamic URL mail new assignment
2016-05-26 16:55:15 +02:00
Xavier J
92fc5af61c
Admin can add new Accompagnateur directly on the procedure
2016-05-26 16:44:10 +02:00
Xavier J
4d1cb9ecfe
Connexion page is contextualized with procedure title and description when is access with link.
2016-05-26 15:59:50 +02:00
Xavier J
95bb773275
Fix bug route /demo in production : Error 500 on redirect_to
2016-05-25 14:13:04 +02:00
Xavier J
6005dccc2b
Delete Archive feature for User on his Dossier
2016-05-25 14:08:02 +02:00
Guillaume Lazzara
7fbee7a5b5
Fix carrierwave root issues
2016-05-24 18:35:25 +02:00
Guillaume Lazzara
a62076c34b
Use original file extension for uploaded files
2016-05-24 17:34:52 +02:00
Guillaume Lazzara
2c7b65199e
Fix logo filename
2016-05-24 17:34:25 +02:00
Xavier J
e973286766
Merge branch 'assign_to_procedure' into develop
...
# Conflicts:
# db/schema.rb
2016-05-24 17:19:32 +02:00
Xavier J
1fcb33104d
Administrateur can be assign accompagnateur on each of his procedure.
2016-05-24 16:39:39 +02:00
Guillaume Lazzara
f62c9ebec9
Remove carriage returns in address in CSV format only
2016-05-24 15:58:21 +02:00
Guillaume Lazzara
63cf35a748
Add tests for siret with whitespaces
2016-05-24 15:43:05 +02:00
Guillaume Lazzara
d9b94568b2
Handle siret with whitespaces
2016-05-24 15:28:16 +02:00
Guillaume Lazzara
e2391d8635
Fix CSV output for addresses on several lines.
2016-05-20 18:24:05 +02:00
Guillaume Lazzara
745eee126a
Code review - Remote storage
2016-05-20 16:34:57 +02:00
Xavier J
1923f2aec1
Migrate Admin / Gestionnaire / Procédure gestion in database
2016-05-20 15:39:17 +02:00
Xavier J
fe4d921997
Add accompagnateur tab on all procedure navbar
2016-05-20 15:36:38 +02:00
Xavier J
143a683303
Change management navbar procedure admin
2016-05-19 10:57:18 +02:00
Guillaume Lazzara
833d7790c2
Add support for remote OVH cloud storage
2016-05-13 16:08:51 +02:00
Xavier J
b15c2bbb2b
New feature : User, Guest and Gestionnaire can be upload a document with theirs comments
2016-04-20 16:51:57 +02:00
Xavier J
fb2eeddf97
Revert guest can be upload new document on dossier
2016-04-19 14:08:09 +02:00
Xavier J
a8070cac6d
Fix sort administrations admin list
2016-04-19 10:41:23 +02:00
Xavier J
900b377ae2
Final implement of clamav gem
2016-04-15 15:32:15 +02:00
Xavier J
4099efd326
Test too
2016-04-14 17:56:03 +02:00
Xavier J
8c4810ced3
Send path file
2016-04-14 17:43:27 +02:00
Xavier J
d01b3356c6
Test 2 : io stream clamav analyse
2016-04-14 17:29:26 +02:00
Xavier J
1a3c19f48c
First test
2016-04-14 16:50:13 +02:00
Xavier J
8812ba2507
Fix brakeman information
2016-03-24 17:49:44 +01:00
Xavier J
6d5a3e6256
User and Guest can be upload new documents on our recapitulative dossier page.
2016-03-22 17:36:36 +01:00
Xavier J
0d211f4ccb
Fix white list cerfa and piece_justificative uploader
2016-03-22 10:20:26 +01:00
Xavier J
eeaefdcc79
Add reference to user who upload a cerfa or a piece justificative
2016-03-17 17:33:38 +01:00
Xavier J
bb79aca58a
Add historic for piece justificative
2016-03-17 14:50:10 +01:00
Xavier J
4b7e6426b3
Gestionnaire can have the history of cerfa updated on dossier show page
2016-03-16 15:34:35 +01:00
Xavier J
5d13276446
Fiabilisation de la suppression des gestionnaires par un administrateur
2016-03-16 10:55:03 +01:00
Xavier J
bd61a459fb
Add verification on user dossier description for champs mandatory
2016-03-15 17:17:56 +01:00
Xavier J
494f80afff
Can be check TypeDeChamps with attribut mandatory
2016-03-15 11:23:25 +01:00
Xavier J
26431ac528
Add column created_at on cerfa and piece_justificative
2016-03-14 17:30:22 +01:00
Xavier J
abfb6367d6
Active filter procedure on dossiers list backoffice
2016-03-14 16:49:12 +01:00
Xavier J
a612dc6021
Add features filter procedure for gestionnaire (not active on dossier list for now)
2016-03-14 14:23:09 +01:00
Xavier J
e944364929
Add Cerfa on API Show dossier
2016-03-14 11:10:02 +01:00
Xavier J
b49770f408
Add commentaires on API Show Dossier
2016-03-14 10:34:46 +01:00
Xavier J
04c5432be1
Add libreoffice document on uploader
2016-03-14 10:22:27 +01:00
Xavier J
7e45d2ee07
Fix bug API Dossier with Cerfa
2016-03-04 15:53:09 +01:00
Xavier J
f4de0b8431
- Add resize on wysihtml5 bootstrap
...
- Add rich text on procedure description
- Ajust text on description dossier user form
2016-03-02 15:21:45 +01:00
Xavier J
4282ab11be
Exclude draft dossier on statistiques
2016-02-29 15:48:58 +01:00
Xavier J
9c1268fdd5
Add statistiques API for dashboard
2016-02-29 15:15:44 +01:00
Xavier J
3e62dd01fb
Pre-doc APIs
2016-02-26 14:16:17 +01:00
Xavier J
c971849312
Merge branch 'api-pie' into develop
2016-02-26 14:00:29 +01:00
Xavier J
4993abf5f2
Create fonction content_url to make public download link for cerfa and pj
2016-02-26 13:59:03 +01:00
Xavier J
16c72e7478
Complete API Dossier
2016-02-26 12:17:41 +01:00
Xavier J
a316165792
!!FIX BUG : values does not appear on info dossier
2016-02-25 11:50:09 +01:00
Xavier J
36954c595e
Add UI SuperAdmin
2016-02-23 16:51:24 +01:00
Xavier J
8021825ffe
Delete docs links on landing page
2016-02-23 11:01:54 +01:00
Xavier J
2a6da54320
add gem api-pie
...
Error : stack level too deep
2016-02-22 19:42:47 +01:00
Xavier J
b4007c2735
New turf area source
2016-02-22 19:28:22 +01:00
Xavier J
913905001e
Revert swagger docs
2016-02-22 17:53:00 +01:00
Xavier J
c0b1d7a840
Revert "update swagger api docs"
...
This reverts commit 321bdd38b5
.
2016-02-22 17:50:11 +01:00
Xavier J
be0ca863ef
Update landing page
2016-02-22 15:51:07 +01:00
Xavier J
321bdd38b5
update swagger api docs
2016-02-22 15:22:59 +01:00
Xavier J
c831c5ac63
fix bug commentaire invitation
2016-02-22 15:21:18 +01:00
Xavier J
b0fc7665e5
fix API V1 default format
2016-02-22 15:20:58 +01:00
Xavier J
1a1a97f79c
Ajust source code
2016-02-22 15:20:22 +01:00
Xavier J
c37fb9bb20
redirect to sign_up link if user 's email on invitation as no account on the platform
2016-02-22 10:34:25 +01:00
Guillaume Lazzara
973d6693e0
Demo sign-in page for administrateur
2016-02-19 17:27:14 +01:00
Guillaume Lazzara
bd5a39ff17
Add CSV output for Dossier API
2016-02-19 16:59:39 +01:00
Guillaume Lazzara
b58f88d9bf
Do not display cerfa information in dossier description
2016-02-19 16:59:39 +01:00
Guillaume Lazzara
22c1eca61e
Code review: cleanup code
2016-02-19 16:59:39 +01:00
Guillaume Lazzara
15ac9f3f45
Code review: be more exhausitive regarding uploaded files mime type
2016-02-19 16:59:39 +01:00
Xavier J
2c499d5c82
/demo is not accessible on Env production
2016-02-19 15:32:19 +01:00
Xavier J
c2983e08b6
Don't access at user/sign_in/demi and gestionnaire/sign_in/demo on env production
2016-02-19 15:04:29 +01:00
Xavier J
0e1dac7d19
Fix test
...
Change name gestionnaire to accompagnateur on admin ui
2016-02-19 14:20:18 +01:00
Xavier J
c3410c104b
Swagger docs
2016-02-18 18:02:07 +01:00
Guillaume Lazzara
a643f34621
Handle upload file size limit in UI
2016-02-18 15:47:14 +01:00
Xavier J
850f4366c8
Add type de champ checkbox (boolean)
2016-02-18 15:36:09 +01:00
Xavier J
20a41ef172
Use gem bootstrap-wysihtml5 on textarea
2016-02-18 11:56:54 +01:00
Xavier J
000fadf501
downcase on email adresse for invite object
2016-02-16 16:53:46 +01:00
Xavier J
51c145d2ce
Update landing page :
...
- Release scrape on Github
- Add presentation video
- Add demonstration link for gestionnaire and user
2016-02-16 12:01:39 +01:00
Xavier J
419f74948a
Demo sign_in page for users and gestionnaires
2016-02-15 17:13:16 +01:00
Xavier J
a20daa2ea2
Adapt print properties on Gestionnaire dossier show
2016-02-12 15:39:14 +01:00
Xavier J
61ee40aa76
test 1
2016-02-12 13:49:32 +01:00
Xavier J
8c99559dae
Delete FranceConnect entreprise client
2016-02-11 16:02:43 +01:00
Xavier J
b3a90376d4
associate user at his invite after sign up devise account
2016-02-09 15:47:36 +01:00
Guillaume Lazzara
6b7d3e0ac1
Add gestionnaire deletion feature
2016-02-09 12:24:05 +01:00
Xavier J
dcd943a4b5
Add tab Invitation on user dossier index view
2016-02-09 12:23:31 +01:00
Xavier J
e8fcebeea9
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-02-09 11:16:41 +01:00
Xavier J
c09a92a109
Fix javascript scroll_to
2016-02-09 11:16:19 +01:00
Guillaume Lazzara
b58b0de8b0
Add gestionnaire management
2016-02-09 11:01:10 +01:00
Guillaume Lazzara
2a2aef34db
Add gestionnaire administration panel.
2016-02-09 11:01:10 +01:00
Xavier J
bd63116d5a
Fix test : desactivate swagger
2016-02-08 19:52:39 +01:00
Xavier J
1aa5e7c397
Mask cerfa link procedure if is blank
2016-02-08 19:52:07 +01:00
Xavier J
a82899a43e
Delete max length on comment area
2016-02-08 19:36:08 +01:00
Xavier J
5bb98a2863
Activation : reset user password
2016-02-08 19:32:18 +01:00
Xavier J
2b2a4c3f0a
New landing page
2016-02-08 19:07:33 +01:00
Xavier J
e2a896d0b0
Gestionnaire can invite an email contact to participate at a dossier
2016-02-08 18:16:18 +01:00
Xavier J
d7dbd28507
fix test cerfa flag
2016-02-04 14:08:35 +01:00
Xavier J
01d71aa1cd
Merge branch 'develop' into cerfa_flag
2016-02-04 11:03:49 +01:00
Xavier J
29b28557c7
fix test
2016-02-04 11:03:17 +01:00
Guillaume Lazzara
b7ea7c9fcf
Restore previous behavior in Dossier
2016-02-04 10:39:07 +01:00
Guillaume Lazzara
e20de3dba9
First attempt
2016-02-02 18:37:38 +01:00
Xavier J
30438df244
Add swagger-docs gem to generate ison swagger files
2016-02-02 18:11:44 +01:00
Xavier J
71adc70031
Change place of admin and gestionnaire link connexion
2016-02-01 18:28:12 +01:00
Xavier J
ec2b3b742c
Upload landing page
2016-02-01 18:19:09 +01:00
Xavier J
01be1fff76
add routes path /users
2016-02-01 18:18:55 +01:00
Xavier J
7a61786814
Active landing page
2016-02-01 17:16:00 +01:00
Xavier J
1dd7288c70
Revert "Mask FranceConnect button on user sign in page"
...
This reverts commit dece5c857c
.
2016-01-29 13:28:32 +01:00
Xavier J
dece5c857c
Mask FranceConnect button on user sign in page
2016-01-29 11:51:19 +01:00
Xavier J
8ca2b53775
Merge branch 'franceconnect_local' into develop
...
# Conflicts:
# app/assets/javascripts/application.js
2016-01-29 11:43:31 +01:00
Xavier J
eda863a7b2
Update landing page
2016-01-29 11:23:36 +01:00
Xavier J
1e3a7b1495
Start landing page
2016-01-29 10:52:06 +01:00
Xavier J
9daeafbad3
Footer
2016-01-28 17:16:37 +01:00
Xavier J
35994059f6
Revert "browserslist config file"
...
This reverts commit 9a859482cc
.
2016-01-28 16:31:46 +01:00
Xavier J
229278adb7
Revert "browserlist config 2"
...
This reverts commit f9a6b3565f
.
2016-01-28 16:31:35 +01:00
Xavier J
f9a6b3565f
browserlist config 2
2016-01-28 15:32:30 +01:00
Xavier J
9a859482cc
browserslist config file
2016-01-28 15:02:16 +01:00
Xavier J
a161c1dcc4
Test to used franceconnect sources in local
2016-01-28 12:10:25 +01:00
Xavier J
2220c94ce9
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-01-27 15:59:57 +01:00
Xavier J
5513504555
- Refactor code carte
...
- Delete auto-comments when edit carte and description
2016-01-27 15:48:27 +01:00
Tanguy PATTE
d449c34387
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-01-27 14:37:24 +01:00
Xavier J
c461d58297
sign_out all devise account when user initialize a FranceConnect connection
2016-01-26 16:48:33 +01:00
Xavier J
008ca19bef
un-used files deleted
2016-01-26 16:47:13 +01:00
Xavier J
98cd4ed88f
Refactor Url restriction system
2016-01-26 15:52:05 +01:00
Tanguy PATTE
6d5f00deb9
Merge branch 'develop' of github.com:sgmap/tps into develop
...
Conflicts:
db/schema.rb
2016-01-25 16:09:46 +01:00
Tanguy PATTE
dc5ac9807d
start api to display dossier
...
missing pj, fields, exercices
2016-01-25 16:08:10 +01:00
Xavier J
c1ea10bd82
Add restriction on User's URL based on Dossier state
2016-01-25 15:54:21 +01:00
Xavier J
0c2bbc482f
Add security to make not to longer cadastre request
2016-01-22 14:01:02 +01:00
Xavier J
4d812220fd
- Add FranceConnectInformation table to make safe FranceConnect pivot identity.
...
- Adapt source code with the new table
2016-01-21 17:06:09 +01:00
Xavier J
d6e795df02
Activation du cadastre côté administrateur
2016-01-21 14:51:17 +01:00
Tanguy PATTE
514918b2b8
parametrize pagination on dossier index api
2016-01-21 11:41:24 +01:00
Tanguy PATTE
df7ac75483
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-01-20 15:51:08 +01:00
Xavier J
0e496cb6ec
Change include place for JS FranceConnect Kit
2016-01-20 15:50:28 +01:00
Tanguy PATTE
f75f0e26d6
Merge branch 'develop' of github.com:sgmap/tps into develop
...
Conflicts:
db/schema.rb
2016-01-20 15:50:13 +01:00
Tanguy PATTE
78bd982f97
Add API index on Dossier.
2016-01-20 15:48:46 +01:00
Xavier J
5eebfb0c4b
Disabled FranceConnect Kit
2016-01-20 15:38:25 +01:00
Xavier J
65ba614be2
Refactor function create in user dossier controller
2016-01-20 10:34:22 +01:00
Xavier J
5beade4735
Add release link on user connexion page
2016-01-19 17:56:37 +01:00
Xavier J
a738128f4a
Suppression de FCEntreprise
2016-01-19 17:40:45 +01:00
Xavier J
e8fd212d13
- Code review
...
- Delete Mandataires sociaux adapter
- Add function to get mandataires sociaux in Enterprise Adapter
2016-01-19 17:19:38 +01:00
Xavier J
1551ae82cd
Add dependent destroy on has_xxx models
2016-01-18 16:20:51 +01:00
Xavier J
72043dbe56
Display cadastre on map if present on database
2016-01-18 14:45:08 +01:00
Xavier J
6a3525c7e2
Save Cadastre
2016-01-18 12:03:18 +01:00
Xavier J
b5f2163c51
Add Cadastre table
2016-01-15 15:28:56 +01:00
Xavier J
2ce8e4734b
Add get_cadastre on TPS carte page and display on leaflet map
2016-01-15 11:53:00 +01:00
Xavier J
6d4b29cf36
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-01-14 09:50:46 +01:00
Xavier J
82f6e21c86
Adapt FranceConnect Kit
2016-01-13 11:26:40 +01:00
Tanguy PATTE
0df5324891
Merge branch 'develop' of github.com:sgmap/tps into develop
...
Conflicts:
.gitignore
2016-01-12 15:32:13 +01:00
Tanguy PATTE
c04627431c
add module api carto in api procedure
2016-01-12 15:11:42 +01:00
Xavier J
312c1ee7a7
Add link for "Qu'est ce que FranceConnect?"
2016-01-12 15:03:52 +01:00
Xavier J
88ae6a74ab
Fix franceconnect kit integration
2016-01-12 10:03:05 +01:00
Xavier J
110b4dc04f
Fix https connection with FranceConnect kit
2016-01-11 17:45:13 +01:00
Xavier J
bbb06a235d
Change Button FranceConnect Connection
2016-01-11 17:38:16 +01:00
Xavier J
5540a786db
Disable FC Enterprise
2016-01-11 17:19:25 +01:00
Xavier J
a7af7e4a9f
Add FranceConnect Kit
2016-01-11 17:05:21 +01:00
Xavier J
ad300319f4
Rename CERFA to Formulaire
2016-01-08 14:58:22 +01:00
Xavier J
7a2b935c04
User and Gestionnaire sort list
2016-01-08 11:39:04 +01:00
Xavier J
0d2bd17a9e
Admin procedure sort list
2016-01-07 15:29:29 +01:00
Xavier J
47932890cc
Add sort list on demo page
2016-01-07 11:41:03 +01:00
Xavier J
afd6d443f3
fix show information mandataire social on dossier page
2016-01-06 17:12:03 +01:00
Xavier J
7069acba4b
Add détails on admin procedure informations page
2016-01-06 17:01:34 +01:00
Xavier J
34dc07a06d
Use GeoAdresse to geolocate enterprise on leaflet map
2016-01-06 15:48:06 +01:00
Xavier J
cf248f198f
Add an information on gestionnaire view if the user's file is a mandataire social of the enterprise
2016-01-06 14:54:00 +01:00
Xavier J
332eab3771
Check if France Connect User is a mandataire social of the enterprise
2016-01-06 14:17:08 +01:00
Xavier J
cf6b3e955a
Add Downloader url for gestionnaire
2016-01-05 16:27:31 +01:00
Xavier J
b437edefd1
- add symlink for gestionnaire download documents
...
- add download folder documents in public folder
2016-01-05 16:26:59 +01:00
Xavier J
e7570564f8
Add downloader for upload files outwards of public folder
2016-01-05 15:53:01 +01:00
Xavier J
4961f39a71
Add check password to connect with france connect particulier whereas a TPS account have the same email adresse
2016-01-05 12:18:00 +01:00
Xavier J
02b7680083
Fix bug send email sign up user
2016-01-04 16:09:04 +01:00
Xavier J
829e3de9d4
Fix bug badge user
2016-01-04 10:04:16 +01:00
Xavier J
39b15e8b3d
Refactor dossier decorators
2015-12-24 16:12:16 +01:00
Xavier J
9fb575ef8c
Refactor procedure locked and retrieve management
2015-12-24 15:57:03 +01:00
Xavier J
de0acc0a22
Change URL for not found procedure
2015-12-24 15:22:30 +01:00
Xavier J
e66daf3b95
Refactor procedure active and archived class
2015-12-24 15:22:07 +01:00
Xavier J
3c18882407
Create facade for dossier into user and gestionnaire views
2015-12-24 15:10:20 +01:00
Xavier J
1a3aebe6ab
Merge branch 'develop' of github.com:sgmap/tps into develop
2015-12-24 10:12:52 +01:00
Xavier J
9e0dfb593e
Add FranceConnect Particulier
...
Reactivate FranceConnect Entreprise
2015-12-24 10:12:23 +01:00
Tanguy PATTE
3ea381413f
Merge branch 'develop' of github.com:sgmap/tps into develop
2015-12-21 17:52:00 +01:00
Tanguy PATTE
f474c8e8e1
add api v1 procedure controller
2015-12-21 17:51:49 +01:00
Xavier J
12943241f4
Change identifier and secret name for FranceConnect::Entreprise connection
2015-12-21 15:24:02 +01:00
Xavier J
c20f9a87e9
Front : Procedure can not be edited when at least one file with state other what draft is created by user
2015-12-21 14:40:28 +01:00
Xavier J
43779aafee
Error 403 when admin would edit a procedure with at least one dossier
2015-12-21 12:02:53 +01:00
Xavier J
5d4a36e6c3
Move uploader logo procedure into public
2015-12-21 10:50:01 +01:00
Xavier J
229973f14c
Rename FranceConnect to FranceConnect::Entreprise
2015-12-18 12:01:26 +01:00
Xavier J
563e739958
Minor fix bug
2015-12-17 12:53:43 +01:00
Xavier J
ace1629d5c
Uploader storage change :
...
- Before /public/upload
- After /upload
2015-12-17 10:41:00 +01:00
Xavier J
44554a9baa
Send an email when user submitted his file
2015-12-17 10:09:44 +01:00
Xavier J
ed8b4ff083
Add mailer submitted dossier.
2015-12-17 10:06:40 +01:00
Xavier J
d8253be4e5
- Into views, replace words :
...
- Gestionnaire by Accompagnateur
- Entreprise by Organisation
- Add procedure libelle on user dossier show page
2015-12-15 17:46:05 +01:00
Tanguy PATTE
789ea308ee
Merge branch 'develop' of github.com:sgmap/tps into develop
2015-12-15 16:49:58 +01:00
Tanguy PATTE
d2978c4656
add api token in administrator's profile page
2015-12-15 16:49:48 +01:00
Xavier J
b237d7c890
Send email when gestionnaire valide a dossier
2015-12-15 15:37:46 +01:00
Xavier J
a24ff681fc
- Send email when gestionnaire write a new commentaire
...
- Change url on mail => redirect on dossier recapitulative page
2015-12-15 15:33:21 +01:00
Xavier J
4aedf72631
Send email when user create new account
2015-12-15 15:17:12 +01:00
Xavier J
372011e4d6
NotificationMailer : dossier_validated
2015-12-15 11:41:50 +01:00
Xavier J
25937b2635
NotificationMailer : new answer
2015-12-15 11:02:07 +01:00
Xavier J
1652a747a1
Merge branch 'develop' of github.com:sgmap/tps into develop
2015-12-15 11:01:28 +01:00
Tanguy PATTE
cea90384e4
Merge branch 'develop' of github.com:sgmap/tps into develop
...
Conflicts:
spec/views/users/dossiers/new_html.haml_spec.rb
2015-12-14 17:30:21 +01:00
Tanguy PATTE
e4b54999f4
add api_token for admin
2015-12-14 17:28:36 +01:00
Tanguy PATTE
cf99b30349
change banner for admin
2015-12-14 17:27:14 +01:00
Tanguy PATTE
9040d9407d
add empty profile page
2015-12-14 17:25:35 +01:00
Xavier J
83871fc22f
Reset password mail
2015-12-14 16:29:35 +01:00
Xavier J
a65f271a60
Add mailer Welcome
2015-12-14 16:09:20 +01:00
Xavier J
a2a5d63c0d
Display RNA information on partial dossier entreprise information
2015-12-11 12:36:44 +01:00
Xavier J
05298f7a40
Add RNAInformation model
2015-12-11 11:05:38 +01:00
Xavier J
d49e9fe75a
admin can upload a logo for his procedure
2015-12-10 17:13:39 +01:00
Xavier J
8755ce2ab1
add euro flag to procedure object
2015-12-10 16:09:21 +01:00
Xavier J
f42f3820e9
[BUG FIX] geocode position [0;0] => ocean
2015-12-10 14:33:09 +01:00
Xavier J
90a3b6763b
sign_out all devises connect before sign_in an other
2015-12-09 15:10:11 +01:00
Xavier J
f65c383623
Merge branch 'api_carto_dynamique' into develop
2015-12-09 11:16:28 +01:00
Xavier J
c2fbb246e7
beta tag
2015-12-08 18:34:43 +01:00
Xavier J
e9145b031f
Change organisation sources for lib apicarto quartiersprioritaires
2015-12-08 16:02:35 +01:00
Xavier J
9f9e8ca176
Fix bug : QP not appears on mini carte in infos_dossier page
2015-12-08 11:32:29 +01:00
Xavier J
11596ade65
- QP not research if module_api_carto have not activated quartiers_prioritaires
...
- Carte page is not accessible if module_api_cart have not activated use_api_carto
2015-12-08 11:18:49 +01:00
Xavier J
0e3bec7f9f
Administrateur can be select dynamically the activation of api carto modules
2015-12-08 10:11:58 +01:00
Xavier J
8130e7d155
Add model ModuleAPICarto
2015-12-07 11:29:34 +01:00
Xavier J
92d57db91d
- migrate page show to edit for procedure admin
...
- create new page show for procedure admin
2015-12-04 16:17:35 +01:00
Xavier J
49217a1b39
- add decorator for procedure and procedures
...
- add link to procedure on admin procedures list
2015-12-03 15:38:17 +01:00
Xavier J
515713b3fa
Désactivation de France Connect
2015-12-03 15:09:22 +01:00
Xavier J
2b6aba16ac
- valid siren on create file
2015-12-03 15:02:22 +01:00
Xavier J
6e19d3ba67
Delete sources of Nabil api-carto
2015-12-03 12:06:35 +01:00
Xavier J
afaa6a5ac9
- delete route '/users/siret'
...
- delete route 'users/procedure'
- create route 'users/dossiers/new?procedure_id=:procedure_id'
- delete a part of unused code
- adapt demo page with new procedure URL
2015-12-03 12:00:22 +01:00
Xavier J
3e55d7ba3b
- Delete routes 'users/dossiers/a_traiter - en_attente - termine' for user
...
- Add routes 'uses/dossiers/?liste=xxx' to reach at file lists for user
2015-12-02 18:03:52 +01:00
Xavier J
5cebb5b621
- Code review
...
- Delete routes 'users/dossiers/a_traiter - en_attente - termine' for user
- Add routes 'uses/dossiers/?liste=xxx' to reach at file lists for user
2015-12-02 16:52:09 +01:00
Xavier J
0478805501
Merge branch 'develop' of github.com:sgmap/tps into develop
2015-12-02 14:06:41 +01:00
Xavier J
a3df5a546d
- add test on active tab for back office
...
- refactor code back office file list
- add decorator for select active tabs
2015-12-02 14:05:56 +01:00
Tanguy PATTE
9473232e14
remove fake attestation fiscale
2015-12-02 10:59:03 +01:00
Xavier J
141e23a381
Code review
2015-11-30 17:03:36 +01:00
Xavier J
58f840ac92
- Redirect User dossier index to User dossier a traiter
...
- Fix tests
- Order file list by last updated for User
2015-11-30 15:56:06 +01:00
Xavier J
da49c633dc
Add tabs on view list file for users
2015-11-30 14:48:37 +01:00
Xavier J
f449be5c4e
Add column Organisation on Demo page
2015-11-30 10:59:56 +01:00
Xavier J
54788c2499
New UI registration
2015-11-27 18:25:31 +01:00
Xavier J
6dd9c0c7ce
Add procedure libelle on all edit page, above tabs
2015-11-27 17:25:22 +01:00
Xavier J
a6244cebb1
Remove console.log in carte.js
2015-11-27 17:17:04 +01:00
Xavier J
3eb990a611
Administrator can unarchived a procedure
2015-11-27 17:13:06 +01:00
Xavier J
7c3f322d6e
Add tabs for administrateur procedures list
2015-11-27 16:23:02 +01:00
Xavier J
fe8504fd5e
Inverse cancel and valid archive button on recapitulative file page for user
2015-11-27 16:00:34 +01:00
Xavier J
658262f1de
Delete lost password demand
2015-11-27 15:55:18 +01:00
Xavier J
3fd7e6b6c0
Gestionnaire can't access to a archived file with direct URL
2015-11-27 15:09:16 +01:00
Xavier J
e9012d8164
User can see archived file in principal list
2015-11-27 15:04:44 +01:00
Xavier J
1e1a6b3693
Gestionnaire can see archived file
2015-11-27 15:04:24 +01:00
Xavier J
a79ecbba6d
Add archive button on recapitulative page user dossier
2015-11-27 13:56:54 +01:00
Xavier J
b541e74422
Add procedure name on user dossier list
2015-11-27 11:09:45 +01:00
Xavier J
dd09a38bbb
User can begin a new dossier with a procedure archived
...
Administrateur can see archived procedure
2015-11-27 10:39:05 +01:00
Xavier J
833752161f
Add button archive on procedure
2015-11-26 18:41:41 +01:00
Xavier J
02453e4cb1
Pagination per page procedures for admin change 2 => 12
2015-11-26 16:39:37 +01:00
Xavier J
eed7232b8b
Add badge on gestionnaire tabs
2015-11-26 16:31:53 +01:00
Xavier J
5e3bc1472c
Add pagination for administrateur procedure
2015-11-26 16:00:12 +01:00
Xavier J
37ea69ec51
Add pagination for gestionnaire dossier
...
Fix test for user pagination
2015-11-26 15:47:31 +01:00
Xavier J
2eb01bdf42
Add paginate for user dossiers
2015-11-26 12:29:34 +01:00
Xavier J
eb5985efc4
- Save QP on database
...
- Display on all Map (User and Gestionnaire)
2015-11-25 17:05:14 +01:00
Xavier J
f4e63d40b0
Add QP on user carte
2015-11-25 10:26:55 +01:00
Xavier J
e928284c15
Add QuartierPrioritaire model and reference at Dossier
2015-11-24 10:02:55 +01:00
Xavier J
2bb57b1091
add service Geojson to_polygon
2015-11-23 18:41:48 +01:00
Xavier J
9b28a3f766
Adaptation demo page with /users/procedure
2015-11-20 18:44:44 +01:00
Xavier J
db346fb66f
- create route /users/procedure/:procedure_id to replace /users/siret/?procedure_id=
...
- /users/siret/ redirect to /users/procedure/
- siren can be past on the URL /users/siret and /users/procedure
2015-11-20 18:14:52 +01:00
Xavier J
18d72745f0
Add description and logo tps on siret page
2015-11-20 17:51:25 +01:00
Xavier J
4ff31f5f81
Mask draft files for user
2015-11-20 17:50:54 +01:00
Xavier J
27dedb1f7b
Harmonisation des pages de login
2015-11-20 17:50:27 +01:00
Tanguy PATTE
d6e4a76bf9
Merge branch 'develop' into refactor_type_de_xxx
...
Conflicts:
db/schema.rb
2015-11-20 17:16:45 +01:00
Tanguy PATTE
52133c0f43
add button save for pj and type de champ
2015-11-20 17:12:36 +01:00
Xavier J
d5210278d2
logo tps
2015-11-20 16:43:24 +01:00
Tanguy PATTE
5a9a6226c7
remove validation on description for pj
2015-11-20 15:33:03 +01:00
Tanguy PATTE
17ca244a2f
end delete type de piece justificative
2015-11-20 15:12:47 +01:00
Tanguy PATTE
bd5dc1e35a
refresh list of pj when adding new one
2015-11-20 14:17:38 +01:00
Tanguy PATTE
1379d6d495
change PieceJustificativeController :
...
replace edit by show
add update
2015-11-20 13:54:56 +01:00
Xavier J
f92f0f46cc
After create new procedure, admin is redirect to type de champ form
2015-11-20 10:54:07 +01:00
Tanguy PATTE
90c7e85980
remove useless view
2015-11-19 19:03:32 +01:00
Xavier J
b40b0e59b1
color state on search result
2015-11-19 18:04:09 +01:00
Xavier J
c4e0e6b402
Merge branch 'develop' into leaflet_freedraw
...
# Conflicts:
# db/schema.rb
2015-11-19 17:29:23 +01:00
Xavier J
d8e1770935
delete rails-bower
2015-11-19 17:20:22 +01:00
Xavier J
61b126b0f9
add api_carto on back office and recapitulative page
2015-11-19 16:47:56 +01:00
Tanguy PATTE
37b4823e9a
end move up and down button for type de champ
2015-11-19 15:21:18 +01:00
Tanguy PATTE
fde504b54d
add move down for type de champ controller and refactor
2015-11-19 11:37:01 +01:00
Tanguy PATTE
0503e2f278
add move_up for type de champ controller
2015-11-18 19:03:51 +01:00
Tanguy PATTE
7e4b26274b
change type de champ view
2015-11-18 17:03:53 +01:00
Tanguy PATTE
c4e8c6c989
change rule to display arrow button for type de champ
2015-11-18 16:56:38 +01:00
Tanguy PATTE
41c0ca27d9
refresh list when delete type de champ
2015-11-17 18:52:49 +01:00
Xavier J
9826a294d4
demo procedure page
2015-11-17 18:30:28 +01:00
Tanguy PATTE
1ab89b63aa
add arrow in view for order place managment
2015-11-17 18:22:15 +01:00
Xavier J
9f34d20475
Add search feature for gestionnaire backoffice
2015-11-17 18:21:03 +01:00
Tanguy PATTE
cf81623937
force order place to index for type de champ
2015-11-17 17:18:00 +01:00
Tanguy PATTE
26b82b620f
sort type de champ by order place
2015-11-17 17:13:06 +01:00
Tanguy PATTE
e6136e17c3
add types_de_champ_ordered in procedure
2015-11-17 15:30:03 +01:00
Tanguy PATTE
15033de455
remove no more needed js
2015-11-17 11:28:00 +01:00
Tanguy PATTE
65c8c039ac
add feature test on type de champ:
...
add typde de champ
delete type de champ
2015-11-17 11:23:13 +01:00
Tanguy PATTE
5a422c75ac
rename type_champs into type_champ and change links/routes for procedure : use show instead of edit
2015-11-17 10:23:05 +01:00
Tanguy PATTE
9942525984
link procedure to administrateur
2015-11-16 18:25:31 +01:00
Tanguy PATTE
2696a6098e
remove useless test
2015-11-16 18:08:33 +01:00
Xavier J
3effa5e9fd
Gestionnaire procedures though administrateur and dossiers through procedures
2015-11-16 18:08:19 +01:00
Tanguy PATTE
0f73a2fc94
Merge branch 'develop' into refactor_type_de_xxx
2015-11-16 17:09:54 +01:00
Tanguy PATTE
a2f4281f21
refacto.
...
split procedure into 3 screen
desactivate order place for type de champ
desactivate features test to rewrite them
use ajax instead of pure js to manage type de champ
2015-11-16 16:16:08 +01:00
Xavier J
de356ae0ab
Add search method on dossier model
2015-11-16 15:58:35 +01:00
Xavier J
dd8bafab49
Add on information entreprise :
...
- SIRET Siège social
- Code naf
- Code effectif
- Numéro TVA intracommunautaire
- Exercices
2015-11-16 11:23:29 +01:00
Xavier J
19b76203c4
Creation three tabs for gestionnaire back office
2015-11-13 15:23:21 +01:00
Xavier J
ce6af625d2
- Save polygon from carte on procedure
...
- Display save polygon from database
2015-11-12 17:34:12 +01:00
Xavier J
047cf952f7
Change name attribution
2015-11-12 10:51:53 +01:00
Xavier J
eadb42af93
- add bower for rails
...
- add "wildhoney_leaflet_freedraw" bower vendor
- remove api_carto
2015-11-10 18:08:47 +01:00
Xavier J
fd9061abdf
- Administrateur can't show only his procedures
...
- Gestionnaire can't show only files of his Administrateur's procedures
2015-11-10 11:58:56 +01:00
Xavier J
dc18e7da6f
Create relation between Administrateur, Gestionnaire and Procedure
2015-11-10 10:23:15 +01:00
Xavier J
0906d44ea8
Refactor TypeDeXxxx
2015-11-09 17:15:51 +01:00
Xavier J
f3d8645426
Rename TypeDeChamps to TypeDeChamp
2015-11-05 11:21:44 +01:00
Xavier J
519af34c82
Revu de code
2015-11-04 17:27:01 +01:00
Xavier J
591f52f654
Dynamic display for champs on description and recapitulative page
2015-11-04 11:14:07 +01:00
Xavier J
3a4beadbd1
Order champs by 'order_place' on description page
...
Champs dimension of textarea form
2015-11-03 16:52:58 +01:00
Xavier J
6fbe735793
Save Champs value since description page
2015-11-03 16:16:39 +01:00
Xavier J
27dbd3a878
Add auto champs objects at a dossier (same as PJ)
...
Add dynamic of Champs on the description page
Rename model 'Champs' to 'Champ'
2015-11-03 15:27:49 +01:00
Xavier J
56eccf55df
add table Champs
2015-11-03 10:48:40 +01:00
Xavier J
2050465a75
REFACTOR : remove column 'montant_projet', 'montant_aide_demande', 'date_previsionnelle', 'position_lat', 'position_lon' et 'ref_dossier_cart' of dossier table
2015-11-02 18:56:41 +01:00
Xavier J
8db705ec94
Revu de code OK
2015-11-02 16:36:52 +01:00
Xavier J
c454ea28ed
REFACTOR: Change dossier state 'SubmitValidated' To 'Submitted'
2015-11-02 15:46:43 +01:00
Xavier J
285cee939a
REFACTOR: Change dossier state 'Submitted' To 'Initiated'
2015-11-02 15:31:15 +01:00
Xavier J
c09fe8e7f6
REFACTOR: Change dossier state 'Processed' To 'Closed'
2015-11-02 15:00:28 +01:00
Xavier J
76d87c7f79
REFACTOR : Change dossier state 'Deposited' To 'SubmitValidated'
2015-11-02 11:52:39 +01:00
Xavier J
da8c166331
REFACTOR: Change dossier state 'Confirmed' To 'Validated'
2015-11-02 11:45:52 +01:00
Xavier J
4a05af89fc
REFACTOR: Change dossier state 'Reply' To 'Replied'
2015-11-02 11:33:00 +01:00
Xavier J
c0733849d5
REFACTOR : Change dossier state 'Proposed' To 'Submitted'
2015-11-02 11:23:55 +01:00
Xavier J
0e8919a523
add up and down button to order place TypeDeChamps Procedure
2015-11-02 10:16:53 +01:00
Xavier J
8f1b33c6c1
Refactor procedure.js
2015-10-29 17:39:22 +01:00
Xavier J
afb11f429a
Add button delete for TypeDeChamps and TypeDePieceJustificative on Procedure form
...
+ refactor procedure.js
2015-10-29 17:22:57 +01:00
Xavier J
71f9455e36
Back : Save TypeDePJ for a procedure
2015-10-28 18:09:47 +01:00
Xavier J
059211755a
Front to add TypeDePieceJustificative for a procedure
...
Back not implement for this commit
2015-10-28 15:55:31 +01:00
Xavier J
e673fe6ae2
Change updated method for type de champs' procedure
2015-10-28 15:08:23 +01:00
Xavier J
4eecba4ce1
Back : save types de champs for procedure OK
2015-10-28 11:53:16 +01:00
Xavier J
eb69e4f80f
FrontEnd to add New type champs at a procedure.
...
=> Save into database not implement for the moment
2015-10-27 17:31:08 +01:00
Xavier J
2d548acba0
Add description to type_de_champs table
2015-10-27 16:15:25 +01:00
Xavier J
5c643c6373
FIX TEST
2015-10-26 18:08:41 +01:00
Xavier J
9392f1d6e3
Create TypeDeChamps
2015-10-26 17:35:02 +01:00
Xavier J
d75ed802d2
lien_demarche not necessary to validate procedure
2015-10-26 16:48:41 +01:00
Xavier J
f4db1a16f8
- Change root route
...
- Add RootController
2015-10-26 16:10:38 +01:00
Xavier J
270d28f6da
Add procedure edition functionality
2015-10-26 15:54:20 +01:00
Xavier J
49627fccad
Add Administrateurs role and his connexion is ok.
2015-10-23 16:19:55 +02:00
Xavier J
c6ed98b978
protect page with check the owner's dossier
2015-10-09 17:33:33 +02:00
Xavier J
0bd43e538a
add current_user_dossier function at UserController
2015-10-09 16:26:39 +02:00
Xavier J
3a06c0b870
secure description and carte page with only log user access
2015-10-09 14:43:19 +02:00
Xavier J
d53c43a7b0
Ajout du bouton traité pour les gestionnaires
2015-10-09 12:05:07 +02:00
Tanguy PATTE
a57b9852b2
change link to images
2015-10-08 18:53:41 +02:00
Xavier J
285d7c6fa0
Merge branch 'develop' into france_connect
...
# Conflicts:
# db/schema.rb
2015-10-08 16:54:21 +02:00
Xavier J
90e8866d37
FAKE changement libelle
2015-10-08 16:33:44 +02:00
Xavier J
5fd9b39889
FAKE pièce justificative fix test
2015-10-08 16:31:14 +02:00
Xavier J
42f43eebd7
Désactivation de l'obligation de dessin pour l'API carto
2015-10-08 16:26:54 +02:00
Xavier J
e63409ddfd
FAKE pièce justificative
2015-10-08 16:07:01 +02:00
Xavier J
e678216ca8
Logo france connect navbar
2015-10-08 12:11:01 +02:00
Xavier J
728150b148
[ #915 ] Revu de code Ok
2015-10-08 11:26:12 +02:00
Tanguy PATTE
a828c6259b
Merge branch 'france_connect' of ssh://37.187.249.111:2200/opt/git/tps into france_connect
2015-10-08 11:23:14 +02:00
Tanguy PATTE
968aa92d77
[ #920 ] prefill siret when user has a siret
2015-10-08 11:22:55 +02:00
Xavier J
4ee7c5872c
New connexion page view
2015-10-07 18:14:10 +02:00
Tanguy PATTE
deb13673d7
Merge branch 'france_connect' of ssh://37.187.249.111:2200/opt/git/tps into france_connect
...
Conflicts:
spec/controllers/france_connect_controller_spec.rb
2015-10-07 16:50:52 +02:00
Tanguy PATTE
afed93247d
[ #917 ] redirect to correct location after login with france connect
2015-10-07 16:49:42 +02:00
Xavier J
aeeb9406e9
add france connect logout process
2015-10-07 16:38:29 +02:00
Xavier J
9c6b9d408b
[bis] force login_with_france_connect at false when connection devise user
2015-10-07 14:19:16 +02:00
Tanguy PATTE
76e3b60f71
Merge branch 'france_connect' of ssh://37.187.249.111:2200/opt/git/tps into france_connect
...
Conflicts:
spec/controllers/france_connect_controller_spec.rb
2015-10-07 12:03:14 +02:00
Tanguy PATTE
6dc891a320
fix siret retrieval from OpenIDConnect::ResponseObject::UserInfo
2015-10-07 12:01:05 +02:00
Xavier J
3d38f6fcdb
add login_with_france_connect boolean at the FC connection
2015-10-07 11:24:07 +02:00
Tanguy PATTE
6db8efb078
Merge branch 'france_connect' of ssh://37.187.249.111:2200/opt/git/tps into france_connect
2015-10-07 10:30:00 +02:00
Tanguy PATTE
0a14fbd5dd
add siret to user
2015-10-07 10:29:44 +02:00
Xavier J
72506df419
new home page connexion
2015-10-06 18:33:01 +02:00
Xavier J
d655b2319a
Done test France Connect
2015-10-06 17:41:49 +02:00
Xavier J
8445944b76
add spec for features France connect connection
2015-10-06 17:06:59 +02:00
Xavier J
a4661c932f
done spec france connect controller
2015-10-06 17:06:37 +02:00
Tanguy PATTE
c57cb5b75d
add test to france connect controller
2015-10-06 16:47:25 +02:00
Tanguy PATTE
2f21b42c07
add test to france connect controller
2015-10-06 16:17:15 +02:00
Xavier J
abe5d94ac5
test login FranceConnectController
2015-10-06 16:02:30 +02:00
Xavier J
20cae835e6
begin spec client france connect service
2015-10-06 11:47:42 +02:00