Joas Schilling
d9f12977d3
Improve error reporting on sharing errors
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-08 11:24:29 +02:00
Nextcloud bot
8ca1208bbb
[tx-robot] updated from transifex
2020-07-08 02:16:58 +00:00
Julius Härtl
6a67f84163
Bump bundles
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-07 09:23:32 +02:00
Nextcloud bot
09b9f94c38
[tx-robot] updated from transifex
2020-07-07 02:16:31 +00:00
Roeland Jago Douma
0bcc643d6e
Cleanup share by mail a bit
...
* Moved to ned IBootstrap
* Register everything via the capabilities api (So clients can use it as
well)
- This applies to the enforcing passwords
* Updated the sharing js code to use it
* removed app.php
* removed unused settings now
* typehints
* strict typing
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-06 09:45:08 +02:00
Nextcloud bot
c52e6c8a47
[tx-robot] updated from transifex
2020-07-04 02:16:15 +00:00
Morris Jobke
b6bbc709b2
Merge pull request #21280 from nextcloud/dependabot/npm_and_yarn/nextcloud/router-1.1.0
...
Bump @nextcloud/router from 1.0.2 to 1.1.0
2020-07-03 12:31:35 +02:00
dependabot-preview[bot]
ec151e17c5
Bump @nextcloud/router from 1.0.2 to 1.1.0
...
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases )
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/nextcloud-router/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-03 06:42:35 +00:00
Nextcloud bot
0825530a1b
[tx-robot] updated from transifex
2020-07-03 02:17:12 +00:00
Roeland Jago Douma
1913b1b91f
Merge pull request #21591 from nextcloud/debt/noid/set-path-for-ocm-permissions
...
Pass $path to ocmPermissions2ncPermissions
2020-07-02 21:10:19 +02:00
Joas Schilling
47a21fad8c
Merge pull request #21597 from nextcloud/techdebt/noid/return-value-for-commands
...
Add return value to all commands
2020-07-01 11:52:14 +02:00
Nextcloud bot
d94ef09998
[tx-robot] updated from transifex
2020-06-28 02:16:10 +00: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
Daniel Kesselberg
6b1af4ac8c
Pass $path to ocmPermissions2ncPermissions
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-25 23:42:36 +02:00
Roeland Jago Douma
7d4682da40
Merge pull request #21379 from nextcloud/fix-share-permission-checkboxes-enabled-when-permissions-can-not-be-set
...
Fix share permission checkboxes enabled when permissions can not be set
2020-06-24 21:20:17 +02:00
Joas Schilling
a2f34f46b2
Fix tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-24 18:13:37 +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
Nextcloud bot
ce9d3b36df
[tx-robot] updated from transifex
2020-06-20 02:16:35 +00:00
Nextcloud bot
dd0b9655b2
[tx-robot] updated from transifex
2020-06-19 02:16:27 +00:00
Joas Schilling
b740d283a9
Don't initialize Application directly
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-17 12:18:15 +02:00
Nextcloud bot
d1b03f5adf
[tx-robot] updated from transifex
2020-06-17 02:15:44 +00:00
Nextcloud bot
f04d526681
[tx-robot] updated from transifex
2020-06-14 02:15:50 +00:00
Daniel Calviño Sánchez
3ffb482b4e
Fix share permission checkboxes enabled when permissions can not be set
...
A sharee can reshare a file and set the edit, create, delete and share
permissions of the reshare only if the received share has edit, create,
delete and share permissions, or if they were revoked in the received
share after being set in the reshare. Therefore, the permission
checkboxes in the share menu should be enabled only if the user can set
them (otherwise trying to check them will lead to an error).
Note that "sharePermissions" has all the permissions if the file is not
a reshare but a file owned by the user.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-12 00:05:36 +02:00
Roeland Jago Douma
3000148e27
Merge pull request #21347 from nextcloud/fix/21188/pass_share_permissions_to_api_call
...
Pass the proper share permissions to the create share call
2020-06-10 10:35:48 +02:00
Nextcloud bot
9806dec9b3
[tx-robot] updated from transifex
2020-06-10 02:16:03 +00:00
Roeland Jago Douma
d0525df63c
Pass the proper share permissions to the create share call
...
Fixes #21188
This way we do not run into the share permission issue
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-09 20:59:41 +02:00
Roeland Jago Douma
19712e2773
Merge pull request #21311 from nextcloud/techdebt/noid/make-share-order-reliable
...
Always sort shares in a reliable way
2020-06-09 10:33:41 +02:00
Nextcloud bot
99e14b5ada
[tx-robot] updated from transifex
2020-06-09 02:15:56 +00:00
Joas Schilling
56b04c65f7
Always sort shares in a reliable way
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-08 14:47:15 +02:00
Roeland Jago Douma
c5a2caa0fb
Merge pull request #21278 from nextcloud/dependabot/npm_and_yarn/nextcloud/auth-1.3.0
...
Bump @nextcloud/auth from 1.2.3 to 1.3.0
2020-06-08 08:47:22 +02:00
Nextcloud bot
f51c24a70a
[tx-robot] updated from transifex
2020-06-08 02:15:55 +00:00
dependabot-preview[bot]
807e286f42
Bump @nextcloud/auth from 1.2.3 to 1.3.0
...
Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth ) from 1.2.3 to 1.3.0.
- [Release notes](https://github.com/nextcloud/nextcloud-auth/releases )
- [Changelog](https://github.com/nextcloud/nextcloud-auth/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/nextcloud-auth/compare/v1.2.3...v1.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-07 08:47:37 +00:00
Nextcloud bot
e212908cec
[tx-robot] updated from transifex
2020-06-07 02:15:50 +00:00
Nextcloud bot
4cf4ed3697
[tx-robot] updated from transifex
2020-06-06 02:16:00 +00:00
Christoph Wurst
eaf4724acc
Move humanFileSize and OC.getCanonicalLocale to npm packages
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-05 08:48:49 +02:00
Nextcloud bot
a5232d9805
[tx-robot] updated from transifex
2020-06-05 02:16:34 +00:00
Christoph Wurst
497350a7d3
Merge pull request #20938 from nextcloud/fix/share-talk-verification
...
Fix the Talk verification
2020-06-03 15:47:54 +02:00
Christoph Wurst
111c8c9e0e
Merge pull request #21181 from nextcloud/fix/remote-share-remove-error-handling
...
Do not only catch Exceptions but any Throwable during rmt share delete
2020-06-03 11:11:47 +02:00
Nextcloud bot
f62f23ed1d
[tx-robot] updated from transifex
2020-06-03 02:16:18 +00:00
Christoph Wurst
09a632242d
Do not only catch Exceptions but any Throwable during rmt share delete
...
When a remote share is deleted, we notify the remove instance. This may
trigger various error conditions, which we want to catch in order to
avoid undeletable shares. The try-catch, however, did only capture
exceptions, so things like TypeErrors were not caught and caused the
process to fail hard.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-02 09:21:09 +02:00
Daniel Calviño Sánchez
fdac2ffe24
Restore previous state when failing to change video verification state
...
When video verification can not be enabled or disabled the previous
state is set again in the JavaScript share object. This ensures that the
UI will not reflect a misleading state.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-01 18:50:13 +02:00
Christoph Wurst
5d92a6a7c9
Fix the Talk verification
...
When enabling or disabling Talk verification in mail shares the server
expects also a new password to be set. As we always just update one
property at a time this means the Talk verification was impossible to
activate or deactivate. With this patch, we send the talk option AND the
new password. If there is no new password, the Talk option is disabled
(in mail shares; in link shares it is possible to enable or disable the
video verification without changing the password).
When we finally have descriptive text on ActionCheckbox'es we should
definitely add some explanatory text for the user. Right now this is as
good as it gets.
We'll have to backport to 18.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-01 17:21:42 +02:00
Nextcloud bot
a1bb18a837
[tx-robot] updated from transifex
2020-05-31 02:16:19 +00:00
Roeland Jago Douma
b9e7fd2418
Remove the escape-html global
...
Already announced for 19 that it would go. So now it realy does go.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-29 08:34:10 +00:00
Daniel Calviño Sánchez
37f231333f
Fix reference to wrong class name
...
\OCP\IShare does not exist; the right name is \OCP\Share\IShare,
although it is already imported as IShare.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 01:41:06 +02:00
Nextcloud bot
be7a198762
[tx-robot] updated from transifex
2020-05-24 02:15:55 +00:00
Nextcloud bot
23080fcd9c
[tx-robot] updated from transifex
2020-05-23 02:16:22 +00:00
Nextcloud bot
1b55119c85
[tx-robot] updated from transifex
2020-05-19 02:17:09 +00:00
Morris Jobke
ca276a9d60
Merge pull request #20846 from nextcloud/fix/link_fed_perm
...
Link permissions
2020-05-18 15:45:56 +02:00
Nextcloud bot
a8ac6df1d0
[tx-robot] updated from transifex
2020-05-18 02:16:22 +00:00
Nextcloud bot
a84eec88e8
[tx-robot] updated from transifex
2020-05-16 02:17:14 +00:00
Roeland Jago Douma
91a2d5e012
Merge pull request #20629 from mejo-/files_sharing_preview_text
...
Don't load text file preview when text app is available (Fixes : #20615 )
2020-05-15 19:47:02 +02:00
Julius Härtl
8289565bc7
Fix share update test
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-15 08:19:31 +02:00
Roeland Jago Douma
ef34f72167
Have share permissions on link shares if it is enabled
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-15 08:18:03 +02:00
dependabot-preview[bot]
5550aff634
Bump p-queue from 6.3.0 to 6.4.0
...
Bumps [p-queue](https://github.com/sindresorhus/p-queue ) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/sindresorhus/p-queue/releases )
- [Commits](https://github.com/sindresorhus/p-queue/compare/v6.3.0...v6.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-14 08:43:05 +00:00
Roeland Jago Douma
b8e4992ef1
Merge pull request #20909 from nextcloud/dependabot/npm_and_yarn/babel/core-7.9.6
...
Bump @babel/core from 7.9.0 to 7.9.6
2020-05-14 10:20:58 +02:00
Nextcloud bot
75d50a55b8
[tx-robot] updated from transifex
2020-05-14 02:16:36 +00:00
dependabot-preview[bot]
3d1836ad34
Bump @babel/core from 7.9.0 to 7.9.6
...
Bumps [@babel/core](https://github.com/babel/babel ) from 7.9.0 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-13 18:27:32 +00:00
Nextcloud bot
901110f068
[tx-robot] updated from transifex
2020-05-12 02:16:11 +00:00
Roeland Jago Douma
2ed7c24b0d
Merge pull request #20902 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.2
...
Bump vue-loader from 15.9.1 to 15.9.2
2020-05-11 09:31:37 +02:00
dependabot-preview[bot]
8f8de7f6d0
Bump vue-loader from 15.9.1 to 15.9.2
...
Bumps [vue-loader](https://github.com/vuejs/vue-loader ) from 15.9.1 to 15.9.2.
- [Release notes](https://github.com/vuejs/vue-loader/releases )
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.1...v15.9.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-11 06:56:25 +00:00
Nextcloud bot
90e6b31059
[tx-robot] updated from transifex
2020-05-11 02:16:11 +00:00
Roeland Jago Douma
d730579809
Merge pull request #20849 from nextcloud/version/20
...
20 in development now
2020-05-07 15:31:10 +02:00
Joas Schilling
af1dd9f152
Bump app versions and requirements
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-07 10:29:04 +02:00
Roeland Jago Douma
35a506d50b
Merge pull request #20831 from nextcloud/fix/sidebar-fileinfo-change
...
Do not process the same FileInfo twice
2020-05-07 09:20:15 +02:00
Nextcloud bot
97f36e62f2
[tx-robot] updated from transifex
2020-05-07 02:16:14 +00:00
John Molakvoæ (skjnldsv)
d37c5c3038
Do not process the same FileInfo twice
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-06 19:41:31 +00:00
John Molakvoæ (skjnldsv)
a26ca1e638
Do not filter id matching userId on non-user-share shares
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-05 21:36:46 +02:00
John Molakvoæ (skjnldsv)
edecd0931e
Fix filtering our owner & current user from shares
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-05 10:28:33 +00:00
Nextcloud bot
09d7854d0e
[tx-robot] updated from transifex
2020-05-05 02:16:14 +00:00
John Molakvoæ (skjnldsv)
ff20da637e
Fix federated link sharing permissions
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-04 11:48:11 +00:00
Nextcloud bot
43fefee847
[tx-robot] updated from transifex
2020-05-04 02:16:18 +00:00
Nextcloud bot
d2f165e448
[tx-robot] updated from transifex
2020-05-03 02:16:16 +00:00
Gary Kim
8dd23f9854
Fix expiry datepicker allowing all dates
...
vue2-datepicker expects a `disabled-date` function
rather than `not-before` and `not-after` dates.
This commit updates it so that we now provide
vue2-datepicker with a `disabled-date` function.
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-05-02 18:58:41 +08:00
Nextcloud bot
e77e0b0e2f
[tx-robot] updated from transifex
2020-05-02 02:16:32 +00:00
John Molakvoæ (skjnldsv)
31172a0cd9
Process shares only once, better debug and expiration date code
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-01 13:39:57 +00:00
Nextcloud bot
9f448d864b
[tx-robot] updated from transifex
2020-05-01 02:16:47 +00:00
Roeland Jago Douma
b2b8be83f8
Merge pull request #20538 from nextcloud/fix/20520/share-expire
...
Fix share expiration date not shown
2020-04-30 20:55:05 +02:00
Gary Kim
02b5ded840
Fix share expiration date not shown
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-04-30 22:35:52 +08:00
John Molakvoæ (skjnldsv)
6e79fb60d8
Fix public layout header title & description
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-04-30 13:32:28 +02:00
Nextcloud bot
523a8ba5c3
[tx-robot] updated from transifex
2020-04-30 02:17:11 +00:00
Roeland Jago Douma
d466a7b808
Allow to navigate to others with access from the sidebar
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-29 17:53:35 +00:00
Christoph Wurst
b219eadb8f
Merge pull request #20714 from nextcloud/fix/license-headers-19
...
Update license headers for 19
2020-04-29 14:24:27 +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
dependabot-preview[bot]
08296c04c0
Bump webpack from 4.42.1 to 4.43.0
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.42.1 to 4.43.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.42.1...v4.43.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-29 09:23:51 +00:00
Morris Jobke
1738e17e20
Merge pull request #19793 from nextcloud/bugfix/noid/link-to-federated-reshare
...
Fix resharing of federated shares that were created out of links
2020-04-27 11:05:34 +02:00
Nextcloud bot
e56ffe5992
[tx-robot] updated from transifex
2020-04-27 02:16:13 +00:00
Nextcloud bot
0eeb660679
[tx-robot] updated from transifex
2020-04-26 02:16:12 +00:00
Roeland Jago Douma
4114bce1e5
Merge pull request #17623 from j3l11234/master
...
Add support for download share on old android browser
2020-04-24 16:01:45 +02:00
Jonas Meurer
afeeb1eb1f
Don't load text file preview when text app is available ( Fixes : #20615 )
...
When opening a shared text document, the files_sharing app uses
internal preview support in case no other app to open the text file is
available.
So far, it only checks for the old files_texteditor app, not for the new
new text app. This commit fixes this by checking for both.
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2020-04-24 11:14:21 +02:00
Robin Appelman
7a4ea4a6b6
make php-cs happy
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-23 13:35:30 +02:00
Nextcloud bot
79e3823d72
[tx-robot] updated from transifex
2020-04-23 02:16:54 +00:00
Morris Jobke
f0ad46dec8
Merge pull request #20575 from nextcloud/fix/sharing-suggestions
...
Fix Sharing recommendation user display
2020-04-22 14:56:01 +02:00
Nextcloud bot
ac57bbcf99
[tx-robot] updated from transifex
2020-04-22 02:17:06 +00:00
Roeland Jago Douma
8f650feede
Merge pull request #20114 from nextcloud/techdebt/noid/allow-some-apps-to-have-root-urls
...
Allow some apps to have root URLs in their own routing file
2020-04-21 16:00:34 +02:00
Julius Härtl
5646f7c761
Link shares have reshare permission if outgoing federated shares are enabled
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-21 14:35:29 +02:00
John Molakvoæ (skjnldsv)
7eceba7dae
Fix Sharing recommendation user display
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-21 07:48:10 +00:00
Nextcloud bot
f0c1041d2e
[tx-robot] updated from transifex
2020-04-21 02:16:40 +00:00
Robin Appelman
9735b5d61f
Add method to storage backends to get directory content with metadata
...
Currently you need to use `opendir` and then call `getMetadata` for
every file, which adds overhead because most storage backends already
get the metadata when doing the `opendir`.
While storagebackends can (and do) use caching to relief this problem,
this adds cache invalidation dificulties and only a limited number of
items are generally cached (to prevent memory usage exploding when
scanning large storages)
With this new methods storage backends can use the child metadata they
got from listing the folder to return metadata without having to keep
seperate caches.
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-20 15:45:04 +02:00
Nextcloud bot
e9930aebc7
[tx-robot] updated from transifex
2020-04-19 02:16:10 +00:00
Joas Schilling
1b93d5f1db
PHP CS fixes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
685d7b0637
Directly use the class to get the service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
e45c87cd2e
Fix creating the share controller
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Joas Schilling
3f8168b6e5
Allow some apps to have root URLs in their own routing file
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-18 11:21:28 +02:00
Nextcloud bot
148bdabd58
[tx-robot] updated from transifex
2020-04-18 02:16:28 +00:00
Nextcloud bot
078ac97939
[tx-robot] updated from transifex
2020-04-16 02:17:30 +00:00
Joas Schilling
609b8aff12
Also disallow ; in remote urls
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-14 18:56:06 +02:00
John Molakvoæ (skjnldsv)
47146a1992
Properly display share error messages
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-14 08:39:40 +00:00
Roeland Jago Douma
21d8a2bfc1
Merge pull request #20446 from nextcloud/dependabot/npm_and_yarn/css-loader-3.5.2
...
Bump css-loader from 3.4.1 to 3.5.2
2020-04-13 14:11:00 +02:00
dependabot-preview[bot]
372d6bf23e
Bump css-loader from 3.4.1 to 3.5.2
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 3.4.1 to 3.5.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.4.1...v3.5.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-13 11:13:09 +00:00
Nextcloud bot
6187cea304
[tx-robot] updated from transifex
2020-04-13 02:19:45 +00:00
Valdnet
a50698b3c3
Changing the translation catalog for "Share"
...
Change "files" to "files_sharing".
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-12 02:20:14 +00:00
John Molakvoæ
e5ac5c7f34
Merge pull request #20185 from azul/open-new_tab
...
Modify do_action so default ctrl-click opens tab
2020-04-11 08:23:11 +02:00
John Molakvoæ
b5a30d5cd6
Merge pull request #20426 from nextcloud/techdebt/psr2
...
It is done
2020-04-11 08:21:35 +02:00
John Molakvoæ
97de425a17
Merge pull request #20419 from nextcloud/dependabot/npm_and_yarn/various
...
Bump p-limit from 2.2.2 to 2.3.0, @nextcloud/auth from 1.2.2 to 1.2.3, @babel/preset-env from 7.8.7 to 7.9.5, @nextcloud/event-bus from 1.1.3 to 1.1.4, @nextcloud/password-confirmation from 1.0.0 to 1.0.1, @nextcloud/l10n from 1.2.2 to 1.2.3, @nextcloud/initial-state from 1.1.1 to 1.1.2, core-js from 3.6.4 to 3.6.5 …
2020-04-11 08:18:14 +02:00
Nextcloud bot
de52e1cda7
[tx-robot] updated from transifex
2020-04-11 02:18:37 +00: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
1584c9ae9c
Add visibility to all methods and position of static keyword
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:51:06 +02:00
John Molakvoæ (skjnldsv)
e24818f6bb
Bump core-js from 1.4.1 to 1.5.0
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-10 12:37:20 +00: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
Nextcloud bot
078b12a9b0
[tx-robot] updated from transifex
2020-04-10 02:18:23 +00:00
Christoph Wurst
008e6d7e84
Merge pull request #20391 from nextcloud/refactor/spaces-cleanup
...
Remove all extra whitespace PSR2 does not like
2020-04-09 20:39:37 +02:00
Azul
43f0d2a3b5
Allow opening files for editing in new tabs
...
In a file list files with a default action
have an href that will trigger the action.
This way ctrl-click and middle button click open the default action in a new tab.
In order to achieve this a new param `openfile` was introduced to the files app.
It will make the files app trigger the default action for the file in question.
This also allows linking to file content rather than just the details display.
Introduce fileList.getDefaultActionUrl()
to create a link with that param set.
It's overwritten in the trashbin fileList
so that anchors continue to have `#` as a href.
Fix the link generation for subfolders of public shares:
58a87d0
was the last commit that touched the linkTo function in public.js.
It included the params as arguments to the generateUrl function.
Turns out this completely ignores the dir parameter now.
The inclusion was reverted in other places
so revert it here as well.
Also change `dir` to `path` in the param as that is respected
when following the link.
Add Test for the new link url for files with default action.
Remove test for multiple selects with ctrl-click
as that is not what we are doing anymore.
Signed-off-by: Azul <azul@riseup.net>
2020-04-09 16:41:09 +02:00
Christoph Wurst
64510932b8
Merge pull request #20384 from nextcloud/techdebt/lowercase-keywords
...
Use php keywords in lowercase
2020-04-09 16:25:14 +02:00
Christoph Wurst
f4c09f299d
Make sure there is exactly one newline after imports
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:14:31 +02:00
Christoph Wurst
bcd13296de
Make sure every file ends with an empty newline
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:11:50 +02:00
Christoph Wurst
44577e4345
Remove trailing and in between spaces
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:07:47 +02:00
Christoph Wurst
36b3bc8148
Use php keywords in lowercase
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 14:04:56 +02:00
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +02:00
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
...
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 11:48:10 +02:00
Christoph Wurst
2fbad1ed72
Fix (array) indent style to always use one tab
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 10:16:08 +02:00
Nextcloud bot
b537e9fbc7
[tx-robot] updated from transifex
2020-04-09 02:18:26 +00:00
Christoph Wurst
85e369cddb
Fix multiline comments
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-08 22:24:54 +02:00
Azul
d2728cbdc1
refactor: fileActions.getCurrentDefaultFileAction()
...
fileActions.getCurrentDefaultFileAction() returns the default file action
for the currently selected file.
There were a number of places querying for the mime, type and permissions
of that file first to then query for the default action.
Signed-off-by: Azul <azul@riseup.net>
2020-04-08 18:19:58 +02:00
Nextcloud bot
8146e1988c
[tx-robot] updated from transifex
2020-04-08 02:18:45 +00:00
Nextcloud bot
9895aff4d9
[tx-robot] updated from transifex
2020-04-07 02:18:10 +00:00
dependabot-preview[bot]
52f4feca92
Bump @nextcloud/l10n from 1.1.1 to 1.2.2
...
Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n ) from 1.1.1 to 1.2.2.
- [Release notes](https://github.com/nextcloud/nextcloud-l10n/releases )
- [Changelog](https://github.com/nextcloud/nextcloud-l10n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/nextcloud-l10n/compare/v1.1.1...v1.2.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-06 13:50:12 +00:00
Nextcloud bot
d25885441e
[tx-robot] updated from transifex
2020-04-06 02:18:03 +00:00
Roeland Jago Douma
513dea13cc
Merge pull request #20309 from nextcloud/rakekniven-patch-2
...
l10n: Triple dot to ellipsis.
2020-04-05 13:53:41 +02:00
Nextcloud bot
cac1480bf8
[tx-robot] updated from transifex
2020-04-05 02:18:04 +00:00
rakekniven
531187ce58
l10n: Triple dot to ellipsis.
...
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-04-04 23:09:12 +02:00
Nextcloud bot
3a0b70696c
[tx-robot] updated from transifex
2020-04-04 02:17:51 +00:00
Nextcloud bot
4e8bbc4e34
[tx-robot] updated from transifex
2020-04-03 12:08:12 +00:00
Roeland Jago Douma
475d549ec6
Merge pull request #19913 from nextcloud/bugfix/noid/remove-user-name-from-public-sharing-page
...
Remove user name from public sharing page
2020-04-03 10:33:05 +02:00
Roeland Jago Douma
8306b42ef2
Merge pull request #20217 from nextcloud/dependabot/npm_and_yarn/regenerator-runtime-0.13.5
...
Bump regenerator-runtime from 0.13.3 to 0.13.5
2020-04-03 10:16:52 +02:00
dependabot-preview[bot]
4f8a847f59
Bump regenerator-runtime from 0.13.3 to 0.13.5
...
Bumps [regenerator-runtime](https://github.com/facebook/regenerator ) from 0.13.3 to 0.13.5.
- [Release notes](https://github.com/facebook/regenerator/releases )
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.3...regenerator-runtime@0.13.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-03 06:59:22 +00:00
Roeland Jago Douma
a8452b236b
Merge pull request #20244 from CHRINIMUE/add-progress-bar-to-public-upload
...
Add basic progressbar to public upload page
2020-04-03 08:50:15 +02:00
Joas Schilling
1c4422ca3d
Add a test and fix the existing ones
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-01 17:15:59 +02:00
Joas Schilling
f878ea9606
Remove user name from public sharing page
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-01 17:14:38 +02:00