Commit Graph

6892 Commits

Author SHA1 Message Date
Erik Michelson cef615433b fix(explore): show tags only once for notes with multiple visits
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Erik Michelson 399287584f refactor(explore): re-design pinned notes, improve UI
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Philip Molares 6e663aa600 test(explore): add unit tests
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-01-11 20:21:00 +01:00
Erik Michelson 1b0a1d0ab2 fix(explore): use correct translations
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Philip Molares adb0d71c2c test: add e2e test for explore api
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-01-11 20:21:00 +01:00
Philip Molares cea5d2700e fix(explore): add default page number
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-01-11 20:21:00 +01:00
Philip Molares 0fdeaa70b3 refactor(explore): reorder methods
This alligns the methods to the api controller

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-01-11 20:21:00 +01:00
Erik Michelson 87b9cf74dd fix(explore): return null on unpinning from API
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Erik Michelson 7d61a774f9 refactor(explore): load pinned notes with the explore page
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Erik Michelson f51bc1b061 fix(explore): set initial state for mocking
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Erik Michelson 6bb13488f7 refactor(explore): return NoteExploreEntryDto on pinning
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Erik Michelson 1e9fc8d081 feat(explore): pin and unpin notes
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Erik Michelson 0f2c301b4c feat(explore): add section for recently visited notes
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Erik Michelson 4e033863ff feat(explore): add backend logic for the explore page
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Philip Molares fa110dbdd3 refactor(explore): extract date utils
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-01-11 20:21:00 +01:00
Erik Michelson 87257ac3dd feat(explore): add frontend explore page
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-01-11 20:21:00 +01:00
Bart Louwers cd62b8bd7b docs(readme): Fix logo for dark backgrounds (#6314) 2026-01-10 22:22:38 +00:00
Philip Molares 72149d49a5 fix(revision): fix cron job to delete old revisions
This function did not use the new database datetime functions and therefore did not correctly work.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-01-08 00:20:45 +01:00
Philip Molares 17ba34567d docs(config): explain permissions
Add additional explanation for permission interactions

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-01-08 00:16:12 +01:00
Philip Molares 85fccc4e15 test(noteConfig): test the special permissions interactions
As those interaction are quite special at times we should test them individually

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-01-08 00:16:12 +01:00
Philip Molares 8fe3821312 fix(noteConfig): correctly handle default everyone and max guest level interaction
Some combinations of the default everyone permission
and max guest level do not work conceptually and need to
throw an error

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-01-08 00:16:12 +01:00
Philip Molares 51062b30ad refactor: remove NoteService.toNotePermissionsDto
We already have this function in the PermissionService

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2025-12-27 19:48:08 +01:00
Erik Michelson f739c02fbd chore(deps): remove unused rimraf package
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-23 21:35:34 +01:00
Erik Michelson 971d434eab fix(backend): update tsconfig to avoid d.ts files in migrations dir
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-23 21:35:34 +01:00
Philip Molares ea4c2579de fix(backend): start and start:dev scripts
We don't want to delete the dist folder before we start.
Furthermore, we want to have the same script semantics as
in the frontend (having start starting the built output and
start:dev starting in hot-reload mode).

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-23 21:35:34 +01:00
Erik Michelson cf878ef84c fix(build): remove invalid migration files from build
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-23 21:35:34 +01:00
Erik Michelson 03f9e663c7 docs(config): update environment variable names
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-21 10:56:57 +01:00
Erik Michelson faef272eff fix(e2e-tests): update variables in tests after rebasing e2e tests
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-21 10:56:57 +01:00
Erik Michelson 33ae5c6e21 fix(tests): check for process.exit in tests
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-21 10:56:57 +01:00
Erik Michelson 3324bf1b2f fix(config): adjust media config type to Zod schema
Our config error messages are generated from the nested
Zod schema for the config. This means, if the path for
the type of media backend to use is
  mediaBackend.type
then the env variable should be
  HD_MEDIA_BACKEND_TYPE

Previously, we used some custom env variable names
like
  HD_MEDIA_BACKEND

This however resulted in the message that the env
variable HD_MEDIA_BACKEND is not set even if it was,
or the other way around, because the generated error
messages were not fitting the actual variable name.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-21 10:56:57 +01:00
Erik Michelson 5732cb1f65 fix(config): print config error messages on startup
Due to the error being thrown, config error messages
were not nicely displayed on app startup.
Furthermore, since the log level defaulted to WARN
before overridden using HD_LOGLEVEL, the startup
info message was not displayed.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-12-21 10:56:57 +01:00
Philip Molares 398588f519 chore: lint fix
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2025-12-17 22:28:45 +01:00
renovate[bot] b2eec4d939 chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 22:28:45 +01:00
renovate[bot] 1276f2d778 chore(deps): update dependency dotenv-cli to v11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 22:05:26 +01:00
renovate[bot] 47afeeb9db chore(deps): update actions/upload-artifact action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 22:02:20 +01:00
renovate[bot] 2c73f06a4e chore(deps): update actions/setup-node action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 22:01:59 +01:00
renovate[bot] 00a4da3a64 chore(deps): update actions/setup-python action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 22:01:44 +01:00
renovate[bot] 55a8f4f1cd fix(deps): update dependency mermaid to v11.12.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 22:01:08 +01:00
renovate[bot] 70a64fc4a5 chore(deps): update codecov/codecov-action action to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 22:00:28 +01:00
renovate[bot] 574551373e chore(deps): update yarn to v4.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:48:09 +01:00
renovate[bot] 48a7e164f1 fix(deps): update dependency yjs to v13.6.28
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:46:41 +01:00
renovate[bot] 61ae43a8b7 fix(deps): update vega
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:45:58 +01:00
renovate[bot] a7ea192704 chore(deps): update dependency eslint-config-next to v14.2.35
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:44:47 +01:00
renovate[bot] 852a95925d chore(deps): update github/codeql-action action to v3.31.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:44:00 +01:00
renovate[bot] 999944b84c fix(deps): update dependency dompurify to v3.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:43:48 +01:00
renovate[bot] 9290fa01d6 fix(deps): update dependency @azure/storage-blob to v12.29.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:43:35 +01:00
renovate[bot] 299d7ebeef chore(deps): update actions/cache action to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:43:21 +01:00
renovate[bot] 76c38aa906 fix(deps): update dependency @fontsource/source-sans-pro to v5.2.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:41:25 +01:00
renovate[bot] c5f794997b fix(deps): update dependency html-entities to v2.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:39:37 +01:00
renovate[bot] d7f11d4c9c fix(deps): update dependency emoji-picker-element-data to v1.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 21:39:26 +01:00