aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | refactor: add migration for email settingFerdinand Thiessen2025-04-021-0/+33
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | refactor(style): Remove repeated semicolonChristopher Ng2025-04-021-1/+1
|/ / / | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-04-022-10/+10
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix(oauth2): retain support for legacy ownCloud clientsfix/oauth2/retain-legacy-oc-client-supportRichard Steinmetz2025-04-013-2/+21
| | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-04-012-38/+38
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | feat: move streaming output helps to command base classRobin Appelman2025-03-311-0/+52
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #51676 from nextcloud/fix/add-getappversions-replacementCôme Chilliet2025-03-311-6/+6
|\ \ | | | | | | Add OC_App::getAppVersions replacement in IAppManager
| * | chore: Replace calls to OC_App::getAppVersions with app managerCôme Chilliet2025-03-251-6/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-302-0/+38
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-302-0/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-292-6/+6
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-2810-58/+230
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-2718-46/+186
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-2694-184/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix(login): Improve CSRF error message for better user understandingenh/no-issue/better-error-for-login-csrfnfebe2025-03-251-2/+2
|/ / | | | | | | | | | | | | This commit changes the CSRF error message displayed in the login form to provide more specific information to the user. Instead of the generic less helpful error. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-254-0/+8
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-232-0/+10
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-224-0/+36
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-214-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-206-0/+54
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix(core): adjust fronend code for changes in webauthn libraryFerdinand Thiessen2025-03-192-5/+11
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-19116-336/+336
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix(login): simplify code and use consistent layoutFerdinand Thiessen2025-03-184-175/+137
| | | | | | | | | | | | | | - Simplify vue code - Use nc buttons for consistent design Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #51418 from nextcloud/fix/unified-search-barFerdinand Thiessen2025-03-181-4/+4
|\ \ | | | | | | fix(unified-search): do not overlap search bar with button
| * | fix(unified-search): do not overlap search with buttonFerdinand Thiessen2025-03-121-4/+4
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-182-8/+8
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-178-2/+88
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-164-0/+68
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-1522-0/+1156
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-14114-3636/+3756
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix(core): setup fieldset spacingskjnldsv2025-03-131-2/+2
| | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | feat(core): add setup cypress testsskjnldsv2025-03-135-50/+451
| | | | | | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | | feat(core): migrate setup to vueskjnldsv2025-03-135-321/+487
|/ / | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* / fix(lookup-server): Only flag new users for lookup update / deletefix/lus-background-jobFerdinand Thiessen2025-03-111-1/+5
|/ | | | | | If the flag was already set then we do not need to overwrite it. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: optimize FileUtils::getFilesByUserRobin Appelman2025-03-101-7/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #51029 from nextcloud/fix/deprecate-oc-template-and-cleanupCôme Chilliet2025-03-101-4/+6
|\ | | | | fix: Deprecate OC_Template, add proper template manager instead
| * fix: Deprecate OC_Template, add proper template manager insteadCôme Chilliet2025-03-061-4/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-072-2/+2
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2025-03-032-0/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2025-03-022-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2025-03-01102-16/+102
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #51092 from nextcloud/enh/49868/add-display-overrideKate2025-02-281-0/+1
|\
| * feat(PWA): add `display_override` to set the display-mode to `minimal-ui` on ↵enh/49868/add-display-overrideSimon L.2025-02-281-0/+1
| | | | | | | | | | | | supported browsers Signed-off-by: Simon L. <szaimen@e.mail.de>
* | fix(l10n): remove unnecessary spaceValdnet2025-02-281-1/+1
|/ | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2025-02-2818-4/+20
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #50999 from nextcloud/fix/move-away-from-oc-appCôme Chilliet2025-02-271-1/+1
|\ | | | | fix: Replace OC_App calls by IAppManager
| * fix: Replace OC_App calls by IAppManagerCôme Chilliet2025-02-241-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #51051 from nextcloud/artonge/fix/login_flow_v2_sessions_2Louis2025-02-271-0/+2
|\ \ | | | | | | feat: Close sessions created for login flow v2
| * | feat: Close sessions created for login flow v2artonge/fix/login_flow_v2_sessions_2Louis Chemineau2025-02-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser. This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2025-02-27114-2976/+2892
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
o">->addColumn('user', 'string', ['length' => 255]); $table->setPrimaryKey(['id']); $endSchema = new Schema([], [], $this->getSchemaConfig()); $table = $endSchema->createTable($this->tableName); $table->addColumn('id', 'integer', ['autoincrement' => true]); $table->addColumn('user', 'string', ['length' => 64]); $table->setPrimaryKey(['id']); $migrator = $this->getMigrator(); $migrator->migrate($startSchema); $migrator->migrate($endSchema); $this->addToAssertionCount(1); } /** * Test for nextcloud/server#36803 */ public function testColumnCommentsInUpdate(): void { $startSchema = new Schema([], [], $this->getSchemaConfig()); $table = $startSchema->createTable($this->tableName); $table->addColumn('id', 'integer', ['autoincrement' => true, 'comment' => 'foo']); $table->setPrimaryKey(['id']); $endSchema = new Schema([], [], $this->getSchemaConfig()); $table = $endSchema->createTable($this->tableName); $table->addColumn('id', 'integer', ['autoincrement' => true, 'comment' => 'foo']); // Assert adding comments on existing tables work (or at least does not throw) $table->addColumn('time', 'integer', ['comment' => 'unix-timestamp', 'notnull' => false]); $table->setPrimaryKey(['id']); $migrator = $this->getMigrator(); $migrator->migrate($startSchema); $migrator->migrate($endSchema); $this->addToAssertionCount(1); } public function testAddingForeignKey(): void { $startSchema = new Schema([], [], $this->getSchemaConfig()); $table = $startSchema->createTable($this->tableName); $table->addColumn('id', 'integer', ['autoincrement' => true]); $table->addColumn('name', 'string'); $table->setPrimaryKey(['id']); $fkName = 'fkc'; $tableFk = $startSchema->createTable($this->tableNameTmp); $tableFk->addColumn('fk_id', 'integer'); $tableFk->addColumn('name', 'string'); $tableFk->addForeignKeyConstraint($this->tableName, ['fk_id'], ['id'], [], $fkName); $migrator = $this->getMigrator(); $migrator->migrate($startSchema); $this->assertTrue($startSchema->getTable($this->tableNameTmp)->hasForeignKey($fkName)); } public function dataNotNullEmptyValuesFailOracle(): array { return [ [ParameterType::BOOLEAN, true, Types::BOOLEAN, false], [ParameterType::BOOLEAN, false, Types::BOOLEAN, true], [ParameterType::STRING, 'foo', Types::STRING, false], [ParameterType::STRING, '', Types::STRING, true], [ParameterType::INTEGER, 1234, Types::INTEGER, false], [ParameterType::INTEGER, 0, Types::INTEGER, false], // Integer 0 is not stored as Null and therefor works [ParameterType::STRING, '{"a": 2}', Types::JSON, false], ]; } /** * @dataProvider dataNotNullEmptyValuesFailOracle * * @param int $parameterType * @param bool|int|string $value * @param string $columnType * @param bool $oracleThrows */ public function testNotNullEmptyValuesFailOracle(int $parameterType, $value, string $columnType, bool $oracleThrows): void { $startSchema = new Schema([], [], $this->getSchemaConfig()); $table = $startSchema->createTable($this->tableName); $table->addColumn('id', Types::BIGINT); $table->addColumn('will_it_blend', $columnType, [ 'notnull' => true, ]); $table->addIndex(['id'], $this->tableName . '_id'); $migrator = $this->getMigrator(); $migrator->migrate($startSchema); if ($oracleThrows && $this->connection->getDatabaseProvider() === IDBConnection::PLATFORM_ORACLE) { // Oracle can not store false|empty string in notnull columns $this->expectException(\Doctrine\DBAL\Exception\NotNullConstraintViolationException::class); } $this->connection->insert( $this->tableName, ['id' => 1, 'will_it_blend' => $value], ['id' => ParameterType::INTEGER, 'will_it_blend' => $parameterType], ); $this->addToAssertionCount(1); } }