Commit Graph

24 Commits (b9ab00a59e2d906fdb43eaaea37eb7a4a9cc8a13)

Author SHA1 Message Date
Christopher Ng 7c976a9605 fix(settings): Natural order groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-28 14:12:52 +07:00
Christopher Ng bf01685f3c refactor(settings): Consolidate group formatting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-28 14:12:52 +07:00
Christopher Ng 8a3a38815f perf(settings): Cancel request on new search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-28 14:12:52 +07:00
Ferdinand Thiessen 460ceaac57
fix(settings): Also sanitize fediverse and twitter handle in the frontend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 11:58:24 +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
Ferdinand Thiessen a5e58dc45e
test: Migrated all Jest tests to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +07:00
Ferdinand Thiessen 691f570237
chore: Enable ESLint for apps and fix all errors
Nevertheless this causes a huge amount of new warnings.
Previously the shell script for directories to lint was wrong it was generating all app names to lint,
but was missing the `apps/` prefix. Causing only `core` to be linted.

Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:13:30 +07:00
Ferdinand Thiessen 1d0a65db93
fix: Do not import from `axios` but only `@nextcloud/axios`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-20 12:34:37 +07:00
Andy Scherzinger ec5b60af28
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-03 20:33:31 +07:00
Ferdinand Thiessen 2937fd3eb0
fix(settings): Support `order` property on App Discover elements and hide future elements
This adds support to pinning elements by setting the `order` property on the element (e.g. `order: 0` will always be the first element to show).
Also filter list of elements to remove upcoming and outdated elements (as the json might be cached).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-19 18:30:56 +07:00
Ferdinand Thiessen aa29204fe0
feat(settings): Implement `post` type for app discover section
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +07:00
Ferdinand Thiessen c3c6de7bcb
fix(settings): Refactor logger code to use Typescript
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-05 12:55:31 +07:00
Marcel Klehr 112268a48a
AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Christopher Ng cbfe0c67e9 enh(a11y): Users table
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 +07:00
Christopher Ng 7bc8b543be Improve handling of profile fields
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 17:11:41 +07:00
Christopher Ng f922b2fd70 Remake locale saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-16 19:02:18 +07:00
Christopher Ng e2efbab13f Remake website property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-26 18:50:28 +07:00
Christopher Ng c5c70daa66 Modularize shared account property components
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 18:08:39 +07:00
Louis Chemineau 14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +07:00
John Molakvoæ (skjnldsv) 74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +07:00
Christopher Ng 3be9d3ca8f Profile frontend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +07:00
Christopher Ng 765ac6d2e6 Fix invalid prop type for isValidSection
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-07 21:16:18 +07:00
Christopher Ng f6119b7f23 Refine input validation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-27 05:15:20 +07:00
Christopher Ng d738ca48b2 Refine input validation
- Remove usage of JS core checkValidity() in favour of custom backend compliant validation
- Rewrite and refactor with removal of form tag in favour of section
- Scope styles
- Remove many uses of $nextTick
- Refine disabled state logic
- Translate account property constants

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-24 23:00:36 +07:00