* 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>
* 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>
* 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>
* 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
* 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>
* 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>
* 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
* Update gradle wrapper version to 6.6.1
* Upgrade h2 version to 1.4.197
* Make controller log more details
* Refactor FileHandler
* Fix image reader error
* Update spring boot version and source compatibility version
* Rearrange some configs
* Upgrade swagger to 3.0.0
* Make swagger configurable
* Make swagger-ui.html path backward compatible
* Change jdk version into 11 in ci/cd scripts and Dockerfile
* feat: #1119
* feat: #1119
* pref: allows multiple same menus.
* feat: support create menu in batch.
* feat: support delete menu in batch.
* feat: #1119
* feat: 删除主题时可选是否删除配置
* doc: add java doc for run/halo/app/repository/ThemeSettingRepository.java#deleteByThemeId
Co-authored-by: Ryan Wang <i@ryanc.cc>