Commit Graph

58312 Commits

Author SHA1 Message Date
Joas Schilling 422ecdeb20
Fix English source string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-19 13:11:34 +02:00
Christoph Wurst 2ab8268128
Do not check Oracle column constraints in unrelated migrations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-19 13:05:34 +02:00
Roeland Jago Douma 5c42c303e4 Require read permissions for federated shares
Else they end up as weird shares that can't be properly utilized by
other parties anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 12:53:49 +02:00
Morris Jobke 2866f4f7d2
Merge pull request #26614 from nextcloud/crl/noid/update-crl-revoked-news
Update root.crl due to revoked news.crt
2021-04-19 12:29:29 +02:00
Roeland Jago Douma 241dfab33f Do not allow adding file drop shares to your own cloud
There is no reason for this and you can't create such shares normally
anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 12:17:58 +02:00
Morris Jobke 49dfb8721d
Update root.crl due to revoked news.crt
See https://github.com/nextcloud/app-certificate-requests/pull/382

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-04-19 11:56:37 +02:00
Julius Härtl dd2f3e36b0
Merge pull request #26605 from nextcloud/dependabot/npm_and_yarn/ssri-6.0.2
[Security] Bump ssri from 6.0.1 to 6.0.2
2021-04-19 06:16:08 -01:00
Joas Schilling 751be29c73
Merge pull request #26555 from nextcloud/techdebt/noid/run-migrator-tests-on-OCI
Run migrator tests on OCI
2021-04-19 08:57:41 +02:00
Nextcloud bot 8c82dd37b4
[tx-robot] updated from transifex 2021-04-19 02:26:04 +00:00
Valdnet 2445c82750
l10n: Improve styling
"Empty field" information shifted to the end of the sentence. It looks more stylistic.
2021-04-18 11:39:46 +02:00
Nextcloud bot 286acbedef
[tx-robot] updated from transifex 2021-04-18 02:24:11 +00:00
Nextcloud bot 3ab7d6cf3e
[tx-robot] updated from transifex 2021-04-17 02:24:04 +00:00
dependabot-preview[bot] b0b22e3b41
[Security] Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. **This update includes a security fix.**
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-16 22:58:18 +00:00
Daniel Calviño Sánchez 9e1246eba5 Update acceptance tests to Selenium 3
The acceptance tests used the last Selenium 2 Docker container
available, which provides a rather old Firefox version (Firefox 47).
Nevertheless, despite some rendering issues, most things still worked as
expected due to the JavaScript files being built with support for older
browsers. However, now that support for Internet Explorer 11 and older
browsers will be dropped things could start to fail, so a newer browser
(and thus a newer Selenium version) should be used in the acceptance
tests.

Selenium has been standardized by the W3C, and the protocol to
communicate between the Selenium server and the browser has changed due
to that. Firefox >= 48 only supports the new W3C protocol, but the
Selenium driver for Mink does not support it yet.

The old protocol can still be used in recent Chromium/Chrome versions by
explicitly forcing it, so for the time being the acceptance tests will
need to be run on Chrome instead (although Firefox provides some
interesting features like the fake streams that would be needed to test
calls in Talk, so they should be moved again to Firefox once possible).

Finally, the default shm size of Docker is 64 MiB. This does not seem
enough to run newer Chrome releases and causes the browser to randomly
crash during the tests ("unknown error: session deleted because of page
crash" is shown in the logs). Due to this "disable-dev-shm-usage" needs
to be used so Chrome writes shared memory files into "/tmp" instead of
"/dev/shm" (the default shm size of Docker could have been increased
instead using "docker run --shm-size...", but that seems to be
problematic when the container is run in current Drone releases).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-16 20:00:15 +02:00
Daniel Calviño Sánchez 14b85f4eec Replace carriage return with WebDriver "ENTER" constant
When the value is set in some input fields a carriage return was sent to
simulate pressing the enter key and thus confirming the input. However,
different browsers use different keys (Firefox uses "\r", but Chrome
uses "\n"), so the carriage return was replaced with the WebDriver
"ENTER" constant which is common to both browsers.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-16 20:00:15 +02:00
Daniel Calviño Sánchez 38b88422a8 Do not send "enter" key when not needed
Sending the "enter" key is not needed in those input fields that auto
save while the user is typing or when the focus is lost (which since
version 1.4.0 the Selenium driver for Mink is automatically done after
setting the value).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-16 20:00:15 +02:00
Roeland Jago Douma d311e08f97
Merge pull request #26592 from nextcloud/enh/2fa_backup/fancy_new_events
Listen to proper UserDeletedEvent
2021-04-16 18:06:50 +02:00
Roeland Jago Douma 9b86e6f829 Listen to proper UserDeletedEvent
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 14:31:40 +02:00
Roeland Jago Douma 874eff9aaa
Merge pull request #26553 from nextcloud/enh/bootstrap/notifiers
Move NotifierService registration to IBootstrap
2021-04-16 14:27:19 +02:00
Roeland Jago Douma 0593b039fc Move over notification to new registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 13:56:28 +02:00
Roeland Jago Douma fc11617222 Deprecate the old way
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 13:56:28 +02:00
Roeland Jago Douma 808e589035 Allow registering NotifierServices trough IBootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 13:56:28 +02:00
Roeland Jago Douma 403388269a
Merge pull request #26581 from nextcloud/bugfix/noid/fix-device-login
Fix constraint violation detection in QB Mapper
2021-04-16 11:12:41 +02:00
Roeland Jago Douma ec66943efd
Merge pull request #26559 from J0WI/updno-strict
Updatenotification: add missing strict_types
2021-04-16 10:16:25 +02:00
Roeland Jago Douma bddb3dfcac
Merge pull request #26567 from nextcloud/techdebt/noid/adjust-jquery-deprecation-message
Don't mentioned we will do something with an already released version
2021-04-16 10:15:36 +02:00
Roeland Jago Douma 3d1015c87a
Merge pull request #26560 from J0WI/backupcodes-strict
2FA backupcodes: add strict typing
2021-04-16 10:14:53 +02:00
Roeland Jago Douma 7d8ff27928
Merge pull request #26558 from J0WI/dashboard-strict
Dashboard: add missing strict_types
2021-04-16 10:13:02 +02:00
Joas Schilling 25d11b5197
Fix constraint violation detection in QB Mapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 10:12:17 +02:00
Joas Schilling 1670d00452 Integer 0 is not stored as Null and therefor works
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 09:57:27 +02:00
Joas Schilling 8b4ecdcc88 Test that oracle throws on EmptyValues in a NotNull columns
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 09:57:27 +02:00
Joas Schilling e88bad4b0a Run migrator tests on OCI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 09:57:27 +02:00
Roeland Jago Douma 657ee534a8
Merge pull request #26583 from nextcloud/fix/unit-test
Fix unit test
2021-04-16 09:56:18 +02:00
Roeland Jago Douma b5ffca00f7 Fix unit test
* Fix namespace
* Fix test

Was broken after https://github.com/nextcloud/server/pull/26529

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 09:47:52 +02:00
Nextcloud bot 07278ed57d
[tx-robot] updated from transifex 2021-04-16 02:25:50 +00:00
J0WI 899413b506 Format header
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-15 16:57:06 +02:00
J0WI 09368e7cf5 2FA backupcodes: add strict typing
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-15 16:57:06 +02:00
Julius Härtl 1c35b3801e
Merge pull request #25320 from nextcloud/bugfix/noid/save-fed-share-expiration 2021-04-15 12:06:54 -01:00
Vincent Petry af61486aea
Separate settings for remote share expiration
Added separate settings for default and enforced expiration date for
remote shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:06:09 +02:00
Vincent Petry 2650da70ca
Unit tests for federated share expiration date
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:02:03 +02:00
Vincent Petry b0aaafe259
Fix expire date capability for federated shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:02:03 +02:00
Vincent Petry 8680bafc5c
Implement expiration date for federated shares
Add expiration date field in UI.
Save expiration date when creating or updating federated share.
Read expiration date from DB in federated share provider.
Applies to both federated user and group shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:02:00 +02:00
npmbuildbot-nextcloud[bot] 48a78aabea Compile assets
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-15 07:32:59 +00:00
Joas Schilling cbca27867a
Don't mentioned we will do something with an already released version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-15 08:53:17 +02:00
Nextcloud bot 8ef920fdf9
[tx-robot] updated from transifex 2021-04-15 02:25:10 +00:00
J0WI 684a0da48a Dashboard: add missing strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-14 16:46:25 +02:00
J0WI 8fd2be9655 Updatenotification: add missing strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-14 16:46:02 +02:00
Roeland Jago Douma f031dd61c1
Merge pull request #26551 from nextcloud/fix/noid/redis-exists-bool
ensure redis returns bool for hasKey
2021-04-14 13:37:23 +02:00
Roeland Jago Douma 644ce9e4f0
Merge pull request #26529 from J0WI/getSystemValue-type
Use correct getSystemValue type
2021-04-14 13:36:56 +02:00
John Molakvoæ 857a40b334
Merge pull request #26533 from nextcloud/fix/add-share-resolve-default
Fix undefined error on add-share
2021-04-14 08:32:26 +02:00
Nextcloud bot 7081c63d09
[tx-robot] updated from transifex 2021-04-14 02:26:51 +00:00