Commit Graph

2146 Commits (508c41b0fc7064065d3a7c61b3bb1a20b985c830)

Author SHA1 Message Date
guqing 9801bc7a20
Fixed the problem that copying the default theme at halo startup did not use themeId as the theme folder name (#1549)
* fix: 1547

* refactor: replace the string magic value using a static constant
2021-12-03 10:21:55 +08:00
John Niang 603c4c6eee
chore: add cherry_pick_pull.sh for cherry-picking pull request (#1554)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-12-03 10:21:24 +08:00
Mingjie Shao b301c8e074
Mark email as not required parameter in BaseComment (#1535)
* Removing email field from the required arguments in comments

* Fixed gravatar and added database migration script

* Adding validation test cases for PostCommentParam

* Added unit test for PostCommentServiceImpl

* Address comments: removing identicon in gravatar, renaming migration script

* Address comment: removing gravata identicon from CommentProperties

* Address comments: Adding more unit tests for comment API

* Address comments: Adding integration tests for comment API
2021-11-24 17:31:57 +08:00
guqing d965b6c3e7
fix: not clear access rights when the password of private posts or categories was changed (#1540)
* fix: 1518

* feat: add test case

* fix: remove unused import clause

* fix: unit test case
2021-11-22 09:10:59 +08:00
Ryan Wang 9d6f53eeaa
docs: update readme (#1541) 2021-11-20 00:31:33 +08:00
guqing 2ed5ef51c5
feat: add api for modifying journal comment content (#1536)
* feat: add api of modify comment content

* fix: remove update comment content api

* fix: remove comment content param
2021-11-18 20:29:21 +08:00
guqing c149d53f7e
feat: support photo likes (#1537)
* feat: support photo likes

* feat: add CacheLock annotation to likes api
2021-11-18 20:28:32 +08:00
guqing e1737145ac
fix: content Search page XSS injection problem (#1534) 2021-11-16 21:42:46 +08:00
guqing 641e03e401
Support querying multi post statuses (#1527)
* feat: post page list supports multiple status queries
2021-11-14 18:48:47 +08:00
guqing 62c84e9215
Fix the problem of updating categories and menus in batch (#1526)
* fix: batch update
2021-11-13 22:48:36 +08:00
Timber.Wang c790df3c75
docs: update CONTRIBUTING.md 2021-11-12 10:03:27 +08:00
Ryan Wang 20297b9bc5
docs: add repobeats analytics image to readme (#1523) 2021-11-11 18:41:38 +08:00
stackcn c3536cb8ce
fix: typo (#1516) 2021-11-03 10:36:40 +08:00
扶醉 58d1b3f9c0
Add photo teams api in content api (#1515) 2021-11-02 22:09:31 +08:00
John Niang a376dca4d5
Set the final version with tag name when releasing (#1511)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-11-01 23:16:41 +08:00
John Niang 4ffbd502fe
Refactor docker release in GitHub workflow (#1510)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-11-01 08:56:58 +08:00
John Niang 6be4051f9e
Simplify Java setup in GitHub workflow (#1509)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-10-31 21:48:53 +08:00
guqing 1d91450505
refactor: the naming method of uploaded attachments (#1500)
* feat: Refactor the naming method of uploaded attachments

* refactor: attachment upload parameter

* refactor: 重构文件名称是否重复的判断方式

* refactor: the usage of file path descriptor

* fix: remove blank line

* feat: add more test case

* fix: file base name in FilePathDescriptor

* Revert "refactor: the usage of file path descriptor"

This reverts commit b46ff3b4
2021-10-29 19:36:37 +08:00
扶醉 44d740b760
Fix number of comment in detail of post and sheet and add it into detail of journal (#1503) 2021-10-29 19:36:09 +08:00
Ryan Wang 0a137136ce release: 1.4.13 2021-10-24 15:11:59 +08:00
guqing 0dc75e29bb
feat: add work dir backup options (#1494)
* feat: Add backup options

* feat: add sort for list backup items api

* refactor: rename varibles
2021-10-12 14:54:39 +08:00
zllr 8c26430b31
Compatible with markdown file from hexo (#1492)
* hexo语法省略开头的---时无法解析元信息,兼容此种情况

* 修复导入markdown文件时固定条件下出现 [该标签已存在] 的异常

* hexo语法的博客在实际使用时可以省略开头的 --- 分隔符 : add unit test

* fix code style

Co-authored-by: zhanglei <zhanglei9588@foxmail.com>
2021-10-08 15:39:02 +08:00
guqing de71f40de6
refactor: remove use of hutool toolset (#1488)
* feat: Add date parse methods and test

* feat: Add utility methods of get the specified part of the given date

* refactor: Replace the use of dateutil in hutool

* refactor: Replace the StrUtil of hutool with StringUtils of commons-lang3

* refactor: Replace the use of Tuple in hutool

* refactor: Replace the use of ServltUtil in hutool

* refactor: Replace the use of PageUtil in hutool

* refactor: Replace the use of CollectionUtil in hutool

* refactor: Add QRcode generate method

* refactor: replace all hutool utility and add some utils

* fix: check style of tests

* refactor: add logging

* fix: logging

* fix: set default timezone

* fix: code style

* refactor: rename variable tfaKey to mfaKey

* refactor: Use commons-lang3's RandomStringUtils to replace some methods

* refactor: update javadoc

* refactor: update test

* refactor: reformat code

* feat: Add more test case

* feat: Add source
2021-10-01 17:55:58 +08:00
Ryan Wang 5acabee7a9
Update SECURITY.md 2021-09-29 20:43:15 +08:00
知雨 8f35382c39
Reset default avatar from "mm" to "" (#1485)
Co-authored-by: cetr <2058930674@qq.com>
2021-09-21 15:52:44 +08:00
Ryan Wang c4008b9333 release: 1.4.12 2021-09-16 20:55:03 +08:00
John Niang 0059668a76
Fix incorrectly non-git folder opening and fix start panic when no themes found (#1479) 2021-09-16 09:50:13 +08:00
颍川 a046f3edca
fix: the problem of incorrect query posts when accessing the category with a password (#1471)
* #1470 目录加密-目录输入密码访问-看不见文章

* status - > statuses
2021-09-14 16:52:05 +08:00
Menci‮ ca8bfd9eea
fix: add missing size parameter in comment gravatar URL (#1477) 2021-09-14 14:12:59 +08:00
Qiang156 75c8bb22ee
fix: the problem of without dimension information when uploading an ICO picture #1473 (#1474)
* fixed #1473

* fixed the problem of without dimension information when uploading an ICO picture#1473

Co-authored-by: Jenson-Mac <Jenson.zq@gmail.com>
2021-09-13 16:15:27 +08:00
kid1412621 35feddba18
Update application-dev.yaml (#1469) 2021-09-09 11:51:20 +08:00
Li 71a2e5a52d
refactor: detach admin and client option configuration (#1445)
* separate admin and client option configuration

* resolve checkstyle error
2021-08-23 11:51:44 +08:00
WangYa 8953a06b08
Fix access to MinIO server with TLS (#1458)
fix: minIO的Region修改为非必要配置项
2021-08-18 21:47:43 +08:00
Ryan Wang 6a0527bb3d
chore: add deployment method option for issue templates. (#1452)
* chore: add deployment method option for issue templates.

Signed-off-by: Ryan Wang <i@ryanc.cc>
2021-08-14 17:03:06 +08:00
Ryan Wang 74acd451b7
chore: remove auto-assign bot config file. (#1446) 2021-08-04 09:05:22 +08:00
安静的阿豪 6a84483b15
fix: add region for operate minio attachment (halo-dev#1439) (#1440)
Co-authored-by: li-guohao <liguohao_cn@qq.com>
2021-07-25 14:01:31 +08:00
Ryan Wang 84056cf9a0 release: 1.4.11 2021-07-24 12:26:12 +08:00
Ryan Wang 45ce44693d
fix: deleting a non-picture file throws an exception. (#1438)
* fix: deleting a non-picture file throws an exception.

#1437

* doc: update CHANGELOG.md
2021-07-24 12:05:52 +08:00
Ryan Wang 97941e37c1
fix: the keyword and categoryId parameters of the post list api are required #1432 (#1436)
* fix: #1432

* doc: update CHANGELOG.md
2021-07-24 00:33:50 +08:00
Ryan Wang dd8968fee7 chore: add open-source-best-practice doc for issue templates. 2021-07-21 23:21:16 +08:00
Ryan Wang 5e656fe06b Merge branch 'master' of github.com:halo-dev/halo 2021-07-21 23:11:59 +08:00
Ryan Wang 5b58b4cd1a chore: add feature request issue templates. 2021-07-21 23:11:32 +08:00
ryanwang 6eb8f32b85 release: 1.4.10 2021-07-20 14:09:48 +08:00
guqing 1ae186520e
fix: BytebuddyAgent Unable to use in the JRE environment so remove it (#1429)
* fix: BytebuddyAgent Unable to use in the JRE environment so remove it

* feat: Add package info
2021-07-20 09:39:08 +08:00
低调小熊猫 f42d4e2dae
pref: throw file deletion failure exception. (#1430)
* 又拍云文件删除失败无响应的问题修复

* Update QiniuOssFileHandler.java

* Update LocalFileHandler.java

* Update LocalFileHandler.java

* Update QiniuOssFileHandler.java

* Update UpOssFileHandler.java
2021-07-19 20:57:58 +08:00
Ryan Wang b6527823e4 release: 1.4.9 2021-07-18 23:58:18 +08:00
Ryan Wang b554be8165
fix: #1417 (#1427) 2021-07-18 22:57:23 +08:00
Ryan Wang 1e7d320f1c
fix: incorrect comment count statistics. #1411 (#1426)
* fix: incorrect comment count statistics. #1411

Signed-off-by: Ryan Wang <i@ryanc.cc>

* pref: add override annotation.
2021-07-18 22:08:05 +08:00
guqing 95c0271cf1
feat: add issues triage action config (#1416) 2021-07-15 18:26:40 +08:00
zhixiangyuan 189f7be47e
Fix visit bug (#1414)
* fix: fix visit bug #1381

* fix checkstyle

* fix: fix visit bug #1381

* fix: modify the article status check

* fix: Modify the url build method

* delete public article verification

Co-authored-by: 袁智翔(相北) <xiangbei.yzx@alibaba-inc.com>
2021-07-12 18:55:10 +08:00