Commit Graph

1205 Commits (4e385222a7b56fd7d957a4cd49d48ee74fd4127d)

Author SHA1 Message Date
Ryan Wang 4e385222a7 feat: show the number of permissions under the role
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-22 12:49:06 +08:00
Ryan Wang d38daf4122 chore: bump packages version
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-21 15:10:46 +08:00
Ryan Wang 694d053c24 perf: improve user detail page style
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-21 15:03:30 +08:00
Ryan Wang 08e2f2b2ce fix: @halo-dev/shared packages import location
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-21 14:26:55 +08:00
Ryan Wang 2925775c9a refactor: plugin detail page
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-21 14:16:51 +08:00
Ryan Wang 99c6caa788 feat: create labels and annotations enumeration types
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-20 22:47:10 +08:00
Ryan Wang e64c7e6baa chore: update themes data mock
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-20 16:54:20 +08:00
Ryan Wang 1401f9ebe1 feat: add plugin status tooltip
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-20 15:51:21 +08:00
Ryan Wang 79e8e3005d feat: plugin details support display of included roles
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-20 15:24:35 +08:00
Ryan Wang 1959271d40 perf: refine basic layout component styles
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-20 14:28:33 +08:00
Ryan Wang 65fdfd6749 fix: role page route on the user details page
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-20 12:33:38 +08:00
Ryan Wang 9c5014766b fix: production api url env
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-20 11:46:48 +08:00
Ryan Wang bc8bd89684 Merge branch 'next' of github.com:halo-dev/halo-admin into next 2022-07-20 10:57:30 +08:00
Ryan Wang 44f09fd2c1 feat: add set api url support
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-20 10:56:40 +08:00
John Niang f29dfc2947
Refactor GitHub workflow configuration (#589) 2022-07-19 19:31:11 +08:00
John Niang 5f8f8c6c29
Add dockerignore file to ignore node_modules folder while building docker image (#588)
#### What type of PR is this?

/kind optimization
/milestone 2.0

#### What this PR does / why we need it:

As I mentioned in the title, this PR mainly ignore the `node_modules` folder while copying current files into Docker daemon context. Because it is huge and unnecessary. Please see the size below:

```bash
--- /home/johnniang/workspaces/halo-dev/halo-admin ------------------------------------
  736.4 MiB S 388.8 MiB [###################] /node_modules
   12.2 MiB             [                   ] /.git
  892.0 KiB             [                   ] /packages
  616.0 KiB             [                   ] /src
  292.0 KiB             [                   ]  pnpm-lock.yaml
   48.0 KiB             [                   ] /cypress
   40.0 KiB             [                   ] /.github
   36.0 KiB             [                   ]  LICENSE
   20.0 KiB             [                   ] /.husky
   16.0 KiB             [                   ] /.changeset
   12.0 KiB             [                   ] /public
```

- Before

    ```bash
    Sending build context to Docker daemon  740MB
    Step 1/15 : FROM node:lts-alpine as build-stage
     ---> b0cbdedc1b9d
    Step 2/15 : ENV PNPM_VERSION 7.5.0
     ---> Using cache
     ---> 6184c581a0af
    Step 3/15 : RUN apk --no-cache add curl
     ---> Using cache
     ---> 74b030c17e7b
    Step 4/15 : RUN curl -sL https://unpkg.com/@pnpm/self-installer | node
    ```

- After

    ```bash
    Sending build context to Docker daemon  12.59MB
    Step 1/15 : FROM node:lts-alpine as build-stage
     ---> b0cbdedc1b9d
    Step 2/15 : ENV PNPM_VERSION 7.5.0
     ---> Using cache
     ---> 6184c581a0af
    Step 3/15 : RUN apk --no-cache add curl
     ---> Using cache
     ---> 74b030c17e7b
    Step 4/15 : RUN curl -sL https://unpkg.com/@pnpm/self-installer | node
    ```

#### Does this PR introduce a user-facing change?

```release-note
None
```
2022-07-19 07:50:05 +00:00
Ryan Wang 263f510111 fix: package import name of lodash.isequal
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-19 15:41:39 +08:00
Ryan Wang ccffcd7261 chore: update github actions
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-19 15:36:44 +08:00
Ryan Wang d0b72738da chore: fix @halo-dev/api-client dependency location
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-19 15:08:20 +08:00
Ryan Wang cd317a9bed fix: the issue of redirection after login
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-19 14:56:30 +08:00
Ryan Wang da23dcfde1 docs: update readme
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-19 14:11:45 +08:00
Ryan Wang d154fc412e feat: ui permission binding
see https://github.com/halo-dev/halo/pull/2260
2022-07-19 14:07:28 +08:00
Ryan Wang 4bc71814d9 feat: refine roles management
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-19 11:41:05 +08:00
Ryan Wang d3d934093d feat: refine roles management
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-19 11:18:47 +08:00
Ryan Wang 0b9dba88b4 perf: add type support to usePluginStore
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-18 16:12:54 +08:00
Ryan Wang 1567b52e15 chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-18 12:35:34 +08:00
Ryan Wang 3bb9155230 chore: cleanup type definition
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-18 12:23:14 +08:00
Ryan Wang 56b9dcaa61 feat: add change user password support 2022-07-18 11:52:13 +08:00
Ryan Wang 31dbe5a0eb fix: permission logic of super administrator
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-16 12:04:58 +08:00
Ryan Wang e8fd09205d feat: support permission judgment of interface elements and routes 2022-07-15 16:26:27 +08:00
Ryan Wang 74274ef78b refactor: change role annotations name
change `plugin.halo.run/dependencies` to `rbac.authorization.halo.run/dependencies`
2022-07-14 18:39:19 +08:00
Ryan Wang 9569b43dab refactor: response structure of Extension list API
see halo-dev/halo#2244
2022-07-14 16:48:54 +08:00
Ryan Wang b866860177 fix: admin ui theme system not working in production env
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-14 11:54:23 +08:00
Ryan Wang 3027293bd4 refactor: admin ui theme system
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-14 11:38:13 +08:00
Ryan Wang 284edbbee1 refactor: removal of plugin batch operation
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-13 17:39:31 +08:00
Ryan Wang 700e12cafd refactor: api client
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-13 15:36:21 +08:00
Ryan Wang ab0a7deda3 typo: configmapName -> configMapName
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-13 10:13:52 +08:00
Ryan Wang 64240d3caf chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-13 10:11:43 +08:00
Ryan Wang 9546abf1e2 feat: add granting roles for user support
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-12 21:10:17 +08:00
Ryan Wang dc1da8fc91 feat: add settings support to the plugin
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-12 20:32:32 +08:00
Ryan Wang a4681ea8b1 fix: role creation
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-12 15:06:46 +08:00
Ryan Wang ddbca25307 refactor: pagination component usage
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-12 11:11:05 +08:00
Ryan Wang 86be841e28 feat: add pagination component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-11 18:16:45 +08:00
Ryan Wang ebc9756a8d perf: refine dialog component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-11 16:27:46 +08:00
Ryan Wang 352f7a3acc perf: open confirm dialog when changing plugin status
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-11 16:07:21 +08:00
Ryan Wang ce17c6eff9 perf: refine tailwindcss config
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-11 12:25:24 +08:00
Ryan Wang d2c5998b5e chore: add Dockerfile
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-11 11:02:48 +08:00
Ryan Wang b7d200f12b feat: add url base config
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-11 10:21:38 +08:00
Ryan Wang 9bf6d0f650 chore: bump @halo-dev/admin-shared version
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-08 15:27:46 +08:00
Ryan Wang 871cfc51a0 chore: add changeset
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-08 15:14:59 +08:00