Commit Graph
723 Commits
Author SHA1 Message Date
jakob.scheidandGitea 870a26d766 feat(lint): add ESLint rules
Added some ESLint rules (see eslint.config.js).
2026-08-09 13:09:39 +02:00
jakob.scheidandGitea fe0c1cfd94 chore(lint): set up ESLint
Added ESLint dependencies and ESLint configuration.
2026-08-09 13:09:39 +02:00
jakob.scheidandGitea a221b5f04f refactor: remove all unused variables 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea 1065eb144c style: reorder imports in entrypoint script
Reordered the imports in src/main.js so that they are more clear and
more readable.
2026-08-09 13:09:39 +02:00
jakob.scheidandGitea d8b4aa7a1a style: reorder imports alphabetically 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea db3758a54a style(legal): remove function wrapper 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea a086affbef style: ensure named functions 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea dd07392821 style: ensure function expressions
Replaced all function statements with function expressions.
2026-08-09 13:09:39 +02:00
jakob.scheidandGitea 995e77b69a style: remove unnecessary function whitespace
Remove the unnecessary whitespace between the function name or the
'function' keyword and the opening parenthesis.
2026-08-09 13:09:39 +02:00
jakob.scheidandGitea 6bf315e4b8 style: remove unnecessary whitespace 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea cd1755693b style: remove unnecessary semicolons after blocks 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea 722865133d refactor(i18n): fix typo in language switch 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea dc60b968e7 style: ensure semicolons at line ends 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea 18ba0f2a70 test: use describe in all test files 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea 7ae4fb9a3f style: ensure newlines at the end of each file 2026-08-09 13:09:39 +02:00
jakob.scheidandGitea f4f8993e87 Merge pull request 'Feat(i18n): make language a setting' (#185) from feature/make-language-a-setting into main
Deploy on dev / Deploy on dev (push) Successful in 39s
Reviewed-on: #185
Reviewed-by: Jakob Gregory
2026-08-07 11:44:32 +02:00
jakob.scheid 31588b2f1c refactor(i18n): move locale updater to language switch button 2026-08-07 02:10:12 +02:00
jakob.scheid e964c2635f feat(i18n): add default language error handling
Set the default language to the fallback language if the navigator
language is not supported.
2026-08-07 01:04:19 +02:00
jakob.scheid 0fe98bb03d feat(i18n): set default language setting to navigator language 2026-08-07 00:52:58 +02:00
jakob.scheid 134fdabffc feat(i18n): load language on startup 2026-08-07 00:51:00 +02:00
jakob.scheid 788bea0016 refactor(i18n): move currentLanguage utility to correct location
Moved src/utils/currentLanguage.js to
src/features/i18n/utils/navigatorLanguage.js and updated it to only
parse the navigator language.
2026-08-07 00:50:13 +02:00
jakob.scheid b571a68e3b feat(i18n): use settings to set and get language 2026-08-07 00:33:17 +02:00
jakob.scheid d5f6108f47 feat(i18n): add language settings 2026-08-07 00:33:14 +02:00
jakob.scheid 3dd9eded41 feature(settings)!: make settings configuration a JavaScript module
The settings configuration is now a JavaScript module because dynamic
configuration is only possible in this way and dynamic settings
configuration is needed for the language as a setting.
2026-08-06 23:52:29 +02:00
jakob.scheidandGitea 8f44609702 Merge pull request 'Feat(legal): add legal notice' (#170) from feature/legal-notice into main
Deploy on dev / Deploy on dev (push) Successful in 34s
Reviewed-on: #170
Reviewed-by: Jakob Gregory
2026-08-06 23:43:56 +02:00
jakob.scheid 5dc3ddd549 feat(style): add style for JavaScript disabled
Add inline stylesheet which is used if JavaScript is disabled.
2026-08-06 23:43:34 +02:00
jakob.scheid f739676a1a feat(legal): add <noscript> containing legal notice link
Added a <noscript> with a link to the legal notice and a note to enable
JavaScript to use Seekra. This ensures that also users with JavaScript
disabled can access legal content.
2026-08-06 23:43:33 +02:00
jakob.scheid f73e2edae7 test(legal): add test for the legal notice view
Added tests for the legal notice view (LegalNoticeView.vue).
2026-08-06 23:43:33 +02:00
jakob.scheid f7358ceb34 test(legal): add tests for getLegalNotice 2026-08-06 23:43:33 +02:00
jakob.scheid f8d2086433 feat(legal): add legal notice loading indicator 2026-08-06 23:43:32 +02:00
jakob.scheid 7613122658 feat(legal): add legal notice error handling
The legal notice view now shows an error box if the legal notice could
not be loaded.
2026-08-06 23:43:32 +02:00
jakob.scheid b27c89945f fix(style): set link color to --dark variable
This change was necessary due to the dynamically loaded legal notice.
Links would have the default color without this fix.
2026-08-06 23:43:31 +02:00
jakob.scheid d9ed16f3de feat(legal): load and display legal notice 2026-08-06 23:43:31 +02:00
jakob.scheid 4c39fadd9a feat(legal): add legal notice link in the footer
Added a link to the legal notice in the footer and revised the layout of
the last footer segment: The segment is now a grid container and the
legal links (currently only the legal notice link) are displayed at the
end. The copyright notice remains centered. On small screens, the legal
links are displayed centered below the copyright notice.
2026-08-06 23:43:30 +02:00
jakob.scheid dccdab0d4a feat(legal): add route for the legal notice 2026-08-06 23:43:30 +02:00
jakob.scheidandGitea f6cf1e9777 Merge pull request 'Fix(settings): selection reactivity' (#184) from fix/selection-setting-reactivity into main
Deploy on dev / Deploy on dev (push) Successful in 38s
Reviewed-on: #184
Reviewed-by: Jakob Gregory
2026-08-06 23:41:53 +02:00
jakob.scheid 53bd67b7a0 test(settings): add tests for selection reactivity 2026-08-06 23:24:09 +02:00
jakob.scheid 1f51a0b3ae fix(settings): make selection reactive
Selection now uses computed with getter and setter.
2026-08-06 23:23:21 +02:00
jakob.scheidandGitea bcb0c05d74 Merge pull request 'Feat(color-scheme): make color scheme a setting' (#182) from feature/make-color-scheme-a-setting into main
Deploy on dev / Deploy on dev (push) Successful in 35s
Reviewed-on: #182
Reviewed-by: Jakob Gregory
2026-08-06 23:06:13 +02:00
jakob.scheid 069b75b3c5 test(color-scheme): add tests for color scheme button 2026-08-06 20:56:46 +02:00
jakob.scheid 589be2a5bc refactor(color-scheme): remove unused composable
Removed the unused composable 'useColorScheme.js'.
2026-08-06 20:26:04 +02:00
jakob.scheid 287f02505e feat(color-scheme): make color scheme a setting
The color scheme now uses settings to store the currect color scheme.
2026-08-06 20:23:57 +02:00
jakob.scheid ad6f59a85c fix(settings): fix useSettings getSetting store path 2026-08-06 20:23:50 +02:00
jakob.scheid f9a53a8911 feat(settings)!: make settings module import static
Migrated the settings to a static settings configuration import.
2026-08-06 19:38:52 +02:00
jakob.scheid f485a2d476 feat(color-scheme): add color scheme settings
Added an appearance settings section containing a color scheme setting
and translations for that.
2026-08-06 17:38:05 +02:00
jakob.scheidandGitea dde56c42ae Merge pull request 'Feat(settings): function to set settings' (#179) from feature/set-setting-function into main
Deploy on dev / Deploy on dev (push) Successful in 35s
Reviewed-on: #179
Reviewed-by: Jakob Gregory
2026-08-06 17:22:49 +02:00
jakob.scheid 15697144b1 feat(settings): add function to set settings
Added function setSetting, which sets a setting, to useSettings
composable.
2026-08-06 15:33:55 +02:00
jakob.scheidandGitea 396c025ec4 Merge pull request 'Fix(color-scheme): fix system color scheme initial loading' (#177) from fix/system-color-scheme-initial into main
Deploy on dev / Deploy on dev (push) Successful in 34s
Reviewed-on: #177
Reviewed-by: Jakob Gregory
2026-08-06 15:27:14 +02:00
jakob.scheid 30f6b82416 fix(color-scheme): set color scheme dummy value to null
Set the initial value of the color scheme ref to null to make setting it
to the actual value trigger a change if the color scheme is auto.
2026-08-06 15:06:30 +02:00
jakob.scheidandGitea 7b09cd74cb Merge pull request 'Feat(settings): function to get the value of a setting' (#168) from feature/setting-value-function into main
Deploy on dev / Deploy on dev (push) Successful in 38s
Reviewed-on: #168
Reviewed-by: Jakob Gregory
2026-08-06 12:50:51 +02:00