Commit Graph

4105 Commits (2c3f9ef7dce3de403bca305a10d9c19e47add45c)

Author SHA1 Message Date
Ryan Wang af61b8ce52 chore: update netlify.toml
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-22 16:13:53 +08:00
Ryan Wang 2e627c21ee refactor: use histoire instead of view components page
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-22 16:05:30 +08:00
guqing a7b9433120
feat: Add bearer token filter config for authentication (#1876) 2022-04-22 07:36:11 +00:00
guqing 6de85184b1
feat: Add bearer token authentication filter for bearer authentication (#1872) 2022-04-22 06:36:11 +00:00
guqing e8d8ef8f28
feat: Add jwt token and provider for jwt authentication (#1871) 2022-04-22 06:00:12 +00:00
guqing 673c2068d9
feat: Add default bearer token resolver for rfc6750#section-2.1-2.3 (#1869) 2022-04-22 03:04:10 +00:00
Ryan Wang b8c60cde6f perf: improve button loading styles
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-21 17:44:25 +08:00
Ryan Wang bbeddb509c feat: add tag component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-21 17:33:13 +08:00
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