Frederic Merizen
d919d62cf7
[ Fix #1012 ] Send dossier to other accompagnateur
2018-02-01 16:58:01 +01:00
gregoirenovel
f306dd636e
Refactor some complex code
2018-01-30 16:56:49 +01:00
gregoirenovel
2da724d681
Remove an unused Gestionnaire method and its tests
...
The tests would fail with rails 5.1
2018-01-30 16:56:49 +01:00
gregoirenovel
7ccae2c4f1
render nothing: true has been removed from Rails
...
Use head instead
2018-01-30 16:56:49 +01:00
gregoirenovel
3fa9774123
params is now an object and no longer a hash
2018-01-30 16:56:46 +01:00
gregoirenovel
6afaf42e6a
The "through" relation used in a HasManyThrough must be declared first
2018-01-30 16:40:04 +01:00
gregoirenovel
25aef60354
Use string interpolation
2018-01-30 15:50:52 +01:00
gregoirenovel
c9a79b4f08
Use map when possible
2018-01-30 15:50:52 +01:00
gregoirenovel
5b62bc4f12
Use transform_keys when possible
2018-01-30 15:45:32 +01:00
gregoirenovel
db8c3030e3
Use transform_values when possible
2018-01-30 15:45:32 +01:00
gregoirenovel
b2fe1b856c
Use #sum instead of #inject when possible
2018-01-30 15:45:32 +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
Mathieu Magnin
50abb36c81
[ Fix #1309 ] Format datetime before save
2018-01-30 13:49:16 +01:00
Mathieu Magnin
dcb38d79a3
[ Fix #1309 ] Datetime value should be print with yyyy-mm-dd format
2018-01-30 13:49:16 +01:00
Paul Chavard
fdd6cedeb8
Remove data_provide
and data_date_format
attributes
2018-01-30 13:49:16 +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
Mathieu Magnin
ce5ce78eff
[ Fix #1291 ] Add CGU link to invite_admin mail template
2018-01-29 11:08:20 +01:00
Mathieu Magnin
11dbc595c7
Store in constant CGU url
2018-01-29 11:08:19 +01:00
Frederic Merizen
506a505477
[ #1360 ] Upgrade SmartListing to fork of 1.2.1
2018-01-25 17:47:10 +01:00
gregoirenovel
1c78d77c30
Bump default gems
...
- haml-rails
- jquery-rails
- unicorn
- openid_connect
- omniauth-github (dependencies)
- fog
- mailjet
- smart_listing
- spreadsheet_architect
- apipie-rails
- maruku
- openstack
- browser
- skylight
- simple_form
- scenic
- daemons
- sentry-raven
- administrate (dependencies)
- logstasher
- chartkick
- font-awesome-rails
2018-01-23 16:26:56 +01:00
gregoirenovel
d2f7c655d7
Bump development gems
...
- brakeman
- web-console
- xray-rails
- haml-lint
- scss_lint
2018-01-23 16:26:56 +01:00
Mathieu Magnin
469aca999b
Revert "Remove data_provide
and data_date_format
attributes"
...
This reverts commit 273b3f2faf
.
2018-01-19 13:20:53 +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
Frederic Merizen
9b4ce1517c
Use lambda instead of send for etablissement tag
2018-01-18 18:35:07 +01:00
Frederic Merizen
8f41ab89cf
[ #1203 ] Do not include champs privés in accusé de réception
2018-01-18 18:26:14 +01:00
Frederic Merizen
a21dee680d
[ #1203 ] Define tags in constants rather than methods
2018-01-18 18:26:14 +01:00
Frederic Merizen
db5bf39e32
[ #1203 ] No implicit available_for_states, make it explicit
2018-01-18 18:26:14 +01:00
Frederic Merizen
21ad13cf74
[ #1203 ] Make all tags multi-line
2018-01-18 18:26:14 +01:00
Frederic Merizen
943fef3160
[ #1203 ] Move all tag definitions to mail template concern
...
Even the one that is mail-specific, because it is too easy to overlook
it when refactoring otherwise
2018-01-18 18:26:14 +01:00
Frederic Merizen
eebab14954
[ Fix #1203 ] No début d’instruction tag in accusé de réception mails
...
Doesn’t make sense functionnally
2018-01-18 18:26:14 +01:00
Frederic Merizen
9f7ffddb31
[ #1203 ] Allow filtering tags based on an arbitray status
2018-01-18 18:26:14 +01:00
Paul Chavard
26b1de5883
[ Closes #1170 ] Put tps-dev (staging) environement behind a BasicAuth
2018-01-18 18:09:46 +01:00
gregoirenovel
5723c4c894
Remove any reference to the SGMAP
2018-01-18 17:39:56 +01:00
Mathieu Magnin
d945001e0a
[ Fix #1302 ] sanitize_url can deal with nil values
2018-01-18 17:35:19 +01:00
Paul Chavard
e42626c588
Add user info to LogStasher
2018-01-18 17:14:42 +01:00
Paul Chavard
273b3f2faf
Remove data_provide
and data_date_format
attributes
2018-01-18 15:13:48 +01:00
gregoirenovel
f6c0edc5a3
[ Fix #1292 ] Link to avis, not dossier for expert search results
2018-01-18 11:22:08 +01:00
gregoirenovel
813844f9db
Enable the Layout/TrailingWhitespace cop
2018-01-18 10:55:08 +01:00
gregoirenovel
d30ea70c08
Enable the Layout/SpaceInsideParens cop
2018-01-18 10:53:35 +01:00
gregoirenovel
b138dcd876
Enable the Layout/SpaceInsideHashLiteralBraces cop
2018-01-18 10:53:35 +01:00
gregoirenovel
897a30da0c
Enable the Layout/SpaceInsideBlockBraces cop
2018-01-18 10:53:34 +01:00
gregoirenovel
9ea1106503
Enable the Layout/SpaceInLambdaLiteral cop
2018-01-18 10:53:34 +01:00
gregoirenovel
3e93bd3615
Enable the Layout/SpaceBeforeComma cop
2018-01-18 10:53:34 +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
ae1498d786
Add some attributes in Administrateur dashboard
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
a5aeaf988a
Add delayed_job link in sidebar
2018-01-17 18:04:23 +01:00
Mathieu Magnin
3aa6357d66
Show 20 procedures in administrateur#show (default was 5)
2018-01-17 18:04:22 +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
Paul Chavard
6a43248cb3
Fix CSS injection
2018-01-16 14:02:10 +01:00
gregoirenovel
7c93b2a0c2
.map -> .pluck when possible
2018-01-16 13:23:29 +01:00
gregoirenovel
80ed589a17
Use string interpolation
2018-01-16 11:08:57 +01:00
gregoirenovel
83be054884
.map.flatten -> .flat_map
2018-01-16 11:08:56 +01:00
gregoirenovel
c3754a173f
Use map instead of inject
2018-01-16 11:08:56 +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
gregoirenovel
a050bc20de
Add a dossiers_from_avis relation to Gestionnaire
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
Paul Chavard
0cf40f4f18
Add invitation related methods to administrateur model
2018-01-16 10:49:07 +01:00
Paul Chavard
5a984a3637
Add admin invitation mailer
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
14c1747645
Enable the Layout/MultilineArrayBraceLayout 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
3363e21427
Enable the Layout/IndentAssignment cop
2018-01-15 22:33:12 +01:00
gregoirenovel
9e0e553f80
Enable the Layout/IndentArray cop
2018-01-15 22:33:12 +01:00
gregoirenovel
5125cf8396
Enable the Layout/FirstParameterIndentation cop
2018-01-15 22:14:39 +01:00
gregoirenovel
9f855afdfe
Enable the Layout/FirstHashElementLineBreak cop
2018-01-15 22:14:38 +01:00
gregoirenovel
08ed400ec2
Enable the Layout/FirstArrayElementLineBreak cop
2018-01-15 22:14:38 +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
8e26a50f16
FC service: clean syntax
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
ec69be0f7b
FC ParticulierClient: simplier initializer
2018-01-15 17:00:26 +01:00
Simon Lehericey
0d46f92795
FC: move FC constants under particulier namespace
2018-01-15 16:59:50 +01:00
simon lehericey
4c2da46dd8
FC ParticulierClient: simplier initialize
2018-01-15 16:59:48 +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
aedafbaf2e
!foo.blank? -> 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
Mathieu Magnin
e3ec8643db
In manager display libelles with line breaks
2018-01-11 11:03:34 +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
1ebaab51de
Show procedure.whitelisted_at in administrate
2018-01-10 18:17:05 +01:00
Mathieu Magnin
4c0592d631
Rails-ish route
2018-01-10 18:17:05 +01:00
gregoirenovel
608a8eaf67
Abstract the Procedure whitelisting
2018-01-10 17:58:10 +01:00
gregoirenovel
289461d708
Handle the GitHub org rename: sgmap -> betagouv
2018-01-10 17:26:25 +01:00
Simon Lehericey
6f0c3ebc11
Whitelist: send the alert mail to equipe
2018-01-10 17:18:44 +01:00
simon lehericey
53687bf84a
Whitelist: add whitelist button in admin
2018-01-10 17:18:44 +01:00
Simon Lehericey
202d0489a1
Whitelist: links from mail to admin
2018-01-10 17:18:44 +01:00
Mathieu Magnin
440c2b5dd1
[ Fix #1098 ] add administrate custom layout to add logout link
2018-01-10 13:44:02 +01:00
Mathieu Magnin
d8d2ecf515
[ Fix #1098 ] Administrateur dashboard
2018-01-10 13:44:02 +01:00
Mathieu Magnin
c7b3bb0733
[ Fix #1098 ] Custom TypesDePieceJustificativeField for Administrate
2018-01-10 13:44:01 +01:00
Mathieu Magnin
51b94e2f53
[ Fix #1098 ] Custom TypesDeChampCollectionField for Administrate
2018-01-10 13:44:01 +01:00
Mathieu Magnin
65f0859357
[ Fix #1098 ] Using custom views to remove edit and delete button from index
...
This can be reverted when Administrate gem will include this fix : https://github.com/thoughtbot/administrate/pull/597 (>=0.5.0)
2018-01-10 13:44:00 +01:00
Mathieu Magnin
d0de9b9ae2
[ Fix #1098 ] Add procedures dashboard
2018-01-10 13:44:00 +01:00
Simon Lehericey
1473577131
[ fix #1033 ] Procedure Edition: add position field to order the champs
2018-01-10 13:27:22 +01:00
Frederic Merizen
56749769d6
[ Fix #1186 ] Rename object to subject for mail templates
2018-01-09 16:00:31 +01:00
Frederic Merizen
7f040a5cf8
[ Fix #1037 ] Add date tags to mail / attestation templates
...
- date de dépôt
- date de passage en instruction
2018-01-09 11:30:54 +01:00
Frederic Merizen
935a38bde0
[ #1037 ] Introduce format-date
function
2018-01-09 11:30:54 +01:00
gregoirenovel
fdf240cf31
Improve the wording on the “New from existing” page
2018-01-09 11:07:26 +01:00
gregoirenovel
c77558aeed
Correctly handle errors when cloning someone else’s procedure
2018-01-09 11:07:26 +01:00
gregoirenovel
a1275af55f
Use the path helper in the new procedure template
2018-01-09 11:05:19 +01:00
gregoirenovel
093d853ecc
Fix some buggy error handling code in Admin::ProcedureController#clone
2018-01-09 11:05:19 +01:00
Frederic Merizen
63ca52792b
[ #1110 ] Remove legacy tags
2018-01-09 10:39:10 +01:00
simon lehericey
2bc61f9f3f
[ fix #1097 ] Accent insensitive search
2018-01-09 10:29:54 +01:00
simon lehericey
6a2b575027
[ fix #1097 ] Add whitelist mechanisme to procedure
2018-01-09 10:29:54 +01:00
simon lehericey
f1b7a03b63
[ fix #1097 ] Add job to monitor procedures
2018-01-09 10:29:54 +01:00
simon lehericey
d7d5d7eff4
Rename new_admin_mailer to administration_mailer
2018-01-09 10:29:54 +01:00
gregoirenovel
3f2876faf6
[ Fix #1129 ] Simplify the terms checkbox message
2018-01-08 17:14:51 +01:00
gregoirenovel
301eb411cd
Remove two opensimplif-related files
...
They seem unused
2018-01-08 17:03:41 +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
75a3d0f3db
[ #1110 ] use modern rather than legacy tags in default mail templates
2018-01-05 17:42:25 +01:00
Frederic Merizen
deea23139f
[ #1110 ] Use TagsSubstitutionConcern as engine for mail template tags
2018-01-05 17:42:25 +01:00
Frederic Merizen
ab63f80080
[ #1110 ] Motivation and date de décision are only tags for terminé dossiers
2018-01-05 16:35:29 +01:00
Frederic Merizen
e985439416
[ #1110 ] Use tags method rather than ALLOWED_TAGS class constant
2018-01-05 12:48:07 +01:00
Frederic Merizen
b9a1f707f5
[ #1110 ] name => libelle in mail templates
...
to match attestation templates
2018-01-05 12:48:07 +01:00
Frederic Merizen
8d77cd58c6
[ #1110 ] Make linked procedure available to mail model
2018-01-05 12:48:07 +01:00
Frederic Merizen
ad0462f7ff
[ #1110 ] Port libellé procédure tag from mail templates
2018-01-05 11:51:08 +01:00
Frederic Merizen
ee109b24e3
[ #1110 ] Port date de décision tag from mail templates
2018-01-05 11:51:08 +01:00
Frederic Merizen
6a85094e1a
[ #1110 ] Make processed_at date available for attestation generation
2018-01-05 11:51:08 +01:00
Frederic Merizen
3dfc37826a
[ #1110 ] Extract document template concern from attestation template class
2018-01-05 10:57:27 +01:00
Frederic Merizen
b603af1ec7
[ #1110 ] Simplification: directly use symbols
2018-01-04 16:20: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
gregoirenovel
6191640262
[ Fix #1102 ] Add more information to the avis confidentiality warning
2017-12-22 10:32:54 +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
a55463c164
Remove the dossier number from the dossier processing popover
...
- One popup_title wasn’t written so that its
combination with the dossier number made sense
- The number is already visible on the page
- The number is not that important to make a
decision (the context it adds does not have
so much value)
2017-12-21 17:42:53 +01:00
gregoirenovel
85a01a4638
Fix typos and unify the wording for dossier processing
2017-12-21 17:42:53 +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
gregoirenovel
84b05a348e
[ Fix #525 ] Improve the wording of the attestation template footer label
2017-12-20 19:57:31 +01:00
gregoirenovel
280d4af5ee
Forgot to replace some commentaires/messages paths in #1122
2017-12-19 16:50:31 +01:00
Mathieu Magnin
77c28144cb
Space out select labels
2017-12-19 13:55:02 +01:00
gregoirenovel
bab4b4711a
Merge pull request #1122 from sgmap/messagerie
...
Commentaire -> message
2017-12-19 13:12:40 +01:00
gregoirenovel
2b294e2a95
[ Fix #1123 ] Remove the beta banner in production
2017-12-19 11:48:21 +01:00
gregoirenovel
a28bf91356
Commentaire -> message
2017-12-18 14:20:41 +01:00
gregoirenovel
046e1cf8f3
Mutualize some code in an avis form partial
2017-12-15 18:54:55 +01:00
gregoirenovel
ec9758a946
Mutualize some code code into a messagerie partial
2017-12-15 18:37:44 +01:00
gregoirenovel
0c995b63cf
Move the avis list partial in the shared folder
2017-12-15 18:37:44 +01:00
gregoirenovel
e4f7f20698
Mutualize some accompagnateur show template code in a partial
2017-12-15 18:37:44 +01:00
gregoirenovel
60c845986c
Remove some unused locals in the champs partial inclusions
2017-12-15 18:37:44 +01:00
gregoirenovel
0a185fb76b
Remove useless ids in the new Avis templates
2017-12-15 18:37:44 +01:00
gregoirenovel
15098d9fa2
Forgot to change some paths after the renaming in #1114
2017-12-15 18:28:08 +01:00
LeSim
bd29b3c4f8
[ fix #1039 ] hide a procedure release its procedure_path
2017-12-15 17:57:34 +01:00
LeSim
6ca6669144
ProcedureController: remove unused destroy method
2017-12-15 17:57:34 +01:00
LeSim
899f2a91dd
DossierListFacades: remove useless total_new_dossier and new_dossier_number
2017-12-15 17:38:39 +01:00
Simon Lehericey
640a42d6cc
DossierListFacade: use en_construction scope
2017-12-15 17:37:30 +01:00
Simon Lehericey
40b9a77395
Dossier: replace nouveau scope by en_construction
2017-12-15 17:37:30 +01:00
Simon Lehericey
4be6cb9126
Dossier: delete state_nouveaux which is similar to en_construction
2017-12-15 17:37:30 +01:00
LeSim
7cc69de543
Dossier: remove useless state methods and const
2017-12-15 17:37:30 +01:00
gregoirenovel
4cb84e556d
Update a class’ name
2017-12-15 15:55:24 +01:00
gregoirenovel
be1ce69f47
Improve a partial’s and a partials folder's names
2017-12-15 15:55:24 +01:00
Simon Lehericey
9c354e18eb
[fix 363] Dossier: remove next_step!
2017-12-15 15:43:30 +01:00
Simon Lehericey
e78f5b3a2d
[fix 363] Dossier: remove next_step! role var
2017-12-15 15:43:30 +01:00
Simon Lehericey
201862d450
[fix 363] Dossier: remove next_step! action = initiate, role = user
2017-12-15 15:43:30 +01:00
Simon Lehericey
907db89371
[fix 363] Dossier: remove next_step! action = follow
2017-12-15 15:43:30 +01:00
Simon Lehericey
11c010859c
[fix 363] Dossier: remove next_step! action = update
2017-12-15 15:43:30 +01:00
Simon Lehericey
629cccbf27
[fix 363] Dossier: remove next_step! action = comment
2017-12-15 15:43:30 +01:00
gregoirenovel
fb392d87c9
Improve the style of the messagerie form
...
Reduce the space between the messages and the
new message textarea
2017-12-15 14:42:41 +01:00
Simon Lehericey
c83552f423
[ fix #504 ] Dossier: without_continuation -> sans_suite
2017-12-15 12:10:54 +01:00
Simon Lehericey
2be9b8d2ba
[ fix #504 ] Dossier: refused -> refuse
2017-12-15 12:10:54 +01:00
Simon Lehericey
a13256f73d
[ fix #504 ] Dossier: closed -> accepte
2017-12-15 12:10:54 +01:00
LeSim
3dda27b281
[ fix #504 ] Dossier: received -> en_instruction
2017-12-15 12:10:54 +01:00
Simon Lehericey
72bae2c374
[ fix #504 ] Dossier: draft -> brouillon
2017-12-15 11:52:09 +01:00
LeSim
56545933a9
[ fix #504 ] Dossier: initiated -> en_construction
...
The change must not impact the api
2017-12-15 11:52:09 +01:00
Mathieu Magnin
5c46db3b3d
Improve messagerie readability
2017-12-15 11:01:48 +01:00
gregoirenovel
9766a48d64
Mutualize a duplicated render instruction
2017-12-15 10:50:58 +01:00
Mathieu Magnin
3927e5ebf9
If answer is missing on avis, notify on avis tab
2017-12-15 10:43:36 +01:00
gregoirenovel
2def3ecd20
Annotations privées look odd in a card
2017-12-14 18:32:48 +01:00
gregoirenovel
95ad67a9ad
Add more spacing below the accompagnateur-header
...
So that the design feels less cramped
2017-12-14 18:32:48 +01:00
gregoirenovel
64f9f087a0
Add some spacing to tab paragraphs and lists
...
Otherwise the personnes impliquées tab looks odd
2017-12-14 18:32:48 +01:00
gregoirenovel
9ec61a6a73
Remove the featured styling on the annotations privées tab content
2017-12-14 18:32:48 +01:00
gregoirenovel
6cc81db025
Remove a useless title
...
We do not repeat the tab title in the tab
2017-12-14 18:32:48 +01:00
Frederic Merizen
94f1a1fa0c
[ Fix #866 ] Allow use of non-breaking spaces in balise in attestation template
2017-12-14 17:22:21 +00:00
gregoirenovel
c16ca6adb1
[ Fix #1041 ] Use the tab-title style for tab titles
2017-12-14 16:39:41 +01:00
gregoirenovel
4f0e6ae467
Use the tab-title class instead of an unknown class
2017-12-14 16:39:41 +01:00
gregoirenovel
191a5a1dee
Mutualize some CSS into a class
2017-12-14 16:39:41 +01:00
gregoirenovel
b2c8a32fcd
Rename accompagneur-title to page-title
2017-12-14 16:39:41 +01:00
gregoirenovel
13d8d4bfd4
Add missing locals to partials called in the print template
2017-12-14 15:47:40 +01:00
Mathieu Magnin
7d668315db
[ Fix #1016 ] display notifications for annotations privées
2017-12-14 13:57:20 +01:00
Mathieu Magnin
c3e7e39947
[ Fix #1016 ] display notifications for avis
2017-12-14 13:57:20 +01:00
Mathieu Magnin
8e67e5c057
[ Fix #1016 ] display notifications for new messages
2017-12-14 13:57:19 +01:00
Mathieu Magnin
5474ff8bb4
[ Fix #1016 ] display notifications on PJ
2017-12-14 13:57:19 +01:00
Mathieu Magnin
c6be745067
[ Fix #1016 ] display notifications for champs publics
2017-12-14 13:57:15 +01:00
LeSim
c3b4e3f964
[ fix #1067 , fix #1030 ] AvisController inherit from GestionnaireController
...
Should not break anything as avis controller already supposed a gestionnaire is logged in.
2017-12-14 11:43:20 +01:00
Mathieu Magnin
d901852e09
Fix sentry issue #2139 when published_at is nil
2017-12-14 10:45:17 +01:00
Frederic Merizen
21bb04d74e
[ fix #1066 ] Fix links to related dossier for experts
...
- link to full dossier if gestionnaire is affected on procedure
- link to avis if avis expert requested on related dossier
2017-12-13 10:28:16 +00:00
gregoirenovel
1bd4ebbb3b
Improve the patron
2017-12-12 14:53:36 +01:00
gregoirenovel
de4d8b0297
[ Fix #1056 ] Use a span instead of a div for icons
2017-12-12 14:51:44 +01:00
gregoirenovel
060c607772
Add link to the FAQ website in the footer
2017-12-12 10:11:13 +01:00
gregoirenovel
04d17a2ed0
[ Fix #1078 ] Fix a crasher in HtmlToStringHelper
2017-12-12 10:06:50 +01:00
Simon Lehericey
271abc72fb
[ fix #1065 ] Change logout logo for plain text
2017-12-11 17:00:45 +01:00
Simon Lehericey
77907b66d7
[ fix #1053 ] An Administrateur can choose the final dossier states
...
! before going to production :
- stopping the current AutoReceiveJob
- relaunch the jobs with previous id and state = 'received'
2017-12-11 16:34:00 +01:00
Simon Lehericey
b02282c1d0
[ fix #1000 ] export name and first name in api
2017-12-11 15:29:56 +01:00
Simon Lehericey
a05217b364
[ fix #1014 ] strip html tags in annotations_privees
2017-12-11 12:40:12 +01:00
Simon Lehericey
6e97209b82
Form text_area: respect new line
2017-12-11 11:56:18 +01:00
Simon Lehericey
b551ae8097
[ fix #1015 ] New UI: add attachment history
2017-12-07 17:04:41 +01:00
Simon Lehericey
4014912ea4
[ fix #1042 ] keep footer only for the landing
2017-12-07 16:32:22 +01:00
gregoirenovel
e26911a47a
An Etablissement’s libelle is its Libellé NAF, not its name
2017-12-07 16:26:59 +01:00
gregoirenovel
3cbead5b48
Add link to the documentation in the footer
2017-12-07 16:15:44 +01:00
gregoirenovel
0d22ecfe5a
Delete the CGU-related files and mentions
2017-12-07 16:15:44 +01:00
gregoirenovel
1c413eeec4
[ Fix #1036 ] Change the links to the CGU: use the GitBook version
2017-12-07 16:15:37 +01:00
gregoirenovel
9a51940024
[ Fix #393 ] In the footer, mentions légales link -> API doc link
2017-12-07 16:15:37 +01:00
gregoirenovel
d6b093fd2c
Do not add filters with blank values
2017-12-06 17:26:45 +01:00
gregoirenovel
8e07ade8b2
Correctly filter date columns
2017-12-06 17:26:45 +01:00
Simon Lehericey
cf9303bd7e
[ fix #1047 ] Fix encoding problem in carto with IE
...
We could have also use encodeURIComponent(url)
2017-12-06 16:17:13 +01:00
gregoirenovel
d75a3872d1
[ Fix #963 ] Add a "personnes impliquées" tab
2017-12-05 17:04:17 +01:00
Simon Lehericey
e709b773b1
Logo: add a11y
2017-12-05 11:33:44 +01:00
Simon Lehericey
6c73766e0d
[ fix #1013 ] fix logo on ie11
2017-12-05 11:17:34 +01:00
gregoirenovel
407c578f68
Delete the SGMAP link from the footer
2017-12-04 16:47:05 +01:00
Mathieu Magnin
9bc5545bdd
Remove N+1 query on Dossier#show
2017-12-01 17:45:57 +01:00
gregoirenovel
cabfee44db
Rename a class to better reflect its contents
2017-12-01 14:28:07 +01:00
gregoirenovel
2d9313b10b
Rename the close icon to refuse
2017-12-01 14:28:07 +01:00
gregoirenovel
dd47f96424
Improve the names of some parameters in DossiersController
2017-12-01 14:28:07 +01:00
gregoirenovel
684dafb6d4
Remove now obsolete code
2017-12-01 14:28:07 +01:00
gregoirenovel
a04af24cbf
Add DossiersController#terminer
2017-12-01 14:28:07 +01:00
gregoirenovel
a5b4b20a7d
Add DossiersController#repasser_en_construction
2017-12-01 14:28:07 +01:00
gregoirenovel
eb55dfc0c8
Add and use DossiersController#passer_en_instruction
2017-12-01 14:28:07 +01:00
Simon Lehericey
e2bbd2a37a
[ fix #992 ] export: dossiers are order by initiated_at
2017-12-01 13:45:53 +01:00
Mathieu Magnin
a3b93229e9
[ Fix #1002 ] Use partial in print view, and style messagerie in print mode to display all messages
2017-12-01 12:30:16 +01:00
Mathieu Magnin
53bb7b07da
[ Fix #775 ] If champ type is a multiple drop down list then display it properly
2017-12-01 12:23:19 +01:00
gregoirenovel
d23c3c42a2
In new UI CSS and templates, backoffice -> accompagnateur
2017-12-01 11:53:48 +01:00
Simon Lehericey
fe9ac727de
[ fix #872 ] apientrepise: use v2 endpoints
2017-12-01 11:26:40 +01:00
Mathieu Magnin
19a951d103
[ Fix #1023 ] If old commentaire.PJ is present, then display it
2017-12-01 10:14:02 +01:00
gregoirenovel
6c785d71b4
Simplify code in NewGestionnaire::DossiersController
...
We already have procedure: it is given by
ProceduresController, which this controller
inherits form
2017-11-30 17:18:32 +01:00
Simon Lehericey
bbcf350d7d
[ fix #997 ] New Style: allow new line in messagerie
2017-11-30 16:07:48 +01:00
gregoirenovel
e42a0d55e7
Do not center data in tables
2017-11-29 14:12:15 +01:00
gregoirenovel
835567f129
Correctly display the notification column header in Chrome
2017-11-29 14:12:15 +01:00
gregoirenovel
98bd0f3553
[ Fix #994 ] Correctly display the archive button in Chrome
2017-11-29 14:12:15 +01:00
Simon Lehericey
68682fe78d
[ fix #873 ] add motivation in case of refused or without continuation dossier
2017-11-29 14:06:32 +01:00
gregoirenovel
2c901efbb1
Fix print page crasher
...
A partial was renamed in #937 but the renaming
was not reflected in this template
2017-11-29 11:38:14 +01:00
gregoirenovel
731e1b6787
[ Fix #164 ] Make the organisme field mandatory
2017-11-29 10:36:22 +01:00
gregoirenovel
db3e07820a
[ Fix #929 ] Add a current-tab only print feature
2017-11-28 15:22:50 +01:00
gregoirenovel
3c5361a96f
Correctly handle the print stylesheet
2017-11-28 15:22:50 +01:00
gregoirenovel
10f1859a2a
Properly style the button when there is a motivation or attestation
2017-11-28 15:21:34 +01:00
gregoirenovel
5c92989fc8
Properly style the label when there is no motivation nor attestation
2017-11-28 15:21:34 +01:00
gregoirenovel
e3ce5115a2
Rename two classes so that they are more meaningful
2017-11-28 15:21:34 +01:00
Mathieu Magnin
fa95c312ff
Old UI : Plug messagerie on new commentaire file system
2017-11-28 15:07:10 +01:00
Mathieu Magnin
eae16f7746
New UI : Regular messagerie and avis messagerie should use same partials
2017-11-28 15:07:10 +01:00
Mathieu Magnin
886d278d77
New UI : Move messagerie template in order to share them later
2017-11-28 15:07:10 +01:00
Mathieu Magnin
150ff5e7ca
New UI : Use RemoteDownloader class to hide ovh url
2017-11-28 15:07:10 +01:00
Mathieu Magnin
7ea7eea952
New UI : Style file uploader
2017-11-28 15:07:10 +01:00
Mathieu Magnin
7f4652fd1e
New UI : Accept only few extensions
2017-11-28 15:07:10 +01:00
Mathieu Magnin
4d12aa222c
Validate body is present
2017-11-28 15:07:10 +01:00
Mathieu Magnin
6c39aba978
Validates commentaire file size
2017-11-28 15:07:10 +01:00
Mathieu Magnin
76cb54988d
Validate virus free with Clamav
2017-11-28 15:07:10 +01:00
Mathieu Magnin
158adc2472
New UI : Check if commentaire is correctly saved
2017-11-28 15:07:10 +01:00
Mathieu Magnin
ae5e6653cb
[ Fix #888 ] New UI : Add upload on commentaire form
2017-11-28 15:07:09 +01:00
Mathieu Magnin
5775901868
Add commentaire file uploader
2017-11-28 15:07:09 +01:00
Simon Lehericey
28a047a64b
[ Fix #508 ]Api GeoJson: export dossier.json_latlngs to geojson
2017-11-28 14:41:08 +01:00
Simon Lehericey
f34546cf2a
[ Fix #508 ]Api GeoJson: export cadastre
2017-11-28 14:37:12 +01:00
Simon Lehericey
9f2338a70a
[ Fix #508 ]Api GeoJson: export quartier_prioritaire
2017-11-28 14:37:12 +01:00
Mathieu Magnin
d9e3efdf13
[ Fix #98 ] If there is no dossiers do not show export button
2017-11-28 10:24:36 +01:00
Mathieu Magnin
4e91ede69f
Move export button in partial
2017-11-28 10:23:42 +01:00
gregoirenovel
2415d628d1
[ Fix #160 ] Delete the remaining link to our staging environment
2017-11-24 17:08:56 +01:00
Mathieu Magnin
4a483e23bb
[ Fix #957 ] Use select2 for all menu deroulant
...
Displays options that are too long on mutilple lines
2017-11-24 15:36:39 +01:00
gregoirenovel
b6e0b40133
Do not crash if the user has no DOB
...
Related to #986
2017-11-23 15:24:34 +01:00
Mathieu Magnin
8edfdff0fc
[Fix#980] Engagement checkbox should be checked sometimes
2017-11-23 09:40:44 +01:00
Simon Lehericey
d9f44e013a
[ fix #878 ] change motivation text and display a label if not action is possible
2017-11-23 09:34:19 +01:00
Simon Lehericey
e28b18d978
Dossier: add statut method
2017-11-23 09:34:18 +01:00
Simon Lehericey
f9c2da7a5d
Style: change label class form closed to success
2017-11-23 09:34:14 +01:00
gregoirenovel
1d7e7fc654
[ Fix #432 ] Stop raising a useless exception in get_position
...
When an accompagnateur, in the old UI, wants to
see a map, this call crashes because he’s not
the owner or invitee on the dossier he’s looking
at, therefore current_user_dossier raises an
exception
2017-11-22 17:49:32 +01:00
gregoirenovel
5361e4e1e9
[ Fix #871 ] Add the date at the end of exported files
2017-11-22 17:27:57 +01:00
gregoirenovel
339d493602
Fix the display of the accompagnateur contact popover
2017-11-22 11:24:18 +01:00
gregoirenovel
c8e62ad095
recherches -> recherche
2017-11-22 10:48:38 +01:00
gregoirenovel
bf4873af0a
Add missing title to the recherche page
2017-11-21 18:21:59 +01:00
gregoirenovel
303e5285e9
[ Fix #962 ] In new UI, add link on “dossier_link” field values
2017-11-21 18:05:34 +01:00
Mathieu Magnin
b4b394bf18
If user_return_to procedure is invalid then remove it from session
2017-11-21 17:53:16 +01:00
Simon Lehericey
a71574b8dd
[ fix #445 ]: add title to pages
2017-11-21 17:47:27 +01:00
gregoirenovel
481c38dee2
[ Fix #896 ] Add a visible contact dialog for gestionnaires
2017-11-21 16:49:25 +01:00
gregoirenovel
a46aa83f00
Use a class instead of a tag as a tab link selector
2017-11-21 16:49:25 +01:00
gregoirenovel
496087ead9
Use CSS variables when possible
2017-11-21 16:48:13 +01:00
gregoirenovel
d5954c7423
Show links to uploaded pieces justificatives in drafts
2017-11-21 16:46:43 +01:00
Simon Lehericey
68ea1ca1bd
[ fix #879 ] Civilite: display inline
2017-11-21 10:48:08 +01:00
Simon Lehericey
3dd2b7fd1d
[ fix #879 ] Yes_No: use standard order and display inline
2017-11-21 10:48:08 +01:00
Mathieu Magnin
7bfafb6fc2
Fix export for yes_no champs
2017-11-21 10:36:24 +01:00
gregoirenovel
379e7b74d6
Enable all the rubicop perf cops
2017-11-21 10:31:16 +01:00
gregoirenovel
8997f57d21
Remove a now useless JS statement
...
This is now done in init.js
2017-11-21 10:30:50 +01:00
gregoirenovel
899e20ebcc
Fix multiple-selection values display when no value is given
2017-11-21 10:03:56 +01:00
Simon Lehericey
2b146a6d62
Notifications: show dossiers with notification in first place
2017-11-20 17:22:52 +01:00
gregoirenovel
f856077660
[ Fix #908 ] Display multi-selection values in a list
2017-11-20 17:05:08 +01:00
gregoirenovel
9b0415eed7
Use a case statement in _champs.html.haml
2017-11-20 17:05:07 +01:00
gregoirenovel
a3cc86a62e
[ Fix #683 ] Remove the white background from some icons
2017-11-20 15:59:39 +01:00
gregoirenovel
dbdd7098e3
Remove a now outdated message
2017-11-20 14:37:17 +01:00
gregoirenovel
5eb9d6854c
Remove now useless encoding statements
...
As utf-8 is the default encoding since Ruby 2,
this is no longer needed
2017-11-20 14:14:00 +01:00
Mathieu Magnin
b187e7163a
Remove demo accounts routes
2017-11-16 12:36:58 +01:00
Mathieu Magnin
36491230bb
Rename variable path_file => file_path
2017-11-16 12:28:07 +01:00
Mathieu Magnin
adaa1e0dec
[ Fix #939 ] Remove demo page in staging
2017-11-10 18:19:41 +01:00
Simon Lehericey
ed4e885e6f
Notification: new acknowledgment system
2017-11-10 16:29:45 +01:00
Simon Lehericey
f7d7cec5ae
Notification: use new notification system
2017-11-10 16:29:45 +01:00
Simon Lehericey
155a5f7826
Notification: add methods to retrieve notifications
2017-11-10 16:29:44 +01:00
Simon Lehericey
909ecf2142
Notification: add timestamp to champs, pieces jusitificatives and follows
2017-11-10 16:29:44 +01:00
Mathieu Magnin
da5dfdff40
Alert users after OVH outage
2017-11-09 12:09:45 +01:00
Simon Lehericey
9750af24d4
typo
2017-11-07 14:49:58 +01:00
Simon Lehericey
f7dc36364e
[ Fix #890 ] better display of rich text messagerie
2017-10-30 17:24:18 +01:00
Simon Lehericey
f4a8ff31b9
Champ: export multiple_drop_down_list as a [].join(', ')
2017-10-30 17:14:31 +01:00
Simon Lehericey
b658f8c8dc
Champ: export yes_no champ with oui non
2017-10-30 17:14:31 +01:00
Simon Lehericey
338911d1a8
[ fix #905 ] Champ: add for_export method which strips tag for textarea champ
2017-10-30 17:14:31 +01:00
Simon Lehericey
3f2419a2a3
Dossier: rename data_with_champs to to_sorted_values
2017-10-30 17:14:31 +01:00
Simon Lehericey
f0373f6bc2
Dossier: remove useless return
2017-10-30 17:14:31 +01:00
Simon Lehericey
d40c0d3b06
Select2: fr localization
2017-10-30 14:25:54 +01:00
Simon Lehericey
fc987a730d
[ Fix #925 ] strip avis email input
2017-10-30 14:19:20 +01:00
Simon Lehericey
92beb321a4
typo
2017-10-27 17:28:50 +02:00
Simon Lehericey
a4be8e709c
[ fix #872 ] Procedure Logo: fix overflow logo for ie11
...
Bug in ie11 linked to flex and image ratio
The only way to fix it so far and preserving image ratio is to use background image property
2017-10-25 16:04:18 +02:00
Mathieu Magnin
eabc24b432
Print champ description with simple format to display line breaks
2017-10-25 15:36:42 +02:00
Simon Lehericey
8dedf6fdca
[ fix #575 ] dossier updated_at is ... updated when children are updated
2017-10-24 18:12:25 +02:00
gregoirenovel
07ca2989bd
Align several mixed-types buttons properly
2017-10-23 15:21:34 +02:00
gregoirenovel
dc1615393b
Change the padding of icon-only buttons
...
So that they have the same height as buttons with
text
2017-10-23 15:21:34 +02:00
Mathieu Magnin
02c83766e5
[ Fix #839 ] Fix mail template modification by side effect
2017-10-23 14:36:52 +02:00
gregoirenovel
3e2f12a054
[ Fix #807 ] Increase the maximum number of columns to 5
2017-10-23 12:44:21 +02:00
gregoirenovel
8adca7e067
Increase the horizontal spacing in dossiers-table
2017-10-23 12:44:21 +02:00
gregoirenovel
f2b0a0d5bc
Decrease the vertical padding of dossiers-table th and .cell-link
2017-10-23 12:44:21 +02:00
gregoirenovel
23a6f5bae1
Properly align the dossier-table th
2017-10-23 12:44:21 +02:00
gregoirenovel
9c7ad9da91
Align the follow button to the right
2017-10-23 12:44:21 +02:00
gregoirenovel
40c4ef24a0
Change the width of the number, status and follow columns
2017-10-23 12:44:21 +02:00
gregoirenovel
1fc5264900
In SCSS files, use the class instead of the HTML tag when possible
2017-10-23 12:44:21 +02:00
gregoirenovel
b595ce9066
Reduce the font-size in the dossiers-table
2017-10-23 12:44:21 +02:00
gregoirenovel
b88490e559
Reduce the top margin of the dossiers table in the procedure page
2017-10-23 12:44:21 +02:00
gregoirenovel
1a4cef818d
Set the line-height of the labels
...
So that their heights are fixed
2017-10-23 12:44:21 +02:00
gregoirenovel
e2a8bdcbb3
Remove the phone number from the homepage
...
We only get calls from users wanting support,
not from administrations wanting a demo
2017-10-23 11:12:11 +02:00
Mathieu Magnin
a8ec374252
[ Fix #813 ] When a brouillon is created, send an email to user
2017-10-20 12:13:55 +02:00
Simon Lehericey
3dce5b9b5e
AttestationTemplate: store logo and signature with uuid
2017-10-19 15:32:04 +02:00
Simon Lehericey
ea2827134e
[ fix #850 ] Use UUID as a uniq identifier for the attestation
2017-10-19 15:02:01 +02:00
gregoirenovel
fe84ff9e6c
[ Fix #864 ] Warn the user when they click the delete draft button
2017-10-19 11:20:52 +02:00
gregoirenovel
7be86796c1
After deleting a brouillon, stay on the brouillon tab
...
Instead of redirecting on another tab
2017-10-19 11:20:52 +02:00
Mathieu Magnin
8c67339299
If date_publication is missing on rna_information, do not crash
2017-10-17 15:21:29 +02:00
gregoirenovel
9ea396cc8b
Avoid loading the association for the without_followers scope
...
As seen in https://stackoverflow.com/questions/5319400/want-to-find-records-with-no-associated-records-in-rails-3
2017-10-17 14:10:34 +02:00
Mathieu Magnin
08f76f336c
If not super admin do not display current month in cumul
2017-10-17 12:55:17 +02:00
gregoirenovel
df4bad9132
Fix the size and viewBox of several SVG icons
...
- So that they aren’t stretched by the
background-size attribute
- So that they are properly dimensioned compared
to other icons
- Note: the attachment icon is slightly different
2017-10-17 12:40:47 +02:00
gregoirenovel
e555c181e2
Fix the border for the selected header item
...
It now touches the bottom again
2017-10-17 12:04:26 +02:00
Mathieu Magnin
793a2aa4c4
Remove crisp because Benjamin left
2017-10-17 11:52:09 +02:00
gregoirenovel
29ff27eee9
[ Fix #848 ] Correctly format the dates in the Identité part
2017-10-17 11:32:26 +02:00
gregoirenovel
9e266ca0f4
Remove the .card div from the map partial
2017-10-17 11:31:59 +02:00
gregoirenovel
d42e438546
Extract the pieces jointes part into a partial
2017-10-17 11:31:59 +02:00
gregoirenovel
e053a40902
Don’t use the featured styling on Demande cards
2017-10-17 11:31:59 +02:00
gregoirenovel
2096f83a14
Extract the title from the card when showing the Pièce jointes
2017-10-17 11:31:59 +02:00
gregoirenovel
13ce8c28f0
Extract the title from the card when showing the Carte
2017-10-17 11:31:59 +02:00
gregoirenovel
bbb680e168
Extract the title from the card when showing the Identité
2017-10-17 11:31:59 +02:00
gregoirenovel
239324cdc4
Remove an extra blank line
2017-10-17 11:31:59 +02:00
Simon Lehericey
c9d4baa71b
Improve the styling of the Demande tab
2017-10-17 10:14:56 +02:00
Simon Lehericey
12223c21f1
[Ref #832 ] Improve the display of rich text in the Demande tab
2017-10-17 10:14:56 +02:00
Simon Lehericey
267591f27e
[ Fix #854 ] Give a length to libellé cells
2017-10-17 10:14:56 +02:00
gregoirenovel
fa2ee4797b
Don’t use an i
tag for icons
2017-10-17 10:02:28 +02:00
gregoirenovel
67f2d6599e
Add some more forgotten changes in #841
2017-10-17 10:01:26 +02:00
gregoirenovel
e3123ac320
[ Fix #849 ] Fix the display of icons in buttons
...
Some changes were forgotten in #841
2017-10-17 10:01:26 +02:00
gregoirenovel
e22014c0d5
Use underscores instead of dashes in filenames
2017-10-17 09:58:40 +02:00
Simon Lehericey
5257d20ba0
[fix #845 ] Attestation: affiche les dates au format français
2017-10-16 18:54:19 +02:00
gregoirenovel
8ec4ffde27
In vertical tables, invert the bold styling
...
the label is now in bold, and the value in a
normal weight:
- it is more usual
- it allows the value to contain bold styling
2017-10-16 10:59:09 +02:00
Simon Lehericey
741167abec
[ fix #832 ] sanitize user input
2017-10-16 10:49:54 +02:00
Simon Lehericey
4fab477b63
Style: scope icon style
2017-10-16 10:29:33 +02:00
gregoirenovel
316d8e09b5
Allow accompagnateurs to print a Dossier
2017-10-16 09:33:58 +02:00
Mathieu Magnin
0f945e2fea
Simplify mailer parameters to be serializable (even if mail_template.id is nil)
2017-10-13 21:27:17 +02:00
Mathieu Magnin
3ba5de88b6
[ Fix #839 ] Send notification email in async to avoid sending same email to different users
2017-10-13 17:41:02 +02:00
Simon Lehericey
965c9f9bf4
Header: better display
2017-10-12 09:10:22 +02:00
Simon Lehericey
6f4ddb9e3e
[ fix #728 ] Reduce flash error size to avoid cookies overflow
2017-10-12 09:02:54 +02:00
gregoirenovel
b2f63f7f38
Delete redis and actioncable
2017-10-12 07:21:02 +02:00
gregoirenovel
ab625093d7
[ Fix #802 ] Make the procedure’s stats clickable
...
They redirect directly to the right tabs
See http://kizu.ru/en/fun/nested-links/
for the dirty trick
2017-10-11 17:55:57 +02:00
Simon Lehericey
6a77dff916
[ fix #811 ]OpenStreetMap: use openstreetmap.org to provide the tiles
2017-10-11 15:13:02 +02:00
gregoirenovel
fd08bb8c57
Eager-load data for downloadable dossiers
...
So that the export is faster
2017-10-11 12:38:00 +02:00
gregoirenovel
8281a6474e
Force a single query for some includes
...
As explained in
https://blog.bigbinary.com/2013/07/01/preload-vs-eager-load-vs-joins-vs-includes.html
Otherwise the `where` fails because the `includes`
is done using another query
2017-10-10 18:33:20 +02:00
Mathieu Magnin
c5487657db
Create a Job that receive automatically each new dossier from a specific procedure
2017-10-06 17:49:31 +02:00
Mathieu Magnin
5eff915b9d
Add initiated_at to DossiersSerializer
2017-10-06 17:49:06 +02:00
Mathieu Magnin
17ce3885fd
Force commentaire order to avoid tests to fail randomly
2017-10-06 11:04:09 +02:00
gregoirenovel
c58a7abbd1
Capitalize the buttons’ labels
2017-10-06 10:49:38 +02:00
gregoirenovel
6daeac8a18
Invert the buttons order in the Dossier header
2017-10-06 10:33:36 +02:00
gregoirenovel
9466e6e0da
Make the hover style match the active style
2017-10-06 10:33:04 +02:00
gregoirenovel
fb769f4362
Improve the header navigation style
...
- The underline only underlines the text, not
the horizontal padding
- The underline does not overlap with the grey
border
2017-10-06 10:33:04 +02:00
Simon Lehericey
e20d403b20
DossierController: a archived dossier is not followed
2017-10-05 16:59:26 +02:00
Simon Lehericey
19b3416361
Gestionnaire: add unfollow method
2017-10-05 16:59:26 +02:00
Simon Lehericey
01da457ad0
DossierController: a dossier commented is followed
2017-10-05 16:59:26 +02:00
gregoirenovel
3bedb76701
[ Fix #791 ] Fix a typo preventing to download the Excel file
2017-10-05 16:53:57 +02:00
Simon Lehericey
c602efee18
Gestionnaire Legacy UI: fix nouveaux dossier list filter
2017-10-05 15:58:52 +02:00
gregoirenovel
044e0e69b8
Normalize the capitalisation of tab names in the Accompagnateur header
2017-10-05 15:48:18 +02:00
gregoirenovel
002ccf3552
In the Avis header, the Instruction tab is now Avis
2017-10-05 15:47:29 +02:00
gregoirenovel
0006d42874
Move the jobs logging handling in ApplicationJob
2017-10-05 15:42:48 +02:00
gregoirenovel
51f57d983e
Use ActiveJob
2017-10-05 15:42:48 +02:00
gregoirenovel
a611cace5f
Do not allow to filter by explication fields
2017-10-05 14:46:09 +02:00
gregoirenovel
c586474a45
Do not show explication fields to gestionnaires
2017-10-05 14:46:09 +02:00
Sylvain
8d7450da20
Fix special chars on homepage
...
Deux
LSEP apparaissent sur la home (Chrome, Windows, capture d'écran). Je les ai supprimé du fichier où ils apparaissent.
2017-10-05 13:45:05 +02:00
gregoirenovel
31b9f8950e
Increase the number of dossiers on the procedure page
...
Plus remove some trailing whitespace
2017-10-05 13:28:24 +02:00
gregoirenovel
0705efde30
Add filtering to the dossiers table
2017-10-02 17:45:22 +02:00
gregoirenovel
801318b053
Memoize statut
2017-10-02 17:45:22 +02:00
gregoirenovel
3df9356021
Add field sort to the dossiers table
2017-10-02 17:45:22 +02:00
gregoirenovel
88ad986143
Remove the ordering from the dossier scopes
2017-10-02 17:45:22 +02:00
gregoirenovel
b1cfd7e1bc
Extract the folders table header field into a partial
2017-10-02 17:45:22 +02:00
gregoirenovel
e1bdbec815
Allow the customization of the dossiers table
2017-10-02 17:45:22 +02:00
gregoirenovel
7036f9778b
Add ProcedurePresentation
2017-10-02 17:03:30 +02:00
Simon Lehericey
c049957bbe
Add disable_with on annotations_privees and avis
2017-09-29 17:16:32 +02:00
Simon Lehericey
69e5da1854
Avis Old UI: fix a path that have moved
2017-09-28 12:37:56 +02:00
Mathieu Magnin
e753c67ad6
Change WeeklyOverviewWorker for delayed_job
2017-09-27 16:47:32 +02:00
Mathieu Magnin
fbad15bc84
Change AutoArchiveProcedureWorker for delayed_job
2017-09-27 16:47:32 +02:00
Simon Lehericey
2b760c85c4
[ Fix #763 ] Add annotations_privees to buggy annotation system
2017-09-27 15:08:34 +02:00
Simon Lehericey
f2e1480c73
Notifications: add annotations_privees
2017-09-27 12:16:33 +02:00
Simon Lehericey
04d1e0f0e8
Notification: instruction -> avis
2017-09-27 12:16:33 +02:00
Simon Lehericey
f5a227fa92
[ Fix #762 ] move dossier instruction -> dossier annotations_privees
2017-09-27 12:16:33 +02:00
Simon Lehericey
a421f0257e
[ Fix #762 ] split annotations and avis
2017-09-27 12:08:55 +02:00
Simon Lehericey
fb5472d3f6
Dossier: remove a_instruire scope
...
As it s a duplication of en_instruction
2017-09-26 14:42:54 +02:00
Simon Lehericey
1cfeb10ce9
[ Fix #503 ] Dossier: remove updated
2017-09-26 14:42:54 +02:00
Simon Lehericey
633b55aca0
[ Fix #503 ] Dossier: remove replied
2017-09-26 14:42:54 +02:00
Simon Lehericey
030a11d98c
[ Fix #503 ] Dossier: remove unused ouvert state
2017-09-26 14:42:54 +02:00
Simon Lehericey
2eca14a731
DossierListGestionnaire: change a_traiter filter from ouvert to nouveau
2017-09-26 14:42:54 +02:00
Simon Lehericey
73357c5144
[ Fix #503 ] Dossier: Remove waiting for gestionnaire scope
2017-09-26 14:42:54 +02:00
Simon Lehericey
460cd3e237
[ Fix #503 ] Dossier: Remove waiting for user scope
2017-09-26 14:42:54 +02:00
Simon Lehericey
53f0a16186
BackofficeAvisController: make new avis confidentiel by default
2017-09-22 17:58:16 +02:00
Mathieu Magnin
45cf26e855
If type de champ has no dropdownlist do not crash, (sentry issue: https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1833/ )
2017-09-22 14:16:00 +02:00
Mathieu Magnin
64f4bcf257
Fix if gestionnaire is nil (sentry issue : https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1865/ )
2017-09-22 11:19:19 +02:00
Mathieu Magnin
356c16b1bc
Hide crisp default button, to avoid usagers to spam us
2017-09-22 10:29:49 +02:00
Mathieu Magnin
6a58873ba7
Add pagination on avis
2017-09-22 10:19:26 +02:00
Mathieu Magnin
3b3f4efa18
Design kaminari pagination
2017-09-22 10:19:25 +02:00
Mathieu Magnin
2737a8d529
Add pagination on dossiers list
2017-09-22 10:19:25 +02:00
Mathieu Magnin
fdb187368d
When procedure libelle is too long, don't shrink logo or button
2017-09-21 17:11:57 +02:00
Mathieu Magnin
10b22b018e
Header menu should be above every dropdown content
2017-09-21 11:42:49 +02:00
Simon Lehericey
1962037728
New Design: add motivation and attestation
2017-09-21 10:50:05 +02:00
Mathieu Magnin
a927affae6
Display avis counter on header
2017-09-21 10:41:53 +02:00
Mathieu Magnin
8dace5217a
Share badges style in /patron
2017-09-21 10:23:22 +02:00
gregoirenovel
5b955677c2
[ Fix #719 ] Unformat date and yes/no values in the form
2017-09-20 17:40:43 +02:00
Simon Lehericey
11e8feacce
Style: extract class describing empty stuff
2017-09-20 17:17:05 +02:00
Simon Lehericey
bacff0a178
Avis: wording
2017-09-20 15:42:26 +02:00
Simon Lehericey
3c3e303a59
Dossier instruction: can ask for a confidentiel avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
caaa3169e5
Avis instruction: can ask for a confidentiel avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
4dd20c17d1
Avis: extract of avis list and add confidential icon
2017-09-20 15:42:26 +02:00
Simon Lehericey
f420cde531
Icons: add lock
2017-09-20 15:42:26 +02:00
Simon Lehericey
fdbf34f04b
Avis instruction: only authorized avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
112e3a5793
Procedures: redirect to avis if suitable
2017-09-20 15:42:26 +02:00
Simon Lehericey
3dfd77e914
Avis: add messagerie
2017-09-20 15:42:26 +02:00
Simon Lehericey
d1540c4a68
Avis: add avis link in header
2017-09-20 15:42:26 +02:00
Simon Lehericey
88c27479ee
Avis: instruction
2017-09-20 15:42:26 +02:00
Simon Lehericey
a1f9f7aa75
Avis: show
2017-09-20 15:42:26 +02:00
Simon Lehericey
3cc09c98f9
Avis: index
2017-09-20 15:42:26 +02:00
Mathieu Magnin
bce3efc5d4
[ Fix #735 ] Change nouveau state to en construction
2017-09-20 10:38:22 +02:00
Mathieu Magnin
ca82fba170
[ Fix #738 ] TPS link on header should navigate on same UI
2017-09-19 17:53:38 +02:00
Mathieu Magnin
e33259a464
Add download dossiers button on procedure#show
2017-09-19 13:48:10 +02:00
Mathieu Magnin
35d7bac49e
Style success flash messages
2017-09-15 10:56:14 +02:00
Mathieu Magnin
b477adf586
Improve procedure logo on procedure#index
2017-09-14 11:41:19 +02:00
Mathieu Magnin
fe7f772f96
Improve procedure logo on procedure#show
2017-09-14 11:41:19 +02:00
Mathieu Magnin
66549f93bb
[ Fix #727 ] Engagement champ should behave like checkbox when displayed
2017-09-14 10:57:40 +02:00
Mathieu Magnin
9c8061d5a4
Show pieces justificatives in messagerie
2017-09-13 16:27:08 +02:00
Mathieu Magnin
581da1921e
Add a flash message after comment is created
2017-09-13 16:27:08 +02:00
Mathieu Magnin
bdf754c0d8
Automatically scroll to the last message
2017-09-13 16:27:08 +02:00
Mathieu Magnin
3cbfd2709f
Add disable_with on comment creation
2017-09-13 16:27:08 +02:00
Mathieu Magnin
3fa300d1b6
Date format on commentaire should be 13:30 le 31/01/2017
2017-09-13 16:27:07 +02:00
Mathieu Magnin
530998dad5
If gestionnaire is known on avis, use his email
2017-09-13 11:42:41 +02:00
Mathieu Magnin
31995c270c
[ Fix #721 ] If an avis is created with uppercase email, downcase it before save
2017-09-13 10:59:59 +02:00
Mathieu Magnin
a4ea5ddcee
When changing dossier state do not switch the UI
2017-09-13 09:24:51 +02:00
Mathieu Magnin
31dd45617a
PJ download button should be clear when PJ is available
2017-09-11 09:43:19 +02:00
Mathieu Magnin
dd2d666347
Limit long breadcrumbs, by truncating procedure name
2017-09-08 14:46:25 +02:00
Simon Lehericey
d9e532684f
Login: fix remember me checkbox and forget password link
2017-09-08 11:52:30 +02:00
Simon Lehericey
c2d042eb99
Dossier show: display cards champ if needed
2017-09-08 11:44:46 +02:00
Simon Lehericey
e5150da6c3
Breadcrumbs: fix margin bottom
2017-09-08 11:29:12 +02:00
Simon Lehericey
d943874144
Carto: display carto only when needed
2017-09-08 10:16:27 +02:00
Simon Lehericey
0b832a873c
Search: replace placeholder to 'Rechercher un dossier'
2017-09-07 16:50:02 +02:00
Mathieu Magnin
39c556f70e
Enable Rack mini profiler, on every environment
2017-09-07 15:12:19 +02:00
Mathieu Magnin
11386a04ee
Remove history link
2017-09-07 11:44:39 +02:00
Simon Lehericey
c9f69e9693
Avis Style: replace bubble image tag by the i tag
2017-09-07 10:37:40 +02:00
Simon Lehericey
c93feb27f0
Avis style: extract class to avis.scss file for reuse in patron and avis
2017-09-07 10:36:25 +02:00
Simon Lehericey
bbb1f77ada
Messagerie: extract css for reuse
2017-09-07 10:17:24 +02:00
Simon Lehericey
bd9536faac
Header: improve padding
2017-09-07 10:10:03 +02:00
Simon Lehericey
62c893d704
Procedure Index: increase link size to the whole line and apply same style as the dossier index
2017-09-06 11:14:00 +02:00
Mathieu Magnin
4e526c5fa9
Add action button for follow and archive
2017-09-06 11:14:00 +02:00
Mathieu Magnin
feda7213f9
Action button for instruction state
2017-09-06 11:13:59 +02:00
Mathieu Magnin
059a0b961b
Action button for construction state
2017-09-06 11:13:59 +02:00
Mathieu Magnin
c713518ac1
[ Fix #494 ] If super-admin is connected, add an link in the header menu
2017-09-06 11:13:58 +02:00
Mathieu Magnin
3f67d29a18
Mail => Email
2017-09-06 11:13:58 +02:00
Mathieu Magnin
d6e17493d5
[ Fix #694 ] Commentaire email should be displayed
2017-09-06 11:13:58 +02:00
Mathieu Magnin
485a1ceb00
[ Fix #663 ] Menu header should be above every element
2017-09-06 11:13:57 +02:00
Simon Lehericey
a298c48e8f
Dossier: add notification icon
2017-09-06 11:13:50 +02:00
Simon Lehericey
fbd16b8c75
Procedure show: add notification icon
2017-09-06 11:11:47 +02:00
Simon Lehericey
3e93d21bf5
Procedure Index: add notification icon
2017-09-06 11:11:47 +02:00
Mathieu Magnin
3e4ba4715d
Fix carte bug if user has not draw on map
2017-09-06 11:11:46 +02:00
Mathieu Magnin
7441410fff
Hide outline on buttons
2017-09-06 11:11:45 +02:00
Mathieu Magnin
4a94ce1e16
Fix line-height for buttons
2017-09-06 11:11:45 +02:00
Mathieu Magnin
4716d40574
Resize icon in button does not apply on dropdown
2017-09-06 11:11:45 +02:00
Mathieu Magnin
10ce7ad9eb
Merge pull request #679 from sgmap/new_icons_for_dossier_action_button
...
Add new icons for dossier action button
2017-09-06 11:11:44 +02:00
Mathieu Magnin
b531f85f97
Add new icons for dossier action button
2017-09-06 11:11:44 +02:00
Simon Lehericey
1a1bc461f7
ProfileSwitch: change link to stay in the old design part
2017-09-06 11:11:44 +02:00
Simon Lehericey
b8a75621e3
New_design: add design switch button
2017-09-06 11:11:43 +02:00
Mathieu Magnin
bf97a111f9
Old recherche with new design
2017-09-06 11:11:43 +02:00
Mathieu Magnin
c74bf5dd8f
Dossier index use .dossiers-table class
2017-09-06 11:11:42 +02:00
Mathieu Magnin
f5ca774e40
Add new style .dossiers-table
2017-09-06 11:11:42 +02:00
Mathieu Magnin
7e09bd71e4
Add hoverable tables
2017-09-06 11:11:42 +02:00
Mathieu Magnin
d268151e04
Improve default table style
2017-09-06 11:11:42 +02:00
Mathieu Magnin
9b95a4732f
Add a .vertical class to tables because this is not the default layout
2017-09-06 11:11:41 +02:00
Mathieu Magnin
1e61f1388b
Move layout configuration on gestionnaire controller
2017-09-06 11:11:41 +02:00
Simon Lehericey
faf2d2814b
Champ: fix indentation
2017-09-06 11:11:40 +02:00
gregoirenovel
0eb7ea23cc
Unify class conditionals in the gestionnaire dossier header
2017-09-06 11:11:40 +02:00
gregoirenovel
590c572106
Use .tabs instead of .dossier-categories in procedures#show
2017-09-06 11:11:39 +02:00
gregoirenovel
93cb2ec118
Add badge support to tabs
2017-09-06 11:11:39 +02:00
gregoirenovel
cc54fec629
Redesign the tabs so that they look more like tabs
2017-09-06 11:11:39 +02:00
gregoirenovel
7c1eed760a
Remove from patron a case that does not exist
...
We never use tabs somewhere else than in a
header
2017-09-06 11:11:39 +02:00
gregoirenovel
7af3f90197
Rename header-left-menu to header-tabs
2017-09-06 11:11:38 +02:00
gregoirenovel
08aa2ac524
Redesign the tabs so that they look more like tabs
2017-09-06 11:11:38 +02:00
Simon Lehericey
49a656db76
New_design: make the procedure list more awesome
2017-09-06 11:11:37 +02:00
Simon Lehericey
3e5d0dce6a
NewDesign: can add annotations
2017-09-06 11:11:37 +02:00
Simon Lehericey
b94fc7c132
NewDesign: list of avis
2017-09-06 11:11:37 +02:00
Simon Lehericey
2923d4448b
NewDesign: can ask a new avis
2017-09-06 11:11:36 +02:00
Simon Lehericey
f03d8ef909
NewDesign: add dossier instruction view
2017-09-06 11:11:36 +02:00
Simon Lehericey
9d7066d3c3
Form: display mandatory star in red
2017-09-06 11:11:35 +02:00
Simon Lehericey
46c144146c
Form: add description
2017-09-06 11:11:35 +02:00
Simon Lehericey
d4bbcdf682
Champ: add before save logic to serialize datetime and dropdownlist fields
2017-09-06 11:11:35 +02:00
Simon Lehericey
74c71a3776
Form: use rails form helper
2017-09-06 11:11:34 +02:00
Mathieu Magnin
c05c1ae72d
Fix sticky footer
2017-09-06 11:11:34 +02:00
Mathieu Magnin
42a8792071
Add icons to patron + new icon folder
2017-09-06 11:11:33 +02:00
Mathieu Magnin
32c83dd7a5
Add label variations to /patron
2017-09-06 11:11:33 +02:00
Mathieu Magnin
f3f2b6acc2
Avoid n+1 because of gestionnaire.follows?(dossier)
2017-09-06 11:11:32 +02:00
Mathieu Magnin
d780ab1c90
Avoid n+1 because of user.email
2017-09-06 11:11:32 +02:00
Simon Lehericey
9f890d1ea7
Form: import dossier_link js in new design
2017-09-06 11:11:31 +02:00
Simon Lehericey
1b42766836
Form: add address auto complete
2017-09-06 11:11:31 +02:00
Simon Lehericey
1a485f173e
Form: add required
2017-09-06 11:11:30 +02:00
Simon Lehericey
80023e4f7f
Form: remove form overflow to improve box shadow on input error
2017-09-06 11:11:30 +02:00
Simon Lehericey
2fd486c1a3
Form: add pseudo native form validation
2017-09-06 11:11:30 +02:00
Simon Lehericey
509b378567
Form: add select2 form multiple select
2017-09-06 11:11:30 +02:00
Simon Lehericey
e0bd42032a
Form: style select
2017-09-06 11:11:29 +02:00
Simon Lehericey
9c2e71afa3
Form: add various champs html and style
2017-09-06 11:11:29 +02:00
Mathieu Magnin
bc07082d17
Init js namespace one time
2017-09-06 11:11:28 +02:00
Mathieu Magnin
373d9999fc
Add map for gestionnaire
2017-09-06 11:11:28 +02:00
Mathieu Magnin
bdaa51c5cc
Move old js in a directory to avoid conflicts with require_tree
2017-09-06 11:11:27 +02:00
gregoirenovel
b4a1f4f248
Remove a useless scope call
...
A gestionnaire’s dossiers are already filtered so
that the brouillon ones do not appear
2017-09-06 11:11:27 +02:00
gregoirenovel
091fa1d099
Order a Gestionnaire’s procedures
...
First display the procédures publiées, sorted
by publication date, and then the procédures
archivées, sorted by archiving date
2017-09-06 11:11:27 +02:00
gregoirenovel
7ff7710803
A gestionnaire can only see procédures publiées
2017-09-06 11:11:26 +02:00
Simon Lehericey
2aa8c1d272
Messagerie: remove useless class
2017-09-06 11:11:26 +02:00
Simon Lehericey
3b7244675d
Css: add .width-100 utility class
2017-09-06 11:11:26 +02:00
Simon Lehericey
877f64599d
Form: add send button on the right
2017-09-06 11:11:25 +02:00
Simon Lehericey
0d27ca3bca
Commentaire: use scope to order commentaires association
2017-09-06 11:11:25 +02:00
Simon Lehericey
714b2a5f08
NewDesign: gestionnaire can add a new commentaire
2017-09-06 11:11:25 +02:00
Simon Lehericey
3ecc4f1327
NewDesign: add person icon to message
2017-09-06 11:11:24 +02:00
Simon Lehericey
3a8e84b128
NewDesign: add guest label to message
2017-09-06 11:11:24 +02:00
Simon Lehericey
983c17fdcf
NewDesign: Dossier add dossier and messagerie link in header
2017-09-06 11:11:24 +02:00
Simon Lehericey
497f898e1b
NewDesign: add dossier messagerie show
2017-09-06 11:11:24 +02:00
Simon Lehericey
86ea47bb0d
BackofficeDossierController: follow dossier when receive
2017-09-06 11:11:23 +02:00
Simon Lehericey
b80d6a6a59
Follow: add flash notice to dossier_controller
2017-09-06 11:11:23 +02:00
Simon Lehericey
95fbd1824a
Follow: remove old backoffice follow and toggle_follow
2017-09-06 11:11:22 +02:00
Simon Lehericey
a7f270bac4
Follow: user new dossier follow controller instead of backoffice
2017-09-06 11:11:22 +02:00
Simon Lehericey
f07b6eab53
Follow: use follow instead of toggle_follow_dossier
2017-09-06 11:11:22 +02:00
Simon Lehericey
6cff044a50
NewDossierController: add next_step follow
2017-09-06 11:11:22 +02:00
Simon Lehericey
8b2366cb98
GestionnaireDossierController: use gestionnaire follow
2017-09-06 11:11:21 +02:00
Simon Lehericey
e68f3332c1
Gestionnaire: add follow(dossier) method
2017-09-06 11:11:21 +02:00
Simon Lehericey
033f08524f
Gestionnaire: refactor follow?
2017-09-06 11:11:21 +02:00
Mathieu Magnin
8fdc16d89f
Remove old font-size
2017-09-06 11:11:20 +02:00
Mathieu Magnin
73e6053c19
Fix input search margin in header
2017-09-06 11:11:20 +02:00
Mathieu Magnin
cbd9df8f0c
[ Fix #552 ] Disable default style for buttons on iOS
2017-09-06 11:11:20 +02:00
Mathieu Magnin
9731683b43
Use default-spacer in forms
2017-09-06 11:11:20 +02:00
Simon Lehericey
dfe36ceef7
NewDesign Form: unify body and input font
2017-09-06 11:11:19 +02:00
Simon Lehericey
2a8b8d4a01
NewDesign Form: apply design to textarea
2017-09-06 11:11:19 +02:00
Simon Lehericey
9753da8fdd
NewDesign Form: move margin from label to input
...
provide beautiful layouts with or without label between inputs
2017-09-06 11:11:19 +02:00
Mathieu Magnin
f0777e166f
Add sticky footer
2017-09-06 11:11:19 +02:00
Mathieu Magnin
7a0d6108e1
.footer -> %footer
2017-09-06 11:11:18 +02:00
Mathieu Magnin
3b3e0403d2
Improve /patron readability
2017-09-06 11:11:18 +02:00
Mathieu Magnin
cf63fd6b04
Add breadcrumbs
2017-09-06 11:11:17 +02:00
Mathieu Magnin
9aac9ba7cd
use backoffice-header in views
2017-09-06 11:11:17 +02:00
Mathieu Magnin
c0eeec82c4
Add backoffice header to patron
2017-09-06 11:11:17 +02:00
Mathieu Magnin
b555320d46
Add RNA informations
2017-09-06 11:11:17 +02:00
Mathieu Magnin
f41b1b59c0
Add tabs partial
2017-09-06 11:11:16 +02:00
Mathieu Magnin
2b0c0567b8
Add header section in form table
2017-09-06 11:11:16 +02:00
Mathieu Magnin
7bb75c3f56
Add identite infos for individual
2017-09-06 11:11:16 +02:00
Mathieu Magnin
373447a19f
Pieces justificatives on dossier page
2017-09-06 11:11:16 +02:00
Mathieu Magnin
8aed0d7aef
Use champ decorator to print dossier details
2017-09-06 11:11:15 +02:00
Mathieu Magnin
47857664eb
Add dossier champs (minimalist version)
2017-09-06 11:11:15 +02:00
Mathieu Magnin
f9f313e990
Add identité demandeur for entreprise on dossier detail page
2017-09-06 11:11:15 +02:00
Mathieu Magnin
1c7d9eaa69
Add table component to patron
2017-09-06 11:11:15 +02:00
Mathieu Magnin
dc00c10366
Add card component to patron
2017-09-06 11:11:14 +02:00
Mathieu Magnin
5b417889b2
Use same counters on procedures index than show
2017-09-06 11:11:14 +02:00
Simon Lehericey
5a0be8918e
NewDesign: procedure index show procedure image if present
2017-09-06 11:11:14 +02:00
Simon Lehericey
962f55f6cc
NewDesign: same order of categories in index and show
2017-09-06 11:11:13 +02:00
Simon Lehericey
d58502ab49
NewDesign: fix pluralization on procedure index
2017-09-06 11:11:13 +02:00
Simon Lehericey
8cb770dc7a
NewDesign: new procedures index respects logo dimension ratio
2017-09-06 11:11:13 +02:00
Simon Lehericey
0667883817
NewDesign: new procedures index links to new procedure show !
2017-09-06 11:11:13 +02:00
Simon Lehericey
0d3c145ef3
NewDesign: procedure show add dossier actions
2017-09-06 11:11:12 +02:00
Simon Lehericey
a064ae64a4
NewDesign: add archive and unarchive actions on dossier
2017-09-06 11:11:12 +02:00
Simon Lehericey
eb65318844
NewDesign: add follow and unfollow actions on dossier
2017-09-06 11:11:12 +02:00
Simon Lehericey
013f2463d1
NewDesign: procedure show add dossier status
2017-09-06 11:11:12 +02:00
Simon Lehericey
ad1a11ab52
NewDesign: procedure show add dossier table
2017-09-06 11:11:11 +02:00
Simon Lehericey
b48af51ee9
NewDesign: procedure show only header
2017-09-06 11:11:11 +02:00
Mathieu Magnin
0528b83fcc
Remove %page-width-container from common
2017-09-06 11:11:11 +02:00
Mathieu Magnin
e2735b4238
Remove %page-width-container from patron
2017-09-06 11:11:10 +02:00
Mathieu Magnin
b022649699
Remove %page-width-container from header
2017-09-06 11:11:10 +02:00
Mathieu Magnin
180044acff
Remove %page-width-container from layouts
2017-09-06 11:11:10 +02:00
Mathieu Magnin
d0fa94fef0
Remove %page-width-container from footer
2017-09-06 11:11:10 +02:00
Mathieu Magnin
009a478526
Remove %page-width-container from landing
2017-09-06 11:11:09 +02:00
Mathieu Magnin
22bb4b7c92
Change link in switch profile menu to match new route
2017-09-06 11:11:09 +02:00
Mathieu Magnin
1d53214870
Add archived label on procedures list
2017-09-06 11:11:08 +02:00
Mathieu Magnin
29b201ad00
Add left menu in navbar
2017-09-06 11:11:08 +02:00
Mathieu Magnin
bc4e961200
Style backoffice title
2017-09-06 11:11:08 +02:00
Mathieu Magnin
eb2a33138c
Add french inflections rules for nouveau=>nouveaux
2017-09-06 11:11:07 +02:00
Mathieu Magnin
622a170793
Add and design new #index on procedures for gestionnaires
2017-09-06 11:11:07 +02:00
Mathieu Magnin
ca94b2bfa4
Add generic .container class
2017-09-06 11:11:07 +02:00
Mathieu Magnin
810430de0e
Add flexbox utility css classes
2017-09-06 11:11:07 +02:00
Mathieu Magnin
dcb3a48bd3
Tabs component in patron
2017-09-06 11:11:06 +02:00
benjaminhenkel
48d88a110c
Update landing.html.haml
...
Changement du deuxième numéro de la page que j'avais oublié la première fois
2017-08-31 14:35:10 +02:00
benjaminhenkel
480aefe815
Update landing.html.haml
...
Changement du numéro de téléphone de contact disponible sur le site TPS
2017-08-30 17:15:02 +02:00
Simon Lehericey
5737ebd090
Dossier: workaround preview bug linked to champs with dossier.id == 0
2017-08-29 16:30:34 +02:00
gregoirenovel
79eccb2de0
Add a method to speed up a conditional statement
2017-08-29 14:57:23 +02:00
gregoirenovel
0a8ac645d8
Shave some requests in build_default_champs
2017-08-29 14:22:14 +02:00
gregoirenovel
650a39b371
Use delete_all instead of destroy_all to batch delete
2017-08-29 14:22:14 +02:00
Simon Lehericey
806c41af38
[ Fix #667 ] Can add an already register gestionnaire with uppercase email
2017-08-28 15:36:34 +02:00
Simon Lehericey
a7b00ee847
Rubocop: enable Layout/SpaceAroundOperators
2017-08-28 13:39:13 +02:00
Simon Lehericey
62f1b9c712
Rubocop: enable indentation width rule
2017-08-28 12:20:58 +02:00
Mathieu Magnin
dd1fea78ac
[ Fix #658 ] when dossier linked to avis is hidden, do not crash application
2017-08-28 10:11:50 +02:00
Mathieu Magnin
dd581082ca
[ Fix #395 ] Export user email in API
2017-08-25 12:01:53 +02:00
Mathieu Magnin
931e547afa
[ Fix #395 ] Export user email in csv
2017-08-25 12:01:52 +02:00
Simon Lehericey
d40eef284d
Dossier: fixup n+1 champ query
2017-08-03 13:02:13 +02:00
Simon Lehericey
1363999621
Dossier: fixup n+1 private champ query
2017-08-03 13:01:55 +02:00
Mathieu Magnin
539fc682a0
Format date to iso with dedicated method
2017-08-01 16:47:44 +02:00
Mathieu Magnin
a3b069e501
[ Fix #589 ] When getting birthdate from France Connect format it to ISO
2017-08-01 16:47:44 +02:00
Mathieu Magnin
3804ab5911
[ Fix #589 ] When displaying individual form, fill birthdate input
2017-08-01 16:47:44 +02:00
Mathieu Magnin
03fde0a502
[ FIX #589 ] Force birthdate format when saving
2017-08-01 16:47:43 +02:00
Mathieu Magnin
1aabc6c82b
[ FIX #589 ] Validate birthdate from user input
2017-08-01 16:47:43 +02:00
Simon Lehericey
09ed947890
Accessibility: reenable :focus pseudo class
...
usefull when navigating using keyboard to highlight form send button
2017-07-26 11:17:40 +02:00
Mathieu Magnin
d097860b04
Enable rack mini profiler when super admin is connected
2017-07-25 14:35:54 +02:00
Simon Lehericey
7016bdc49a
Avis: move assign_gestionnaire logic to avis model
2017-07-21 11:22:16 +02:00
Simon Lehericey
fe1b97b738
Avis: move notify_gestionnaire to private method
2017-07-21 11:19:18 +02:00
Mathieu Magnin
ed11ee4fb4
Fix SQL injections
2017-07-20 18:22:14 +02:00
Mathieu Magnin
1d0734dda2
Admin should be owner of procedure to hide it
2017-07-20 16:40:11 +02:00
Mathieu Magnin
e468612d95
Admin should be owner of procedure to destroy it
2017-07-20 14:30:36 +02:00
Simon Lehericey
5ec0e2ed18
Dossier: remove unused ordered_commentaires
...
as commentaires are sorted on the view _messagerie.haml.html
dossier_facade.commentaires.object.sort
2017-07-20 11:03:10 +02:00
Mathieu Magnin
b0c0477622
[ Fix #315 ] Order champs by procedure order in export
2017-07-19 16:31:30 +02:00
Mathieu Magnin
015260ff13
Gestionnaire can download export only for his procedures
2017-07-19 16:31:30 +02:00
gregoirenovel
c464a6faba
[ Fix #168 ] Sort published and archived procedures by publication_date
2017-07-18 13:44:03 +02:00
gregoirenovel
6f2c63c094
Remove default values for some stat methods’ arguments
2017-07-17 16:00:16 +02:00
gregoirenovel
20b4c7ce6f
[ Fix #146 ] Use published_at for procedures in Stats
...
Instead of created_at, which is less
representative
2017-07-17 15:10:05 +02:00
gregoirenovel
1c1a47d83a
publiee_ou_archivee -> publiees_ou_archivees
2017-07-17 15:06:36 +02:00
Simon Lehericey
a1ddcb6d34
DossierController: remove useless facade
2017-07-17 13:36:22 +02:00
gregoirenovel
32e0fa9f69
Add Procedure#publiee_ou_archivee?
2017-07-13 17:01:39 +02:00
gregoirenovel
2b7a148540
Remove Procedure#published?
2017-07-13 17:01:38 +02:00
gregoirenovel
36bee67085
Add Procedure#brouillon?
2017-07-13 17:01:38 +02:00
gregoirenovel
9a7d5d1833
Add Procedure#publiee?
2017-07-13 15:44:18 +02:00
gregoirenovel
cfec05506a
Rename Procedure#archived? -> #archivee?
2017-07-13 15:32:13 +02:00
gregoirenovel
07d390db09
Remove comments that were wrong
...
Having a foo_at column automatically generates the
#foo_at? method, not the #foo? method
2017-07-13 14:46:09 +02:00
gregoirenovel
c43f3fa415
Improve the formatting of the Procedure scopes
2017-07-13 14:46:09 +02:00
gregoirenovel
2f4f10683f
Delete now unused scopes on Procedure
2017-07-13 14:46:09 +02:00
gregoirenovel
75aebe4f07
Add the archivees scope on Procedure
2017-07-13 14:46:09 +02:00
gregoirenovel
89feb6cdf7
Add the brouillons scope on Procedure
2017-07-13 14:46:08 +02:00
gregoirenovel
fc2540649f
Add the publiees scope on Procedure
2017-07-13 14:46:07 +02:00
gregoirenovel
ab9cf1c351
Rename the published scope on Procedure
2017-07-13 14:40:41 +02:00
benjaminhenkel
0a060dbb53
Wording spelling mistake
2017-07-13 11:02:30 +02:00
Simon Lehericey
693c2a43ac
[ Fix #592 ] mutualize sanitize and clean flash messages
2017-07-13 10:14:16 +02:00
Simon Lehericey
4ae9d8ef0d
[ Fix #592 ] Convert html_safe to sanitize
2017-07-13 10:14:16 +02:00
Simon Lehericey
da7af28f9f
[ Fix #592 ] Remove useless html_safe
2017-07-13 10:14:16 +02:00
gregoirenovel
3d4c93a7fb
Autofocus on email fields when relevant
2017-07-13 00:04:52 +02:00
Simon Lehericey
35affd69fc
Commentaires: avoid xss injection
2017-07-12 13:53:25 +02:00
Simon Lehericey
2e03f77e4d
InfoDossier: avoid xss injection
2017-07-12 13:47:59 +02:00
gregoirenovel
bb10e13e2f
[Ref #145 ] Don't use Procedure.archived anymore
2017-07-11 15:03:35 +02:00
gregoirenovel
f55b7914cf
[Ref #144 ] Don't use Procedure.published anymore
2017-07-11 14:51:43 +02:00
Mathieu Magnin
c3fa1e01b9
[ Fix #577 ] Restrict comment creation to Users/Gestionnaires allowed on dossier
2017-07-11 11:01:06 +02:00
Mathieu Magnin
065719ea06
[ Fix #576 ] When user or gestionnaire has no access to dossier, he cannot create an invitation
2017-07-11 10:43:33 +02:00
Simon Lehericey
831ccac685
Turbolinks: do not reload mailjet js on every page
2017-07-11 10:00:29 +02:00
Simon Lehericey
b2e99dd755
Turbolinks: do not reload application js on every page
2017-07-11 10:00:29 +02:00
Simon Lehericey
27cd42a100
fix administration view
2017-07-11 09:09:20 +02:00
gregoirenovel
6a381caaee
Add the archived scope to Procedure
2017-07-10 17:24:53 +02:00
gregoirenovel
411c5791c8
Use the not_archived Procedure scope
2017-07-10 17:24:43 +02:00
gregoirenovel
31b23ac74e
Add the not_published Procedure scope
2017-07-10 17:24:39 +02:00
gregoirenovel
811723e5fb
Use the state_nouveaux Dossier scope
2017-07-10 16:54:02 +02:00
gregoirenovel
3a602b05a4
Use the archived and not_archived Dossier scopes
2017-07-10 16:54:02 +02:00
gregoirenovel
f480f26bd4
Use the state_not_brouillon Dossier scope
2017-07-10 16:54:02 +02:00
gregoirenovel
09d596eec1
Remove a useless call to all
2017-07-10 16:54:02 +02:00
gregoirenovel
5f50f76341
Add the published scope en Procedure
2017-07-10 16:54:01 +02:00
Simon Lehericey
9d48249660
Attestation: uninterlaced png file to be compatible with Prawn
2017-07-10 10:52:27 +02:00
Simon Lehericey
b2ba5c597d
[ FIX #558 ] Attestation: fix access with multiple logins
2017-07-10 10:23:15 +02:00
Mathieu Magnin
aa929bb5b2
[ Fix #554 ] If procedure is hidden, then don't crash
2017-07-06 14:40:06 +02:00
Simon Lehericey
4fad288a8a
lastWeekOverview: fix template
2017-07-04 17:33:01 +02:00
Simon Lehericey
82d8871d03
DossierShow: fix unattended bug on @champs_private
2017-07-04 16:37:29 +02:00
Mathieu Magnin
ce171208da
Fix redirect loop for gestionnaire if hidden procedure is saved in procedure_filter
2017-07-04 14:34:26 +02:00
Mathieu Magnin
70c7c42e1f
[ Fix #430 ] Add delete procedure button
2017-07-04 14:34:26 +02:00
Mathieu Magnin
be3304f71e
Add a scope to Dossier to check if procedure is not hidden
2017-07-04 14:34:16 +02:00
Mathieu Magnin
760efcdad3
Add hidden_at on procedure
2017-07-04 14:33:40 +02:00
Simon Lehericey
12c12953d6
[ FIX #433 ] Add Raven Metadata on the current user/gestionnaire/admin ...
2017-07-04 14:18:46 +02:00
gregoirenovel
4ee17e44dc
[ Fix #529 ] Add missing JS file to new_design/application.js
2017-07-04 14:11:06 +02:00
Simon Lehericey
48e881f9ec
[ FIX #491 ] Attestation: allow administrateur to change attestation template on a published procedure
2017-07-04 13:59:54 +02:00
Simon Lehericey
8aaf7df579
AttestationTemplate edit: id.nil => new_record?
2017-07-04 13:59:54 +02:00
gregoirenovel
97fa7d811a
Merge pull request #537 from sgmap/fix_home_header
...
Header: fix alignement in ff
2017-07-04 13:52:13 +02:00
Simon Lehericey
1d4a0dce56
Header: fix alignement in ff
2017-07-04 13:48:56 +02:00
gregoirenovel
84751cdedf
[ Fix #528 ] Fix a spelling mistake
2017-07-04 12:18:13 +02:00
Mathieu Magnin
dc4decc827
Add profile switcher in header
2017-07-03 14:34:31 +02:00
Mathieu Magnin
5d8c798369
Connexion button is a secondary button
2017-07-03 14:34:31 +02:00
Mathieu Magnin
33af09cae5
Account menu on header
2017-07-03 14:34:31 +02:00
Mathieu Magnin
b7dc511a7d
Create a clean application.js file for new design
2017-07-03 14:34:31 +02:00
Mathieu Magnin
649af19443
Add search field in navbar
2017-07-03 14:34:30 +02:00
Simon Lehericey
b1d96f4a94
[ FIX #492 ] switch to new attestation download system
2017-07-03 14:09:14 +02:00
Simon Lehericey
4e6a8c5939
New Routes: add new_gestionnaire/dossier_controller attestation
2017-07-03 14:09:14 +02:00
Simon Lehericey
94f8fb748f
New Routes: add new_gestionnaire/procedures_controller
2017-07-03 14:09:14 +02:00
Simon Lehericey
3eec07ac08
New Routes: add new_gestionnaire/gestionnaire_controller
2017-07-03 14:09:14 +02:00
Simon Lehericey
1e661fa686
New Routes: add new_user/dossier_controller attestation
2017-07-03 14:09:14 +02:00
Simon Lehericey
15b16f36b7
New Routes: add new_user/dossier_controller
2017-07-03 14:09:14 +02:00
Simon Lehericey
081ed90968
New Routes: add new_user/user_controller
2017-07-03 14:09:13 +02:00
gregoirenovel
38400cc2ce
Fix a capitalization mistake
2017-07-03 10:19:45 +02:00
gregoirenovel
0a1543c630
[ Fix #523 ] prioritaites -> prioritaires
2017-07-03 10:19:45 +02:00
gregoirenovel
6b90e0ccfa
[Ref #145 ] Record archived_at when archiving a procedure
2017-07-03 10:18:49 +02:00
gregoirenovel
cf573a1ec6
Use Procedure#archive instead of duplicating code
2017-07-03 10:18:48 +02:00
Simon Lehericey
fb50606680
Admin: remove useless data in admin creation mail
2017-06-30 17:21:41 +02:00
Simon Lehericey
149c1ba459
ProcedureOverview: change email title
2017-06-29 16:07:46 +02:00
Simon Lehericey
603e2dd020
ProcedureOverview: reboot model and layout
2017-06-29 16:07:46 +02:00
Simon Lehericey
689d0c2dd7
ProcedureOverview: add layout
2017-06-29 16:07:46 +02:00
Simon Lehericey
26afa24e49
[ Fix #512 ] Crisp: add crisp to homepage
2017-06-29 14:35:24 +02:00
Simon Lehericey
ee415c4aa6
[ FIX #509 ] add dossier id tag in attestation template
2017-06-28 10:59:14 +02:00
gregoirenovel
aeeb0dd22f
[ Fix #170 ] Keep drop down menu values for annot. privées when cloning
2017-06-27 14:31:33 +02:00
gregoirenovel
556359cd05
[ Fix #318 ] Add annotations privées to exported files
2017-06-27 14:27:02 +02:00
gregoirenovel
bb57002eff
[ Fix #352 ] Downcase admin emails when transferring a procedure
...
See config/initializers/devise.rb:L44
config.case_insensitive_keys = [ :email ]
We therefore need to downcase the email before
looking for an admin by its email address
2017-06-27 14:25:56 +02:00
gregoirenovel
cf5398fe99
Record published_at when publishing a procedure
2017-06-27 13:55:17 +02:00
Simon Lehericey
3d99407495
[ Fix #499 ] Attestation: add maxlength to footer
2017-06-27 13:35:01 +02:00
Simon Lehericey
81984d2883
Attestation: remove misleading footer placeholder
2017-06-27 13:34:49 +02:00
Simon Lehericey
c16c19f8e6
[ Fix #499 ] Attestation: footer is now an text_field instead of a text_area
2017-06-27 13:14:47 +02:00
Simon Lehericey
84e3d8fbe0
Attestation_template: use etablissement inline_adresse
2017-06-27 11:15:25 +02:00
Simon Lehericey
d69d0f8a78
Etablissement: add inline_adresse
2017-06-27 11:15:25 +02:00
gregoirenovel
0e3ebfd819
[ Fix #183 ] Display “oui” or “non” instead of “true” or “false”
2017-06-26 14:53:38 +02:00
gregoirenovel
96dd853dbb
[ Fix #396 ] Don’t submit the publish form after a transfer
2017-06-26 10:51:28 +02:00
gregoirenovel
ed51c77895
Correctly display the success message when transfer was successful
2017-06-26 10:51:28 +02:00
gregoirenovel
12f61b490a
Reformat transfer.js.erb
2017-06-26 10:51:28 +02:00
gregoirenovel
0ea29d131f
Refactor Admin::ProceduresController#transfer
2017-06-26 10:51:28 +02:00
gregoirenovel
a3e3284c5d
Fix a spelling mistake
2017-06-26 10:51:27 +02:00
gregoirenovel
8d9ca18406
Improve spacing in _model_transfer.html.haml
2017-06-26 10:51:27 +02:00
gregoirenovel
0e3f431d7d
Fix indentation in _modal_transfer.html.haml
2017-06-26 10:51:26 +02:00
gregoirenovel
bd2fcebf95
Change a silly title
2017-06-26 10:51:26 +02:00
gregoirenovel
469f0aed4b
[ Fix #440 ] Show the current month only if logged in as superadmin
2017-06-26 10:50:31 +02:00
gregoirenovel
ba5d816ce6
[ Fix #176 ] Delete useless new_assignement email
2017-06-26 10:49:42 +02:00
gregoirenovel
3d11a35da8
Remove some commented code
2017-06-26 10:49:02 +02:00
Mathieu Magnin
3f90e82d09
[ Fix #327 ] flashes messages can deal with Arrays
2017-06-21 18:08:05 +02:00
Mathieu Magnin
8d008a51d0
[ fix #474 ] display devise errors with flashes
2017-06-21 18:07:58 +02:00
Mathieu Magnin
ac5c00c26f
[ fix #452 ] redesign sign up form
2017-06-21 17:38:38 +02:00
Mathieu Magnin
6777b51331
rename login css to auth, since it will also be used by sign up
2017-06-21 17:38:34 +02:00
Mathieu Magnin
f1ab350897
fix turbolinks bug when switching between layouts
2017-06-20 17:34:48 +02:00
Mathieu Magnin
250b858128
json style for hashes
2017-06-20 17:31:58 +02:00
Mathieu Magnin
e51d8965a2
[ Fix #468 ] fix demo login
2017-06-20 17:05:05 +02:00
Mathieu Magnin
482002fe79
Avis sign up should use generic layout
2017-06-20 13:56:49 +02:00
Mathieu Magnin
3f20d6fb9d
login should use generic two columns layout
2017-06-20 11:42:54 +02:00
Mathieu Magnin
3388dc0e1f
Create generic two-columns layout
2017-06-20 11:13:24 +02:00
Mathieu Magnin
a69915d8b5
standardize form title
2017-06-20 10:24:53 +02:00
Mathieu Magnin
f74462d826
Use generic css for avis_sign_up
2017-06-20 10:03:49 +02:00
Mathieu Magnin
2e795fb2a5
single quote => double quotes
2017-06-20 09:51:18 +02:00
Mathieu Magnin
c944088076
Add procedure overview on login
2017-06-19 18:21:15 +02:00
Mathieu Magnin
8b9eda0f43
No login link on header on login page
2017-06-19 18:21:15 +02:00
Mathieu Magnin
fb5c7e7d23
Make login responsive
2017-06-19 18:21:15 +02:00
Mathieu Magnin
b68a8b37e8
Redesign the login form
2017-06-19 18:21:15 +02:00
Mathieu Magnin
a82994f00f
Add inputs & labels to patron
2017-06-19 18:21:15 +02:00
Mathieu Magnin
765be88d6d
Add expand button on patron
2017-06-19 18:21:15 +02:00
Mathieu Magnin
90a643d4fb
Add /patron page 🎨
2017-06-19 18:21:15 +02:00
Mathieu Magnin
624fb13964
Buttons style
2017-06-19 18:21:15 +02:00
Mathieu Magnin
0bed3ae956
Use new layout for login
2017-06-19 18:21:14 +02:00
gregoirenovel
d0b927857a
Add stats for encart motivation
2017-06-19 18:01:59 +02:00
gregoirenovel
19696da736
Add StatsController#percentage
2017-06-19 18:01:57 +02:00
gregoirenovel
14823560a1
Expose the motivation on exported files
2017-06-19 15:01:14 +02:00
gregoirenovel
ce2def9c40
Expose the motivation on the API
2017-06-19 15:01:14 +02:00
Simon Lehericey
dd441ff0c7
Attestation: fix mail attachment when the files are remotely stored
2017-06-19 13:47:32 +02:00
Simon Lehericey
523df76ecb
Attestation: fix attestation_template_admin_link
2017-06-16 15:44:40 +02:00
Simon Lehericey
5c70d38a23
Attestation: fix missing_attachment
2017-06-16 14:47:44 +02:00
Simon Lehericey
e60ce35ae8
[ Fix #196 ] Attestation: join the attestation to the closed mail
...
Add a upper limit to the attachment size as it could be a problem with Mailjet and receiver
(https://www.mailjet.com/support/what-is-the-size-limit-for-attachments-files-sent-via-mailjet,289.htm )
If the attestation cannot be sent, it is logged in sentry
2017-06-16 12:11:10 +02:00
Simon Lehericey
b664709c3d
[ Fix #196 ] Attestation: allow vizualisation after the procedure is published
2017-06-16 12:11:10 +02:00
Simon Lehericey
671a0575ce
[ Fix #196 ] Recapitulatif: user can download its attestation
2017-06-16 12:11:10 +02:00
Simon Lehericey
602527a09d
[ Fix #196 ] Attestation: building logic from template
2017-06-16 12:11:09 +02:00
Simon Lehericey
b443b5cefd
[ Fix #196 ] Dossier: add Attestation
2017-06-16 12:11:09 +02:00
Simon Lehericey
c0facbf679
[ Fix #196 ] AttestionTemplate: add preview
2017-06-16 12:11:09 +02:00
Simon Lehericey
fdb4d15bcf
[ Fix #196 ] AttestationTemplate: add edition
2017-06-16 12:11:09 +02:00
Simon Lehericey
d7ff3d6139
[ Fix #196 ] AttestationTemplate: add model
2017-06-16 11:35:13 +02:00
gregoirenovel
b64c6d8817
Add a separator before the “Reouvrir” button
2017-06-13 15:14:51 +02:00
gregoirenovel
12d74be668
Refactor Backoffice::DossiersController#process_dossier
2017-06-13 15:14:51 +02:00
gregoirenovel
0120995533
[ Fix #197 ] Add the TAG_MOTIVATION email tag
2017-06-13 15:14:50 +02:00
gregoirenovel
b58c02180c
[ Fix #197 ] Allow a gestionnaire to add a motivation
2017-06-13 15:14:50 +02:00
gregoirenovel
88267a990d
[ Fix #197 ] Show the motivation on a dossier’s details
2017-06-13 15:14:48 +02:00
gregoirenovel
33944e343a
Add Backoffice::DossiersController#process_dossier and use it
2017-06-13 15:05:09 +02:00
gregoirenovel
d248afc376
Enable the Layout/ExtraSpacing cop
2017-06-13 10:35:35 +02:00
gregoirenovel
f1d66e40c3
Enable the Layout/EmptyLinesAroundModuleBody cop
2017-06-13 10:35:34 +02:00
gregoirenovel
82eb66cfe8
Enable the Layout/EmptyLinesAroundMethodBody cop
2017-06-13 10:35:33 +02:00
gregoirenovel
24e7537c49
Enable the Layout/EmptyLinesAroundClassBody cop
2017-06-13 10:35:32 +02:00
gregoirenovel
f1907f4d0e
Enable the Layout/EmptyLinesAroundBlockBody cop
2017-06-13 10:35:23 +02:00
gregoirenovel
aac75106ef
Enable the Layout/EmptyLinesAroundAccessModifier cop
2017-06-13 10:35:21 +02:00
gregoirenovel
f496f1adab
Enable the Layout/EmptyLines cop
2017-06-13 10:35:20 +02:00
gregoirenovel
ff1f679c7b
Enable the Layout/EmptyLineBetweenDefs cop
2017-06-13 10:35:20 +02:00
gregoirenovel
f2cf32a15c
Enable the Layout/CommentIndentation cop
2017-06-13 10:35:19 +02:00
gregoirenovel
1b78a8e957
Enable the Layout/CaseIndentation cop
2017-06-13 10:35:19 +02:00
gregoirenovel
bc16027ccc
Enable the Layout/BlockEndNewline cop
2017-06-13 10:35:19 +02:00
gregoirenovel
9439e1abb1
Enable the Layout/AlignParameters cop
2017-06-13 10:35:16 +02:00
gregoirenovel
50fad54538
Enable the Layout/AlignArray cop
2017-06-13 10:35:15 +02:00
gregoirenovel
38e8908986
Fix the colors of the graphs on the Stats page
2017-06-13 10:13:20 +02:00
gregoirenovel
3f44b963c8
Fix the wording of the initiated email’s subject
2017-06-12 16:17:07 +02:00
Mathieu Magnin
b9522ce404
[ Fix #376 ] Before save format champ date to ISO
2017-06-12 14:05:31 +02:00
Mathieu Magnin
41a5ed59f3
[ Fix #376 ] Force every browser to use native input[type=date] on date champ
2017-06-12 14:05:31 +02:00
Mathieu Magnin
2653862fa7
Add a placeholder to help IE users to fill the date input with the right format
2017-06-12 14:05:31 +02:00
Mathieu Magnin
95481e7b85
Move date input in a partial
2017-06-12 14:05:31 +02:00
gregoirenovel
96532cea6d
[ Fix #388 ] In avis email, redirect a signed out gest. to the dossier
2017-06-12 11:03:02 +02:00
gregoirenovel
8968675cfb
[ Fix #388 ] In avis email, redirect a signed in gest. to the dossier
...
Instead to the sign in page
2017-06-12 10:54:01 +02:00
gregoirenovel
2a74207d15
you_are_invited_on_dossier -> avis_invitation
...
- shorter
- clearer
2017-06-12 10:53:59 +02:00
gregoirenovel
107c322062
[ Fix #323 ] Refactor received dossier notification: use a callback
2017-06-08 15:06:01 +02:00
gregoirenovel
67d0fb5ddc
Further refactor of AutoArchiveProcedureWorker
...
Call received! so that validation and save
callbacks are called.
Previously, we wouldn’t have update the
received_at date
2017-06-08 15:06:01 +02:00
gregoirenovel
cc95216672
Refactor AutoArchiveProcedureWorker#perform
...
If the loop failed, we wouldn’t update the
archived attribute for procedures for which
the folders were archived.
That would have caused to re-run the task for
procedures for which the task had already been
run.
2017-06-08 15:06:01 +02:00
gregoirenovel
68e734fbb5
Remove a blank line
2017-06-08 15:06:00 +02:00
gregoirenovel
f8673894e2
Stop erasing data when auto-archiving procedures
2017-06-08 15:06:00 +02:00
gregoirenovel
d3f4e0c210
Change the new admin account notification receiver
2017-06-08 15:03:55 +02:00
gregoirenovel
3c83cc3c52
In Avis sign up, fix the numero character and add a non-breaking space
2017-06-08 14:08:43 +02:00
gregoirenovel
220b71abfd
Fix invite guest email
...
- fix typo
- add a missing non-breaking space
2017-06-08 14:06:58 +02:00
gregoirenovel
0b6f5a9603
Remove bold weight on Avis sign up button
2017-06-08 12:24:07 +02:00
gregoirenovel
cb81610e60
Add brackets around arguments
2017-06-08 12:22:50 +02:00
gregoirenovel
23f5582907
Improve a variable name
2017-06-08 12:22:49 +02:00
gregoirenovel
585a5bcaba
Add TEMPLATE_NAME to Mail classes
2017-06-08 12:22:49 +02:00
gregoirenovel
ec69086ebc
Don’t use alias_method_chain, use a proxy method
2017-06-08 12:22:48 +02:00
gregoirenovel
d557906fe9
Remove unused variable in MailTemplatesController#edit
2017-06-08 12:22:47 +02:00
gregoirenovel
07ad7b4c84
mails -> mail_templates
2017-06-08 12:22:46 +02:00
gregoirenovel
07ea0ceea1
Make MailTemplateConcern.slug a constant
2017-06-08 12:22:44 +02:00
gregoirenovel
18d6204980
find_the_right_email -> find_mail_template_by_slug
2017-06-08 12:22:42 +02:00
gregoirenovel
41b3fa62ed
Refactor MailTemplatesController#mails
2017-06-08 12:22:42 +02:00
gregoirenovel
9988444459
Remove useless blank lines
2017-06-08 12:22:40 +02:00
gregoirenovel
e06ddeb168
Make all Mails classes inherit from ApplicationRecord
2017-06-08 12:22:38 +02:00
gregoirenovel
5a59115df4
Refactor the TAGS management in MailTemplateConcern
2017-06-08 12:22:36 +02:00
gregoirenovel
ba865215af
Use the Chartkick colors option
2017-06-07 14:53:10 +02:00
gregoirenovel
1794da5a30
[ Fix #234 ] Remove dynamic email templates handling code in Procedure
2017-06-07 10:10:15 +02:00
Mathieu Magnin
9d323fd387
Click on Demander une démo, opens a new tab
2017-06-02 15:38:24 +02:00
Mathieu Magnin
8b92b44ab0
Track ask demo click on home page
2017-06-02 10:05:00 +02:00
gregoirenovel
d5023a3d38
Use the same order for constants and scopes in Dossier
2017-06-01 11:08:26 +02:00
gregoirenovel
0971ede57e
Add a termine scope to Dossier
2017-06-01 11:08:00 +02:00
gregoirenovel
68da2ecbae
Use symbols instead of strings in for the order arg in scopes
2017-06-01 11:07:30 +02:00
gregoirenovel
8fb6a41386
Remove an unused argument in some Dossier scopes
2017-06-01 11:07:04 +02:00
gregoirenovel
e0a3a48f76
Improve the formatting of Dossier scopes
2017-06-01 11:05:51 +02:00
gregoirenovel
ddac4bbfdb
Change the order in the all_state scope for consistency
2017-06-01 10:58:09 +02:00
gregoirenovel
7055aec634
Add some more state scopes and use them
2017-06-01 10:58:09 +02:00
gregoirenovel
9c2c0346b6
[ Fix #125 ] Transform some Dossier class methods into scopes
2017-06-01 10:58:08 +02:00
gregoirenovel
ab1c19c09b
Rename some Dossier scopes
2017-06-01 10:58:08 +02:00
gregoirenovel
51dd6df1c0
Improve the formatting of the Dossier state enum
2017-06-01 10:58:08 +02:00
gregoirenovel
1816aef7d0
Group the Dossier scopes and move them at the top
2017-06-01 10:58:07 +02:00
gregoirenovel
6731f28e23
Move the state constants below the state enum
2017-06-01 10:58:07 +02:00
Mathieu Magnin
8e9144f565
[ Fix #378 ] Remove redirect based on referrer
2017-06-01 10:36:36 +02:00
Mathieu Magnin
d2d2c78461
Remove unused code
2017-06-01 10:36:36 +02:00
Mathieu Magnin
705a3f3e1b
Fix cache bug on stats page
2017-06-01 09:44:22 +02:00
Simon Lehericey
c185f60dd2
Avis: ugly workaround for #375
2017-05-31 16:44:06 +02:00
Simon Lehericey
9e6098dc09
Add the weekly avis answer percentage to Stats
2017-05-31 14:24:33 +02:00
Mathieu Magnin
068b635b7c
Add the weekly avis answer time average to Stats
2017-05-31 14:24:32 +02:00
Simon Lehericey
b5f1b898c7
Add the weekly avis usage to Stats
2017-05-31 13:31:19 +02:00
gregoirenovel
9268da8236
Refactor Procedure#switch_list_order
2017-05-30 15:54:49 +02:00
gregoirenovel
d54fe12a9c
Remove inconsistent and useless blank lines in controllers
2017-05-30 15:54:49 +02:00
gregoirenovel
04845efdfc
Remove inconsistent and useless blank lines in models
2017-05-30 15:53:19 +02:00
gregoirenovel
d47e8b3702
Reformat Notification correctly
2017-05-30 15:53:19 +02:00
gregoirenovel
9f6edc5d1e
Format the TypeDeChamp type_champs enum correctly
2017-05-30 15:52:29 +02:00
gregoirenovel
843bb9fd2c
Format the User loged_in_with_france_connect enum correctly
2017-05-30 15:52:28 +02:00
gregoirenovel
258a80b0d7
Use the Procedure not_archived scope
2017-05-30 15:52:28 +02:00
gregoirenovel
9d478609d0
Move the Procedure scopes at the top
2017-05-30 15:52:28 +02:00
gregoirenovel
4655707eb5
[ Fix #319 ] Include archived dossiers in the export
2017-05-30 15:41:35 +02:00
gregoirenovel
5253f07b69
Use the order_by_updated_at scope in Dossier
2017-05-30 15:41:35 +02:00
gregoirenovel
7eed44d430
Use the not_archived scope in Dossier
2017-05-30 15:41:35 +02:00
gregoirenovel
f2fe06e86f
Add the not_brouillon scope on Dossier
2017-05-30 15:41:35 +02:00
Mathieu Magnin
69a5857322
[ Fix #264 ] Add pie chart to count administrations
2017-05-30 15:36:21 +02:00
Simon Lehericey
ae8b126594
ProcedureOverview: use procedure_url to link with absolute path in email
2017-05-30 15:03:51 +02:00
gregoirenovel
9585142468
Group the cumulative and monthly charts
2017-05-30 12:05:28 +02:00
gregoirenovel
3215411547
Delete the 30 days flows graphs
2017-05-30 12:05:28 +02:00
gregoirenovel
58aa94359c
On the Stats page, move the total numbers at the top of the page
2017-05-30 12:05:27 +02:00
gregoirenovel
e19fb43f01
Only show the mean charts to logged in users
2017-05-30 12:05:27 +02:00
gregoirenovel
e242c5d742
Add caching to the Stats page
2017-05-30 12:05:27 +02:00
gregoirenovel
711f21c458
[ Fix #264 ] Add the mean filling time graph to Stats
2017-05-30 12:05:27 +02:00
gregoirenovel
faa547e891
[ Fix #264 ] Add the mean instruction time graph to Stats
2017-05-30 12:05:27 +02:00
gregoirenovel
ed7ba60cf0
[ Fix #264 ] Add the last 4 months evolution graphs to Stats
2017-05-30 12:05:26 +02:00
gregoirenovel
f82533be19
Use the new_application layout for the Stats page
2017-05-29 15:46:54 +02:00
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
7ac6c81154
AdminProceduresInfoHaml: remove localtime to date
2017-05-29 13:53:14 +02:00
Simon Lehericey
64f7cab3cf
Avis: add claimant gestionnaire to track who asks for an avis
2017-05-29 11:44:28 +02:00
Simon Lehericey
23e57f5cc4
Navbar: add deprecation warning for invitations
2017-05-29 11:44:28 +02:00
Simon Lehericey
cdcd5b951f
AvisController: add a notification when a avis has been received
2017-05-29 11:44:28 +02:00
Simon Lehericey
34a7905828
DossierController: giving an advice does not remove the notifications
2017-05-29 11:44:28 +02:00
Simon Lehericey
3483ec075b
DossierController: extract dossier_id from params[:id]
2017-05-29 11:44:28 +02:00
Mathieu Magnin
612a8c4b91
Confirm with flash after avis is sent
2017-05-29 11:44:28 +02:00
Simon Lehericey
f9aee06040
AvisController: add redirection logic for various login cases
2017-05-29 11:44:28 +02:00
Simon Lehericey
516a8c28c5
Avis: change invitation mail when the recipient is not tps
2017-05-29 11:44:28 +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
Mathieu Magnin
4e064dbaed
Add a method to link multiple avis to a gestionnaire by his email
2017-05-29 11:44:28 +02:00
Mathieu Magnin
efdac753c6
When an Avis is created an email is sent to the 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
f24e4a77d3
Gestionnaire can view dossier if he is invited on dossier
2017-05-29 11:44:28 +02:00
Mathieu Magnin
d07943a55d
Add by_latest scope in Avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
7c662aa7b2
Gestionnaire invited on dossier for avis, cannot see private form / change dossier state / follow dossier / see invited people / see others 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
e831442cbd
Associate gestionnaire to avis if gestionnaire is known
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
5cc4862983
[ Fix #349 ] NewHeader: the logo is a link to root_path
2017-05-29 11:35:29 +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
5a794a8b9a
GestionnaireMailer: add mailjet campaign tag
2017-05-23 17:12:18 +02:00
Simon Lehericey
c4c2dc78a2
WeeklyOverviewWorker: add worker to send the week overview
2017-05-23 17:12:18 +02:00
Simon Lehericey
8dabdcc6c4
GestionnaireMailer: add a last week report
2017-05-23 17:12:18 +02:00
Simon Lehericey
e630548110
Gestionnaire: add last_week_overview method
2017-05-23 17:12:18 +02:00
Simon Lehericey
e7d39ca650
ProcedureOverview: add object to contain overview logic
2017-05-23 17:12:18 +02:00
Simon Lehericey
f1b923e30f
ApiControllers: remove useless meta data
2017-05-23 10:46:37 +02:00
Simon Lehericey
b30cb34fa2
LeftPanelBackofficeDossier: fix a typo
2017-05-22 17:58:12 +02:00
gregoirenovel
ca1a61cd7f
Remove an extra character in welcome_email.text.erb
2017-05-22 17:24:44 +02:00
Mathieu Magnin
8af72f7b9a
Isolate new design stylesheets
2017-05-17 18:06:53 +02:00
Mathieu Magnin
14bfda2e26
[ Fix #251 ] Fix landing page design on mobile (and add responsive)
2017-05-17 18:06:46 +02:00
Simon Lehericey
a213032f28
Refactor: use select block to select stuff
2017-05-17 11:18:01 +02:00
gregoirenovel
cd19c17df5
mail -> email
2017-05-16 15:10:44 +02:00
gregoirenovel
e6f866d99e
Do not use the email address in emails
2017-05-16 15:10:44 +02:00
gregoirenovel
536591078e
In emails, add a comma after the salutation phrase
2017-05-16 15:10:44 +02:00
gregoirenovel
ae7cea369d
Move the “please do not reply” message below the signature
2017-05-16 15:10:44 +02:00
gregoirenovel
b77c63605a
Add a signature to the emails which don’t have one
2017-05-16 15:10:44 +02:00
gregoirenovel
2796eea39a
Improve the formatting of reset_password_instructions.html.erb
2017-05-16 15:10:44 +02:00
gregoirenovel
2984c495e6
Add a parting phrase to emails which don’t have one
2017-05-16 15:10:44 +02:00
gregoirenovel
d8c5db4ac5
End the email parting phrase with a comma
2017-05-16 15:10:44 +02:00
gregoirenovel
d5fce6f7b6
Remove the 3 dashes from the emails signature
2017-05-16 15:10:44 +02:00
Simon Lehericey
df731cb895
Fix localtime on date object
2017-05-16 14:40:44 +02:00
Simon Lehericey
8d6838e8ed
Mailjet: fix https errors
2017-05-16 13:44:07 +02:00
Simon Lehericey
f2d9953e59
Fix #295 : mailjet script should be in https
2017-05-16 10:27:10 +02:00
Mathieu Magnin
9bec2e9536
Fix #281 Remove unreadable tooltip on procedure libelle
2017-05-15 16:55:24 +02:00
gregoirenovel
a58a8684d9
[ Fix #285 ] Gestionnaire.dossiers_follow -> followed_dossiers
2017-05-15 15:51:51 +02:00
gregoirenovel
f67aa63766
[ Fix #285 ] Use a has_many through for Gestionnaire#dossiers_follow
2017-05-15 15:51:51 +02:00
Mathieu Magnin
ac1782256a
Fix #282 use disable_with to avoid sending same message twice
2017-05-12 17:34:20 +02:00
gregoirenovel
8ba55a0d5d
Mutualize the email address in a localised string
2017-05-12 16:53:03 +02:00
gregoirenovel
8a5420301c
Add Commentaire#notify to dispatch notifications
2017-05-12 16:31:03 +02:00
gregoirenovel
1235fce34a
Refactor Commentaire#notify_user
2017-05-12 16:31:02 +02:00
gregoirenovel
c07b83b266
Commentaire#notify_user_with_mail -> #notify_user
2017-05-12 16:31:02 +02:00
gregoirenovel
9c3cde2b2e
Move CommentairesController#notify_user_user_with_mail to Commentaire
2017-05-12 16:31:02 +02:00
gregoirenovel
cae3e1f420
Commentaire#internal_notification => #notify_gestionnaires
2017-05-12 16:31:02 +02:00
Mathieu Magnin
58abd9eaf1
Fix #276 Rewrite #dossiers_with_notifications_count_for_procedure and add tests
2017-05-12 15:42:33 +02:00
Mathieu Magnin
8f5fdfa81f
Rename dossier_with_notification_for
2017-05-12 15:42:33 +02:00
gregoirenovel
70f637f088
[ Fix #198 ] Add a Commentaire when we send a Notification email to a user
2017-05-12 14:03:48 +02:00
gregoirenovel
09ba66dc41
[ Fix #274 ] Change the email signatures
...
- Equide -> Equipe
- TPS -> Téléprocédures simplifiées
- Remove the email address
2017-05-12 13:51:01 +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
gregoirenovel
e14d1a6c15
Remove useless from parameter in mailers
...
We already defined a default one in
ApplicationMailer
2017-05-12 13:50:41 +02:00
Mathieu Magnin
e5ac555a41
fix #245 it should only count dossiers with notifications on followed dossiers
2017-05-12 10:13:51 +02:00
Simon Lehericey
cebb197994
Fix #171 : add localtime to a bunch of date
2017-05-11 15:10:49 +02:00
Simon Lehericey
07dfec9236
Clean: remove dead code
2017-05-11 12:45:01 +02:00
Simon Lehericey
a312628383
Newsletter: add mailjet widget
2017-05-11 10:11:40 +02:00
Simon Lehericey
c6fd3045e4
Fix #261 : add link to return to dossier list.
2017-05-10 16:24:21 +02:00
Mathieu Magnin
054afb40a4
[ Fix #50 , fix #239 ] Install chartkick the right way
2017-05-10 09:28:13 +02:00
gregoirenovel
c6d0ea76bb
[ Fix #174 ] Make .default-data-block header titles take the full width
2017-05-09 14:36:33 +02:00
gregoirenovel
1a5f9fd067
[ Fix #105 ] Show the pieces justificative’ descriptions
2017-05-09 12:47:21 +02:00
Simon Lehericey
5d915ada88
Css: add border on header and footer
...
Remove headers border on homepage
2017-05-09 12:38:57 +02:00
Simon Lehericey
9f1217c843
FlashMessage: center flash message
...
otherwise the #flash_message.center is useless
2017-05-09 12:28:27 +02:00
Simon Lehericey
029186fdf7
Css: fix color import
2017-05-09 12:18:52 +02:00
Simon Lehericey
bf68814f7a
Css: add alert css to new style
2017-05-09 11:59:21 +02:00
Simon Lehericey
2668b036b4
Css: add center class in new style
2017-05-05 14:59:00 +02:00
Simon Lehericey
a26965f41b
Cable: remove useless js logic
2017-05-05 14:37:59 +02:00
Simon Lehericey
9d16c0365a
Notification: remove useless notification system
2017-05-05 14:08:36 +02:00
gregoirenovel
02a8cf3fe1
Use the initialisation date for the cumulative dossiers
...
We want to show when dossiers were published, not
created
2017-05-05 12:03:54 +02:00
gregoirenovel
06714b5fc3
Add a date_attribute argument to StatsController#cumulative_hash
2017-05-05 12:03:53 +02:00
gregoirenovel
dbf891b333
Use the initialisation date for the dossiers 30 days flow
...
We want to show when dossiers were published, not
created
2017-05-05 12:03:53 +02:00
gregoirenovel
c7999b9691
Add a date_attribute argument to StatsController#thirty_days_flow
2017-05-05 12:03:53 +02:00
Simon Lehericey
dc371b83b8
CSS: add new application layout + CSS
...
Without bootstrap!
2017-05-04 18:24:57 +02:00
Simon Lehericey
aee17c5b19
CSS: CSS filenames should not contain dashes
2017-05-04 18:24:39 +02:00
Simon Lehericey
e7383c7c85
CSS: add Meyer's reset.scss
2017-05-04 18:24:14 +02:00
Simon Lehericey
38dcf5c74d
Application.scss: replace require_tree by explicit import
...
Change needed for futur new_application.scss and corresponding style
2017-05-04 18:23:55 +02:00
gregoirenovel
6b25d25a9a
The correct app name is “Téléprocédures Simplifiées”
2017-05-04 18:19:13 +02:00
gregoirenovel
9a0df71887
Change the link to a linked dossier depending on the user profile
2017-05-04 17:20:18 +02:00
gregoirenovel
849ab5191a
[ Fix #204 ] Add the date_de_decision tag in relevant email templates
2017-05-04 16:17:59 +02:00
gregoirenovel
2582b44f07
[ Fix #204 ] Add the date_de_decision tag
2017-05-04 16:17:53 +02:00
gregoirenovel
3bd5e32dff
Add a system to restrain the email templates tags to specific templates
2017-05-04 16:17:39 +02:00
gregoirenovel
30cf475485
Add missing brackets in mail_template_concern.rb
2017-05-04 16:17:39 +02:00
gregoirenovel
43ae28de87
Make the email templates tags table occupy the whole width available
...
It improves the content formatting (no more ugly
line breaks splitting a tag on several lines)
2017-05-04 16:17:38 +02:00
gregoirenovel
f389bbeb53
Fix indentation in mail_template_concern.rb
2017-05-04 16:17:38 +02:00
gregoirenovel
f3343f593f
Fix some spelling mistakes
2017-05-04 16:15:51 +02:00
gregoirenovel
53e5416627
Remove an unused file
2017-05-04 16:01:41 +02:00
gregoirenovel
402f44c5fd
Champs privés -> Annotations privées
2017-05-04 11:35:23 +02:00
gregoirenovel
77dae0462b
Utilisateur -> Usager
2017-05-04 11:35:23 +02:00
gregoirenovel
4303dcef2c
Organisation -> Organisme
2017-05-04 11:35:22 +02:00
gregoirenovel
d3a84eb20a
Démarche -> Procédure
2017-05-04 11:33:26 +02:00
gregoirenovel
988947696e
[ Fix #161 ] Remove incorrect commas from Dossier#text_summary
2017-05-04 11:25:33 +02:00
Mathieu Magnin
b6e1526f89
Fix #239 , (refresh is needed to load charts)
2017-05-03 18:48:27 +02:00
gregoirenovel
eff9e556e9
[ Fix #162 ] Deny dossier access for an unauthorized accompagnateur
2017-05-03 10:28:29 +02:00
gregoirenovel
f310f672b6
Extract class attributes from HAML tag attributes
2017-04-26 17:22:31 +02:00
gregoirenovel
7ddcb9aedc
Extract id attributes from HAML tag attributes
2017-04-26 17:22:30 +02:00
gregoirenovel
51daa2f498
Use implicit div tags instead of explicit
2017-04-26 17:01:45 +02:00
Mathieu Magnin
6ef6a66c3f
Remove @facade_data_view from left_panel view
2017-04-26 16:55:22 +02:00
gregoirenovel
f58a626648
[ Fix #99 ] Improve the info message in _dossier_link.html.haml
2017-04-26 16:47:38 +02:00
gregoirenovel
a6d3ea8536
[ Fix #133 ] Improve the linked dossier informations displayed
2017-04-26 15:59:18 +02:00
gregoirenovel
f5c5ad532d
Add Dossier#text_summary
2017-04-26 15:59:17 +02:00
gregoirenovel
7173d359d4
[ Fix #132 ] Show the dossier link in the dossier detail for Users
...
There’s no reason why they couldn’t easily
navigate to it
Also improve the typography of a placeholder
message
2017-04-26 11:57:36 +02:00
gregoirenovel
8deef8e8e3
[ Fix #137 ] Change the dossier link placeholder
...
Otherwise we don’t know what to enter (words,
numbers…)
2017-04-26 11:46:39 +02:00
gregoirenovel
14b7badfed
Eager-load the dossier’s procedure when possible
2017-04-26 09:53:10 +02:00
gregoirenovel
6bb67d639c
Use lowercase letters and dashes for CSS classes
...
As enforced by scss-lint
2017-04-25 15:59:03 +02:00
gregoirenovel
8bea7cb610
Fix a typographic mistake in _dossier_link.html.haml
...
Sentences should start with an uppercase letter
2017-04-25 15:59:03 +02:00
gregoirenovel
f8cb34a393
Add some spacing in _dossier_link.html.haml
2017-04-25 15:59:03 +02:00
Mathieu Magnin
887512c26c
Procedure path can contain dashes and can be longer
2017-04-21 16:32:48 +02:00
gregoirenovel
595ea9bb37
Add a “Call Us” CTA on the landing page
2017-04-21 14:57:54 +02:00
gregoirenovel
03761c1136
Change the testimonials’ order
2017-04-21 14:57:54 +02:00
Mathieu Magnin
757af12d42
Add invites to API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
40d897f538
Add accompagnateurs emails in API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
bf67b3f7ad
Add dossier workflow dates to the API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
822c7cdd96
Add human version translation for state
2017-04-21 14:51:35 +02:00
Mathieu Magnin
d87989622c
Remove useless code
2017-04-21 14:51:34 +02:00
Mathieu Magnin
762a11fc6f
Define .termine as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
320ff4839f
Define .en_instruction as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
7a9fd77af0
Remove archived=false filter from en_construction scope (Fix : archived dossier is not shown to user)
2017-04-21 14:36:50 +02:00
Mathieu Magnin
688a3d8f31
Define .brouillon as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
21a2a5402b
Remove unused service
2017-04-21 14:36:50 +02:00
Mathieu Magnin
1a628dc42c
Remove DossierListFacade dependency
2017-04-21 14:36:50 +02:00
gregoirenovel
0ddd7ae639
Add the “CTA” part of the landing page
2017-04-20 12:38:00 +02:00
gregoirenovel
663b556766
Add the “Users” part of the landing page
2017-04-20 12:38:00 +02:00
gregoirenovel
f604ccb7d6
Add the “Numbers” part of the landing page
2017-04-20 12:37:59 +02:00
gregoirenovel
4b2baa25b7
Add the “Testimonials” part of the landing page
2017-04-20 12:37:58 +02:00
gregoirenovel
58a7f399c0
Add the “Features” part of the landing page
2017-04-20 12:18:18 +02:00
gregoirenovel
663cd18364
Change the landing page, add the “Hero” part
2017-04-20 12:18:17 +02:00
gregoirenovel
e504531ca0
Use the new_application layout for the landing page
2017-04-20 12:18:16 +02:00
gregoirenovel
f9b4469660
Add the new footer
2017-04-20 12:18:16 +02:00
gregoirenovel
336e6120a6
Add the new header
2017-04-20 12:18:16 +02:00
gregoirenovel
e605be9246
Add the new_application layout
2017-04-20 12:18:15 +02:00
gregoirenovel
5c1aad2e4f
Add the placeholders stylesheet
2017-04-20 12:18:15 +02:00
gregoirenovel
8dcf0af56d
Add the mixins stylesheet
2017-04-20 12:18:14 +02:00
gregoirenovel
3696d3613a
Add the typography stylesheet
2017-04-20 12:18:14 +02:00
gregoirenovel
40d49aee1f
Add the Muli Regular and Bold fonts
2017-04-20 12:18:14 +02:00
gregoirenovel
8f2ef4e254
Add the colors stylesheet
2017-04-20 10:41:03 +02:00
gregoirenovel
01f894316c
Rename _variables.scss to _constants.scss
2017-04-20 10:41:02 +02:00
gregoirenovel
d8cc41140b
Remove an unexpected blank line
2017-04-20 10:35:53 +02:00
gregoirenovel
5d4dcf8ec7
Don't use line blocks
2017-04-20 10:35:53 +02:00
gregoirenovel
c10c2fc31b
Selectors must be written in lowercase with hyphens
2017-04-20 10:35:53 +02:00
gregoirenovel
73caee0ff3
Remove unused declarations
2017-04-20 10:05:59 +02:00
gregoirenovel
c32a2432c7
Don’t use vendor prefixes
2017-04-20 10:05:59 +02:00
gregoirenovel
e2bd606e49
Declarations must be terminated by a semicolon
2017-04-20 10:05:58 +02:00
gregoirenovel
0316bac137
Use double-quoted strings
2017-04-20 10:05:58 +02:00
gregoirenovel
11e5943989
Only one selector per line
2017-04-20 10:05:56 +02:00
gregoirenovel
5e1c99d642
Opening curly braces must be preceded by one single space
2017-04-19 17:05:57 +02:00
gregoirenovel
8cad7361cf
An operator must be surrounded by single spaces
2017-04-19 17:05:57 +02:00
gregoirenovel
0789cfd311
Colons must be followed by a single space
2017-04-19 17:05:57 +02:00
gregoirenovel
8906801d6c
Comment literals must be followed by a space
2017-04-19 17:05:57 +02:00
gregoirenovel
4b575bd386
Commas are followed by a space
2017-04-19 17:05:57 +02:00
gregoirenovel
4f0de677ab
Begin pseudo elements with double colons
2017-04-19 17:05:57 +02:00
gregoirenovel
4b39e76c8a
Use extend only with placeholders
2017-04-19 17:05:57 +02:00
gregoirenovel
f3ec7f1d42
Indent with two spaces
2017-04-19 17:05:57 +02:00
gregoirenovel
af7b611dd0
< 1 numbers must all have a leading zero
2017-04-19 17:05:57 +02:00
gregoirenovel
c9ff601b28
Hex colors must be written with uppercase letters
2017-04-19 17:05:57 +02:00
gregoirenovel
f519896e54
Hex colors must be 6 characters long
2017-04-19 17:05:57 +02:00
gregoirenovel
2cae8e751e
Blocks must be separated by an empty line
2017-04-19 17:05:57 +02:00
gregoirenovel
0d5dd9d492
Remove empty rules
2017-04-19 17:05:57 +02:00
gregoirenovel
6a13e481fd
Fix the declaration order
2017-04-19 17:05:57 +02:00
gregoirenovel
0ed13c9fe7
Remove duplicated properties
2017-04-19 17:05:56 +02:00
gregoirenovel
c5fc77b606
Change the comments style
2017-04-19 17:05:56 +02:00
gregoirenovel
bb02339183
Use border: none instead of border: 0
2017-04-19 17:05:56 +02:00
gregoirenovel
db331447e1
Use hex codes for colors
2017-04-19 17:05:55 +02:00
Simon Lehericey
ce4a23ec7f
MandatoryAttachment: show * near mandatory attachment
2017-04-19 15:45:45 +02:00
Simon Lehericey
2b969ef575
MandatoryAttachment: group missing errors logic together
...
and show errors only if not draft
2017-04-19 15:45:45 +02:00
gregoirenovel
b00eb914da
Use case statements instead of if statements where appropriated
2017-04-19 11:57:49 +02:00
gregoirenovel
9071656b55
Use #each instead of #map 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
aa41349f0c
Lowercase the “n” of “numéro” contraction where needed
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
4cd21580fb
DescriptionController: move html_safe to the view
...
html_safe could not work upon redirection as stated here :
https://groups.google.com/forum/#!topic/rubyonrails-core/z52zgDgUmbs
2017-04-19 10:52:04 +02:00
Simon Lehericey
eb3bb63a8f
DescriptionController: remove useless @champs
2017-04-19 10:52:04 +02:00
Simon Lehericey
866a54085c
DescriptionController: cosmetic
2017-04-19 10:52:04 +02:00
Simon Lehericey
157d1818b2
DescriptionController: move instance var to local var
2017-04-19 10:52:04 +02:00
Simon Lehericey
71542f6a3a
PiecesJustificativesService: more explicit selection of content
2017-04-19 10:24:08 +02:00
Simon Lehericey
21d7a96062
PiecesJustificativesService: less violent error message in case of virus
2017-04-19 10:22:30 +02:00
Simon Lehericey
395c9d5bb1
PiecesJustificativesService: improve error message when the file cannot be saved
2017-04-19 10:20:32 +02:00
Simon Lehericey
e0828dda13
PiecesJustificativesService: save_pj returns nil if no errors
2017-04-19 10:16:30 +02:00
Simon Lehericey
8e7e7a8ab4
Stats Index: remove useless locale
2017-04-19 10:06:22 +02:00
Simon Lehericey
4c74b04a91
Commentaire: use fr local to display date
2017-04-19 10:06:22 +02:00
Simon Lehericey
367b7c6ae1
DescriptionController: use common system to redirect with errors
2017-04-18 17:48:03 +02:00
Simon Lehericey
591ed2037e
PiecesJustificativesServices: refactor upload_one!
2017-04-18 17:48:03 +02:00
Simon Lehericey
03e9cd523e
PiecesJustificativesService: mandatory pj check and add test
2017-04-18 17:48:03 +02:00
Simon Lehericey
e49ea2d0e0
PiecesJustificative: add field to set it mandatory
...
small css to align the fields
2017-04-18 17:48:03 +02:00
gregoirenovel
3abbb0bdcd
Use french formatting for numbers on the Stats page
2017-04-18 14:34:56 +02:00
gregoirenovel
21ff863dab
[ Fix #112 ] Add favicons
2017-04-17 19:32:26 +02:00
Mathieu Magnin
1612b60126
Remove useless code
2017-04-13 16:54:00 +02:00
Mathieu Magnin
320d5da40f
Add individual infos to flat table export serializer
2017-04-13 16:54:00 +02:00
gregoirenovel
d531b02bc5
Order types_de_piece_justificative on Procedure
...
So that /spec/controllers/api/v1/
dossiers_controller_spec.rb#L163-L179 (on commit
8852431
for example) does not randomly fail due
to unordered types_de_piece_justificative
2017-04-13 14:48:18 +02:00
Mathieu Magnin
080c7c3d04
Fix csv export with no dossiers
2017-04-12 18:19:37 +02:00
gregoirenovel
f4ff778a5c
Add a missing newline before the end of the controller
...
Same spacing rules at the top and at the bottom
of the file
2017-04-11 16:58:27 +02:00
gregoirenovel
913735554c
Improve StatsController#thirty_days_flow and #clean_hash
2017-04-11 16:58:27 +02:00
gregoirenovel
11015787bf
Add new total numbers to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
52ea4a1b8d
Add new charts and a segmented control to the Stats page
2017-04-11 16:51:38 +02:00
gregoirenovel
9dc4901294
Change the template and style of the Stats page
2017-04-11 15:29:19 +02:00
gregoirenovel
e370c4e393
Exclude draft Dossiers and unpublished Procedures from Stats
2017-04-11 15:29:19 +02:00
gregoirenovel
2074ac93ba
Add StatsController#thirty_days_flow_hash
2017-04-11 15:29:19 +02:00
gregoirenovel
e192038045
Rename the variables in StatsController#index
2017-04-11 15:29:19 +02:00
gregoirenovel
c4c6095abd
Only show the last 30 days of data in Stats
2017-04-11 15:29:19 +02:00
gregoirenovel
de01914fa7
Fix the where clause in Stats
...
Now properly show the last 90 days of data instead
of strict quarters.
With the previous code, on the
1st of january, april, july and october, only one
day of data would be shown.
2017-04-11 15:29:18 +02:00
gregoirenovel
664d821dc0
Add a link to the Stats page in the footer
2017-04-11 15:29:18 +02:00
gregoirenovel
f84cd7f11b
Make Stats a public page
2017-04-11 15:29:18 +02:00
Simon Lehericey
4a16fb2ce2
DescriptionController: refacto
2017-04-11 14:45:30 +02:00
gregoirenovel
dd1fd419c7
Require mandatory fields on the frontend side
2017-04-11 14:25:49 +02:00
Simon Lehericey
a324a22ba2
DossierLink: add show template
2017-04-11 13:54:33 +02:00
Simon Lehericey
3228737a87
DossierLink: add edition template
2017-04-11 13:54:33 +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
Simon Lehericey
ccf956ec01
DescriptionController: refactor redirection for draft
2017-04-11 12:11:10 +02:00
Simon Lehericey
d14a75c24a
DescriptionController: refactor check_mandatory_fields
2017-04-11 12:11:10 +02:00
Simon Lehericey
191b29aff5
DescriptionController: simplify update logic
2017-04-11 12:11:10 +02:00
Simon Lehericey
3a9065e4c1
DescriptionController: remove useless code
2017-04-11 12:11:10 +02:00
Simon Lehericey
c4e128a506
DescriptionController: rename variable
2017-04-11 12:11:09 +02:00
Simon Lehericey
4df03fc28e
ChampsService: add tests and refactor
2017-04-11 12:11:09 +02:00
gregoirenovel
1db37894c2
Factorize some code in Dossier#serialize_value_for_export
2017-04-11 11:43:42 +02:00
gregoirenovel
ae5b4f6249
Refactor Dossier#full_data_strings_array
2017-04-11 11:39:34 +02:00
gregoirenovel
df878b9ef4
Change Dossier#convert_specific_array_values_to_string’s signature and name
...
- It is always called with the data_with_champs
argument
- Changing the signature requires a change of name
in this case
2017-04-11 10:29:07 +02:00
gregoirenovel
57ee3c5b3f
Separate ternary operators with spaces on both sides
2017-04-10 17:55:55 +02:00
gregoirenovel
9c04d3ff93
All CSS declarations must end with a semi-colon
2017-04-10 17:55:55 +02:00
gregoirenovel
3797015908
All colons must be followed by a single space
2017-04-10 17:55:55 +02:00
gregoirenovel
97df69bcd8
In HAML files, separate arguments by a comma and a single space
2017-04-10 17:55:55 +02:00
gregoirenovel
6db4a69cb2
Use spaces inside hashes
2017-04-10 17:55:54 +02:00
gregoirenovel
aaaed328fb
Remove unnecessary string outputs
2017-04-10 17:55:54 +02:00
gregoirenovel
8d9cdf8e33
Remove a useless string in the gestionnaires list
2017-04-10 17:55:54 +02:00
gregoirenovel
6cb53b5545
Move a comment to avoid a haml-lint MultilineScript warning
2017-04-10 17:55:54 +02:00
gregoirenovel
7a941d3219
Remove a useless id in _list.html.haml
2017-04-10 17:55:54 +02:00
gregoirenovel
aa255e7e2d
Use HAML comments in HAML files
2017-04-10 17:55:54 +02:00
gregoirenovel
69ba92009b
Separate HAML comments from the leading # by a space
2017-04-10 17:55:54 +02:00
gregoirenovel
a8d2a003c1
Do not define static class names in the attributes hash
2017-04-10 17:55:53 +02:00
gregoirenovel
4788e280f5
Fix the indentation in the drop down list template
2017-04-10 17:55:53 +02:00
gregoirenovel
2d5df47c4e
Use implicit div tags in HAML files
2017-04-10 17:55:53 +02:00
gregoirenovel
7e067c2624
Static classes attribute must use the inline tag syntax
2017-04-10 17:55:53 +02:00
gregoirenovel
a3d04fe7a9
Html Ruby evaluation tags must be followed by a single space
2017-04-10 17:55:53 +02:00
gregoirenovel
e7e4e41e12
Haml Ruby evaluation tags must be followed by a space
2017-04-10 17:55:53 +02:00
gregoirenovel
3ca914aba8
Delete some environment-based conditions
...
We should always try to be the closest to the
production environment
2017-04-10 16:17:33 +02:00
Mathieu Magnin
bf0d466f4b
Move export_full_generation method from Dossier to Procedure
2017-04-05 12:26:38 +02:00
Mathieu Magnin
b18c09e9fd
Download dossiers button exports all dossiers except draft
2017-04-05 11:04:53 +02:00
gregoirenovel
cb677dfb45
Indent using 2 spaces
2017-04-04 16:59:40 +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
87ab2ba9eb
Remove trailing spaces
2017-04-04 16:59:37 +02:00
gregoirenovel
6cb78acd85
Make the birthday field a date field
...
And remove the date picker (you can now use the
native one)
2017-04-03 16:03:38 +02:00
gregoirenovel
8126549a0d
Make the datepicker french for the auto archive field
2017-04-03 16:03:38 +02:00
Mathieu Magnin
d5e5a7997a
Disable turbolinks cache to avoid weird behavior (ex: page change twice after single click)
2017-04-03 15:43:42 +02:00
Mathieu Magnin
08442e64a3
Update turbolinks
2017-04-03 15:43:41 +02:00
gregoirenovel
28747a951f
Delete unused assets
2017-04-03 13:25:19 +02:00
Mathieu Magnin
95b83a57c1
Checkbox should be checked when value is 'on'
2017-04-03 10:50:15 +02:00
Mathieu Magnin
096f1e7198
Imageoptim on assets saved 400 ko
2017-03-30 15:51:39 +02:00
Mathieu Magnin
e4826b468a
Fix departements / pays / regions drop down list
2017-03-29 14:22:23 +02:00
gregoirenovel
c6738bf223
Rename Mr in M.
2017-03-27 15:45:07 +02:00
Mathieu Magnin
6a8ca67a83
Merge branch 'develop' into auto_archive_on_date
2017-03-27 15:35:52 +02:00
gregoirenovel
458f557c93
Add a sort order to the demo procedures list
2017-03-22 17:52:56 +01:00
Mathieu Magnin
c2a27c6f6a
Merge branch 'develop' into auto_archive_on_date
2017-03-22 11:32:56 +01:00
Mathieu Magnin
8e91d4ba97
Merge branch 'develop' into select_multiple
2017-03-20 12:30:42 +01:00
Mathieu Magnin
75007825f8
Update champ_decorator.rb
2017-03-20 12:14:16 +01:00
Simon Lehericey
a076dc2987
Wording
2017-03-20 12:03:27 +01:00
Simon Lehericey
ce343aac96
Select Multiple: text in placeholder and add separator
2017-03-20 11:36:06 +01:00
Simon Lehericey
ebd2051337
multiple_select: fix decorateur interference
2017-03-16 09:09:15 +01:00
Simon Lehericey
b3624256cd
select_multiple: add decoration for view of multiple_select
2017-03-15 17:51:34 +01:00
Simon Lehericey
2f561a9cd0
select_multiple: clean user input
2017-03-15 17:51:34 +01:00
Simon Lehericey
1fa1e9e8e8
select_multiple: add select2
2017-03-15 17:51:34 +01:00
Simon Lehericey
3ed14bf1a4
Cleaning
2017-03-15 17:51:34 +01:00
Simon Lehericey
657ce53a60
select_multiple: add multiple_drop_down_list type
2017-03-15 17:51:34 +01:00
Mathieu Magnin
a87b54b168
Typo
2017-03-15 15:28:09 +01:00
Mathieu Magnin
237d4bdc28
Auto archive option is available even if procedure is published
2017-03-15 15:22:29 +01:00
Mathieu Magnin
4d323497e7
Remove puts
2017-03-15 15:16:00 +01:00
Mathieu Magnin
24d17dc0f3
Sidekiq worker to archive procedures automatically + tests
2017-03-15 12:40:59 +01:00
Simon Lehericey
7596c2424e
Explication: do not show explication in _infos_dossier
2017-03-14 13:59:37 +01:00
Simon Lehericey
fb2aef1810
Explication: style in edit page
2017-03-14 13:58:59 +01:00
Simon Lehericey
d250cafccc
Explication: add champ in edit formulaire
2017-03-14 13:58:21 +01:00
Simon Lehericey
fcca0bb247
Cleaning
2017-03-14 13:54:31 +01:00
Mathieu Magnin
359807b4f7
Procedure has an auto_archive date
2017-03-14 10:45:59 +01:00
Simon Lehericey
176092c256
Explication: add field and template
2017-03-13 15:02:05 +01:00
Simon Lehericey
ec0092fb3c
Cleaning
2017-03-13 15:01:41 +01:00
LeSim
8f5f86b2f3
Merge pull request #40 from sgmap/destroy_emails_with_procedure
...
Destroy emails with procedure
2017-03-13 13:59:32 +01:00
Mathieu Magnin
fc9ef92c37
Destroy emails with procedure
2017-03-13 10:27:19 +01:00
Mathieu Magnin
ad1250af6f
Add confirm popup on important actions
2017-03-09 16:55:47 +01:00
Mathieu Magnin
48d12cfa34
max width in Administration
2017-03-08 14:52:37 +01:00
Simon Lehericey
66cb0c09b1
Stats: wording
2017-03-08 14:26:45 +01:00
Mathieu Magnin
5d4e8622f6
Merge pull request #38 from sgmap/stats
...
Stats: add adminitrations stats view
2017-03-08 10:59:06 +01:00
Mathieu Magnin
342a6b239e
Small css changes
2017-03-08 10:55:24 +01:00
LeSim
78325cc9f9
Merge pull request #34 from sgmap/customize_submission_mail
...
Customize submission mail
2017-03-07 18:32:55 +01:00
Mathieu Magnin
9cd506e265
Clone mail_templates with procedure
2017-03-07 18:19:48 +01:00
Simon Lehericey
6cb88a995f
Stats: add adminitrations stats view
2017-03-07 18:09:09 +01:00
Mathieu Magnin
4ea7635dfc
Fix after review
2017-03-07 16:23:44 +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
LeSim
9764604430
Merge branch 'develop' into customize_submission_mail
2017-03-07 11:05:04 +01:00
Mathieu Magnin
a88b150c3c
Add remember me on login
2017-03-07 10:29:48 +01:00
Simon Lehericey
65e83dd6ec
Mails: factorize default and change slug
2017-03-07 10:27:14 +01:00
Simon Lehericey
02bbf0543f
Mails: move to their own namespace
2017-03-07 10:27:14 +01:00
Simon Lehericey
335caed65e
Mail Template: Delete
2017-03-07 10:27:14 +01:00
Simon Lehericey
2536774519
DescriptionController: send initiatedMail notification
2017-03-07 10:27:14 +01:00
Simon Lehericey
3d7f04ad3d
DossierController: send receivedMail when the mail is ... received
2017-03-07 10:27:14 +01:00
Simon Lehericey
9d710336b3
MailTemplate: allow edition of all the new mails
2017-03-07 10:27:13 +01:00
Simon Lehericey
c8f515832b
MailTemplate: add email and nom_organisation tag
2017-03-07 10:27:13 +01:00
Simon Lehericey
6c560e65eb
Notification Mailer: use send_notification for all the mails
2017-03-07 10:27:13 +01:00
Simon Lehericey
70b2020656
Procedure: remove mail_template
2017-03-07 10:27:13 +01:00
Simon Lehericey
206d56f106
Procedure: add the new mails
2017-03-07 10:27:13 +01:00
Simon Lehericey
695dc16b85
Mails: add refused, without_continuation, draft, closed, received mails object
2017-03-07 10:27:05 +01:00
Simon Lehericey
7b336922cc
Cleaning
2017-03-07 10:25:34 +01:00
Simon Lehericey
36500407b4
DossierController: use the new method send_notification
2017-03-07 10:25:34 +01:00
Simon Lehericey
65d399b4b0
NotificationMailer: add send notification
2017-03-07 10:25:34 +01:00
Simon Lehericey
89763ec8d4
MailTemplateController: use new initiated_mail
2017-03-07 10:25:34 +01:00
Simon Lehericey
c22c84f1f9
Procedure: add inititad_mail with default provider
2017-03-07 10:25:34 +01:00
Simon Lehericey
2f5dde381a
NotificationMailer: simplify using default method
2017-03-07 10:25:34 +01:00
Simon Lehericey
47fc6e6957
InitiatedEmail: add initiated email
2017-03-07 10:25:28 +01:00
LeSim
22837c01b0
Merge pull request #35 from sgmap/state_wording
...
Wording
2017-03-06 20:49:22 +01:00
Simon Lehericey
a334888363
Wording
2017-03-06 20:44:25 +01:00
Simon Lehericey
a5bb6ea0d7
Dossier: fix merge
2017-03-06 18:17:28 +01:00
LeSim
caf1f1b74f
Merge branch 'develop' into add_dossier_workflow_dates
2017-03-06 17:54:45 +01:00
LeSim
4de6a9595a
Merge pull request #33 from sgmap/block_dossier_initiation_if_procedure_is_archived
...
Block dossier initiation if procedure is archived
2017-03-06 17:48:18 +01:00
Mathieu Magnin
376c50db8f
Long procedure title should be cut if too long
2017-03-06 16:18:22 +01:00
Mathieu Magnin
44819bb0b1
Fix reopened dossier should not be listed in new dossiers
2017-03-06 15:59:52 +01:00
Mathieu Magnin
7e4f473027
When procedure is archived user can update dossier if not in brouillon
2017-03-06 15:03:51 +01:00
Mathieu Magnin
a24980145c
Block dossier initiation if procedure is archived
2017-03-06 14:29:01 +01:00
Simon Lehericey
7eb77ba667
Mail Received: remove useless template_decorator
2017-03-05 22:17:17 +01:00
Mathieu Magnin
d03016db9c
Merge branch 'develop' into list_dossiers_archived
2017-03-02 16:22:59 +01:00
Simon Lehericey
5cceb9773c
Style: simple css for custom emails list
2017-03-02 16:19:05 +01:00
Mathieu Magnin
858c9a3bba
Export dates and add tests
2017-03-02 16:18:14 +01:00
Mathieu Magnin
c77c46bf37
Remove unused title
2017-03-02 11:53:03 +01:00
Mathieu Magnin
6fcd35fd4c
Merge branch 'develop' into add_dossier_workflow_dates
2017-03-02 11:46:17 +01:00
Mathieu Magnin
e9147a8e76
Fix floating login button
2017-03-02 11:20:20 +01:00
Simon Lehericey
494d5fed5c
Dossier_list_controller: renaming
2017-03-01 16:00:39 +01:00
Simon Lehericey
ca799421c9
backoffice dossiers index: simple cleaning
2017-03-01 15:51:02 +01:00
Simon Lehericey
0862f2fc51
Dossier_list_controller: same name pattern
2017-03-01 15:51:02 +01:00
Simon Lehericey
5b475fdd06
Dossier_list_controller: simplify smartlisting
2017-03-01 15:51:02 +01:00
Simon Lehericey
925a087f4a
Dossier_list_controller: use same system for archived dossiers
2017-03-01 15:50:57 +01:00
Mathieu Magnin
4d60aecb6d
Merge branch 'develop' into try_to_use_sqlite
2017-03-01 14:59:17 +01:00
Simon Lehericey
8dc634f4d3
Dossier_list_controller: factorize smart_listing_create
2017-03-01 14:19:22 +01:00
Mathieu Magnin
87865fcf1b
Merge branch 'develop' into list_dossiers_archived
2017-03-01 10:35:20 +01:00
Mathieu Magnin
d9f5603f05
Add state dates to dossier
2017-03-01 09:51:55 +01:00
Simon Lehericey
c56a346f2e
fix wrong mail subject
2017-02-28 18:07:58 +01:00
Simon Lehericey
b097e1d6b8
Tests: adapt to sqlite
2017-02-28 17:01:58 +01:00
Simon Lehericey
db3884cc93
Style: fix width in show dossier
2017-02-28 16:00:42 +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
Simon Lehericey
43e6f15c5f
Style: fix backoffice navbar
2017-02-28 15:14:01 +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
Simon Lehericey
7b877dc28f
Style: fix backoffice dossier width for small screen
2017-02-28 13:54:19 +01:00
Mathieu Magnin
ef1d46d30e
Fix tests
2017-02-28 11:37:37 +01:00
Mathieu Magnin
6774dd008f
List dossiers archived
2017-02-27 17:44:08 +01:00
Mathieu Magnin
ab3c1b4be4
Remove mail validated in procedure
2017-02-27 13:29:26 +01:00
Mathieu Magnin
4cc6aedfb9
Fix tests after workflow simplication
2017-02-27 11:56:26 +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
Mathieu Magnin
cae5b37e38
First step to remove :validated and :submitted states
2017-02-21 18:05:48 +01:00
Mathieu Magnin
6f1243eb7e
Do not hide link if procedure is archived
2017-02-21 11:05:11 +01:00
Simon Lehericey
b6fc30fd62
Search: see only its own files
2017-02-20 18:07:33 +01:00
Mathieu Magnin
ab0d8deef1
Modify wording : Procedure can be edited after publication
2017-02-20 15:08:31 +01:00
Mathieu Magnin
c4f57087fe
Merge pull request #23 from sgmap/admin_can_modify_procedure_description_after_published
...
Admin can modify procedure description after published
2017-02-20 14:52:14 +01:00
Mathieu Magnin
62152e0b6e
After environment.rb updated this should work
2017-02-20 14:11:12 +01:00
Mathieu Magnin
2798d225fd
Fix uninitialized constant
2017-02-17 17:18:10 +01:00
Mathieu Magnin
85c07f8095
Quick & dirty fix
2017-02-16 18:05:42 +01:00
Mathieu Magnin
ff9c95f18e
Merge branch 'develop' into admin_can_modify_procedure_description_after_published
2017-02-16 15:59:49 +01:00
Mathieu Magnin
9fcc0920e6
Css update
2017-02-16 13:59:32 +01:00
Mathieu Magnin
6979f6b5f6
Add some tests
2017-02-15 17:09:25 +01:00
Simon Lehericey
a124069210
Procedure: use after_create to build_default_mails
2017-02-15 15:44:27 +01:00
Mathieu Magnin
1d0a236813
Typo
2017-02-15 15:21:34 +01:00
Mathieu Magnin
a0d84eda5c
Fix logo display in development
2017-02-15 15:13:49 +01:00
Mathieu Magnin
a636d4f98d
Filter procedure update parms if procedure is locked
2017-02-15 14:13:02 +01:00
Mathieu Magnin
85608f18ab
Description page is accessible, some field are disabled if procedure is locked
2017-02-14 18:13:19 +01:00
Mathieu Magnin
c0ae500aa3
Merge branch 'develop' into remove_cerfa_text
2017-02-14 17:59:41 +01:00
Mathieu Magnin
9986ab1f01
Merge pull request #21 from sgmap/clean_grid
...
Clean grid
2017-02-14 17:58:15 +01:00
LeSim
7bc6e67e15
Merge pull request #19 from sgmap/clickable-links-in-champs-description
...
Add clickable links in champ description and use bootstrap layout for…
2017-02-14 17:28:03 +01:00
Simon Lehericey
5359c046e6
Clean grid usage
2017-02-14 17:12:44 +01:00
Simon Lehericey
3b827fa5e3
Remove specific cerfa in favor of default enclosed documents
2017-02-14 16:26:25 +01:00
Mathieu Magnin
11c793a60c
Remove custom button code, use bootstrap classes
2017-02-14 16:23:48 +01:00
Mathieu Magnin
6c41cbcc5e
Clean css
2017-02-14 16:20:52 +01:00
Mathieu Magnin
e7b91c3db5
Bootstrap default font-size is set to 16px
2017-02-14 16:09:52 +01:00
Mathieu Magnin
1e3c5bf14a
Fix engagement field
2017-02-14 15:23:39 +01:00
Mathieu Magnin
f60098311e
Fix hidden checkbox bug, address field : full width
2017-02-14 14:55:08 +01:00
Mathieu Magnin
b08a4c5091
Fix style for checkbox and radios
2017-02-14 14:34:00 +01:00
Mathieu Magnin
308a037f19
Add clickable links in champ description and use bootstrap layout for forms
2017-02-14 11:13:48 +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
Xavier J
c344c99fbb
Merge branch 'sync-passwords-on-login' into develop
2017-02-13 13:47:36 +01:00
Mathieu Magnin
5613b896b1
Gestionnaire can archive dossier
2017-02-08 17:35:28 +01:00
Mathieu Magnin
82546a3ad4
Fix merge error
2017-02-08 15:32:49 +01:00
Mathieu Magnin
8ba8135e6b
Allow blank for lien_demarche
2017-02-07 18:12:25 +01:00
Mathieu Magnin
1bd66b6a9e
Add tests and lien_demarche in serialize
2017-02-07 18:12:25 +01:00
Mathieu Magnin
f15e9ec7da
In dev mode, demo buttons link to localhost
2017-02-07 18:12:25 +01:00
Mathieu Magnin
566fd8bc74
Add lien demarche to type de piece justificative
2017-02-07 18:12:25 +01:00
Xavier J
333ea9a610
Merge commit '99248a75a02710899e7ee2ecbcb3b304620cb721' into develop
2017-02-07 17:54:21 +01:00
Xavier J
5edd16c30f
Fix indentation
2017-02-07 17:52:56 +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
aa88fad777
Sync password after login
2017-02-07 16:56:21 +01:00
Mathieu Magnin
6444aa5be6
Use has_one instead of scope
2017-02-06 16:52:57 +01:00
Mathieu Magnin
749baedf43
Replace administration with services instructeurs
2017-02-01 18:05:58 +01:00
Mathieu Magnin
6bf3b9edf8
Fix test : do not send notification if commentaire is not saved
2017-02-01 17:16:08 +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
91bd058106
Some fixes after review
2017-02-01 15:58:56 +01:00
Mathieu Magnin
34d05e4d9e
Improve the print css for the dossier/show
2017-02-01 14:24:24 +01:00
Mathieu Magnin
9266cf0feb
Disable scrollwheel zoom on map
2017-02-01 10:31:45 +01:00
Mathieu Magnin
ef9012cd82
Add lien cerfa vierge in the modification popup
2017-01-31 17:58:44 +01:00
Mathieu Magnin
37d31fae7b
Rename formulaire to formulaire de demande
2017-01-31 11:45:29 +01:00
Mathieu Magnin
38e8acf285
Change some wordings and clean some templates
2017-01-31 10:46:20 +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
99248a75a0
Add accompagnateurs emails in export
2017-01-26 17:54:04 +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
482ca2a317
Add a mail_template decorator
2017-01-24 11:58:09 +01:00
Mathieu Magnin
0e5c90cb0c
Real index and edit for mail_templates
2017-01-24 10:19:42 +01:00
JC
4880101202
Fixing nomethoderror for opensimplif
2017-01-23 17:18:57 +01:00
Mathieu Magnin
7e24adbca0
Add mail preview and small fix
2017-01-23 15:49:19 +01:00
Mathieu Magnin
c41c36b4d1
Fix typo
2017-01-19 12:07:55 +01:00
Mathieu Magnin
52bf1d1ea2
Fix typos
2017-01-19 11:58:38 +01:00
Mathieu Magnin
2e3cb7a861
Cleaning HAML
2017-01-18 15:34:03 +01:00
Mathieu Magnin
d5e4f45d7d
Add xray-rails in dev mode
2017-01-18 13:59:14 +01:00
Xavier J
154e4f3c10
Refacto check_invite! after registration for User.
2017-01-13 11:19:29 +01:00
Xavier J
f5f5ef1a0d
Badge count invites by dossiers
2017-01-12 17:02:30 +01:00
Xavier J
42359eff15
Fix rake tasks
2017-01-11 17:36:28 +01:00
Xavier J
6612e56da2
Mask section left panel is user does not have any dossier
2017-01-11 15:22:24 +01:00
Xavier J
a6b10ba2df
Active protect on change dossier state tool with admin email verification
2017-01-10 17:34:55 +01:00
Xavier J
bc71754e87
Add tool change dossier state
2017-01-10 17:29:38 +01:00
Xavier J
04ee25dc7d
Fix bug post commentaire invite
2017-01-10 16:25:05 +01:00
Xavier J
8f5ad1af35
Fix bug procedure_path does not exist
2017-01-10 15:27:40 +01:00
Xavier J
12af46a22a
Fix invite dossier validated recapitulative show
2017-01-10 15:04:13 +01:00
Xavier J
672ad55651
Fix FranceConnect connexion routing
2017-01-10 11:03:12 +01:00
Xavier J
23df8a2348
- Ajust TPS for OpenSimplif
...
- Create /simplifcations routes for OpenSimplifController
2017-01-09 17:12:11 +01:00
Xavier J
29c7c8f498
Fix bug @liste sélection in DossierListGestionnaireService
2017-01-09 12:26:41 +01:00
Xavier J
32378405ed
Fix smart listing usage with new admin list presentation
2017-01-09 12:00:39 +01:00
Xavier J
c815ec5e82
Add tab for follow dossier in gestionnaire dashboard
2017-01-05 19:07:01 +01:00
Xavier J
ab02fe48c3
Force state dossier in files lists on gestionnaire board
2017-01-05 18:01:53 +01:00
Xavier J
b48726427d
Fix bug with procedure_filter loop redirections
2017-01-05 12:44:15 +01:00
Xavier J
99e6749c96
Fix invite to access a files
2017-01-04 18:03:03 +01:00
JC
45042d0200
Catching case for empty dossiers, cannot download them while locked on procedure, third fix making good condition about empty dossiers
2017-01-03 15:50:44 +01:00
JC
2670a9db0e
Catching case for empty dossiers, cannot download them while locked on procedure
2017-01-03 15:15:20 +01:00
JC
e7ef58dc9a
Catching case for empty dossiers, cannot download them while locked on procedure
2017-01-03 15:14:39 +01:00
Xavier J
54bcc829c0
Fix commentaire PJ bug
2017-01-03 15:12:49 +01:00
Xavier J
6f31a4d7b7
Fix logo TPS with
2017-01-03 14:53:56 +01:00
Xavier J
8d4656cf89
Fix features dossiers edition spec
2017-01-03 12:53:27 +01:00
Xavier J
2750319f77
Fix some tests
2017-01-03 11:32:21 +01:00
Xavier J
02d7dfb1dc
Add News on footer
2017-01-03 10:47:07 +01:00
Xavier J
5eeb91ec60
Delete last GithubRelease
2017-01-03 10:43:04 +01:00
Xavier J
cbb5737fdf
new demo link on home page
2017-01-03 10:40:09 +01:00
Xavier J
fbeb503d9e
Reactive Beta Headband
2017-01-03 10:26:47 +01:00
Xavier J
2e04760d10
Reactive Github version on home page
2017-01-03 10:24:58 +01:00
Xavier J
c122a64237
Ajust count notification for procedure left panel in back office gestionnaire
2017-01-02 18:27:01 +01:00
Xavier J
70fcaf281f
New landing page
2017-01-02 18:07:04 +01:00
JC
ac85392454
Css for index dossier count, using method in dossier model to get unreaded notification count
2017-01-02 16:45:03 +01:00
JC
620a8559dd
Changing css for index dossier counting, wording
2017-01-02 16:07:25 +01:00
Xavier J
a680eaed1c
Change word « Commentaire » to « Message » into Mailer
...
Add not reply at this mail.
2017-01-02 15:29:46 +01:00
JC
442dd5b7b6
Adding facade dossiers_unread_notifications (last)
2017-01-02 15:25:06 +01:00
Xavier J
9ed1fc5125
Change libelle message header section
2017-01-02 15:23:05 +01:00
Xavier J
c8e4a347ae
Change CSS header section construction form
2017-01-02 15:20:05 +01:00
Xavier J
bfbe57d533
Add method « Dossier with unread notifications » for DossierListFacade
2017-01-02 15:10:53 +01:00
JC
983cec659b
Adding dossiers suivis modifiés to tease informations about new notifications for gestionnaire
2017-01-02 14:39:27 +01:00
JC
dc0d206d88
Changing dossier en cours, for dossiers suivis, in dossier index
2017-01-02 14:17:30 +01:00
JC
b9e2c52c0b
Removed left pannel information about notifications in index
2017-01-02 14:16:05 +01:00
JC
57d8b4b242
Centered buttons for receveid dossiers
2017-01-02 14:10:45 +01:00
JC
c2e8f7ba31
Fix case for submitted dossiers, notification font awsome
2017-01-02 14:06:51 +01:00
JC
f407f3a266
Need refactoring on dossier_show rendered partials
2017-01-02 14:05:31 +01:00
JC
fdf6efafb2
Display hist for pieces justificatives only if multiple files uploaded
2017-01-02 11:44:21 +01:00
JC
3ad0d1e9cd
Add css for received dossier, show up to gestionnaire 3 buttons green, orange, red to switch dossier in final states
2017-01-02 11:24:21 +01:00
JC
c4f231d04e
Layout for dossier show/index notifications fa (icon)
2017-01-02 10:51:12 +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
JC
e131442084
Adding fa to notfications types in dossier show
2017-01-02 10:36:32 +01:00
Xavier J
bfe9211f03
Change size wysihtml5 box
2017-01-02 10:34:31 +01:00
Xavier J
b929190cf5
Disabled Client JS Action Cable
2017-01-02 10:25:47 +01:00
Xavier J
2bf0cc907b
Add alert for bad connexion with unified connexion
2017-01-02 09:38:49 +01:00
Xavier J
39bab7ac6f
Changer render ‘show’ for redirect_to
2017-01-02 09:34:28 +01:00
JC
aa2d2ad924
No notification message, when gestionnaire on index
2016-12-28 12:20:34 +01:00
JC
77e30e233c
margin action block in left pannel
2016-12-28 12:10:27 +01:00
JC
9e88a0d889
Display action renseigner un siret when not gestionnaire logged and dossier in states draft, replied, initiated
2016-12-28 12:06:37 +01:00
JC
6dd4736f9d
Margin credentials and champs in dossier show
2016-12-28 11:55:39 +01:00
Xavier J
12edb06a02
Merge branch 'notifications' into develop
2016-12-27 16:03:33 +01:00
Xavier J
e7b7652388
Fix some tests
2016-12-27 15:50:45 +01:00
JC
fb737df463
Both index and show have notification on there left pannels
2016-12-27 15:26:49 +01:00
Xavier J
7ee555a120
Disabled broadcasting
2016-12-27 15:05:19 +01:00
Xavier J
c01132c788
Delete old attr in database
2016-12-27 11:57:34 +01:00
Xavier J
4d765d3b46
Past all notification to read when gestionnaire is on back office dossier show
2016-12-27 11:23:19 +01:00
JC
cea14845d2
Start backoffice dossier index menu, enable switch between procedures and notifications in left-pannel
2016-12-27 11:15:24 +01:00
Xavier J
e37012dce6
Add badge for new files in procedure list for gestionnaire
2016-12-27 11:06:09 +01:00
Xavier J
2e13cb6818
Get gestionnaire unread notifications for his follows files
2016-12-27 10:57:21 +01:00
Xavier J
ce5bf8d622
Initialize fonction « unread_notifications » in DossierListFacade
2016-12-27 10:47:23 +01:00
Xavier J
4e6adf5bc3
Fix some tests
2016-12-26 18:37:27 +01:00
JC
9788118229
Adapt listing for notifications, according champ or pieces
2016-12-26 17:59:08 +01:00
JC
f0d0bfc427
Listing updated champs, saving only champs changed
2016-12-26 17:55:31 +01:00
JC
45d5177d52
Prepend notification message for champs and piece_justificative
2016-12-26 17:36:12 +01:00
Xavier J
153c472ef6
Add notifications into procedure list on back office report
2016-12-26 17:25:59 +01:00
JC
02ce392ff3
No notifications result in displayed message
2016-12-26 17:24:40 +01:00
JC
42915979da
Notifications are shown in backoffice dossier show, limit 5
2016-12-26 17:18:45 +01:00
Xavier J
48451553b9
Change invites autorisation in commentaire model
2016-12-26 14:45:42 +01:00
Xavier J
9a0a391c40
Exclude notification for dossier state draft and for accompagnateur comments
2016-12-26 14:38:00 +01:00
JC
a727c5146f
Cannot have the right feature test about invites, both side User and Gestionnaire
2016-12-26 14:16:08 +01:00
Xavier J
33362d1a52
Add notification for submitted state
2016-12-26 11:57:08 +01:00
Xavier J
33c1a12b84
Add notification for champs
2016-12-26 11:47:51 +01:00
Xavier J
e5768b6798
Add notification for piece justificative
2016-12-26 11:42:02 +01:00
Xavier J
6ed91073c4
Add notification for cerfa
2016-12-26 11:33:12 +01:00
Xavier J
5eaa2941ad
Move commentaire creation to model
2016-12-26 11:08:53 +01:00
JC
4c9c898a69
Feature test about clonning procedures
2016-12-26 10:56:57 +01:00
Xavier J
263d85ccee
Merge branch 'develop' into notifications
...
# Conflicts:
# app/views/backoffice/dossiers/_list.html.haml
2016-12-26 10:53:05 +01:00
Xavier J
31653ff553
Add everywhere col-sm-X and col-xs-X
2016-12-23 16:58:06 +01:00
JC
2908460c16
Feature test for gestionnaire, index and show (only filtering not tested)
2016-12-23 14:46:50 +01:00
Xavier J
c533bb0a88
TEST : First implementation of notification with Action Cable : alert message
2016-12-22 22:27:02 +01:00
Xavier J
f98bb90f08
Bootstrap Action Cable and Unicorn
2016-12-22 21:49:31 +01:00
Xavier J
07495ff9ba
Ajust UI for notifications
2016-12-22 21:25:55 +01:00
Xavier J
54fbe367c0
Add notifications when user post a comment
2016-12-22 20:40:23 +01:00
Xavier J
ce5b75a0b9
Merge branch 'develop' into notifications
2016-12-22 12:25:30 +01:00
Xavier J
e25ae6dea0
Fix CSS
2016-12-22 12:24:59 +01:00
Xavier J
044d258c69
Merge branch 'develop' into notifications
2016-12-22 11:59:34 +01:00
Xavier J
02fd5a2939
Fix tests
2016-12-22 11:55:24 +01:00
Xavier J
9eb6ed3a7c
Add champs private in procédure information page
2016-12-22 11:50:03 +01:00
Xavier J
cd7b7e4055
- Fix display private form
...
- Refacto code private form
2016-12-22 11:39:44 +01:00
Xavier J
d4522ae82e
Refacto code in Récapitulatif view
2016-12-22 10:55:27 +01:00
Xavier J
76757b1d22
Fix bug display « PIÈCES JOINTES » header section
2016-12-22 10:52:04 +01:00
Xavier J
727c263f72
- Fix bug prévisualisation header
...
- Fix bug header section visualization
2016-12-22 10:36:18 +01:00
Xavier J
a681564b39
Add notification table and model
2016-12-21 17:26:31 +01:00
Xavier J
b952b0239c
Update landing page
2016-12-21 15:54:23 +01:00
Xavier J
78bba67995
Fix bug who does not saved Individual information
2016-12-21 15:39:41 +01:00
Xavier J
626e42b067
Fix search animation
2016-12-21 14:36:49 +01:00
Xavier J
e98fc64bcb
Fix display bug with scrollbar into UI
2016-12-21 14:00:50 +01:00
Xavier J
20a4febecc
Adapt UI list for procedure list in admin interface.
2016-12-21 11:26:33 +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
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
d4790f8277
Fix root controller bugs
2016-12-19 16:54:41 +01:00
Xavier J
0563ae1090
Fix CSS for default data block Infos
2016-12-19 16:31:18 +01:00
Xavier J
80c9165f08
Delete death code Model/Dossier
2016-12-19 16:02:35 +01:00
Xavier J
907ac0f56c
Delete death code
2016-12-19 15:55:11 +01:00
Xavier J
2fccbbf4f0
Delete un-use code
2016-12-19 15:08:00 +01:00
Xavier J
5791206a45
Delete old code
2016-12-19 14:27:50 +01:00
Xavier J
ee82e7fa8a
Add ProcedureController tests
2016-12-16 17:15:13 +01:00
Xavier J
33bfe4a29c
Delete un-use code
2016-12-16 14:40:41 +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
f21f151c9c
Add test for GeoAPI driver lib
2016-12-16 10:42:34 +01:00
Xavier J
fb16d4582d
Delete un-user code in DossierDecorator
2016-12-16 09:43:59 +01:00
Xavier J
3c11bef503
Delete un-use code DossiersDecorator
2016-12-16 09:39:21 +01:00
Xavier J
02ec901777
Add CommentaireDecorator test
2016-12-16 09:38:43 +01:00
Xavier J
4de9ce4ac2
Delete devise User unused controller
2016-12-15 15:39:18 +01:00
Xavier J
0a1a5613db
Add tests for administration controller
2016-12-15 15:09:50 +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
dff90d2cf7
Merge branch 'develop' into develop_v2
2016-12-13 14:26:00 +01:00
Xavier J
ec83b397f7
Fix bug invite downcase
2016-12-13 14:22:54 +01:00
Xavier J
7bf58388fa
Update landing page
2016-12-07 18:08:06 +01:00
Xavier J
414a701b03
Dynamic switch button (User, Gestionnaire, Administrateur)
2016-12-07 18:00:27 +01:00
JC
e228f20684
Adding white back to some views
2016-12-07 17:55:42 +01:00
Xavier J
72ebacf3cc
Remove admin connection link on user connection page
2016-12-07 17:38:19 +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
d282d7bbea
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-12-07 17:03:45 +01:00
Xavier J
715f086957
Can connect admin with user session path
2016-12-07 17:03:36 +01:00
JC
e10bd08800
2nd round about css and some adjustements: message/pj empty validation, margins, link_to div inclusion and more
2016-12-07 16:59:35 +01:00
JC
5915a2b7d5
Delete pop menu for sign_out, also count dossiers on user side
2016-12-07 16:27:43 +01:00
Xavier J
3153eeaf01
Fix bug empty
2016-12-07 15:53:26 +01:00
Xavier J
6f731f700f
Fix description view for champs and private champs
2016-12-07 15:44:28 +01:00
JC
16bdd1666b
Fix display in projet-name
2016-12-07 15:19:49 +01:00
JC
6f019f9a0f
Time to launch on staging
2016-12-07 14:44:10 +01:00
Xavier J
dc8e936ee5
Landing page TPS V2 progression
2016-12-07 14:39:06 +01:00
JC
5c93920f74
Mutualize all informations in dossier_show partial, now work on css
2016-12-07 13:58:00 +01:00
Xavier J
746d69796e
Remove has-error class on admin views
2016-12-07 11:51:26 +01:00
JC
004e8de3f9
Ok, big css work now
2016-12-06 16:29:52 +01:00
JC
6d8d8470d8
Need to test UI
2016-12-06 15:36:04 +01:00
JC
029fb1faec
Continue working on css, display carto (buggy), now adding private fields
2016-12-06 15:22:57 +01:00
JC
f0d5b5dc25
Need to add carto body, and then private field block
2016-12-06 15:17:18 +01:00
JC
e367cba480
Added condition to show renseigner un siret action in dossiers#show
2016-12-06 14:41:50 +01:00
JC
7058fde758
First step about user registration is safe (CSS)
2016-12-06 13:56:33 +01:00
JC
9bf475e1f3
Creating test environnement with new procedure showing each stage, I'll rework each screen till end of new user process
2016-12-06 13:24:39 +01:00
JC
c8f176de74
Using carto block, need to add css classes even if empty + need to refactor some of backoffice/dossiers/show Vs users/recapitulatif/show + then continue on document block and add a siren button on construct dossier
2016-12-06 13:14:06 +01:00
JC
41ebb648ef
Having editer action for construct dossier, now need the carto default_block to be shown
2016-12-06 13:06:34 +01:00
JC
02f913afdf
Now rework the action interface for dossiers in their show
2016-12-06 12:51:02 +01:00
Xavier J
30d5323d7e
New UI for description dossier in user view
2016-12-05 19:30:58 +01:00
Xavier J
9f4e4a6b65
New UI for procédure list on admin view
2016-12-05 18:11:18 +01:00
Xavier J
04e01981e8
Fix authorized routes on show dossier
2016-12-05 17:37:13 +01:00
Xavier J
4c2dd0ede1
Fix out of ranch error on search
2016-12-05 16:57:40 +01:00
JC
461fe22a91
Fixing css on left_pannel for centering infos
2016-12-05 16:37:18 +01:00
JC
0451ae0540
Using css truncation with overflow: hidden;
2016-12-05 16:33:09 +01:00
JC
1449a1dc19
Reworked en-cours css for dossiers#index user side, counting exact 'en cours' dossiers
2016-12-05 16:23:13 +01:00
Xavier J
cc532f74f9
Fix redirection routes for gestionnaires and users with double devise profile
2016-12-05 16:17:24 +01:00
JC
bdd51ce02b
Increased font-size for dossier id, user's dossiers#show
2016-12-05 16:11:36 +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
17e5800487
Add feature flag OpenSimplif for comments per field
2016-12-05 15:24:07 +01:00
JC
5556775ee9
Adding right caret class to navbar options for right pannel modal, also changing callback from hover sign_out, to use mouseover instead
2016-12-05 15:14:39 +01:00
JC
df36b9bd35
Removing 'INDIVIDU' from entreprise default block, from both gestionnaire/user dossiers#show
2016-12-05 15:04:42 +01:00
JC
2e9de46a1c
Fix js for sign_out hover displaying credentials, add hidden to tips div into left_pannel dossiers#show
2016-12-05 14:53:22 +01:00
JC
271ce62476
Adding logout information for sign_out hover, changing colors for links
2016-12-05 14:45:00 +01:00
JC
b698046e1e
Adding layout for credentials, this dropdown is shown when you pass hover sign_out button. It display email informations about the current gestionnaire/user
2016-12-05 14:06:43 +01:00
Xavier J
92e8740ee3
New CGU left panel
2016-12-05 11:45:30 +01:00
JC
52631a39de
Adding fixed-right css class for close btn on right pan (from dossiers#index, the cool one, for field selection)
2016-12-05 11:34:56 +01:00
JC
e24008bae4
font-size increased for options in download menu (dossiers#index), adding caret to display dropdown
2016-12-05 11:27:26 +01:00
JC
bcc4c01b39
Expand search bar when clicked
2016-12-02 19:05:29 +01:00
Xavier J
1a3e23c6ef
Change place lib repository
2016-12-02 17:03:52 +01:00
JC
27cc62ea1e
Working on dossiers#show recapitulatif for users
2016-12-02 16:33:36 +01:00
Xavier J
0c90c2c122
Add unsupport navigator banner
2016-12-02 16:04:23 +01:00
JC
6b1c7b15ee
Starting with dossiers#show as User
2016-12-02 12:06:01 +01:00
Xavier J
e4f63f366e
Fix syntax
2016-12-02 12:00:22 +01:00
JC
4717d72dde
Using active css class to display which procedure is selected on dossiers#index
2016-12-02 11:25:09 +01:00
JC
62f64d2bea
Working on dossiers#show
2016-12-02 10:39:28 +01:00
Xavier J
418b5faa52
New user tableau de bord UI
2016-12-01 19:43:56 +01:00
Xavier J
d1bb453d0d
Remove state :draft in all state list
2016-12-01 19:18:15 +01:00
Xavier J
ef5a005b35
Add switch button if devise account have user and gestionnaire role.
2016-12-01 18:35:51 +01:00
Xavier J
f96b87122b
Fix controller spec
2016-12-01 18:05:49 +01:00
Xavier J
d2a221ee40
Fix admin log out navbar style
2016-12-01 13:21:56 +01:00
Xavier J
bca0292fc4
Connexion and sign out user navbar style
2016-12-01 13:01:00 +01:00
Xavier J
b779c71cb6
Gestionnaire sign out css
2016-12-01 12:37:56 +01:00
Xavier J
5c61733199
Display left panel only if layout file exist
2016-12-01 12:19:22 +01:00
Xavier J
0da13454f7
Merge branch 'develop' into develop_v2
2016-12-01 11:06:54 +01:00
Xavier J
5ab277dda9
Fix dropdown list partial render
2016-12-01 10:59:42 +01:00
Xavier J
c682387a39
First change connexion navbar
2016-12-01 10:54:25 +01:00
JC
4048855aa3
expand procedure list to full height
2016-11-30 13:42:19 +01:00
JC
aaf5273b12
Style on procedure elements
2016-11-30 13:36:44 +01:00
JC
06ee5726ed
Fixing css on split-hr-left
2016-11-30 11:22:29 +01:00
Xavier J
ea18a6f7dd
Ajust global css
2016-11-30 11:04:50 +01:00
JC
409ce10c65
Adding tips to left pannel for dossiers#show
2016-11-29 16:39:06 +01:00
JC
53f4c52435
Have limited display height for messages on dossiers#show
2016-11-29 16:26:06 +01:00
JC
53692be01d
Css on left-pannel action for dossiers#show
2016-11-29 16:03:59 +01:00
JC
67091f995b
Changing css index filters dossiers#index
2016-11-29 15:47:58 +01:00
JC
f66b593596
Continue css upon dossiers#show, doing procedure libelle
2016-11-29 14:56:24 +01:00
JC
f823c8b748
marge and height upon search global input
2016-11-29 14:50:44 +01:00
JC
3772fee85f
Dossier content displayed by default on dossiers#show
2016-11-29 14:46:09 +01:00
Xavier J
dddb8c193d
mini fix css
2016-11-29 11:56:00 +01:00
Xavier J
1a90ed3fa3
Search input only for gestionnaire
2016-11-29 11:49:40 +01:00
Xavier J
2c96f15e93
Display search input on all pages
2016-11-29 11:45:30 +01:00
Xavier J
752ae24c9f
New search UX
2016-11-29 09:56:11 +01:00
JC
a1242bb55a
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-28 18:34:39 +01:00
JC
4a5c053ae5
Continue on dossier#show
2016-11-28 18:34:31 +01:00
Xavier J
53b0b9ee63
Fix bug right preference panel
2016-11-28 16:49:50 +01:00
JC
fda8cac51c
Finished navbar for dossiers#show, need body: construct dossier
2016-11-28 15:56:38 +01:00
JC
ceff884751
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-28 15:22:11 +01:00
JC
cb5b6651d5
Working on navbar
2016-11-28 15:22:00 +01:00
Xavier J
b4fc5a6019
Fix filter popup place
2016-11-28 15:21:16 +01:00
Xavier J
fbfbe68295
Adapt JS smart listing
2016-11-28 14:43:46 +01:00
Xavier J
178f0f88c1
- Delete page « Tous les dossiers »
...
- Fix follow tab
2016-11-28 14:38:33 +01:00
Xavier J
f4b483976c
Add default navbar and left panel
2016-11-28 10:15:11 +01:00
JC
74809b33ce
Keep working on dossier Show, need actions to be in navbar, adjust flash messages too, then construct dossier
2016-11-25 16:25:54 +01:00
JC
ecb551e18d
Prevent further clicks on submit buttons
2016-11-25 15:29:09 +01:00
JC
f978455642
Add commentaire joined files (pieces justificatives) direct into messages block
2016-11-25 15:01:03 +01:00
JC
d974040540
Starting left_pannel and navbar for dossiers show
2016-11-25 12:53:37 +01:00
Xavier J
e17c592ab4
Merge branch 'develop' into develop_v2
2016-11-25 12:48:14 +01:00
JC
87a8b68b36
Finished basic commentaire/messages block for dossiers show
2016-11-25 12:20:08 +01:00
Xavier J
8cc6229606
Change max-size for CERFA and PJ
2016-11-25 12:07:01 +01:00
JC
cab4e257cd
Add new-action button to toggle default_block for messages
2016-11-25 11:25:33 +01:00
JC
1172987d8a
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-25 11:09:08 +01:00
JC
e6a01e9212
Got last message showed upon messages, adding condition to toggle out this last message on lick
2016-11-25 11:08:58 +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
1c1942063b
Counting messages
2016-11-25 10:11:11 +01:00
Xavier J
58df3c3a75
- Continue development Tableau de bord
...
- Optimize toggle block
2016-11-24 19:33:34 +01:00
JC
09fb3d4634
Pursuie over body animation with carets
2016-11-23 17:30:55 +01:00
JC
0b7020e065
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-23 16:17:45 +01:00
JC
df794b9c89
Ok accordeon javascript upon header lines
2016-11-23 16:17:29 +01:00
JC
570b22c60f
Add google_analytics partial in layout
2016-11-23 16:15:00 +01:00
Xavier J
d09a47ae23
First iteration navbar tableau de bord
2016-11-23 15:21:42 +01:00
JC
e35c1f8757
Up limit for export form 200 to 400
2016-11-23 11:31:00 +01:00
JC
37b5e3fc48
Up limit for export form 200 to 400
2016-11-23 11:29:56 +01:00
JC
966febca68
Centering show-block, need to merge css into develop°v2
2016-11-23 11:26:05 +01:00
JC
de9753ae69
Need to anime accordeon, and check if width + margin % is the solution
2016-11-23 10:59:48 +01:00
JC
750d81e70b
Working on css for dossier#show body
2016-11-22 17:32:00 +01:00
JC
c5e0f0a780
Extract css for sign_in sign_out from navbar
2016-11-22 16:32:50 +01:00
JC
5ba1c85ca7
Change spec according to layout rendering service
2016-11-22 16:30:35 +01:00
JC
5b61d41030
layouts for dossiers show
2016-11-22 16:10:01 +01:00
JC
4f9bcdd225
Awsome struct to share layouts between controllers and there methods
2016-11-22 16:03:32 +01:00
Xavier J
7faf1705da
Add service RenderPartial
2016-11-22 15:17:37 +01:00
JC
55eb8397d2
Fixing footer and push left to center on after wrap
2016-11-22 11:33:08 +01:00
JC
3627a18420
Set navbar options from before_action
2016-11-21 17:30:28 +01:00
JC
e9eeb0b4ba
Sacrifice 1 bootstrap col unit to get disconnect preview (under ruban)
2016-11-21 16:57:42 +01:00
JC
3a82725cbd
Fix css for download dossiers buttons
2016-11-21 16:49:59 +01:00
JC
ef9adf52cb
Loading variables from controller to get several uniq layout to display
2016-11-21 16:45:12 +01:00
JC
2d355bd6a0
Working on left-pannel, include footer after main-container
2016-11-21 16:13:19 +01:00
JC
23ef3e896a
Done with navbar
2016-11-21 15:31:03 +01:00
JC
0db63f33c0
Working on navbar, will put fake content to get css sizes
2016-11-21 15:04:16 +01:00
JC
b62587f9ab
Split footer and flash messages in layouts
2016-11-21 14:19:15 +01:00
JC
f5ec476416
New application layout struct for pages
2016-11-21 14:12:59 +01:00
JC
200a99dbae
Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2
2016-11-21 10:54:01 +01:00
JC
1fe76b8c3b
Add google_analytics partial in layout
2016-11-21 10:53:50 +01:00
Xavier J
e95ba6b56c
Merge branch 'develop' into develop_v2
2016-11-21 10:50:25 +01:00
XjulI1
46fa28322e
Merge pull request #7 from sgmap/fix-backoffice-search-dossier-by-id
...
Fix: search dossier by id (backoffice)
2016-11-21 10:40:38 +01:00
Julien Portalier
426fd55f30
Fix: search dossier by id (backoffice)
2016-11-17 19:18:24 +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
8f012e3731
Add analytics
2016-11-17 12:30:39 +01:00
Xavier J
b4b2dafc7b
Add reply_to for invite mailer
2016-11-17 12:17:59 +01:00
Xavier J
6e4ddcdbcf
Fix test
2016-11-17 11:24:49 +01:00
Xavier J
d144047a50
Fix export data dossiers
2016-11-17 11:13:11 +01:00
XjulI1
926ae9d805
Merge pull request #6 from sgmap/per-champs-comment-flow
...
Flux de commentaires par champs
2016-11-17 10:52:18 +01:00
Xavier J
893bfaef40
Fix JS
2016-11-17 10:50:28 +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
JC
c557038c38
Adding tooltip for dossiers export amount excess (200)
2016-11-16 11:12:04 +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
6a261d125a
New color for navbar
2016-11-15 14:10:43 +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
5750eb1aa5
Fix major DEPRECATION WARNING for spec/controllers/admin/*.rb
2016-11-15 05:19:30 +01:00
Xavier J
da3ef13522
Fix tests spec/controllers/france_connect/*.rb
2016-11-15 04:42:32 +01:00
Xavier J
213e84b546
Fix DEPRECATION for services
2016-11-15 03:56:26 +01:00
JC
a549f95da1
Continue test for data_with_champs
2016-11-14 17:43:34 +01:00
Xavier J
d7fdf22abb
First fixed
2016-11-14 17:33:45 +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
5aa9c75669
Ordering champs through export method, not through serializer
2016-11-14 16:37:58 +01:00
JC
5c3049d6bd
Manualy sort type_de_champ by order_place
2016-11-14 14:39:59 +01:00
Xavier J
ec53f64a64
Fix bug tag received mailer
2016-11-14 11:03:17 +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
a72709b6da
Fix bug Cerfa on « Modifier document » recap page
2016-11-10 17:26:00 +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
c01e3987f6
Using serializer to get procedure.dossier from controller
2016-11-09 15:36:18 +01:00
JC
2056605135
Working with procedure types_de_champ ordered by id ASC -> building bunch of 'extra' data to default data values... when value is set (obvious)
2016-11-09 10:49:37 +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
Xavier J
9c863c7bff
Fix bug go to dossier list tableau de bord
2016-11-08 19:03:21 +01:00
JC
23ee1cb21c
Adding style for download link as dropdown menu, changing locales
2016-11-08 15:28:39 +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
Xavier J
f2a5d582b8
Change UX on dossier list (user and backoffice) to go on recap dossier.
2016-11-08 14:08: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
5284df5ce0
Add page « Procédure terminée »
2016-11-07 17:08:33 +01:00
Xavier J
511cabf95a
Merge commit '20cab702f624513bdec6d1ab64535c88ae32ffb5' into develop
2016-11-07 13:25:48 +01:00
JC
20cab702f6
Merge remote-tracking branch 'origin/erase_params_filter' into click_outside_close_pan
2016-11-07 12:35:33 +01:00
JC
83ad08622f
Adding js that check oustide click from div, adding rescue LOGO_NAME causing 500
2016-11-07 11:32:51 +01:00
Xavier J
2f68d540e3
Migrate to ruby 2.3.1
2016-11-07 11:23:21 +01:00
JC
926d705806
Added js and button, only flushing input value from parent form
2016-11-07 10:30:45 +01:00
Julien Portalier
31272cf0f5
Fix: rebased off the develop branch (not master)
...
Remove textacular gem, drop `db/structure.sql` (no special indices)
and regenerates `db/schema.rb`
2016-11-04 17:14:09 +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
6bb1ad892f
Fixes for PostgreSQL full text search
...
- Drop individual GIN indices that aren't used by the search query.
- Add missing indices to speed up view query (missing dossier_id)
- Fix view query for drop_down_lists (and merge it with champs)
2016-11-04 15:34:35 +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
JC
b03dd07d97
Add number validation with javascript, for number fields
2016-11-02 11:58:42 +01:00
Xavier J
98fe908daf
Change status when user upload a new PJ
2016-11-02 11:07:33 +01:00
Xavier J
1ecfc62bb5
Fix upload cache directory (opensimplif)
2016-11-02 10:18:59 +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
b1788ef481
Fix apparition description on engagement champ
2016-10-28 12:14:26 +02:00
Xavier J
28811a0bda
Change "En construction" state description.
2016-10-27 17:10:23 +02:00
Xavier J
a73339b12a
Up max size for cerfa and PJ
2016-10-27 17:00:59 +02:00
Xavier J
88233b716c
Fix smartlisting search back office
2016-10-27 14:25:08 +02:00
Xavier J
6cb98b073b
Ajust wording
2016-10-27 14:02:38 +02:00
Xavier J
6295492d65
Disable auto-mask section on description form
2016-10-27 13:59:31 +02:00
Xavier J
382e4b6857
Merge branch 'delete_draft_dossier' into develop
2016-10-27 13:47:00 +02:00
Xavier J
d698e95797
Change dossier.find on destroy draft fonction
2016-10-27 13:46:12 +02:00
Xavier J
8fb76d1a6e
Add type de champ Engagement
2016-10-27 13:43:10 +02:00
Xavier J
d455b6f12d
Fix bug follower render (opensimplf)
2016-10-26 16:06:01 +02:00
Xavier J
06df02f72b
Change cache directory (opensimplf)
2016-10-26 15:45:40 +02:00
JC
0599d7b148
Patching 'submited' dossier now can be openned
2016-10-26 12:31:27 +02:00
JC
c6f5a8b62d
Adding button, method in controller, testing call
2016-10-25 17:39:53 +02:00
Xavier J
e1d70f4e4a
Change count on administrations page
2016-10-25 12:11:11 +02:00
Xavier J
7674eb23f0
Add informations on administrations view
2016-10-25 12:02:51 +02:00
Xavier J
740b3650aa
Restore select procedure for gestionnaire (opensimplif)
2016-10-24 16:00:03 +02:00
Xavier J
028078216a
Get all dossiers on one table for User and Gestionnaire (opensimplif)
2016-10-24 15:18:32 +02:00
Xavier J
6c00b652e8
Disable state description (opensimplif)
2016-10-24 14:56:01 +02:00
Xavier J
a5ab7af0f8
Add private champs in tab preference list
2016-10-20 17:14:38 +02:00
Xavier J
32d70bd909
Fix features flip on user connection for unified_login
2016-10-20 11:48:40 +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
a781473b42
By default, mask all section in user form expect the first
2016-10-19 14:35:42 +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
Xavier J
de07d4437c
adapt validated email for user
2016-10-19 10:51:40 +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
7b9b236962
Add dossiers/mes dossiers in navbar
2016-10-18 14:25:16 +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
f1515616ff
Add 3 new type de champs : Pays, Régions et Départements
2016-10-12 17:22:56 +02:00
Xavier J
7425a0be59
Disable publication (on UI) if procedure does not have gestionnaire
2016-10-12 14:35:39 +02:00
Xavier J
3c400da89d
Add individual information on resume page for gestionnaire
2016-10-12 14:21:54 +02:00
Xavier J
e7637efc06
User can see enterprise informations in his resume view
2016-10-12 12:01:58 +02:00
Xavier J
1696d0a159
Possibilité d'afficher ou non une section pour un utilisateur.
2016-10-12 11:54:17 +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
627d80277b
Disabled date picker on microsoft edge
2016-10-10 16:17:17 +02:00
Xavier J
dd75a58a6c
Fix bug PG::AmbiguousColumn on PreferenceListDossier
2016-10-10 14:56:23 +02:00
Xavier J
2a2ccec373
Fix bug cookie not valid for back office gestionnaire
2016-10-07 16:01:32 +02:00
Xavier J
177295f6e4
Fix bug download CSV
2016-10-07 15:34:10 +02:00
Xavier J
8409b660cf
Ordered piece justificative
2016-10-07 15:16:03 +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
52bac4f3f9
Add automatically values on individual form if user is logged with FranceConnect
2016-10-06 11:45:26 +02:00
Xavier J
8ade790a81
Add gender on individual form
2016-10-06 11:21:07 +02:00
Xavier J
0418968f77
Fix bug
2016-10-06 10:09:51 +02:00
Xavier J
fd6b1f15a0
Purge all dossier with state draft
2016-10-05 17:12:45 +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
d78b64982b
Fix tests
2016-10-05 15:01:31 +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
aa3b1e974d
Can create procédure individual with SIRET for later
2016-10-05 10:48:11 +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
77dadd1db5
Fix bug
2016-10-03 14:36:07 +02:00
Xavier J
9628041bfe
Fix html_safe description recap dossier
2016-10-03 14:19:16 +02:00
Xavier J
00c9c8250d
Fix bug clone drop_down_list procedure
2016-10-03 13:09:45 +02:00
Xavier J
60ff939089
Fix bug select options blank
2016-10-03 12:43:05 +02:00
Xavier J
5f8c2549c1
delete max length on email procedure transfert
2016-10-03 12:25:07 +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
0f1236aa7a
Fix test
2016-09-26 14:11:57 +02:00
Xavier J
ee9c38c0f8
Keep procedure filter when gestionnaire select on
2016-09-26 13:58:54 +02:00
Xavier J
1f1b235283
Fix bug Chrome datepicker
2016-09-22 11:31:24 +02:00
Xavier J
6bd2cfb935
Disabled @latest_release for Github
2016-09-19 17:06:09 +02:00
Xavier J
b86d4ced0d
Disabled @latest_release for Github
2016-09-19 17:02:29 +02:00
Xavier J
d3ed39597e
Fix bug @latest_release for Github
2016-09-19 16:59:07 +02:00
Xavier J
bd89688346
Fix test INSEE v2 get etablissement view
2016-09-16 17:08:50 +02:00
Xavier J
9332c0f6ed
Fix brakeman test
2016-09-16 16:29:34 +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
0ac23f6d96
User can invite other User
2016-09-13 12:17:56 +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
30acd9bb3e
A cookie file keep the last navigation tab for user and gestionnaire
2016-09-09 16:20:07 +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
bb19982011
Change onglet url to dynamic gestion
2016-09-06 14:07:07 +02:00
Xavier J
d5ad256919
create route and controller to filter dossier view by procedure
2016-09-06 11:07:26 +02:00
Guillaume Lazzara
6a6ac7872a
Force deep copy of procedure logo
2016-09-02 17:11:30 +02:00
Xavier J
a48299353e
Fix html interpretation in ReceivedMail
2016-09-01 11:00:06 +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
d438e9a329
Ajust landing page
2016-08-30 14:14:18 +02:00
Xavier J
16c1fe31c1
Update CGU
2016-08-30 13:29:40 +02:00
Xavier J
f07606a373
IE 9 alert
2016-08-30 11:42:33 +02:00
Xavier J
a69433e8de
User can be begin without SIRET
2016-08-30 11:18:43 +02:00
Xavier J
ed8da1552c
Admin can be declare a procedure for individual people (no SIRET)
2016-08-29 12:07:30 +02:00
Xavier J
0eb2acb959
CGU
2016-08-29 11:02:02 +02:00
Xavier J
a179c372cf
Ajust text
2016-08-26 09:17:31 +02:00
Guillaume Lazzara
db511b15a8
Fix typos in notification emails
2016-08-25 18:03:05 +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
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
b16c5d7bea
Renate site web link on etape 1 page.
2016-08-24 15:51:16 +02:00
Xavier J
3ebdab23a9
Enable french local on rich textarea
2016-08-24 15:32:41 +02:00
Xavier J
dd03b96e0c
Disabled link on rich textarea
2016-08-24 15:17:40 +02:00
Xavier J
c700701b36
Add lien_site_web attr and lien_notice attr
2016-08-24 12:14:25 +02:00
Xavier J
42943aad19
Explicit the use of lien_demarche attr
2016-08-24 11:40:53 +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
19ee3af273
Ajusté warning staging text
2016-08-22 14:15:21 +02:00
Xavier J
7140d79f64
Warning platform staging
2016-08-22 14:00:34 +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
d6b9ebde9a
User can access at the summary tab of comments files
2016-08-08 13:34:26 +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
26b5e4cb24
Add model TypeDeChampPrivate
2016-08-02 16:13:15 +02:00
Xavier J
bce1b96fee
Build default pref list dossier for new gestionnaire
2016-08-02 14:49:41 +02:00
Xavier J
9bf8005658
Fix get entreprise 404 not found
2016-08-02 14:45:09 +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
2d9fd187d9
Fix get siret for new dossier
2016-07-28 10:20:53 +02:00
Xavier J
f6d3e2d780
Fix test welcome mailer
2016-07-26 15:05:24 +02:00
Xavier J
35a9d78d48
Fix bug welcome mailer
2016-07-26 14:23:39 +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
e7830deefa
Add header section on procédure champ
2016-07-20 11:38:19 +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
9221a0bb26
Add tab to group all commentaires files in one (for gestionnaire)
2016-07-18 18:48:59 +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
5ba88aa31a
Fix address type search
2016-07-18 11:23:03 +02:00
Xavier J
382c8d8700
Add minim preparation for dossier uniq page
2016-07-18 09:37:22 +02:00
Xavier J
23e582d597
Add type_de_champ yes/no
2016-07-12 15:25:26 +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
49c10fc00e
Compress assets
2016-07-08 12:04:26 +02:00
Guillaume Lazzara
9fd954d285
Add default protocol for urls
2016-07-07 10:13:46 +02:00
Guillaume Lazzara
f176a730a5
Silent logs of ping rendering
2016-07-06 10:06:28 +02:00
Guillaume Lazzara
e1f73f3bdc
Fix path to procedure logo
2016-07-05 11:50:56 +02:00
Guillaume Lazzara
aebc673cdc
Set STORAGE_URL during initialization
2016-07-05 11:50:45 +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
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
b68b62b8f0
Disable Thread for API requests on new dossier
2016-06-22 11:29:59 +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
Guillaume Lazzara
f58f9d27d9
Enable password reset for Gestionnaires
2016-06-14 15:36:37 +02:00
Xavier J
5c2902bda5
Filter procedure on /demo page for staging
2016-06-14 15:21:32 +02:00
Xavier J
954ac2bc86
Fix bug revisualization controller
2016-06-14 11:59:50 +02:00
Xavier J
bbae7214c9
New UI for the map
2016-06-14 11:00:57 +02:00
Xavier J
866565495d
Delete default description in dossier
2016-06-13 12:03:05 +02:00
Xavier J
14142d9433
Dix published and archive method in procedure controller
2016-06-13 11:04:50 +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
54256b1e55
Add description champs on description page.
2016-06-09 14:18:28 +02:00
Xavier J
3c75fb27c4
Fix bug get Forbidden last version github
2016-06-09 12:23:50 +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
Xavier J
35a07aec87
Ajustement graphique navbar
2016-06-08 10:41:01 +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
Guillaume Lazzara
0c67cda7c5
Set specific cache path regarding environment
2016-06-07 10:33:22 +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
d26feb4c72
Add JPG and PNG image on cerfa and piece justificative uploader
2016-06-06 16:38:14 +02:00
Xavier J
ddeaf5abf3
Add type de champs civilite
2016-06-06 16:32:59 +02:00
Xavier J
3513b16888
Add type de champs email and phone
2016-06-06 16:17:19 +02:00
Xavier J
9ac95345c1
Add underline on calendar button date picker
2016-06-06 14:44:34 +02:00
Guillaume Lazzara
16ca407542
Add ping route
2016-06-01 15:07:34 +02:00
Xavier J
bb116a68dd
Fix connexion view
2016-05-27 10:15:19 +02:00
Xavier J
811e771763
dynamic URL mail new assignment
2016-05-26 16:55:15 +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
95bb773275
Fix bug route /demo in production : Error 500 on redirect_to
2016-05-25 14:13:04 +02:00
Xavier J
6005dccc2b
Delete Archive feature for User on his Dossier
2016-05-25 14:08:02 +02:00
Guillaume Lazzara
7fbee7a5b5
Fix carrierwave root issues
2016-05-24 18:35:25 +02:00
Guillaume Lazzara
a62076c34b
Use original file extension for uploaded files
2016-05-24 17:34:52 +02:00
Guillaume Lazzara
2c7b65199e
Fix logo filename
2016-05-24 17:34:25 +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
d9b94568b2
Handle siret with whitespaces
2016-05-24 15:28:16 +02:00
Guillaume Lazzara
e2391d8635
Fix CSV output for addresses on several lines.
2016-05-20 18:24:05 +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
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
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
fb2eeddf97
Revert guest can be upload new document on dossier
2016-04-19 14:08:09 +02:00
Xavier J
a8070cac6d
Fix sort administrations admin list
2016-04-19 10:41:23 +02:00
Xavier J
900b377ae2
Final implement of clamav gem
2016-04-15 15:32:15 +02:00
Xavier J
4099efd326
Test too
2016-04-14 17:56:03 +02:00
Xavier J
8c4810ced3
Send path file
2016-04-14 17:43:27 +02:00
Xavier J
d01b3356c6
Test 2 : io stream clamav analyse
2016-04-14 17:29:26 +02:00
Xavier J
1a3c19f48c
First test
2016-04-14 16:50:13 +02:00
Xavier J
8812ba2507
Fix brakeman information
2016-03-24 17:49:44 +01: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
0d211f4ccb
Fix white list cerfa and piece_justificative uploader
2016-03-22 10:20:26 +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
5d13276446
Fiabilisation de la suppression des gestionnaires par un administrateur
2016-03-16 10:55:03 +01:00
Xavier J
bd61a459fb
Add verification on user dossier description for champs mandatory
2016-03-15 17:17:56 +01:00
Xavier J
494f80afff
Can be check TypeDeChamps with attribut mandatory
2016-03-15 11:23:25 +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
Xavier J
04c5432be1
Add libreoffice document on uploader
2016-03-14 10:22:27 +01:00
Xavier J
7e45d2ee07
Fix bug API Dossier with Cerfa
2016-03-04 15:53:09 +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
4282ab11be
Exclude draft dossier on statistiques
2016-02-29 15:48:58 +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
36954c595e
Add UI SuperAdmin
2016-02-23 16:51:24 +01:00
Xavier J
8021825ffe
Delete docs links on landing page
2016-02-23 11:01:54 +01:00
Xavier J
2a6da54320
add gem api-pie
...
Error : stack level too deep
2016-02-22 19:42:47 +01:00
Xavier J
b4007c2735
New turf area source
2016-02-22 19:28:22 +01:00
Xavier J
913905001e
Revert swagger docs
2016-02-22 17:53:00 +01:00
Xavier J
c0b1d7a840
Revert "update swagger api docs"
...
This reverts commit 321bdd38b5
.
2016-02-22 17:50:11 +01:00
Xavier J
be0ca863ef
Update landing page
2016-02-22 15:51:07 +01:00
Xavier J
321bdd38b5
update swagger api docs
2016-02-22 15:22:59 +01:00
Xavier J
c831c5ac63
fix bug commentaire invitation
2016-02-22 15:21:18 +01:00
Xavier J
b0fc7665e5
fix API V1 default format
2016-02-22 15:20:58 +01:00
Xavier J
1a1a97f79c
Ajust source code
2016-02-22 15:20:22 +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
973d6693e0
Demo sign-in page for administrateur
2016-02-19 17:27:14 +01:00
Guillaume Lazzara
bd5a39ff17
Add CSV output for Dossier API
2016-02-19 16:59:39 +01:00
Guillaume Lazzara
b58f88d9bf
Do not display cerfa information in dossier description
2016-02-19 16:59:39 +01:00
Guillaume Lazzara
22c1eca61e
Code review: cleanup code
2016-02-19 16:59:39 +01:00
Guillaume Lazzara
15ac9f3f45
Code review: be more exhausitive regarding uploaded files mime type
2016-02-19 16:59:39 +01:00
Xavier J
2c499d5c82
/demo is not accessible on Env production
2016-02-19 15:32:19 +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
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
850f4366c8
Add type de champ checkbox (boolean)
2016-02-18 15:36:09 +01:00
Xavier J
20a41ef172
Use gem bootstrap-wysihtml5 on textarea
2016-02-18 11:56:54 +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
419f74948a
Demo sign_in page for users and gestionnaires
2016-02-15 17:13:16 +01:00
Xavier J
a20daa2ea2
Adapt print properties on Gestionnaire dossier show
2016-02-12 15:39:14 +01:00
Xavier J
61ee40aa76
test 1
2016-02-12 13:49:32 +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
Xavier J
e8fcebeea9
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-02-09 11:16:41 +01:00
Xavier J
c09a92a109
Fix javascript scroll_to
2016-02-09 11:16:19 +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
bd63116d5a
Fix test : desactivate swagger
2016-02-08 19:52:39 +01:00
Xavier J
1aa5e7c397
Mask cerfa link procedure if is blank
2016-02-08 19:52:07 +01:00
Xavier J
a82899a43e
Delete max length on comment area
2016-02-08 19:36:08 +01:00
Xavier J
5bb98a2863
Activation : reset user password
2016-02-08 19:32:18 +01:00
Xavier J
2b2a4c3f0a
New landing page
2016-02-08 19:07:33 +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
Xavier J
29b28557c7
fix test
2016-02-04 11:03:17 +01:00
Guillaume Lazzara
b7ea7c9fcf
Restore previous behavior in Dossier
2016-02-04 10:39:07 +01:00
Guillaume Lazzara
e20de3dba9
First attempt
2016-02-02 18:37:38 +01:00
Xavier J
30438df244
Add swagger-docs gem to generate ison swagger files
2016-02-02 18:11:44 +01:00
Xavier J
71adc70031
Change place of admin and gestionnaire link connexion
2016-02-01 18:28:12 +01:00
Xavier J
ec2b3b742c
Upload landing page
2016-02-01 18:19:09 +01:00
Xavier J
01be1fff76
add routes path /users
2016-02-01 18:18:55 +01:00
Xavier J
7a61786814
Active landing page
2016-02-01 17:16:00 +01:00
Xavier J
1dd7288c70
Revert "Mask FranceConnect button on user sign in page"
...
This reverts commit dece5c857c
.
2016-01-29 13:28:32 +01:00
Xavier J
dece5c857c
Mask FranceConnect button on user sign in page
2016-01-29 11:51:19 +01:00
Xavier J
8ca2b53775
Merge branch 'franceconnect_local' into develop
...
# Conflicts:
# app/assets/javascripts/application.js
2016-01-29 11:43:31 +01:00
Xavier J
eda863a7b2
Update landing page
2016-01-29 11:23:36 +01:00
Xavier J
1e3a7b1495
Start landing page
2016-01-29 10:52:06 +01:00
Xavier J
9daeafbad3
Footer
2016-01-28 17:16:37 +01:00
Xavier J
35994059f6
Revert "browserslist config file"
...
This reverts commit 9a859482cc
.
2016-01-28 16:31:46 +01:00
Xavier J
229278adb7
Revert "browserlist config 2"
...
This reverts commit f9a6b3565f
.
2016-01-28 16:31:35 +01:00
Xavier J
f9a6b3565f
browserlist config 2
2016-01-28 15:32:30 +01:00
Xavier J
9a859482cc
browserslist config file
2016-01-28 15:02:16 +01:00
Xavier J
a161c1dcc4
Test to used franceconnect sources in local
2016-01-28 12:10:25 +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
c461d58297
sign_out all devise account when user initialize a FranceConnect connection
2016-01-26 16:48:33 +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
0c2bbc482f
Add security to make not to longer cadastre request
2016-01-22 14:01:02 +01:00
Xavier J
4d812220fd
- Add FranceConnectInformation table to make safe FranceConnect pivot identity.
...
- Adapt source code with the new table
2016-01-21 17:06:09 +01:00
Xavier J
d6e795df02
Activation du cadastre côté administrateur
2016-01-21 14:51:17 +01:00
Tanguy PATTE
514918b2b8
parametrize pagination on dossier index api
2016-01-21 11:41:24 +01:00
Tanguy PATTE
df7ac75483
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-01-20 15:51:08 +01:00
Xavier J
0e496cb6ec
Change include place for JS FranceConnect Kit
2016-01-20 15:50:28 +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
5eebfb0c4b
Disabled FranceConnect Kit
2016-01-20 15:38:25 +01:00
Xavier J
65ba614be2
Refactor function create in user dossier controller
2016-01-20 10:34:22 +01:00
Xavier J
5beade4735
Add release link on user connexion page
2016-01-19 17:56:37 +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
1551ae82cd
Add dependent destroy on has_xxx models
2016-01-18 16:20:51 +01:00
Xavier J
72043dbe56
Display cadastre on map if present on database
2016-01-18 14:45:08 +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
2ce8e4734b
Add get_cadastre on TPS carte page and display on leaflet map
2016-01-15 11:53:00 +01:00
Xavier J
6d4b29cf36
Merge branch 'develop' of github.com:sgmap/tps into develop
2016-01-14 09:50:46 +01:00
Xavier J
82f6e21c86
Adapt FranceConnect Kit
2016-01-13 11:26:40 +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
312c1ee7a7
Add link for "Qu'est ce que FranceConnect?"
2016-01-12 15:03:52 +01:00
Xavier J
88ae6a74ab
Fix franceconnect kit integration
2016-01-12 10:03:05 +01:00
Xavier J
110b4dc04f
Fix https connection with FranceConnect kit
2016-01-11 17:45:13 +01:00
Xavier J
bbb06a235d
Change Button FranceConnect Connection
2016-01-11 17:38:16 +01:00
Xavier J
5540a786db
Disable FC Enterprise
2016-01-11 17:19:25 +01:00
Xavier J
a7af7e4a9f
Add FranceConnect Kit
2016-01-11 17:05:21 +01:00
Xavier J
ad300319f4
Rename CERFA to Formulaire
2016-01-08 14:58:22 +01:00
Xavier J
7a2b935c04
User and Gestionnaire sort list
2016-01-08 11:39:04 +01:00
Xavier J
0d2bd17a9e
Admin procedure sort list
2016-01-07 15:29:29 +01:00
Xavier J
47932890cc
Add sort list on demo page
2016-01-07 11:41:03 +01:00
Xavier J
afd6d443f3
fix show information mandataire social on dossier page
2016-01-06 17:12:03 +01:00
Xavier J
7069acba4b
Add détails on admin procedure informations page
2016-01-06 17:01:34 +01:00
Xavier J
34dc07a06d
Use GeoAdresse to geolocate enterprise on leaflet map
2016-01-06 15:48:06 +01:00
Xavier J
cf248f198f
Add an information on gestionnaire view if the user's file is a mandataire social of the enterprise
2016-01-06 14:54:00 +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
cf6b3e955a
Add Downloader url for gestionnaire
2016-01-05 16:27:31 +01:00
Xavier J
b437edefd1
- add symlink for gestionnaire download documents
...
- add download folder documents in public folder
2016-01-05 16:26:59 +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
02b7680083
Fix bug send email sign up user
2016-01-04 16:09:04 +01:00
Xavier J
829e3de9d4
Fix bug badge user
2016-01-04 10:04:16 +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
e66daf3b95
Refactor procedure active and archived class
2015-12-24 15:22:07 +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
Xavier J
12943241f4
Change identifier and secret name for FranceConnect::Entreprise connection
2015-12-21 15:24:02 +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
5d4a36e6c3
Move uploader logo procedure into public
2015-12-21 10:50:01 +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
ace1629d5c
Uploader storage change :
...
- Before /public/upload
- After /upload
2015-12-17 10:41:00 +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
Xavier J
d8253be4e5
- Into views, replace words :
...
- Gestionnaire by Accompagnateur
- Entreprise by Organisation
- Add procedure libelle on user dossier show page
2015-12-15 17:46:05 +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
e4b54999f4
add api_token for admin
2015-12-14 17:28:36 +01:00
Tanguy PATTE
cf99b30349
change banner for admin
2015-12-14 17:27:14 +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
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
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
f42f3820e9
[BUG FIX] geocode position [0;0] => ocean
2015-12-10 14:33:09 +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
f65c383623
Merge branch 'api_carto_dynamique' into develop
2015-12-09 11:16:28 +01:00
Xavier J
c2fbb246e7
beta tag
2015-12-08 18:34:43 +01:00
Xavier J
e9145b031f
Change organisation sources for lib apicarto quartiersprioritaires
2015-12-08 16:02:35 +01:00
Xavier J
9f9e8ca176
Fix bug : QP not appears on mini carte in infos_dossier page
2015-12-08 11:32:29 +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
49217a1b39
- add decorator for procedure and procedures
...
- add link to procedure on admin procedures list
2015-12-03 15:38:17 +01:00
Xavier J
515713b3fa
Désactivation de France Connect
2015-12-03 15:09:22 +01:00
Xavier J
2b6aba16ac
- valid siren on create file
2015-12-03 15:02:22 +01:00
Xavier J
6e19d3ba67
Delete sources of Nabil api-carto
2015-12-03 12:06:35 +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
0478805501
Merge branch 'develop' of github.com:sgmap/tps into develop
2015-12-02 14:06:41 +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
Tanguy PATTE
9473232e14
remove fake attestation fiscale
2015-12-02 10:59:03 +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
f449be5c4e
Add column Organisation on Demo page
2015-11-30 10:59:56 +01:00
Xavier J
54788c2499
New UI registration
2015-11-27 18:25:31 +01:00