Julius Härtl
2beab3e864
Disable template selector and settings if the capability is not available
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 07:42:54 +01:00
Julius Härtl
eaa52b99b0
Fix disabled button in personal file picker ( fixes #319 )
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 07:38:46 +01:00
Julius Härtl
b56d63b227
Add personal settings for template folder
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
22e9cd7581
Use empty template
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:45 +01:00
Roeland Jago Douma
8ffc77c4fc
Allow templates to be created from the web
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:44 +01:00
Julius Härtl
86b10f0377
Open newly created document
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 07:38:44 +01:00
Julius Härtl
403003fe00
Add create callback with templateId to the picker
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-20 07:38:44 +01:00
John Molakvoæ (skjnldsv)
83bfc6003f
Design picker width adaptive
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:44 +01:00
John Molakvoæ (skjnldsv)
dfff288d1e
Template picker and system tpl script fixes
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
5e589bacfe
Fix code style and practice
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
c680b535c9
Add template js handler and comments
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
ec9a211846
Fix DI error, added design base and delete handler
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
6a7b73f598
Error handler and class code style fixes
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:43 +01:00
John Molakvoæ (skjnldsv)
e334a2420e
Template manager init
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-20 07:38:41 +01:00
Julius Härtl
0ea8303799
Add current version indicator
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-18 10:03:14 +01:00
Julius Härtl
202ff4be55
Make version restore compatible with Nextcloud 13/14
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-18 10:03:14 +01:00
Julius Härtl
09dc7d3ad4
Remove events once collabora gets closed
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-18 10:03:14 +01:00
Julius Härtl
810ea6032f
Use proper targets, since app-sidebar might be created later
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-18 10:03:14 +01:00
Julius Härtl
5a1d85be06
Use new dav endpoint for restore
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-18 10:03:14 +01:00
Julius Härtl
aaf64d48db
Properly set event handlers for versions sidebar
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-18 10:03:13 +01:00
Julius Härtl
8f7c317f3d
WIP: move revision handling to the versions sidebar tab
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-18 10:02:20 +01:00
Roeland Jago Douma
ad704ebd4f
Merge pull request #321 from nextcloud/bugfix/noid/sidebar-15
...
Fix showing the files sidebar on Nextcloud 15
2018-12-17 20:12:06 +01:00
Julius Härtl
e40791cf1e
Reload file list after closing collabora
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-17 17:08:20 +01:00
Julius Härtl
791b61d30c
Add polyfill for Number.isInteger ( fixes #326 )
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-17 13:13:22 +01:00
Julius Härtl
8b7626e4a3
Fix showing the files sidebar on Nextcloud 15
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-07 22:12:18 +01:00
Roeland Jago Douma
50897cc1f2
Translate the Revision History
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-22 16:03:45 +01:00
Roeland Jago Douma
57ce4472cf
Hide loading overlay sooner to show password promt
...
Fixes #307
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-11 20:26:33 +01:00
Julius Härtl
337dbf3239
Fix tooltip positioning
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-09 10:45:50 +01:00
Julius Härtl
c99f030d65
Indicate read only users
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-09 09:13:30 +01:00
Julius Härtl
da26c9de0b
Just show a user once
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-09 09:12:39 +01:00
Julius Härtl
42e5e1ee0c
Use object to store list of views
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-09 09:12:13 +01:00
Jan Holesovsky
70c801c8b9
Disable the vertical swipe to reload gesture.
...
The reload causes returning back to Files.
2018-10-30 20:06:52 +01:00
Roeland Jago Douma
9d3ab8975b
Merge pull request #293 from nextcloud/fix/do_not_show_spinner_if_nickname_visible
...
Do not show overlay if we request the nickname
2018-10-30 09:18:01 +01:00
Roeland Jago Douma
96c3034cda
Fix notification
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-29 23:04:30 +01:00
Roeland Jago Douma
58ceb98df7
Do not show overlay if we request the nickname
...
If sharinga a directory with RW permissions and the directory contains
an editable file. The nickname field was hidden behind the spinner.
Now we check if the nickname field is there as well.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-29 23:01:50 +01:00
Roeland Jago Douma
8d853c2121
Notify clients when the document is fully loaded
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-29 08:27:02 +01:00
Julius Härtl
b5e161d447
Show display name on avatar hover and disable contacts menu for guest users
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-26 15:07:41 +02:00
Roeland Jago Douma
4a30187fc1
Parse the link to AssertURL trought he generateURL
...
This is to make sure that index.php etc is properly added. Else this
might fail on some setups.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-26 12:56:58 +02:00
Tamás Zolnai
31d41ed25e
Show document overlay when document is fully loaded
...
We can avoid showing the toolbar / menubar during it's initialization.
Also avoid showing online own progress spinner.
2018-10-18 15:56:29 +02:00
Roeland Jago Douma
60707ee9f6
Merge pull request #281 from nextcloud/fix/280
...
Do not show loading screen if we need a nickname
2018-10-18 07:43:27 +02:00
Roeland Jago Douma
4830f6c239
Do not show loading screen if we need a nickname
...
Fixes #280
If we require the user to enter a password. We should not show the
loading screen. As this overlays the input field as well.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-17 12:38:30 +02:00
Julius Härtl
4f0dde0754
Properly remove view entries from the array
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-17 11:32:18 +02:00
Roeland Jago Douma
a7d6a3c211
Define namespace early on
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-16 15:55:59 +02:00
Roeland Jago Douma
da15a4dcef
Use the parent filepicker
...
As collabora runs in an anonymous iframe. We need to actually call the
parent filepicker. Else it can't find the username.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-16 15:25:49 +02:00
Roeland Jago Douma
fa39dcd2f5
Move to compiled handlebars
...
The CSP in NC15 will be stricter so compiling at runtime won't work
anymore.
Generate the precompiled tempaltes by installing handlebars and running:
handlebars -n OCA.RichDocuments.Templates js/templates/ -f js/templates.js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-15 21:19:06 +02:00
Roeland Jago Douma
d01186295c
Obtain fileId correctly from url
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-09 22:34:07 +02:00
Roeland Jago Douma
338e26e974
Do not use deprecated OC.webroot
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-09 11:10:28 +02:00
John Molakvoæ (skjnldsv)
051e440845
Js fix
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-13 09:44:23 +02:00
John Molakvoæ (skjnldsv)
2ffbf8ddb5
Add iOS fallback for RichDocumentsMobileInterface
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-09-13 09:41:43 +02:00
Roeland Jago Douma
5a18f5f28f
Translate the filenames as well
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-06 11:21:16 +02:00