Commit Graph

2115 Commits (1d25a58767bb47984a97d86c761b5f71c8ad62ae)

Author SHA1 Message Date
guqing bd87d17329
Merge pull request #1630 from ruibaby/chore/remove-FUNDING
chore: remove FUNDING.yml
2022-01-13 20:36:35 +08:00
Ryan Wang 50f51d1cba chore: remove FUNDING.yml
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-01-13 20:34:47 +08:00
Ryan Wang d60381c706
docs: add demo site (#1625) 2022-01-11 16:57:21 +08:00
Ryan Wang 10b98252d2
docs: update readme (#1624) 2022-01-11 14:03:05 +08:00
Ryan Wang f83389ca4c
chore: sync default theme (#1621) 2022-01-11 11:19:25 +08:00
guqing 23b39519e4
chore: upgrade log4j dependencies (#1615) 2022-01-06 12:50:17 +08:00
BugF***er 13bbae6b19
docs: 修改readme格式 (#1614) 2022-01-04 12:55:29 +08:00
John Niang 21de4d7e55
Bump version of dependencies (#1602)
* Bump versions of dependencies

* Bump spring boot to 2.5.8

Signed-off-by: John Niang <johnniang@fastmail.com>

* Revert dependency of bce sdk

Signed-off-by: John Niang <johnniang@fastmail.com>
2021-12-23 11:17:58 +08:00
Tang 201e93465c
fix: Log4j Security Vulnerabilities (#1604)
update Log4j version to 2.17.0
- CVE-2021-45105 Fixed in Log4j 2.17.0 (Java 8)
- CVE-2021-45046 Fixed in Log4j 2.16.0 (Java 8)
2021-12-22 16:41:03 +08:00
guqing 9ddd74b74b
Include posts that under the subcategories when getting posts b… (#1567)
* feat: include posts that under the subcategories when getting posts by category

* refactor: list as tree

* fix: can nott query the problem of encrypted category

* refactor: post count under the category

* fix: list all by parent id
2021-12-21 23:35:42 +08:00
guqing f2395b7b5f
refactor: gradle config of log4j version (#1595) 2021-12-12 22:50:56 +08:00
guqing 90216d12c3
Fix security warning of log4j 0-day (#1588)
* fix: security warning of log4j 0-day

* refactor: log4j version

* feat: add a todo comment
2021-12-12 09:50:18 +08:00
Ryan Wang 27664fcb41
fix: huawei obs upload file address is incorrect (#1589) 2021-12-11 11:49:55 +08:00
guqing 514ccdb2a1
Add some APIs for group obtaining theme configurations and setting items (#1582) 2021-12-09 21:27:41 +08:00
Ryan Wang dbf954e20c
release: 1.4.15 (#1573) 2021-12-06 16:24:56 +08:00
John Niang f06f95fbdf
Remove prefix v of tag name when releasing a new version (#1571)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-12-06 16:17:55 +08:00
guqing 448739cddd
Tag support color options (#1566)
* feat: tag support color options

* refactor: change the color of tag

* feat: add api model property

* refactor: change color field length

* refactor: color field length in tag param
2021-12-06 12:38:06 +08:00
Ryan Wang ab82fadd6e
release: 1.4.14 (#1568) 2021-12-05 20:35:07 +08:00
guqing a802572128
feat: add a batch creation api for photos (#1564)
* feat: add an api of batch creation photos

* feat: add an api verification
2021-12-04 15:58:10 +08:00
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