Commit graph

737 commits

Author SHA1 Message Date
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