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
Xavier J
e596f71b07
Check if starter informations and autorisations_donnees is valid on description dossier page
2016-11-02 16:33:01 +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
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
7f5d5c6320
Fix test OpenSimplif
2016-10-24 16:05:41 +02:00
Xavier J
a5ab7af0f8
Add private champs in tab preference list
2016-10-20 17:14:38 +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
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
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
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
2edcd5a40d
Fix test
2016-10-12 14:44:08 +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
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
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
71de64e3ec
User can save a draft dossier who does not see by the accompagnateur
2016-10-05 16:45:51 +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
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
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
5fb678e53b
Fix test
2016-09-16 17:18:29 +02:00
Xavier J
ccd9c0898d
Fix test with cloud storage enabled
2016-09-16 15:40:30 +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
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
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
b56883db16
Clone mail_templates where clone procedure
2016-09-01 10:43:49 +02:00
Xavier J
f03733f3ff
Mail for receive dossier is now send.
2016-09-01 10:27:22 +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
Guillaume Lazzara
fc99dc65d6
Send notification emails when a dossier is closed.
2016-08-25 18:02:56 +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
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
b661a2eb38
Updated test for new user status UI
2016-08-22 16:10:48 +02:00
Xavier J
0bb9f5115e
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-08-22 10:57:40 +02:00
Guillaume Lazzara
6cf6832c01
Migrate to Rails 4.2.7.1
2016-08-18 16:06:38 +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
9487d47ef8
Add deposit date time on dossier table
2016-08-08 14:12:16 +02:00
Xavier J
480431ea01
Add on gestionnaire dossier view the private form
2016-08-08 12:52:30 +02:00
Xavier J
ddb64878c8
Refactor code for private type de champ
2016-08-04 12:06:46 +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
bce1b96fee
Build default pref list dossier for new gestionnaire
2016-08-02 14:49:41 +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
f6d3e2d780
Fix test welcome mailer
2016-07-26 15:05:24 +02:00
Xavier J
21a18a536f
Add total_commentaire in API Dossier and total_dossier on API Procedure
2016-07-22 15:06:30 +02:00
Xavier J
4e6d153893
Fix test
2016-07-22 12:25:23 +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
6796ec26e8
Add suivi tab for gestionnaire
2016-07-19 17:18:41 +02:00
Xavier J
127c9bb138
Add total followers on dossier list and followers list on dossier page for gestionnaire
2016-07-19 16:44:26 +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
7281ee74b2
Fix bug double procedure path publish
2016-07-12 15:20:10 +02:00
Xavier J
9669fee7fe
Add state attribut in API
2016-07-11 14:43:20 +02:00
Xavier J
721ea424ed
Merge branch 'develop' of github.com:sgmap/tps into develop
...
# Conflicts:
# app/views/admin/procedures/_modal_publish.html.haml
2016-06-30 14:17:33 +02:00
Xavier J
09c9d5ea76
async publication procedure
2016-06-30 12:33:43 +02:00
Guillaume Lazzara
582a368107
Code review related updates
2016-06-30 10:24:20 +02:00
Xavier J
575cbaa3e1
Fix route commencer and adapt feature test
2016-06-29 17:35:34 +02:00
Guillaume Lazzara
00e4cf76b6
Add a missing cassette
2016-06-29 16:19:25 +02:00
Guillaume Lazzara
92a5100a09
Handle "réactiver" feature with permanent procedure url
2016-06-24 16:57:35 +02:00
Guillaume Lazzara
e5002dbb11
Introduce permanent and customizable procedure url
2016-06-24 16:41:44 +02:00
Xavier J
4355d4775a
Add type de champ date
...
Add hour and minute on UI for datetime
2016-06-22 11:25:41 +02:00
Xavier J
2fa10a43e5
Fix bug prévisualisation
2016-06-21 12:41:28 +02:00
Xavier J
1dcb29ec65
Add feature delete for draft procedure
2016-06-20 17:37:04 +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
7fd2aa40ca
Do not send notification email when comments cannot be saved.
2016-06-14 16:00:37 +02:00
Xavier J
954ac2bc86
Fix bug revisualization controller
2016-06-14 11:59:50 +02:00
Xavier J
866565495d
Delete default description in dossier
2016-06-13 12:03:05 +02:00
Xavier J
d7eee773da
Migrate API Entreprise INSEE V1 to V2
2016-06-13 10:13:37 +02:00
Guillaume Lazzara
2791988da2
Add draft/publish status for procedure.
2016-06-09 17:49:48 +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
0314bc54dd
Add 'mes procédures' link in navbar
2016-06-07 15:52:55 +02:00
Guillaume Lazzara
64d27e0088
Add 'mes dossiers' link in navbar
2016-06-07 15:16:35 +02:00
Xavier J
69f9c52b02
Preview procedure logo on edit procedure page for admin
2016-06-06 18:25:51 +02:00
Xavier J
e6b5698008
Add previsualization formulaire page for administrateur
2016-06-06 17:40:32 +02:00
Xavier J
92fc5af61c
Admin can add new Accompagnateur directly on the procedure
2016-05-26 16:44:10 +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
6005dccc2b
Delete Archive feature for User on his Dossier
2016-05-25 14:08:02 +02:00
Guillaume Lazzara
ccf8970047
Do not load fog configuration if feature is disabled
2016-05-24 17:25:14 +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
f62c9ebec9
Remove carriage returns in address in CSV format only
2016-05-24 15:58:21 +02:00
Guillaume Lazzara
63cf35a748
Add tests for siret with whitespaces
2016-05-24 15:43:05 +02:00
Guillaume Lazzara
9e3b1d73de
Fix test according to remote_storage feature activation
2016-05-20 16:54:32 +02:00
Guillaume Lazzara
745eee126a
Code review - Remote storage
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
143a683303
Change management navbar procedure admin
2016-05-19 10:57:18 +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
900b377ae2
Final implement of clamav gem
2016-04-15 15:32:15 +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
eeaefdcc79
Add reference to user who upload a cerfa or a piece justificative
2016-03-17 17:33:38 +01:00
Xavier J
bb79aca58a
Add historic for piece justificative
2016-03-17 14:50:10 +01:00
Xavier J
4b7e6426b3
Gestionnaire can have the history of cerfa updated on dossier show page
2016-03-16 15:34:35 +01:00
Xavier J
bd61a459fb
Add verification on user dossier description for champs mandatory
2016-03-15 17:17:56 +01:00
Xavier J
26431ac528
Add column created_at on cerfa and piece_justificative
2016-03-14 17:30:22 +01:00
Xavier J
abfb6367d6
Active filter procedure on dossiers list backoffice
2016-03-14 16:49:12 +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
Xavier J
e944364929
Add Cerfa on API Show dossier
2016-03-14 11:10:02 +01:00
Xavier J
b49770f408
Add commentaires on API Show Dossier
2016-03-14 10:34:46 +01:00
Guillaume Lazzara
d0a4cfdcf5
Fix logo test
2016-03-03 18:31:14 +01:00
Xavier J
f4de0b8431
- Add resize on wysihtml5 bootstrap
...
- Add rich text on procedure description
- Ajust text on description dossier user form
2016-03-02 15:21:45 +01:00
Xavier J
9c1268fdd5
Add statistiques API for dashboard
2016-02-29 15:15:44 +01:00
Xavier J
3e62dd01fb
Pre-doc APIs
2016-02-26 14:16:17 +01:00
Xavier J
c971849312
Merge branch 'api-pie' into develop
2016-02-26 14:00:29 +01:00
Xavier J
4993abf5f2
Create fonction content_url to make public download link for cerfa and pj
2016-02-26 13:59:03 +01:00
Xavier J
16c72e7478
Complete API Dossier
2016-02-26 12:17:41 +01:00
Xavier J
a316165792
!!FIX BUG : values does not appear on info dossier
2016-02-25 11:50:09 +01:00
Xavier J
56f9b2f71a
Fix tests SIADE with apientreprise.fr base_path
2016-02-23 11:12:58 +01:00
Xavier J
2a6da54320
add gem api-pie
...
Error : stack level too deep
2016-02-22 19:42:47 +01:00
Xavier J
8cce06168c
delete old tests
2016-02-22 15:22:28 +01:00
Xavier J
c339441510
new commentaires invitation tests
2016-02-22 15:22:06 +01:00
Xavier J
c37fb9bb20
redirect to sign_up link if user 's email on invitation as no account on the platform
2016-02-22 10:34:25 +01:00
Guillaume Lazzara
bd5a39ff17
Add CSV output for Dossier API
2016-02-19 16:59:39 +01:00
Guillaume Lazzara
3777f6066e
Code review: rewrite test
2016-02-19 16:59:39 +01:00
Xavier J
c2983e08b6
Don't access at user/sign_in/demi and gestionnaire/sign_in/demo on env production
2016-02-19 15:04:29 +01:00
Xavier J
0e1dac7d19
Fix test
...
Change name gestionnaire to accompagnateur on admin ui
2016-02-19 14:20:18 +01:00
Xavier J
850f4366c8
Add type de champ checkbox (boolean)
2016-02-18 15:36:09 +01:00
Guillaume Lazzara
3a76275058
Change wording: 'gestionnaire' to 'accompagnateur'
2016-02-18 10:55:49 +01:00
Xavier J
000fadf501
downcase on email adresse for invite object
2016-02-16 16:53:46 +01:00
Xavier J
51c145d2ce
Update landing page :
...
- Release scrape on Github
- Add presentation video
- Add demonstration link for gestionnaire and user
2016-02-16 12:01:39 +01:00
Xavier J
2b6a46f335
Delete FC Enterprise tests
2016-02-11 16:12:59 +01:00
Xavier J
8c99559dae
Delete FranceConnect entreprise client
2016-02-11 16:02:43 +01:00
Xavier J
b3a90376d4
associate user at his invite after sign up devise account
2016-02-09 15:47:36 +01:00
Guillaume Lazzara
6b7d3e0ac1
Add gestionnaire deletion feature
2016-02-09 12:24:05 +01:00
Xavier J
dcd943a4b5
Add tab Invitation on user dossier index view
2016-02-09 12:23:31 +01:00
Guillaume Lazzara
b58b0de8b0
Add gestionnaire management
2016-02-09 11:01:10 +01:00
Guillaume Lazzara
2a2aef34db
Add gestionnaire administration panel.
2016-02-09 11:01:10 +01:00
Xavier J
bc41412b6b
Test send email when gestionnaire invite user
2016-02-09 10:51:15 +01:00
Xavier J
1aa5e7c397
Mask cerfa link procedure if is blank
2016-02-08 19:52:07 +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
d7dbd28507
fix test cerfa flag
2016-02-04 14:08:35 +01:00
Xavier J
01d71aa1cd
Merge branch 'develop' into cerfa_flag
2016-02-04 11:03:49 +01:00
Guillaume Lazzara
07806701dc
Fix variable name
2016-02-04 10:39:25 +01:00
Guillaume Lazzara
e20de3dba9
First attempt
2016-02-02 18:37:38 +01:00
Xavier J
7a61786814
Active landing page
2016-02-01 17:16:00 +01:00
Xavier J
68bb4935e7
Fix bug enterprise's date_creation
2016-01-28 11:29:44 +01:00
Xavier J
cef48fb03c
Fix test
2016-01-27 16:00:11 +01:00
Xavier J
2220c94ce9
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-01-27 15:59:57 +01:00
Xavier J
5513504555
- Refactor code carte
...
- Delete auto-comments when edit carte and description
2016-01-27 15:48:27 +01:00
Tanguy PATTE
d449c34387
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-01-27 14:37:24 +01:00
Xavier J
008ca19bef
un-used files deleted
2016-01-26 16:47:13 +01:00
Xavier J
98cd4ed88f
Refactor Url restriction system
2016-01-26 15:52:05 +01:00
Tanguy PATTE
6d5f00deb9
Merge branch 'develop' of github.com:sgmap/tps into develop
...
Conflicts:
db/schema.rb
2016-01-25 16:09:46 +01:00
Tanguy PATTE
dc5ac9807d
start api to display dossier
...
missing pj, fields, exercices
2016-01-25 16:08:10 +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
Tanguy PATTE
514918b2b8
parametrize pagination on dossier index api
2016-01-21 11:41:24 +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
65ba614be2
Refactor function create in user dossier controller
2016-01-20 10:34:22 +01:00
Xavier J
a738128f4a
Suppression de FCEntreprise
2016-01-19 17:40:45 +01:00
Xavier J
e8fd212d13
- Code review
...
- Delete Mandataires sociaux adapter
- Add function to get mandataires sociaux in Enterprise Adapter
2016-01-19 17:19:38 +01:00
Xavier J
e0d980e804
Delete on Factory Dossier :with_user
2016-01-18 17:18:04 +01:00
Xavier J
6a3525c7e2
Save Cadastre
2016-01-18 12:03:18 +01:00
Xavier J
b5f2163c51
Add Cadastre table
2016-01-15 15:28:56 +01:00
Xavier J
0f93aba6bc
fix test
2016-01-15 13:15:50 +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
Tanguy PATTE
6dfdb474a5
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-01-13 18:21:09 +01:00
Xavier J
d48c600476
Add lib API SGMAP Cartography Cadastre
...
Adapt lib API SGMAP Cartography Quartier Prioritaire at the new API architecture
2016-01-12 17:24:42 +01:00
Tanguy PATTE
0df5324891
Merge branch 'develop' of github.com:sgmap/tps into develop
...
Conflicts:
.gitignore
2016-01-12 15:32:13 +01:00
Tanguy PATTE
c04627431c
add module api carto in api procedure
2016-01-12 15:11:42 +01:00
Xavier J
5540a786db
Disable FC Enterprise
2016-01-11 17:19:25 +01:00
Xavier J
64909e85a4
Fix tests view for smart listing
2016-01-11 14:10:41 +01:00
Xavier J
24ace22245
Fix test carte controller
2016-01-07 11:47:52 +01:00
Xavier J
332eab3771
Check if France Connect User is a mandataire social of the enterprise
2016-01-06 14:17:08 +01:00
Xavier J
3f048d0709
Add Mandataires Sociaux siade lib
2016-01-06 10:55:27 +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
02b7680083
Fix bug send email sign up user
2016-01-04 16:09:04 +01:00
Xavier J
39b15e8b3d
Refactor dossier decorators
2015-12-24 16:12:16 +01:00
Xavier J
9fb575ef8c
Refactor procedure locked and retrieve management
2015-12-24 15:57:03 +01:00
Xavier J
de0acc0a22
Change URL for not found procedure
2015-12-24 15:22:30 +01:00
Xavier J
3c18882407
Create facade for dossier into user and gestionnaire views
2015-12-24 15:10:20 +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
9e0dfb593e
Add FranceConnect Particulier
...
Reactivate FranceConnect Entreprise
2015-12-24 10:12:23 +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
f474c8e8e1
add api v1 procedure controller
2015-12-21 17:51:49 +01:00
Tanguy PATTE
e40e1299ad
add organisation and direction to procedure factory
2015-12-21 17:51:08 +01:00
Xavier J
c20f9a87e9
Front : Procedure can not be edited when at least one file with state other what draft is created by user
2015-12-21 14:40:28 +01:00
Xavier J
43779aafee
Error 403 when admin would edit a procedure with at least one dossier
2015-12-21 12:02:53 +01:00
Xavier J
229973f14c
Rename FranceConnect to FranceConnect::Entreprise
2015-12-18 12:01:26 +01:00
Xavier J
563e739958
Minor fix bug
2015-12-17 12:53:43 +01:00
Xavier J
44554a9baa
Send an email when user submitted his file
2015-12-17 10:09:44 +01:00
Xavier J
ed8b4ff083
Add mailer submitted dossier.
2015-12-17 10:06:40 +01:00
Tanguy PATTE
789ea308ee
Merge branch 'develop' of github.com:sgmap/tps into develop
2015-12-15 16:49:58 +01:00
Tanguy PATTE
d2978c4656
add api token in administrator's profile page
2015-12-15 16:49:48 +01:00
Xavier J
b237d7c890
Send email when gestionnaire valide a dossier
2015-12-15 15:37:46 +01:00
Xavier J
a24ff681fc
- Send email when gestionnaire write a new commentaire
...
- Change url on mail => redirect on dossier recapitulative page
2015-12-15 15:33:21 +01:00
Xavier J
4aedf72631
Send email when user create new account
2015-12-15 15:17:12 +01:00
Xavier J
372011e4d6
NotificationMailer : dossier_validated
2015-12-15 11:41:50 +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
cea90384e4
Merge branch 'develop' of github.com:sgmap/tps into develop
...
Conflicts:
spec/views/users/dossiers/new_html.haml_spec.rb
2015-12-14 17:30:21 +01:00
Tanguy PATTE
a8960784f8
remove puts in test
2015-12-14 17:29:15 +01:00
Tanguy PATTE
e4b54999f4
add api_token for admin
2015-12-14 17:28:36 +01:00
Tanguy PATTE
60cb6cccf5
remove blank test file
2015-12-14 17:27:24 +01:00
Tanguy PATTE
cf99b30349
change banner for admin
2015-12-14 17:27:14 +01:00
Xavier J
a65f271a60
Add mailer Welcome
2015-12-14 16:09:20 +01:00
Xavier J
a2a5d63c0d
Display RNA information on partial dossier entreprise information
2015-12-11 12:36:44 +01:00
Xavier J
05298f7a40
Add RNAInformation model
2015-12-11 11:05:38 +01:00
Xavier J
704e491cd0
Add lib RNA connect to apientreprise
2015-12-11 10:36:16 +01:00
Xavier J
d49e9fe75a
admin can upload a logo for his procedure
2015-12-10 17:13:39 +01:00
Xavier J
8755ce2ab1
add euro flag to procedure object
2015-12-10 16:09:21 +01:00
Xavier J
90a3b6763b
sign_out all devises connect before sign_in an other
2015-12-09 15:10:11 +01:00
Xavier J
e9145b031f
Change organisation sources for lib apicarto quartiersprioritaires
2015-12-08 16:02:35 +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
0e3bec7f9f
Administrateur can be select dynamically the activation of api carto modules
2015-12-08 10:11:58 +01:00
Xavier J
8130e7d155
Add model ModuleAPICarto
2015-12-07 11:29:34 +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
debac1ed91
Désactivation des tests FranceConnect
2015-12-03 15:41:30 +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
851f4e830e
- rename tests
2015-12-02 18:17:47 +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
a3df5a546d
- add test on active tab for back office
...
- refactor code back office file list
- add decorator for select active tabs
2015-12-02 14:05:56 +01:00
Xavier J
91cf5020fc
Change logic test for GeojsonServiceSpec
2015-11-30 17:12:32 +01:00
Xavier J
141e23a381
Code review
2015-11-30 17:03:36 +01:00
Xavier J
58f840ac92
- Redirect User dossier index to User dossier a traiter
...
- Fix tests
- Order file list by last updated for User
2015-11-30 15:56:06 +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
3fd7e6b6c0
Gestionnaire can't access to a archived file with direct URL
2015-11-27 15:09:16 +01:00
Xavier J
e9012d8164
User can see archived file in principal list
2015-11-27 15:04:44 +01:00
Xavier J
1e1a6b3693
Gestionnaire can see archived file
2015-11-27 15:04:24 +01:00
Xavier J
a79ecbba6d
Add archive button on recapitulative page user dossier
2015-11-27 13:56:54 +01:00
Xavier J
dd09a38bbb
User can begin a new dossier with a procedure archived
...
Administrateur can see archived procedure
2015-11-27 10:39:05 +01:00
Xavier J
833752161f
Add button archive on procedure
2015-11-26 18:41:41 +01:00
Xavier J
5e3bc1472c
Add pagination for administrateur procedure
2015-11-26 16:00:12 +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
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
e928284c15
Add QuartierPrioritaire model and reference at Dossier
2015-11-24 10:02:55 +01:00
Xavier J
5fd78b3fcb
add adapter for sgmap api carto
2015-11-23 18:43:07 +01:00
Xavier J
edc4f7dcd9
add spec support files for sgmap api carto
2015-11-23 18:42:51 +01:00
Xavier J
2bb57b1091
add service Geojson to_polygon
2015-11-23 18:41:48 +01:00
Xavier J
e6cc95fc5f
Add sgmap api carto driver to search qp
2015-11-23 18:41:24 +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
Xavier J
4ff31f5f81
Mask draft files for user
2015-11-20 17:50:54 +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
52133c0f43
add button save for pj and type de champ
2015-11-20 17:12:36 +01:00
Tanguy PATTE
5a9a6226c7
remove validation on description for pj
2015-11-20 15:33:03 +01:00
Tanguy PATTE
19fef43d76
remove useless files
2015-11-20 15:12:55 +01:00
Tanguy PATTE
17ca244a2f
end delete type de piece justificative
2015-11-20 15:12:47 +01:00
Tanguy PATTE
bd5dc1e35a
refresh list of pj when adding new one
2015-11-20 14:17:38 +01:00
Tanguy PATTE
1379d6d495
change PieceJustificativeController :
...
replace edit by show
add update
2015-11-20 13:54:56 +01:00
Xavier J
f92f0f46cc
After create new procedure, admin is redirect to type de champ form
2015-11-20 10:54:07 +01:00
Tanguy PATTE
90c7e85980
remove useless view
2015-11-19 19:03:32 +01:00
Xavier J
c4e0e6b402
Merge branch 'develop' into leaflet_freedraw
...
# Conflicts:
# db/schema.rb
2015-11-19 17:29:23 +01:00
Xavier J
5a6db41d1e
fix test
2015-11-19 17:23:51 +01:00
Xavier J
d8e1770935
delete rails-bower
2015-11-19 17:20:22 +01:00
Xavier J
61b126b0f9
add api_carto on back office and recapitulative page
2015-11-19 16:47:56 +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
Tanguy PATTE
7e4b26274b
change type de champ view
2015-11-18 17:03:53 +01:00
Tanguy PATTE
c4e8c6c989
change rule to display arrow button for type de champ
2015-11-18 16:56:38 +01:00
Tanguy PATTE
41c0ca27d9
refresh list when delete type de champ
2015-11-17 18:52:49 +01:00
Tanguy PATTE
1ab89b63aa
add arrow in view for order place managment
2015-11-17 18:22:15 +01:00
Xavier J
9f34d20475
Add search feature for gestionnaire backoffice
2015-11-17 18:21:03 +01:00
Tanguy PATTE
cf81623937
force order place to index for type de champ
2015-11-17 17:18:00 +01:00
Tanguy PATTE
008fb396b7
remove blank line
2015-11-17 17:13:17 +01:00
Tanguy PATTE
26b82b620f
sort type de champ by order place
2015-11-17 17:13:06 +01:00
Tanguy PATTE
e6136e17c3
add types_de_champ_ordered in procedure
2015-11-17 15:30:03 +01:00
Tanguy PATTE
65c8c039ac
add feature test on type de champ:
...
add typde de champ
delete type de champ
2015-11-17 11:23:13 +01:00
Tanguy PATTE
afd0b72ae8
add support file to wait for ajax request for capybara tests
2015-11-17 11:22:29 +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
9942525984
link procedure to administrateur
2015-11-16 18:25:31 +01:00
Tanguy PATTE
2696a6098e
remove useless test
2015-11-16 18:08:33 +01:00
Xavier J
3effa5e9fd
Gestionnaire procedures though administrateur and dossiers through procedures
2015-11-16 18:08:19 +01:00
Tanguy PATTE
0f73a2fc94
Merge branch 'develop' into refactor_type_de_xxx
2015-11-16 17:09:54 +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
de356ae0ab
Add search method on dossier model
2015-11-16 15:58:35 +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
803ca14f72
fix test
2015-11-13 15:26:17 +01:00
Xavier J
19b76203c4
Creation three tabs for gestionnaire back office
2015-11-13 15:23:21 +01:00
Xavier J
ce6af625d2
- Save polygon from carte on procedure
...
- Display save polygon from database
2015-11-12 17:34:12 +01:00
Xavier J
eadb42af93
- add bower for rails
...
- add "wildhoney_leaflet_freedraw" bower vendor
- remove api_carto
2015-11-10 18:08:47 +01:00
Xavier J
fd9061abdf
- Administrateur can't show only his procedures
...
- Gestionnaire can't show only files of his Administrateur's procedures
2015-11-10 11:58:56 +01:00
Xavier J
dc18e7da6f
Create relation between Administrateur, Gestionnaire and Procedure
2015-11-10 10:23:15 +01:00
Xavier J
0906d44ea8
Refactor TypeDeXxxx
2015-11-09 17:15:51 +01:00
Xavier J
f3d8645426
Rename TypeDeChamps to TypeDeChamp
2015-11-05 11:21:44 +01:00
Xavier J
519af34c82
Revu de code
2015-11-04 17:27:01 +01:00
Xavier J
591f52f654
Dynamic display for champs on description and recapitulative page
2015-11-04 11:14:07 +01:00
Xavier J
6fbe735793
Save Champs value since description page
2015-11-03 16:16:39 +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
2050465a75
REFACTOR : remove column 'montant_projet', 'montant_aide_demande', 'date_previsionnelle', 'position_lat', 'position_lon' et 'ref_dossier_cart' of dossier table
2015-11-02 18:56:41 +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
4a05af89fc
REFACTOR: Change dossier state 'Reply' To 'Replied'
2015-11-02 11:33:00 +01:00
Xavier J
c0733849d5
REFACTOR : Change dossier state 'Proposed' To 'Submitted'
2015-11-02 11:23:55 +01:00
Xavier J
0e8919a523
add up and down button to order place TypeDeChamps Procedure
2015-11-02 10:16:53 +01:00
Xavier J
afb11f429a
Add button delete for TypeDeChamps and TypeDePieceJustificative on Procedure form
...
+ refactor procedure.js
2015-10-29 17:22:57 +01:00
Xavier J
71f9455e36
Back : Save TypeDePJ for a procedure
2015-10-28 18:09:47 +01:00
Xavier J
059211755a
Front to add TypeDePieceJustificative for a procedure
...
Back not implement for this commit
2015-10-28 15:55:31 +01:00
Xavier J
e673fe6ae2
Change updated method for type de champs' procedure
2015-10-28 15:08:23 +01:00
Xavier J
4eecba4ce1
Back : save types de champs for procedure OK
2015-10-28 11:53:16 +01:00
Xavier J
eb69e4f80f
FrontEnd to add New type champs at a procedure.
...
=> Save into database not implement for the moment
2015-10-27 17:31:08 +01:00
Xavier J
2d548acba0
Add description to type_de_champs table
2015-10-27 16:15:25 +01:00
Xavier J
5c643c6373
FIX TEST
2015-10-26 18:08:41 +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
0bd43e538a
add current_user_dossier function at UserController
2015-10-09 16:26:39 +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
Xavier J
c1a01f30dd
tests fix
2015-10-08 17:08:01 +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
728150b148
[ #915 ] Revu de code Ok
2015-10-08 11:26:12 +02:00
Tanguy PATTE
968aa92d77
[ #920 ] prefill siret when user has a siret
2015-10-08 11:22:55 +02:00
Tanguy PATTE
deb13673d7
Merge branch 'france_connect' of ssh://37.187.249.111:2200/opt/git/tps into france_connect
...
Conflicts:
spec/controllers/france_connect_controller_spec.rb
2015-10-07 16:50:52 +02:00
Tanguy PATTE
afed93247d
[ #917 ] redirect to correct location after login with france connect
2015-10-07 16:49:42 +02:00
Xavier J
aeeb9406e9
add france connect logout process
2015-10-07 16:38:29 +02:00