Commit Graph

4129 Commits (403702021c295186d28b8b08075d532fb02d821c)

Author SHA1 Message Date
guqing eee58989fe
feat: Allow configuration for token and refresh token time-to-live (#1853) 2022-04-19 03:16:15 +00:00
Ryan Wang 66082ae744 feat: add input component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-18 18:01:03 +08:00
guqing 9dd778bdab
feat: Add ProviderContextHolder for token generate (#1852)
* 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

* feat: Add ProviderContextHolder for token generate

* chore: optimize imports
2022-04-18 06:58:13 +00:00
Ryan Wang 0f2d7b496c chore: unit test support tsx component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-18 14:46:03 +08:00
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
Ryan Wang 6f1e3f83a3 feat: add icons
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-15 17:53:32 +08:00
Ryan Wang f950f695f9 refactor: update menus config
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-15 16:52:54 +08:00
Ryan Wang 29aa66c8e2 feat: add base layout components
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-15 16:17:02 +08:00
Ryan Wang ae84c759e4 chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-15 11:04:03 +08: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
Ryan Wang 334e6ad09f feat: router use hash history
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-13 17:34:14 +08:00
Ryan Wang 9bacb63b2e feat: add logo
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-13 17:32:46 +08: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
Ryan Wang a64663701f feat: add page loader animation
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-13 16:06:56 +08:00
Ryan Wang 6b9d05112c feat: add input component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-13 16:04:05 +08:00
Ryan Wang d9293f2199 test: add MenuLabel component test case
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-13 11:40:02 +08:00
Ryan Wang d3fefcb3a9 feat: render routes menu icon
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-13 11:28:03 +08:00
Ryan Wang 731aebda3b fix: menu component story
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-13 11:14:34 +08:00
Ryan Wang 22fd24c06d feat: add RoutesMenu component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-12 18:06:13 +08:00
Ryan Wang 52009c87c6 test: add Button component test snapshots
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-12 14:36:19 +08:00
Ryan Wang 1484d083b2 feat: add menu component (halo-dev/console#534) 2022-04-12 14:23:14 +08:00
Ryan Wang 17e3ad19d4 chore: create OWNERS file (halo-dev/console#548)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-12 14:16:03 +08:00
Ryan Wang 90fc539957 chore: add unit test github action steps (halo-dev/console#516)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-21 14:22:42 +08:00
Ryan Wang e9decaf38c feat: add button component (halo-dev/console#515)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-21 14:17:22 +08:00
Ryan Wang c9b0f77831 feat: add theme palette config (halo-dev/console#511)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-18 13:12:26 +08:00
Ryan Wang 022f232702 chore: add histoire support (halo-dev/console#510)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-16 21:26:21 +08:00
Ryan Wang e9ad94843a chore: configure tailwind css (halo-dev/console#504)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-11 11:51:40 +08:00
Ryan Wang dcf69ce99d chore: cleanup unnecessary files (halo-dev/console#494)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-08 16:43:58 +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 ec07aa57a0 chore: add pre commit hook (halo-dev/console#479)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-04 14:57:42 +08:00
Ryan Wang ab6c2cdee6 chore: next major version base project (halo-dev/console#478)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-03 18:26:15 +08:00
Ryan Wang 35075ddd5b chore: clean code for next major version
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-03 11:44:12 +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
Ryan Wang 7981b6444e fix: attachment list can't to display images with space path (halo-dev/console#474)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-01 15:37:08 +08:00
guqing 4f1a3c5f0b
refactor: post and cateogry authentication (#1678) 2022-03-01 13:32:52 +08:00
Ryan Wang 1313663001 chore: modify the cdn address of the less dependency (halo-dev/console#473)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-01 11:19:18 +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 b6b1165a4a refactor: photo management (halo-dev/console#468)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-26 21:13:56 +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
Ryan Wang b0ca8b8a30 perf: optimize the SheetSettingModel component style (halo-dev/console#471)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-26 12:06:40 +08:00
Ryan Wang 3d963c8a2a Fix the problem of abnormal ui when the editor is switched to full screen (halo-dev/console#465)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-26 11:08:33 +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