Commit Graph

21230 Commits

Author SHA1 Message Date
John Molakvoæ (skjnldsv) 41cd251246
Bring back external storage group select delete
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-30 16:13:54 +01:00
Roeland Jago Douma 8085ca4cc4
Get all shares as iterable
Sometimes we need all shares or rather a specific subset of shares but
creating dedicated functions is a pain. This just returns an iterable
object for all shares so we can loop over them without allocating all
the memory on the system.

It should not be used by any user called code. But in an occ command or
background job it is fine IMO.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-30 09:45:27 +01:00
Christian Oliff f9d34b89e8
Remove unnedeed IE8 CSS
IE8 is not supported at all by Microsoft, has a tiny marketshare and doesn't work with Nextcloud anyway (as Nextcloud uses jQuery 2.x which doesn't work with IE8)
2019-10-30 16:18:56 +09:00
Daniel Kesselberg fd836616a2
Return $schema on change and null otherwise
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-29 19:25:34 +01:00
Arthur Schiwon 3f97025613
bump bundles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-29 18:09:28 +01:00
Arthur Schiwon 9c766cf03f
do not break on Checkers that do not need specific context info
request time, for example

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-29 18:03:57 +01:00
Julius Härtl 580c8355b2
Design fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:57 +01:00
Julius Härtl a0582efc86
Move delete/cancel button to the bottom
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:57 +01:00
Julius Härtl 5551da2e2f
Fix systemtag selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:57 +01:00
Julius Härtl 8a0164b6b9
Adjust user UserWorkflowController methods to AWorflowController
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:56 +01:00
Julius Härtl 928cf4bfcc
Fix issue with unavailable operations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:56 +01:00
Julius Härtl 2adcc75413
Fetch groups on the fly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:56 +01:00
Julius Härtl 06d43bdd77
Add missing ocs resource for user workflows
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:55 +01:00
Julius Härtl fce33f39d3
Fix operation list when scope is limited
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:55 +01:00
Julius Härtl 0fccda86c2
Fix input size and ellipsis
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:55 +01:00
Julius Härtl 6830daf104
Decode list of events when returning them
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:54 +01:00
Julius Härtl e72f58b000
Fix bugs with check plugins
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:54 +01:00
Julius Härtl 6878d36e50
Allow to select multiple events
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:54 +01:00
Julius Härtl 7b82a09a3b
Fix minor styling issues with the user agent picker
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:53 +01:00
Julius Härtl b15c4a3a2e
Properly validate individual checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:53 +01:00
Julius Härtl 71470463c6
Fix remaining comments from #16706
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:53 +01:00
Julius Härtl 327be375e1
Remove unused stylesheets from workflowengine
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 18:03:53 +01:00
npmbuildbot[bot] 85730de7fa Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-29 13:20:37 +01:00
John Molakvoæ (skjnldsv) 2fd057513a Fix current user edit/delete permissions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) 3331cdd74a Fix legacy tab backbone fileinfo change
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) 51960cb228 Fix triggering favorite file actions on the file list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) a48359ac02 Adjust unit tests to new OCA.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) 480691a569 Prevent multiple systemtags views
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:07 +01:00
John Molakvoæ (skjnldsv) d88b93c919 Add LoadSidebar event
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:07 +01:00
John Molakvoæ (skjnldsv) 1c13c52acf Systemtags and external actions update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:03 +01:00
Julius Härtl ae59edc6bf Add ShareTabSections service to register sections in the share tab
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 13:16:29 +01:00
Julius Härtl adb163b337 Add projects view to sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 12:56:00 +01:00
John Molakvoæ (skjnldsv) fd90af50d9 Add OCA.Files.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 12:56:00 +01:00
Nextcloud bot 97fd61ac45
[tx-robot] updated from transifex 2019-10-29 02:15:20 +00:00
John Molakvoæ 68953f7c3d
Merge pull request #17521 from R0Wi/master
Quickfix #17515
2019-10-28 15:14:32 +01:00
John Molakvoæ 921f748996
Bump nextcloud-vue from 0.12.6 to 0.12.7 (#17702)
Bump nextcloud-vue from 0.12.6 to 0.12.7
2019-10-28 07:36:55 +01:00
Nextcloud bot b72295aa54
[tx-robot] updated from transifex 2019-10-28 02:15:34 +00:00
dependabot-preview[bot] c92d15415c Bump nextcloud-vue from 0.12.6 to 0.12.7
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.6 to 0.12.7.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.6...v0.12.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-28 00:16:10 +00:00
dependabot-preview[bot] b0c0676429 Bump @nextcloud/axios from 0.4.2 to 0.5.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v0.4.2...v0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-27 10:21:41 +00:00
dependabot-preview[bot] 79b90e3b36 Bump handlebars from 4.4.3 to 4.4.5
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.3 to 4.4.5.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.3...v4.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-27 07:52:11 +00:00
Nextcloud bot 4f2391d439
[tx-robot] updated from transifex 2019-10-27 02:14:12 +00:00
Roeland Jago Douma 790efdf787
Merge pull request #17691 from nextcloud/enh/17673/fix-first-day-week
Show first day of the week in correct language
2019-10-26 20:32:11 +02:00
Roeland Jago Douma 7904ddd06a
Merge pull request #17693 from nextcloud/enh/unused-test-dependency
Remove unused import Punic\Data
2019-10-26 20:31:34 +02:00
John Molakvoæ 9348fd53b1
Cleanup and do not list current user shares in getShares too (#16789)
Cleanup and do not list current user shares in getShares too
2019-10-26 16:58:37 +02:00
Robin Windey da88633300 Revert changes and add css-rule to correct file inside files-app 2019-10-26 16:44:33 +02:00
Daniel Kesselberg a20546bb5c
Remove unused import Punic\Data
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-26 16:39:05 +02:00
Daniel Kesselberg a7f4d54d0f
Show first day of the week in correct language
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-26 14:31:38 +02:00
Roeland Jago Douma 459e71638d
Merge pull request #17604 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.6.0
Bump nextcloud-vue-collections from 0.5.6 to 0.6.0
2019-10-26 13:53:30 +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
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
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 4c83e9ce5f
Merge pull request #17616 from nextcloud/bug/15486/dont-fclose
Remove superfluous fclose
2019-10-23 19:51:17 +02:00
Hannes Burger e4c6d033e1 update tooltip content dynamically
Signed-off-by: Hannes Burger <hburger30@gmail.com>
2019-10-23 17:25:27 +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
Nextcloud bot baee9ddc35
[tx-robot] updated from transifex 2019-10-23 02:15:24 +00:00
Hannes Burger 666ab67a8e fix uploadprogressbar tooltip
Signed-off-by: Hannes Burger <hburger30@gmail.com>
2019-10-22 21:01:23 +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
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
Nextcloud bot 908f13e9b9
[tx-robot] updated from transifex 2019-10-22 02:15:41 +00: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
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
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
Nextcloud bot e0e938295e
[tx-robot] updated from transifex 2019-10-20 02:16:43 +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
Nextcloud bot dd0e73829c
[tx-robot] updated from transifex 2019-10-19 02:15:42 +00:00
Arthur Schiwon 38a8306e32
treat LDAP error 50 as auth issue, prevents lost server connection errors
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-18 18:55:10 +02:00
Robin Appelman 512eb14d94
make sure that the urls for theming images are valid
In some circumstances the url generation seems to fail,
resulting in an empty image url which causes the browser to load the main
page multiple times, leading to issues with state tokens

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-10-18 18:12:06 +02:00
John Molakvoæ 64f1ad9381
added documentation links on settings pages (#17585)
added documentation links on settings pages
2019-10-18 12:06:42 +02:00
Nextcloud bot 41c92813c3
[tx-robot] updated from transifex 2019-10-18 02:15:23 +00:00
Daniel Calviño Sánchez 5c7c308220 Include the share in the Files_Sharing::loadAdditionalScripts event
This provides a better context for apps using the event, for example to
load one script or another depending on whether the share is a file or a
folder.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-17 18:22:54 +02:00
Sascha Wiswedel 126444d5a6
added documentation links on settings pages
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-10-17 15:09:49 +02:00
Arthur Schiwon e8095cf737
use OCP\EventDispatcher\Event over Symfony's deprecated Event
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-17 13:31:48 +02:00
Julius Härtl a307bb285e
Move help to controller
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-17 11:05:54 +02:00
Roeland Jago Douma 07dffb6df6
Merge pull request #17569 from nextcloud/td/di/middleware
Allow DI in middleware
2019-10-17 09:43:57 +02:00
Nextcloud bot e57feec833
[tx-robot] updated from transifex 2019-10-17 02:15:52 +00:00
John Molakvoæ (skjnldsv) a1480c95eb
Merge all babelrc into one file
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-17 00:06:09 +02:00
Roeland Jago Douma 4a2f9fab66
Move over OCSShareAPIMIddleware to pure DI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-16 22:53:09 +02:00
Julius Härtl a9c089064b
Deprecate TemplateManager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-16 09:54:17 +02:00
Nextcloud bot 8153bd00a5
[tx-robot] updated from transifex 2019-10-16 02:15:41 +00:00
Julius Härtl 99c30453dd
Ignore unavailable entity/operation classes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-15 12:54:22 +02:00
Nextcloud bot 4011262fab
[tx-robot] updated from transifex 2019-10-15 02:15:06 +00:00
Roeland Jago Douma 7536caaff8
Merge pull request #17501 from nextcloud/bugfix/fad-48/list-share-downloads-under-sharing
List share download activity under sharing
2019-10-15 00:21:54 +02:00
Roeland Jago Douma 12c13b86d8
fixup! Do not create Application instances directly
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-14 22:59:16 +02:00
Roeland Jago Douma 40eb9fae74
Merge pull request #17503 from nextcloud/fix/versions/download_filename
Set the proper filename for version downloads
2019-10-14 22:27:32 +02:00
Roeland Jago Douma 1bc100a3d4
Merge pull request #17332 from nextcloud/bugfix/noid/mimetype-changes-on-renaming-a-folder
Only cache the mimetype if the file exists
2019-10-14 21:38:33 +02:00
Roeland Jago Douma d23e96b8da
Merge pull request #17433 from nextcloud/bugfix/uncaught-promise-navigationduplicated
NavigationDuplicated: catch uncaught (in promise)
2019-10-14 21:27:32 +02:00
Julius Härtl 5e4eda1ae0
Remove deprecated legacy file actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-14 19:19:16 +02:00
Daniel Kesselberg ce454e096b
Catch uncaught (in promise)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-14 18:16:48 +02:00
Roeland Jago Douma c1b8cb2e21
Set the proper filename for version downloads
Before it just used the internalid (timestamp often) which is not really
user friendly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-14 17:55:53 +02:00
John Molakvoæ (skjnldsv) ffef4bd627
Move to generateOcsUrl
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-14 10:11:06 +02:00
John Molakvoæ (skjnldsv) 0df5e0b0db
Initial state for accessibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-14 10:11:06 +02:00
Joas Schilling d4d3725bfe
Only cache the mimetype if the file exists
Otherwise files access control will cache "application/octet-stream"
for all the target node on:
rename, move, copy and all other methods which create a new item

To check this:
1. Add an automated tagging rule which tags on mimetype NOT "httpd/unix-directory"
2. Add an access control rule which checks for any mimetype
3. Create a folder and rename it, the folder should not be tagged, but it is

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-14 10:05:45 +02:00
Nextcloud bot c6b9f073ed
[tx-robot] updated from transifex 2019-10-14 02:15:09 +00:00
dependabot-preview[bot] 191c51b99a Bump nextcloud-vue from 0.12.4 to 0.12.6
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.4 to 0.12.6.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.4...v0.12.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-13 17:58:08 +00:00
dependabot-preview[bot] 7ead31d841 Bump dompurify from 2.0.3 to 2.0.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.3 to 2.0.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.3...2.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-13 11:01:30 +00:00
dependabot-preview[bot] dc97676559 Bump handlebars from 4.4.2 to 4.4.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.2...v4.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-13 09:45:04 +00:00
Roeland Jago Douma 1b21f79dca
Merge pull request #17531 from nextcloud/dependabot/npm_and_yarn/webpack-4.41.1
Bump webpack from 4.41.0 to 4.41.1
2019-10-13 10:56:39 +02:00
dependabot-preview[bot] 5f52f9e4a5 Bump webpack from 4.41.0 to 4.41.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.0 to 4.41.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.0...v4.41.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-13 06:32:01 +00:00
Nextcloud bot 0d03115eb0
[tx-robot] updated from transifex 2019-10-13 02:15:52 +00:00
Christoph Wurst c2e8821345
Use the external initial state implementation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-12 13:21:50 +02:00
Nextcloud bot 7f8ff16c76
[tx-robot] updated from transifex 2019-10-12 02:15:10 +00:00
Roeland Jago Douma 0646167111
Bump nextcloud/event-bus to 0.2.1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-11 12:57:19 +02:00
Christoph Wurst 543190f8b3
Do not create Application instances directly
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-11 08:33:09 +02:00
Nextcloud bot a373fd5848
[tx-robot] updated from transifex 2019-10-11 02:14:43 +00:00
Joas Schilling 4d40eb61b4
List share download activity under sharing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-10 08:43:54 +02:00
Nextcloud bot 2b0f49455d
[tx-robot] updated from transifex 2019-10-09 02:15:07 +00:00
Roeland Jago Douma cafa2b5ef0
Merge pull request #17471 from nextcloud/bugfix/15951/public-txt-truncation-size
Raised public txt file truncation size to 10kb (#15951)
2019-10-08 20:52:39 +02:00
Johannes Koenig 58b93b65d3 Raised public txt file truncation size to 10kb
Signed-off-by: Johannes Koenig <mail@jokoenig.de>
2019-10-08 18:38:49 +02:00
Greta Doci c0cf9d53d9 add comment
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-10-08 17:56:22 +02:00
Greta Doci e4ab1461ff fix filename overlapping on mobile ref #17364
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-10-08 17:50:58 +02:00
Gary Kim 7e2149cd82
Show error if tag name is empty
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-08 22:15:05 +08:00
Roeland Jago Douma e4948f5d86
Merge pull request #17414 from gary-kim/enh/15155/delete-icon-in-trashbin
Show Delete Icon in Breadcrumb in Trashbin
2019-10-08 08:08:02 +02:00
Nextcloud bot 85dbde060d
[tx-robot] updated from transifex 2019-10-08 02:15:01 +00:00
Gary Kim 11d01319c6
Show Delete Icon in Breadcrumb in Trashbin
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-07 19:35:23 +08:00
Nextcloud bot 049628a3f5
[tx-robot] updated from transifex 2019-10-07 02:14:42 +00:00
Nextcloud bot e20dbc04ba
[tx-robot] updated from transifex 2019-10-06 02:15:13 +00:00
John Molakvoæ 5c21d11207
Fix Axios CSRF token update (#17404)
Fix Axios CSRF token update
2019-10-05 23:37:10 +02:00
Christoph Wurst 81613d2246
Switch to @nextcloud/axios for the CSRF update fix
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-05 19:06:00 +02:00
John Molakvoæ 62399c76e8
Allow group displaynames in the database backend (#17221)
Allow group displaynames in the database backend
2019-10-05 18:34:14 +02:00
Roeland Jago Douma 637c50e647
Merge pull request #17387 from nextcloud/fix/remove/federated_share
Allow removing federated shares of locally reshared files
2019-10-05 15:18:37 +02:00
John Molakvoæ 37dbe821e3
Fix updating and deleting authtokens (#17397)
Fix updating and deleting authtokens
2019-10-05 12:34:57 +02:00
John Molakvoæ 79c59fb2b9
allow trash backends to overwrite the tooltip for trash items (#17374)
allow trash backends to overwrite the tooltip for trash items
2019-10-05 11:17:07 +02:00
Sergej Nikolaev 9aa992e60b
fix updating and deleting authtokens
Signed-off-by: Sergej Nikolaev <kinolaev@gmail.com>
2019-10-05 10:28:47 +02:00
Robin Appelman ce433637da
allow trash backends to overwrite the tooltip for trash items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-10-05 10:23:30 +02:00
Nextcloud bot e9cef938ea
[tx-robot] updated from transifex 2019-10-05 02:15:04 +00:00
John Molakvoæ (skjnldsv) ff895abac0
Fix shares read permissions
A user with reshare permissions on a file is now able to get any share
of that file (just like the owner).

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 21:40:30 +02:00
John Molakvoæ (skjnldsv) b1069b29fa
Add checks for whether a user with access to a share can delete it
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 19:25:11 +02:00
John Molakvoæ (skjnldsv) f02cff1304
Extract check for whether a user with access to a share can edit it
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 19:25:11 +02:00
Roeland Jago Douma 2507f26428
Merge pull request #17357 from nextcloud/enh/oauth/no_oc_binding
Import router in oauth js
2019-10-04 11:33:40 +02:00
Roeland Jago Douma 7b729c581d
Merge pull request #17359 from nextcloud/bugfix/noid/dont-call-basename-on-null
Don't call basename on null
2019-10-04 11:29:14 +02:00
John Molakvoæ (skjnldsv) c49469c4d8
Prevent non owners to update others link shares
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 08:19:07 +02:00
John Molakvoæ (skjnldsv) c8d50538b8
Use same settings for mail share as link shares
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 08:19:07 +02:00
John Molakvoæ (skjnldsv) 972279d31b
Split drone webpack tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-04 07:04:29 +02:00
John Molakvoæ (skjnldsv) c2c7c2778b
Fix master testing and update eslint-config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-04 06:44:21 +02:00
Nextcloud bot 23af2726e8
[tx-robot] updated from transifex 2019-10-04 02:15:27 +00:00
Roeland Jago Douma 22f6960f83
Allow removing federated shares of locally reshared files
* UserA shares a folder to UserB
* UserB does a federated share to userC@serverC
* UserB now tries to revoke the federated share

Before we always tried to notify the remote cloud. The case that the
file was reshared locally was not considered. This patch makes sure not
to try to notify a federated server if both users are local users.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-03 15:21:04 +02:00
Roeland Jago Douma c436b2ccf6
fixup! Import router
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-03 10:49:55 +02:00
Roeland Jago Douma a2a538bc2f
Import router
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-03 10:44:40 +02:00
John Molakvoæ ecfa6f7e0c
Remove users management settings cleaning leftovers (#17360)
Remove users management settings cleaning leftovers
2019-10-03 08:40:02 +02:00
Nextcloud bot 3e28565458
[tx-robot] updated from transifex 2019-10-03 02:14:24 +00:00
blizzz e105d19585
Merge pull request #17002 from nextcloud/fix/noid/ldap-dont-process-known-avas
Don't process known avatars from LDAP
2019-10-02 16:32:52 +02:00
Nextcloud bot 74dcd84ee8
[tx-robot] updated from transifex 2019-10-02 02:15:09 +00:00
John Molakvoæ (skjnldsv) 690330f308
Remove users management settings cleaning leftovers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:41:56 +02:00
Joas Schilling 0f3de7828e
Don't call basename on null
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-01 17:30:52 +02:00
John Molakvoæ (skjnldsv) b9bc2417e7
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:16:09 +02:00
Nextcloud bot f9870eec2c
[tx-robot] updated from transifex 2019-10-01 12:41:53 +00:00
blizzz 47ab961aa7
Merge pull request #17001 from nextcloud/fix/noid/addressbookchanges-avatar
reduce adressbook change events and handling
2019-10-01 12:17:35 +02:00
dependabot-preview[bot] ff7eeb4501 Bump dompurify from 2.0.1 to 2.0.3
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.1...2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-30 08:42:31 +00:00
dependabot-preview[bot] e57b27820e Bump webpack from 4.40.2 to 4.41.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.40.2 to 4.41.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.40.2...v4.41.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-29 09:29:23 +00:00
Roeland Jago Douma 9e2bb5ef36 Move oauth admin settings to initialstate
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 13:30:34 +00:00
Christoph Wurst de6940352a Move settings to an app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 09:39:28 +00:00
John Molakvoæ c8cd607681
Remove input id on login form (#17294)
Remove input id on login form
2019-09-28 10:46:31 +02:00
John Molakvoæ (skjnldsv) f737dc9a86 Remove input id on login form
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 08:15:03 +00:00
Nextcloud bot 8ca587be3a
[tx-robot] updated from transifex 2019-09-28 02:14:51 +00:00
Joas Schilling 653628c8fb
Allow to set the group display name in the database backend
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-27 14:29:56 +02:00
Roeland Jago Douma 88b6dc5eaf
Merge pull request #17258 from nextcloud/smb-timeout-config
add (hidden) option to configure smb timeout
2019-09-27 12:29:56 +02:00
Joas Schilling f23d49266f
Merge pull request #17286 from nextcloud/bugfix/noid/correctly-detect-mimetype-from-uploads
Correctly detect the mimetype from uploads
2019-09-27 10:51:10 +02:00
Joas Schilling 744b635d5c
Correctly detect the mimetype from uploads
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26 17:43:47 +02:00
Joas Schilling 2959e15c7a
Fix "Cannot add a NOT NULL column with default value NULL"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26 15:51:55 +02:00
Roeland Jago Douma e387189d4a
Merge pull request #14913 from nextcloud/bugfix/6954/scan-external-s3
Fix directory detection for s3
2019-09-26 11:39:17 +02:00
Nextcloud bot 6217b45e26
[tx-robot] updated from transifex 2019-09-26 02:14:57 +00:00
Robin Appelman bc160992d3
Update apps/files_external/lib/Lib/Backend/SMB.php
Co-Authored-By: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-25 14:59:44 +02:00
Robin Appelman 194edfc64e
add (hidden) option to configure smb timeout
hidden from ui to prevent clutter

```occ files_external:config <mount> timeout 30```

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-25 13:30:40 +02:00
Nextcloud bot c99fcd63f8
[tx-robot] updated from transifex 2019-09-25 02:14:47 +00:00
Roeland Jago Douma 88b2d8f220
Merge pull request #16641 from nextcloud/enh/files_additionalscripts
Files additionalscripts to real event
2019-09-24 21:56:50 +02:00
Nextcloud bot 61d22ff6cf
[tx-robot] updated from transifex 2019-09-24 02:14:41 +00:00
Daniel Kesselberg 72d22a4828
Use local variable for directory name
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:41 +02:00
Daniel Kesselberg 75b8944061
Don't strip path from directory prefix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:41 +02:00
Daniel Kesselberg 80340a8d46
Fill directory cache from opendir
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:41 +02:00
Daniel Kesselberg 12863e0d24
Change visibility to private (from protected)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:40 +02:00
Daniel Kesselberg 963d35c78c
Rename $location to $path
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:40 +02:00
Daniel Kesselberg 010473ca1f
Add method to check if directory exists
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:40 +02:00
Roeland Jago Douma 5694a04b70
Move over comments to the new event
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-23 10:09:58 +02:00
Roeland Jago Douma 606b4d5bf3
Add new LoadAdditionalScriptsEvent
This adds a new event that is in the new style of event dispatching.
This should allow more lazy loading and better sepeartion of concerns

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-23 10:09:57 +02:00
Roeland Jago Douma 2025cfe7d1
Merge pull request #17233 from nextcloud/dependabot/npm_and_yarn/handlebars-4.2.1
Bump handlebars from 4.2.0 to 4.2.1
2019-09-22 19:57:21 +02:00