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
f09991d932
feat: upgrade plugin-users
2021-12-08 09:10:44 +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
chenos
d817ec4c7b
fix: missing parameters
2021-11-30 16:43:44 +08:00
SemmyWong
64283fcb0e
feat: allow user to change password ( #109 )
...
* feat: allow user to change password
* docs: update api doc
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-11-25 22:36:52 +08:00
chenos
3e53584768
fix: remove state property
2021-11-23 08:21:38 +08:00
chenos
e6fa6f9a8e
feat(plugin-users): multiple roles
2021-11-18 19:26:39 +08:00
chenos
a702f534ba
feat: add roles field to users collection
2021-11-17 18:54:02 +08:00
chenos
d8c7a0f1c3
feat: add roles field to users collection
2021-11-16 18:28:07 +08:00
chenos
479f64f197
feat: support i18n ( #99 )
...
* feat: i18next
* multi language data
* feat(client): locale support
* en-US for collections
* us-EN for routes
* en-US for routes
* en-US for attachments
* feat: partial translations
* translation
* add AntdConfigProvider
* translation
* translation
* feat: translation
* feat: add translation
* fix: improve translation
* feat: improve translation
* fix: SyntaxError: Unexpected token ) in JSON at position
* typo
* feat: improve translation
* feat: improve translation
* feat: language settings can be saved on the server
* feat: lang option of init cli
* demo translation
* typo
* change address field to textarea
* address data
* feat: chart translation
* feat: chart translation
* improve translation
* signin,signup,signout...
Co-authored-by: Zhou <zhou.working@gmail.com>
2021-11-08 19:32:59 +08:00
semmywong
14f492f414
fix: add sort field to the users table
...
* [Fixed]
1、初始化数据表时,没有配置sort
2、增加sort接口类型
* [Fixed]
1、重新提交PR
* [Fixed]
1、重新提交PR
* [Fixed]
1、重新提交PR
* [Fixed]
1、重新提交PR
* [Fixed]
1、重新提交PR
2021-10-30 10:55:43 +08:00
ChengLei Shao
05ecb25d1b
feat: create nocobase app with simple & quickstart option ( #87 )
...
* feat: create nocobase app with simple & quickstart option
* chore: delete template file
* create-nocobase-app: add env API_PORT fallback
* chore: log
* env default fallback
* move config dir
* change has yarn
* chore: prettier
* fix: npm running issue
* database testing support sqlite
* once...
* chore: typo
* fix: sqlite test
* update readme
* feat: copy .env.example to .env at create-nocobase-app
* create-nocobase-app: change sqlite3 to github master
* create-nocobase-app: .env template
* create-nocobase-app: update .env
* chore: typo
* update README
* chore: Application constructor
* feat: sqlite demo data support
* fix test
* fix: application error
* chore: plugin-client run sql
* fix: application createCli
* fix: can choose whether to register actions
* chore: model compile error
* fix: support sqlite
* fix: demo data set index sequence on postgresql
* chore: code reduce
* fix: operators are compatible with sqlite
* add impor demo option to init command
* update env
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-10-18 12:49:37 +08:00
chenos
f199df96aa
chore: add prettier config
2021-10-14 00:08:16 +08:00
chenos
d94606ab30
fix(plugin-users): user's password should not be leaked to the client
2021-10-12 22:17:11 +08:00
chenos
86e2a2802d
feat: add useClient and useResourceRequest hooks
2021-09-28 18:20:21 +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
f300fd6ae9
refactor: users plugin
2021-09-09 23:58:01 +08:00
chenos
c82fee6162
feat: user register & profile
2021-08-23 21:49:44 +08:00
chenos
66549dc4bf
feat: improve code
2021-08-11 11:18:10 +08:00
chenos
8bfb5cf85c
updates
2021-07-27 10:34:52 +08:00
chenos
214b227a6c
fix: error message for login and registration
2021-04-12 18:06:10 +08:00
chenos
18825af43d
fix: async mode recommended over sync mode
2021-03-30 06:12:08 +08:00
chenos
6bfd8ebf57
fix: hide user password
2021-03-29 15:53:39 +08:00
chenos
ce4a22fbb9
style: code formatting
2021-03-28 13:34:51 +08:00
chenos
bd1449e87a
feat(users): add reset password for users
2021-03-22 13:41:00 +08:00
chenos
81399f6037
fix: clean up code and fix tests
2021-03-19 21:27:42 +08:00
chenos
6c39ac3538
Develop ( #68 )
...
* refactor: fields/views/pages...
* update
* update
* update
* updates
* updates
* add yarn.lock
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* developerMode
* 一大波更新
* bugfix
* fix: hide the sorting settings
* fix: reload menu when menu is updated
* 页面重构
* modify text
* 补充细节
* system settings
* 继续更新补充
* fix: 多级菜单支持
* 无限嵌套
* fix: icon
* 省市区参数调整
* 表单描述、文案调整
* 支持草稿
* 邮箱登录
* 细节补充
* 菜单页面权限初步
* 详情页打开方式
* 菜单父级、草稿问题
* 描述文字
* 详情分组显示
* 状态改为 radio
* 菜单权限
* 跳过省市区 api
* 修复权限数据范围
* onDraft
* 页面跳转
* 修改文案
* 注册、登录
* fix: 权限过滤问题
* 微调上传组件样式
* 0.4.0-alpha.0
* father-build
* remove father-build
* 细节调整
2021-03-16 14:31:54 +08:00
chenos
eb5581646c
Feature/plugin automations ( #65 )
...
* feat: add automations plugin
* feat: support users views as submenu
* fix: reload users collection options on initialization
* 表单细节
* 细节更新
* filterable
* fix: can not disassociate before destroy data
* 暂存
* 表单联动细节
* 补充细节
* 补充测试和细节改进
* 补充细节和测试
* 再来一波更新
2021-02-07 17:39:47 +08:00
chenos
1ea08e62b6
Feature/action logs ( #61 )
...
* feat: add action logs plugin
* feat: add afterUpdate/afterDestroy hooks for logs
* 子表格细节改进
* fix: subtable
* activity
* bugfix
Co-authored-by: mytharcher <mytharcher@gmail.com>
2021-01-29 23:53:50 +08:00
Junyi
bd756a6a5c
Feature: add permission plugin api ( #57 )
...
* fix: update method of permission
* 页面访问权限
* feat: add tabs update in role
* refactor: change main action permission check into single file
* feat: add pluginLoaded event listener for init page permissions
* refactor: change to can api
* refactor: use constants for role types
* refactor: can api
* 只处理 actions 表里的权限,其余跳过
* 注释掉 fields
* bugfix
* add: 详情模块编辑按钮权限判断
* test: add cases
* fix: add association permission judgment
* fix: add disabled property to drawer select
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-20 08:33:47 +08:00
Junyi
c5f089d7b7
feat: add permissions plugin ( #53 )
...
* test: skip bug test cases for ci passing
* feat: add base structure of plugin-permissions
* fix: user token parsing
* Refactor action parameter for better mergeParams (#55 )
* refactor: add parameter types to handle parameters in action [WIP]
* fix: action parameter
* fix: test cases
* test: try to fix build error
* remove unused packages
* fix: revert compatibility back
Co-authored-by: chenos <chenlinxh@gmail.com>
* 补充权限界面相关功能
* bugfix
* fix: developer mode does not work
* feat: add action scope and fields limitation in permission
* 改进权限配置表单
* feat: get/update action for role.collection
* add scope select component
* add role users tabs
* typings
* test: temp skip
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-13 16:23:15 +08:00
Junyi
8289f96dd5
fix: updatedBy field in bulkUpdate hook ( #54 )
...
* fix: updatedBy field in bulkUpdate hook
* fix: test cases
* add db.sync() after each test case
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-07 14:49:39 +08:00
chenos
80acf5f199
fix: update users collection config
2021-01-07 12:51:48 +08:00
chenos
41755a8af4
feat: improve ui details
2020-12-30 00:00:39 +08:00
chenos
0a2912fe6e
docs: change 创建 to 新增
2020-12-23 19:55:25 +08:00
Junyi
eb7d5c594e
feat: make single file upload to attachment available ( #46 )
...
* feat: make single file upload to attachment available
* fix: change file name case
* feat: refactor structure and make local server work
* test: skip bug case temporarily
* fix: use middleware to load storage static server
* fix: change meta from values to request.body back and refactor local server middleware
* adjust details
* http:
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-23 12:46:13 +08:00
chenos
3054ddb13b
feat: improve users options
2020-12-19 15:50:04 +08:00
chenos
6ffa3b53e8
refactor: add plugin manager
2020-12-18 19:54:53 +08:00
chenos
7e9b4a8f45
fix: add createdAt/updatedAt/createdBy/updatedBy options to the collections table for developer mode
2020-12-18 19:41:40 +08:00
chenos
184adb924d
fix: use database hook to trigger add createdBy/updatedBy fields
2020-12-18 15:50:03 +08:00
Junyi
110d5bcc9c
feat: add createdBy/updatedBy field config for table managed by collections ( #43 )
...
* feat: add createdBy/updatedBy field config for table managed by collections
* fix: update by different users and field initialization
* fix: function argument
* add: test cases
Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-18 09:04:40 +08:00
chenos
880737c5c8
feat: add internal parameter to collection options
2020-12-11 10:31:00 +08:00
chenos
437c49d211
refactor: change the field type names to uppercase
2020-12-10 14:47:13 +08:00
chenos
caa98f6d08
feat: improve developer mode support
2020-12-08 10:02:41 +08:00
chenos
868dd1aaaa
refactor: change registerHandler to registerActionHandler
2020-12-02 13:48:19 +08:00
chenos
d9e6d2e614
feat(users): add users module ( #26 )
...
* feat(users): add users module
* user check
2020-11-29 16:26:53 +08:00
chenos
eb93f0734f
feat: actions & views ( #18 )
...
* feat: 视图新增支持 associated 的情况
* fix: 解决关系数据的视图问题
* 表单数据初始化
* feat: sortable table
* 排序
* 表格细节调整
* feat: field actions
2020-11-19 21:12:15 +08:00