Commit Graph

3327 Commits (jtr/fix-public-exceptions-http-codes)

Author SHA1 Message Date
Ferdinand Thiessen 439f825774 chore: remove deprecated `OC.redirect` and `OC.reload`
- Deprecated since Nextcloud 17

To replace `OC.redirect` directly use `window.location`.
To replace `OC.reload` directly use `window.location.reload`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-30 23:14:37 +07:00
Ferdinand Thiessen 1f24865caf
chore(tests): drop legacy Karma tests
we no longer use Karma tests, all actual tests have been migrated to
vitest. The leftover tests are already covered by unit tests in
packages.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-07 14:27:14 +07:00
Ferdinand Thiessen 769ec69bb3 refactor(core): migrate tests of `OCP.Comments` to `vitest`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-06 15:05:31 +07:00
Ferdinand Thiessen 2e11b96537
refactor: move `OC.MimeType` to `src` and add `vitest` unit tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-06 14:16:12 +07:00
Ferdinand Thiessen 91f3b6b4ee
chore: adjust code to new codestyle
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:42 +07:00
Ferdinand Thiessen ca5f6d4c1d
chore: remove legacy jQuery contacts menu
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-28 18:57:01 +07:00
Carl Schwan e86ca11e0b refactor: Remove OC.SystemTags JS API
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-26 19:25:46 +07:00
Ferdinand Thiessen 3b8c50e2c7
fix: remove executable flag from source files
(exceptions for real scripts, but source files never should be executable)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-04 11:57:44 +07:00
JinHakChoi 8f07c7f9ee chore(tests): Update integrity check assets order for MIME type aliases
Signed-off-by: JinHakChoi <ws423257@gmail.com>
2025-09-04 00:52:37 +07:00
JinHakChoi ea39540def chore(tests): Update Test integrity check assets for MIME type aliases
Signed-off-by: JinHakChoi <ws423257@gmail.com>
2025-09-03 21:55:36 +07:00
Ferdinand Thiessen 79184f3aed
feat(settings): migrate setup checks to Vue to prevent visual issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-26 18:35:55 +07:00
Ferdinand Thiessen cd310afe1a chore: update `@nextcloud/vue` to v8.29.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-19 16:01:30 +07:00
Ferdinand Thiessen ad838b21a1
test: adjust karma global state mock
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 15:55:12 +07:00
Ferdinand Thiessen a388e2b55b
test(core): migrate session heartbeat tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 15:55:11 +07:00
Ferdinand Thiessen 7d2a929a12
test: remove legacy tests covered by library unit tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-09 16:52:26 +07:00
Ferdinand Thiessen fa7310add9
fix: handle IDLE timeout
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-03 14:24:51 +07:00
John Molakvoæ (skjnldsv) 62a9ec2067 fix(core): remove untranslated mime names
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-15 15:07:08 +07:00
John Molakvoæ (skjnldsv) 24bc1d606e
feat(core): add human readable mimes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-14 22:55:06 +07:00
Côme Chilliet b2100484c0 fix: Remove some call and references to deprecated OC_Util class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-04-07 17:05:54 +07:00
Ferdinand Thiessen e8c1e2c611
fix(code-style): Adjust JS code to our code style
This resolves 68 ESLint warnings about invalid code style.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 22:11:59 +07:00
nextcloud-command b6facb8701
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-20 10:46:00 +07:00
John Molakvoæ (skjnldsv) 1647a3b93a
chore: add `application/zstd`
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-17 11:36:57 +07:00
Ferdinand Thiessen 7b6c78c81d
chore: Remove legacy JS code for public page menu (header actions)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-03 16:07:49 +07:00
Mostafa Ahangarha c5baf3d7ef Fix: float and clear
Fix other background-positions
Minor fix in link button icon position
Update header left and right to start and end

Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +07:00
Julius Härtl f5fbe43548
fix: Adapt icon color to new default for mime icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-04 11:09:21 +07:00
Hoang Pham 9a2f026bd6
feat: support excalidraw file
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-07-04 11:09:21 +07:00
Ferdinand Thiessen 4d6a21a379
refactor(core): Make AJAX cron script work without jQuery
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-28 17:28:10 +07:00
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-13 17:41:36 +07:00
Ferdinand Thiessen fef9fb3bc0
fix(tests): Add mock for `window._oc_webroot`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-23 20:48:13 +07:00
Anupam Kumar 1111c3fafb
Merge pull request #41684 from nextcloud/feat/rst-mimetype
feat(mimetypes): Add mimetype for ReStructuredText
2024-03-15 22:19:43 +07:00
Anupam Kumar 8b0d49327a
feat(mimetypes): Add mimetype for ReStructuredText
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-03-15 20:23:27 +07:00
Côme Chilliet 443b26761d
fix: Migrate WebDAV endpoint check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-14 16:20:17 +07:00
Côme Chilliet 9f819f311f feat: Migrate HSTS check to Security headers SetupCheck
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-13 12:49:52 +07:00
Côme Chilliet d7193ef65e fix: Migrate security headers check tests and fix the SetupCheck implementation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-13 12:49:52 +07:00
Côme Chilliet 310377e496 fix: Fix Security headers setup check behavior
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-13 12:49:52 +07:00
Ferdinand Thiessen 3056bc4962 fix(settings): Remove migrated SetupCheck from legacy JS code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 14:06:08 +07:00
Côme Chilliet 5794e1c9d6
Merge pull request #43906 from nextcloud/enh/migrate-ssl-url-setupcheck
feat(settings): Migrate SSL access and URL generation check to SetupCheck API
2024-03-04 15:54:47 +07:00
Ferdinand Thiessen ef2c312b18
feat(settings): Migrate data directory protection check to `SetupCheck`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-29 13:54:01 +07:00
Côme Chilliet ca246dc35c
feat(settings): Migrate SSL access and URL generation check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-29 12:21:36 +07:00
Ferdinand Thiessen ad747ab62b
feat(settings): Migrate OCM / OCS provider tests to SetupCheck
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-27 14:52:10 +07:00
Ferdinand Thiessen 398b042af7
enh(settings): Migrate WOFF2 loading check to a SetupCheck
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-15 02:17:20 +07:00
Côme Chilliet 936c6a2928 Migrate debug mode check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 10:11:03 +07:00
Ferdinand Thiessen 163d02e2a7
fix(tests): Adjust legacy tests for nextcloud-router update
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 17:55:06 +07:00
Côme Chilliet 67541f21f6
Migrate fair use of free push service check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 13:05:59 +07:00
Côme Chilliet 9add64f30e
Merge writable temporary space check with the s3 one, and improve
It will now show available space and path of both PHP and Nextcloud
 temporary directories if they differ.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 11:47:30 +07:00
Côme Chilliet ccbc5fc273
Remove old version of temporary space setup check and fix tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 11:47:29 +07:00
Côme Chilliet 10664e9529 Migrate MySQL utf8mb4 check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-23 17:34:04 +07:00
Côme Chilliet ca3e1a531a
Merge gmp and bcmath module checks with the existing PHP modules setup check
Also add description for why each module is recommended

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-22 15:07:21 +07:00
Côme Chilliet a77bab2f95
Migrate set_time_limit setup check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 12:36:53 +07:00
Côme Chilliet 5ad549a72f
Migrate memcached PHP module setup check to new API
Merged it with the other existing memcache setup check as it fits

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:40:43 +07:00