Robin Appelman
60551ced9e
use "newer" node search api directly in unified search
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24 16:00:06 +01:00
Robin Appelman
57042ab107
limit constructing of result objects in file search
...
even thought we currently have no proper way of limiting the search itself, we can at least limit the construction of the result objects.
this saves about 40% of the time spend in the search request in my local testing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 08:22:31 +01:00
Roeland Jago Douma
ede08b0f09
Activity: show if files are hidden or not
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 16:04:27 +00:00
Sujith Haridasan
67fa9edef0
Stop transfer of ownership between same users
...
Stop the transfer of ownership between same user.
Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
2020-10-12 20:03:17 +00:00
Robin Appelman
aec422a874
add mount point to quota warning message
...
makes it more clear to the user what the quota applies to
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-04 11:05:24 +00:00
Roeland Jago Douma
2dbeb58c7a
Merge pull request #22854 from nextcloud/bugfix/noid/unified-search
...
Bugfix/noid/unified search
2020-09-15 11:35:28 +02:00
Joas Schilling
d37bd2cbab
Use absolute URLs on search results for the clients
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 09:20:10 +02:00
Roeland Jago Douma
5724d4c6fe
Fix files search provider
...
The move to OCS make it so no filesystem is setup.
This makes the static file search code do boom.
Explicitly getting the users filesystem helps.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-11 10:27:02 +02:00
Joas Schilling
7e1ca73261
Allow to get activities for files by email again
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-10 10:08:18 +02:00
Joas Schilling
f0b46ea605
Merge pull request #22648 from nextcloud/bugfix/noid/transfer-all-shares
...
Transfer shares if no path provided
2020-09-09 13:32:43 +02:00
Julius Härtl
aa04a26c68
Transfer shares if no path provided
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-07 17:35:29 +02:00
Christoph Wurst
1f7f93a695
Update license headers for Nextcloud 20 (again)
...
There are still lots of outdated headers, so time for another round of
updates.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-07 14:37:44 +02:00
Julius Härtl
e0ae37745a
Do not expose direct editing if no master key is available
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-01 11:40:27 +02:00
Julius Härtl
ac2999a26a
Transfer shares of the transferred root node
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-31 14:23:34 +02:00
Robin Appelman
c077c15875
show better quota warning for group folders and external storage
...
instead of showing the generic 'Your storage is full' message, better explain that it's the group folder/external storage that is full
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-25 16:05:16 +02:00
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24 14:54:25 +02:00
Morris Jobke
420a3762cb
Merge pull request #21797 from rawtaz/patch-1
...
Include e-mail shares when transferring ownership
2020-08-20 16:08:51 +02:00
Morris Jobke
7b8adb1817
Merge pull request #21861 from nextcloud/techdebt/files-psr-container
...
Migrate files to the PSR container
2020-08-17 17:58:41 +02:00
Morris Jobke
f406f5dc73
Fix TagService DI name
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-17 16:55:16 +02:00
Christoph Wurst
07fcf14324
Migrate files to the PSR container
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-17 09:45:11 +02:00
Daniel Kesselberg
6f8147b18f
Fix some MissingDocblockType or InvalidDocblock warnings.
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-14 15:10:48 +02:00
Robin Appelman
5f58cefbd7
merge file activity settings into a single 'favorite changed' item
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-13 00:01:34 +02:00
Morris Jobke
8fc877ff7d
Merge pull request #22117 from nextcloud/activity-settings-grouping
...
allow grouping of activity settings
2020-08-11 11:24:23 +02:00
Morris Jobke
5d3ecfdffd
Merge pull request #21775 from nextcloud/bugfix/noid/transfer-object-storage
...
Do not exit if available space cannot be determined on file transfer
2020-08-11 11:08:03 +02:00
Morris Jobke
bc4df68e56
Merge pull request #22169 from nextcloud/enh/noid/prefer-typed-events
...
Prefer typed event over string based ones
2020-08-11 09:34:48 +02:00
Morris Jobke
4e297d7a97
Use constant instead of magic number
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-11 08:14:03 +02:00
Julius Härtl
cb2f5a829e
Do not exit if available space cannot be determined on file transfer
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-11 08:14:03 +02:00
Morris Jobke
c0be7e329f
Prefer typed event over string based ones
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-10 15:22:55 +02:00
Morris Jobke
782a2df392
Add PHP doc for events
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-10 14:24:24 +02:00
Robin Appelman
227e362842
allow grouping of activity settings
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-05 16:13:03 +02:00
Joas Schilling
ea8f68bea6
Hand in the route and the parameters of the request
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-05 12:52:16 +00:00
John Molakvoæ (skjnldsv)
d98f7c1bd8
Make apps handle the order logic
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-05 11:37:45 +02:00
John Molakvoæ (skjnldsv)
71b62c4203
Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-04 21:36:22 +02:00
John Molakvoæ (skjnldsv)
1a1b3e20e4
Fix unified search
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-03 11:26:03 +00:00
Christoph Wurst
91e7f12088
Adjust apps' code to use the ContainerInterface
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-21 20:43:18 +02:00
rawtaz
97d82e2a64
Include circle shares when transferring ownership
2020-07-15 13:51:04 +02:00
rawtaz
6184604771
Include e-mail shares when transferring ownership
...
E-mail shares weren't included in the processing of shares when using the `occ files:transfer-ownership` command, so they'd be lost (not visible in either the former or the new account). This commit fixes that.
2020-07-11 16:51:40 +02:00
Roeland Jago Douma
1cf3280c8e
Lazy register the navigation
...
This makes sure that we do not translate unneeded strings on for example
webdav requests.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-09 10:12:53 +02:00
Julius Härtl
479aa975d3
Add removal of mounts without storages to files:cleanup command
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-07 12:36:59 +02:00
Joas Schilling
d7c0b9cced
Also always return in app commands
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 15:12:11 +02:00
Joas Schilling
89ed2c37bf
Update share type constant usage
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-24 16:49:16 +02:00
Christoph Wurst
f8e08a74ba
Implement unified search for Files
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-24 14:20:26 +02:00
Christoph Wurst
4488e846a5
Add unified search API
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-24 14:20:25 +02:00
Christoph Wurst
2b26bf1408
Migrate Files to the new bootstrap mechanism
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-22 10:19:00 +02:00
Christoph Wurst
cb057829f7
Update license headers for 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +02:00
Daniel Kesselberg
3294f53942
Set exit code if something went wrong.
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-26 20:37:21 +02:00
Roeland Jago Douma
e983ae3b06
Add folder argument to files:scan-app-data
...
If you need to rescan something but don't feel like rescanning your
whole preview stash.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-22 13:27:33 +02:00
Christoph Wurst
28f8eb5dba
Add visibility to all constants
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:54:27 +02:00
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
...
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 14:19:56 +02:00
Christoph Wurst
14c996d982
Use elseif instead of else if
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 10:35:09 +02:00