Commit Graph

2140 Commits (1f75ba09f8c1f3ad6b3514299508bcd8ab1270d6)

Author SHA1 Message Date
Ryan Wang 11cc0d27b9 chore: remove unnecessary files. 2021-06-29 22:55:27 +08:00
Ryan Wang 2420a44695
fix: #1409 (#1410) 2021-06-29 22:31:45 +08:00
Ryan Wang 4aec84f0a6 chore: add auto assign app config file. 2021-06-29 22:18:21 +08:00
guqing 5be4b83799
feat: markdown supports footnote rendering (#1406)
* feat: MarkDown supports footnote rendering

* fix: code style

* feat: Flexmark footnote rendering adapts to markdown-it

* feat: Adaptation markdown-it-footnote back-ref button rendering and add test

* fix: Fix doc

* refactor: FootnoteNodeRenderInterceptorTest

* fix: Fix test code style

* refactor: change footnote back ref string

* refactor: remove unicode
2021-06-29 13:27:58 +08:00
Ryan Wang f4807b5b56
chore(deps): upgrade spring-boot to 2.5.1 (#1401) 2021-06-20 16:35:49 +08:00
Ryan Wang 5539cf12f4
fix(security): freemarker SSTI vulnerability. (#1402) 2021-06-20 16:35:34 +08:00
Ryan Wang e72fe2179a
fix: #1394 (#1396) 2021-06-11 23:45:37 +08:00
linshenkx 9de40a0a1c
Repair multi-level category incorrect handle while importing markdown(#1380)
* 修复导入markdown时多级分类无法正确识别的问题

* 1.修复导入markdown对单行多tag的支持
2.添加导入markdown时对单引号的正确识别和处理
3.添加导入hexo的markdown的分类列表、标签列表无缩进的支持
4.完善导入markdown文档的测试用例
2021-06-01 23:05:17 +08:00
Ryan Wang 0ade01c518
fix: #1386 (#1390) 2021-06-01 20:24:08 +08:00
John Niang 1f89ba0ed2
Upgrade SpringBoot to 2.5.0 (#1389) 2021-05-28 08:41:07 +08:00
Ryan Wang 77824d50e3
Fix github actions build. (#1377)
* chore: fix github actions build.

* test: github actions
2021-05-27 13:45:58 +08:00
zhaoguhong 27c715ac7f
fix: intimate posts should not be searchable in the category list (#1379) 2021-05-20 18:03:09 +08:00
CuiYuSong 4c68ae9e89
feat: modify the content api to support list posts with keyword and category params. (#1373)
* Modefy the content api to support list posts with new class PostQueryContent

* Modefy the content api to support list posts with new class PostQueryContent

* using parameters

* with categoryid

* checkstyle

Co-authored-by: Cui <11811305@mail.sustech.edu.cn>
2021-05-17 21:38:45 +08:00
Ryan Wang 0dff0e9ce5
chore(deps): upgrade to spring boot 2.5.0-RC.1. (#1376) 2021-05-17 20:22:04 +08:00
Ryan Wang 21a576e5fa
doc: update README.md 2021-05-16 17:12:49 +08:00
Ryan Wang a2c9e42970
fix: checkstyle error. (#1375) 2021-05-16 17:03:58 +08:00
MasterWanna 15381e655e
Word count for markdown updated with test (#1354)
* Word count for markdown updated with test

* HTML word count updated with test

* Convert pattern to static final variable

* More HTML test added

* Workaround URL added

* CS304 issue link URL added

* Pure HTML Test added, checkstyle checked

Co-authored-by: MasterWanna <MasterWanna@users.noreply.github.com>
2021-05-02 13:10:17 +08:00
Ryan Wang c2f382bc05
Update README.md 2021-04-29 23:55:01 +08:00
Ryan Wang 9f9f1e3428
Update README.md 2021-04-23 22:13:57 +08:00
Ryan Wang c07f4e8fe1
Update README.md 2021-04-23 22:13:04 +08:00
扶醉 bec10e9066
fix: Returns the result in the content api for options getby (#1353) 2021-04-15 00:57:40 +08:00
Ryan Wang 9ccd19bfc6 doc: update readme. 2021-04-15 00:02:37 +08:00
Ryan Wang a5a5bdbe43 doc: update readme. 2021-04-14 22:51:51 +08:00
Ryan Wang 25bb253e82 release: 1.4.8 2021-04-09 15:15:23 +08:00
John Niang 47c2c36460
Add OptionFilter for bulk option api (#1345)
* Add OptionFilter for bulk option api

* Add another filter method for single option

* Restrict OptionController response

* Remove redundant api

* feat: complete private option keys.

* feat: complete private option keys.

Co-authored-by: Ryan Wang <i@ryanc.cc>
2021-04-09 13:19:15 +08:00
Lay 6ac9c7d231
pref: RSS/Atom (#1342)
* 1.Add the lastBuildDate in RSS.
2.Add the updated in Atom.
3.Change the date format in RSS and Atom
4.Add the lastModified in the response header.

* fix code style
2021-04-08 16:28:57 +08:00
Ryan Wang 1a3254deba
revert: #1297 (#1343) 2021-04-08 15:07:41 +08:00
Ryan Wang eed1ef379d
chore(deps): upgrade ali oss sdk dependency. (#1335) 2021-03-29 23:32:59 +08:00
Ryan Wang 9ba9dc40cc
chore: remove deprecated code. (#1334) 2021-03-29 16:57:21 +08:00
Ryan Wang 359c01c361
feat: add gravatar source field for comment options api. (#1333) 2021-03-29 12:02:41 +08:00
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