Commit Graph

1785 Commits (15dfa54e444635e93dec59e507c71cb3b0a7f09a)

Author SHA1 Message Date
guqing 15dfa54e44
fix: posts in the recycle are not excluded when calculating posts under tag (#1823) 2022-04-07 12:35:33 +00:00
guqing 7367556c12
fix: posts in the recycle are not excluded when calculating posts under category (#1822)
* fix: posts in the recycle are not excluded when calculating posts under category

* refactor: post status filtering under category
2022-04-07 11:33:02 +00:00
guqing bdb1eeb80e
fix: the content cannot be saved problem when the patch status of V1 version of post content is recycle status (#1814)
* fix: when the patch status of V1 version of post content is recycle status, the content cannot be saved

* fix: code style
2022-04-07 07:31:33 +00:00
guqing 8591a1ecbf
fix: post modified in the recycle will be restored (#1820) 2022-04-06 08:10:46 +00:00
guqing 63e8cd0cd5
fix: batch publishing does not refresh private status (#1821) 2022-04-06 08:08:39 +00:00
Li 5e2f6e2351
refactor: modify the frontMatter export format to yaml syntax (#1813)
* fix: markdown import multi tag/category parsing problem

* fix: markdown import multi tag/category parsing problem
2022-04-06 03:59:43 +00:00
guqing 90d1bce9b9
fix: update the posts encryption status synchronously after deleting the category (#1815)
* refactor: update the posts encryption status synchronously after deleting the category

* chore: delete unused code
2022-04-04 03:40:41 +00:00
guqing 1de5799f82
Fix the problem of duplicate path separator in windows system (#1812)
* fix: duplicate path separator in windows system

* fix: code style
2022-04-02 10:40:40 +00:00
guqing 36abdba2af
fix: the problem of encrypted category displayed in query posts according to category (#1811) 2022-04-02 04:00:11 +00:00
guqing 32f24626b1
fix: NPE when deleting category (#1806) 2022-04-01 07:37:43 +00:00
guqing 7d9da09b49
refactor: clear the deprecated attributes value of post content when prePersist and preUpdate (#1797) 2022-03-31 11:52:27 +00:00
Ryan Wang ec6df79e7a
release: 1.5.1 (#1794)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-30 17:54:44 +08:00
guqing 2bccfb1abb
refactor: transition behavior of post state after category updated (#1785)
* refactor: transition behavior of post state after category updated

* fix: post status

* refactor: category encryption

* refactor: modify unit test case

* fix: category encryption when post has a password
2022-03-29 16:58:40 +00:00
guqing a7825f3f45
refactor: remove parameter assertion (#1787) 2022-03-29 11:53:21 +00:00
guqing 489ffc8418
fix: the redirected URL will be garbled when include Chinese (#1786) 2022-03-29 10:45:48 +00:00
guqing f5f7ddb410
Fix the problem of post list is incomplete due to no recursive query categories (#1781)
* fix: Post list is incomplete due to no recursive query categories

* feat: Add unit test case for PostRefreshStatusListener
2022-03-28 07:48:49 +00:00
Ryan Wang 6533089555
release: 1.5.0 (#1760)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-22 21:15:30 +08:00
luoxx 55887343f9
Add Redis cache store for distributed deployment (#1751)
* add new cache way - redis

* Optimize redis operation

* Remove public from CacheWrapper class

* add redis cache unit test

* refactor: test case for redis cache store

Co-authored-by: guqing <1484563614@qq.com>
2022-03-18 11:07:51 +08:00
Ryan Wang 8c9499ceaf
release: 1.5.0-beta.1 (#1749)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-14 21:29:50 +08:00
John Niang 628eb2f1ae
Reverse theme required version compatibility check (#1747)
Signed-off-by: johnniang <johnniang@fastmail.com>
2022-03-14 21:12:05 +08:00
guqing 1713be8daf
Support receiving rendering results for journal(#1739) 2022-03-11 17:37:34 +08:00
Ryan Wang e692cb3186
release: 1.5.0-alpha.3 (#1730)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-09 21:15:58 +08:00
guqing d0ca7bd9d0
feat: Add comment assembler for theme render (#1729)
* feat: Add comment assembler for theme render

* fix: code style

* fix: page converter

* refactor: clear sensitive field value
2022-03-09 19:19:49 +08:00
guqing 7d4075eb3a
refactor: Use Assembler to replace the original converter (#1724) 2022-03-09 14:19:05 +08:00
guqing f733fbea7c
fix: No EntityManager with actual transaction available for current thread when remove method called (#1716) 2022-03-09 12:15:34 +08:00
guqing f43fa562d7
fix: Content not found exception when empty sheet deleted (#1715) 2022-03-07 17:58:13 +08:00
John Niang 03006e8f35
Fix the problem of theme version compatibility (#1705) 2022-03-05 20:24:03 +08:00
Ryan Wang b6dc37b6f6
release: 1.5.0-alpha.2 (#1703)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-04 20:39:13 +08:00
lan-yonghui 5a5e88d157
Fix the initialization of birthday (#1701)
* fix: The initial value of birthday in PrimaryProperties file is 0, and the initial number of days for blog creation is 19053
2022-03-04 18:14:38 +08:00
guqing c9f7bd1abb
Refactoring exception throw for backup import (#1698)
* refactor: blog import exception
2022-03-03 17:06:08 +08:00
guqing d438163c04
Add post backup for contents and content_patch_logs (#1669)
* feat: Add post backup for contents and content_patch_logs
2022-03-03 11:27:25 +08:00
guqing 68d263bef3
Add assembler for post and sheet to replace service convert (#1691) 2022-03-03 11:15:56 +08:00
guqing 52b3e4f605
Fix the problem jsonToCacheWrapper crashes when cache value is not JSON format (#1695)
* fix: json to cache wrapper convertor when other exception

* feat: Add test case for level cache
2022-03-02 18:06:54 +08:00
lan-yonghui 4354991a9e
fix: Remove the code that filters empty strings from the properties file
* fix: Remove the code that filters empty strings from the properties file.
* blog birthday default value set "0"
2022-03-02 16:36:20 +08:00
guqing 4d71185066
fix: leak of version number inference when create or update content patch (#1690) 2022-03-02 13:40:19 +08:00
guqing 4f1a3c5f0b
refactor: post and cateogry authentication (#1678) 2022-03-01 13:32:52 +08:00
扶醉 5064837cf8
Fix the problem post and sheet contents are empty in the content API (#1686)
* fix: Post and sheet content is empty in the Content API
2022-02-27 15:47:54 +08:00
Ryan Wang 567ad5ef46
chore: sync default theme repo (#1682)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-25 20:42:47 +08:00
Ryan Wang a94dd8df7b
feat: add api for update photos in batch (#1679)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-25 16:09:30 +08:00
Ryan Wang 5959fdfa2d feat: add api for delete photos in batch
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-25 15:55:11 +08:00
Ryan Wang 631b2149d3
release: 1.5.0-alpha.1 (#1671)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 23:45:20 +08:00
guqing d889a08833
Add keep-raw option to decide how to render post (#1668)
* feat: Content add front-end rendering options and refactor post params

* feat: add default value for serverSidemarkdownRender

* refactor: content save api

* fix: generate summary

* refactor: remove useless server-side markdown render code

* refactor: allow the formatContent to be empty

* refactor: Rename serverSideMarkdownRender to keepRaw

* refactor: Rename test case
2022-02-21 22:50:35 +08:00
guqing 923eb17577
Support post content version control (#1617)
* feat: split post content to new table and support content version control

* feat: Improve post version management

* feat: Add post content and version record deletion

* feat: Add isInProcess attribute for post list and detail api

* feat: Add migrate sql script

* fix: Add a sql of allow origin_content to null in posts table

* feat: Assign a value to the source of the post content version record
2022-02-20 20:34:56 +08:00
Ryan Wang 1ee7b58ef1
Add password reset field verification (#1636)
* perf: add password reset field verification

Signed-off-by: Ryan Wang <i@ryanc.cc>

* feat: add unit test case

Co-authored-by: guqing <1484563614@qq.com>
2022-02-20 10:30:42 +08:00
guqing acf6a98d25
Add an API to update categories in batch (#1657)
* feat: Add a api of update categories in batch

* fix: filter condition
2022-02-18 15:50:02 +08:00
guqing 15bde8eef7
Add APIs to fetch theme info and settings according to the theme id (#1660) 2022-02-18 14:08:36 +08:00
lan-yonghui d961a5e8a5
feat: add priority field into category table (#1650)
* feat: 分类增加排序字段

* style: Optimize and change categories sorting codes

* style: delete sql file

* style: update categories priority default value 0

* style: Optimize categories priority default value
2022-02-15 17:50:37 +08:00
John Niang 2249ef1103
Fix the problem where the activated field was not set correctly for a theme property (#1632)
Signed-off-by: John Niang <johnniang@fastmail.com>
2022-01-16 13:30:09 +08:00
Ryan Wang f83389ca4c
chore: sync default theme (#1621) 2022-01-11 11:19:25 +08:00
guqing 9ddd74b74b
Include posts that under the subcategories when getting posts b… (#1567)
* feat: include posts that under the subcategories when getting posts by category

* refactor: list as tree

* fix: can nott query the problem of encrypted category

* refactor: post count under the category

* fix: list all by parent id
2021-12-21 23:35:42 +08:00