Commit Graph

286 Commits (e915e3a46b76eb4acc2f858ea2feec0a4723f8f1)

Author SHA1 Message Date
Steven f65633e8a9 chore: fix linter issues in backend and frontend
- Remove extra blank line in memo_service.go (goimports)
- Remove invalid fields from CreateMemoRequest call (validateOnly, requestId)
- Clean up unnecessary comments

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
5 days ago
Steven 243ecf14b0 refactor(api): remove DeleteMemoTag and RenameMemoTag endpoints
BREAKING CHANGE: Removed DeleteMemoTag and RenameMemoTag API endpoints
for better API consistency. Tags should now be managed by updating memo
content directly via UpdateMemo endpoint.

Backend changes:
- Remove RenameMemoTag and DeleteMemoTag RPC methods from proto
- Remove backend implementations in memo_service.go
- Regenerate protocol buffers (Go, TypeScript, OpenAPI)

Frontend changes:
- Remove RenameTagDialog component
- Simplify TagsSection to remove rename/delete functionality
- Improve tag styling with active state highlighting
- Add smooth transitions and better hover interactions
- Polish TagTree component for consistency
- Tags now only support click-to-filter (no inline editing)

Style improvements:
- Active tags highlighted with primary color and font-medium
- Consistent hover states across flat and tree views
- Better spacing and visual hierarchy
- Improved empty state styling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
5 days ago
Steven 91a7e927a5 fix(server): reduce static asset cache to prevent stale files after redeploy
Changed Cache-Control max-age from 7 days to 1 hour with immutable directive.
This prevents users from experiencing blank pages or JS errors when accessing
frequently redeployed instances (e.g., demo environments) where old cached
assets may reference files that no longer exist after redeployment.

Since Vite generates content-hashed filenames, the immutable directive prevents
unnecessary revalidation while the shorter cache duration ensures fresh assets
are served within an hour of redeployment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
1 week ago
Steven f635d85bcf chore: fix reactions seed data
- Add comprehensive inline documentation for auth services
- Document session-based and token-based authentication flows
- Clarify authentication priority and validation logic
- Add detailed comments for JWT token structure and claims
- Fix reactions seed data to use memo UIDs instead of numeric IDs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
1 week ago
Claude 596b894ca0 chore: remove unused syntax
- Removed the wikilink extension from markdown services in test and API service.
- Deleted the DefaultLink and WikiLink components, simplifying link handling.
- Updated ConditionalComponent to remove wikilink checks.
- Adjusted MemoContent to exclude wikilink handling in markdown rendering.
- Refined markdown styles for compact rendering, enhancing readability.
- Added a Markdown Styling Guide to document the new compact styling approach.
1 week ago
Claude 6cb96ef65e chore: add missing punctuation in comments 1 week ago
Claude 739fd2cde6 refactor: update markdown parser
- Removed the `nodes` field from the `Memo` interface in `memo_service.ts`.
- Updated the `createBaseMemo` function and the `Memo` message functions to reflect the removal of `nodes`.
- Cleaned up the serialization and deserialization logic accordingly.

chore: remove code-inspector-plugin from Vite configuration

- Deleted the `codeInspectorPlugin` from the Vite configuration in `vite.config.mts`.
- Simplified the plugins array to include only `react` and `tailwindcss`.
1 week ago
Florian Dewald e4f6345342
feat: generate thumbnails for images stored in S3 and generate thumbnails with a maximum size (#5179) 2 weeks ago
Steven c09ea5a8ab chore: remove basic filter support from ListAttachments method 2 weeks ago
Steven 2e31bee1de fix: add missing period to comment per golangci-lint 2 weeks ago
Steven 9121ddbad9 feat(api): support username lookup in GetUser endpoint
- Update GetUser to accept both numeric IDs and username strings (users/{id} or users/{username})
- Implement CEL filter parsing for username-based lookups
- Update proto documentation to reflect dual lookup capability
- Simplify frontend user store to use GetUser instead of ListUsers filter
- Update ListUsers filter documentation to show current capabilities
2 weeks ago
Steven b4ea7d843f feat: enhance memo sorting functionality to support multiple fields 2 weeks ago
Johnny bc7decf642 refactor: remove unused constants 3 weeks ago
Copilot b685ffacdf refactor: memo filter
- Updated memo and reaction filtering logic to use a unified engine for compiling filter expressions into SQL statements.
- Removed redundant filter parsing and conversion code from ListMemoRelations, ListReactions, and ListAttachments methods.
- Introduced IDList and UIDList fields in FindMemo and FindReaction structs to support filtering by multiple IDs.
- Removed old filter test files for reactions and attachments, as the filtering logic has been centralized.
- Updated tests for memo filtering to reflect the new SQL statement compilation approach.
- Ensured that unsupported user filters return an error in ListUsers method.
3 weeks ago
Johnny efe6013c36 fix: add user authentication checks 4 weeks ago
github-actions[bot] 074c580214 chore: bump gomark
- Bump protoc-gen-go version from v1.36.8 to v1.36.9 in multiple generated files.
- Enhance OpenAPI descriptions for various endpoints to improve clarity and readability.
- Fix typo in the description list handling in the markdown service.
- Update HTMLElement component to handle children and self-closing tags correctly.
- Modify types in the markdown service to include children and self-closing properties for HTML elements.
1 month ago
Steven 5ad2038b1a feat: update gomark dependency and refactor markdown parsing logic 2 months ago
Steven c3d4f8e9d1 feat: implement user-specific SQL converter for filtering in user service 2 months ago
Johnny 7cc2df9254 chore: fix linter 2 months ago
varsnotwars e2454a8ae4
chore: add test for ListMemos (#5015) 3 months ago
varsnotwars fbcdf0fba7
fix update theme not saving (#5012) 3 months ago
Johnny e93f3cbb8b refactor: unify theme and apperance 3 months ago
varsnotwars 4eb5b67baf
feat: attachments by id (#5008) 3 months ago
varsnotwars a9508b2546
chore: simplify convert reaction (#5001) 3 months ago
Johnny 76ca258f23 chore: simplify update user settings 3 months ago
varsnotwars 3fd305dce7
fix: preferences being overwritten (#4990) 3 months ago
Neo c76ffb0fe4
chore: adds a check to only query reactions when there are actual memos (#4984) 3 months ago
varsnotwars f4bdfa28a0
feat: filter/method for reactions by content_id (#4969) 3 months ago
Brandon Sprague 931ddb7c1c
chore: add a new LOG_STACKTRACES option (#4973) 3 months ago
Liu Chao 3427ae75ba
fix: resolve gRPC Gateway connection issue when server address is empty (#4968)
Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
3 months ago
johnnyjoy 506b477d50 fix: get user by username 3 months ago
varsnotwars fa2fa8a5d7
refactor: remove call to db for parent memo name (#4947) 3 months ago
Steven 1fcafd807e chore: enable memo comments by default 3 months ago
johnnyjoy 9971cbeed4 chore: fix linter 3 months ago
Johnny 8f51791da8 chore: update user setting definition 3 months ago
Johnny 3b8bfe72ea fix: linter 3 months ago
johnnyjoy c5d497a1f0 chore: update user settings 3 months ago
johnnyjoy 3f56ce47d2 chore: update definition of workspace setting 3 months ago
Maximilian Krauß 2c7eb23343
feat(inbox): handles errors while fetching and adds possibility to delete items (#4908) 3 months ago
johnnyjoy ed23cbc011 refactor: memo filter 3 months ago
Steven 1a75d19a89 fix: memo filter for sqlite 3 months ago
johnnyjoy 6e45e9f8b6 refactor: deprecate old filter 3 months ago
johnnyjoy 6d9770b9c8 chore: move filter to filters 4 months ago
johnnyjoy 7481fe10bf chore: remove order by pinned 4 months ago
Amar Singh Rathour b779dd2e54
fix: correct avatar URL generation to resolve 404 errors (#4839) 4 months ago
Steven 533591af2b chore: theme in user setting 4 months ago
Johnny 1b3083b216
feat: themes (#4824) 4 months ago
Steven 046c6c83e1 chore: fix linter formats 4 months ago
Copilot e3a2dadb4b
fix: tag count regression - remove double increment causing off-by-one error (#4800)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: boojack <24653555+boojack@users.noreply.github.com>
4 months ago
Steven c18d6927ba chore: update user session table 4 months ago