simon lehericey
66a113c7db
Dossier: remove uncessary query on order_champ_v2
2018-03-27 16:48:38 +02:00
simon lehericey
8ac5415ce0
DossierController: avoid unecessary user fetch
2018-03-27 16:48:38 +02:00
simon lehericey
289ddb5419
[ fix #1670 ] Manager send the refused admin email
2018-03-27 16:02:09 +02:00
simon lehericey
d0431a28f2
Pipedrive: manager can refuse a deal
2018-03-27 15:56:28 +02:00
simon lehericey
2102130fa3
Pipedrive: allow super admin to choose target pipeline
2018-03-27 14:52:39 +02:00
simon lehericey
6a74aaa42a
[ fix #1697 ] Pipedrive: use a job to process an admin creation
2018-03-27 14:52:39 +02:00
simon lehericey
ec3d558af0
Pipedrive: extract methods in service
2018-03-27 14:52:39 +02:00
Paul Chavard
6b7d0ccb82
Remove unused rescue in SIRET form controller
2018-03-27 13:56:22 +02:00
Paul Chavard
a17ac5a9db
Remove debug logger
2018-03-26 17:44:51 +02:00
Frederic Merizen
cab670b1ad
[ #1677 ] Simplify code
2018-03-22 16:40:57 +01:00
Frederic Merizen
c413dfa127
[ #1677 ] No longer create InviteGestionnaire
s
2018-03-22 16:40:57 +01:00
simon lehericey
9eb28faa10
[ fix #1601 ] accept demandes in manager
2018-03-22 15:37:16 +01:00
simon lehericey
9e566596fa
[ fix #1601 ] show pipedrive demandes in manager
2018-03-22 15:37:16 +01:00
Frederic Merizen
2fa88a432b
Add missing brackets around parameters in method definitions
2018-03-20 17:54:51 +01:00
gregoirenovel
d0a59058e8
Remove the mandataire_social guess
...
Rationale:
- is true for only 0.06% of Dossiers
- is not displayed anymore anyways
- will be a rare case for now
* FC adoption is not insane
* FC used more for personal than professional
matters
* not always the mandataires sociaux that fill
dossiers for their companies, so not that
relevant
- we can add it back later
2018-03-20 16:09:00 +01:00
Mathieu Magnin
621f8143bd
[ Fix #1654 ] Generate procedure export filename with libelle
2018-03-19 11:16:05 +01:00
gregoirenovel
19a2398593
[ Fix #1644 ] In API, current_administrateur -> administrateur
2018-03-19 11:09:30 +01:00
Frederic Merizen
d60765880f
Fix authentication token description
2018-03-16 10:10:43 +01:00
Paul Chavard
e4f07dbae6
Document pagination params in api and allow to set per_page
limit
2018-03-15 17:50:41 +01:00
Paul Chavard
87d1948023
Add token authentication to API
2018-03-15 17:43:45 +01:00
gregoirenovel
031b9c0bab
Update documentation links to GitBook v2
2018-03-15 09:37:24 +01:00
Mathieu Magnin
247526578c
[ Fix #1479 ] Avis creation can fail gracefully
2018-03-14 17:41:46 +01:00
gregoirenovel
53ad9d3611
[ Fix #1591 ] Add rel attribute to target blank links
2018-03-13 11:24:12 +01:00
gregoirenovel
657b9d2e93
Change link to doc
2018-03-12 17:51:39 +01:00
Paul Chavard
6ef141b014
Build instead of create etablissement
2018-03-07 17:43:44 +01:00
gregoirenovel
0a9f442260
Enable some Rails cops
2018-03-06 17:18:44 +01:00
gregoirenovel
7489b8d1aa
Avoid assignments in conditions
2018-03-06 17:18:44 +01:00
gregoirenovel
e26f4148ff
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 16:17:22 +01:00
gregoirenovel
fe7f8da636
Revert "Bump development gems"
...
This reverts commit d6ad3fc3fd
.
2018-03-06 15:11:26 +01:00
gregoirenovel
d6ad3fc3fd
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 10:36:35 +01:00
Mathieu Magnin
875766279d
[ Fix #1510 ] Send email after dossier is received
2018-03-05 19:08:17 +01:00
Mathieu Magnin
cc648fcdb3
Log siret behaviour to investigate Sentry #2371
2018-03-05 17:46:42 +01:00
simon lehericey
28c4dde96d
_explication: display champ.description instead of champ.value
2018-03-01 11:25:57 +01:00
gregoirenovel
b784036a12
Warn of name change on the landing page
2018-03-01 10:33:53 +01:00
gregoirenovel
0af270faa0
tps.apientreprise.fr -> demarches-simplifiees.fr
2018-03-01 10:33:53 +01:00
simon lehericey
eb937649a1
new user: thanks page
2018-02-28 17:34:27 +01:00
Paul Chavard
94a503a2c4
Fix create dossier with siret
2018-02-28 17:16:03 +01:00
simon lehericey
abc9068412
DossierController: allow upload of empty
2018-02-27 17:39:17 +01:00
Paul Chavard
896518f3d5
add SIRETService
2018-02-27 16:22:53 +01:00
simon lehericey
a0667f5ad9
[ fix #1411 ] user: link new screen to the rest of the application
2018-02-27 15:24:51 +01:00
simon lehericey
d702a0c083
[ fix #1411 ] user: new form ui
2018-02-27 15:24:50 +01:00
gregoirenovel
9c93000e69
[ Fix #1468 ] Add Accessibilité page
2018-02-26 15:48:10 +01:00
gregoirenovel
3d10dbf0e4
Refactor assignement-related methods
2018-02-23 17:12:58 +01:00
gregoirenovel
ac6ba40598
Unscope the procedures on Gestionnaire and add #visible_procedures
2018-02-23 17:12:58 +01:00
gregoirenovel
08f364ccdc
Add constants
2018-02-23 17:12:24 +01:00
gregoirenovel
86d867a7ea
Add more precise info messages
2018-02-23 17:12:24 +01:00
gregoirenovel
1b1460c191
Move a service to the gestionnaire model
2018-02-23 17:12:24 +01:00
simon lehericey
630f22e205
Gestionnaire: various missing procedure urls
2018-02-22 17:02:20 +01:00
simon lehericey
864b98c6dc
Gestionnaire: various missing avis urls
2018-02-22 17:02:20 +01:00
simon lehericey
0308345008
Gestionnaire: move procedures_path to gestionnaire_procedures_path
2018-02-22 17:02:20 +01:00
simon lehericey
0dc101e375
Gestionnaire: move dossier_path gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
c1bbe72dbd
Gestionnaire: move sign_up_avis_path to sign_up_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
3b3849e4f3
Gestionnaire: move messagerie_avis_path to messagerie_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
c58b32a26d
Gestionnaire: move instruction_avis_path to instruction_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
a416efc49a
Gestionnaire: move personnes_impliquees_dossier_path to personnes_impliquees_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
63163e5022
Gestionnaire: move avis_dossier_path to avis_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
87a4029f1a
Gestionnaire: move annotations_privees_dossier_path to annotations_privees_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
be191a680e
Gestionnaire: move messagerie_dossier_path to messagerie_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
Mathieu Magnin
6ed1d7f833
[Fix 1413] User header should not contain accompagnateurs links
2018-02-21 14:22:59 +01:00
Mathieu Magnin
3e5621f633
[ Fix #1409 ] Plug identite new design to current workflow
2018-02-20 11:01:47 +01:00
Mathieu Magnin
9627ba43c0
[ Fix #1409 ] Identite can be updated
2018-02-20 11:01:47 +01:00
Mathieu Magnin
d9265d9686
[ Fix #1409 ] Display identite form with new design
2018-02-20 11:01:47 +01:00
Paul Chavard
35a4367114
Fix multi submit bug with direct upload
2018-02-16 12:53:00 +01:00
gregoirenovel
ee145180a3
Add a piece_justificative_file attribute to Champ
2018-02-15 11:15:23 +01:00
Paul Chavard
31d638ae2a
Remove TypeDeChampPublic/TypeDeChampPrivate STI
2018-02-14 11:49:06 +01:00
Paul Chavard
52749713ab
Remove ChampPublic/ChampPrivate STI
2018-02-13 12:07:13 +01:00
Mathieu Magnin
50f35ee905
[ Fix #1296 ] Birthday field is optional in procedure
2018-02-07 15:57:48 +01:00
Mathieu Magnin
d49659fc73
[ Fix #478 ] /recherche can deal with very big int ☺️
2018-02-07 11:56:22 +01:00
gregoirenovel
9764a0af8d
Add back content_type
...
I forgot to specify it in
7ccae2c4f1
2018-02-06 14:07:20 +01:00
gregoirenovel
142241dd16
Remove notifications
2018-02-06 14:07:20 +01:00
Paul Chavard
8a55ac79f1
Remove global BROWSER and use browser helper
2018-02-05 10:35:51 +01:00
Frederic Merizen
d919d62cf7
[ Fix #1012 ] Send dossier to other accompagnateur
2018-02-01 16:58:01 +01:00
gregoirenovel
7ccae2c4f1
render nothing: true has been removed from Rails
...
Use head instead
2018-01-30 16:56:49 +01:00
Frederic Merizen
c15e1a6942
[ Fix #1374 ] Add missing parameter
...
Dossier pagination was only working for dossiers en construction.
2018-01-30 15:04:21 +01:00
Frederic Merizen
0ce26055d8
[ #1374 ] Revert "Merge pull request #1373 from betagouv/fix_pagination"
...
This reverts commit 5a56fe0182
, reversing
changes made to 31aabcd6b6
.
2018-01-30 15:04:21 +01:00
simon lehericey
691b12688d
Revert "[ #1360 ] Upgrade SmartListing to fork of 1.2.1"
...
This reverts commit 506a505477
.
2018-01-29 17:43:30 +01:00
Frederic Merizen
506a505477
[ #1360 ] Upgrade SmartListing to fork of 1.2.1
2018-01-25 17:47:10 +01:00
Mathieu Magnin
e9ec9e410f
[ Fix #1304 ] If procedure has no path do not crash when hiding it
2018-01-18 18:52:54 +01:00
Paul Chavard
26b1de5883
[ Closes #1170 ] Put tps-dev (staging) environement behind a BasicAuth
2018-01-18 18:09:46 +01:00
Paul Chavard
e42626c588
Add user info to LogStasher
2018-01-18 17:14:42 +01:00
gregoirenovel
b138dcd876
Enable the Layout/SpaceInsideHashLiteralBraces cop
2018-01-18 10:53:35 +01:00
gregoirenovel
2814fcf27e
Enable the Layout/SpaceAroundKeyword cop
2018-01-18 10:53:34 +01:00
gregoirenovel
278a662350
Enable the Layout/SpaceAroundEqualsInParameterDefault cop
2018-01-18 10:53:34 +01:00
Mathieu Magnin
307d7338e5
Remove unreachable code
2018-01-18 10:32:39 +01:00
Mathieu Magnin
11b055e07c
Rename reinvite action in controller
2018-01-18 10:04:34 +01:00
Mathieu Magnin
14b8ac614f
Redirect to sign_in if not logged in
2018-01-17 18:04:24 +01:00
Mathieu Magnin
d9feb4be06
Move sign_in behind /manager (not in namespace due to Administrate resources autoloading)
2018-01-17 18:04:23 +01:00
Mathieu Magnin
d5c036362b
Remove old controller and templates
2018-01-17 18:04:23 +01:00
Mathieu Magnin
ef0907db93
Add flash when resending invitation
2018-01-17 18:04:22 +01:00
Mathieu Magnin
4f756975c7
Move administrateur#update in Administrate
2018-01-17 18:04:21 +01:00
Mathieu Magnin
a6be13ac5e
Redirect if success, else render form with errors ( https://github.com/thoughtbot/administrate/blob/master/app/controllers/administrate/application_controller.rb#L43 )
2018-01-17 18:04:21 +01:00
Mathieu Magnin
67f89d5f86
Move administrateur creation in Administrate
2018-01-17 18:04:21 +01:00
Mathieu Magnin
0396db9e5f
Clean Administrate templates and controllers
2018-01-17 18:04:20 +01:00
Simon Lehericey
1b91641f9a
FC ParticulierController: remove exotic route
2018-01-17 16:37:26 +01:00
Simon Lehericey
d70b6f4af0
FC ParticulierController: cleaner update attribute
2018-01-17 16:37:26 +01:00
simon lehericey
4f86b6305b
FC ParticulierControllerSpec: callback handle empty string
2018-01-17 16:37:26 +01:00
simon lehericey
02dd1e209c
FC ParticulierController: implement auto reconciliation based on user email
2018-01-17 16:37:26 +01:00
simon lehericey
ecfb0f4ec2
FC ParticulierController: move defense logic to before_action
2018-01-17 16:37:26 +01:00
Simon Lehericey
4afc41bca2
FC ParticulierController: inline fci.user
2018-01-17 16:37:26 +01:00
simon lehericey
d348e5fde0
FC ParticulierController: smaller variable
2018-01-17 16:37:26 +01:00
simon lehericey
c6c4dd7c7e
FC ParticulierController: use find or tap
2018-01-17 16:37:26 +01:00
simon lehericey
7cbd6ed067
FC ParticulierController: create is private
...
yep, I know this is strange
2018-01-17 16:37:26 +01:00
gregoirenovel
16254899e1
[ Fix #1199 ] Make id search work for experts
2018-01-16 11:03:53 +01:00
gregoirenovel
d33d488db7
Avoid EOL if statements
2018-01-16 11:01:52 +01:00
Paul Chavard
bbf55ab85e
Create administrateurs with invitation link and no password
2018-01-16 10:49:07 +01:00
gregoirenovel
73dd58b6cd
Enable the Layout/MultilineMethodCallIndentation cop
2018-01-15 22:33:13 +01:00
gregoirenovel
b77837bfd1
Enable the Layout/MultilineMethodCallBraceLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
9d75526460
Enable the Layout/MultilineAssignmentLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
345b892956
Enable the Layout/LeadingCommentSpace cop
2018-01-15 22:33:13 +01:00
gregoirenovel
1e71188d4d
Enable the Layout/IndentationConsistency cop
2018-01-15 22:33:13 +01:00
gregoirenovel
0be657c0d7
Enable the Layout/IndentHash cop
2018-01-15 22:33:12 +01:00
gregoirenovel
5125cf8396
Enable the Layout/FirstParameterIndentation cop
2018-01-15 22:14:39 +01:00
simon lehericey
d086b82d44
FC ParticulierController: remove one return
2018-01-15 17:14:12 +01:00
simon lehericey
34bd3a11e9
FC ParticulierController: remove superfluous if
2018-01-15 17:14:12 +01:00
simon lehericey
02395e732c
FC service: return domain info
2018-01-15 17:14:12 +01:00
simon lehericey
7024e14d1c
FC information: remove funny find_by
2018-01-15 17:14:12 +01:00
simon lehericey
e68fc0811f
FC ParticulierController: callback syntax cleaning
2018-01-15 17:14:12 +01:00
simon lehericey
9dc242d907
FC Particulier Controller: simplier login
2018-01-15 17:14:12 +01:00
simon lehericey
fc4ce4460c
FC Particulier Controller: do not parse an URI into URI
2018-01-15 17:14:12 +01:00
simon lehericey
f8519c5345
FC initializers: remove Hashie
2018-01-15 17:08:38 +01:00
Simon Lehericey
0d46f92795
FC: move FC constants under particulier namespace
2018-01-15 16:59:50 +01:00
Simon Lehericey
8c487c65a9
FC: remove unused code
2018-01-15 11:27:56 +01:00
gregoirenovel
1368cd4b03
[ Fix #1120 ] Delete the old accompagnateur UI
2018-01-15 10:02:10 +01:00
gregoirenovel
3593adbe66
!foo.empty? -> foo.present?
2018-01-12 11:32:43 +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
Frederic Merizen
32be8213da
[ #1209 ] Make sure date de dépôt is available before sending mail
2018-01-10 18:31:55 +01:00
Mathieu Magnin
f772adc582
Add flash when procedure is whitelisted
2018-01-10 18:17:05 +01:00
Mathieu Magnin
4c0592d631
Rails-ish route
2018-01-10 18:17:05 +01:00
simon lehericey
53687bf84a
Whitelist: add whitelist button in admin
2018-01-10 17:18:44 +01:00
Mathieu Magnin
d8d2ecf515
[ Fix #1098 ] Administrateur dashboard
2018-01-10 13:44:02 +01:00
Mathieu Magnin
d0de9b9ae2
[ Fix #1098 ] Add procedures dashboard
2018-01-10 13:44:00 +01:00
Frederic Merizen
56749769d6
[ Fix #1186 ] Rename object to subject for mail templates
2018-01-09 16:00:31 +01:00
gregoirenovel
c77558aeed
Correctly handle errors when cloning someone else’s procedure
2018-01-09 11:07:26 +01:00
gregoirenovel
093d853ecc
Fix some buggy error handling code in Admin::ProcedureController#clone
2018-01-09 11:05:19 +01:00
simon lehericey
d7d5d7eff4
Rename new_admin_mailer to administration_mailer
2018-01-09 10:29:54 +01:00
Mathieu Magnin
04e9f7be3e
[ Fix #1149 ] Move avis actions to new gestionnaire controller
2018-01-08 16:50:15 +01:00
gregoirenovel
bf5e21d6de
[ Fix #1182 ] Add a “create new procedure from an existing one” feature
2018-01-08 14:55:07 +01:00
gregoirenovel
27a8aba53e
Allow the cloning of another admininistrateur’s procedure
2018-01-08 14:55:07 +01:00
gregoirenovel
ec5b9c86ce
Add the admin argument to Procedure#clone
2018-01-08 14:55:07 +01:00
Frederic Merizen
6a85094e1a
[ #1110 ] Make processed_at date available for attestation generation
2018-01-05 11:51:08 +01:00
Mathieu Magnin
62d8381ef7
Remove will paginate
2018-01-03 14:35:48 +01:00
Mathieu Magnin
98ac496aa5
[ Fix #1100 ] Administrateur can renew his API Token
2017-12-26 18:30:36 +01:00
Mathieu Magnin
fab00b1674
[ Fix #1096 ] Add administration email in new administrateur email
2017-12-22 11:10:25 +01:00
Mathieu Magnin
4990595430
[ Fix #1096 ] Sign in with GitHub page
2017-12-22 11:10:24 +01:00
Mathieu Magnin
7c0fdbc9f8
[ Fix #1096 ] Github Oauth
2017-12-22 11:10:24 +01:00
Frederic Merizen
2ae67a44f2
[ Fix #1143 ] Set motivation before generating attestation
2017-12-22 10:23:40 +01:00
Mathieu Magnin
642dc4ba21
[ Fix #1118 ] New ui is the default ui for gestionnaire
2017-12-21 23:20:59 +01:00
Mathieu Magnin
142f01d1bb
Revert "ProcedureController: remove unused destroy method" (Sentry : #2149 )
...
This reverts commit 6ca6669144
.
2017-12-21 18:33:42 +01:00
gregoirenovel
8c1eeb9f25
[ Fix #1011 ] Change the “Enregistrer un brouillon” button behaviour
...
And add the “Voir mes brouillons et dossiers”
button
2017-12-21 15:05:13 +01:00