Rory Powell
89d19a87a7
Revert "Merge pull request #10038 from Budibase/fix/budi-6723" ( #10143 )
...
This reverts commit b1b18bef18
, reversing
changes made to e841ccd0ed
.
2023-03-29 08:48:06 +01:00
Andrew Kingston
e0e5ca7a3c
Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration
2023-03-28 15:47:53 +01:00
Dean
8557c307dd
Merge remote-tracking branch 'origin/develop' into feature/whitelabelling
2023-03-28 11:19:08 +01:00
Rory Powell
cd3b2ba199
Lint
2023-03-27 22:39:35 +01:00
Rory Powell
60650b031b
Move branding read behind pro
2023-03-27 22:28:25 +01:00
mike12345567
cf5316ec8d
General fixes for open handles, attempting to find and close all issues in server which are stopping shutdown of Jest suite.
2023-03-27 19:38:49 +01:00
mike12345567
926ee18703
Updating Jest to latest 29.5.0 and then fixing snapshots to work with this - also setting worker memory limits for Node 16.10+ - where a leak can occur.
2023-03-21 19:52:06 +00:00
mike12345567
82286d519f
Fixing some issues with test cases.
2023-03-21 17:27:31 +00:00
mike12345567
1c73b92595
Fix for app sync, base it on group roles, not just user roles - stops app sync from pulling in group users which do not actually have access to the app.
2023-03-21 13:55:28 +00:00
Dean
bfd7e49c72
Template fixes and updates to the file picker. Error handling added to display a warning when navigating to an unpublished or invalid app url.
2023-03-21 09:20:43 +00:00
Dean
ce33afdeae
Merge remote-tracking branch 'origin/develop' into feature/whitelabelling
2023-03-16 09:07:58 +00:00
Dean
253ee413a2
Working commit
2023-03-16 09:07:21 +00:00
Rory Powell
de89b9112a
Simplify errors framework ( #10042 )
...
* Simplify errors framework
* Use enum for ErrorCode
* Lint
* Update base BudibaseError type to use enum
* For for public error on UsageLimitError
* Build fix
* Build fix
2023-03-16 08:42:02 +00:00
mike12345567
6174b6ae18
Squashing #10024 for master merge.
2023-03-15 14:16:45 +00:00
Dean
c7e54947a8
Merge remote-tracking branch 'origin/develop' into feature/whitelabelling
2023-03-15 10:28:08 +00:00
Dean
f3b58923cf
Merge remote-tracking branch 'origin/develop' into feature/whitelabelling
2023-03-15 09:13:36 +00:00
mike12345567
79f2e9d970
Fixing build issue.
2023-03-14 17:04:25 +00:00
mike12345567
859ec85fe9
Fix for schema endpoint, needed secrets removed as well.
2023-03-14 16:13:28 +00:00
mike12345567
c2de0ade7d
Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6723
2023-03-14 14:25:46 +00:00
mike12345567
63cf91218d
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-03-14 14:12:32 +00:00
mike12345567
da9e1bed64
Fix for googlesheets issue - when table initially created doesn't have the correct schema, adding a function to handle static schemas like Gsheets.
2023-03-14 12:11:01 +00:00
mike12345567
6b8d0ca9dd
Adding mechanism for verifying the Budibase properties, such as required and min/max as part of the external API.
2023-03-13 16:21:22 +00:00
Rory Powell
e116941750
Rotatable secrets ( #9982 )
...
* Rotatable secrets
* Set new api encryption key var
* Lint
* Use fallback keys instead of array
* Point api encryption key to dedicated value
* Add API_ENCRYPTION_KEY to cli
* Lint + add api encryption key to env files
2023-03-13 15:02:59 +00:00
Dean
5ce52cad06
Working commit
2023-03-13 12:33:16 +00:00
Andrew Kingston
909118d398
Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things
2023-03-13 11:30:18 +00:00
Michael Drury
5eabe9db22
Merge pull request #9779 from Budibase/jonny/api-metrics
...
metrics api endpoint
2023-03-10 12:12:51 +00:00
Andrew Kingston
c4e3667b6c
Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things
2023-03-09 17:54:58 +00:00
Adria Navarro
63afd34eb2
Bug - BUDI-6068 filters do not work for google sheets ( #9886 )
...
* Add data-utils with filters
* Create data-utils
* Add data-utils to compiled code
* Reuse constants
* Fix tests
* Rename package to shared-core
* Namespace export shared-core
* Rely on rollup to bundle shared-core
* Revert "Rely on rollup to bundle shared-core"
This reverts commit e8b5a2bb9a
.
* Updating version and removing private.
* Update version
* Increment versions.
* Implement sort
* Enabling sort
* v2.3.21-alpha.2
* Fix build
* Improve readability
* Move deepGet to shared helper
* Better type usage
* Fix types
* Configure types
* Fix vite refs
* Add dep
* Fixing depencencies on client
* Add missing dev command
* Fix loading issues
* Update versions to latest
* Multiple es6 and commonjs configs
* Config
* Use local packages on rollup for client
* Change shared-core and types entry points
---------
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-09 12:25:12 +00:00
Adria Navarro
158703daef
Bug - BUDI-6068 filters do not work for google sheets ( #9886 )
...
* Add data-utils with filters
* Create data-utils
* Add data-utils to compiled code
* Reuse constants
* Fix tests
* Rename package to shared-core
* Namespace export shared-core
* Rely on rollup to bundle shared-core
* Revert "Rely on rollup to bundle shared-core"
This reverts commit e8b5a2bb9a
.
* Updating version and removing private.
* Update version
* Increment versions.
* Implement sort
* Enabling sort
* v2.3.21-alpha.2
* Fix build
* Improve readability
* Move deepGet to shared helper
* Better type usage
* Fix types
* Configure types
* Fix vite refs
* Add dep
* Fixing depencencies on client
* Add missing dev command
* Fix loading issues
* Update versions to latest
* Multiple es6 and commonjs configs
* Config
* Use local packages on rollup for client
* Change shared-core and types entry points
---------
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-09 08:50:26 +00:00
mike12345567
0026f86cc6
Fixing operation ID.
2023-03-06 17:41:24 +00:00
mike12345567
36683459b8
Updating metrics endpoint to have examples of expected data format - show OpenMetrics response.
2023-03-06 15:55:55 +00:00
mike12345567
13ae950101
Updating test case.
2023-03-06 15:31:27 +00:00
mike12345567
c51b9fb4b3
Merge branch 'develop' of github.com:Budibase/budibase into jonny/api-metrics
2023-03-06 15:23:35 +00:00
Jonny McCullagh
cbc377b0f4
unit tests
2023-03-06 11:51:49 +00:00
Andrew Kingston
36c953443f
Add WIP initial multi-user websocket implementation for sheets
2023-03-05 18:57:05 +00:00
mike12345567
cb39053b12
Fix for #9778 - there was an issue with operationId in the OpenAPI spec, these need to be unique to be compliant with the spec as brought up in the issue. Also re-writing the spec generation to Typescript to be compliant with how backend code is now written.
2023-02-28 18:10:56 +00:00
Andrew Kingston
a28148d9f8
Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-abs
2023-02-28 13:59:37 +00:00
mike12345567
2fb33e2cf3
Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs
2023-02-27 14:51:33 +00:00
Rory Powell
2e829ce8a6
Merge pull request #9785 from Budibase/configs-refactor-and-server-test-fixes
...
Configs / Server tests / Failing real email tests updates
2023-02-27 14:00:21 +00:00
mike12345567
f070be5f65
Moving search index to an enum.
2023-02-24 13:15:14 +00:00
mike12345567
42fc004212
Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs
2023-02-24 12:46:58 +00:00
adrinr
d5fd635d6c
Remove @ts-ignore
2023-02-24 11:26:05 +01:00
adrinr
045822d65e
Dry
2023-02-24 11:24:29 +01:00
adrinr
2fc97189e5
Merge remote-tracking branch 'origin/develop' into bug/budi-6619/cannot_update_relationships_in_postgresql_many_to_one
2023-02-24 11:12:07 +01:00
adrinr
2e45f94d79
Improve verbosity
2023-02-24 10:47:32 +01:00
Andrew Kingston
b8e7e0b701
Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-spreadsheet
2023-02-23 16:41:08 +00:00
Andrew Kingston
8cd7ba1fdf
Undo/Redo for Design and Automate sections + automations refactor ( #9714 )
...
* Add full undo/redo support for screens
* Add loading states to disable spamming undo/redo
* Add keyboard shortcuts for undo and redo
* Fix modals not closing in design section when escape is pressed
* Remove log
* Add smart metadata saving to undo/redo
* Add error handling to undo/redo
* Add active state to hoverable icons
* Fix screen deletion
* Always attempt to get latest doc version before deleting in case rev has changed
* Move undo listener top level, hide controls when on certain tabs, and improve selection state
* Add tooltips to undo/redo control
* Update automation section nav to match other sections
* Fix automation list padding
* Fix some styles in create automation modal
* Improve automation section styles and add undo/redo
* Update styles in add action modal
* Fix button size when creating admin user
* Fix styles in add automation step modal
* Fix issue selecting disabled automation steps
* Reset automation history store when changing app
* Reduce spammy unnecessary API calls when editing cron trigger
* WIP automation refactor
* Rewrite most automation state
* Rewrite most of the rest of automation state
* Finish refactor of automation state
* Fix selection state when selecting new doc after history recreates it
* Prune nullish or empty block inputs from automations and avoid sending API requests when no changes have been made
* Fix animation issues with automations
* Sort automations and refetch list when adding or deleting
* Fix formatting
* Add back in ability to swap between values and bindings for block inputs
* Lint
* Format
* Fix potential issue in design section when selected screen is unset
* Fix automation arrow directions everywhere, tidy up logic and fix crash when using invalid looping
* Lint
* Fix more cases of automation errors
* Fix implicity any TS error
* Respect _id specified when creating automations
* Fix crash in history store when reverting a change on a doc whose ID has changed
* Lint
* Ensure cloneDeep helper doesn't crash when a nullish value is passed in
* Remove deprecated frontend automation test
---------
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 13:55:18 +00:00
Rory Powell
4e1bebe897
Server flaky tests fixes - improving tenancy config
2023-02-23 13:43:27 +00:00
adrinr
9e0d003038
Fix creation
2023-02-23 10:28:24 +01:00
adrinr
83649f1959
Setup o2m and m2m relationships
2023-02-22 22:40:50 +01:00
Jonny McCullagh
dde1237ed2
allUsers function & more metrics
2023-02-22 21:10:35 +00:00
adrinr
f00994af7f
Fix wrong relationship mapping
2023-02-22 17:18:05 +01:00
adrinr
8c906c1681
Merge remote-tracking branch 'origin/develop' into bug/budi-6619/cannot_update_relationships_in_postgresql_many_to_one
2023-02-22 15:00:41 +01:00
adrinr
63af59a5b0
Handle link fields
2023-02-22 14:59:42 +01:00
adrinr
e350f6b166
Undo literal changes
2023-02-22 11:02:32 +00:00
adrinr
b9c54b6fe6
Update many to many
2023-02-22 10:54:55 +00:00
mike12345567
ef30c03fa6
Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs
2023-02-21 17:26:24 +00:00
Rory Powell
940de8b6a0
Run CI steps in parallel ( #9760 )
...
* Parallel CI
* Add build to integration test
* Add checkout to top of each run
* Revert branch update for ci job
* Experiment with --runInBand for CI
* Fix intermittent backend-core migration test failure
* Fix hanging worker redis connection
* Update naming from reset to newTenant
2023-02-21 17:13:24 +00:00
mike12345567
f7f9e63fe8
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-02-21 16:53:28 +00:00
adrinr
e0242d0883
Fix the many to one updates
2023-02-21 16:29:18 +00:00
adrinr
be81767a46
Replace maps for foreach
2023-02-21 15:57:56 +00:00
Jonny McCullagh
a908125ea3
add metrics endpoint to api
2023-02-20 19:56:04 +00:00
Andrew Kingston
654c348e4e
Generate inclusion schema when importing multiselect columns
2023-02-20 18:46:06 +00:00
mike12345567
1eb2307fed
Fix for #9749 - static formulas would sometimes attempt to update the same row multiple times, filter down to just the unique row list which requires updating.
2023-02-20 15:35:14 +00:00
mike12345567
b60013cbb8
switching metadataSearch to fullSearch.
2023-02-20 11:29:43 +00:00
Rory Powell
a57f0c9dea
Merge branch 'develop' into rory/february
2023-02-20 09:57:17 +00:00
mike12345567
6ec5e97ce9
Required work to support the new lucene audit logs search indexing.
2023-02-17 16:26:55 +00:00
mike12345567
1ed4f4b8fe
Update on audit logs, getting the full write flow from events configured.
2023-02-15 12:37:32 +00:00
mike12345567
05ceee1cfe
Moving lucene handling to backend-core so that it can be used for other databases (outside row indexes).
2023-02-13 17:13:59 +00:00
Rory Powell
0e3a17ab18
Merge pull request #9669 from Budibase/budi-6558-configurable-test-log-levels-and-common
...
Configurable test log levels and common error handling
2023-02-13 14:31:43 +00:00
Rory Powell
ae9979929a
Enable higher concurrency and resiliency in worker tests
2023-02-13 11:57:30 +00:00
Rory Powell
5cd6cb166a
Configurable test log levels and common error handling
2023-02-13 11:53:01 +00:00
mike12345567
7def2059f7
Updating test case which has been occasionally throwing 409 issues.
2023-02-10 18:29:29 +00:00
mike12345567
0c80ea2083
Merge branch 'master' of github.com:Budibase/budibase into develop
2023-02-10 17:42:56 +00:00
mike12345567
f8ef06c849
Fix issue with MS-SQL, port needs to be a number for the node-mssql package, with env vars it isn't anymore.
2023-02-10 11:54:16 +00:00
Andrew Kingston
cadadca048
Generate option inclusion constraint ( #9647 )
...
* Fix options inclusion constrant not being generated when creating a table from file upload
* Fix 0 being treated as null when specifying min and max constraints for number fields
* Sort newly generated option field inclusion constraints
* Revert previous solution and fix problem by removing incorrect local assignment statement
2023-02-10 11:00:20 +00:00
melohagan
e33aaff312
Replace ts-ignore with 400 if needed ( #9621 )
2023-02-09 11:46:41 +00:00
mike12345567
68912f8030
Minor fix for the plugin datasource error that occurred when opening apps in an environment where the datasource no longer exists.
2023-02-08 19:17:15 +00:00
mike12345567
ced811fc23
Another quick fix.
2023-02-07 18:35:22 +00:00
mike12345567
1a52bd8a50
Fixes based on test runs.
2023-02-07 18:11:33 +00:00
Mateus Badan de Pieri
89bad2d45a
Merge branch 'develop' into tests/environment-variables
2023-02-07 16:15:57 +00:00
Mateus Badan de Pieri
7c702cd0ac
update tests
...
remove comments
2023-02-07 15:47:11 +00:00
Michael Drury
a353848152
Merge pull request #9368 from Budibase/test/9339-sqlpostgres-row-api-test-suite
...
Test - #9339 sqlpostgres row api test suite
2023-02-07 15:38:09 +00:00
adrinr
452147c308
Cleanup tests
2023-02-07 12:45:41 +00:00
adrinr
3d917bfe22
Fix conflicting columns issue
2023-02-07 12:25:02 +00:00
mike12345567
ee05ea959a
Adding longer timeout.
2023-02-07 10:50:11 +00:00
mike12345567
173f62f8f3
Test fix.
2023-02-07 10:16:40 +00:00
mike12345567
464ab7a1bb
Merge branch 'develop' of github.com:Budibase/budibase into fix/cli-memory-issues
2023-02-07 09:56:49 +00:00
mike12345567
9339213910
Merge.
2023-02-06 18:00:42 +00:00
adrinr
9bb1a2fa18
Merge remote-tracking branch 'origin/develop' into test/9339-sqlpostgres-row-api-test-suite
2023-02-06 09:12:13 +00:00
Adria Navarro
5ee9073d9b
Merge pull request #9419 from Budibase/feature/dependencies-image
...
Chore - use testcontainers
2023-02-06 09:09:07 +00:00
Martin McKeaveney
8b133b97fb
fix build
2023-02-05 23:12:08 +00:00
Martin McKeaveney
d4a0e44b31
merge
2023-02-05 22:11:37 +00:00
Adria Navarro
774b50232c
Increase timeouts
2023-02-05 10:34:42 +00:00
Adria Navarro
2f2c8a50cc
Flaky test
2023-02-05 10:33:21 +00:00
Adria Navarro
0a47b35285
Flaky test
2023-02-05 10:00:27 +00:00
Adria Navarro
4522d6c906
Fix flaky test
2023-02-05 09:04:47 +00:00
mike12345567
3b43943f1f
Some quick scripts for loading a lot of rows and apps.
2023-02-03 19:29:28 +00:00
adrinr
11a7742d90
Cleanup
2023-02-03 19:23:36 +00:00
adrinr
420cb36ca7
Replace beforeeach for before alls
2023-02-03 19:02:40 +00:00