Commit Graph

2115 Commits (1d25a58767bb47984a97d86c761b5f71c8ad62ae)

Author SHA1 Message Date
guqing 1d25a58767
chore: Upgrade springboot to 2.5.11 (#1792) 2022-03-30 17:06:17 +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
halo-ci-bot[bot] d47022ac31
Merge pull request #1764 from guqing/refactor/ci-actions
refactor: Remove github workflows configs about CI
2022-03-23 15:21:09 +00:00
John Niang e0f6e41f7a
Create OWNERS (#1766) 2022-03-23 20:42:43 +08:00
guqing 35df6f6423 refactor: Remove github workflows configs about CI 2022-03-23 17:19:07 +08:00
Ryan Wang c46fd5474d
doc: update download links (#1761)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-23 13:10:48 +08: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 a450868140
doc: update readme badges
doc: update readme badges
2022-03-09 11:56:40 +08:00
Ryan Wang 10e26ca103 doc: update readme badges
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-09 10:43:18 +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
John Niang 9897999e51
Disable standard streams of test logging (#1706)
* Disable standard streams of test logging
2022-03-05 20:18:30 +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 0f33ee167c
Upgrade gradle 7.0 to 7.4 (#1697) 2022-03-03 11:24:26 +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 c306586778
chore: bump Spring Boot to 2.5.10 (#1677)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-26 12:30:34 +08:00
PONGSKY 4bfc3c0228
Revert dependency of minio-java to 7.1.4 (#1666)
* fix: 降低 minio 版本,回滚至与 springboot 相对应的 okhttp 依赖版本
2022-02-25 21:24:56 +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
guqing 89c0cb5fb9
Merge pull request #1680 from ruibaby/feat/api-for-delete-photo-in-batch
feat: add api for delete photos in batch
2022-02-25 16:08:49 +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
Ryan Wang 94d718c085
doc: update CHANGELOG.md (#1670)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 23:33:17 +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 2ff45600c4
Bump spring boot to 2.5.9 (#1635)
Signed-off-by: johnniang <johnniang@fastmail.com>
2022-01-23 23:31:27 +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