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
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
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
42625a46be
Remove spaces after method or function call
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:05: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
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
Joas Schilling
3ea37d0d10
Show the displayname instead of the user id
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-08 16:09:03 +02:00
Joas Schilling
f8a5812f98
Try to use the display name of file transfers
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-08 15:41:20 +02:00
Christoph Wurst
8119e0b18e
Inline usages of OCP.Toast in bundled files
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-06 17:19:57 +02:00
Christoph Wurst
01a70e5d0f
Use external Toast implementation and deprecate the OCP API
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-06 17:00:58 +02: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
Nextcloud bot
cac1480bf8
[tx-robot] updated from transifex
2020-04-05 02:18:04 +00:00
Nextcloud bot
4e8bbc4e34
[tx-robot] updated from transifex
2020-04-03 12:08:12 +00: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
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
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
Nextcloud bot
186d5ff5ed
[tx-robot] updated from transifex
2020-03-31 02:19:03 +00: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
szaimen
1096c56509
Fix "Use this address..." String
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2020-03-26 17:43:13 +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
6af1ed8cb3
Update eslint and switch to @nextcloud packages
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 11:53:59 +01:00
Nextcloud bot
e4d85fa284
[tx-robot] updated from transifex
2020-03-25 02:18:27 +00:00
dependabot-preview[bot]
ef129d6b80
Bump @nextcloud/paths from 1.1.0 to 1.1.1
...
Bumps @nextcloud/paths from 1.1.0 to 1.1.1.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-23 20:33:19 +00: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
Gary Kim
98eeb57a04
Add OCA.Files.Settings for Files Settings
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-03-22 22:34:49 +08: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
Nextcloud bot
3fa63f2842
[tx-robot] updated from transifex
2020-03-20 02:18:21 +00: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
4a21ce27ff
[tx-robot] updated from transifex
2020-03-19 02:20:00 +00:00
Roeland Jago Douma
11341e6c24
Merge pull request #19987 from nextcloud/bugfix/noid/disable-storage-stats-without-session_keepalive
...
Only do regular polling of storage statistics if session_keepalive is enabled
2020-03-17 15:06:47 +01:00
Nextcloud bot
82d4bdd770
[tx-robot] updated from transifex
2020-03-17 02:18:42 +00:00
Julius Härtl
d851d2e08b
Only do regular polling of storage statistics if session_keepalive is enabled
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-16 15:59:41 +01:00
Nextcloud bot
f85747f74c
[tx-robot] updated from transifex
2020-03-16 02:21:10 +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
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
John Molakvoæ (skjnldsv)
3cdadeb9e9
Use dispatchTyped
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-03-11 09:28:27 +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
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
Nextcloud bot
4066cb0a21
[tx-robot] updated from transifex
2020-03-11 02:19:03 +00: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
85153e8923
Fix unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-10 19:36:57 +01: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
Roeland Jago Douma
05c6086be6
Merge pull request #19698 from nextcloud/fix/fix_image_preview_deleted_shares
...
Fix default action for deleted shares
2020-03-10 15:52:48 +01:00
Roeland Jago Douma
812f16880b
Merge pull request #19871 from nextcloud/bugfix/14469/combine-move-activities
...
Combine move activities as well
2020-03-10 10:36:17 +01:00
Joas Schilling
38292753ac
Combine move activities as well
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-10 09:32:52 +01:00
Nextcloud bot
acbe08cd40
[tx-robot] updated from transifex
2020-03-10 02:18:13 +00: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
Christoph Wurst
bb1d8b3189
Remove deprecated global variables
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-09 13:31:50 +01:00
rakekniven
43f74894bc
l10n: Fixed typo
...
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-09 08:44:12 +00:00
Nextcloud bot
4a019ab04c
[tx-robot] updated from transifex
2020-03-09 02:18:09 +00:00
dependabot-preview[bot]
923b9127d4
Bump clipboard from 2.0.4 to 2.0.6
...
Bumps [clipboard](https://github.com/zenorocha/clipboard.js ) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases )
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.4...v2.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-08 13:19:24 +00:00
dependabot-preview[bot]
98f5f68320
Bump webpack from 4.41.6 to 4.42.0
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.41.6 to 4.42.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.41.6...v4.42.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-08 09:59:27 +00:00
Nextcloud bot
23b59cf8f7
[tx-robot] updated from transifex
2020-03-08 02:18:28 +00:00
Nextcloud bot
35ccf07ad4
[tx-robot] updated from transifex
2020-03-07 02:17:55 +00:00
John Molakvoæ
ed81337461
Merge pull request #19440 from nextcloud/fix/filename_popovermenu_misalignment
...
Fix filename and popover menu misalignment
2020-03-06 08:03:13 +01:00
Nextcloud bot
a036ca6018
[tx-robot] updated from transifex
2020-03-06 02:18:23 +00:00
Nextcloud bot
48b374f683
[tx-robot] updated from transifex
2020-03-05 02:18:19 +00:00
Roeland Jago Douma
65b75c8bba
Merge pull request #19764 from nextcloud/fix/transfer-ownerhip-owner-check
...
Do not allow transfer ownership when the user isn't the owner
2020-03-03 20:20:43 +01:00
Christoph Wurst
68b764bb0f
Do not allow transfer ownership when the user isn't the owner
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-03 14:48:45 +01:00
Daniel Kesselberg
c0009bdf6a
Fetch translate for Tags from files app
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-03 10:29:21 +00:00
dependabot-preview[bot]
30d6ba7201
Bump @babel/preset-env from 7.8.3 to 7.8.6
...
Bumps [@babel/preset-env](https://github.com/babel/babel ) from 7.8.3 to 7.8.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.8.3...v7.8.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-29 10:38:28 +00:00
Joas Schilling
e05362959f
Copy isFileNameValid function, so the filepicker works without the files app
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 12:01:14 +01:00
Joas Schilling
2e4ba613ef
Merge pull request #19619 from nextcloud/bugfix/19618/theme-dragndrop-hover-color
...
Fix hover state color of drag-n-drop with theming and dark mode
2020-02-25 08:42:51 +01:00
Julius Härtl
1e8048abee
Make sure that the transfer entry is present in the database
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-24 15:01:39 +01:00
Joas Schilling
a4fbdb95b1
Fix hover state color of drag-n-drop with theming and dark mode
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-24 14:22:03 +01:00
dependabot-preview[bot]
f9177222c0
Bump vue-loader from 15.8.3 to 15.9.0
...
Bumps [vue-loader](https://github.com/vuejs/vue-loader ) from 15.8.3 to 15.9.0.
- [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.8.3...v15.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-23 16:12:42 +00:00
Nextcloud bot
9d122c39ab
[tx-robot] updated from transifex
2020-02-23 02:19:29 +00:00
Christoph Wurst
989076dc3a
Update webpack bundles
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-22 19:41:12 +00:00
Nextcloud bot
d3f2bda90c
[tx-robot] updated from transifex
2020-02-22 02:18:42 +00:00
Christoph Wurst
dd9d4696f2
Merge pull request #19412 from nextcloud/fix/19404/make-favorite-public
...
Make TAG_FAVORITE public
2020-02-21 17:47:53 +01:00
Nextcloud bot
da79162c3d
[tx-robot] updated from transifex
2020-02-21 02:19:10 +00:00
Nextcloud bot
6c12d16def
[tx-robot] updated from transifex
2020-02-20 02:18:42 +00:00
Nextcloud bot
eb28572f9b
[tx-robot] updated from transifex
2020-02-19 02:18:14 +00:00
Nextcloud bot
a1fc233fcb
[tx-robot] updated from transifex
2020-02-18 02:18:23 +00:00
Nextcloud bot
bdab337313
[tx-robot] updated from transifex
2020-02-15 02:18:10 +00:00
Nextcloud bot
8a841fc331
[tx-robot] updated from transifex
2020-02-14 02:18:09 +00:00
Nextcloud bot
c34570faf8
[tx-robot] updated from transifex
2020-02-13 02:19:26 +00:00
GretaD
372bd505f8
Fix filename and popover menu misalignment
...
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-02-12 17:31:51 +01:00