Commit Graph

27559 Commits

Author SHA1 Message Date
Sam Rose 9a2e8031bc
Fix plugin.spec.ts's reliance on the node-fetch mock. 2024-08-01 11:43:37 +01:00
mike12345567 8a64dd1e0a Reverting init.sql. 2024-08-01 11:39:31 +01:00
mike12345567 f0da4b0366 Merge branch 'master' of github.com:Budibase/budibase into fix/sql-pagination-fixes 2024-08-01 11:39:01 +01:00
Adria Navarro c32b5085e7
Merge branch 'master' into fix/dont-allow-protected-column-names-on-import 2024-08-01 12:34:10 +02:00
mike12345567 86f59fb71d Fixes an issue with MS-SQL timeouts, it doesn't respect query timeout value as the client has its own built in timeout by default of 15000ms. 2024-08-01 11:20:23 +01:00
Sam Rose 3d20d4ccb7
Fix application.spec.ts's reliance on the node-fetch mock. 2024-08-01 10:37:54 +01:00
Adria Navarro bf1566ebb2
Merge branch 'master' into fix/dont-allow-protected-column-names-on-import 2024-08-01 11:04:14 +02:00
Adria Navarro f4bd303572 Handle frontend 2024-08-01 11:02:21 +02:00
Adria Navarro 0d6b4cee95
Merge branch 'master' into fix/reimporting_rows 2024-08-01 10:54:26 +02:00
Adria Navarro 3128501083
Merge branch 'master' into fix/import-column-issues 2024-08-01 10:38:56 +02:00
Sam Rose 0bd18a2832
wip trigger support 2024-08-01 09:34:56 +01:00
Adria Navarro e6c4c8ef77
Merge branch 'master' into chore/unify-row-format-values 2024-08-01 10:29:36 +02:00
Peter Clement 8539f6d853
Add helper function / builder for creating Automations for tests and improved types (#14220)
* basic class for generating and running an automation

* change filename

* add to existing tests

* remove dupe tests

* add types to automation steps

* add types to triggers

* update tests and typing

* fix types

* typo

* move all step schema types do types folder

* updated types

* typing pr comments

* remove unused param

* some more typing and tests

* more typing

* improve type map

* fix broken type

* this will surely fix my issue
2024-07-31 22:18:00 +01:00
Sam Rose 6b78e599f0
Working on getting Oracle auto column imports working. 2024-07-31 17:37:16 +01:00
mike12345567 b54157a6fb Fix for enrich endpoint discovered by tests. 2024-07-31 17:22:17 +01:00
mike12345567 70071dac28 Merge branch 'fix/sql-pagination-fixes' of github.com:Budibase/budibase into fix/sql-pagination-fixes 2024-07-31 16:56:51 +01:00
mike12345567 de22a078c0 Adding bookmark to each subsequent (thanks tests ). 2024-07-31 16:50:20 +01:00
Michael Drury 47401e26ff
Merge branch 'master' into fix/sql-pagination-fixes 2024-07-31 16:41:04 +01:00
Adria Navarro 8f741ffe6a More validations 2024-07-31 17:40:30 +02:00
Adria Navarro 62ec93441a
Merge branch 'master' into chore/unify-row-format-values 2024-07-31 17:37:12 +02:00
Adria Navarro ad74eca709 Fix 2024-07-31 17:32:36 +02:00
Adria Navarro 3f4484af00 Add extra tests 2024-07-31 17:32:19 +02:00
mike12345567 a2f11f17fd Type fix. 2024-07-31 16:31:02 +01:00
Adria Navarro 788a16cf48 Add safety tests 2024-07-31 17:26:42 +02:00
mike12345567 1d695be77c This PR includes a change to pagination which makes sure if the 5000 max row limit is hit that pagination still kicks in. This means that you can eventually return all rows, although for very large tables you may hit rate limits (if you have thousands of rows related to each row in your table). 2024-07-31 16:21:49 +01:00
Adria Navarro c015f8d192 Run for both internal and external 2024-07-31 17:18:03 +02:00
Adria Navarro 73eefa1046 Check protected names on validation 2024-07-31 17:14:02 +02:00
Adria Navarro 785ab12237 Add protected name validation test 2024-07-31 17:07:56 +02:00
Adria Navarro 38da9012ea Display error 2024-07-31 16:56:14 +02:00
Sam Rose f0dbaa5eae
Add query to span as a tag. 2024-07-31 15:40:54 +01:00
Sam Rose e62298e199
Record SQS queries in DataDog. 2024-07-31 15:38:26 +01:00
Adria Navarro c0e60e8e3e
Merge branch 'master' into chore/unify-row-format-values 2024-07-31 16:13:02 +02:00
Adria Navarro b74841d99d Fix 2024-07-31 15:20:06 +02:00
Adria Navarro a6beb0fa82 Support no updating existing rows 2024-07-31 15:14:29 +02:00
Adria Navarro f794f84e90 Fix quote count 2024-07-31 15:03:31 +02:00
Adria Navarro 24cdfb3443 Fix re-importing 2024-07-31 15:03:31 +02:00
Adria Navarro b28aaa3a93 Fix 2024-07-31 15:03:31 +02:00
Adria Navarro 9d0fdeff68 Add validateExistingTableImport _id support test 2024-07-31 15:03:31 +02:00
Adria Navarro 5896e94e56 Add basic validateExistingTableImport test 2024-07-31 15:03:31 +02:00
Adria Navarro 4f65306c4f Add basic validateNewTableImport test 2024-07-31 15:03:31 +02:00
Adria Navarro 543d0e1ce6 Add tests 2024-07-31 14:01:38 +02:00
Adria Navarro 95b18076d4
Merge branch 'master' into fix/import-column-issues 2024-07-31 13:36:48 +02:00
Adria Navarro fe2b2bb097 Don't export couchdb fields 2024-07-31 13:33:20 +02:00
Adria Navarro 62fa05a855 Type 2024-07-31 13:28:28 +02:00
Sam Rose d6c5042aa6
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-07-31 12:01:11 +01:00
Sam Rose d4ddfb4de2
Merge branch 'test-oracle' of github.com:budibase/budibase into test-oracle 2024-07-31 12:00:59 +01:00
Sam Rose 4b7042be9f
Ignore Oracle on bulk upsert tests. 2024-07-31 12:00:50 +01:00
Adria Navarro 2b22abe0bd
Merge branch 'master' into chore/unify-row-format-values 2024-07-31 12:25:55 +02:00
Adria Navarro 58a47b801a Remove magic strings 2024-07-31 12:23:09 +02:00
Adria Navarro 0202db3efe Unify enums 2024-07-31 12:20:45 +02:00
Michael Drury 29b803cddc
Merge branch 'master' into fix/datadog-400-error 2024-07-31 11:20:23 +01:00
mike12345567 4d058b7053 Fixing an issue seen when browsing through datadog error logs for app service. 2024-07-31 11:11:52 +01:00
Adria Navarro 981e2ca89d
Merge branch 'master' into fix/csv-importing-file-refresh 2024-07-31 12:11:03 +02:00
mike12345567 76895174b5 Merge branch 'master' of github.com:Budibase/budibase into test-oracle 2024-07-31 11:03:30 +01:00
Adria Navarro 780f672100 Handle state issues 2024-07-31 11:44:39 +02:00
mike12345567 8ee2e6d0de Merge branch 'test-oracle' of github.com:Budibase/budibase into test-oracle 2024-07-30 18:22:38 +01:00
mike12345567 7cc000a838 Fixes for not contains in oracle. 2024-07-30 18:22:20 +01:00
Adria Navarro a172a44741 Fix test 2024-07-30 19:08:00 +02:00
Adria Navarro a9a40516db Fix test 2024-07-30 18:58:51 +02:00
Sam Rose ea7a6195bf
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-07-30 17:58:44 +01:00
Sam Rose 3c4832c7a6
Merge branch 'test-oracle' of github.com:budibase/budibase into test-oracle 2024-07-30 17:58:35 +01:00
Sam Rose cc1e466db9
Add Oracle to table.spec.ts 2024-07-30 17:57:21 +01:00
mike12345567 b470ecc7d9 Merge branch 'test-oracle' of github.com:Budibase/budibase into test-oracle 2024-07-30 17:54:10 +01:00
mike12345567 f0bdbd5b4d Fixing not contains with oracle. 2024-07-30 17:53:53 +01:00
Adria Navarro e24229e5b2
Merge branch 'master' into chore/improve_typings 2024-07-30 18:53:06 +02:00
Adria Navarro 48349f9ad0 Fix tests 2024-07-30 18:44:00 +02:00
Sam Rose d7199c9def
Fix a few more clob problems. 2024-07-30 17:41:39 +01:00
Adria Navarro 3d88ed0c42
Merge branch 'master' into chore/save_autofields_on_bulksaves 2024-07-30 18:36:08 +02:00
Adria Navarro e41f3ada62
Merge branch 'master' into chore/improve_typings 2024-07-30 18:36:00 +02:00
Sam Rose 383132d06c
Actually fix time zone problems this time. 2024-07-30 17:26:00 +01:00
Adria Navarro 0a35ae012f Prevent test container name conflicts 2024-07-30 18:16:29 +02:00
Adria Navarro 9371f9913e Types 2024-07-30 18:14:54 +02:00
Sam Rose aa7894604f
Fix dates and times for good? maybe? 2024-07-30 16:56:59 +01:00
Adria Navarro 21b9bf36fd Add api types 2024-07-30 17:52:27 +02:00
Adria Navarro 7d17717895 Subtype required for autocolumns 2024-07-30 17:48:08 +02:00
Adria Navarro 10351c52f8 Improve types 2024-07-30 17:46:48 +02:00
Adria Navarro ff15b84429
Merge branch 'master' into chore/save_autofields_on_bulksaves 2024-07-30 17:40:01 +02:00
Adria Navarro 643d57b583 Add extra tests 2024-07-30 17:29:03 +02:00
Adria Navarro 61d73b1f59 Add createdAd and updatedAt on bulkDocs 2024-07-30 17:26:49 +02:00
Adria Navarro e07bc5b572 Add bulkDocs test 2024-07-30 17:26:29 +02:00
Adria Navarro 8280c2ccfd Add databaseImpl.put tests 2024-07-30 17:22:21 +02:00
mike12345567 8a7e0793d4 Linting. 2024-07-30 16:07:09 +01:00
mike12345567 8f7a88ce86 Moving logic to frontend - definitions are returned unless they are deprecated, frontend decides which it can use to create. 2024-07-30 16:04:33 +01:00
Sam Rose c6ec710abe
Solve _some_ date problems. 2024-07-30 16:03:03 +01:00
mike12345567 8badd7b83e Merge branch 'fix/hide-row-actions' of github.com:Budibase/budibase into fix/hide-row-actions 2024-07-30 15:34:16 +01:00
mike12345567 7a68db4274 Fix test to remove invalid definitions. 2024-07-30 15:33:43 +01:00
Michael Drury 2486497a6c
Merge branch 'master' into fix/hide-row-actions 2024-07-30 15:20:21 +01:00
mike12345567 76652ddab5 Fixes some issues with row actions which were allowing them to be added from the automation section (which is not allowed) as well as breaking app access once they were added - this hides them properly so they can't be added as well as fixing the issue when they exist. 2024-07-30 15:07:34 +01:00
Andrew Kingston 32ba04c83d
Merge branch 'master' into dean-fixes 2024-07-30 15:03:54 +01:00
mike12345567 d06377a25d Merge branch 'master' of github.com:Budibase/budibase into test-oracle 2024-07-30 13:02:22 +01:00
deanhannigan d2be5f6f16
Merge branch 'master' into fix/accomodate-missing-auto-trigger 2024-07-30 12:56:38 +01:00
deanhannigan f12f242449
Merge branch 'master' into dean-fixes 2024-07-30 12:56:36 +01:00
mike12345567 f4afa3270e Removing invalid test. 2024-07-30 12:44:31 +01:00
mike12345567 ff2802873e Fixing an issue with to_char testing in sql.spec.ts. 2024-07-30 12:29:16 +01:00
Sam Rose b6560d1d7b
Fix sorting. 2024-07-30 11:58:28 +01:00
mike12345567 03f9219d1d PR comment. 2024-07-30 11:57:06 +01:00
Sam Rose bc7501f72b
Fix range queries. 2024-07-30 11:54:46 +01:00
Michael Drury af0fa2c56e
Merge branch 'master' into fix/search-by-row-id 2024-07-30 11:45:36 +01:00
melohagan fce7c2d1b0
update account-portal ref (#14273)
* update account-portal ref

* Remove yarn lock changes
2024-07-30 11:40:31 +01:00
Dean 5269258532 Ensure the builder is functional if an app automation does not contain a trigger 2024-07-30 11:37:47 +01:00
Sam Rose 0599257935
Fix time-only columns. 2024-07-30 11:26:16 +01:00
Sam Rose 384466c754
Merge master. 2024-07-30 11:04:47 +01:00
Sam Rose 4b80d7cb91
Merge branch 'test-oracle' of github.com:budibase/budibase into test-oracle 2024-07-30 11:04:06 +01:00
Sam Rose 5bce8e595d
Plumb FieldSchema into parse. 2024-07-30 11:03:54 +01:00
Dean cad066c668 Reduced the number of unnecessary calls to update the automation store or fetch automations. The contant updates appeared to cause issues with routify 2024-07-30 10:03:24 +01:00
mike12345567 d448f469f1 Updating image names. 2024-07-29 19:00:25 +01:00
mike12345567 c328799488 Merge branch 'test-oracle' of github.com:Budibase/budibase into test-oracle 2024-07-29 18:56:32 +01:00
mike12345567 fe36b76fe9 Getting something working - using a different version and a pre-built image. 2024-07-29 18:56:15 +01:00
Sam Rose 25ab2e2689
Revert schema plumbing, need to revisit. 2024-07-29 18:20:49 +01:00
Sam Rose e1ef66bf56
Refactor InternalBuilder to give me more access to query state. 2024-07-29 18:11:05 +01:00
Sam Rose ad414b982e
Gone some way toward getting time-only fields to work. Still test failures though. 2024-07-29 16:54:59 +01:00
Sam Rose 5cb294f33e
Fix binding mismatch problem in oneOf queries. 2024-07-29 14:54:58 +01:00
Sam Rose a4b66e00e4
Fix bigints. 2024-07-29 14:32:28 +01:00
Peter Clement d29d37b39c
Fix issue with stepId being undefined when importing app (#14265)
Co-authored-by: Adria Navarro <adria@budibase.com>
2024-07-29 14:09:55 +01:00
melohagan 60f7c03e17
Fix/verify sso bug (#14253)
* Delete associated SSO user

* Update reset password screen

* Partial type removed

* lint

* Split getFirstPlatformUser from getPlatformUsers

* lint

* Use correct method

* Code review comments

* lint
2024-07-29 13:25:46 +01:00
Gerard Burns cf31c7ba3f
Form Screen Templates Generate Relevant Row Ids, Permission Roles are Automatically Generated (#14192)
* url params

* wip

* wip

* wip

* wip

* permissions now

* change table/screen deletion

* form screen refactor

* refactor grid templates

* wip

* wip permissions

* wip

* wip

* lint

* lint

* wip

* before lint

* lint

* wip

* rename some stuff

* Dean PR Feedback

* remove unneeded awaits
2024-07-29 11:59:24 +00:00
Sam Rose 50d1972127
wip 2024-07-29 09:57:24 +01:00
mike12345567 27d4226c6e Shorten column name. 2024-07-26 17:06:04 +01:00
mike12345567 1beae2c040 Fix bug (thanks tests) 2024-07-26 16:57:07 +01:00
mike12345567 9fb1c6b988 When searching by row ID with external DBs/SQS we can get into a situation where the limit of 1 which is applied by the frontend can cause problems, with many to many relationships we need to retrieve multiple rows (all of the joined related rows). This was raised by poirazis, it exhibits itself in one part of the platform, when attempting to a row by ID in a form block that has multiple many to many relationships. The frontend needs to be able to send a limit of 1 incase it is using a form block but hasn't gotten a row ID (this can happen in preview/the builder) and it just wants to populate with a row for display. 2024-07-26 16:23:46 +01:00
Adria Navarro 8421a75328
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-26 15:16:21 +02:00
Adria Navarro f2cd589aae
Merge branch 'master' into chore/renames 2024-07-26 14:42:08 +02:00
Adria Navarro f9bfe51c81 Rename external 2024-07-26 14:37:47 +02:00
Adria Navarro ee74a84339 Remove duplicates 2024-07-26 14:36:41 +02:00
Adria Navarro 3a095c5071 Renames 2024-07-26 14:35:36 +02:00
Adria Navarro 4cf3706904 Renamings 2024-07-26 14:29:20 +02:00
Adria Navarro d7e2f0fc0e Fix build 2024-07-26 13:42:33 +02:00
Adria Navarro a05ec1498f Allow importing internal tables 2024-07-26 13:27:51 +02:00
Adria Navarro 5102724f89 Fix conflicting imports in jest 2024-07-25 17:22:09 +02:00
Adria Navarro afdf6a8fa5 Change imports 2024-07-25 16:46:37 +02:00
Adria Navarro 92a26d4272 Undo async import 2024-07-25 16:43:53 +02:00
Adria Navarro 7ffe8d4b4a Fix barrelfile issue 2024-07-25 16:40:49 +02:00
Adria Navarro 0ee0901961 Remove comment 2024-07-25 16:16:18 +02:00
Adria Navarro 173a9cb75a Clean outputs 2024-07-25 16:15:23 +02:00
Adria Navarro b12641e467
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-25 16:09:23 +02:00
Adria Navarro db9bc1f373 Fix types 2024-07-25 16:08:51 +02:00
Adria Navarro beaabdd64a Allow row actions running for dev apps 2024-07-25 15:54:38 +02:00
Adria Navarro 297ff58b67 Pass proper params 2024-07-25 15:37:50 +02:00
Adria Navarro 62eaa11ebb Add trigger 2024-07-25 15:37:49 +02:00
Adria Navarro 22f86be34d
Merge branch 'master' into feat/row-actions 2024-07-25 15:26:50 +02:00
Michael Drury db0ab81f62
Merge branch 'master' into bulk-remove-utility 2024-07-25 12:00:44 +01:00
Andrew Kingston 7e11b57e87
Merge branch 'master' into remove-selected-rows-datasource 2024-07-25 11:17:20 +01:00
Andrew Kingston fa8e380659
Merge branch 'master' into fix/lucene-isempty-filter 2024-07-25 11:07:21 +01:00
mike12345567 5a0b64e047 Merge branch 'bulk-remove-utility' of github.com:Budibase/budibase into bulk-remove-utility 2024-07-25 10:26:16 +01:00
mike12345567 4e0a84f7f8 PR comment. 2024-07-25 10:26:02 +01:00
Michael Drury 3c9a4595a5
Merge branch 'master' into bulk-remove-utility 2024-07-25 10:25:45 +01:00
Adria Navarro aafe7a2831
Merge branch 'master' into feat/row-actions 2024-07-25 11:13:18 +02:00
Adria Navarro dad27a3399
Merge pull request #14238 from Budibase/BUDI-8441/expose-rowaction-definition
Expose row action definition
2024-07-25 11:12:53 +02:00
Sam Rose 20bad903cc
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-07-25 09:38:41 +01:00
Peter Clement 5ab81543e3
Fix issue with trigger filters not saving (#14231)
* Fix issue with trigger filters not saving

* use enum instead of nasty string

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2024-07-25 09:30:38 +01:00