Commit Graph

2160 Commits (567c8a29711719ac52c65435d2a7f44e405d2bf5)

Author SHA1 Message Date
Ryan Wang 602f1704a1
fix: incorrect number of children comment. (#1332) 2021-03-28 22:11:34 +08:00
Ryan Wang f9a629c38f
feat: #1036 (#1331)
* feat: #1036

* revert: BaseCommentRepository.
2021-03-28 20:22:54 +08:00
Ryan Wang f0ba0fa606
fix: #1311 (#1327) 2021-03-28 11:21:47 +08:00
John Niang 8472a7b3d5
Automate attribute converter (#1325)
* Deprecate AbstractConverter

* Remove unused enum and attribute converter

* Add AttributeConverterApplyTest

* Add JpaConfiguration

* Add AttributeConverterAutoGenerator

* Integrate automate-attribute-converter

* Rename JpaConfiguration

* Remove useless attribute converters

* Exclude property enums for auto-generating

* Refine JournalType definition

* Fix an error about existing injected type
2021-03-27 23:05:27 +08:00
Ryan Wang e6b32ac8c2
feat: enable swagger configuration in development. (#1328) 2021-03-27 15:32:26 +08:00
Ryan Wang 444e649169 Merge branch '1.4.x' 2021-03-27 12:02:47 +08:00
John Niang a3033f294e
Upgrade to Spring Boot 2.5.0-M3 (#1324) 2021-03-27 10:46:47 +08:00
肥鱼先生 cdb7e2cdc1
style: set the color of log to default after banner (#1321) 2021-03-24 00:50:44 +08:00
知雨 54b409ac2b
feat: add index page to sitemap.xml (#1318) 2021-03-17 18:31:57 +08:00
Ryan Wang 30c50f61f8 release: 1.4.7 2021-03-14 12:53:07 +08:00
Ryan Wang a72131de85 release: 1.4.7-beta.1 2021-03-14 12:34:56 +08:00
Ryan Wang 3235179ac2
feat: #1313 (#1315) 2021-03-14 11:49:10 +08:00
Ryan Wang 8e9f8007ca release: 1.4.6. 2021-03-07 22:42:08 +08:00
John Niang 7ba2377ae8
Remove random theme folder generation (#1305) 2021-03-07 22:39:38 +08:00
John Niang caab2f3b93
Refactor system configuration (#1303)
* Refactor application*.yml

* Remove application-user.yaml

* Fix invalid config for aspect
2021-03-07 21:43:18 +08:00
Ryan Wang c6a8757436
chore: sync default theme. (#1304) 2021-03-07 21:31:57 +08:00
John Niang 2b7ae41c02
Fix error about response committed (#1301)
* Add index page request test

* Add test for first page request

* Create session before requesting content
2021-03-07 15:48:24 +08:00
John Niang 38093df0c0
Fix error for updating activated theme (#1300) 2021-03-07 11:38:11 +08:00
John Niang 3019fe0d34
Make more tolerant of reading image (#1298) 2021-03-06 01:10:52 +08:00
John Niang c22348e03a
Upgrade spring boot version (#1289)
* Update gradle wrapper version

* Update spring boot version to 2.5.0-M2

* Fix wrong const of temp_dir

* Refactor error controller

* Fix startup error due to theme not found

* Refine error controller handler

* Refine multipart resolver config

* Fix ThemeRepositoryImplTest error

* Fix freemarker not found error

* chore: change jetty to undertow.

* Remove useless throws

Co-authored-by: Ryan Wang <i@ryanc.cc>
2021-03-06 00:58:12 +08:00
Li 696a9ad2ee
feat: 扩展 freemarker 实现 block (#1295)
* fix #950 附件不存在时删除报错的问题

* pref: 扩展 freemarker 增加 block 功能

close #1292

* checkStyle

* add unit test

* update test
2021-03-05 23:37:02 +08:00
Ryan Wang 3571b3f0af
pref: init default theme. (#1297) 2021-03-05 23:36:39 +08:00
Ryan Wang 97b3dab5c9
Update FUNDING.yml 2021-03-03 09:48:40 +08:00
Ryan Wang ae73515537
pref: #1050 (#1287) 2021-02-27 13:34:37 +08:00
John Niang 65ed8b84af
Cache current theme in theme repository (#1286) 2021-02-25 22:39:40 +08:00
Ryan Wang 29466c5c76
fix: theme update by upload. (#1284) 2021-02-25 20:32:39 +08:00
Ryan Wang 867d1703ae
feat: support import user. (#1283) 2021-02-24 18:21:24 +08:00
Ryan Wang a848b734b7
fix: fetch work dir backup api. (#1282) 2021-02-22 09:22:23 +08:00
John Niang b412d5da2d
Fix incorrect cache lock of journal like api (#1279) 2021-02-19 23:32:57 +08:00
John Niang b57712e23e
Provide backup dto fetch api (#1278)
* Fix swagger security reference config error

* Add backup dto fetch api

* Rearrange fetch api
2021-02-19 23:26:17 +08:00
John Niang 49a461f245
Fix Page response model inconsistent in swagger ui (#1277) 2021-02-19 21:35:37 +08:00
Elvys Soares cdc15942cf
pref: grouping assertions (#1273)
* Grouping assertions

Signed-off-by: Elvys Soares <eas5@cin.ufpe.br>

* Grouping assertions

Signed-off-by: Elvys Soares <eas5@cin.ufpe.br>

* Grouping assertions

Signed-off-by: Elvys Soares <eas5@cin.ufpe.br>

* fix: code style check.

Co-authored-by: Ryan Wang <i@ryanc.cc>
2021-02-19 21:14:51 +08:00
Ryan Wang b591595541 release: 1.4.5. 2021-02-08 20:20:06 +08:00
Ryan Wang d508948dea
pref: sitemap.xml (#1267) 2021-02-08 19:56:36 +08:00
Ryan Wang 48ca0492d1
pref: journals likes api. (#1266) 2021-02-08 19:24:07 +08:00
Ryan Wang f567b94f91
fix: category authentication redirect url. (#1264) 2021-02-08 19:22:20 +08:00
Ryan Wang d509305998 release: 1.4.4. 2021-02-07 21:26:08 +08:00
Ryan Wang 92503e3822
fix: #1255. (#1256)
* fix: #1255.

* fix: #1255.
2021-02-05 23:22:04 +08:00
zhixiangyuan 7b88fcab5f
feat: #1225 (#1235)
* feat: #1225

* fix: compatible with jdk1.8

* fix: format code

* fix: fix the problem that the status of the recycle bin file is incorrect when revocering

* fix: format code

* fix: format code

* fix: fix the post cannot be converted to recyling mode

* fix: post cannot be published on deleting the category password

* fix: fix jpa error

* fix: format code

* fix: encryption type extracted into enum

* fix: format code

* fix: format code

* fix: changes requested

* fix: format code

* fix: revert checkstyle.xml

* fix: change request

* fix: not encrypt 方法改为重载方法

* fix: 修复因调整 git 版本被回退的代码

Co-authored-by: xiangbei.yzx <xiangbei.yzx@alibaba-inc.com>
2021-01-31 14:48:52 +08:00
Ryan Wang f28d833fa8
Update README.md 2021-01-28 10:45:01 +08:00
Ryan Wang f6ef7f207c
Update README.md 2021-01-28 09:36:17 +08:00
Ryan Wang a854adf53a release: 1.4.3. 2021-01-28 00:46:35 +08:00
Ryan Wang bbde1a7727
doc: add document website. (#1215)
* doc: add document website.

* doc: add document website.

* doc: add document website.
2021-01-28 00:42:16 +08:00
Ryan Wang d4b0e097cb release: 1.4.3-beta.2. 2021-01-28 00:26:47 +08:00
Ryan Wang 17b847082a
fix: unable to access custom sheet. (#1246) 2021-01-28 00:20:46 +08:00
John Niang be5c60083c
Fix folder copy error: ProviderMismatchException (#1249) 2021-01-28 00:19:22 +08:00
John Niang bcf26fdc50
Refactor Dockerfile with layered jar (#1248)
* Refactor Dockerfile with layered jar

* Add projectVersion print task

* Refactor docker build process

* Remove aliyun maven mirror

* Correct multi platforms list

* Correct multi platforms list again

* Make docker platforms configurable
2021-01-27 23:55:57 +08:00
John Niang 30c9baf92b
Fix theme updation error (#1217)
* Make rest controller loggable

* Refactor pull from git process

* Replace Callback interface with Consumer

* Tag theme fetch apis and services deprecated

* Add getAllBranchesTest

* Refactor theme fetcher partially

* Refactor theme property scanner

* Add ThemeFetcherComposite

* Add InputStreamThemeFetcher

* Accomplish multipart zip file theme fetcher

* Reformat ThemeServiceImpl

* Reformat codes

* Provide ThemeRepository

* Complete MultipartFileThemeUpdater

* Make CommonsMultipartResolver support put request method

* Replace some methods with ThemeRepository

* Add GitThemeUpdater

* Add merge two local repo test

* Refine merge process with two repos

* Add more test entry point in GitTest

* Add shutdown hook after creating temporary directory

* Add test: find commit by tag

* Refactor git clone process in GitThemeFetcher

* Refine merge process of two repo

* Make sure that RevWalk closed

* Fix FileUtils#findRootPath bug

* Add clean task before gradle check

* Add fallback theme fetcher

* Disable logback-test.xml

* Set testLogging.showStandardStreams with true

* Fix test error while missing halo-test folder

* Enhance git theme fetcher

* Add copy hidden folder test

* Refine GitThemeFetcherTest

* Accomplish GitThemeUpdater

* Accomplish theme update

* Fix checkstyle error

* Add more deprecated details
2021-01-27 00:16:31 +08:00
Ryan Wang eaa3a80358
Update README.md 2021-01-25 23:13:56 +08:00
Ryan Wang 305b62c0e4 release: 1.4.3-beta.2. 2021-01-25 22:00:27 +08:00