Julius Härtl
c20321e7e0
Add tests for encoded group id
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
6 years ago
Julius Härtl
5252836f44
Make sure the group id parameter gets properly encoded when used in URLs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years ago
Julius Härtl
e7249de145
Make the groupId url encoded
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years ago
Nextcloud bot
de52e1cda7
[tx-robot] updated from transifex
6 years ago
Thomas Citharel
18e8af4bb8
Fix password reset saying Admin changed my password when reset from
login page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
6 years ago
Christoph Wurst
734c62bee0
Format code according to PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
28f8eb5dba
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
1584c9ae9c
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
a7c8d26d31
Add visibility to all properties and move static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
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>
6 years ago
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>
6 years ago
Roeland Jago Douma
75836f004d
Show setup check for recommended php modules
Fixes #20393
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Christoph Wurst
a0e94e6670
Use utf8 encoding everywhere
PSR2 likes that and so do I
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Nextcloud bot
078b12a9b0
[tx-robot] updated from transifex
6 years ago
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>
6 years ago
Christoph Wurst
3a415e4139
Remove space between switch case and colon
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
f4c09f299d
Make sure there is exactly one newline after imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
bcd13296de
Make sure every file ends with an empty newline
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
a8a06a82d2
Remove trailing whitespaces from comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
42625a46be
Remove spaces after method or function call
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
709584b853
Do not use closing tags
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
36b3bc8148
Use php keywords in lowercase
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
2a529e453a
Use a blank line after the opening tag
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
2fbad1ed72
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Nextcloud bot
b537e9fbc7
[tx-robot] updated from transifex
6 years ago
Christoph Wurst
85e369cddb
Fix multiline comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
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>
6 years ago
Robin Appelman
2340f4f2d5
update icewind/smb to 3.2.3
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years ago
Joas Schilling
3ea37d0d10
Show the displayname instead of the user id
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
f8a5812f98
Try to use the display name of file transfers
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
dependabot-preview[bot]
32209c0d92
Bump handlebars from 4.7.4 to 4.7.6
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.7.4 to 4.7.6.
- [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.7.4...v4.7.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
6 years ago
John Molakvoæ (skjnldsv)
05821ab243
Clear comment on successful post
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
6 years ago
Nextcloud bot
8146e1988c
[tx-robot] updated from transifex
6 years ago
Nextcloud bot
9895aff4d9
[tx-robot] updated from transifex
6 years ago
Christoph Wurst
8119e0b18e
Inline usages of OCP.Toast in bundled files
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
01a70e5d0f
Use external Toast implementation and deprecate the OCP API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
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>
6 years ago
Nextcloud bot
d25885441e
[tx-robot] updated from transifex
6 years ago
npmbuildbot[bot]
922221bbb3
Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
6 years ago
Nextcloud bot
cac1480bf8
[tx-robot] updated from transifex
6 years ago
rakekniven
531187ce58
l10n: Triple dot to ellipsis.
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
6 years ago
rakekniven
a4dc7f772b
l10n: Changed spelling of WebAuthn
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
6 years ago
rakekniven
e5b3ee615e
l10n: Changed spelling of WebAuthn
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
6 years ago
rakekniven
ee83fc0d2b
l10n: Changed spelling of WebAuthn
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
6 years ago
Nextcloud bot
3a0b70696c
[tx-robot] updated from transifex
6 years ago
Julius Härtl
fba7bcfcc4
Catch NoUserException when running the upload cleanup as cronjob
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years ago