Commit Graph

19862 Commits

Author SHA1 Message Date
Adria Navarro f6e6243c81 Type patch 2023-07-26 13:55:02 +02:00
Adria Navarro b69e18ab70 Return _viewId when searching 2023-07-26 13:54:35 +02:00
Adria Navarro 2c6725404f Types 2023-07-26 13:54:35 +02:00
Adria Navarro de0f3f7463 Merge branch 'develop' into backmerge-master-20230726 2023-07-26 12:50:52 +01:00
mike12345567 f2abcf581f Fixing issue with falsey composite keys, if one of the values used for a composite key is say an empty string, or a zero it would not be added to the _id field, stopping the field from being retrievable. 2023-07-26 12:31:46 +01:00
Adria Navarro 2e54b40d55 Build backend-core before dev script 2023-07-26 12:48:33 +02:00
Adria Navarro aeeb69d80e Merge pull request #11352 from Budibase/BUDI-7189/return_default_row_data
Return default row data
2023-07-26 11:29:24 +01:00
Adria Navarro 17b394dba9 Increase timeouts 2023-07-26 12:12:32 +02:00
Adria Navarro d07f840559 Increase timeouts 2023-07-25 22:15:45 +02:00
Adria Navarro 1512ecd939 Merge pull request #11349 from Budibase/BUDI-7189/update_view_endpoint
Add endpoint to update views 2.0
2023-07-25 19:04:36 +01:00
mike12345567 43bfb943a3 Some fixes post testing. 2023-07-25 18:52:59 +01:00
Adria Navarro 3ce92e8034 Implement and test external field selector 2023-07-25 19:48:46 +02:00
Adria Navarro 67f502579e Test schema 2023-07-25 19:48:46 +02:00
Adria Navarro 3c28d112b5 Add internal sdk tests 2023-07-25 19:48:46 +02:00
Adria Navarro d93c99b947 Return data when schema is defined 2023-07-25 19:48:46 +02:00
Adria Navarro b2e0384f8a Check ui path vs body 2023-07-25 19:46:46 +02:00
mike12345567 66fbdfe4e8 Breaking out pro components back into the worker user SDK, and attempting to separate the pro components as much as possible from the user SDK itself, so that it can be easily re-created in other services. 2023-07-25 18:39:40 +01:00
Adria Navarro 783e8a5b08 Change url to include the id 2023-07-25 19:34:52 +02:00
mike12345567 90371b9d69 Refactoring users core to move into backend, allowing app builder endpoints to move into pro. 2023-07-25 17:48:57 +01:00
Dean 0c0190c7ca Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 17:17:49 +01:00
Rory Powell 4acbd55404 Merge develop 2023-07-25 16:54:00 +01:00
Dean 211bab4cf6 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 16:18:05 +01:00
Andrew Kingston 7b0b714bb5 Merge pull request #11338 from Budibase/fix/data-query-builder-binding
Stop data query binding drawer value from being cleared.
2023-07-25 16:13:49 +01:00
Andrew Kingston e022d9a22b Merge pull request #11337 from Budibase/fix/binding-panel
Fix builder crash when editing formula bindings
2023-07-25 16:13:16 +01:00
Andrew Kingston a1fe1150ab Merge pull request #11334 from Budibase/cheeks-fixes
Prevent parentheses in query names
2023-07-25 16:13:03 +01:00
Andrew Kingston a188bf381c Merge pull request #11345 from Budibase/fix/nullish-popover-styles
Fix nullish check bug causing options fields to break on mobile sometimes
2023-07-25 16:12:47 +01:00
Andrew Kingston 8f859ccee4 Merge pull request #11346 from Budibase/fix/remove-unsupported-relationship-ux
Hide the 'Define Relationships' button when an integration does not support relationships
2023-07-25 16:12:33 +01:00
Dean 85d3980bdc PR Feedback 2023-07-25 15:47:25 +01:00
Dean a5b81558b9 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 15:42:01 +01:00
Rory Powell f028ba07f5 Update pro ref 2023-07-25 15:36:25 +01:00
Rory Powell 8590f865b5 Merge branch 'master' into merge-master 2023-07-25 15:32:16 +01:00
Adria Navarro 9235afb5d9 Test updating v1 2023-07-25 15:49:32 +02:00
Adria Navarro 6e24bf41df More tests 2023-07-25 15:41:04 +02:00
Adria Navarro 97957e96bd Update test 2023-07-25 15:35:48 +02:00
Adria Navarro 2412056292 Update basic test 2023-07-25 15:34:25 +02:00
Adria Navarro 29bc87a47f Update view endpoint 2023-07-25 15:33:49 +02:00
Dean f813a26ff0 packages/builder/src/components/backend/DataTable/DataTable.svelte 2023-07-25 14:32:21 +01:00
Rory Powell a477feaada Lint 2023-07-25 14:14:24 +01:00
Rory Powell 143e6597db Fix issues with tests when running with pro from npm 2023-07-25 13:18:56 +01:00
Adria Navarro ad181422ef Merge pull request #11323 from Budibase/BUDI-7189-views-v2
Views v2 backend
2023-07-25 12:27:56 +01:00
Andrew Kingston 58820cacdb Fix nullish check in position dropdown logic 2023-07-25 11:53:03 +01:00
Dean e8dd3f9d90 Remove the define relationship button in the datatable when relationships are unsupported 2023-07-25 11:46:22 +01:00
mike12345567 01815cd61f Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-25 11:42:40 +01:00
Rory Powell 7236fb8141 Merge pull request #11305 from Budibase/feature/offline-license-master
Cherry-pick: Offline Licensing
2023-07-25 11:38:58 +01:00
Rory Powell 0c095fdbef Update pro ref 2023-07-25 11:22:00 +01:00
Rory Powell bfb7586b49 Lint 2023-07-25 11:19:08 +01:00
mike12345567 d9c8e26f65 Re-writing APIs based on most recent discussion about RBAC and per app builders. 2023-07-24 18:29:46 +01:00
Dean d97c44725f Stopped query binding value from being cleared. Shifted the bound value updated to an onChange handler 2023-07-24 17:45:41 +01:00
Andrew Kingston 48d15f5e08 Add optional chaining as binding context may not exist 2023-07-24 16:19:08 +01:00
Adria Navarro c9dc4006a1 Merge branch 'BUDI-7189-views-v2' into BUDI-7189/return_columns_based_on_schema 2023-07-24 16:47:46 +02:00
Adria Navarro 76d32b40fd Merge pull request #11286 from Budibase/BUDI-7189/create_view_schema_endpoint
Return schema from table endpoint
2023-07-24 15:42:03 +01:00
Adria Navarro 7465c04799 Fix controller 2023-07-24 16:35:22 +02:00
Adria Navarro c870039416 Refactor plus selector 2023-07-24 16:29:49 +02:00
Adria Navarro 5bd149f66f Use sdk to populate views 2023-07-24 16:13:15 +02:00
Adria Navarro 1cf4e6e85a Return full object from search 2023-07-24 16:13:15 +02:00
Adria Navarro 9cf401162b Add views 2023-07-24 16:13:15 +02:00
Adria Navarro d1d86b6803 Filter on the sdk 2023-07-24 16:13:15 +02:00
Adria Navarro 2186b0407a Honor schema on view search 2023-07-24 16:13:15 +02:00
Adria Navarro c58b145afd Test sdks 2023-07-24 16:12:42 +02:00
Adria Navarro d8b801e647 Remove wrong describe 2023-07-24 16:04:54 +02:00
Dean 0d8d96b911 PR Feedback 2023-07-24 15:03:13 +01:00
Adria Navarro 77a004f19a Remove wrong describe 2023-07-24 16:02:59 +02:00
Adria Navarro ff57b982f8 Move enrich view schemas to view sdk 2023-07-24 15:57:17 +02:00
Andrew Kingston 69ab3dfe74 Merge pull request #11260 from Budibase/relationship-picker-filtering
Relationship picker filtering
2023-07-24 14:50:30 +01:00
Adria Navarro dceb51a08d Skip table order if defined on view 2023-07-24 15:17:05 +02:00
Adria Navarro 8e904cea13 Set order to the tests 2023-07-24 15:17:05 +02:00
Adria Navarro 0f53fa14ad Undo not required changes 2023-07-24 15:17:05 +02:00
Adria Navarro 559cb3d9e0 Test sdk calls 2023-07-24 15:17:05 +02:00
Adria Navarro 810bb41547 Add sdk tests 2023-07-24 15:17:04 +02:00
Adria Navarro d2020fd6bc Move enrich views to sdk 2023-07-24 15:17:04 +02:00
Adria Navarro 396c4ad439 Use new table schema 2023-07-24 15:17:04 +02:00
Adria Navarro ed02aa4d8b Enrich view schemas 2023-07-24 15:17:04 +02:00
Adria Navarro a65e69e614 Add tests 2023-07-24 15:17:04 +02:00
Adria Navarro 3f2fa1a8dc Remove view endpoint 2023-07-24 15:17:04 +02:00
Adria Navarro 22dd218b1a Fetch schema 2023-07-24 15:17:04 +02:00
Adria Navarro 30138570d5 Typex 2023-07-24 15:17:04 +02:00
Adria Navarro 5fa7972564 Test returning views 2023-07-24 15:17:04 +02:00
Adria Navarro 46cb7c7117 Table tests to ts 2023-07-24 15:17:04 +02:00
Adria Navarro d12d6f5bef Add tests 2023-07-24 15:17:04 +02:00
Adria Navarro c747881d73 Allow selecting certain columns 2023-07-24 15:17:04 +02:00
Adria Navarro f3f0ee0959 Return view schema endpoint 2023-07-24 15:17:04 +02:00
Adria Navarro 7d84deea1a Fix return code 2023-07-24 15:16:31 +02:00
Adria Navarro 1760980aad Allow overriding default sort 2023-07-24 15:16:31 +02:00
Adria Navarro 4e646bb463 Only ui metadata fields 2023-07-24 15:15:44 +02:00
Adria Navarro e068e62eb1 Change view columns for schema 2023-07-24 15:15:44 +02:00
Adria Navarro de9b74fd81 Fix bbui build flakiness 2023-07-24 15:15:44 +02:00
Adria Navarro fbccec64c7 Renames 2023-07-24 15:15:44 +02:00
Adria Navarro 56e6d48ec7 Remove :tableid from view create 2023-07-24 15:15:44 +02:00
Adria Navarro 6d973ce99a Infer table on search 2023-07-24 15:15:44 +02:00
Adria Navarro 36b82681ff Remove tableid from remove view url 2023-07-24 15:15:44 +02:00
Adria Navarro fc831db06b Store ids containing table info 2023-07-24 15:15:44 +02:00
Adria Navarro ff3bbf6217 Allow ViewV2 types 2023-07-24 15:15:44 +02:00
Adria Navarro ac0ae34808 Fix search 2023-07-24 15:15:44 +02:00
Adria Navarro 9bf22213b2 Clean code 2023-07-24 15:15:44 +02:00
Adria Navarro 21e17053c6 Don't persist the view as doc 2023-07-24 15:15:44 +02:00
Adria Navarro d6121d1504 Remove fetch view 2023-07-24 15:15:44 +02:00
Adria Navarro 56ee61d76c Remove get from delete tests 2023-07-24 15:15:44 +02:00
Adria Navarro 76f89e10d3 Create/delete, save to table 2023-07-24 15:15:44 +02:00
Adria Navarro b82876b147 Remove view fetch logic 2023-07-24 15:15:44 +02:00
Adria Navarro 49980dadf1 Fix merge conflicts 2023-07-24 15:15:43 +02:00
Adria Navarro 516b5691e8 DRY 2023-07-24 15:15:43 +02:00
Adria Navarro 582e0eb1dd Use types 2023-07-24 15:15:43 +02:00
Adria Navarro 12891456de Fix test 2023-07-24 15:15:43 +02:00
Adria Navarro 28f4aef07f Persist columns in views 2023-07-24 15:15:43 +02:00
Adria Navarro 82e2385099 Test different sort 2023-07-24 15:15:43 +02:00
Adria Navarro b778921028 Test sorting 2023-07-24 15:15:43 +02:00
Adria Navarro fde008f4d1 Persist sort 2023-07-24 15:15:43 +02:00
Adria Navarro 16d39c6fd2 Honor query on view search 2023-07-24 15:15:43 +02:00
Adria Navarro ebd93eb109 Persist queries on crud views 2023-07-24 15:15:43 +02:00
Adria Navarro 6809bb4510 Use api for view search tests 2023-07-24 15:15:43 +02:00
Adria Navarro 2feb22ef64 Use api for viewv2 tests 2023-07-24 15:15:43 +02:00
Adria Navarro 8478816eef Clean 2023-07-24 15:15:43 +02:00
Adria Navarro fcd0db8f57 Clean code 2023-07-24 15:15:43 +02:00
Adria Navarro b29e54e84c Lint 2023-07-24 15:15:43 +02:00
Adria Navarro 63f181649a Change url version path 2023-07-24 15:15:43 +02:00
Adria Navarro d981ad039d Typings 2023-07-24 15:15:43 +02:00
Adria Navarro 891ba4148b Clean 2023-07-24 15:15:43 +02:00
Adria Navarro a42f6753de Clean 2023-07-24 15:15:43 +02:00
Adria Navarro 9f36bdc6c1 Reuse config 2023-07-24 15:15:43 +02:00
Adria Navarro 97a538f5db Basic search 2023-07-24 15:15:43 +02:00
Adria Navarro e71d883dfd Change status codes 2023-07-24 15:15:43 +02:00
Adria Navarro 1e6a65d4e9 Extract viewapi to its own file 2023-07-24 15:15:43 +02:00
Adria Navarro 7140df6ed3 Better typing responses 2023-07-24 15:15:43 +02:00
Adria Navarro 160d949423 Catch 404s 2023-07-24 15:15:43 +02:00
Adria Navarro 5731b26079 Namespacing 2023-07-24 15:15:43 +02:00
Adria Navarro f7452aa7fa Extract test utils 2023-07-24 15:15:43 +02:00
Adria Navarro 7f3de5d40e Move view code to test config 2023-07-24 15:15:43 +02:00
Adria Navarro 8282fbb99b Type responses 2023-07-24 15:15:43 +02:00
Adria Navarro 03f84170b8 Use v2 as prefix 2023-07-24 15:15:43 +02:00
Adria Navarro e3c4930819 Undo renaming as lagacyViews 2023-07-24 15:15:43 +02:00
Adria Navarro 02bc1d2cdc Simplifying endpoints 2023-07-24 15:15:43 +02:00
Adria Navarro 4ca25ee065 Implement deletes 2023-07-24 15:15:43 +02:00
Adria Navarro 4bbb1b0289 Refactor paths 2023-07-24 15:15:43 +02:00
Adria Navarro 7155d75906 Implement get view 2023-07-24 15:15:43 +02:00
Adria Navarro 1187bd8fb2 Clean 2023-07-24 15:15:43 +02:00
Adria Navarro e2c1a549de Find by table 2023-07-24 15:15:43 +02:00
Adria Navarro f395b79cac Fix fetch 2023-07-24 15:15:43 +02:00
Adria Navarro 4a5a3e2c33 Implement and test fetch 2023-07-24 15:15:43 +02:00
Adria Navarro 899c8a14fb Implement and test create 2023-07-24 15:15:43 +02:00
Adria Navarro 81e847daeb Rename tests 2023-07-24 15:15:43 +02:00
Adria Navarro 6ff5c23cd6 Add controller scaffolding for views v2 2023-07-24 15:15:43 +02:00
Adria Navarro 7dbf71d477 Namespace 2023-07-24 15:15:43 +02:00
mike12345567 c375f860ba Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-24 13:46:49 +01:00
Andrew Kingston cf178808bf Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-24 12:03:28 +01:00
Andrew Kingston 869cb0777b Validate query names to avoid parentheses 2023-07-24 12:02:24 +01:00
Rory Powell c70ab2ac52 Update pro ref 2023-07-24 11:23:05 +01:00
Rory Powell dd47e7e1d9 Lint 2023-07-24 11:14:19 +01:00
Dean 4091dff6d3 PR Feedback 2023-07-24 10:30:29 +01:00
Rory Powell 5c4d29e349 Merge branch 'develop' into feature/offline-license 2023-07-24 10:06:04 +01:00
Rory Powell 725bade8c5 Styling fix for license key input 2023-07-24 10:03:37 +01:00
Dean f0c498cedb Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-24 09:52:59 +01:00
Dean 5691be3c4a Added missing types 2023-07-24 09:15:13 +01:00
Dean 3b36970c58 Review updates 2023-07-24 09:08:10 +01:00
Martin McKeaveney cf2776e7cb fix lint 2023-07-23 10:53:50 +01:00
Martin McKeaveney 7a327dc40d Merge branch 'develop' of github.com:Budibase/budibase into fix/bb-alerts 2023-07-23 09:45:52 +01:00
Martin McKeaveney ad1b96a50e update pro ref 2023-07-21 18:05:50 +01:00
mike12345567 87d80e08f5 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-07-21 17:34:27 +01:00
mike12345567 6cdc844168 Merge branch 'develop' of github.com:Budibase/budibase into develop 2023-07-21 17:27:19 +01:00
Adria Navarro cd5f82f712 Merge pull request #11318 from Budibase/BUDI-7113/fix_overriding_service_name
Pino logging tweaks
2023-07-21 17:13:06 +01:00
Adria Navarro d168a0b902 Honor level on logging 2023-07-21 17:52:54 +02:00
mike12345567 bb032852e5 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-07-21 16:26:34 +01:00
Martin McKeaveney b451efe923 Merge pull request #11320 from Budibase/budi-7320-amend-email-support-disabled-logic-in-help-dropdown
Change email support logic in help dropdown.
2023-07-21 14:56:52 +01:00
Conor Webb 3586cf71b9 Removed right from fieldgroup label select. (#11321)
Removed the right label from the field group component as it served no purpose and didn't change anything.
2023-07-21 14:47:55 +01:00
Conor Webb 5d04717be0 Change email support logic in help dropdown. 2023-07-21 14:00:02 +01:00
Michael Drury fe8c92be79 Merge pull request #11315 from Budibase/types/improve-field-schema
Table types improvement - split up FieldSchema
2023-07-21 13:29:24 +01:00
Andrew Kingston 5bbf6dc1c8 Merge pull request #11309 from Budibase/cheeks-fixes
Misc fixes
2023-07-21 13:28:09 +01:00
Adria Navarro 0ac639fe7a Add default process.stdout if no dev 2023-07-21 14:26:57 +02:00
Adria Navarro 2dcb1a67a1 Add service name to the logs only on self-host 2023-07-21 14:16:43 +02:00
Michael Drury ec402587b0 Merge pull request #11297 from Budibase/fix/budi-7304
Fix duplicate dynamic variables when creating new REST queries
2023-07-21 13:03:48 +01:00
mike12345567 7673673db2 Updating RelationshipTypes -> RelationshipType. 2023-07-21 12:57:47 +01:00
Martin McKeaveney fb725f91b3 Update pro ref 2023-07-21 12:27:05 +01:00
mike12345567 a56f0c91dd Quick improvement to table types, before now the field schema was quite difficult to parse/work out what components of the schema were used for what, this at least separates them into particularly grouped bits of metadata, so it is obvious which parts are used for which. In future we should really flip this a bit, so that FieldSchema is the base implementation, and then each of the types has its own schema extending that base - but that would be a more serious refactor (need to cast to the correct type when using based on the 'type' property. 2023-07-21 12:15:33 +01:00
Andrew Kingston af8be511df Add back in XS icons 2023-07-21 10:39:58 +01:00
Martin McKeaveney 108d18df75 fix type check for deleted app type 2023-07-21 09:57:37 +01:00
Martin McKeaveney 567c7fd485 code review 2023-07-21 09:43:25 +01:00
Andrew Kingston b5a656e350 Update datasource config button hover styles to fix issues in light theme 2023-07-21 09:06:55 +01:00
Rory Powell 8f0043157d Styling fix for license key input 2023-07-21 08:43:53 +01:00
Rory Powell 552f96fb81 Update pro ref 2023-07-20 21:37:24 +01:00
Rory Powell 3fb0380eec Update pro ref 2023-07-20 21:27:04 +01:00
Rory Powell c3412f0cfb Update openapi.json 2023-07-20 21:27:04 +01:00
Rory Powell a6073e0ecd Build fixes 2023-07-20 21:27:04 +01:00
Rory Powell 797f281f6d OpenAPI 3.0 docs for offline license and license key endpoints 2023-07-20 21:24:40 +01:00
Rory Powell 55efb6e618 fix pro mock 2023-07-20 21:24:40 +01:00
Rory Powell c8fc67d230 Lint 2023-07-20 21:24:19 +01:00
Rory Powell 1964148581 core structure updates 2023-07-20 21:22:54 +01:00
Rory Powell 8cdfc8dd83 Add structures for Installation type 2023-07-20 21:22:54 +01:00
Rory Powell 166156d3b5 use automocking in offline.spec.ts 2023-07-20 21:22:54 +01:00
Rory Powell a74469b8ae offline license structure 2023-07-20 21:22:54 +01:00
Rory Powell 34d9f1c4f8 Request / response renames 2023-07-20 21:22:54 +01:00
Rory Powell b8273540e0 /api/internal/accounts/:accountId/license/offline 2023-07-20 21:22:54 +01:00
Rory Powell 91d3cdff3f offline license sdk module 2023-07-20 21:22:54 +01:00
Rory Powell c69fa2a640 Integrate UI with identifier API 2023-07-20 21:22:54 +01:00
Rory Powell 90e869dc04 /api/global/license/offline/identifier API 2023-07-20 21:21:39 +01:00
Rory Powell 9e1e869949 api / license.spec.ts updates 2023-07-20 21:21:39 +01:00
Rory Powell c0568b9153 api / license.spec.ts updates 2023-07-20 21:21:39 +01:00
Rory Powell 20c87b44b1 Allow pro to be mocked in worker 2023-07-20 21:21:39 +01:00
Rory Powell 6c3d01375b Move license keys to their own module 2023-07-20 21:21:39 +01:00
Rory Powell 7c18a7a443 db / licenseInfo.spec.ts 2023-07-20 21:21:39 +01:00
Rory Powell 7bc14235aa Update request body for offline license activation 2023-07-20 21:21:39 +01:00
Rory Powell ec5381c9d5 Aesthetic UI updates 2023-07-20 21:21:39 +01:00