guqing
66be1d1ba7
feat: Add UsernamePasswordAuthenticationProvider and filter to authentication client password request ( #1846 )
...
* feat: Add auhentication provider and password authentication filter
* refactor: JwtUsernamePasswordAuthenticationFilter and add test case
* chore: delete unused class
* fix: code style
* refactor: web secutity config
2022-04-18 03:40:11 +00:00
guqing
20e6d4d1eb
feat: Add JwtGenerator for authentication ( #1843 )
...
* feat: Add JwtGenerator for authentication
* fix: code style
* refactor: change OAuth2TokenType type to record
* refactor: remove explicit declaration of equals and hashcode for records class
2022-04-15 02:47:57 +00:00
guqing
cec6897574
refactor: next line config ( #1844 )
...
* refactor: next line config
* chore: cancle next line
2022-04-14 07:49:17 +00:00
guqing
90d61a27e9
feat: add token provider ( #1841 )
2022-04-13 11:38:34 +00:00
guqing
b3c82396ac
feat: Add security config for halo ( #1838 )
...
* feat: Add security config for halo
* chore: delete file
* feat: add security config intergration test case
* refactor: use EnableWebSecurity annotation
* refactor: patch prefix
* Update src/test/java/run/halo/app/integration/security/AuthenticationTest.java
Co-authored-by: John Niang <johnniang@fastmail.com>
* refactor: mvc path prefix config
Co-authored-by: John Niang <johnniang@fastmail.com>
2022-04-13 09:08:34 +00:00
guqing
e297b0efcf
feat: add OWNERS file for prow ( #1840 )
2022-04-13 17:06:22 +08:00
guqing
e2843adbe7
Create basic project structure for halo 2.0 ( #1699 )
...
* feat: Add project structure
* feat: Add config
* feat: Add flyway migrate config for h2 and mysql and postgresql
* fix: checkstyle config
* chore: Upgrade springboot 2.6 to 3.0.0-m1
* feat: Add spring snapshot url for repositories
* refactor: Change jdk11 to jdk17 for github ci config
* refactor: update build.gradle config
2022-03-04 15:04:11 +08:00
Ryan Wang
641264ba5c
chore: clean code for next major version
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-03 11:34:42 +08:00
guqing
68d263bef3
Add assembler for post and sheet to replace service convert ( #1691 )
2022-03-03 11:15:56 +08:00
guqing
52b3e4f605
Fix the problem jsonToCacheWrapper crashes when cache value is not JSON format ( #1695 )
...
* fix: json to cache wrapper convertor when other exception
* feat: Add test case for level cache
2022-03-02 18:06:54 +08:00
lan-yonghui
4354991a9e
fix: Remove the code that filters empty strings from the properties file
...
* fix: Remove the code that filters empty strings from the properties file.
* blog birthday default value set "0"
2022-03-02 16:36:20 +08:00
guqing
4d71185066
fix: leak of version number inference when create or update content patch ( #1690 )
2022-03-02 13:40:19 +08:00
guqing
4f1a3c5f0b
refactor: post and cateogry authentication ( #1678 )
2022-03-01 13:32:52 +08:00
扶醉
5064837cf8
Fix the problem post and sheet contents are empty in the content API ( #1686 )
...
* fix: Post and sheet content is empty in the Content API
2022-02-27 15:47:54 +08:00
Ryan Wang
c306586778
chore: bump Spring Boot to 2.5.10 ( #1677 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-26 12:30:34 +08:00
PONGSKY
4bfc3c0228
Revert dependency of minio-java to 7.1.4 ( #1666 )
...
* fix: 降低 minio 版本,回滚至与 springboot 相对应的 okhttp 依赖版本
2022-02-25 21:24:56 +08:00
Ryan Wang
567ad5ef46
chore: sync default theme repo ( #1682 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-25 20:42:47 +08:00
Ryan Wang
a94dd8df7b
feat: add api for update photos in batch ( #1679 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-25 16:09:30 +08:00
guqing
89c0cb5fb9
Merge pull request #1680 from ruibaby/feat/api-for-delete-photo-in-batch
...
feat: add api for delete photos in batch
2022-02-25 16:08:49 +08:00
Ryan Wang
5959fdfa2d
feat: add api for delete photos in batch
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-25 15:55:11 +08:00
Ryan Wang
631b2149d3
release: 1.5.0-alpha.1 ( #1671 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 23:45:20 +08:00
Ryan Wang
94d718c085
doc: update CHANGELOG.md ( #1670 )
...
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 23:33:17 +08:00
guqing
d889a08833
Add keep-raw option to decide how to render post ( #1668 )
...
* feat: Content add front-end rendering options and refactor post params
* feat: add default value for serverSidemarkdownRender
* refactor: content save api
* fix: generate summary
* refactor: remove useless server-side markdown render code
* refactor: allow the formatContent to be empty
* refactor: Rename serverSideMarkdownRender to keepRaw
* refactor: Rename test case
2022-02-21 22:50:35 +08:00
guqing
923eb17577
Support post content version control ( #1617 )
...
* feat: split post content to new table and support content version control
* feat: Improve post version management
* feat: Add post content and version record deletion
* feat: Add isInProcess attribute for post list and detail api
* feat: Add migrate sql script
* fix: Add a sql of allow origin_content to null in posts table
* feat: Assign a value to the source of the post content version record
2022-02-20 20:34:56 +08:00
Ryan Wang
1ee7b58ef1
Add password reset field verification ( #1636 )
...
* perf: add password reset field verification
Signed-off-by: Ryan Wang <i@ryanc.cc>
* feat: add unit test case
Co-authored-by: guqing <1484563614@qq.com>
2022-02-20 10:30:42 +08:00
guqing
acf6a98d25
Add an API to update categories in batch ( #1657 )
...
* feat: Add a api of update categories in batch
* fix: filter condition
2022-02-18 15:50:02 +08:00
guqing
15bde8eef7
Add APIs to fetch theme info and settings according to the theme id ( #1660 )
2022-02-18 14:08:36 +08:00
lan-yonghui
d961a5e8a5
feat: add priority field into category table ( #1650 )
...
* feat: 分类增加排序字段
* style: Optimize and change categories sorting codes
* style: delete sql file
* style: update categories priority default value 0
* style: Optimize categories priority default value
2022-02-15 17:50:37 +08:00
John Niang
2ff45600c4
Bump spring boot to 2.5.9 ( #1635 )
...
Signed-off-by: johnniang <johnniang@fastmail.com>
2022-01-23 23:31:27 +08:00
John Niang
2249ef1103
Fix the problem where the activated field was not set correctly for a theme property ( #1632 )
...
Signed-off-by: John Niang <johnniang@fastmail.com>
2022-01-16 13:30:09 +08:00
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