Robin Appelman
b2fb4d898a
dont stop expiring versions if we cant check if the source file still exists
instead continue assuming it still exists
Signed-off-by: Robin Appelman <robin@icewind.nl>
преди 3 години
Joas Schilling
9de00f3d24
This is 22
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 3 години
Nextcloud bot
fcbe4c5be5
[tx-robot] updated from transifex
преди 3 години
Christoph Wurst
299f37c5d9
Update all composer autoloader files
The format changed between 2.0.8 and 2.0.9.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 3 години
Nextcloud bot
b98860eeb3
[tx-robot] updated from transifex
преди 3 години
Morris Jobke
d84e1f1951
Re-use fetched dependencies in lib/base.php
Reduces calls to DI container by reusing already fetched dependencies.
For status.php it went from 355 to 344.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 3 години
Nextcloud bot
acf9aa19da
[tx-robot] updated from transifex
преди 3 години
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 3 години
Roeland Jago Douma
b7dd2074ab
FIX
the assertAttributeEquals got removed.
So we can't run these tests anymore.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
преди 3 години
Robin Appelman
7956cef622
rebuild autoloader scripts with 2.0.7
Signed-off-by: Robin Appelman <robin@icewind.nl>
преди 3 години
Christoph Wurst
12d1c27b7f
Catch storage not available in versions expire command
External storage with session credentials is not accessible without a
user session, hence background jobs and CLI commands can't work with
them. The previously unhandled exception causes logged errors in the
nextcloud log. This patch catches the specific exception and logs it as
warnings. So for a production instance the error won't spam their logs
for this non-recoverable and technically unsolvable error if the minimum
log level is set to the default of 3 (error).
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 3 години
dependabot-preview[bot]
bc5b58cb29
Bump css-loader from 3.6.0 to 5.0.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 3.6.0 to 5.0.1.
- [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.6.0...v5.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
преди 3 години
Morris Jobke
6ce05bc7d7
Return all keys in getAllVersions() instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 3 години
Christoph Wurst
02fa3253fe
Fix undefined index and consequential damages in versions code
If the user has no space and there are no versions, there won't be an
`all` index in the versions entry. Hence this triggers a warning and
becomes `null`, afterwards `count`, `foreach` and friends will happily
throw even more warnings and errors because they don't want to play with
`null`. Thus adding a fallback to an empty array.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 3 години
Morris Jobke
f2d05eacc6
VersioningTest:729 is unreliable and should be disabled
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 3 години
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 3 години
Roeland Jago Douma
fe30bfd232
Update autloader
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
преди 3 години
Joas Schilling
48761481eb
Bump versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 3 години
Morris Jobke
f6c729a96c
Update .l10nignore for apps to exclude bundled JS files
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 3 години
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 3 години
Nextcloud bot
3a39f2ae91
[tx-robot] updated from transifex
преди 3 години
Morris Jobke
234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 3 години
John Molakvoæ (skjnldsv)
a384b4a97a
Bump @nextcloud/eslint-config and peers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
преди 3 години
John Molakvoæ (skjnldsv)
0f8aca9d87
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
преди 3 години
Nextcloud bot
3e994c6ba0
[tx-robot] updated from transifex
преди 3 години
Christoph Wurst
3b0478773a
Migrate files versions to the PSR container
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Nextcloud bot
26d018c515
[tx-robot] updated from transifex
преди 4 години
npmbuildbot[bot]
6d2f9b3dd5
Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
преди 4 години
Morris Jobke
29ffaa5676
Move files_versions to bootstrap mechanism
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 4 години
Julius Härtl
6a67f84163
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
преди 4 години
Nextcloud bot
0825530a1b
[tx-robot] updated from transifex
преди 4 години
Joas Schilling
3e0cfa6c32
Add missing return
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 4 години
Joas Schilling
d7c0b9cced
Also always return in app commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 4 години
Joas Schilling
a2f34f46b2
Fix tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 4 години
Joas Schilling
89ed2c37bf
Update share type constant usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 4 години
Nextcloud bot
0f4de3d353
[tx-robot] updated from transifex
преди 4 години
Nextcloud bot
d870e9ece5
[tx-robot] updated from transifex
преди 4 години
Joas Schilling
af1dd9f152
Bump app versions and requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 4 години
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
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>
преди 4 години
Joas Schilling
708b4991d9
Fix legacy routes
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 4 години
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>
преди 4 години
Liam JACK
b6c76f43a1
Fix #19066 - Array offset error due to empty file versions array
Signed-off-by: Liam JACK <liamjack@users.noreply.github.com>
преди 4 години
Christoph Wurst
28f8eb5dba
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Christoph Wurst
1584c9ae9c
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
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>
преди 4 години
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Christoph Wurst
bcd13296de
Make sure every file ends with an empty newline
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Christoph Wurst
a8a06a82d2
Remove trailing whitespaces from comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Christoph Wurst
44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години