Ashod Nakashian
6a64dbfd67
Template sourced documents support DownloadAsPostMessage
...
DownloadAsPostMessage is specific to the client, not the
document. When creating new documents from templates, we
should still respect the DownloadAsPostMessage flag.
2020-09-20 14:51:22 -04:00
Roeland Jago Douma
7136806736
Harden direct editing permission check
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-29 10:49:24 +02:00
Julius Härtl
30354129e9
Adjust integration tests to missing wopi token without guest name being set
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-03 15:24:40 +01:00
Julius Härtl
047642a2bd
Move guest name fetching to helper
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-03 12:13:51 +01:00
Julius Härtl
9ea3abca66
Store share token with wopi token entry
...
With this we are now able to properly obtain the correct file source if a logged-in user
is opening a public share link
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-03 11:11:40 +01:00
Julius Härtl
edb200299d
Start with new template creation mechanism
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-18 09:54:06 +01:00
Roeland Jago Douma
0384b982cd
Merge pull request #695 from nextcloud/enh/noid/audit-read
...
Force read operation to trigger audit log when issuing a token
2019-12-03 09:04:40 +01:00
Julius Härtl
9f33b1fe9f
Always use the owner file owner to access for share links
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-20 19:53:14 +01:00
Julius Härtl
60030b8a49
Force read operation to trigger audit log when issuing a token
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-15 09:02:14 +01:00
Julius Härtl
59d5767a70
Split federation logic to helper functions an cleanup code
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-27 18:43:26 +02:00
Julius Härtl
0ef0b05bd2
Handle CSP properly
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-27 18:43:24 +02:00
Julius Härtl
9b3fb584fb
PoC: Federated document editing
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-27 18:39:52 +02:00
Julius Härtl
23e1b8d9ae
Check the editor folder only if available
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-07 16:43:43 +02:00
Julius Härtl
238b1c80c8
Use available public API calls and strong comparison
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-10 18:24:27 +02:00
Julius Härtl
28c0e502ba
Add DownloadAsPostMessage
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-14 07:58:38 +02:00
Julius Härtl
45dc32fc6c
Improve user list for sessions though the public link
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-19 19:30:07 +02:00
Julius Härtl
af503f45d0
Fix searching for groups
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-14 14:17:10 +02:00
Julius Härtl
94cfe0dca3
Add proper fallback value for hideDownload
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-08 17:41:19 +02:00
Julius Härtl
c7e9222621
Implement hide download support for public shares
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-17 12:29:41 +02:00
Julius Härtl
3560a7872a
Merge pull request #459 from nextcloud/fix/check_file_permissions
...
Check actual file if it can be updated
2019-04-10 10:30:00 +02:00
Roeland Jago Douma
7d8846a96f
Check actual file if it can be updated
...
There is no need to check the root folder because it doesn't tell you if
the file itself is updatable.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-21 21:10:19 +01:00
Julius Härtl
c5bc80156e
Fix guest name input
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-15 10:00:01 +01:00
nhirokinet
e2e477b638
add comment
2019-01-03 14:17:49 +00:00
nhirokinet
3b3b327035
Richdocument on mobile did not work in groupfolders
2019-01-03 13:57:18 +00:00
Roeland Jago Douma
c5df57dfcc
Open template via OCS (Direct view)
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 07:38:44 +01:00
nithom
bcb67076a9
Let external users set their display name when editing. ( #200 )
...
Signed-off-by: Nico Thomas <nithom@online.de>
Co-authored-by: JonasBlaesche <jonas.blaesche@me.com>
2018-06-13 15:31:18 +02:00
Pranav Kant
4b57b6a267
saveas should save the file in editor's dir
2018-06-07 11:14:41 +02:00
Roeland Jago Douma
958d1fe279
Move over to Entity/EntityMapper
...
* Use the AppFrameworks entities
* Use the query builder
* Pass Entities (with types) around
* Remove old classes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-04-05 12:48:23 +02:00
Pranav Kant
2c3d9ae8d9
Add support for PutRelativeFile for Save As. ( #136 )
2017-11-22 16:23:55 +01:00
Andras Timar
aa4df2e800
Restore 'Enable edit for specific groups' feature, fixes #66
2017-06-14 14:17:21 +02:00
Pranav Kant
a9b13e12a9
Undefined owneruid
2017-06-07 20:42:13 +05:30
Pranav Kant
ee09fb0748
Use the file owner from the share object, if available
...
Fixes #85
When a link is shared on external storage and user is not logged in, the
owner returned by the $file object is null. Use owner information from
the $share object whenever available.
2017-06-02 00:21:07 +05:30
Pranav Kant
9bb400714c
Fix file revisions
2017-05-11 21:09:46 +05:30
Lukas Reschke
88a93503ca
Properly use an integer
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 00:59:30 +01:00
Lukas Reschke
7ef24654cf
Public editing
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 00:57:01 +01:00