John Molakvoæ (skjnldsv)
cc4362df4f
Unify code to get shares of a file or also including subfiles
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-25 21:41:12 +02:00
John Molakvoæ (skjnldsv)
dbb6b4cbb9
Filter out duplicated shares before processing them
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-25 21:41:12 +02:00
Daniel Calviño Sánchez
8098abee60
Do not return shares with the current user
...
Getting the shares of a file no longer returns shares with the current
user for consistency with the results when getting the shares including
subfiles.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:40:50 +02:00
Daniel Calviño Sánchez
1afefc2d9a
Extract method to get all shares
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:49 +02:00
Daniel Calviño Sánchez
222e5a9a9f
Add missing share types when getting shares of a file
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:49 +02:00
Daniel Calviño Sánchez
24febe1e41
Unify share type sorting when getting shares of a file or with subfiles
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:49 +02:00
Daniel Calviño Sánchez
0599536c82
Remove unneeded calls to "ShareManager::shareProviderExists()"
...
"ShareManager::getSharesBy()" already checks if the share provider
exists before returning the shares and, if the provider does not exist,
it returns an empty array. Therefore it is not needed to explicitly
check if the provider exists or not.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:49 +02:00
Daniel Calviño Sánchez
52870fd1d2
Add unit tests for getting shares of a file
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:45 +02:00
Daniel Calviño Sánchez
9039dd89ef
Add unit tests for getting shares including subfiles
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:27:30 +02:00
Daniel Calviño Sánchez
eaa98ed343
Add integration tests for getting shares including subfiles
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 18:37:36 +02:00
Daniel Calviño Sánchez
bb9814d052
Replace fully qualified name with alias
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 10:48:38 +02:00
Nextcloud bot
d633b451df
[tx-robot] updated from transifex
2019-10-24 02:15:26 +00:00
Roeland Jago Douma
a730ec0b1b
Merge pull request #17640 from nextcloud/refactor/new-browserslist-config-package
...
Use @nextcloud/browserslist-config
2019-10-23 19:51:51 +02:00
Roeland Jago Douma
4c83e9ce5f
Merge pull request #17616 from nextcloud/bug/15486/dont-fclose
...
Remove superfluous fclose
2019-10-23 19:51:17 +02:00
Roeland Jago Douma
c0c63fcbdc
Merge pull request #17482 from nextcloud/feature/noid/rich-workspace
...
Allow registering header/footer sections in the file lists
2019-10-23 19:38:59 +02:00
Julius Härtl
975c1982a0
Allow registering header sections in the file lists
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-23 08:48:15 +02:00
Roeland Jago Douma
178ead4014
Merge pull request #17645 from nextcloud/run-acceptance-tests-on-php7.3
...
Run acceptance tests on PHP 7.3
2019-10-23 08:34:23 +02:00
Nextcloud bot
baee9ddc35
[tx-robot] updated from transifex
2019-10-23 02:15:24 +00:00
Roeland Jago Douma
41f5ad6044
Merge pull request #17646 from nextcloud/bugfix/noid/help-route
...
Fix help route in navigation
2019-10-22 22:04:41 +02:00
Julius Härtl
7636b9e164
Fix help route in navigation
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-22 17:56:55 +02:00
Daniel Calviño Sánchez
81d0b70791
Run acceptance tests on PHP 7.3
...
There is no difference (as far as I know) between running the acceptance
tests on PHP 7.1 or on PHP 7.3; this is simply a preparatory step to be
ready when PHP 7.1 support is dropped in Nextcloud server.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-22 16:48:55 +02:00
Christoph Wurst
6f7549d039
Use @nextcloud/browserslist-config
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-22 16:20:31 +02:00
Roeland Jago Douma
7960a71fe2
Merge pull request #17639 from nextcloud/enhancement/entity-boolean-getter
...
Add isXXX getter to Entity
2019-10-22 15:55:58 +02:00
Roeland Jago Douma
6be518c642
Merge pull request #17628 from nextcloud/enh/14811/2fa_backup_chars
...
Only human readbale backup chars
2019-10-22 15:40:38 +02:00
Christoph Wurst
ce9a434fb2
Add isXXX getter to Entity
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-22 14:54:21 +02:00
Roeland Jago Douma
d878130fb2
Only human readbale backup chars
...
Fixes #14811
Only use humand readable chars (so no I and 1 etc)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-22 12:25:39 +02:00
John Molakvoæ
ac1585b316
Fix browser back button ( #17627 )
...
Fix browser back button
2019-10-22 11:36:36 +02:00
Nextcloud bot
908f13e9b9
[tx-robot] updated from transifex
2019-10-22 02:15:41 +00:00
Roeland Jago Douma
87c2ab3ffa
Fix browser back button
...
Fixes #17108
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-21 21:36:17 +02:00
blizzz
923735021b
Merge pull request #17568 from nextcloud/fix/noid/move-away-from-deprecated-event
...
use OCP\EventDispatcher\Event over Symfony's deprecated Event
2019-10-21 13:40:36 +02:00
Roeland Jago Douma
2905e8d6cf
Merge pull request #17593 from nextcloud/ensure-valid-theming-image-route
...
make sure that the urls for theming images are valid
2019-10-21 12:07:00 +02:00
Roeland Jago Douma
8d094920c3
Merge pull request #17594 from nextcloud/dont-cache-notfound
...
Dont cache empty url for not found routes
2019-10-21 12:06:49 +02:00
blizzz
a7193ce781
Merge pull request #17595 from nextcloud/fix/noid/wrong-pwd-apple-open-dir
...
treat LDAP error 50 as auth issue, prevents lost server connection errors
2019-10-21 11:55:51 +02:00
blizzz
75ecae28e6
Merge pull request #17450 from nextcloud/fix/17368/odd-group-numbers
...
hide strange Everyone and Disabled group numbers with LDAP
2019-10-21 11:53:44 +02:00
Daniel Kesselberg
230f685987
Remove superfluous fclose
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-21 11:31:07 +02:00
Roeland Jago Douma
7dcf947955
Merge pull request #17577 from nextcloud/bugfix/noid/about-help
...
Migrate help to a Controller
2019-10-21 11:15:04 +02:00
Roeland Jago Douma
2276cb12c4
Merge pull request #17547 from nextcloud/enh/noid/log-exception-json-escape
...
Do not escape slashes for logged exceptions
2019-10-21 11:14:03 +02:00
npmbuildbot[bot]
419bcb3a09
Compile assets
...
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-21 08:11:49 +00:00
Arthur Schiwon
72a8703627
when adding/removing users from groups don't touch counters if LDAP
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-21 10:09:26 +02:00
Arthur Schiwon
b41e3f8f08
hide strange Everyone and Disabled group numbers with LDAP, fixes 17368
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-21 10:09:21 +02:00
Roeland Jago Douma
c92e64b537
Merge pull request #17545 from nextcloud/bugfix/noid/workflow-catch
...
Ignore unavailable entity/operation classes
2019-10-21 09:25:46 +02:00
Roeland Jago Douma
83674f1b92
Merge pull request #17603 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.27
...
Bump moment-timezone from 0.5.26 to 0.5.27
2019-10-21 09:25:05 +02:00
Nextcloud bot
560d9c3006
[tx-robot] updated from transifex
2019-10-21 02:15:49 +00:00
dependabot-preview[bot]
31639b7862
Bump moment-timezone from 0.5.26 to 0.5.27
...
Bumps [moment-timezone](https://github.com/moment/moment-timezone ) from 0.5.26 to 0.5.27.
- [Release notes](https://github.com/moment/moment-timezone/releases )
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md )
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.26...0.5.27 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-20 12:21:25 +00:00
Roeland Jago Douma
d092822263
Merge pull request #17601 from nextcloud/dependabot/npm_and_yarn/webpack-4.41.2
...
Bump webpack from 4.41.1 to 4.41.2
2019-10-20 14:15:27 +02:00
dependabot-preview[bot]
051cfedcbd
Bump webpack from 4.41.1 to 4.41.2
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.41.1 to 4.41.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.41.1...v4.41.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-20 08:05:34 +00:00
Roeland Jago Douma
75b8b76844
Merge pull request #17605 from nextcloud/dependabot/npm_and_yarn/browserslist-config-nextcloud-0.1.0
...
Bump browserslist-config-nextcloud from 0.0.1 to 0.1.0
2019-10-20 10:02:49 +02:00
Nextcloud bot
e0e938295e
[tx-robot] updated from transifex
2019-10-20 02:16:43 +00:00
dependabot-preview[bot]
c96525e310
Bump browserslist-config-nextcloud from 0.0.1 to 0.1.0
...
Bumps browserslist-config-nextcloud from 0.0.1 to 0.1.0.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-20 01:15:56 +00:00
Roeland Jago Douma
b425b34878
Merge pull request #17575 from nextcloud/include-the-share-in-the-files_sharing-loadadditionalscripts-event
...
Include the share in the Files_Sharing::loadAdditionalScripts event
2019-10-19 11:13:11 +02:00