Commit Graph

4247 Commits (c0c1806476ada9baca53f787d32f530076a3936c)

Author SHA1 Message Date
guqing 599ab5618b
feat: Add bearer token errors for rfc6750#section-3.1 (#1868) 2022-04-21 08:46:12 +00:00
guqing c999c35a20
feat: Add bearer token and bearer authentication (#1864) 2022-04-21 07:58:12 +00:00
Ryan Wang 717a9f68fc feat: add space component and test case
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-21 15:48:59 +08:00
Ryan Wang f7d26d81a1 test: add test case for button loading state
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-21 10:53:29 +08:00
Ryan Wang 345c0bc3cb feat: button component support loading state
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-20 17:58:50 +08:00
guqing 3f5e83fcae
chore: use providerSettings to create OAuth2TokenEndpointFilter (#1863) 2022-04-20 08:08:10 +00:00
Ryan Wang a3462c756c chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-20 14:41:07 +08:00
Ryan Wang 4b54211a9f feat: add checkbox and checkbox-group component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-20 14:40:16 +08:00
guqing 8ac819ad14
chore: cleanup deprecated class (#1859) 2022-04-20 03:14:10 +00:00
guqing f1ccccb557
refactor: use OAuth2Password grant instead of JwtUsernamePassword authentication (#1857) 2022-04-20 03:02:10 +00:00
guqing ed6aea6245
feat: Add oauth2 refresh token authentication (#1856)
* feat: Add oauth2 refresh token authentication

* feat: Add unit test case
2022-04-19 10:16:14 +00:00
Ryan Wang 717ef1da35 feat: add radio and radio-group component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-19 17:56:21 +08:00
guqing ad562b4917
feat: Add InMemoryOAuth2AuthorizationService for development or testing (#1854) 2022-04-19 08:06:09 +00:00
Ryan Wang 195fb87552 test: add input component test case about props and v-model
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-19 14:39:38 +08:00
Ryan Wang 239e1a11da feat: add textarea component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-19 14:33:09 +08:00
Ryan Wang ee0fa26c8b test: add input component test case
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-19 12:09:24 +08:00
Ryan Wang fa0084e0de feat: add native select component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-19 12:06:38 +08:00
Ryan Wang 72abd6c55e feat: add native select component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-19 12:06:17 +08:00
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