Roeland Jago Douma
eea7de4c9f
Correctly format OCS response with favorites
The helper funtion did not handle the response correctly and basically
only returned the last share with tags.
This is a simple rewrite. That is still understandable. Loops maybe more
than strictly required. But preformance is not the issue here.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Joas Schilling
e30287cf81
Fix comparisons in the files app
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
0b3266531b
Fix copy and paste error on activity descriptions
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
90fa27694a
Use PNG version of the icons for shipped activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
fcdcd3f283
Add an event so apps can add hidden fields to the files page
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
0554dba69e
Add quota to the files view
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
edb4956290
Fix username and avatar for external users
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Robin Appelman
ab9a36e872
allow apps to set custom mount types
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years ago
Morris Jobke
c54a59d51e
Remove unused use statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke
fbedea0807
Add PHPDoc and handle exception in ScanAppData as well
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Robin Appelman
ce2dba0796
show error when trying to scan non existing path
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years ago
Michael Jobst
81b1dc4930
share api expanded by tags (#26583)
* share api expanded by tags
* Modified files_sharing JS Unit tests
* modified tests. renamed request parameter. refactoring
* Update Share20OCS.php
Added missing function description
* Update Helper.php
Added missing function description
* Update Helper.php
implicit boolean conversion to !empty()
* Update Share20OCSTest.php
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Joas Schilling
e0b040d623
Allow multiple navigation links from info.xml
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
054e161eb5
Manage the right side menu via the navigation manager as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Lukas Reschke
b70b138bdb
Merge file view JS files
Removes 26 requests on the file list loading
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Roeland Jago Douma
03d688d6ac
Handlebars is already loaded by core.js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Morris Jobke
fbf3bfa3ea
improve file transfer code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke
b26c8f8bd3
Use proper name and code style
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Roeland Jago Douma
e3f8e416e6
Add files:scanAppData command
Fixes https://github.com/nextcloud/server/issues/3041
Add a dedicated command to scan the special appdata dir
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Roeland Jago Douma
4518a28924
Revert "Bundle vendor js"
7 years ago
Roeland Jago Douma
d2a2cef4cc
Handlebars is already loaded by core.js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Lukas Reschke
5c7ad6d3ec
Merge some CSS files using our SCSS compiler
This saves around 4 requests on the average page load.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Sujith H
f654f29532
Providing --path option to transfer-ownership
This will help user to selectively move the folders
specified using --path option, instead of moving
entire folder under files directory.
Signed-off-by: Sujith H <sharidasan@owncloud.com>
Update the integration test for transfer-ownership
Update the integration test for transfer-ownership
as the new option --path is introduced in the command.
Signed-off-by: Sujith H <sharidasan@owncloud.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Vincent Petry
b8a8f43fce
Log files:scan exception, add InterruptedException
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke
503a9160ae
Use a proper date format for transfer ownership
* on Windows : is not allowed as filename and doesn't get synced then
* uses 2017-03-02 22-00-00 instead of 2017-03-02T22:00:00+00:00 as format
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke
b954c2f186
Fix app name of files app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Joas Schilling
54e39d4b93
Fix files sharing legacy as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
881c7275a2
Add tests for getFile()
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
c031c77e3c
Make sure ownCloud 8.2 activities also can get displayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
fef4462904
Make sure the file information is available when sending the email
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
6de0eb0b74
Remove leading slash from sharing activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
7c1b288b57
Add some generic tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
8baf986d3b
Add an activity when managing favorites
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
b2f46bfa04
Adjust all implementations in the server repo
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
da9468522b
Add an event merger and use it for the files activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
5ba2b1c193
Working towards groups
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Morris Jobke
f6e7269628
document new variable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Joas Schilling
e1feb72583
Use the display name for files activities again
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
a845f7bc01
Fix wrong copyright headers
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
6b88d56e3a
Update the since version to 11.0.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
1dc23f2fd6
Remove the old activity extension
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
cf8b91be52
Add back the support for the short translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
27c08167df
Don't even try to combine when the subject is different
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
6ddf43e27a
Provider for the files app
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
ca2124a2a1
Register the settings of the files app via info.xml
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
0d940e581a
Move the favorites filter to IFilter
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
5d71896c8e
Move files filter to IFilter
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Roeland Jago Douma
7e6830729e
Test on storage
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Vincent Petry
1355f2039e
Transfer ownership now returns exit code on error (#26546)
7 years ago
Vincent Petry
2b61b89391
Skip broken shares when transferring ownership (#26527)
7 years ago