Commit graph

621 commits

Author SHA1 Message Date
Xavier J
a681564b39 Add notification table and model 2016-12-21 17:26:31 +01:00
Xavier J
78bba67995 Fix bug who does not saved Individual information 2016-12-21 15:39:41 +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
db10c4023e Fix tests dossier creation for user 2016-12-20 12:37:22 +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
d7569f3cb2 Add tests for file size validator 2016-12-19 15:43:55 +01:00
Xavier J
2fccbbf4f0 Delete un-use code 2016-12-19 15:08:00 +01:00
Xavier J
2f9444ea14 MAJ spec_helper 2016-12-19 12:04:04 +01:00
Xavier J
5ee455a36f Add real tests for search controller 2016-12-16 17:51:07 +01:00
Xavier J
5b8f0304f9 Add tests for Carto Geocodeur 2016-12-16 17:28:50 +01:00
Xavier J
ee82e7fa8a Add ProcedureController tests 2016-12-16 17:15:13 +01:00
Xavier J
24e0768961 Add tests for invites controller 2016-12-16 15:34:49 +01:00
Xavier J
7c20d1e9a0 Add tests for SearchController 2016-12-16 15:18:34 +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
2aebf9933c Add tests for demo devise sessions 2016-12-16 10:59:16 +01:00
Xavier J
f21f151c9c Add test for GeoAPI driver lib 2016-12-16 10:42:34 +01:00
Xavier J
0aedeba125 Add QuartierPrioritaire test 2016-12-16 10:15:29 +01:00
Xavier J
21dc35215e Add test for DropDownList model 2016-12-16 10:07:40 +01:00
Xavier J
2ac0d2241f Fix dossier and invite dossier tests 2016-12-16 09:56:41 +01:00
Xavier J
fb16d4582d Delete un-user code in DossierDecorator 2016-12-16 09:43:59 +01:00
Xavier J
02ec901777 Add CommentaireDecorator test 2016-12-16 09:38:43 +01:00
Xavier J
a6ff698cf8 Base uploader tests 2016-12-16 09:25:19 +01:00
Xavier J
b03b02371f Add clamav tests 2016-12-16 09:12:16 +01:00
Xavier J
ea5ef257b8 Add tests for remote downloader 2016-12-15 17:59:25 +01:00
Xavier J
14df85d16d Change require for notification mailer spec 2016-12-15 17:59:01 +01:00
Xavier J
3dc26bd9aa Add InviteDossierFacade tests 2016-12-15 17:58:40 +01:00
Xavier J
067097825f Add Github tests 2016-12-15 16:48:39 +01:00
Xavier J
0f2013f002 Add tests for ProceduresDecorator 2016-12-15 16:27:47 +01:00
Xavier J
5e950c1a5f Add tests for FranceConnectInformationDecorator 2016-12-15 15:38:32 +01:00
Xavier J
73261a34c0 Add PingController tests 2016-12-15 15:31:05 +01:00
Xavier J
502f41657b Add DemoController tests 2016-12-15 15:28:35 +01:00
Xavier J
71bd708ffd CGU test 2016-12-15 15:19:28 +01:00
Xavier J
0a1a5613db Add tests for administration controller 2016-12-15 15:09:50 +01:00
Xavier J
c5917db28c Fix tests again 2016-12-14 18:53:40 +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
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
715f086957 Can connect admin with user session path 2016-12-07 17:03:36 +01:00
Xavier J
3899991baf Fix spec services 2016-12-01 18:09:26 +01:00
Xavier J
402459437d Fix spec models 2016-12-01 18:07:51 +01:00
Xavier J
f96b87122b Fix controller spec 2016-12-01 18:05:49 +01:00
Xavier J
5c61733199 Display left panel only if layout file exist 2016-12-01 12:19:22 +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
5ba1c85ca7 Change spec according to layout rendering service 2016-11-22 16:30:35 +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
Xavier J
d144047a50 Fix export data dossiers 2016-11-17 11:13:11 +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
Julien Portalier
96ca5113f7 Flux de commentaires par champs 2016-11-15 18:36:20 +01:00
Xavier J
305410f7a3 Fix Gemfile.lock and tests 2016-11-15 17:20:36 +01:00
Xavier J
b3b03a2449 Fix features tests 2016-11-15 11:01:58 +01:00
JC
0ac3c5fc86 Merging develop branch updated 2016-11-15 10:46:33 +01:00
JC
f1b177e0bb Testing only primary dossier attributes for data_with_champs methods 2016-11-15 10:19:47 +01:00
Xavier J
90cfd3eccb Fix Test spec/controllers/api/*.rb 2016-11-15 09:54:17 +01:00
Xavier J
fc289ba7b3 Remove useless spec 2016-11-15 06:02:49 +01:00
Xavier J
be62dea0e0 Fix major .DEPRECATION WARNING for spec/controllers/users/*.rb 2016-11-15 05:54:27 +01:00
Xavier J
cea85f2d49 Fix DEPRECATION WARNING for spec/controllers/users/dossiers/*.rb 2016-11-15 05:36:32 +01:00
Xavier J
5750eb1aa5 Fix major DEPRECATION WARNING for spec/controllers/admin/*.rb 2016-11-15 05:19:30 +01:00
Xavier J
7c74cbc54b Fix major DEPRECATION WARNING for spec/controllers/backoffice/*.rb 2016-11-15 04:50:18 +01:00
Xavier J
da3ef13522 Fix tests spec/controllers/france_connect/*.rb 2016-11-15 04:42:32 +01:00
Xavier J
15e1bef7e4 Fix DEPRECATION WARNING for spec/controllers/gestionnaires/*.rb 2016-11-15 04:29:05 +01:00
Xavier J
0fc81eb0da Fix DEPRECATION WARNING for spec/controllers/ban/*.rb 2016-11-15 04:26:25 +01:00
Xavier J
430d32dfca Fix DEPRECATION WARNING for spec/controllers/*.rb 2016-11-15 04:24:09 +01:00
Xavier J
d9a5eff21d Fix Views test. 2016-11-15 04:12:22 +01:00
Xavier J
a5a95abf06 Fix test for all Model 2016-11-14 18:36:09 +01:00
Xavier J
bd3df8de22 Fix Devise Helper Controller 2016-11-14 17:50:06 +01:00
JC
a549f95da1 Continue test for data_with_champs 2016-11-14 17:43:34 +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
5c3049d6bd Manualy sort type_de_champ by order_place 2016-11-14 14:39:59 +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
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
973570332f Implemented custom method to catch procedure_id while rendering data on each request format 2016-11-09 09:19:57 +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
JC
7b8b5e28e1 Adding tests, reading csv values for Dossier.to_csv, instead... checking String returned by to_ods, to_xlsx, checking encode and fields values for them would be overkill 2016-11-08 14:40:42 +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
5284df5ce0 Add page « Procédure terminée » 2016-11-07 17:08:33 +01:00
Xavier J
2f68d540e3 Migrate to ruby 2.3.1 2016-11-07 11:23:21 +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
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