Commit Graph

51066 Commits

Author SHA1 Message Date
Roeland Jago Douma bc4ed80439
Merge pull request #17626 from nextcloud/fix/weird_kde/loginflowv2
Fix weird KDE bug with loginflowv2
2019-10-26 13:53:01 +02:00
Roeland Jago Douma c280eff9b5
Merge pull request #17673 from nextcloud/fix/lang/locale/jshelper/mess
Fix jsConfigHelper lang/locale mixup
2019-10-26 12:13:58 +02:00
Nextcloud bot f9e323c188
[tx-robot] updated from transifex 2019-10-26 02:15:17 +00:00
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
Roeland Jago Douma 0971f27565
Merge pull request #17678 from nextcloud/enh/nicer_2fa_middleware_check
Harden middleware check
2019-10-25 16:33:49 +02:00
Roeland Jago Douma 2cf068463f
Harden middleware check
These annotations will allow for extra checks. And thus make it harder
to break things.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-25 15:44:37 +02:00
John Molakvoæ 6d9bcb71e7
fix filename overlapping on mobile (#17469)
fix filename overlapping on mobile
2019-10-25 14:59:35 +02:00
Roeland Jago Douma e71f222082
Cleanup theming mess
* Do not do translations in the constructor. This gets called to early
so there is no user yet. Which means we can't obtain the locale. Which
means we store the wrong translation instance.

* Same for the theming app magic. Just use the parent call when needed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-25 13:31:19 +02:00
Roeland Jago Douma 6a560fd51e
Don't pass in the locale as the language
This messes with the translation of the date names etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-25 13:29:51 +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 a1cc2b21cc
[tx-robot] updated from transifex 2019-10-25 02:15:33 +00: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
Roeland Jago Douma 0a2175a3e5
Fix weird KDE bug with loginflowv2
It seems that KDE by default opens the url in secret.
Should fix: https://github.com/nextcloud/desktop/issues/1412

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-21 20:58:40 +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
dependabot-preview[bot] fede49850a Bump nextcloud-vue-collections from 0.5.6 to 0.6.0
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.5.6 to 0.6.0.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.5.6...v0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-21 11:16:21 +00: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