Zeke Zhang
627d3aa548
perf(Page): reduce white screen time
2024-11-08 09:24:39 +08:00
Zeke Zhang
0cb80753ad
Merge branch 'next' into 730
2024-11-05 20:19:29 +08:00
nocobase[bot]
cf08c5c290
Merge branch 'main' into next
2024-11-05 07:38:29 +00:00
YANG QIA
9fd136b331
feat(client): allows to redirect to specific url after signout ( #5583 )
2024-11-05 15:38:09 +08:00
Zeke Zhang
8958992e55
perf(CurrentUserProvider): remove loading
2024-11-04 21:43:13 +08:00
Katherine
f2e6e02577
feat: configure edit permissions for user profiles & change password ( #5422 )
...
* feat: configure edit permissions for user profiles
* fix: bug
* fix: bug
* refactor: locale improve
* refactor: currentUser
2024-10-18 09:09:32 +08:00
nocobase[bot]
c4ee286f12
Merge branch 'main' into next
2024-10-14 10:44:46 +00:00
Zeke Zhang
1523a9a0f7
fix(zIndex): fix edit profile drawer being covered by supage issue ( #5409 )
...
Auto merge main -> next / push-commit (push) Waiting to run
Build docker image / build-and-push (push) Waiting to run
Build pro image / build-and-push (push) Waiting to run
Deploy client docs / Build (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase frontEnd test / frontend-test (18) (push) Waiting to run
* test: add e2e test
* fix(zIndex): fix the issue of edit profile drawer being covered by subpages
* fix: change password
* chore: fix comment
2024-10-14 18:18:09 +08:00
YANG QIA
bd942342b0
fix(auth): should set user token as invalid when changing password ( #5212 )
...
* fix(auth): should log user out when changing password
* fix: add passwordChangeTZ
* fix: clear local token when token is invalid
* fix: test
* fix: field name
2024-09-06 14:43:14 +08:00
Zeke Zhang
05cf9986b0
feat: enable direct dialog opening via URL and support for page mode ( #4706 )
...
* refactor: optimize page tabs routing
* test: add e2e test for page tabs
* feat: add popup routing
* fix: resolve nested issue
* refactor: rename file utils to pagePopupUtils
* perf: enhance animation and overall performance
* fix: fix filterByTK
* fix(sourceId): resolve error when sourceId is undefined
* fix: fix List and GridCard
* fix: fix params not fresh
* fix: fix parent record
* fix: resolve the issue on block data not refreshing after popup closure
* feat: bind tab with URL in popups
* feat(sub-page): enable popup to open in page mode
* chore: optimize
* feat: support association fields
* fix: address the issue of no data in associaiton field
* fix: resolve the issue with opening nested dialog in association field
* fix: fix the issue of dialog content not refreshing
* perf: use useNavigateNoUpdate to replace useNavigate
* perf: enhance popups performance by avoiding unnecessary rendering
* fix: fix tab page
* fix: fix bulk edit action
* chore: fix unit test
* chore: fix unit tests
* fix: fix bug to pass e2e tests
* chore: fix build
* fix: fix bugs to pass e2e tests
* chore: avoid crashing
* chore: make e2e tests pass
* chore: make e2e tests pass
* chore: fix unit tests
* fix(multi-app): fix known issues
* fix(Duplicate): should no page mode
* chore: fix build
* fix(mobile): fix known issues
* fix: fix open mode of Add new
* refactor: rename 'popupUid' to 'popupuid'
* refactor: rename 'subPageUid' tp 'subpageuid'
* refactor(subpage): simplify configuration of router
* fix(variable): refresh data after value change
* test: add e2e test for sub page
* refactor: refactor and add tests
* fix: fix association field
* refactor(subPage): avoid blank page occurrences
* chore: fix unit tests
* fix: correct first-click context setting for association fields
* refactor: use Action's uid for subpage
* refactor: rename x-nb-popup-context to x-action-context and move it to Action schema
* feat: add context during the creation of actions
* chore: fix build
* chore: make e2e tests pass
* fix(addChild): fix context of Add child
* fix: avoid loss or query string
* fix: avoid including 'popups' in the path
* fix: resolve issue with popup variables and add tests
* chore(e2e): fix e2e test
* fix(sideMenu): resolve the disappearing sidebar issue and add tests
* chore(e2e): fix e2e test
* fix: should refresh block data after mutiple popups closed
* chore: fix e2e test
* fix(associationField): fix wrong context
* fix: address issue with special characters
2024-06-30 23:25:01 +08:00
chenos
e69d33a09c
chore: update link
2024-06-24 16:45:45 +08:00
CzBiX
570a265e57
fix: Fix typo in link target ( #4416 )
...
Co-authored-by: Zeke Zhang <958414905@qq.com>
2024-05-20 13:57:21 +08:00
Zeke Zhang
f236e6d29d
fix: change License link ( #4415 )
2024-05-20 13:42:54 +08:00
jack zhang
62b2b5c68b
chore: add copyright information to the file header ( #4028 )
...
* fix: add license code
* fix: bug
* fix: bug
* fix: upgrade
* fix: improve
* chore: add copyright information to the file header
* fix: d.ts bug
* fix: bug
* fix: e2e bug
* fix: merge main
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2024-04-30 15:51:31 +08:00
YANG QIA
127e2b332b
fix(users): remove phone validation due to incorrect check of foreign phone numebrs ( #4005 )
2024-04-10 17:14:44 +08:00
Zeke Zhang
29af40f504
style(Help): optimize style
2024-03-29 08:40:16 +08:00
Zeke Zhang
aa1823cd73
chore: adapt to plugin-custom-brand ( #3740 )
...
* chore: adapt to plugin-custom-brand
* chore: add parseHTML
* chore: adapt to plugin-custom-brand
2024-03-18 13:22:18 +08:00
jack zhang
454d1d34ed
fix: add displayName ( #3628 )
...
* fix: context add displayName
* fix: observer add displayName
* fix: memo component add displayName
* fix: forwordRef component add displayName
2024-03-06 18:22:31 +08:00
chenos
e377f3a57c
fix: update plugin package.json
2024-03-04 23:02:29 +08:00
Zeke Zhang
4373e6da88
feat(Help): switch to the Chinese page when using Chinese ( #3567 )
2024-02-24 11:50:06 +08:00
Zeke Zhang
6262409184
style: set size of icon button ( #3560 )
2024-02-23 11:29:17 +08:00
Zeke Zhang
5edb8ca85d
chore: fix e2e ( #3557 )
...
* chore: change testid of Help
* test: fix e2e
2024-02-23 09:30:28 +08:00
Zeke Zhang
d02d24b484
feat: adjust of menu in upper right corner of page ( #3548 )
...
* feat: adjust of menu in upper right corner of page
* fix: uncomment
* chore: change License link
* chore: optimize text color
* chore: optimize text color
* test: fix e2e
2024-02-23 00:08:03 +08:00
ChengLei Shao
261d4c4137
refactor: establish a sound testing system ( #3179 )
...
* chore: use vitest to replace jest
* chore: support vitest
* feat: vitest 1.0
* fix: test
* chore: yarn.lock
* chore: github actions
* fix: test
* fix: test
* fix: test
* fix: test
* fix: jest.fn
* fix: require
* fix: test
* fix: build
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: dynamic import
* fix: bug
* chore: yarn run test command
* chore: package.json
* chore: package.json
* chore: vite 5
* fix: fix variable test
* fix: import json
* feat: initEnv
* fix: env.APP_ENV_PATH
* chore: get package json
* fix: remove GlobalThmeProvider
* chore: update snap
* chore: test env
* chore: test env
* chore: import module
* chore: jest
* fix: load package json
* chore: test
* fix: bug
* chore: test
* chore: test
* chore: test
* chore: test
* chore: test
* fix: import file in windows
* chore: import module with absolute file path
* fix: test error
* test: update snapshot
* chore: update yarn.lock
* fix: front-end tests do not include utils folder
* refactor: use vitest-dom
* fix: fix build
* fix: test error
* fix: change to vitest.config.mts
* fix: types error
* fix: types error
* fix: types error
* fix: error
* fix: test
* chore: test
* fix: test package
* feat: update dependencies
* refactor: test
* fix: error
* fix: error
* fix: __dirname is not defined in ES module scope
* fix: allow only
* fix: error
* fix: error
* fix: error
* fix: create-app
* fix: install-deps
* feat: update docs
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: Zeke Zhang <958414905@qq.com>
2023-12-21 20:39:11 +08:00
YANG QIA
06f11a2d08
refactor(auth): move auth client from core to the plugin & refactor auth client api ( #3215 )
...
* refactor(auth): auth client api
* fix: build
* fix: dependencies
* fix: fix T-2777
* fix: fix T-2776
* chore: update type
* fix: build
* fix: allowSignUp
* fix: file name
* fix: file name
* refactor: client api
* fix: build
* chore: update name
* fix: tsx must be loaded with --import instead of --loader
* fix: type
* fix: type
* fix: type
* fix: type
* fix: bug
* chore: improve wording
* fix: test
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-12-21 20:19:25 +08:00
Zeke Zhang
c129889df6
fix: fix switch role and input style ( #3226 )
...
* fix: fix switch role and input style
* refactor: remove useless code
2023-12-19 07:50:53 +08:00
YANG QIA
e0e91c2c95
fix(lm): texts update hook after collection update ( #3151 )
...
* fix(lm): texts update hook after collection update
* fix: validate language
* fix: typo
2023-12-07 00:02:23 +08:00
被雨水过滤的空气-Rain
3f5704421d
fix(theme): text color of page header right side ( #3008 )
2023-11-10 08:02:30 +08:00
被雨水过滤的空气-Rain
5b9695e720
fix: select item can not be selected in connecting data blocks ( #2993 )
2023-11-08 09:17:40 +08:00
被雨水过滤的空气-Rain
29bf187fbf
chore: optimize locators ( #2833 )
...
* test(e2e): better locators for designer buttons
* fix: make test passing
* refactor: remove DesignerControl
* chore: better locators
* fix: should not disable add-menu-item
* chore: better test id for block
* chore: optimize Action
* chore: remove role in BlockItem
* feat: improve locators
* chore: menu & add block
* chore: initializer
* chore: testid -> aria label
* chore: tabs
* chore: designers
* refactor: optimize schemaInitializer
* refactor: rename
* chore: add collectionName
* chore: block item
* chore: action
* fix: avoid crashting
* chore(e2e): add __E2E__
* chore: all dialog
* chore: add aria-label for block menu
* Revert "chore: add aria-label for block menu"
This reverts commit 6a840ef816
.
* chore: optimize aria-label of Action
* chore: schema-initializer
* chore(e2e): increase timeout
* chore: schema settings
* chore: optimize table
* chore: workflow
* chore: plugin manager
* chore: collection manager and workflow
* chore: details of workflow
* chore: remove testid of Select
* test: fix unit-tests
* test: fix unit-tests
* test(e2e): passing tests
* test: fix unit test
* chore: should use hover
* test: passing tests
* chore: passing tests
* chore: fix CI
* chore: fix CI
* chore: increase timeout in CI
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-27 15:32:17 +08:00
被雨水过滤的空气-Rain
573cde0a21
feat(variable): lazy load association fields ( #2382 )
...
* refactor: remove useless code
* feat: should always show user variable
* style: optimize style of variable input
* feat: change maxDepth of user varialbe to 3
* refactor: migrate getFieldDefaultValue to SchemaSettings.tsx
* feat: support to parse variables
* feat: support to parse array fields
* refactor: make testing more stable
* chore: fix CI
* feat: support to parse current user
* fix: fix tests
* feat: support to register variable
* feat: support to parse "$context"
* refactor: remove useless code
* fix: fix build
* fix: fix build
* test: make stable
* docs: add doc
* fix: fix T-1267
* fix: fix T-1268
* fix: fix T-1269
* fix: fix T-1271
* fix: fix T-1274
* refactor: improve code
* feat(variable): support local variable
* fix: fix T-1280
* refactor: close T-881
* refactor: remove useLazyLoadAssociation
* fix: fix T-1289,T-1290
* fix: fix T-1296
* refactor(AssignedField): replace user variable
* refactor: extract useBaseVariable
* refactor(AssignedField): replace variables
* feat(useVariables): support to use array as local variables
* refactor: improve variables (T-1295)
* feat: limit user choice (T-1297)
* fix: fix T-1305
* refactor: extract as SchemaSettings.DataScope
* refactor: improve linkage rules
* refactor: improve linkage rules of Action
* chore: fix build
* refactor: improve data scope of association fields
* chore: fix build
* feat: select limit
* refactor: use VariableInput to replace other
* fix: fix can not input
* fix(AssignedField): fix cannot close variables list
* test: fix errors
* refactor: migrate to new file
* fix: uniq
* fix: filter empty values
* fix: transform variables value
* fix: should sum numbers (T-1330)
* fix: fix Select (T-1337)
* refactor: use useMemo
* refactor: use hooks
* refactor: use hooks
* refactor: use hooks
* refactor: remove useless code
* refactor: rename `$form` to `$nForm` and `$record` to `$nRecord`
* fix: fix T-1334
* refactor(LinkageRuleActionGroup): use hooks
* refactor(FormButtonLinkageRuleAction): use hooks
* refactor: add type
* fix: avoid crashing
* refactor: rename `$date` to `$nDate`
* fix: fix T-1348
* perf: avoid duplicate requests
* test: fix error
* fix: fix T-1355
* fix: fix T-1355
* fix: fix T-1345
* fix: fix T-1346
* refactor(useVariableOptions): replace query with parameter
* fix: fix T-1335
* chore: fix build
* fix: fix T-1453
* refactor: remove useless code
* fix: fix T-1447
* fix: should update when seting default value
* fix: fix T-1454
* chore(eslint): ignore docker
* fix: fix T-1440
* refactor: use hooks
* fix: fix T-1332
* fix(defaultValue): should use Select mode
* fix(defaultValue): fix Checkbox
* refactor: rename and comment
* refactor: rename file name and hook name
* feat(subForm): support lazy load association fields
* fix: filter empty values
* fix(defaultValue): schema type of Checkbox should be void
* fix: fix T-1479
* fix: fix T-1491
* fix(ToOneNester): should use RecordProvider
* fix: fix T-1493
* chore: add comment
* fix: fix T-1495
* chore: fix build
* test: make pass
* fix: fix T-1503
* fix: fix T-1504
* fix: fix transformVariableValue
* fix: disable unsupport options
* refactor(useVariableOptions): add noDisabled params
* fix: data scope support to select to-many fields
* chore: add comment
* refactor: improve default value
* refactor: extract as useIsAllowToSetDefaultValue
* fix: should not support to set default value in edit mode
* fix: only the default values for sub-forms and sub-tables are valid
* fix: limit default value of association fields
* fix: fix '$nForm' variable
* fix: allow all inherit chain
* fix: optimize default value
* fix: optimize json field
* fix(currentObject): avoid error
* fix: should not show variable string
* fix: active fields
* fix: avoid errors
* feat: support special case
* fix: fix CI
* chore: fix build
* fix: json
* refactor: rename flag name
* fix: fix T-1559
* fix: fix T-1515
* fix: avoid crash
* fix: fix T-1520
* fix: fix T-1521
* fix: fix T-1523
* fix: fix T-1563
* fix: fix T-1565
* fix: fix T-1525
* fix: fix T-1524
* fix: fix T-1603
* fix: fix T-1332
* fix: fix T-1559
* fix: fix T-1602
* fix: fix T-1608
* fix: fix T-1612 T-1609
* fix: fix T-1681
* fix: fix T-1711
* fix: fix T-1713
* fix: fix T-1680
* chore: close T-1550
* fix: fix T-1507
* chore: avoid crashing
* fix: fix T-1557
* perf: close T-1726
* fix: fix T-1727
* fix: fix T-1741
* fix: fix T-1740
* chore(workflow): compact
* chore: should not to support to set default value in assign field values
* perf: compat and perf (T-1736)
* fix: fix T-1872
* fix: fix T-1877
* fix: fix quarter variables
* chore: add README
* chore: front-end should not depend on back-end code
* chore: should disable all variable options if no field is selected
* chore: should be a leaf if it has no children
* chore: fix build error
* fix: compat $form
* fix: compat $form
* chore: fix build
* chore: fix build
* fix: typeError: Cannot read properties of undefined (reading 'template')
* chore: fix test
* chore: add test
* fix: fix T-2072
* chore: optimize eslint
* perf: reduce number of requests
* fix: fix JSON
* test: fix error
* fix(e2e): avoid error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-10-07 15:49:09 +08:00
被雨水过滤的空气-Rain
a57c93d35b
feat: support e2e ( #2624 )
...
* chore: upgrade vitest to v0.34.3
* feat: setup NocoBase
* chore: preparing test env
* test: add a test of rigster
* refactor: rename test dir to testUtils
* chore: add tests
* chore: add ci for e2e
* chore: fix ci
* chore: avoid error in CI
* chore: add some utils for test
* chore: make more stable
* chore: should not close server in CI
* chore: add comments
* chore: change output dir
* fix: should use current branch to run tests
* chore: should request systemSettings by api in e2e
* chore: should build first in e2e CI
* chore: remove key
* chore: use execa to replace execSync
* refactor: extract test suite
* chore: add gotoPage
* chore: update uid of pageSchema
* chore: update collection name
* chore: use faker.js to generate data
* refactor: extract page config
* chore: ignore for association fields in faker
* chore: add testid
* chore: optimize action designer
* chore: associationFilter.Item designer
* chore: AssiciationFilter & BlockItem
* Revert "chore: AssiciationFilter & BlockItem"
This reverts commit b418df650e
.
* Revert "chore: associationFilter.Item designer"
This reverts commit 7aa4d35c1a
.
* Revert "chore: optimize action designer"
This reverts commit ff717b972f
.
* chore: optimize Designer
* chore: compat with older browsers
* chore: use describe to avoid hooks is not run
* chore: add no-floating-promises to eslint rules
* chore: support argv
* chore: demo
* chore: better testId
* chore: change .e2e.ts to .test.ts
* fix(SchemaInitializer): avoid error
* refactor: move e2eUtils.ts to @nocobase/test
* fix: move e2eUtils to client
* chore: remove uselesscode
* refactor: add .env.e2e.example
* chore: optimize log
* refactor: use mockPage to replace gotoPage
* chore: update env.e2e
* chore: add APP_BASE_URL
* chore: gitigore
* test: add test related of menu
* chore: add SOCKET_PATH in env
* fix(vscode): load env when using vscode plugin
2023-09-27 20:00:17 +08:00
YANG QIA
3b4cff15b0
fix(auth): change password issue of basic auth ( #2662 )
2023-09-16 13:55:29 +08:00
ChengLei Shao
39ee4b8873
feat: application supervisor ( #2353 )
...
* chore: skip sync localization-management plugin enable status
* chore: unSyncPlugins array
* chore: remove install at dev
* chore: gateway and supervisor
* chore: install command
* chore: remove app manager
* chore: share plugin
* chore: wsserver
* chore: websocket server
* chore: websocket connection with app status
* feat: socket server at gateway
* chore: loading message
* chore: ready status
* chore: handle app error
* feat: restart app at supervisor
* feat: health check endpoint
* chore: test
* chore: test
* chore: test
* chore: test
* chore: build
* chore: test
* chore: build
* chore: application ready status
* chore: error message
* chore: handle application error
* chore: handle error in load
* chore: report error in websocket
* chore: ws error
* chore: ws error
* chore: typo
* chore: switch app ready status at install
* chore: test
* chore: test
* chore: test
* chore: test
* feat: add WebSocket client
* chore: start gateway
* chore: start command in application
* chore: code
* chore: pm command
* chore: run start after load sub app
* feat: application fsm
* refactor: server life cycle (#2402 )
* refactor: server life cycle
* fix: test error
* fix: test error
* fix: test error
* fix: app.start
* fix: cronjob stop
* fix: db.sync before upgrade
* fix: pm.get
* fix: test error
* fix: test error
* fix: test error
* test: add test cases
* fix: remove PluginType
* chore: start application after install
* chore: fsm
* chore: working status
* chore: working command
* chore: remove swith app ready status
* chore: switch status after working done
* chore: ws status
* chore: gateway error
* chore: test
* chore: stopping status
* chore: test
* chore: test
* feat: app proxy
* chore: application destory
* chore: application message changed with status
* chore: test
* chore: test timeout
* test: remove listener add by plugin
* test: remove listener add by plugin
* chore: test
* feat: app maintaining
* fix: add AppMaintainingDialog
* feat: off
* test: gateway http response
* test: gateway with errors
* chore: unkown error
* chore: websocket message
* chore: ws message
* chore: code
* chore: error format
* chore: delay app load
* feat: improve code
* chore: application initializing status
* chore: supervisor with app status
* chore: command status response
* chore: test
* chore: ws message
* chore: test
* fix: command running message
* feat: restart
* chore: code
* chore: status transition
* chore: test
* fix: improve code
* fix: error
* fix: restart
* fix: command
* chore: reset client app tag when app selector changed
* chore: error report
* fix: application status
* fix: build
* chore: disable help command dispatch
* chore: test
* test: multi apps test
* fix: improve code
* fix: test
* fix: test
* fix: multi apps single running
* fix: improve code
* fix: app status
* chore: move plugin static file to gateway
* feat: static file handler
* chore: test
* chore: enable plugins in share collection
* chore: gateway serve upload files
* fix: improve client
* chore: ws nginx config
* fix: gateway with naonoid
* fix: db sync
* fix: loading
* fix: ping
* fix: locale load
* fix: yarn start --quickstart
* fix: add debug log
* chore: application started event
* chore: running working message payload
* chore: nginx log
* chore: nginxconf
* chore: working message log
* feat: logs
* feat: compression
* fix: remove koa-send and koa-static
* fix: remove -e
* fix: remove nginx
* fix: remove -e
* fix: __appName
* chore: delay install sub application
* chore: sync plugin status
* fix: boot sub app
* fix: main app reload
* fix: test
* fix: app status
* test: field.bind block event loop
* feat: newrelic
* feat: debug log
* chore: upgrade
* fix(file-manager): test error
* fix: default app selector
* fix: reload after maintained
* chore: boot sub app
* chore: application destroy command
* chore: destroy command
* chore: clean code
* chore: package.json
* chore: maintaining message
* chore: test
* fix: collection.sync
* feat: add test cases
* chore: application
* fix: test error
* feat: improve codes and add test cases
* fix: test error
* fix: pm enable and disable
* fix: pm.disable
* feat: update docs
* chore: update dockerfile
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-24 17:47:45 +08:00
YANG QIA
be6b949f55
feat(auth): support signing in with username ( #2376 )
...
* feat(auth): support signing in with username
* chore: compatibility && add INIT_ROOT_USERNAME
* chore: add default username of root user
* chore: add notice
* fix: typo
* chore: change rule of username
* fix: sqlite add unique constraint
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-08-19 22:02:26 +08:00
被雨水过滤的空气-Rain
aab3fafd9b
fix: fix sorting of user menu ( #2288 )
2023-07-21 10:39:58 +08:00
被雨水过滤的空气-Rain
4812cc5692
feat: support custome themes ( #2228 )
...
* feat: create custom-theme plugin
* feat: add custom-theme
* chore: add plugin name and description
* chore: add deps
* chore: optimize deps
* refactor: rename
* chore: add antd-token-previewer
* chore: add deps in plugin
* feat: add theme-editor
* feat: add theme-editor
* feat: add settings
* feat: add theme collection
* refactor: migration to the components folder
* feat: add ThemeList
* refactor: be better
* feat: export createStyles
* feat: implement ThemeCard (T-723)
* style: optimize style
* feat: add ThemeEditorProvider
* feat: add ToEditTheme
* chore: add isBuiltIn field
* feat: implement WYSIWYG
* refactor: migrate i18n
* feat: support to save config
* feat: add validation rule
* refactor: remove useless code
* refactor: optimize GlobalThemeProvider
* feat: add CurrentUserSettingsMenuProvider
* feat: support switching themes
* refactor: migrate CurrentUserProvider to app root
* feat: add InitializeTheme
* fix: fix preview demo
* fix: filter themes
* fix: not valid when editing theme
* fix: should restore the previous theme when closing theme editor
* fix: fix algorithm
* fix: the theme that was just saved should be applied
* refactor: loacl antd-token-previewer
* fix: should be based on the current theme when editing themes
* feat: support to edit theme
* perf: reduce executions
* feat: add animation
* fix: fix the type error of useRequest
* feat: remove built-in themes
* chore: reinstall deps
* fix: fix version of deps
* fix: delete client.d.ts to fix build error
* chore: reinstall deps
* fix: fix build
* fix: fix build
* fix: avoid build errors
* fix: fix crashing
* fix: use value instead of defaultValue
* fix: avoid error
* fix: avoid closure
* fix: fix build
* fix: fix style of login page
* refactor(page): fix style
* fix: fix style of PageHeader
* refactor: fix style of Drawer
* refactor: add FormDialog to loacl
* refactor: fix style of SchemaSettings.ModalItem
* refactor: fix style of pm/Card
* fix: fix text color of pm/Marketplace
* fix: fix table error
* refactor: fix style of collection-manager/summary
* refactor: fix style of fields drawer
* chore: reinstall deps
* fix: fix build
* fix: fix build of custom-theme
* fix: should export Plugin
* refactor: fix style of GraphDrawPage
* chore: upgrade plugin version
* refactor: fix style of Modal by using antd App
* refactor: fix style of FormDialog by using local version
* refactor(workflow): refactor style using antd-style in workflow
* fix(workflow): fix style of workflow
* fix: fix size
* refactor: add --nb-header-height
* feat: remove theme configuration from system settings
* refactor: migrate useUpdateThemeSettings to a new file
* refactor: rename theme to themeId
* feat: add updateSystemThemeSettings
* refactor: migrate utils function
* feat: use localStorage to avoid theme invalid in login page
* fix: fix style of login page
* fix: fix style of Drawer
* feat: optimize style of theme card
* fix: should use a empty object to reset theme
* fix: fix test of Page
* fix: fix test of Application
* fix: change backgroundColor of login page
* fix: fix all style of modal
* fix: fix gap between blocks (T-896)
* fix: fix color of font (T-905)
* fix: fix build
* fix: fix can not scroll in Drawer (T-897)
* fix: fix width of built-in plugins page (T-900)
* fix: fix style of import Modal (T-907)
* fix: fix style of calendar (T-908)
* fix: fix style of kanban (T-909)
* fix: fix style of Gantt (T-910)
* fix: fix style of Collapse (T-915)
* fix: fix style of mobile (T-916)
* fix: fix style of PageHeader (T-958)
* fix: optimize background color of Drawer
* fix: fix style of notification
* fix: fix T-1000
* fix: fix style of LinkageHeader (T-1003)
* fix: fix T-1004
* fix: fix style of scroll bar of chart (T-911)
* fix: fix style of workflow drawer (T-997)
* fix: fix T-922
* fix: fix T-924
* refactor: rename custom-theme to theme-editor
* fix: fix T-999
* fix: fix T-1011
* fix: fix error
* fix: optimize dark mode (T-921)
* fix: fix style of markdown (T-1020)
* fix: fix style of data template (T-1025)
* fix: fix style of rich text (T-1026)
* fix: fix style of a
* fix: fix style of XButton (T-1028)
* fix: fix T-1027
* fix: fix color of variable tag (T-1030)
* chore: translation
* feat: add a modal before create new theme (T-1024)
* feat: highlight card when editing theme (T-1031)
* feat: support to change theme name (T-1023)
* fix: api.auth.getOption('theme')
* fix: fix T-1032
* fix: fix feedback in feishu group
* refactor: code review
* fix: fix test
* chore: rename
* fix: useNotificationMiddleware
* refactor: revert
* fix: fix build
* fix: notification
* refactor: migrate CurrentUserProvider from Application to NocoBaseBuildInPlugin
* fix: fix test
* refactor: fix code review
* chore: avoid test error
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-16 12:46:25 +08:00
被雨水过滤的空气-Rairn
fd36c970bc
refactor(client)!: upgrade antd to v5 ( #2078 )
...
* refactor: change moment to dayjs
* refactor: remove antd css
* refactor: change @formily/antd to @formily/antd-v5
* chore: add dep
* chore: upgrade babel/core and typescript
* refactor: rename moment to dayjs
* fix(dayjs): add plugins
* refactor: fix type errors
* refactor: change default export to named export
* chore: upgrade ts-loader
* refactor: rename moment to dayjs
* refactor: fix type errors
* chore: upgrade deps for build
* fix: fix build errors
* fix: add antd reset css
* fix: fix build error
* chore: add __builtins__
* chore: optimize genStyleHook
* refactor(Calendar): less to css-in-js
* refactor(acl): less to css-in-js
* refactor(board): less to css-in-js
* chore: add antd-style
* refactor(acl): use antd-style
* refactor(board): use antd-style
* refactor: schema-initializer
* refactor: refactor genStyleHook
* refactor: kanban
* refactor: filter
* refactor: upload
* refactor: markdown
* refactor: rename className to componentCls
* refactor: rich-text
* style: fix style
* fix: fix merge error
* chore: update yarn.lock
* chore: upgrade formily
* style: fix pageHeader
* style: fix add button style
* style: fix header menu color
* chore: update yarn.lock
* chore: upgrade deps
* test: fix tests
* test: fix tests
* fix: fix build error
* fix: fix style of plugin doc
* fix: fix tests
* fix: fix drag bug
* refactor: remove useless code
* fix: fix Modal style (T-621)
* fix: fix box-shadow of subMenu (T-622)
* fix: fix style of linkage rules (T-623)
* fix: fix style of DataTemplate
* fix: fix style of variable (T-620)
* chore: update yarn.lock
* fix: avoid test failed
* test: fix error
* chore: update yarn.lock
* test: fix error
* test(dayjs): fix error
* fix: should delay show menu to avoid the menu not hidden
* test: skip failure test
* fix(mouseEnterDelay): change default value from 100 to 150
* test: avoid failed
* refactor: rename component names
* chore: optimize types
* chore: lock antd version
* fix: fix build
* fix: fix build
* fix: layout bg color use variable
* fix: fix style of buttons
* feat: remove theme config
* fix(calendar): fix style
* fix(mobile-client): fix dialog style
* fix: fix test
* refactor: make code gooder
* chore: change code
* fix: fix T-847
* fix: fix T-845
* fix: display block
* fix: danger button
* refactor: make tester better
* fix: change moment to dayjs
* fix: build error
* fix: import dayjs/plugin/isSameOrBefore
* refactor: downgrade @testing-library/react to fix warning
* fix: fix CI
* fix: upgrade deps to fix build
* fix: fix test
* fix: skip some filed tests to avoid error
* fix: fix build errors that maked by merge code
* refactor: remove moment
* fix: error
* feat: update doc
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-08 08:26:27 +08:00
Dunqing
677442c844
fix(plugin-api-keys): use currentRoles instead of get roles from roles:list ( #2163 )
2023-07-02 10:36:36 +08:00
YANG QIA
3aa65cb30c
feat: data visualization ( #2160 )
...
* feat(charts-v2): init
* chore(charts-v2): init chart renderer
* feat(chart-v2): add chart grid and initializer
* feat(chart-v2): improve ui
* feat(chart-v2): ui
* feat(charts-v2): query sort ui
* feat(charts-v2): field select component
* feat(charts-v2): improve ui && add query action
* feat(charts-v2): imporve ui, work in progress
* fix(charts-v2): chart renderer request api twice
* feat(charts-v2): add dimension formatter
* feat(charts-v2): filter, sort, limit
* feat(charts-v2): sql mode ui
* feat(charts-v2): support duplicate & sql mode
* fix(charts-v2): wrong defaultValue of json config
* feat(charts-v2): transformer ui
* feat(charts-v2): transformer
* chore(charts-v2): rename transfromer to transform
* feat(charts-v2): support cache
* feat(charts-v2): add acl provider
* chore(charts-v2): hide sql mode
* refactor(charts-v2): add renderer provider
* feat: collection permission check
* feat(charts-v2): add antd statistic
* test(charts-v2): backend
* chore: improve code
* test(charts-v2): add test
* chore: add Chinese translation
* fix(charts-v2): locale switch bug
* chore: add dependency
* feat(charts-v2): init chart config from query
* feat: change layout
* test: fix frontend test
* feat: improve auto infer
* fix: ui issues
* chore: translation
* fix: sql error
* fix: some issues
* feat: support table
* fix: bug
* chore: improve code and fix query
* feat: add config reference
* chore: add translation
* fix: process data due to pg issue
* test: fix parseBuilder
* chore: upgrade formily to 2.2.25
* fix: some issues and import style
* fix: bug when query with sort
* feat: parse enum data
* fix: yarn.lock
* fix: type error
* fix: infer bug and frontend test
* test: fix frontend
* fix: test
* feat: improve preview
* chore: downgrade formily
* feat: support associations, draft, in testing
* fix: typo
* test: frontend & backend
* fix: infer bug
* feat: measure selection of statistics
* fix: bug of group by alias
* fix: some issues
* fix: order issues
* fix: yarn.lock
* chore: fix filter include & 'data-visualization'
* style: improve style
* docs: add readme
* chore: add translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-30 20:49:44 +08:00
chenos
c229d837a3
fix: dropdownMatchSelectWidth=false ( #2143 )
2023-06-28 10:13:35 +08:00
被雨水过滤的空气-Rairn
6eed9ac2bb
refactor: fix warning of antd 4.x ( #1998 )
...
* refactor: fix warning by codemod
* refactor: fix warning of Dropdown
* perf: use memo
* refactor: resolve SchemaInitializer
* refactor: fix lint
* refactor: remove SettingsForm
* refactor: resolve SchemaInitializer
* refactor: fix lint
* refactor: move useMenuItem to root dir
* chore: fix conflicts
* refactor: resolve SchemaSetting
* refactor: fix lint
* test: fix failed
* chore: upgrade Vite
* fix: fix style
* refactor: fix lint
* refactor: extract component
* refactor: resovle Menu
* refactor: resolve Tabs
* refactor(getPopupContainer): should return the unique div
* refactor(Drawer): change style to rootStyle and className to rootClassName
* chore: update yarn.lock
* fix: fix T-432
* fix: fix T-338
* fix: fix T-490
* fix: collection fields
* fix: fix style
* fix: fix T-500
* fix: fix SettingMenu error (close T-516)
* fix: fix tanslation of Map (T-506)
* style: fix style (T-508)
* fix: fix schemaSetting switch of mobile (T-517)
* fix: fix T-518
* fix: fix T-524
* fix: fix T-507
* perf: optimize SchemaInitializer.Button
* perf: optimize SchemaSettings
* fix: fix serch of SchemaInitializer (T-547)
* chore: change delay
* fix: fix button style (T-548)
* fix: fix scroll bar
* fix: update yarn.lock
* fix: fix build error
* fix: should update sideMenu when change it
* fix: fix build error
* chore: mouseEnterDelay
* fix: fix group menu can not selected
2023-06-22 19:51:16 +08:00
jack zhang
d76e8fb87f
refactor: upgrade umi
, react
and react-router-dom
( #1921 )
...
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: update docs
* feat: update docs
* fix: page tab change not work
* fix: login redirect query param doesn't work
* fix: bug and doc
* feat: update docs
* fix: ci error
* fix: merge main
* feat: update docs
* feat: update docs
* feat: update docs
* chore(versions): 😊 publish v0.10.0-alpha.1
* fix: translations
* chore: backend node test max old space size
* docs: add useSearchParams
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-06-20 11:48:02 +08:00
Dunqing
9c165db0f7
feat(plugin-mobile-client): support mobile-side client ( #1879 )
...
* feat: init mobile client
* feat: add plugin
* feat: ready to develop
* feat: update pm styels
* feat: add mobile center
* feat: router ready
* feat: support menu block, then menu ready
* fix: incorrect path
* feat: support TabBar
* feat: tabbar, menu support dragging
* feat: support page and header
* feat: mobile view
* fix: optional schema
* feat: improve styles
* fix: user-scalable
* feat: support pc component show in mobile
* feat: hidden divider
* fix: improve drawer props
* feat: support list block
* feat: rename to details list
* feat: page support tabs
* feat: improve designer css
* feat: complete enable/disabled header of page
* feat: some improve
* feat: improve empty data
* fix: header info cannot displayed
* chore: update deps
* fix: incorrect spacing
* fix: menu designer
* refactor: re implement
* feat: support page template
* feat: clean code
* feat: support i18n
* chore: update lock
* feat: support GirdCard in mobile
* fix: build failed
* feat: only render one column in mobile interface
* fix: back button should not display in container
* fix: switch to padding
* fix: fixedBlockDesignRItem shouldn't display in dosen't support block
* fix: update font family
* fix: remove gridcard title
* fix: dragging scope is too wide
* fix: add menu cannot direct display
* refactor: improve tabbar schema usage
* refactor: improve menu schema
* feat: should to use simple pagination
* feat: the tag should pre-wrap
* feat: improve the configuration button
* feat: improve name
* fix: clear data when modal is closed
* fix: the tag is too long
* fix: i18n
* fix: font incorrect
* feat: add map block
* fix: some maps error
* feat: support global action in page
* feat: improve border color
* feat: improve performance, the count stop early
* style: improve
* fix: incorrect font
* fix: style conflict
* chore: update version
* chore: missing dep
* feat: support setting block
* feat: improve settings block and improve
* feat: support onBackPressed
* fix: ts error
* feat: improve cannot find tab should navigate to mobile
* docs: update
* chore: update deps
* fix: showTitle state is incorrect
* feat: improve jsbridge apis
* fix: navigate to admin after signout
* chore: remove mgrid block
* fix: ts error
* fix: switch role will reload to root page
* fix: update deps
* fix: upgrade formily to 2.2.24
---------
Co-authored-by: dream2023 <1098626505@qq.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-08 19:54:00 +08:00
YANG QIA
24601aa66f
feat(auth): support custom authentication ( #2007 )
...
* feat(auth): init auth package & collection
* feat(auth): register
* feat(auth): use authenticator
* feat(auth): mapRoles
* feat(auth): refactor
* feat(auth): base auth class
* feat(auth): add plugin
* chore(auth): test
* chore(auth): add test cases
* feat(auth): authenticators pane
* chore(auth): custom hook useAuthTypes
* feat(auth): authenticator pane
* chore(auth): store options schema using context
* feat(auth): signInPage provider
* feat(auth): signUpPage provider
* chore(auth): solve build errors
* chore(auth): add dependency
* chore(auth): remove dependency cycles
* chore(auth): add plugin-auth to preset
* chore(auth): fix test
* feat(auth): authenticator enable status
* fix(test): fix test using new authentication
* feat(auth): migration, set up basic auth
* chore(auth): can set options ui by component
* fix(test): workflow manunal.test
* fix(test): typo
* feat(auth): support multi-language
* chore(auth): imporve code
* chore(auth): hide button if no configuration
* chore(auth): readme
* chore(auth): remove allowSignup prop
* chore(auth): move configure pane to edit form
* fix(auth): jwt options bug
* feat(auth): init sms-auth
* chore(auth): at least authenticator required
* chore(auth): add test
* feat(auth): support sms auth
* fix(auth): fix test
* chore(auth): move findOrCreateUser to AuthModel
* chore(auth): history compatible processing
* feat(auth): support SAML auth
* chore(auth): saml auth list
* chore(saml-auth): improve ui
* Merge branch 'main' into feat/authentication
* chore(auth): improve code
* fix(saml-auth): fix bug
* fix(saml-auth): fix saml options
* chore(saml-auth): compatible processing && ut
* fix(auth): signin page bug
* chore(auth): saml compatible processing
* feat(auth): oidc-auth
* fix(oidc-auth): bug
* fix(oidc-auth): bug
* fix(auth): fix test
* chore(auth): filter enabled authenticator
* chore(oidc): add field map
* chore(auth): update readme
* docs(auth): create sms-auth readme
* feat(auth): allow signup config
* test(auth): fix test
* feat(auth): allow saml and oidc use http
* chore(oidc-auth): extends timeout
* docs(auth): update readme
* feat(auth): support sort
* docs(saml): update readme
* feat(auth): support sort all authenticator
* Merge branch 'main' into feat/authentication
* Merge branch 'main' into feat/authentication
* feat: improve code
* docs(auth): add doc
* Merge branch 'main' into feat/authentication
* chore: update yarn.lock
* feat: improve code
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: edit
* refactor: auth class
* fix: set options
* chore(acl): write role to acl if it exists in database and not found … (#2001 )
* chore(acl): write role to acl if it exists in database and not found in acl
* fix: test
* fix: eager load with nested association (#2002 )
* chore: upgrade vitest
* chore: add migrations
* test: fix api-client test
* chore: add sms-auth
* feat: avoid no permission after auth type disabled
* fix: translation
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-06-07 23:46:42 +08:00
Junyi
17ccdee9ab
fix(client): fix some warnings ( #1934 )
...
* fix(client): fix some warnings
* fix(client): fix warning
2023-05-25 18:54:06 -07:00
xilesun
518ca740f8
fix(locale): translation typo
2023-05-22 19:58:55 +08:00
YANG QIA
d35f67d2e1
feat(app): add clear cache button ( #1909 )
2023-05-22 17:16:12 +08:00
YANG QIA
eac034cb23
feat: support reboot application manually ( #1889 )
...
* feat(reload-btn): reload application manually
* feat(app): support reboot
* feat: collections load after upgrade
* feat(reboot): support reboot manually
* chore(reboot): some typo
* fix(reboot): fix storage path
* fix(reboot): change restart file path
* fix: menu divider
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-05-19 20:34:22 +08:00
chenos
883f1e6fd1
fix: eslint ( #1759 )
...
* fix: eslint
* fix: eslint --fix
* fix: changelog
2023-04-25 13:12:14 +08:00