241 Commits

Author SHA1 Message Date
住京华
b8ce69011c feat(video): use ffmpeg as video backend (#241)
* chore(deps): update dependencies

* chore(deps): update dependencies

* fix: update ios and macos platform version

* chore(deps): update deps

* chore(deps): update deps

* chore(deps): update deps

* feat: add argon2 support

* chore(deps): update deps

* chore(deps): update deps

* chore(deps): update deps

* chore(deps): update deps

* chore(deps): update deps

* chore(deps): update deps

* chore(deps): update deps

* chore(deps): update deps

* feat(video): use ffmpeg as video backend

* fix(video): simplify video view invocation and improve button interaction

* feat(button): add customizable color option to PageBackButton

[skip ci]
2025-05-19 00:18:51 +08:00
ZhuJHua
64ca18ef44 fix: qweather api error
(cherry picked from commit 2e206a9335)
2025-04-18 12:02:41 +08:00
ZhuJHua
8d9f380ec5 Revert "fix: qweather api error"
This reverts commit 2e206a9335.
2025-04-18 11:58:51 +08:00
ZhuJHua
2e206a9335 fix: qweather api error 2025-04-18 11:54:16 +08:00
ZhuJHua
f642530bca feat: integrate Jieba for keyword extraction and search optimization 2025-04-18 11:19:01 +08:00
ZhuJHua
372678fa82 feat: optimize image processing capabilities 2025-04-17 11:41:41 +08:00
ZhuJHua
2eb6ab7409 feat: add code scanning to import support 2025-04-14 15:30:23 +08:00
ZhuJHua
96682cb593 refactor: optimize the code structure 2025-04-13 21:36:41 +08:00
ZhuJHua
d25231c413 feat(widget): add utility functions to capture widget as image 2025-04-05 23:56:40 +08:00
ZhuJHua
f9f2056d04 fix(share): fix capture and share methods 2025-03-22 23:38:38 +08:00
ZhuJHua
0e46a830af chore(deps): update dependencies to latest versions 2025-03-19 23:27:42 +08:00
ZhuJHua
e32bb156fe chore(deps): remove unnecessary dependencies 2025-03-16 20:47:47 +08:00
ZhuJHua
235f632670 feat(zip): use rust to increase data export speed 2025-03-16 20:18:47 +08:00
ZhuJHua
5328649b67 feat: enhance diary card views with icons and improve page transitions 2025-03-03 00:06:51 +08:00
ZhuJHua
443de5d35a feat: add an abstract sync interface 2025-03-02 23:26:17 +08:00
ZhuJHua
d992cc173d refactor: remove Objectbox plugin references and update tile caching implementation 2025-03-02 07:05:48 +08:00
ZhuJHua
3fb5573a7c refactor: streamline theme management and dynamic color support 2025-03-02 04:47:50 +08:00
ZhuJHua
d25d8c8269 fix: update diary_view to use Get.put for DiaryLogic instantiation 2025-02-24 12:14:55 +08:00
住京华
cd78ab72c4 feat: enhance UI and improve desktop experience (#179) 2025-02-23 13:06:39 +00:00
ZhuJHua
bcdbabc8d4 fix: update dependencies and remove unused localization imports 2025-02-23 16:36:48 +08:00
ZhuJHua
abbd48d600 feat: add WindowsBar and MoveTitle widgets for improved window management 2025-02-23 16:34:04 +08:00
ZhuJHua
f172e0791a refactor: remove video page routing and update video state initialization 2025-02-23 16:28:41 +08:00
ZhuJHua
e5578bdeae feat: improve image handling with enhanced hero transitions and dynamic sizing 2025-02-23 02:17:17 +08:00
ZhuJHua
827c98d177 feat: enhance image viewing experience with hero transitions and loading states 2025-02-18 23:58:46 +08:00
ZhuJHua
e9992128c7 feat: optimize image preview 2025-02-17 23:59:13 +08:00
ZhuJHua
12e5dbdaad fix: route error 2025-02-16 23:57:40 +08:00
ZhuJHua
cdf39298f9 feat: use the new route transition 2025-02-14 23:54:06 +08:00
ZhuJHua
e53c379502 chore(*): upgrade flutter and frb version 2025-02-12 23:56:07 +08:00
ZhuJHua
1c374b7a84 test(add test for utils): 2025-02-08 23:56:26 +08:00
ZhuJHua
6ce64f8b46 feat: add secure storage to store user key 2025-02-06 18:51:07 +08:00
ZhuJHua
545891fe55 feat(aes): add aes-gcm encryption algorithm 2025-02-06 18:49:42 +08:00
ZhuJHua
610b983e12 feat(font): clear cache when font style change 2025-02-05 17:18:53 +08:00
ZhuJHua
6b1aa8c07d fix(log): log did not work in release mode 2025-02-05 16:44:30 +08:00
ZhuJHua
c0fe3d31a3 fix(font): fix font is not loaded when startup 2025-02-05 16:02:18 +08:00
ZhuJHua
75dfb05e6c feat(font): enhance font loading capabilities 2025-02-05 15:38:17 +08:00
ZhuJHua
97dd44856c feat(diary): enhance text handling by trimming titles and removing line breaks from content 2025-02-04 14:07:17 +08:00
ZhuJHua
3006aa2dda fix(font): fix adding the font may cause the application crash 2025-02-04 05:07:06 +08:00
ZhuJHua
527767e1ab feat(font): add caching for font name and weight axis retrieval 2025-02-04 05:05:45 +08:00
ZhuJHua
5dc836ecce feat(font): streamline font loading 2025-02-04 04:38:07 +08:00
ZhuJHua
5154db3269 feat(cache): implement LRUCache and AsyncLRUCache for efficient data management 2025-02-04 04:13:36 +08:00
ZhuJHua
b5be93fa56 refactor: rename rust library from rust_lib_mood_diary to moodiary_rust 2025-02-04 03:10:37 +08:00
ZhuJHua
6ae4b4a45f feat(about): replace Text with AnimatedText for dynamic app info display 2025-02-04 02:34:00 +08:00
ZhuJHua
7acbc7854d feat(text): introduce AdaptiveText and EllipsisText components for improved text handling 2025-02-04 02:33:47 +08:00
ZhuJHua
4436162bd7 chore: update flutter_rust_bridge to version 2.7.1 and adjust generated files 2025-01-31 21:36:32 +08:00
ZhuJHua
5f62a228f0 refactor(media): reconstruct the media library, with more animation and better performance 2025-01-27 15:39:34 +08:00
ZhuJHua
be911fbd17 feat(ui): enhance image viewing and navigation
-   Improve image viewing experience by adding hero animations to images within `media_image_view.dart`, `image_embed.dart` for both quill and markdown, and `image_view.dart`.
-   Refactor diary title display by removing the arrow icon and using a single text widget in `diary_view.dart`.
-  Set  `showCupertinoParallax: false`  to false in all routes.
-   Change default transition to  `Transition.native` in `main.dart`.
2025-01-26 11:31:04 +08:00
ZhuJHua
509d8f17e2 feat(home): add shadow option for the HomeFab component
This commit introduces a `showShadow` option to the `HomeFabComponent`, enabling the display of a shadow effect for the floating action button. The `HomeView` is updated to set `showShadow` to true.
2025-01-26 11:00:19 +08:00
ZhuJHua
686bd4f41a feat(markdown): support markdown editing and embed rendering
- Implement markdown editing feature with toolbar.
- Add rendering for image, audio, and video embeds in markdown content.
- Add markdown content preview.
- Refactor and improve drawing and photo picking features.
- Implement rendering of markdown syntax highlighting.
- Add markdown to text plain text conversion.
- Add markdown type for diary.
2025-01-26 10:57:37 +08:00
ZhuJHua
00395a27ac feat(ui): enhance diary card text visibility and format
- Changed the color of the time text in both `grid_diary_card_view` and `list_diary_card_view` to `onSurfaceVariant` for better visibility.
- Adjusted the `maxLines` property in `list_diary_card_view` based on whether the diary has a title, enhancing content readability.
- Changed the format of the time in list_diary_card_view to `yMMMMEEEEd().add_Hms()`.
2025-01-25 22:28:13 +08:00
ZhuJHua
5cba840f80 feat(ui): add simple window button support for windows 2025-01-25 16:08:18 +08:00