Commit Graph

78 Commits

Author SHA1 Message Date
chenos
271e91b452
feat: improve acl module (#283)
* feat: improve code

* fix: rowKey

* fix: ctx.state.currentUser

* fix: improve code

* fix: menu item permission

* fix: x-acl-action

* fix: skipScopeCheck

* feat: relationship resource permission

* fix: createdById
2022-04-12 12:02:58 +08:00
ChengLei Shao
81978711e4
featPlugin multiple apps (#248)
* feat: multiple apps plugin

* feat: multipleAppManager in Application

* stage

* fix: export error

* test: multiple app

* application model

* feat: create application with plugins

* load and install after sub application created

* create subApp database beforeInstall

* sub apps listen to main app start & stop events

* refactor: getPluginName as package name

* feat: load apps on mainApp starts

* fix: test

* feat: beforeGetApplication event

* fix: test

* fix: test with sqlite memory database

* test: lazyLoad application

* fix: test with sqlite memory

* chore: clone database collection & promise.all
2022-03-28 22:01:10 +08:00
ChengLei Shao
5e51973b21
feat: plugin install (#211)
* feat: plugin install

* fix: install options
2022-02-28 21:49:50 +08:00
ChengLei Shao
99bfd75776
fix: test with database (#193)
* fix: ui schema test

* fix: sqlite array query

* fix: acl test

* fix: plugin-users test

* fix: database test with postgres

* fix: test with db.getTablePrefix

* fix: test with mysql database

* fix: test with sqlite database

* fix: test with  mysql

* fix: test order with mysql

* chore: test clean database

* chore: mockServer clean

* chore: app cleanDb

* chore: plugin-users cleanDb
2022-02-15 22:32:02 +08:00
chenos
a507267b72 feat: code cleanup 2022-02-11 18:13:14 +08:00
ChengLei Shao
8e4336cbe1
feat(server): improve application (#177)
* feat: getRepository

* getRepository return type

* export action

* refactor(plugin-acl): plugin

* refactor(plugin-action-logs): plugin class

* refactor(plugin-china-region): plugin class

* refactor: plugin class

* fix: cli start command

* feat: pass install-command options into app.install

* fix: cli args

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-02-07 01:14:00 +08:00
ChengLei Shao
246737906d
Feat/GitHub actions (#148)
* test github actions

* mod: github actions

* mod: github actions

* fix: yarn build

* fix: database pk key error

* fix: test

* skip failed tests

* github test with sqlite && mysql

* fix: mysql query error
2022-01-08 17:16:11 +08:00
chenos
54f351af9d fix: plugin packages dependencies 2021-12-07 19:40:30 +08:00
chenos
732d31009e v0.6 2021-12-06 21:23:34 +08:00
chenos
c1b560e928
feat: rename resourceKey & associatedKey to resourceIndex & associatedIndex (#126)
* resourceIndex & associatedIndex

* resourceIndex & associatedIndex
2021-12-04 16:28:52 +08:00
Junyi
5dfa57581a
Add S3 storage and refactors (#124)
* add s3 storage and refactors

* fix env and dependencies
2021-12-04 07:58:31 +08:00
Junyi
60b966f59e
Fix: plugin-file-manager (#111)
* fix: test cases

* fix env used by file manager

* default value of process.env.LOCAL_STORAGE_BASE_URL

* use workspace dependencies

* refactor some env to adapt more scenario

* fix reviewing issues

* fix env default value

* update umi config

* bugfix

* fix shared cache

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-12-03 07:31:22 +08:00
chenos
11cded6153 chore: v0.5.0-alpha.34 2021-11-23 08:23:34 +08:00
chenos
3479b7ea27 chore: v0.5.0-alpha.33 2021-11-13 22:24:51 +08:00
chenos
7be6327458 chore: v0.5.0-alpha.32 2021-11-09 17:14:11 +08:00
chenos
7a35638eda chore: v0.5.0-alpha.31 2021-11-09 16:28:27 +08:00
chenos
327562f320 fix: disable koa-static in production environment 2021-11-09 16:20:17 +08:00
chenos
829f969668 chore: v0.5.0-alpha.30 2021-11-09 13:07:41 +08:00
chenos
4ea7d74211 chore: v0.5.0-alpha.29 2021-11-08 23:06:31 +08:00
chenos
cce2253532 chore: v0.5.0-alpha.28 2021-11-08 22:54:19 +08:00
chenos
5cacee4e7f chore: v0.5.0-alpha.27 2021-11-08 20:47:20 +08:00
chenos
7611beea0f chore: v0.5.0-alpha.26 2021-11-08 20:27:59 +08:00
chenos
8376c6d1b2 chore: v0.5.0-alpha.25 2021-11-01 17:29:27 +08:00
chenos
b5c587fc94 chore: v0.5.0-alpha.24 2021-11-01 15:20:30 +08:00
chenos
41b023987b chore: v0.5.0-alpha.23 2021-10-28 22:59:51 +08:00
chenos
2253471670 chore: v0.5.0-alpha.22 2021-10-25 14:37:22 +08:00
chenos
2a696eeb7a fix: process.env.PWD is not set on win10 2021-10-25 13:40:02 +08:00
chenos
181872cf07 chore: v0.5.0-alpha.21 2021-10-18 13:04:14 +08:00
chenos
d80c875d5e chore: v0.5.0-alpha.20 2021-10-12 22:27:38 +08:00
chenos
fda20f83c3 chore: v0.5.0-alpha.19 2021-10-10 22:30:16 +08:00
chenos
516c1be50d chore: v0.5.0-alpha.18 2021-10-10 13:06:09 +08:00
chenos
3e04f81a41 chore: v0.5.0-alpha.17 2021-10-10 12:59:29 +08:00
chenos
dafe8f14d0 chore: v0.5.0-alpha.16 2021-10-08 23:16:46 +08:00
chenos
23bdada69c chore: update gitHead 2021-10-08 00:37:39 +08:00
chenos
e7df1f93c4 chore: v0.5.0-alpha.15 2021-10-08 00:33:40 +08:00
chenos
2fa8280803 chore: v0.5.0-alpha.14 2021-10-07 21:57:01 +08:00
chenos
8561502384 chore: v0.5.0-alpha.13 2021-10-07 21:33:32 +08:00
chenos
b2f3bd4894 chore: v0.5.0-alpha.12 2021-10-07 19:39:35 +08:00
chenos
4506271af5 chore: v0.5.0-alpha.11 2021-10-07 19:03:50 +08:00
chenos
9787bedb3c chore: 0.5.0-alpha.10 2021-10-07 18:02:32 +08:00
chenos
968fd2e656 chore: v0.5.0-alpha.9 2021-10-07 17:25:31 +08:00
chenos
f825e48d03 chore: v0.5.0-alpha.8 2021-10-07 16:39:18 +08:00
chenos
dd0d067c10 chore: v0.5.0-alpha.7 2021-10-07 16:32:22 +08:00
chenos
43f95e0a56 chore: v0.5.0-alpha.6 2021-10-07 15:27:02 +08:00
chenos
7ecb7c3a60 chore: v0.5.0-alpha.5 2021-10-07 15:25:20 +08:00
chenos
27f6bde775 feat: improve code 2021-09-23 00:16:04 +08:00
chenos
248d59f6ec feat: improve code 2021-09-14 11:09:26 +08:00
chenos
c6b68f2b10 feat: improve code 2021-09-11 18:53:26 +08:00
chenos
551b9ce45d feat: improve file manager plugin 2021-08-13 23:12:57 +08:00
chenos
2cbcd087ce v0.5 2021-05-23 08:38:08 +08:00