Commit Graph

18 Commits

Author SHA1 Message Date
anime
93df743559 feat(algolia): replace error throw with console.error for missing config
Change error handling from throwing an exception to logging an error when
Algolia configuration is missing. This provides better error reporting
without breaking the application flow.
2025-07-08 15:37:59 +08:00
anime
55c39cbab8 feat(algolia): implement global client initialization and reuse
- Add global Algolia client and index initialization
- Initialize client once and reuse across functions
- Remove redundant client initialization in individual functions
- Add configuration validation during initialization
2025-07-08 01:41:50 +08:00
anime
8d200120fc feat(algolia): add data deletion functionality and execute in index.js
- Add `checkDataFromAlgolia` function to identify and delete unused data
- Implement `deletePostDataFromAlgolia` helper function
- Execute Algolia data check during homepage generation
- Handle password-protected and draft pages deletion
2025-07-08 01:20:59 +08:00
anime
7ce6ad0c2f feat(algolia): add data deletion functionality and execute in index.js
- Add `checkDataFromAlgolia` function to identify and delete unused data
- Implement `deletePostDataFromAlgolia` helper function
- Execute Algolia data check during homepage generation
- Handle password-protected and draft pages deletion

Fixes 1526
2025-07-08 01:20:58 +08:00
anime
684872fb2f feat(aisummary): Return null when AI summary retrieval fails to prevent exposing issues to users 2025-07-07 01:50:36 +08:00
LooseLi
84236f3cff fix: 修复 eslint 报错 2025-05-27 10:06:47 +08:00
tangly1024
33ed18d3f5 gtag fix 2025-04-11 17:41:16 +08:00
tangly1024.com
bc351a3b11 G-Tag fix 2025-02-14 18:21:17 +08:00
tangly1024
6aafc2e87c Merge pull request #2680 from Phillweston/fix-code-style
Fix code format for busuanzi.js
2025-01-01 15:52:40 +08:00
anime
ff89e16ee2 feat(原生支持字数统计和阅读时长): 统一使用WordCount组件
(cherry picked from commit d8180e1a783ad50c501b741adc72f2747896bdc1)
2024-12-29 00:23:09 +08:00
anime
148545cea9 feat(原生AI摘要功能支持缓存): 自定义缓存功能只支持memory,不支持文件缓存
(cherry picked from commit dd56dae44f7f555d9004e7d1f872085bded2cb86)
2024-12-29 00:21:37 +08:00
anime
5eb390bc38 feat(原生支持AI摘要功能): 使用一层API作为缓存而非直接请求AI,可以实现缓存/后端保密和预渲染
(cherry picked from commit 611a7d1d5dc7bc200d4390e29217ab8c8f76b0f0)
2024-12-29 00:21:32 +08:00
Phillweston
fcab850dc0 Fix code format for busuanzi.js 2024-08-29 00:16:00 +08:00
tangly1024
a0e3f3fff0 Merge branch 'main' into original-main-fix-DOMException 2024-08-28 12:18:53 +08:00
tangly1024.com
2b3311e845 fix algolia 2024-05-27 17:47:29 +08:00
Phillweston
a66c416fa4 Add parent checking before inserting or removing the child 2024-05-15 12:46:17 +00:00
tangly1024.com
16779a0614 clean log wow 2024-04-11 18:18:14 +08:00
tangly1024
444e236ca6 整理lib目录 2024-03-10 13:08:18 +08:00