Commit graph

269 commits

Author SHA1 Message Date
gregoirenovel
1368cd4b03 [Fix #1120] Delete the old accompagnateur UI 2018-01-15 10:02:10 +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
Simon Lehericey
1473577131 [fix #1033] Procedure Edition: add position field to order the champs 2018-01-10 13:27:22 +01:00
Simon Lehericey
40b9a77395 Dossier: replace nouveau scope by en_construction 2017-12-15 17:37:30 +01:00
gregoirenovel
379e7b74d6 Enable all the rubicop perf cops 2017-11-21 10:31:16 +01:00
Mathieu Magnin
36491230bb Rename variable path_file => file_path 2017-11-16 12:28:07 +01:00
Simon Lehericey
6f4ddb9e3e [fix #728] Reduce flash error size to avoid cookies overflow 2017-10-12 09:02:54 +02:00
gregoirenovel
88ad986143 Remove the ordering from the dossier scopes 2017-10-02 17:45:22 +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
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
gregoirenovel
650a39b371 Use delete_all instead of destroy_all to batch delete 2017-08-29 14:22:14 +02:00
Simon Lehericey
a7b00ee847 Rubocop: enable Layout/SpaceAroundOperators 2017-08-28 13:39:13 +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
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
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
0971ede57e Add a termine scope to Dossier 2017-06-01 11:08:00 +02:00
gregoirenovel
ab1c19c09b Rename some Dossier scopes 2017-06-01 10:58:08 +02:00
Simon Lehericey
cdcd5b951f AvisController: add a notification when a avis has been received 2017-05-29 11:44:28 +02:00
gregoirenovel
a58a8684d9 [Fix #285] Gestionnaire.dossiers_follow -> followed_dossiers 2017-05-15 15:51:51 +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
21a2a5402b Remove unused service 2017-04-21 14:36:50 +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
ddf02ccd6d Use a non-breaking space after the “numéro” contraction 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
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
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
4df03fc28e ChampsService: add tests and refactor 2017-04-11 12:11:09 +02:00
gregoirenovel
d5e7bbd80d Files should end with a new line 2017-04-04 16:59:38 +02:00
Simon Lehericey
2f561a9cd0 select_multiple: clean user input 2017-03-15 17:51:34 +01:00
Mathieu Magnin
87865fcf1b Merge branch 'develop' into list_dossiers_archived 2017-03-01 10:35:20 +01:00
Mathieu Magnin
6774dd008f List dossiers archived 2017-02-27 17:44:08 +01:00
Mathieu Magnin
10add61bd1 Clean some tests after removing :validated & :submitted states 2017-02-23 17:54:11 +01:00
Mathieu Magnin
aa88fad777 Sync password after login 2017-02-07 16:56:21 +01:00
Xavier J
29c7c8f498 Fix bug @liste sélection in DossierListGestionnaireService 2017-01-09 12:26:41 +01:00
Xavier J
c815ec5e82 Add tab for follow dossier in gestionnaire dashboard 2017-01-05 19:07:01 +01:00
JC
f0d0bfc427 Listing updated champs, saving only champs changed 2016-12-26 17:55:31 +01:00
JC
42915979da Notifications are shown in backoffice dossier show, limit 5 2016-12-26 17:18:45 +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
54fbe367c0 Add notifications when user post a comment 2016-12-22 20:40:23 +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
5791206a45 Delete old code 2016-12-19 14:27:50 +01:00
Xavier J
414a701b03 Dynamic switch button (User, Gestionnaire, Administrateur) 2016-12-07 18:00:27 +01:00
Xavier J
7cb2e80a3d Sync credentials between user, gestionnaire and administrateur account 2016-12-07 17:24:01 +01:00
Xavier J
0c90c2c122 Add unsupport navigator banner 2016-12-02 16:04:23 +01:00
Xavier J
5c61733199 Display left panel only if layout file exist 2016-12-01 12:19:22 +01:00
Xavier J
178f0f88c1 - Delete page « Tous les dossiers »
- Fix follow tab
2016-11-28 14:38:33 +01:00
Xavier J
58df3c3a75 - Continue development Tableau de bord
- Optimize toggle block
2016-11-24 19:33:34 +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
Xavier J
647eaa4ba8 Merge branch 'develop' into develop_v2
# Conflicts:
#	Gemfile.lock
#	db/schema.rb
2016-11-17 16:55:41 +01:00
JC
0ac3c5fc86 Merging develop branch updated 2016-11-15 10:46:33 +01:00
Xavier J
5750eb1aa5 Fix major DEPRECATION WARNING for spec/controllers/admin/*.rb 2016-11-15 05:19:30 +01:00
Xavier J
213e84b546 Fix DEPRECATION for services 2016-11-15 03:56:26 +01:00
Xavier J
d7fdf22abb First fixed 2016-11-14 17:33:45 +01:00
JC
5c3049d6bd Manualy sort type_de_champ by order_place 2016-11-14 14:39:59 +01:00
Xavier J
ec4b634f8a Change onglet presentation for gestionnaire. 2016-11-10 15:57:14 +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
740b3650aa Restore select procedure for gestionnaire (opensimplif) 2016-10-24 16:00:03 +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
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
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
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
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
71de64e3ec User can save a draft dossier who does not see by the accompagnateur 2016-10-05 16:45:51 +02:00
Xavier J
52249f92b5 Add filter on gestionnaire dossier list 2016-10-04 19:19:03 +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
bd89688346 Fix test INSEE v2 get etablissement view 2016-09-16 17:08:50 +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
d5ad256919 create route and controller to filter dossier view by procedure 2016-09-06 11:07:26 +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
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
480431ea01 Add on gestionnaire dossier view the private form 2016-08-08 12:52:30 +02:00
Xavier J
9bf8005658 Fix get entreprise 404 not found 2016-08-02 14:45:09 +02:00
Xavier J
b68b62b8f0 Disable Thread for API requests on new dossier 2016-06-22 11:29:59 +02:00
Xavier J
cc8d2ef4ee New UI and UX for the dossier initialization 2016-06-20 13:57:57 +02:00
Xavier J
954ac2bc86 Fix bug revisualization controller 2016-06-14 11:59:50 +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
1fcb33104d Administrateur can be assign accompagnateur on each of his procedure. 2016-05-24 16:39:39 +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
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
6d5a3e6256 User and Guest can be upload new documents on our recapitulative dossier page. 2016-03-22 17:36:36 +01:00
Xavier J
5513504555 - Refactor code carte
- Delete auto-comments when edit carte and description
2016-01-27 15:48:27 +01:00
Xavier J
98cd4ed88f Refactor Url restriction system 2016-01-26 15:52:05 +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
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
2ce8e4734b Add get_cadastre on TPS carte page and display on leaflet map 2016-01-15 11:53:00 +01:00
Xavier J
9e0dfb593e Add FranceConnect Particulier
Reactivate FranceConnect Entreprise
2015-12-24 10:12:23 +01:00
Xavier J
229973f14c Rename FranceConnect to FranceConnect::Entreprise 2015-12-18 12:01:26 +01:00
Xavier J
f4e63d40b0 Add QP on user carte 2015-11-25 10:26:55 +01:00
Xavier J
2bb57b1091 add service Geojson to_polygon 2015-11-23 18:41:48 +01:00
Tanguy PATTE
6dc891a320 fix siret retrieval from OpenIDConnect::ResponseObject::UserInfo 2015-10-07 12:01:05 +02:00
Xavier J
20cae835e6 begin spec client france connect service 2015-10-06 11:47:42 +02:00
Xavier J
fd60692ade Intégration France Connect - sans les tests 2015-10-06 11:21:20 +02:00