Commit Graph

55986 Commits

Author SHA1 Message Date
Julius Härtl e9af7b84f9
Merge pull request #23737 from nextcloud/fix-gif-login-image
Fix GIF being converted when used as a login image
2020-11-03 10:31:42 +01:00
Morris Jobke 1c05c9f4f2
Merge pull request #23842 from nextcloud/bugfix/noid/emptystatusmessage
UserStatus: clear status message if message is null
2020-11-03 10:28:33 +01:00
Morris Jobke 9435ec2b4e
Remove unneeded service - found by Psalm
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 10:06:33 +01:00
Morris Jobke 1c496a5a35
Add a background job that checks for potential user imported SSL certificates and shows a warning in the admin settings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 10:06:33 +01:00
Roeland Jago Douma e25a7137cc
Cleanup route registration logic
This was a bunch of cylic things being called.
This is an attempt to clean this all up. If an app provides an array of
routes. We just parse them and hand them back.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-03 09:39:49 +01:00
Roeland Jago Douma 9d559d282e
Merge pull request #23854 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-11-03 08:58:17 +01:00
Nextcloud-PR-Bot 4bbd6ceefd Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-11-03 04:23:30 +00:00
Nextcloud bot a6719390e2
[tx-robot] updated from transifex 2020-11-03 02:19:16 +00:00
Roeland Jago Douma 54b9f639a6
Always return the default path if we can
Just check in the certifcate manager. So every part of the system that
request the certificatebundle gets the defaullt one (the 99% case) if we
can.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-03 00:13:01 +01:00
Morris Jobke dc479aae2d
Improve CertificateManager to not be user context dependent
* removes the ability for users to import their own certificates (for external storage)
* reliably returns the same certificate bundles system wide (and not depending on the user context and available sessions)

The user specific certificates were broken in some cases anyways, as they are only loaded if the specific user is logged in and thus causing unexpected behavior for background jobs and other non-user triggered code paths.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 00:13:01 +01:00
Jacob Neplokh ef8822d3c7
Add gif to if-statement to not convert
- SVGs are already there, so I just added it alongside it (as recommended by https://github.com/nextcloud/server/issues/16232#issuecomment-679920284)

Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
2020-11-02 13:52:49 -08:00
Roeland Jago Douma 65375320fb
Merge pull request #23841 from nextcloud/filepicker-empty-list
ensure filepicker list is empty before populating
2020-11-02 20:23:28 +01:00
Morris Jobke 2d67cb9510
Merge pull request #23839 from nextcloud/fix/noid/avatar-status
No need to check if there is an avatar available, because it is gener…
2020-11-02 19:07:57 +01:00
blizzz 1a3daa6ff9
Merge pull request #23799 from nextcloud/fix/noid/ldap-update-groups-null
LDAP: fix null where IUser is expected in update groups background job
2020-11-02 18:14:01 +01:00
Simon Spannagel ad58d13814 UserStatus: no message means clear status message. This fixes #23332
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2020-11-02 17:59:44 +01:00
Vincent Petry f2de58db8c
Work around snap.js state mess
Snap.js is not robust enough to prevent multiple calls to open() or
close(), so we added more checks to prevent these happening even when an
animation is in progress.

Because if we let this through, snap.js will not notice that the
animation is already done (or a duplicate animation was started),
so the "transitionend" event will not fire a second time.

During an animation, snap.js sets up a setInterval() that hogs the CPU
during the animation. Since a transition doesn't always end due to the
above conditions, that CPU hogging would stay forever.

This is the best workaround so far, it seems it's not possible to cancel
that interval from the outside nor to trigger events to make it do so.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-02 17:31:18 +01:00
Roeland Jago Douma 9d5362dd8e
Merge pull request #23838 from nextcloud/enh/localecache/toarray
Move localecache to array
2020-11-02 16:43:12 +01:00
Robin Appelman b4107c3442
ensure filepicker list is empty before populating
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-02 16:07:50 +01:00
Morris Jobke 7debc6e0b6
No need to check if there is an avatar available, because it is generated on the fly nowadays
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-02 15:39:45 +01:00
Roeland Jago Douma 441a3434f3
Move localecache to array
It seems the DS Set in the polyfill implementation is a lot less
efficient than normal arrays. (A LOT!).
So for now use a stupid normal array.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-02 15:02:04 +01:00
Roeland Jago Douma ff08b10a89
Merge pull request #23822 from nextcloud/enh/parse_localse_only_once
Only parse the locales ones
2020-11-02 12:24:38 +01:00
Roeland Jago Douma 1080515ce3
Merge pull request #23834 from nextcloud/fix-psalm
Update psalm-baseline.xml (was removed from DBAL update PR)
2020-11-02 12:24:02 +01:00
John Molakvoæ 9b015b360f
Merge pull request #23677 from nhirokinet/feature/imagemagick-svg-warning 2020-11-02 11:54:04 +01:00
nhirokinet 830348dbee
Add SVG support check to setup check
Signed-off-by: nhirokinet <nhirokinet@nhiroki.net>
2020-11-02 11:29:08 +01:00
Morris Jobke f8739b327a
Update psalm-baseline.xml
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-02 10:14:07 +01:00
John Molakvoæ a3e4094792
Merge pull request #23827 from nextcloud/td/cleanup/ocsresponse
Remove deprecated OCSResponse
2020-11-02 10:00:19 +01:00
Nextcloud bot 3f94c014f0
[tx-robot] updated from transifex 2020-11-02 02:19:04 +00:00
John Molakvoæ 862b4a04e5
Merge pull request #23267 from nextcloud/fix-bold-and-font-size 2020-11-01 16:09:38 +01:00
Roeland Jago Douma fa6a790859
Remove deprecated OCSResponse
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-01 14:12:27 +01:00
Nextcloud bot b1620344f3
[tx-robot] updated from transifex 2020-11-01 02:18:23 +00:00
Jacob Neplokh b04368c9a8
Change font-weight and font-size for empty search
Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
2020-10-31 11:29:15 -07:00
John Molakvoæ 6a111e4542
Merge pull request #23814 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.1.0
Bump webpack-cli from 3.3.12 to 4.1.0
2020-10-31 19:23:28 +01:00
Roeland Jago Douma 3b97819c9d
Merge pull request #23782 from nextcloud/bugfix/noid/fix-hidden-visually
Properly put hidden-visually off-screen
2020-10-31 19:18:18 +01:00
John Molakvoæ 25a1df9c7e
Merge pull request #22373 from nextcloud/fix-example-usage-for-mailer
Fix example usage
2020-10-31 15:58:29 +01:00
dependabot-preview[bot] bbbfc61bd0
Bump webpack-cli from 3.3.12 to 4.1.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.12 to 4.1.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.12...webpack-cli@4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 14:49:10 +00:00
John Molakvoæ ccef152fa2
Merge pull request #23810 from nextcloud/dependabot/npm_and_yarn/file-loader-6.2.0
Bump file-loader from 6.1.1 to 6.2.0
2020-10-31 15:46:36 +01:00
John Molakvoæ 0fe654f2d3
Merge pull request #23807 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-1.5.0
Bump @nextcloud/axios from 1.4.0 to 1.5.0
2020-10-31 15:45:41 +01:00
John Molakvoæ 9ab69ad28a
Merge pull request #23804 from nextcloud/dependabot/npm_and_yarn/vuedraggable-2.24.3
Bump vuedraggable from 2.24.2 to 2.24.3
2020-10-31 15:45:05 +01:00
dependabot-preview[bot] 46b891066f
Bump @nextcloud/axios from 1.4.0 to 1.5.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 14:37:41 +00:00
dependabot-preview[bot] 203d9d0f85
Bump vuedraggable from 2.24.2 to 2.24.3
Bumps [vuedraggable](https://github.com/SortableJS/Vue.Draggable) from 2.24.2 to 2.24.3.
- [Release notes](https://github.com/SortableJS/Vue.Draggable/releases)
- [Commits](https://github.com/SortableJS/Vue.Draggable/compare/v2.24.2...v2.24.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 14:37:39 +00:00
John Molakvoæ d7b88731da
Merge pull request #23812 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.8
Bump vue-router from 3.4.7 to 3.4.8
2020-10-31 15:35:25 +01:00
Roeland Jago Douma 6e377a9daf
Only parse the locales ones
Before we'd go over the entire list for each translation (so each app)
we'd use translation for. This means we'd also go over thise locale list
(currently containing 750 entries) * apps so often this added up to ~20k
calls.

now we just dump the locales in a set once and then check if the entry
is there.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-31 15:25:19 +01:00
dependabot-preview[bot] 45ef61da36
Merge pull request #23805 from nextcloud/dependabot/npm_and_yarn/camelcase-6.2.0 2020-10-31 14:17:14 +00:00
dependabot-preview[bot] 246a065c53
Bump vue-router from 3.4.7 to 3.4.8
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.7 to 3.4.8.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.4.7...v3.4.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 13:59:44 +00:00
Roeland Jago Douma e70461281f
Merge pull request #23811 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.4
Bump vue-loader from 15.9.3 to 15.9.4
2020-10-31 14:57:07 +01:00
Roeland Jago Douma 3831d8f57f
Remove the matching on ancient /ocs routes
The appframework has been the default for quite some time now. So time
to take proper advantage of it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-31 12:12:03 +01:00
dependabot-preview[bot] 1bcc1822bc Bump vue-loader from 15.9.3 to 15.9.4
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.3 to 15.9.4.
- [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.3...v15.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-31 08:04:02 +00:00
Roeland Jago Douma 5396e98d2d
Merge pull request #23764 from nextcloud/3rdparty/doctrine/dbal/2.12.0
[3rdparty] Bump doctrine/dbal to 2.12.0
2020-10-31 08:47:18 +01:00
dependabot-preview[bot] 10ec4079a8
Bump file-loader from 6.1.1 to 6.2.0
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v6.1.1...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-31 04:59:26 +00:00
dependabot-preview[bot] e8f0eb42e2
Merge pull request #23809 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-standard-4.0.2 2020-10-31 04:56:57 +00:00