Commit Graph

1977 Commits (0dff0e9ce53f55419e4acc9282dcc1a8b2083bb4)

Author SHA1 Message Date
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 683caf7a85
fix: #1082 (#1083) 2020-09-25 09:24:23 +08:00
Ryan Wang a69168e764 release: 1.4.0 2020-09-24 00:20:50 +08:00
John Niang 845fe1114f
Fix handling root theme folder unexpectedly (#1081)
* Fix handling root theme folder unexpectedly

* Ignore .git folder while finding root path
2020-09-24 00:16:02 +08:00
John Niang d0568686c0
Fix theme zip file upload bug and provide finding root folder function (#1080)
* Fix theme zip file upload bug and provide finding root folder function

* Update ThemeServiceImpl.java

Co-authored-by: Ryan Wang <i@ryanc.cc>
2020-09-23 20:20:52 +08:00
Ryan Wang fc5742eae8
chore: remove hazelcast cache store. (#1076) 2020-09-22 01:20:05 +08:00
manjusaka d60a940a62
Update BaseCommentParam.java (#1072)
兼容微信头像长度
2020-09-18 08:27:24 +08:00
王存露 ed46ab7031
fix: #1068 (#1070)
* fix: #1068

* add: ThemeSettingService.save add SERIALIZABLE level

* add: saveSettingsByThemeId Api add @CacheLock
2020-09-15 00:13:01 +08:00
王存露 504e6e187e
fix: #897 && fix: halo-dev/halo-admin#236 (#1057)
* fix: #897

* fix: 网站备份时,上级目录不存在的问题 (#1056)

* 增加网站备份,临时文件不存在时创建

* 增加数据导出,临时文件不存在时创建

* 修改整站备份,数据导出,临时文件不存在时创建

* add: file upload unit test

* change : FileHandlersTest.java file format

* feat: #1065 (#1066)

* feat: #1065

* feat: #1065

* fix: #897

* add: file upload unit test

* change : FileHandlersTest.java file format

* fix: https://github.com/halo-dev/halo-admin/issues/236

* delete : FileHandlersTest.java
change : FilenameUtilsTest.java add file name double suffix test

Co-authored-by: bruin-sxk <45200590+bruin-sxk@users.noreply.github.com>
Co-authored-by: Ryan Wang <i@ryanc.cc>
2020-09-14 13:14:59 +08:00
Ryan Wang ac8b43a30e
feat: #1065 (#1066)
* feat: #1065

* feat: #1065
2020-09-13 10:29:51 +08:00
bruin-sxk 236b3c418f
fix: 网站备份时,上级目录不存在的问题 (#1056)
* 增加网站备份,临时文件不存在时创建

* 增加数据导出,临时文件不存在时创建

* 修改整站备份,数据导出,临时文件不存在时创建
2020-09-12 17:54:45 +08:00
Ryan Wang dd4c602526 release: 1.4.0-beta.3 2020-09-06 20:53:38 +08:00
Turgay Can 437d4bd81b
Add hazelcast cache store, revised the cache implementation (#1047)
* Add hazelcast cache store, revised the cache implementation

* Remove unsued import

Co-authored-by: Turgay Can <turgay.can@inomera.com>
2020-08-29 14:28:55 +08:00
宅家小能手 8c948fd670
feat: 通过 slug 获取 sheet 或者文章 (#1044)
*  Feat: 通过fullpath获取sheet或者文章

* 🚀 Deploy: Fix CI

*  Feat: 通过slug获取文章详情

* 🔨 Refactor: 删除多余的import

* ️ Update: 重写自定义页面的接口,只使用slug获取页面

* Update: Remove unused import
2020-08-28 00:08:19 +08:00
Ryan Wang 6f88eeda32
typo: change theme repos url. (#1041) 2020-08-23 22:37:39 +08:00
John Niang 60ad4dad80
Fix an error about version comparision in development environment (#1039)
* Let unknown version as maximum version

* Fix VersionUtilTest error

* Remove deprecated version comparision method and related test
2020-08-23 17:47:52 +08:00
zhixiangyuan a318abcdc2
fix: #1022 (#1025)
Co-authored-by: xiangbei.yzx <xiangbei.yzx@alibaba-inc.com>
2020-08-10 23:04:47 +08:00
Junyi Ao 3f2fefaf22
pref: 预览草稿时,不会增加访问量 (#834) 2020-08-06 22:35:30 +08:00
ruibaby 782079dc9f release: 1.4.0-beta.2 2020-08-04 21:53:48 +08:00
John Niang 3bfb60d5fb
Enable beta version comparable (#1011)
* Ensure whitespace after comma

* Provide version resolver

* Make version comparable

* Refactor version util with version resolver
2020-08-03 02:07:03 +08:00
John Niang 60b2527003
Reformat all codes with newly checkstyle(more strict indentation check) (#1009)
* Reformat all codes with newly checkstyle

* Fix invalid indentation of code comment

* Fix indentation error of test source codes
2020-08-02 09:41:36 +08:00
Ryan Wang 21ed13aff6
fix: #988 (#1008)
* fix: #988

* refactor: word count

* refactor: word count.

* fix: index posts sort field.
2020-08-01 23:58:35 +08:00
OlegPt d824ccac29
fix: the problem of no spaces in the summary (#1003) 2020-08-01 23:18:45 +08:00
coortop 41edec8213
feat: 文章表添加字数统计字段,主题可使用${post.wordCount}调用 (#965) 2020-07-21 21:58:04 +08:00
Aaro0n 0dbbef919c
fix error description (#983) 2020-07-20 14:20:15 +08:00
zhixiangyuan 91a54a4bb3
fix: #975 (#977)
* chore: build.gradle add mavenLocal()(#975)

* feat: markdown import compatible with hugo(#975)
2020-07-19 23:09:38 +08:00
ruibaby 46000fd0d0 release: 1.4.0-beta.1 2020-07-19 22:43:28 +08:00
Ryan Wang 69018e85d3
fix: #853 (#979) 2020-07-19 22:04:43 +08:00
Ryan Wang 23789b7acd
fix: #822 (#981) 2020-07-19 22:04:31 +08:00
John Niang 50b19f8d3a
pref: make some unnecessary error detail hide (#962) 2020-07-14 00:57:24 +08:00
John Niang 7a71c85862
Add iterable objects validation (#970) 2020-07-14 00:15:16 +08:00
Ryan Wang 83d4ca1565
chore: add zxing dependency. (#960) 2020-07-11 16:57:24 +08:00
sheiy d4b23afb55
pref: 如果系统设置了http代理则创建httpClient时设置代理 (#956)
* 修改缓存时长

* 如果系统设置了http代理则创建httpClient时设置代理

* 如果系统设置了http代理则创建httpClient时设置代理

* 如果系统设置了http代理则创建httpClient时设置代理

* 如果系统设置了http代理则创建httpClient时设置代理

* 如果系统设置了http代理则创建httpClient时设置代理
添加注释

* 添加单元测试
没有useJUnitPlatform()单元测试跑不起来

* 修改单元测试,删除zxing的依赖

* 修正错误的http配置格式

Co-authored-by: Sheiy <35429674@qq.com>
2020-07-10 12:04:43 +08:00
sheiy feefebe07f
修改缓存时长 (#954) 2020-07-09 10:59:18 +08:00
coortop 8734e99445
perfect: Link random order display,listByRandom and listTeamsByRandom. (#952) 2020-07-09 01:08:21 +08:00
Li 65c1424086
fix #950 附件不存在时删除报错的问题 (#951) 2020-07-08 11:21:47 +08:00
John Niang 11f48781cb
Upgrade spring boot dependency and change some mockito tests (#943)
* Upgrade spring boot dependency and change some mockito tests

* Refactor all test with junit5

Co-authored-by: Ryan Wang <i@ryanc.cc>
2020-07-05 13:36:57 +08:00
Ryan Wang 10fc93569b
chore(deps): bump qiniu-java-sdk from 7.2.28 to 7.2.29 (#840)
Bumps [qiniu-java-sdk](https://github.com/qiniu/java-sdk) from 7.2.28 to 7.2.29.
- [Release notes](https://github.com/qiniu/java-sdk/releases)
- [Changelog](https://github.com/qiniu/java-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/qiniu/java-sdk/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-03 09:59:46 +08:00
dependabot-preview[bot] 1a39662f7f
chore(deps): bump flexmarkVersion from 0.62.0 to 0.62.2 (#895)
Bumps `flexmarkVersion` from 0.62.0 to 0.62.2.

Updates `flexmark` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-attributes` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-autolink` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-emoji` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-escaped-character` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-gfm-strikethrough` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-gfm-tasklist` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-ins` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-media-tags` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-tables` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-toc` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-superscript` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-yaml-front-matter` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Updates `flexmark-ext-gitlab` from 0.62.0 to 0.62.2
- [Release notes](https://github.com/vsch/flexmark-java/releases)
- [Commits](https://github.com/vsch/flexmark-java/compare/0.62.0...0.62.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-03 09:59:33 +08:00
dependabot-preview[bot] 5df85542ae
chore(deps): bump hutoolVersion from 5.3.3 to 5.3.8 (#921)
Bumps `hutoolVersion` from 5.3.3 to 5.3.8.

Updates `hutool-core` from 5.3.3 to 5.3.8
- [Release notes](https://github.com/looly/hutool/releases)
- [Changelog](https://github.com/looly/hutool/blob/v5-master/CHANGELOG.md)
- [Commits](https://github.com/looly/hutool/commits)

Updates `hutool-crypto` from 5.3.3 to 5.3.8
- [Release notes](https://github.com/looly/hutool/releases)
- [Changelog](https://github.com/looly/hutool/blob/v5-master/CHANGELOG.md)
- [Commits](https://github.com/looly/hutool/commits)

Updates `hutool-extra` from 5.3.3 to 5.3.8
- [Release notes](https://github.com/looly/hutool/releases)
- [Changelog](https://github.com/looly/hutool/blob/v5-master/CHANGELOG.md)
- [Commits](https://github.com/looly/hutool/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-03 09:59:01 +08:00
dependabot-preview[bot] 43836727b6
chore(deps): bump cos_api from 5.6.22 to 5.6.25 (#922)
Bumps [cos_api](https://github.com/tencentyun/cos-java-sdk-v5) from 5.6.22 to 5.6.25.
- [Release notes](https://github.com/tencentyun/cos-java-sdk-v5/releases)
- [Changelog](https://github.com/tencentyun/cos-java-sdk-v5/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tencentyun/cos-java-sdk-v5/commits/v5.6.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-03 09:58:50 +08:00
dependabot-preview[bot] 284942319f
chore(deps): bump flyway-core from 6.4.1 to 6.5.0 (#934)
Bumps [flyway-core](https://github.com/flyway/flyway) from 6.4.1 to 6.5.0.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](https://github.com/flyway/flyway/compare/flyway-6.4.1...flyway-6.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-03 09:58:31 +08:00
BigBang019 2b99bd599f
Fix issue #515 & #592 (#835)
* add release access and branch access(#515)

* add release and branch access(#515)

* always update to latest release(#515)

* #515

* #515

* add testcases(#515)

* fix 515

* fix 515

* deal with connection refused

* disable disk operation related test

* fix #592

* fix #515 & #592

* mockito test

* ignored network related test

* resolve conflict
2020-07-02 23:34:47 +08:00
Ryan Wang cd9aa23706
chore(deps): change undertow to jetty. (#942) 2020-07-02 00:38:35 +08:00
John Niang a179f4fc9c
Add top priority sort at post list in category and tag (#918) 2020-06-16 14:37:43 +08:00
John Niang aee79ef7b4
Remove restart feature (#917)
* Ignore application-local file

* Remove restart feature
2020-06-15 23:43:02 +08:00
John Niang 658f0a2b3f
fix: Fix startup exception and theme imports in dev environment (#916)
* Log error instead of throwing while starting halo

* Provide unknown version support

* Fix code format
2020-06-15 21:45:01 +08:00
John Niang 73362869b7
Perfect checkstyle.xml (#915) 2020-06-14 12:40:04 +08:00