Commit graph

881 commits

Author SHA1 Message Date
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
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
Simon Lehericey
f6359cb7aa gestionnaire invited on dossier for avis, can update 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
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
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
45209619a4 Config: add action_mailer.asset_host var to send image in email 2017-05-23 17:12:18 +02:00
Simon Lehericey
b043effcc5 Sidekiq: run weekly_overview_worker every sunday at 8:00 2017-05-23 17:12:18 +02:00
Mathieu Magnin
8af72f7b9a Isolate new design stylesheets 2017-05-17 18:06:53 +02:00
Simon Lehericey
48a7f8aaf2 Locales: fix wrong indentation in yaml 2017-05-15 15:14:03 +02:00
gregoirenovel
8ba55a0d5d Mutualize the email address in a localised string 2017-05-12 16:53:03 +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
Simon Lehericey
dc371b83b8 CSS: add new application layout + CSS
Without bootstrap!
2017-05-04 18:24:57 +02:00
gregoirenovel
6b25d25a9a The correct app name is “Téléprocédures Simplifiées” 2017-05-04 18:19:13 +02:00
LeSim
48d6853086 Merge pull request #241 from sgmap/add_translation_for_gestionnaire
Local: add french translation for gestionnaire too_short password
2017-05-04 15:53:13 +02:00
Simon Lehericey
0384b5d0ae Local: add french translation for gestionnaire too_short password 2017-05-04 15:52:51 +02:00
gregoirenovel
d3a84eb20a Démarche -> Procédure 2017-05-04 11:33:26 +02:00
gregoirenovel
f58a626648 [Fix #99] Improve the info message in _dossier_link.html.haml 2017-04-26 16:47:38 +02:00
Mathieu Magnin
887512c26c Procedure path can contain dashes and can be longer 2017-04-21 16:32:48 +02:00
gregoirenovel
f604ccb7d6 Add the “Numbers” part of the landing page 2017-04-20 12:37:59 +02:00
gregoirenovel
40d49aee1f Add the Muli Regular and Bold fonts 2017-04-20 12:18:14 +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
4c74b04a91 Commentaire: use fr local to display date 2017-04-19 10:06:22 +02:00
gregoirenovel
858109c64b Add the complete french number part of fr.yml 2017-04-18 14:34:56 +02:00
Mathieu Magnin
cc36ec49e2 Remove tps_v2 reference in deploy script 2017-04-14 16:14:17 +02:00
Mathieu Magnin
8870f50118 Migrate to CircleCI 2.0 2017-04-12 16:09:25 +02:00
gregoirenovel
f84cd7f11b Make Stats a public page 2017-04-11 15:29:18 +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
gregoirenovel
d5fdd12da8 Clean database.yml 2017-04-10 17:54:57 +02:00
gregoirenovel
e120e58b07 Change the username and password for the development DB 2017-04-10 17:54:57 +02:00
gregoirenovel
8015710db2 Add config/database.yml.ci 2017-04-10 16:17:34 +02:00
gregoirenovel
aef804a988 Use a postgresql database for tests
Try to be the closest to the production
environment
2017-04-10 16:17:34 +02:00
gregoirenovel
548e8ce079 [Fix #68] Remove reference to application_split2.scss
It has been removed in 6a261d1
2017-04-06 12:18:54 +02:00
Mathieu Magnin
31a623ee7a Stop sidekiq service before deploy and start it after 2017-04-05 14:47:18 +02:00
Mathieu Magnin
b18c09e9fd Download dossiers button exports all dossiers except draft 2017-04-05 11:04:53 +02:00
gregoirenovel
a1ee82f3dd Indent using spaces, not tabs 2017-04-04 16:59:39 +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
82c8e14769 Wrap a localised string in quotes
Backport from the shared dynamics/fr.yml
2017-04-03 16:03:38 +02:00
gregoirenovel
e541fe4ca1 Exclude dynamics/fr.yml from shared_paths in mina
So that it is directly read from the Rails app’s
directory
2017-04-03 16:03:38 +02:00
Mathieu Magnin
6a8ca67a83 Merge branch 'develop' into auto_archive_on_date 2017-03-27 15:35:52 +02:00
Mathieu Magnin
c2a27c6f6a Merge branch 'develop' into auto_archive_on_date 2017-03-22 11:32:56 +01:00
gregoirenovel
0483fe028f Remove the parallel_test gem 2017-03-21 19:07:40 +01:00
Simon Lehericey
a72a1825ca Config: mina links Sidekiq conf 2017-03-21 17:58:08 +01:00
Simon Lehericey
657ce53a60 select_multiple: add multiple_drop_down_list type 2017-03-15 17:51:34 +01:00
Mathieu Magnin
6f9edbd36c Fix routes.rb require order 2017-03-15 15:09:43 +01:00
Mathieu Magnin
700372231d Sidekiq route behind superadmin authentication 2017-03-15 14:40:37 +01:00
Mathieu Magnin
24d17dc0f3 Sidekiq worker to archive procedures automatically + tests 2017-03-15 12:40:59 +01:00
Simon Lehericey
176092c256 Explication: add field and template 2017-03-13 15:02:05 +01:00
Mathieu Magnin
e501c2f23b Merge pull request #37 from sgmap/add_new_relic
Add new relic
2017-03-09 18:15:23 +01:00
Mathieu Magnin
19e3d336e9 Using dotenv for local env variables 2017-03-09 17:38:20 +01:00
Simon Lehericey
6cb88a995f Stats: add adminitrations stats view 2017-03-07 18:09:09 +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
Mathieu Magnin
53b8c4aaa4 Add new relic 2017-03-07 11:34:25 +01:00
Mathieu Magnin
a88b150c3c Add remember me on login 2017-03-07 10:29:48 +01:00
Simon Lehericey
a334888363 Wording 2017-03-06 20:44:25 +01:00
Mathieu Magnin
a24980145c Block dossier initiation if procedure is archived 2017-03-06 14:29:01 +01:00
Mathieu Magnin
d03016db9c Merge branch 'develop' into list_dossiers_archived 2017-03-02 16:22:59 +01:00
Mathieu Magnin
4d60aecb6d Merge branch 'develop' into try_to_use_sqlite 2017-03-01 14:59:17 +01:00
Mathieu Magnin
87865fcf1b Merge branch 'develop' into list_dossiers_archived 2017-03-01 10:35:20 +01:00
Simon Lehericey
6865231a27 Tests: france_connect initializer if not test 2017-02-28 17:01:58 +01:00
Simon Lehericey
15d27f6a7d Tests: adapt database.yml to allow parallele sqlite 2017-02-28 17:01:58 +01:00
Simon Lehericey
8bccf375e1 Tests: adapt migration to sqlite
Add sqlite
Remove scenic from tests
2017-02-28 17:01:58 +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
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
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
Simon Lehericey
254c2319e9 Remove Rails Deprecation
ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement
2017-02-21 10:53:09 +01:00
Mathieu Magnin
62152e0b6e After environment.rb updated this should work 2017-02-20 14:11:12 +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
Mathieu Magnin
5613b896b1 Gestionnaire can archive dossier 2017-02-08 17:35:28 +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
e99746639b Merge branch 'send_user_notification_when_invite_send_a_message' into develop 2017-02-01 17:01:34 +01:00
Mathieu Magnin
34d05e4d9e Improve the print css for the dossier/show 2017-02-01 14:24:24 +01:00
Mathieu Magnin
aea1816da1 add mailcatcher config in dev 2017-01-31 17:22:03 +01:00
Mathieu Magnin
83945b3366 add mailcatcher comment 2017-01-30 15:21:47 +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
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
29de9b0b55 Simplify mailers development with mailcatcher and previews 2017-01-23 15:41:09 +01:00
Xavier J
bc71754e87 Add tool change dossier state 2017-01-10 17:29:38 +01:00
Xavier J
489b533941 Fix deploy 2017-01-09 21:45:08 +01:00
Xavier J
23df8a2348 - Ajust TPS for OpenSimplif
- Create /simplifcations routes for OpenSimplifController
2017-01-09 17:12:11 +01:00
Xavier J
ccde8fdb86 Change status libelle 2017-01-04 18:09:35 +01:00
Xavier J
cbb5737fdf new demo link on home page 2017-01-03 10:40:09 +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
Xavier J
35827a2e25 Add staging for redis cable 2017-01-02 10:22:43 +01:00
Xavier J
c01132c788 Delete old attr in database 2016-12-27 11:57:34 +01:00
Xavier J
f98bb90f08 Bootstrap Action Cable and Unicorn 2016-12-22 21:49:31 +01:00
Xavier J
2fccbbf4f0 Delete un-use code 2016-12-19 15:08:00 +01:00
Xavier J
e85cb4c24b Delete features unified_login 2016-12-16 14:39:17 +01:00
Hugo Lepetit
03bfbb1462 Boyscout initializers 2016-12-14 13:56:56 +01:00
JC
5c93920f74 Mutualize all informations in dossier_show partial, now work on css 2016-12-07 13:58:00 +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
271ce62476 Adding logout information for sign_out hover, changing colors for links 2016-12-05 14:45:00 +01:00
Xavier J
dd46485f2e Fix TPS v2 rails env in deploy.rb 2016-12-01 18:38:21 +01:00
Xavier J
c682387a39 First change connexion navbar 2016-12-01 10:54:25 +01:00
JC
4a5c053ae5 Continue on dossier#show 2016-11-28 18:34:31 +01:00
JC
fda8cac51c Finished navbar for dossiers#show, need body: construct dossier 2016-11-28 15:56:38 +01:00
Xavier J
e17c592ab4 Merge branch 'develop' into develop_v2 2016-11-25 12:48:14 +01:00
Xavier J
f4078124a4 Change local libellé 2016-11-25 12:20:44 +01:00
Xavier J
58df3c3a75 - Continue development Tableau de bord
- Optimize toggle block
2016-11-24 19:33:34 +01:00
Xavier J
d09a47ae23 First iteration navbar tableau de bord 2016-11-23 15:21:42 +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
d75a53ffae Fix deploy task 2016-11-17 12:35:05 +01:00
Xavier J
b4b2dafc7b Add reply_to for invite mailer 2016-11-17 12:17:59 +01:00
Xavier J
06f353968f Local open simplif 2016-11-17 11:37:00 +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
c734c1c960 Update deploy.rb with new staging_v2 branch 2016-11-15 11:19:18 +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
d7fdf22abb First fixed 2016-11-14 17:33:45 +01:00
Xavier J
a72709b6da Fix bug Cerfa on « Modifier document » recap page 2016-11-10 17:26:00 +01:00
JC
23ee1cb21c Adding style for download link as dropdown menu, changing locales 2016-11-08 15:28:39 +01:00
Xavier J
40a792bd13 dynamic CGU page 2016-11-08 11:54: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
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
dd0e746997 Add wording for bad token on reset password 2016-11-02 10:58:28 +01:00
Xavier J
8fb76d1a6e Add type de champ Engagement 2016-10-27 13:43:10 +02:00
JC
c6f5a8b62d Adding button, method in controller, testing call 2016-10-25 17:39:53 +02:00
Xavier J
e6c28fc9b2 Add tps_v2 deploy function 2016-10-25 12:03:25 +02:00
Xavier J
740b3650aa Restore select procedure for gestionnaire (opensimplif) 2016-10-24 16:00:03 +02:00
Xavier J
32d70bd909 Fix features flip on user connection for unified_login 2016-10-20 11:48:40 +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
02000eeb41 Add the new TPS instance OpenSimplif on deploy task 2016-10-10 18:21:46 +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
52249f92b5 Add filter on gestionnaire dossier list 2016-10-04 19:19:03 +02:00
Xavier J
b3d454a53b Smart listing sorting is saved on dossier list 2016-09-27 17:26:49 +02:00
Xavier J
1f1b235283 Fix bug Chrome datepicker 2016-09-22 11:31:24 +02:00
Xavier J
ccd9c0898d Fix test with cloud storage enabled 2016-09-16 15:40:30 +02:00
Xavier J
0ac23f6d96 User can invite other User 2016-09-13 12:17:56 +02:00
Xavier J
e9d4685aef Force use https for generate route 2016-09-12 17:30:25 +02:00
Xavier J
4a336b8af7 Config devise session timeout 2016-09-09 17:44:00 +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
1c5cd471cd Externalize in config file SIADE API URL. 2016-09-01 12:09:44 +02:00
Xavier J
a48299353e Fix html interpretation in ReceivedMail 2016-09-01 11:00:06 +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
a69433e8de User can be begin without SIRET 2016-08-30 11:18:43 +02:00
Xavier J
0eb2acb959 CGU 2016-08-29 11:02:02 +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
5b0e01f117 delete filter procedure for gestionnaire 2016-08-22 16:36:25 +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
480431ea01 Add on gestionnaire dossier view the private form 2016-08-08 12:52:30 +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
a37320bae9 Add lateral panel to configure dossier list in back office 2016-08-01 18:10:32 +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
7d0bcfc35f Delete utilisation of "nom_projet" attribut (no delete in database) 2016-07-19 16:10:50 +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
382c8d8700 Add minim preparation for dossier uniq page 2016-07-18 09:37:22 +02:00
Guillaume Lazzara
aebc673cdc Set STORAGE_URL during initialization 2016-07-05 11:50:45 +02:00
Guillaume Lazzara
4f02e18f4a Fix cloud storage migration task 2016-07-04 16:53:38 +02:00
Guillaume Lazzara
71d51ebb59 Add link to features.yml in deployment 2016-07-01 14:45:50 +02:00
Xavier J
575cbaa3e1 Fix route commencer and adapt feature test 2016-06-29 17:35:34 +02:00
Guillaume Lazzara
e5002dbb11 Introduce permanent and customizable procedure url 2016-06-24 16:41:44 +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
f58f9d27d9 Enable password reset for Gestionnaires 2016-06-14 15:36:37 +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
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
Guillaume Lazzara
32870e8128 Link fog credentials file during deployment 2016-06-07 10:33:22 +02:00
Xavier J
e6b5698008 Add previsualization formulaire page for administrateur 2016-06-06 17:40:32 +02:00
Guillaume Lazzara
16ca407542 Add ping route 2016-06-01 15:07:34 +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
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
9aca554eb2 Fix uploaded file permissions 2016-05-24 14:25:40 +02:00
Guillaume Lazzara
d6a3884c81 Make use of fog_credentials.test.yml for testing. 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
6fdc2c77f2 Add feature file 2016-05-17 16:22:35 +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
6d5a3e6256 User and Guest can be upload new documents on our recapitulative dossier page. 2016-03-22 17:36:36 +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
Guillaume Lazzara
8758075456 Add custom field 'type' in logstash logs. 2016-03-03 18:33:59 +01:00
Xavier J
9c1268fdd5 Add statistiques API for dashboard 2016-02-29 15:15:44 +01:00
Xavier J
c971849312 Merge branch 'api-pie' into develop 2016-02-26 14:00:29 +01:00
Xavier J
e1d1e356e5 fix deploy rake process 2016-02-24 11:12:18 +01:00
Xavier J
774ad95cc6 Add shared link for super_admin initializers 2016-02-24 10:51:23 +01:00
Xavier J
36954c595e Add UI SuperAdmin 2016-02-23 16:51:24 +01:00
Xavier J
2a6da54320 add gem api-pie
Error : stack level too deep
2016-02-22 19:42:47 +01:00
Xavier J
913905001e Revert swagger docs 2016-02-22 17:53:00 +01:00
Guillaume Lazzara
973d6693e0 Demo sign-in page for administrateur 2016-02-19 17:27:14 +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
419f74948a Demo sign_in page for users and gestionnaires 2016-02-15 17:13:16 +01:00
Xavier J
a4b67ec1be test 2 2016-02-12 13:57:25 +01:00
Guillaume Lazzara
6b7d3e0ac1 Add gestionnaire deletion feature 2016-02-09 12:24:05 +01:00
Guillaume Lazzara
2a2aef34db Add gestionnaire administration panel. 2016-02-09 11:01:10 +01:00
Xavier J
5bb98a2863 Activation : reset user password 2016-02-08 19:32:18 +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
30438df244 Add swagger-docs gem to generate ison swagger files 2016-02-02 18:11:44 +01:00
Xavier J
01be1fff76 add routes path /users 2016-02-01 18:18:55 +01:00
Tanguy PATTE
dc5ac9807d start api to display dossier
missing pj, fields, exercices
2016-01-25 16:08:10 +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
a738128f4a Suppression de FCEntreprise 2016-01-19 17:40:45 +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
4dcf0d4bb1 Translation missing for new registration user 2016-01-12 15:03:30 +01:00
Xavier J
5540a786db Disable FC Enterprise 2016-01-11 17:19:25 +01:00
Xavier J
0d2bd17a9e Admin procedure sort list 2016-01-07 15:29:29 +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
2d6e0d2864 Fix bug config mailjet 2016-01-04 12:23:53 +01:00
Xavier J
39b15e8b3d Refactor dossier decorators 2015-12-24 16:12:16 +01:00
Xavier J
de0acc0a22 Change URL for not found procedure 2015-12-24 15:22:30 +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
2099095c34 New routes and schema for FranceConnect Particulier 2015-12-24 10:03:06 +01:00
Xavier J
aee0d928ca Add mailjet to deploy 2015-12-24 09:13:24 +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
4782ceef71 add api v1 procedures routes 2015-12-21 17:50:34 +01:00
Xavier J
506ce2dee4 add parallels tests 2015-12-21 10:45:50 +01:00
Xavier J
229973f14c Rename FranceConnect to FranceConnect::Entreprise 2015-12-18 12:01:26 +01:00
Xavier J
4aedf72631 Send email when user create new account 2015-12-15 15:17:12 +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
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
704e491cd0 Add lib RNA connect to apientreprise 2015-12-11 10:36:16 +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
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
2b6aba16ac - valid siren on create file 2015-12-03 15:02:22 +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
141e23a381 Code review 2015-11-30 17:03:36 +01:00
Xavier J
da49c633dc Add tabs on view list file for users 2015-11-30 14:48:37 +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
658262f1de Delete lost password demand 2015-11-27 15:55:18 +01:00
Xavier J
a79ecbba6d Add archive button on recapitulative page user dossier 2015-11-27 13:56:54 +01:00
Xavier J
833752161f Add button archive on procedure 2015-11-26 18:41:41 +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
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
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
17ca244a2f end delete type de piece justificative 2015-11-20 15:12:47 +01:00
Tanguy PATTE
1379d6d495 change PieceJustificativeController :
replace edit by show
add update
2015-11-20 13:54:56 +01:00
Xavier J
d560bce945 update deploy for https github 2015-11-20 09:59:32 +01:00
Xavier J
8d75046810 deploy for github 2015-11-19 18:35:29 +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
Xavier J
9826a294d4 demo procedure page 2015-11-17 18:30:28 +01:00
Xavier J
9f34d20475 Add search feature for gestionnaire backoffice 2015-11-17 18:21:03 +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
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
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
f3d8645426 Rename TypeDeChamps to TypeDeChamp 2015-11-05 11:21:44 +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
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
c0733849d5 REFACTOR : Change dossier state 'Proposed' To 'Submitted' 2015-11-02 11:23:55 +01:00
Xavier J
9392f1d6e3 Create TypeDeChamps 2015-10-26 17:35:02 +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
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
c54fea3ead add symlink for conf file handled by ansible 2015-10-08 18:33:39 +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
9c6b9d408b [bis] force login_with_france_connect at false when connection devise user 2015-10-07 14:19:16 +02:00
Xavier J
d655b2319a Done test France Connect 2015-10-06 17:41:49 +02:00
Xavier J
abe5d94ac5 test login FranceConnectController 2015-10-06 16:02:30 +02:00
Xavier J
fd60692ade Intégration France Connect - sans les tests 2015-10-06 11:21:20 +02:00
Tanguy PATTE
40d5802d4a start france connect 2015-10-05 16:42:29 +02:00
Xavier J
91e937c247 activation page carte for procedure with db attribut use_api_carto is true 2015-09-28 18:55:16 +02:00
Xavier J
805dd49737 Gestion des états dans le post des commentaires 2015-09-25 10:46:09 +02:00
Xavier J
2a2147a7bb fix test 2015-09-24 16:54:14 +02:00
Xavier J
af610a4a04 - Revu de la page dossier côté gestionnaire
- Ajout des boutons de changement d'état gestionnaire
2015-09-24 16:51:14 +02:00
Tanguy PATTE
5772b99d42 move controller into users folder 2015-09-23 19:20:03 +02:00
Tanguy PATTE
4f3b35fe41 remove useless lines 2015-09-23 16:56:53 +02:00
Tanguy PATTE
e0cb736542 rename start controller into siret controller and change error handling 2015-09-23 16:56:30 +02:00
Tanguy PATTE
8c549bf27b [#887] afficher la liste des dossiers à l'utilisateur 2015-09-23 12:04:57 +02:00
Tanguy PATTE
78e86f00ea [#884] add user 2015-09-23 10:02:01 +02:00
Tanguy PATTE
d034176fe3 Merge branch 'develop' of ssh://37.187.249.111:2200/opt/git/tps into develop
Conflicts:
	app/views/dossiers/_infos_dossier.html.haml
2015-09-22 15:02:04 +02:00
Tanguy PATTE
5ca014587a [#883] move admin part in backoffice 2015-09-22 15:00:59 +02:00
Xavier J
810395c428 Rename and remove attribut into Dossier 2015-09-22 13:58:32 +02:00
Tanguy PATTE
5b9acf3875 [#878] add liste of dossier in backoffice 2015-09-22 11:56:14 +02:00
Tanguy PATTE
3aad85e925 remove users and pros 2015-09-22 10:28:18 +02:00
Tanguy PATTE
44173a17fb add login for gestionnaire 2015-09-22 10:15:12 +02:00
Xavier J
b3383bec9f - Correction des tests suite à la modification du schéma de la base de données. 2015-09-21 17:59:03 +02:00
Tanguy PATTE
fe3f235860 include philippe notes 2015-09-02 17:34:13 +02:00
Tanguy PATTE
187e1c332e change asset configuration 2015-09-01 16:59:03 +02:00
Tanguy PATTE
49febd8002 add deploy.rb file 2015-09-01 14:42:53 +02:00
Tanguy PATTE
b36e48239b use lowercase for database config 2015-09-01 14:27:27 +02:00
Xavier J
ef306cb1be Changement nom admi_facile => TPS dans les sources. 2015-09-01 14:17:12 +02:00
Tanguy PATTE
54b4679d19 add mailto 2015-08-25 16:33:55 +02:00
Tanguy PATTE
e5e2fef8ae move validation in model for dossier 2015-08-25 10:19:39 +02:00
Tanguy PATTE
327412fba3 fix datepicker and test it 2015-08-24 11:42:06 +02:00
Tanguy PATTE
88b663a514 move check email params in validator 2015-08-21 11:37:13 +02:00
Tanguy PATTE
752c40657d style check 2015-08-20 16:45:20 +02:00
Tanguy PATTE
4d728962d0 rename route 2015-08-20 14:12:42 +02:00
Tanguy PATTE
ef69fa453c refactor demandes controller 2015-08-17 17:08:13 +02:00
Tanguy PATTE
1e04916005 rename Api into API
change api error managment
refactor dossier controller
rewrite test for dossier controller
2015-08-17 15:53:35 +02:00
Tanguy PATTE
a807ba5ae9 rename ref piece jointe into type piece jointe 2015-08-14 12:06:26 +02:00
Tanguy PATTE
3c57643f76 add database cleaner
add factory girl
fix tests
rename dossier_pdf into piece_jointe
rename ref_piece_jointe into content
2015-08-13 15:56:58 +02:00
Tanguy PATTE
343d2543b5 remove production database sqlite 2015-08-11 14:38:10 +02:00
Xavier J
b5b83e939a First Commit 2015-08-10 11:05:06 +02:00