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 |
|