Commit Graph

4318 Commits (4aec1ba8f62a1036b2968d1ee5c53616395f7ab8)

Author SHA1 Message Date
Ryan Wang cfa91c6541 fix: halo-dev/halo#1180 (halo-dev/console#277) 2021-01-04 17:56:30 +08:00
John Niang 7cb4f3464a
Replace travis ci with github action (#1212)
* 1196 refactor/ci (#3)

* Remove .travis.yml

* Refactor github action partially

* Fix yaml syntax error

* Add run command for every step

* Set current branch name into halo.yml temporarily

* Test validation.yml

* Add upload-release-asset step into release.yml

* Perfect release.yml

* Fix indent error

* Refactor on condition in release.yml

* Refactor on condition in validation.yml

* Fix release.yml

* Fix upload_url value set

* Fix environment set error

* Change artifact variable from output into global environment

* Fix deprecated environment set method

* Fix environment variable set error

* Change assert_content_type with application/zip

* Refactor upload release step

* Fix release id set

* Fix release id set again

* Fix syntax error

* Refactor upload process

* Refactor halo ci

* Make build step rely on check step

* Inspect docker action

* Inspect docker action again

* Refine bootBuildImage config

* Refactor bootBuildImage config and halo ci

* Fix download artifact path error

* Fix docker image name concat error

* Remove downloaded files inspect tips
2021-01-03 22:05:39 +08:00
Raremaa 8ba115ffb6
feat: add api for markdown export (#1199)
* add API for markdown-export

* add front-matter support

* optimize fileName for markdown-export

* fornt-matter与正文中间增加换行符
2020-12-27 23:58:52 +08:00
Ryan Wang 1df8a407b0 fix: mfa login. (halo-dev/console#276) 2020-12-26 20:53:38 +08:00
Ryan Wang 276aea4bdd
feat: #766 (#1210) 2020-12-25 22:02:50 +08:00
Ryan Wang 913bc6042e
fix: #1180 (#1209) 2020-12-25 22:00:31 +08:00
Ryan Wang 6b8cf2f57e
feat: #1160. (#1203) 2020-12-25 21:40:04 +08:00
Raremaa 625a89de77
fix: #1200 (#1207) 2020-12-25 21:36:39 +08:00
Ryan Wang cf220976ed feat: #1101 (halo-dev/console#275) 2020-12-24 22:53:12 +08:00
John Niang 6fb65d0128
Make more friendly error track (#1191)
* 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
2020-12-12 23:47:06 +08:00
Ryan Wang 9951a83ad6
chore: remove redis cache store (#1190)
* chore: remove redis cache store.

* chore: remove redis cache store.

* chore: update build.gradle.
2020-12-09 10:44:40 +08:00
Ryan Wang 8e32dbe397 fix: halo-dev/halo#1157 (halo-dev/console#273) 2020-12-08 09:59:49 +08:00
Ryan Wang 87646a214e pref: add page load progress bar. (halo-dev/console#272) 2020-12-08 09:59:25 +08:00
John Niang 30e28b5257
Upgrade dependencies (#1184)
* 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
2020-12-08 01:20:19 +08:00
Ryan Wang 37826536b6 feat: halo-dev/halo#1174 (halo-dev/console#270) 2020-12-02 10:24:38 +08:00
Ryan Wang 7c0be43c0d
feat: #1158 (#1176) 2020-12-02 10:24:14 +08:00
Ryan Wang 7de339571d
feat: #1174 (#1177) 2020-12-02 10:23:49 +08:00
Ryan Wang c306b90fb9 feat: halo-dev/halo#1103 (halo-dev/console#269) 2020-12-01 14:11:15 +08:00
Ryan Wang dccd213e72
feat: #1103 (#1173) 2020-12-01 14:11:11 +08:00
Ryan Wang a05c74ae38
Update README.md 2020-11-29 00:49:49 +08:00
Li 558c1e03fc fix(menu): 对菜单做了一些调整和优化。 (halo-dev/console#267)
* fix(menu): 对菜单做了一些调整和优化。

1. 删除了菜单的动画效果
2. 当拖拽到菜单底部时,会触发滚动效果
3. 现在拖为子节点会方便那么一点(也不是很完美)
4. 当菜单头不在可视区域时,会触发跟随,不需要拖拽完菜单还需要返回顶部再保存了。

* pref: add animation for menu drag.

Co-authored-by: Ryan Wang <i@ryanc.cc>
2020-11-24 11:10:50 +08:00
Ryan Wang 6c04d5a30d
doc: update swagger contact email. (#1147) 2020-11-12 02:20:14 +08:00
GalvinGao 400d7f7218
Create SECURITY.md (#1144) 2020-11-11 11:03:11 +08:00
Ryan Wang fa3fad1725 release: 1.4.2 2020-11-02 23:33:44 +08:00
Ryan Wang 7abb68f60f release: 1.4.2 2020-11-02 23:11:01 +08:00
Joel Allred 7b40d1643a
Add useJunitPlatform() to build.gradle (#1130)
This is required for the JUnit tests to run.

Source:
https://docs.gradle.org/current/userguide/java_testing.html#using_junit5
2020-11-02 22:51:52 +08:00
Ryan Wang 1de3f79944 feat: halo-dev/halo#1119 (halo-dev/console#264) 2020-11-02 22:35:48 +08:00
John Niang 92eda2faf8
Fix failing tests (#1131) 2020-11-02 22:35:40 +08:00
Ryan Wang c9ce7d29fd
feat: #1119 (#1120)
* feat: #1119

* feat: #1119

* pref: allows multiple same menus.

* feat: support create menu in batch.

* feat: support delete menu in batch.

* feat: #1119
2020-11-02 22:33:23 +08:00
Wh1te 1083a90aa9 feat: add automatic cleaning recycled posts configurations (halo-dev/console#263) 2020-10-25 21:33:19 +08:00
Wh1te ff734ed153
feat: support automatic cleaning recycled posts. #1031 (#1114) 2020-10-25 21:23:14 +08:00
johnwonder b5f742582c
fix bug #1085 (#1122)
* fix bug #1085

* move exclude to Application class

* enable multipart configuration

* fixt multipart config error and catch MaxUploadSizeExceededException

* fix checkstyle error

* fix if not followed by whitespace

* fix checkstyle error

* modify multipart exception handling to  global exception handling

* remove unnecessary catch

* remove unnecessary catch
2020-10-25 13:56:01 +08:00
John Niang 2ca92b5391
Refactor AbstractConverter constructor (#1110) 2020-10-14 23:42:33 +08:00
Wh1te fcb6d52c26 feat: 删除主题时可选是否删除配置 (halo-dev/console#262) 2020-10-12 22:30:45 +08:00
Wh1te 036644bf10
feat: 删除主题时可选是否删除配置 (#1105)
* feat: 删除主题时可选是否删除配置

* doc: add java doc for run/halo/app/repository/ThemeSettingRepository.java#deleteByThemeId

Co-authored-by: Ryan Wang <i@ryanc.cc>
2020-10-12 22:30:31 +08:00
Ryan Wang 5520baf046
fix: #1098 (#1099) 2020-10-07 16:00:46 +08:00
Wh1te a0ad14b5fe feat: add MinIO support for attachment management (halo-dev/console#261) 2020-10-07 10:53:15 +08:00
Wh1te ab74d8c28b
feat: add MinIO support for attachment management. #1024 (#1097) 2020-10-07 10:52:20 +08:00
Wh1te 72ad0937b5 feat: add post permalink type: YEAR (halo-dev/console#260) 2020-10-01 10:50:33 +08:00
Wh1te a4da9a7d58
feat: 文章固定链接类型增加年型 #1026 (#1095) 2020-10-01 10:29:20 +08:00
Wh1te e58d8fbe73
feat: 添加或修改友链时校验 name 和 url 是否重复 (#997) (#1079) 2020-09-30 00:25:26 +08:00
Dylan·Yuan 868efecdce
pref: 添加错误码&修改过时方法 (#1089) 2020-09-30 00:15:55 +08:00
OnFr d3953fe864
fix: #1028 (#1094) 2020-09-30 00:06:01 +08:00
Ryan Wang 5828516733 release: 1.4.1 2020-09-29 23:58:51 +08:00
Ryan Wang 0844494bea release: 1.4.1 2020-09-29 23:48:53 +08:00
Ryan Wang 67a3cf0654 refactor: photo manage. (halo-dev/console#258) 2020-09-26 22:30:20 +08:00
Ryan Wang 5557429910 fix: #247 (halo-dev/console#257) 2020-09-26 19:32:46 +08:00
Ryan Wang ce46fee0bb chore: remove moment dependency. (halo-dev/console#256) 2020-09-25 23:07:58 +08:00
Ryan Wang 75cd1476c8 fix: content block padding error. (halo-dev/console#254) 2020-09-25 09:24:48 +08:00
Ryan Wang 683caf7a85
fix: #1082 (#1083) 2020-09-25 09:24:23 +08:00