1
0
Fork 0
mirror of synced 2024-07-11 01:06:04 +12:00
Commit graph

24136 commits

Author SHA1 Message Date
Adria Navarro 0649497ab5 Add comment 2024-03-05 18:11:50 +01:00
Adria Navarro 8d87850765 Remove defaults and init 2024-03-05 18:11:50 +01:00
Adria Navarro b94d28b7d6 Clean 2024-03-05 18:11:50 +01:00
Adria Navarro 420b0ffc03 Tests 2024-03-05 18:11:50 +01:00
Adria Navarro 936ddafee7 Use bull 2024-03-05 18:11:50 +01:00
Adria Navarro df325e21c3 Add doc-writethrough queue 2024-03-05 18:11:50 +01:00
Adria Navarro b39400f08c Clean 2024-03-05 18:11:50 +01:00
Adria Navarro 2412d75cac Type inMemoryQueue 2024-03-05 18:11:49 +01:00
Adria Navarro 774ff42f0c Use overloads 2024-03-05 18:11:49 +01:00
Adria Navarro 82a6f9027e Namespace key in redis by db 2024-03-05 18:11:49 +01:00
Adria Navarro da012c0f08 Namespace key in redis by db 2024-03-05 18:11:49 +01:00
Adria Navarro e986d34b87 Fix types 2024-03-05 18:11:49 +01:00
Adria Navarro dc84eb4e80 Type caches 2024-03-05 18:11:49 +01:00
Adria Navarro eb9a163394 Making code more readable 2024-03-05 18:11:49 +01:00
Adria Navarro fd93eb79d5 Fixes and tests 2024-03-05 18:11:49 +01:00
Adria Navarro 04fb279623 Extra tests 2024-03-05 18:11:49 +01:00
Adria Navarro 223637999a Ensure keys are removed 2024-03-05 18:11:49 +01:00
Adria Navarro 41dde9722f Test concurrency 2024-03-05 18:11:49 +01:00
Adria Navarro 35536592e6 Add extra tests 2024-03-05 18:11:49 +01:00
Adria Navarro bfde028e9b Add persisting tests 2024-03-05 18:11:49 +01:00
Adria Navarro 74aae19a7e docWritethrough test 2024-03-05 18:11:49 +01:00
Adria Navarro 82132d539d DatabaseImpl.docExists test 2024-03-05 18:11:49 +01:00
Adria Navarro 10568cccff USe get for doc exists 2024-03-05 18:11:49 +01:00
Adria Navarro 9f42ea6bbf DocWritethrough 2024-03-05 18:11:49 +01:00
Adria Navarro 40cc383c01 Create docWriteThrough redis cache 2024-03-05 18:11:49 +01:00
Adria Navarro a093cfca99 Fix test 2024-03-05 18:11:12 +01:00
Adria Navarro de0527384a Support complex objects 2024-03-05 18:10:45 +01:00
Adria Navarro 82ff748fd9 Add complex object tests 2024-03-05 18:10:33 +01:00
Adria Navarro f2330144de Clean 2024-03-05 17:57:28 +01:00
Adria Navarro 8f9e8b60c3 Fix types 2024-03-05 17:19:26 +01:00
Michael Drury a332c058ce Disabling aliasing on writes (create, update, delete) for MySQL/MS-SQL datasources. 2024-03-05 16:19:21 +00:00
Adria Navarro 38d557ea1c
Merge branch 'master' into BUDI-8046/redis-bulk-store 2024-03-05 17:11:13 +01:00
Adria Navarro 3baf981d48 Add TTL tests 2024-03-05 17:08:08 +01:00
Adria Navarro 1b0a943e13 Atomic expires 2024-03-05 17:04:46 +01:00
Adria Navarro d9a5899b27 Bulk store test 2024-03-05 16:49:45 +01:00
Adria Navarro 49db47e1fd Add bulk store 2024-03-05 16:46:33 +01:00
Adria Navarro a4288a9dd3 Basic test 2024-03-05 16:41:49 +01:00
Adria Navarro 56870bed5b Typings 2024-03-05 16:30:45 +01:00
Adria Navarro a5d6d094e6 Update types 2024-03-05 16:28:31 +01:00
Sam Rose 4170213c0d
Merge branch 'master' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles-5 2024-03-05 14:47:56 +00:00
Sam Rose 488cfea1f4
Fix typing. 2024-03-05 14:40:29 +00:00
Sam Rose f1decee010
Get test passing. 2024-03-05 14:37:06 +00:00
Adria Navarro e076c0e5f5 Use typed redis clients 2024-03-05 15:10:51 +01:00
Adria Navarro cb5f3e3bd3 Lint 2024-03-05 14:38:36 +01:00
Adria Navarro e8c3f20c30 Update pro ref 2024-03-05 14:32:18 +01:00
Adria Navarro 5bd5ea06e7 Merge branch 'BUDI-8064/doc-writethrough' into BUDI-8046/scim-logger 2024-03-05 14:20:09 +01:00
Adria Navarro ca0f583399 Remove defaults and init 2024-03-05 14:19:05 +01:00
Adria Navarro dfdbc7b22b Update pro ref 2024-03-05 14:05:39 +01:00
Adria Navarro 6b86633c65 Update pro ref 2024-03-05 14:01:41 +01:00
Adria Navarro 82d2116ce0 Merge branch 'BUDI-8064/doc-writethrough' into BUDI-8046/scim-logger 2024-03-05 13:59:33 +01:00
Adria Navarro 74a9aa4a72
Merge branch 'master' into BUDI-8064/doc-writethrough 2024-03-05 13:55:33 +01:00
Adria Navarro caf142f1db Clean 2024-03-05 13:55:07 +01:00
Adria Navarro e648503e4f Tests 2024-03-05 13:50:58 +01:00
Sam Rose aa124524d4
Add a simpler test. 2024-03-05 10:05:05 +00:00
Sam Rose 4c6745ad20
Merge branch 'budi-7710-user-groups-do-not-fully-support-custom-roles-4' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles-5 2024-03-05 09:25:19 +00:00
Sam Rose fced2f3696
Respond to PR feedback. 2024-03-05 09:23:48 +00:00
Sam Rose dd8fb23b52
Merge branch 'master' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles-4 2024-03-05 09:20:46 +00:00
Sam Rose 13563d18dc
Write a failing test. 2024-03-05 09:20:20 +00:00
melohagan 8694b8d772
Relationship picker incorrectly renders selections (#13175)
* Ensure _id is decoded for external search

* Fetch initial value for 'Update' type forms

* test didn't run locally - might run on github workflow

* Tested and appears to be as before

* Null-pointer fix

* undo type change

* update modules

* add test

* update modules
2024-03-05 09:03:19 +00:00
mike12345567 45702ce918 Fixing typing. 2024-03-04 17:02:52 +00:00
mike12345567 86aefcfe1a Updating test values. 2024-03-04 17:00:34 +00:00
mike12345567 691536ce71 Merge branch 'fix/13177' of github.com:Budibase/budibase into fix/13177 2024-03-04 16:55:33 +00:00
mike12345567 a7fcd7cca1 Attempting to fix issue with table name needing to be aliased. 2024-03-04 16:55:10 +00:00
Sam Rose ca4884e9cc
Merge branch 'master' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles-4 2024-03-04 16:43:37 +00:00
Sam Rose 9d8c18337d
Type role controller. 2024-03-04 16:42:41 +00:00
Michael Drury 8fb38e85ca
Merge branch 'master' into fix/13177 2024-03-04 16:19:36 +00:00
Michael Drury 5afb5f2490
Merge branch 'master' into fix/13177 2024-03-04 16:10:04 +00:00
Michael Drury df1821faba
Merge branch 'master' into budi-7710-user-groups-do-not-fully-support-custom-roles-3 2024-03-04 16:07:14 +00:00
melohagan ee0f0abad2
Fix/rename mysql column (#13186)
* Rebuild table schema when adding new column to get externalType

* Added MySQL integration test suite

* Add test for emitting datasource on save new column

* Update packages/server/src/integration-test/mysql.spec.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* remove duplicate tests

* Use UUID

* update account portal

* Remove _add for internal save

* Internal DB add column unit test

* rename column test

* update modules

* fix tests

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-04 15:55:45 +00:00
Sam Rose a9ad0229da
Merge branch 'master' into budi-7710-user-groups-do-not-fully-support-custom-roles-3 2024-03-04 15:53:24 +00:00
mike12345567 02e3b36cd8 Adding missing files. 2024-03-04 15:47:27 +00:00
mike12345567 7b7d10d1ff Fixing an issue with returning statements in MS-SQL and MySQL, when creating, updating or deleting rows the response is not retrieved correctly when aliased. 2024-03-04 15:47:04 +00:00
Adria Navarro 2d84bc5da2 Use bull 2024-03-04 16:34:05 +01:00
Adria Navarro 91468d2569 Add doc-writethrough queue 2024-03-04 16:18:01 +01:00
Adria Navarro ae85c83248 Clean 2024-03-04 15:43:47 +01:00
Adria Navarro 62fe394139 Merge branch 'BUDI-8046/improve-test-queues' into BUDI-8064/doc-writethrough 2024-03-04 15:41:10 +01:00
Adria Navarro 824dd1c1fc Type inMemoryQueue 2024-03-04 15:38:45 +01:00
Andrew Kingston e7f807f331
Merge branch 'master' into fix-grid-single-char-changes-v2 2024-03-04 14:27:58 +00:00
Sam Rose 1e184605a1
Migrate users of switchToSelfHosted to config.withEnv 2024-03-04 13:47:53 +00:00
Sam Rose 1857383c47
Constrain query execution response slightly based on PR feedback. 2024-03-04 13:37:41 +00:00
melohagan a59647e158
Rebuild table schema when adding new column to get externalType (#13165)
* Rebuild table schema when adding new column to get externalType

* Added MySQL integration test suite

* Add test for emitting datasource on save new column

* Update packages/server/src/integration-test/mysql.spec.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* remove duplicate tests

* Use UUID

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-04 11:21:43 +00:00
Sam Rose c39053bb51
Respond to PR feedback. 2024-03-04 11:06:25 +00:00
Andrew Kingston 50eba97194
Merge branch 'master' into feature/form-screen-template 2024-03-04 10:45:17 +00:00
Peter Clement 90086d9f32 Merge remote-tracking branch 'refs/remotes/origin/fix/filtering-lucene-bug' into fix/filtering-lucene-bug 2024-03-04 10:07:34 +00:00
Peter Clement 3d9a7e5ddf fix type 2024-03-04 10:07:06 +00:00
Peter Clement 15419f2ddb
Merge branch 'master' into fix/filtering-lucene-bug 2024-03-04 09:58:44 +00:00
Peter Clement 5679acb868 fix types 2024-03-04 09:55:28 +00:00
Peter Clement e3c514e45a Update test lucene builder and add more tests 2024-03-04 09:48:47 +00:00
Sam Rose 143daa153c
Fix ViewV2 tests. 2024-03-04 09:38:53 +00:00
Sam Rose 89a03af92a
Fix table test. 2024-03-04 09:20:32 +00:00
Sam Rose 678ce98830
Merge master. 2024-03-04 09:09:09 +00:00
Sam Rose 594cd5ee56
Fix permissions tests. 2024-03-01 17:40:10 +00:00
Sam Rose 90f981724d
Fix typing. 2024-03-01 17:38:21 +00:00
Sam Rose 37a10857df
Migrate ViewV2API 2024-03-01 17:35:51 +00:00
Sam Rose 7fa5dbeec9
Migrate UserAPI 2024-03-01 17:17:38 +00:00
Sam Rose 149d2c0b29
Migrate ScreenAPI 2024-03-01 17:14:30 +00:00
Sam Rose f91db6d985
Migrate RowAPI.search 2024-03-01 17:13:46 +00:00
Sam Rose c0907d37ef
Migrate RowAPI.bulkImport 2024-03-01 17:12:46 +00:00
Sam Rose 02ac338c3f
deleteMany -> bulkDelete 2024-03-01 17:11:19 +00:00
Sam Rose a4e212c0d8
Migrate RowAPI.exportRows 2024-03-01 17:10:49 +00:00
Sam Rose 376bb9c105
Migrate RowAPI.fetch 2024-03-01 17:04:35 +00:00
Sam Rose a98948150d
Migrate RowAPI.delete 2024-03-01 17:03:34 +00:00
Sam Rose 4efafaeeaf
Migrate RowAPI.patch 2024-03-01 16:40:47 +00:00
Sam Rose 58b1c2bca6
Migrate RowAPI.validate 2024-03-01 16:39:57 +00:00
Sam Rose a639ba91d3
Migrate RowAPI.save 2024-03-01 16:38:31 +00:00
Sam Rose d5c6ab8648
Fix tests. 2024-03-01 16:03:52 +00:00
Sam Rose 8d39b24c44
Merge branch 'master' of github.com:budibase/budibase into test-api-unification 2024-03-01 15:20:15 +00:00
Sam Rose 5d42804020
Migrate some of RowAPI, WIP 2024-03-01 15:20:07 +00:00
Peter Clement a13497bc7d
Merge branch 'master' into fix/branding-title-bug 2024-03-01 15:06:27 +00:00
Peter Clement d59b3b628a Ensure title value is passed to client app 2024-03-01 14:59:30 +00:00
Sam Rose 16e9c5ff4e
Migrate QueryAPI 2024-03-01 14:33:18 +00:00
Sam Rose f5f81a5fb0
Fix tests. 2024-03-01 13:59:55 +00:00
Adria Navarro 4ff2b36553 Use overloads 2024-03-01 13:59:51 +01:00
Adria Navarro 2da5cb3ddb Namespace key in redis by db 2024-03-01 13:41:40 +01:00
Adria Navarro 93e462b8c7 Namespace key in redis by db 2024-03-01 13:38:48 +01:00
Adria Navarro 1c701fa81e Log responses 2024-03-01 13:30:43 +01:00
Dean d9b0b1c1e3 Merge remote-tracking branch 'origin/master' into feature/form-screen-template 2024-03-01 12:23:12 +00:00
Adria Navarro 4e53cb5143 Flags 2024-03-01 13:09:42 +01:00
Adria Navarro 3a341338a1 Log requests 2024-03-01 13:07:27 +01:00
Michael Drury 30bd1deb37
Merge branch 'master' into revert-13160-revert-13128-feature/sql-query-aliasing 2024-03-01 11:37:45 +00:00
Adria Navarro 1c17121568 Fix types 2024-03-01 11:12:31 +01:00
Adria Navarro 8611fade5e
Merge branch 'master' into BUDI-8064/doc-writethrough 2024-03-01 11:08:49 +01:00
Adria Navarro ff7c784342 Type caches 2024-03-01 11:04:55 +01:00
Adria Navarro 2b7c988823 Making code more readable 2024-03-01 11:04:30 +01:00
Adria Navarro 66751728bb Fixes and tests 2024-03-01 10:53:18 +01:00
Andrew Kingston ec52b87a54
Merge branch 'master' into fix-grid-single-char-changes-v2 2024-02-29 18:53:25 +00:00
melohagan 5b09a130cc
Make use of 405 when appropriate (#13168) 2024-02-29 18:33:57 +00:00
Sam Rose f876c5c6e4
Merge master. 2024-02-29 17:34:16 +00:00
Sam Rose 46bec3c515
Migrate PermissionAPI 2024-02-29 17:33:36 +00:00
Andrew Kingston 613105d370
Merge branch 'master' into fix-grid-single-char-changes-v2 2024-02-29 17:05:35 +00:00
Michael Drury 296405b009
Merge branch 'master' into types/update-datasource-controller 2024-02-29 17:04:58 +00:00
mike12345567 a91ecb8c14 Addressing PR comments. 2024-02-29 17:03:04 +00:00
melohagan b4906b0db3
Fetch attachment URL in public API retrieve row (#13167) 2024-02-29 16:45:40 +00:00
mike12345567 92ac417fdf Removing accidentally commited stuff. 2024-02-29 16:31:50 +00:00
mike12345567 50bbbb2e06 Updating datasource controller types, this branched out a little bit to removing as many anys as possible, and allowing RowValue to correctly be returned from the allDocs function of the DB. 2024-02-29 16:28:00 +00:00
Adria Navarro 6b8f67ed41 Extra tests 2024-02-29 17:01:16 +01:00
Sam Rose 1a2a77fc91
Migrate LegacyViewAPI 2024-02-29 15:59:03 +00:00
Sam Rose 4fbe03bbda
Migrate DatasourceAPI. 2024-02-29 15:50:18 +00:00
Adria Navarro 3068e58c31 Ensure keys are removed 2024-02-29 16:48:16 +01:00
Michael Drury aac301e25d
Merge branch 'master' into revert-13160-revert-13128-feature/sql-query-aliasing 2024-02-29 15:48:07 +00:00
Conor Webb 78359808bf
Budi 8058 builder svelte warning in properties of type icon (#13164)
* Added helper function to check user plan type.

* Updated help menu email support license check.

* Removed stray output check

* Updated function name as per feedback.

* Reworked code to use the licensing store over the auth store.

* Removed unnecessary variable declaration and return instead.

* Updated function name to maintain consistency.

* Fixed linting issues.

* Removed stray comment from icon component.
2024-02-29 15:18:28 +00:00
Adria Navarro 720d5a4105 Test concurrency 2024-02-29 15:51:42 +01:00
Adria Navarro 3ec0052481 Add extra tests 2024-02-29 15:41:26 +01:00
Sam Rose 5163434b08
Convert BackupAPI. 2024-02-29 14:33:09 +00:00
Adria Navarro dc4d1fdbda Add persisting tests 2024-02-29 15:28:35 +01:00
Adria Navarro 40d7a0a741 docWritethrough test 2024-02-29 15:23:32 +01:00
Adria Navarro 3af2da3b7d DatabaseImpl.docExists test 2024-02-29 15:17:18 +01:00
Gerard Burns 5ec4e90c6d
Revert "App Preview Skeleton (#12898)" (#13159)
This reverts commit 9a9b745795.
2024-02-29 12:51:56 +00:00
Adria Navarro 7d50a70d03 USe get for doc exists 2024-02-29 13:47:18 +01:00
Adria Navarro ff7c8d3b95 DocWritethrough 2024-02-29 13:44:52 +01:00
Michael Drury c5591ee87f
Revert "Revert "SQL Query aliasing"" 2024-02-29 12:33:03 +00:00
Michael Drury de3968ffe3
Revert "SQL Query aliasing" 2024-02-29 12:32:15 +00:00
Andrew Kingston bc723c7094 Lint 2024-02-29 12:25:21 +00:00
Michael Drury 1ce15528b6
Merge branch 'master' into feature/sql-query-aliasing 2024-02-29 11:39:19 +00:00
Sam Rose 6b306266b5
Only show stack traces if you ask for them. 2024-02-29 11:09:39 +00:00
Andrew Kingston acecea5704 Refactor grid row actions to be more explicit and remove extraneous flags 2024-02-29 10:30:38 +00:00
Adria Navarro 76b9cbcc5f Create docWriteThrough redis cache 2024-02-29 11:22:27 +01:00
Sam Rose 4a2f688456
Merge branch 'master' of github.com:budibase/budibase into test-api-unification 2024-02-29 10:19:17 +00:00
Sam Rose 8488ff4144
Print stack traces from inside request handler. 2024-02-29 09:19:14 +00:00
melohagan 0205db104d
FIX: clicking on design tab while data tab loads does not navigate correctly (#13152)
* If still loading, try navigation later

* Set active tab even if still loading

* Refactor - timeout not needed!
2024-02-29 09:15:01 +00:00
Sam Rose e309282ff7
Fix type checks. 2024-02-28 17:46:16 +00:00
Sam Rose d9cffa1878
Migrate AttachmentAPI. 2024-02-28 17:43:39 +00:00
Sam Rose 7a48fd85ac
Migrate ApplicationAPI 2024-02-28 17:27:15 +00:00
Sam Rose 3e76511ffd
Merge branch 'master' of github.com:budibase/budibase into test-api-unification 2024-02-28 16:56:39 +00:00
Sam Rose f1ed7af439
Rework the API slightly. 2024-02-28 16:55:45 +00:00
Andrew Kingston e876d14b92 Ensure unsaved pending changes to rows are applied when changing cell 2024-02-28 16:43:41 +00:00
Sam Rose 223a268483
Respond to PR feedback. 2024-02-28 16:35:15 +00:00
Sam Rose 3203cc3d72
Convert TableAPI. 2024-02-28 16:27:14 +00:00
mike12345567 d471a2bf0f Undoing change. 2024-02-28 15:19:55 +00:00
mike12345567 56b1855f6a Adding test cases for table names in table names. 2024-02-28 15:18:07 +00:00
Sam Rose 4ba7070ca1
Merge branch 'master' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles 2024-02-28 15:13:46 +00:00
mike12345567 be99d27460 Merging recent changes - had to change some type definitions. 2024-02-28 14:49:11 +00:00
mike12345567 58e4271440 Fixing issue with quotes/graves. 2024-02-28 14:38:43 +00:00
melohagan 039df5d476
FIX: cannot delete a renamed column with a mysql datasource (#13147)
* Support MySQL column rename in Budibase

* Delete NOT ignored types

* unit tests

* update account portal
2024-02-28 13:44:52 +00:00
Adria Navarro cfdb0d98a2 Move responsability to the store 2024-02-28 14:41:31 +01:00
mike12345567 aa6fa76618 Missing word in test case. 2024-02-28 13:37:47 +00:00
mike12345567 cd81a83b94 Reverting changes to handle full stops. 2024-02-28 13:37:11 +00:00
Adria Navarro b4092fed05 Don't post scim data on update 2024-02-28 14:27:59 +01:00
Adria Navarro 7c73c294b9 Remove AD groups when importing users 2024-02-28 14:17:46 +01:00
Adria Navarro ee55d6fd2e Don't allow internal groups 2024-02-28 13:44:26 +01:00
Adria Navarro d637af36f5 Update pro ref 2024-02-28 13:44:26 +01:00
Adria Navarro bf6ac376a1 Don't allow adding users to AD groups 2024-02-28 13:44:26 +01:00
Adria Navarro 03c6063e15 Copy change 2024-02-28 13:44:26 +01:00
Sam Rose 237634386c
More typing fixes. 2024-02-28 12:19:08 +00:00
Sam Rose 7d757cf853
Merge branch 'master' of github.com:budibase/budibase into budi-7710-user-groups-do-not-fully-support-custom-roles 2024-02-28 12:14:22 +00:00
Sam Rose 07b3d83ebb
Remove test skeleton. 2024-02-28 12:14:03 +00:00
Sam Rose a9392b2176
More types. 2024-02-28 12:13:13 +00:00
Sam Rose bfb0064289
More types. 2024-02-28 11:46:58 +00:00
Sam Rose fde5825589
Fix type checks. 2024-02-28 11:20:42 +00:00
Sam Rose c81ca66aa4
Get tests passing again. 2024-02-28 11:16:26 +00:00
mike12345567 a2df1deb85 Fixing issue found by test cases, column names containing table names. 2024-02-28 11:08:35 +00:00
mike12345567 0c51a60e9a Updating test cases as per PR comments. 2024-02-28 10:16:21 +00:00
Sam Rose 7ac2449201
Working on typing TestConfiguration.ts. 2024-02-28 10:08:42 +00:00
Andrew Kingston e97754dd53
Merge branch 'master' into feature/form-screen-template 2024-02-28 09:22:50 +00:00
Peter Clement 2933571c62 update runLuceneQuery in client to allow for all filter matching 2024-02-28 08:34:41 +00:00
mike12345567 4068df6025 Adding error handling for table names or columns which contain dots (invalid). 2024-02-27 17:46:02 +00:00
mike12345567 35c1f5bbce Adding handling for columns with dots in them. 2024-02-27 17:15:20 +00:00
Adria Navarro 15995e25be Allow all users to be added to a group 2024-02-27 17:17:26 +01:00
Adria Navarro 62791e1f0d Allow all users to be added to a group 2024-02-27 17:17:22 +01:00
Adria Navarro 9af7167792 Fix ActionButton tooltip 2024-02-27 16:32:12 +01:00