Commit Graph

2103 Commits

Author SHA1 Message Date
mike12345567 bc94f20794 Typescript conversions - trying to get all of context/db layer into TS. 2022-11-11 11:57:50 +00:00
mike12345567 45e7ef61ef Re-building the context module to use a single object, meaning we can create new context frames and copy over whatever exists, then update. 2022-11-10 16:38:32 +00:00
mike12345567 c744d23832 Major update - removing the use of context for PouchDB instances, swapping knowledge of PouchDB to the PouchLike structure that replaces it. 2022-11-09 16:53:42 +00:00
mike12345567 ecb398bf98 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-09 13:41:51 +00:00
Michael Drury 2f6330db4f Removing timeout for export apps - #8589. 2022-11-08 20:12:32 +00:00
mike12345567 b9caf0aef5 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-02 20:12:01 +00:00
melohagan a9575db549 Merge pull request #8472 from Budibase/bug/sev3/validation-error-attachments
Validation error attachments
2022-11-02 09:56:28 +00:00
Rory Powell 496ba57655 Fix attachments upload path 2022-11-01 21:17:39 +00:00
Mel O'Hagan 702e7fe184 Map attachment string to array if needed 2022-11-01 15:59:04 +00:00
Mel O'Hagan a57dc85b60 Remove ! from error message 2022-11-01 12:37:42 +00:00
Mel O'Hagan 64eff3bab5 Merge branch 'develop' into bug/sev3/automation-mysql-id-relationship-uri-decode 2022-11-01 08:10:03 +00:00
Martin McKeaveney b498941e1a Merge pull request #8382 from Budibase/feature/meta-tag
adding opengraph metatags for better shareable links
2022-10-31 10:36:50 +00:00
Martin McKeaveney 5fd4f29c61 Merge pull request #8422 from Budibase/bug/sev5/public-api-404
Public rows API: Return correct status codes
2022-10-31 10:36:32 +00:00
Mel O'Hagan ea34856896 Check for string type before decode 2022-10-27 17:55:46 +01:00
Mel O'Hagan ee6a5bffd5 Patch: Throw 404 if row not found 2022-10-27 17:52:28 +01:00
Mel O'Hagan 73f54c8133 Decode id if needed 2022-10-27 16:28:26 +01:00
Mel O'Hagan a809700ec2 Throw 400 when validation fails 2022-10-27 15:10:22 +01:00
Mel O'Hagan efc73caf44 lint 2022-10-27 13:49:59 +01:00
Mel O'Hagan 5aa98fcbac Remove try catch from rows. Correct status codes. 2022-10-27 13:49:19 +01:00
Martin McKeaveney 3e348908f5 merge 2022-10-26 11:47:25 +01:00
Martin McKeaveney 37d76cd39d fix typo 2022-10-26 11:45:52 +01:00
mike12345567 a24694a4ea Refactoring a lot of content around webhooks to Typescript, as well as fixing webhooks and automation app IDs on import of new app. 2022-10-25 18:19:18 +01:00
Martin McKeaveney 17205052b7 update OG title 2022-10-24 18:04:14 +01:00
Martin McKeaveney 4c7d6cf2af adding opengraph metatags for better shareable links 2022-10-24 17:53:18 +01:00
Rory Powell d746c42503 Remove pro mock and invert if condition on backups enabled 2022-10-24 14:23:16 +01:00
mike12345567 a25cc7fbaf Merge branch 'feature/app-backups' of github.com:Budibase/budibase into feature/app-backups 2022-10-24 13:37:53 +01:00
mike12345567 bc2d499625 Adding a check to see if app backups feature is enabled. 2022-10-24 13:33:36 +01:00
Rory Powell 5614c5db61 Replace isTest check with mock for triggering app backup 2022-10-24 13:05:40 +01:00
mike12345567 4daf9c2615 Addressing majority of PR comments. 2022-10-24 10:04:14 +01:00
mike12345567 e1dca87507 Fixing test case. 2022-10-21 18:52:39 +01:00
mike12345567 2a2f41a861 Fixing issue discovered by tests. 2022-10-21 16:02:13 +01:00
mike12345567 f5557fd805 Fetching a list of backup/restore events includes the full user object. 2022-10-20 15:05:50 +01:00
mike12345567 b52f413aa5 Removing attachment dir constant - no longer needed. 2022-10-18 17:04:18 +01:00
mike12345567 1373630b33 Minor fixes after testing manual backup system. 2022-10-14 20:10:44 +01:00
mike12345567 8fdba78bde Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-13 15:59:31 +01:00
mike12345567 907b838db3 Fixing multi-app import from cloud. 2022-10-13 15:46:53 +01:00
Rory Powell 807182b9e2 Merge pull request #8227
Deprecate legacyHttpParser, fix rest tests
2022-10-12 19:56:02 +01:00
mike12345567 d1c9a56e9a Full import implementation - needs further testing, untars the file with all apps, then adds each of them individually. 2022-10-12 19:15:28 +01:00
mike12345567 8d7f40e443 Refactoring more to Typescript, adding the ability to use the _find API of CouchDB. 2022-10-12 17:02:23 +01:00
Rory Powell 281eb151e2 Merge pull request #8164 from Budibase/feature/quota-emails
Approaching and Exceeded Usage Limit Notifications
2022-10-12 12:31:17 +01:00
mike12345567 9d34ccfaca Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-12 11:59:00 +01:00
Rory Powell c7dac5f417 Deprecate legacyHttpParser, fix rest tests 2022-10-12 11:05:16 +01:00
Rory Powell 2f0f36e635 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
mike12345567 19133f08e6 Adding import functionality - still need to update the attachments URL. 2022-10-11 20:25:22 +01:00
mike12345567 f237befbce Some fixes + cleanup of tmp directory. 2022-10-11 19:28:13 +01:00
mike12345567 7c71f76b70 Export to tarball through tmp. 2022-10-11 18:21:58 +01:00
mike12345567 1f36eec89a Some updates towards supporting attachments in app exports. 2022-10-10 20:08:59 +01:00
Martin McKeaveney 5838eb70b4 turn on gsheets 2022-10-10 09:02:17 +01:00
Martin McKeaveney 052bc0aeed ensure correct revert endpoint being hit, update call to revert 2022-10-09 19:31:35 +01:00
mike12345567 9efb8f98bc Updating koa versions to align with pro - types were inaccurate and couldn't be imported correctly. 2022-10-07 21:08:20 +01:00
mike12345567 2d4eb10aba Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-07 20:48:28 +01:00
mike12345567 d80c966cf1 Fixing test mocks. 2022-10-07 18:05:26 +01:00
mike12345567 197d195cb4 Switching from scan for app locks to mget - which is a fast O(N) operation that only retrieves what we need. 2022-10-07 18:05:18 +01:00
Martin McKeaveney 4e04fc84b2 only prevent rollback in cypress env 2022-10-07 18:04:18 +01:00
Michael Drury 060b2aba3c Merge pull request #8175 from Budibase/fix/remove-app-scans
Removing Redis SCAN operation from app services
2022-10-07 17:35:05 +01:00
mike12345567 39410a07af Fixing test mocks. 2022-10-07 16:24:04 +01:00
mike12345567 0c4a40c795 Switching from scan for app locks to mget - which is a fast O(N) operation that only retrieves what we need. 2022-10-07 16:05:01 +01:00
Andrew Kingston bdce3fc9fc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
mike12345567 ef52bde670 Building out initial SDK work - converting some existing exporting work to typescript. 2022-10-06 19:10:45 +01:00
mike12345567 ea2fb6de1b Merge branch 'master' of github.com:Budibase/budibase into develop 2022-10-06 16:54:25 +01:00
Rory Powell aff6e5cbbb Process quota emails in account-portal 2022-10-06 16:03:47 +01:00
Michael Drury 3f4bdece64 Merge pull request #8125 from Budibase/fix/table-options-csv
Fixing options type import with CSV
2022-10-05 10:06:06 +01:00
Andrew Kingston 84626294fd Merge pull request #8124 from Budibase/plugin-url-updates
Plugin url updates
2022-10-05 09:57:22 +01:00
mike12345567 1dabc59ff5 Fixing a regression of CSV table creation - normally if a CSV was used to create a table with an options column all of the options would be filled in but this had been broken. 2022-10-04 17:54:33 +01:00
Andrew Kingston 021316c73f Lint 2022-10-04 16:43:20 +01:00
Mel O'Hagan 3490996c5a Add unit test and fix 2022-10-04 16:28:29 +01:00
Andrew Kingston b487855348 Update plugin JS URL handling 2022-10-04 16:28:21 +01:00
Andrew Kingston d5cde049a7 Enrich plugin JS URLs when SSR'ing apps 2022-10-04 16:28:01 +01:00
Andrew Kingston b148b7d004 Enrich plugin JS URLs when fetching appPackage 2022-10-04 16:27:42 +01:00
Mel O'Hagan 91d00ecdb4 Fix table block search 2022-10-04 13:55:43 +01:00
Michael Drury ec02dda877 Merge pull request #8097 from Budibase/bug/sev3/public-api-equals-number
Public api equals query - support for number strings
2022-10-04 12:48:17 +01:00
melohagan 1db2481024 Merge pull request #7868 from Budibase/bug/sev3/display-column-relationship-bug
Ensure display columns are set when relationships are defined
2022-10-04 11:53:31 +01:00
mike12345567 a3348e3c8a Fix for #6880 - allow SQL table rows to be updated/deleted by their _id field from the public API. 2022-10-03 20:31:11 +01:00
Mel O'Hagan fae4c9586a Wrap number in quotes if string search 2022-10-03 11:30:57 +01:00
mike12345567 b484f29098 Minor fix for #8056 - don't return the raw data for the main query execution - but still return for the builder preview. 2022-09-30 12:30:26 +01:00
Rory Powell 98168aee29 Merge branch 'develop' into feature/app-quotas 2022-09-28 12:33:39 +01:00
Rory Powell b230f16369 minor renaming 2022-09-28 11:57:58 +01:00
Rory Powell 79226777b1 Merge develop 2022-09-28 08:56:45 +01:00
Martin McKeaveney f789f364d3 make sure rows call goes to real couch 2022-09-26 18:46:09 +01:00
Martin McKeaveney 57bbf28119 merge with master 2022-09-26 17:57:23 +01:00
Mel O'Hagan f3d723c435 Merge branch 'master' into bug/sev3/display-column-relationship-bug 2022-09-26 16:14:14 +01:00
Andrew Kingston 02156387c7 Update delete endpoints to be called destroy 2022-09-26 14:18:31 +01:00
Andrew Kingston e3bb57b97a Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-26 14:15:25 +01:00
Andrew Kingston aeb0fd7356 Always try to migrate navigation settings when importing apps 2022-09-26 13:59:00 +01:00
mike12345567 e0b6ef66ac Fixing a few issues with roles being correctly reverted. 2022-09-23 17:45:26 +01:00
mike12345567 a1b1798e13 Minor update to feature flag name. 2022-09-23 13:08:18 +01:00
mike12345567 9b29bd6709 Merge branch 'develop' of github.com:Budibase/budibase into group-fixes 2022-09-22 18:44:16 +01:00
mike12345567 429a89159c Fixing issue that refactoring file caused (some strings renamed to ts rather than js). 2022-09-22 15:18:10 +01:00
mike12345567 67d9495481 Some updates, typescripting some more APIs, as well as fixing a lot of Router creation which did not specify the 'new' operator. 2022-09-22 14:59:28 +01:00
mike12345567 6247f686e8 Adding group app cleanup. 2022-09-21 23:12:38 +01:00
Rory Powell c3ee8b0e56 Merge pull request #7859 from Budibase/feature/enterprise
Enterprise / license override support
2022-09-21 20:18:54 +01:00
Andrew Kingston 3b4ca9e5b3 Update public API operation IDs to be shorter 2022-09-21 19:11:47 +01:00
Rory Powell a8782c4629 License analytics 2022-09-21 15:45:29 +01:00
Mel O'Hagan 23fd67b5b9 Ensure display columns are set 2022-09-21 11:53:18 +01:00
Andrew Kingston 41d6c8c093 Fix incorrect event name being sent down websocket when hot reloading component plugins 2022-09-21 09:11:23 +01:00
Andrew Kingston 3fd54967d9 Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-20 15:29:39 +01:00
Andrew Kingston ce1c801ff0 Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-20 11:25:54 +01:00
Andrew Kingston fadb1e498e Add operationIds to public API 2022-09-20 11:24:54 +01:00
Rory Powell f7ec431a45 Move tenancy/utils to db/tenancy to resolve circular imports between tenancy and db package. This should remove all reliance on the tenancy package from the db package 2022-09-20 10:20:36 +01:00
Martin McKeaveney 92221fe115 re-add missing reference to name variable in plugins 2022-09-18 16:00:51 +01:00