Commit Graph

181 Commits (b00df8a9d18d517bbf7eb3a1c7cf3dee91ab3a43)

Author SHA1 Message Date
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.
2 weeks ago
Claude 7eec424274 chore: remove references handling from markdown extraction 2 weeks ago
Claude 6cb96ef65e chore: add missing punctuation in comments 2 weeks 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`.
2 weeks ago
Steven e0b1153269 fix(web): resolve MobX observable reactivity issue in filter computation
Fixes filtering functionality that was broken due to improper use of
useMemo with MobX observables. The issue occurred because useMemo's
dependency array uses reference equality, but MobX observable arrays
are mutated in place (reference doesn't change when items are added/removed).

Changes:
- Remove useMemo from filter computation in Home, UserProfile, and Archived pages
- Calculate filters directly in render since components are already MobX observers
- Fix typo: memoFitler -> memoFilter in Archived.tsx

This ensures filters are recalculated whenever memoFilterStore.filters changes,
making tag clicks and other filter interactions work correctly.

Fixes #5189

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

Co-Authored-By: Claude <noreply@anthropic.com>
2 weeks ago
Florian Dewald e4f6345342
feat: generate thumbnails for images stored in S3 and generate thumbnails with a maximum size (#5179) 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
asttool 54e3c13435
refactor: use WaitGroup.Go to simplify code (#5162)
Signed-off-by: asttool <asttool@outlook.com>
4 weeks 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 4eb5b67baf
feat: attachments by id (#5008) 3 months ago
Neo 6b507ff600
fix: pinned shortcut comparison operators (#4987) 3 months ago
varsnotwars f4bdfa28a0
feat: filter/method for reactions by content_id (#4969) 3 months ago
Colin Holzman 8319516d1a
fix: boolean filters (#4966) 3 months ago
johnnyjoy 506b477d50 fix: get user by username 3 months ago
Colin Holzman aae7ec8d1f
fix: calendar filter (#4942) 3 months ago
Maximilian Krauß 4d6042e35f
fix(tags): ensure JSON array elements are properly formatted in SQL queries (#4944) 3 months ago
johnnyjoy 9ea2f9f686 fix: linter 4 months ago
johnnyjoy ed23cbc011 refactor: memo filter 4 months ago
johnnyjoy b55904a428 feat: support more filter factors 4 months ago
johnnyjoy 976bd332fe chore: fix linter 5 months ago
johnnyjoy d6a75bba4c refactor: webhook service 5 months ago
Johnny 9b15936873 refactor: clean unused fields 5 months ago
Johnny 778a5eb184 refactor: memo filter 5 months ago
Steven a4920d464b refactor: attachment service part2 5 months ago
Steven a317f9e653 fix: linter 5 months ago
Steven de3e55c2e6 feat: support `now()` time functions 5 months ago
Steven f12d7ae8bc chore: add asynchronous webhook dispatch 6 months ago
Steven b89d8f5342 feat: implement hasTaskList filter 6 months ago
johnnyjoy a0f68895ab chore: add more logs for oauth2 6 months ago
johnnyjoy eb33a604b2 feat: support mapping avatar url from oauth2 7 months ago
Steven 2cf2126d64 fix: golangci config 7 months ago
Shawn 88b38ff2c0
fix: aws-chunked encoding is not supported with the specified x-amz-content-sha256 value for some s3 providers (#4575)
Co-authored-by: Shawn L. <shawn@sola.sh>
7 months ago
Johnny e3a4f49c5c feat: implement creator_id factor 8 months ago
Johnny 925e97882e feat: support pinned factor 8 months ago
Johnny 9107a941ca chore: update linter config 9 months ago
Johnny f98c519834 fix: linter 9 months ago
MHZ 964ae16851
feat: support YouTube video thumbnail in link preview (#4427) 9 months ago
MHZ f17774cb3b
feat: prevent attackers from exploiting redirect attack GetLinkMetadata API (#4428)
fix: Prevent attackers from exploiting redirect attack GetLinkMetadata API.
9 months ago
MHZ f8c973c938
fix: prevent previewing internal network web pages. (#4421) 9 months ago
johnnyjoy e0e735d14d feat: support memo filter for mysql and postgres 9 months ago
johnnyjoy b9a0c56163 feat: support more factors in filter 9 months ago
johnnyjoy 58a867e4da fix: linter warning 9 months ago
johnnyjoy 2d731c5cc5 feat: memo filter for sqlite 9 months ago
Comix d9a92b2ef8
feat: support path style of s3 url (#4304)
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
10 months ago
Steven 74498a726e chore: update package 1 year ago
Steven 43d13a3edc chore: tweak linter 1 year ago
Steven b376a20fb4 chore: tweak linter warnings 1 year ago
Steven 387bf48fc8 chore: update s3 config 1 year ago