Nextcloud bot
2c7b88454d
[tx-robot] updated from transifex
2020-09-24 02:17:59 +00:00
Nextcloud bot
dcceb1360f
[tx-robot] updated from transifex
2020-09-22 02:17:57 +00:00
Robin Appelman
f140e3a03a
only get the permissions from the share source if it's not already cached
...
this prevents having to setup the share source when doing metadata stuff on the share root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-16 17:29:02 +00:00
Nextcloud bot
c1a7a026f6
[tx-robot] updated from transifex
2020-09-16 02:17:02 +00:00
Julius Härtl
57eef41da0
Do not fail if share for mountpoint is no longer available
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-08 09:14:45 +02:00
Nextcloud bot
fba73a5c39
[tx-robot] updated from transifex
2020-08-28 02:16:32 +00:00
Nextcloud bot
348525426c
[tx-robot] updated from transifex
2020-08-27 02:16:52 +00:00
Nextcloud bot
d3efe74f12
[tx-robot] updated from transifex
2020-08-26 02:16:39 +00:00
Roeland Jago Douma
5cf3c27a03
Merge pull request #22400 from nextcloud/backport/22394/stable19
...
[stable19] Fix missing FN from federated contact
2020-08-25 09:38:44 +02:00
Nextcloud bot
1277b89a0c
[tx-robot] updated from transifex
2020-08-25 02:17:52 +00:00
John Molakvoæ (skjnldsv)
060672734b
Fix missing FN from federated contact
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-24 16:07:25 +00:00
Roeland Jago Douma
b3a32f1887
Merge pull request #22337 from nextcloud/backport/22322/stable19
...
[stable19] Only copy the link when updating a share or no password was forced
2020-08-24 12:20:00 +02:00
Joas Schilling
2215cbc352
Only copy the link when updating a share or no password was forced
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-24 08:49:01 +00:00
Nextcloud bot
14927afaf7
[tx-robot] updated from transifex
2020-08-24 02:16:55 +00:00
Nextcloud bot
3b85a547df
[tx-robot] updated from transifex
2020-08-22 02:16:39 +00:00
Nextcloud bot
8b5c9a820d
[tx-robot] updated from transifex
2020-08-21 02:16:55 +00:00
Nextcloud bot
fd9ebeefa2
[tx-robot] updated from transifex
2020-08-19 02:17:21 +00:00
Nextcloud bot
6bcb656c5d
[tx-robot] updated from transifex
2020-08-18 02:17:38 +00:00
Nextcloud bot
cb4c197555
[tx-robot] updated from transifex
2020-08-14 02:32:09 +00:00
Nextcloud bot
659fb3cf06
[tx-robot] updated from transifex
2020-08-12 02:16:59 +00:00
Nextcloud bot
df92a97f5b
[tx-robot] updated from transifex
2020-08-11 02:17:07 +00:00
Nextcloud bot
dd60e3282d
[tx-robot] updated from transifex
2020-08-06 02:17:22 +00:00
Nextcloud bot
789db73ca5
[tx-robot] updated from transifex
2020-08-04 02:16:40 +00:00
Nextcloud bot
9d56c5142b
[tx-robot] updated from transifex
2020-08-01 02:17:12 +00:00
Nextcloud bot
73132b56d4
[tx-robot] updated from transifex
2020-07-29 02:17:02 +00:00
Nextcloud bot
d44a545a32
[tx-robot] updated from transifex
2020-07-28 02:16:48 +00:00
Nextcloud bot
4ceda884ac
[tx-robot] updated from transifex
2020-07-27 02:16:42 +00:00
Nextcloud bot
a05efb5217
[tx-robot] updated from transifex
2020-07-24 02:17:02 +00:00
Joas Schilling
c0317e95e0
Improve error reporting on sharing errors
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-23 19:14:26 +00:00
npmbuildbot[bot]
9ba82fe435
Compile assets
...
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-23 13:07:03 +00:00
Roeland Jago Douma
3811a5ebad
Respect default share permissions
...
Else we'll always create new shares with the max permissions.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-07-23 08:55:55 +00:00
Nextcloud bot
7246ffff9b
[tx-robot] updated from transifex
2020-07-23 02:17:13 +00:00
Nextcloud bot
0a90eeb62c
[tx-robot] updated from transifex
2020-07-21 02:17:16 +00:00
Nextcloud bot
ec69ab4ed4
[tx-robot] updated from transifex
2020-07-19 02:17:16 +00:00
Nextcloud bot
e56d52fbc0
[tx-robot] updated from transifex
2020-07-18 02:17:08 +00:00
Nextcloud bot
1822eec68f
[tx-robot] updated from transifex
2020-07-16 02:19:41 +00:00
Morris Jobke
c50e13c30e
Merge pull request #21834 from nextcloud/backport/21832/stable19
...
[stable19] Build source maps on production build again
2020-07-15 12:56:00 +02:00
Nextcloud bot
49562ba840
[tx-robot] updated from transifex
2020-07-15 02:19:49 +00:00
Julius Härtl
e16b221cf3
Build source maps on production build again
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-14 13:47:20 +00:00
Nextcloud bot
46b2469329
[tx-robot] updated from transifex
2020-07-14 02:17:30 +00:00
Nextcloud bot
6c8cc35b28
[tx-robot] updated from transifex
2020-07-10 02:17:02 +00:00
Robin Appelman
379cfdda3c
better cleanup in share tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-07-09 12:33:20 +00:00
Nextcloud bot
667ca8dcb0
[tx-robot] updated from transifex
2020-07-08 02:17:07 +00:00
Julius Härtl
1e930441c4
Do not quote properties when optimizing bundles
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-07 07:55:51 +00:00
Nextcloud bot
882c0c1b26
[tx-robot] updated from transifex
2020-07-07 02:16:41 +00:00
Morris Jobke
62f71a04d2
Merge pull request #21574 from nextcloud/backport/21379/stable19
...
[stable19] Fix share permission checkboxes enabled when permissions can not be set
2020-07-06 22:59:53 +02:00
Nextcloud bot
4e21bc608c
[tx-robot] updated from transifex
2020-07-04 02:16:25 +00:00
Nextcloud bot
a5b279a488
[tx-robot] updated from transifex
2020-07-03 02:17:21 +00:00
Daniel Calviño Sánchez
87be93126f
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>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-29 20:16:03 +00:00
Nextcloud bot
b2a6b874c4
[tx-robot] updated from transifex
2020-06-28 02:16:19 +00:00
Nextcloud bot
b9c7865045
[tx-robot] updated from transifex
2020-06-20 02:16:46 +00:00
Nextcloud bot
e5b468fb1a
[tx-robot] updated from transifex
2020-06-19 02:16:37 +00:00
Nextcloud bot
556bc6aed3
[tx-robot] updated from transifex
2020-06-17 02:15:53 +00:00
Nextcloud bot
3bc6265896
[tx-robot] updated from transifex
2020-06-14 02:16:01 +00:00
Roeland Jago Douma
778f8e87f3
Merge pull request #21354 from nextcloud/backport/21347/stable19
...
[stable19] Pass the proper share permissions to the create share call
2020-06-11 13:45:21 +02:00
Roeland Jago Douma
009432dee0
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>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-10 08:55:37 +00:00
Joas Schilling
c63039bb83
Always sort shares in a reliable way
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-10 06:55:29 +00:00
Nextcloud bot
f40f7abbaf
[tx-robot] updated from transifex
2020-06-10 02:16:16 +00:00
Nextcloud bot
d753435452
[tx-robot] updated from transifex
2020-06-09 02:16:05 +00:00
Nextcloud bot
27549f6729
[tx-robot] updated from transifex
2020-06-08 02:16:05 +00:00
Nextcloud bot
5795271cef
[tx-robot] updated from transifex
2020-06-07 02:15:59 +00:00
Roeland Jago Douma
513446cafb
Merge pull request #21210 from nextcloud/backport/20938/stable19
...
[stable19] Fix the Talk verification
2020-06-06 09:31:16 +02:00
Nextcloud bot
bcc63c0c2b
[tx-robot] updated from transifex
2020-06-06 02:16:09 +00:00
Nextcloud bot
dfe70692d7
[tx-robot] updated from transifex
2020-06-05 02:16:44 +00:00
Daniel Calviño Sánchez
01ccbe68ff
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>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-03 14:08:17 +00:00
Christoph Wurst
c423a50938
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-03 13:51:42 +00:00
Christoph Wurst
25dd585251
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-03 09:13:47 +00:00
Daniel Calviño Sánchez
e9ccb802e8
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 06:48:00 +00:00
Morris Jobke
138eddc0f1
Merge pull request #21028 from nextcloud/backport/20629/stable19
...
[stable19] Don't load text file preview when text app is available (Fixes : #20615 )
2020-05-20 13:54:17 +02:00
Julius Härtl
dd15780edd
Fix share update test
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-18 13:47:39 +00:00
Roeland Jago Douma
aac0dd1f20
Have share permissions on link shares if it is enabled
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-18 13:47:38 +00:00
Jonas Meurer
be37ca1776
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-05-18 08:59:53 +00:00
John Molakvoæ (skjnldsv)
90a65f83e0
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-08 05:39:53 +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
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
Christopher Mueller
49291b905a
fix wrong indentation
...
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
2020-03-31 18:09:24 +00:00
Christopher Mueller
79320200cc
add translation strings & add margin to uploaded files-list
...
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
2020-03-31 17:47:22 +00:00
Christopher Mueller
0c14c9d7ea
add progressbar for every element & better design
...
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
2020-03-31 14:21:28 +00:00
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31 14:52:54 +02:00
Christopher Mueller
b69d76feee
Add basic progressbar to public upload page
...
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
2020-03-31 10:56:59 +00:00
Christoph Wurst
5a0856c4ab
Merge pull request #20219 from nextcloud/dependabot/npm_and_yarn/webpack-4.42.1
...
Bump webpack from 4.42.0 to 4.42.1
2020-03-31 09:36:26 +02:00
dependabot-preview[bot]
548f9dcbb3
Bump webpack from 4.42.0 to 4.42.1
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.42.0 to 4.42.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.42.0...v4.42.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-30 07:49:32 +00:00
Nextcloud bot
9e8ac1d24a
[tx-robot] updated from transifex
2020-03-30 02:18:34 +00:00
Nextcloud bot
89710bbdcf
[tx-robot] updated from transifex
2020-03-29 02:20:14 +00:00
Nextcloud bot
df463f90be
[tx-robot] updated from transifex
2020-03-28 02:18:15 +00:00
Christoph Wurst
463b388589
Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports
...
Remove unused imports
2020-03-27 17:14:08 +01:00
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26 16:34:56 +01:00
Christoph Wurst
2ee65f177e
Use the shorter phpunit syntax for mocked return values
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:21:27 +01:00
Christoph Wurst
74936c49ea
Remove unused imports
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 22:08:08 +01:00
Christoph Wurst
37786c4d74
Convert share event to an interaction event
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 16:16:45 +01:00
Roeland Jago Douma
e6ec084a58
Auto accept group shares for users added to a group
...
In case auto accepting is enabled (the default). Users that are newly
added to a group should not have to accept those shares.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-25 08:51:27 +01:00
John Molakvoæ
0b4c39d656
Merge pull request #20093 from nextcloud/dependabot/npm_and_yarn/nextcloud/logger-1.1.2
...
Bump @nextcloud/logger from 1.1.1 to 1.1.2, @nextcloud/router from 1.0.0 to 1.0.2, @nextcloud/axios from 1.3.1 to 1.3.2 and @babel/core from 7.8.7 to 7.9.0
2020-03-23 10:05:43 +01:00
dependabot-preview[bot]
3bd05a8c34
Bump @nextcloud/logger from 1.1.1 to 1.1.2, @nextcloud/router from 1.0.0 to 1.0.2, @nextcloud/axios from 1.3.1 to 1.3.2 and @babel/core from 7.8.7 to 7.9.0
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-23 09:30:04 +01:00
Nextcloud bot
be4cf8992d
[tx-robot] updated from transifex
2020-03-23 02:19:02 +00:00
John Molakvoæ (skjnldsv)
c3730c0fa0
Bump marked from 0.7.0 to 0.8.1
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-21 10:54:48 +01:00
Roeland Jago Douma
98422b2689
Merge pull request #20062 from nextcloud/dependabot/npm_and_yarn/nextcloud/initial-state-1.1.1
...
Bump @nextcloud/initial-state from 1.1.0 to 1.1.1
2020-03-21 08:19:39 +01:00
dependabot-preview[bot]
e1c9a8d031
Bump @nextcloud/initial-state from 1.1.0 to 1.1.1
...
Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases )
- [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.1.0...v1.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-21 04:28:19 +00:00
Nextcloud bot
59442d30f5
[tx-robot] updated from transifex
2020-03-21 02:19:03 +00:00
Julius Härtl
87393a760e
Remove unused properties in ShareesAPIController
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-20 10:43:56 +01:00
Roeland Jago Douma
010b075c2f
Merge pull request #20032 from nextcloud/bugfix/19878/allow-video-player-on-hide-download
...
Allow the video player on the hide download
2020-03-20 08:45:15 +01:00
Nextcloud bot
3fa63f2842
[tx-robot] updated from transifex
2020-03-20 02:18:21 +00:00
Joas Schilling
6edb93fc4a
Allow the video player on the hide download
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-19 15:14:00 +01:00
Christoph Wurst
150f39ed50
Update autoloaders for composer v1.10.1
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-19 09:48:49 +01:00
Nextcloud bot
82d4bdd770
[tx-robot] updated from transifex
2020-03-17 02:18:42 +00:00
Nextcloud bot
0d6c8a3476
[tx-robot] updated from transifex
2020-03-15 02:19:16 +00:00
Nextcloud bot
fa571bb7ed
[tx-robot] updated from transifex
2020-03-14 02:18:04 +00:00
Joas Schilling
8db32805be
Fix willReturnOnConsecutiveCalls
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-13 11:11:00 +01:00
Joas Schilling
3930ab8e8a
Don't allow anchors and queries in remote urls
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-12 13:44:48 +01:00
John Molakvoæ
9fda1ee39f
Merge pull request #19777 from nextcloud/fix/viewer-public
...
Properly emit Viewer event on files and files_sharing
2020-03-12 08:47:14 +01:00
Nextcloud bot
99aa7adaef
[tx-robot] updated from transifex
2020-03-12 02:19:02 +00:00
Joas Schilling
24d0fb9fcd
Merge pull request #19861 from nextcloud/bugfix/noid/load-remote-shares-also-when-one-is-down
...
Don't break when one remote share is down
2020-03-11 09:36:57 +01:00
John Molakvoæ (skjnldsv)
92a6530c0f
Properly emit Viewer event on files and files_sharing
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-11 09:28:27 +01:00
John Molakvoæ (skjnldsv)
6c968fe77d
Fix import order and formatting
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-11 09:27:20 +01:00
Roeland Jago Douma
56c5a167c9
Merge pull request #19839 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-1.4.0
...
Bump @nextcloud/vue from 1.3.1 to 1.4.0
2020-03-11 07:43:47 +01:00
Roeland Jago Douma
d3d2db174a
Merge pull request #19173 from nextcloud/bugfix/noid/fix-displayname-of-contacts-in-remote-activities
...
Use contacts name on federated activities
2020-03-10 20:30:52 +01:00
dependabot-preview[bot]
c97ba2a1e6
Bump @nextcloud/vue from 1.3.1 to 1.4.0
...
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases )
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v1.3.1...v1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-10 18:55:16 +00:00
Joas Schilling
f4918f208e
Unify the code a bit
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-10 19:36:57 +01:00
Joas Schilling
bbef026aa0
Use contacts name on federated activities
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-10 19:36:56 +01:00
GretaD
b201121e62
Fix default action for deleted shares
...
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-09 20:16:38 +00:00
Joas Schilling
886293fdcc
Don't break when one remote share is down
...
getFileInfo can also return false
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-09 17:00:31 +01:00