Commit Graph

541 Commits

Author SHA1 Message Date
Rory Powell 2212305f08 Bump jest and ts-jest to be consistent across backend packages to fix CI issue, test config updates 2022-11-14 22:55:47 +00:00
mike12345567 1af47003c5 Updating test cases - trying to get everything in order for merge. 2022-11-14 20:25:05 +00:00
mike12345567 380ee221b1 Updating context test, some minor adjustments based on getting the test working again. 2022-11-14 18:29:15 +00:00
mike12345567 c6d31a856a Replacing CLS with local-storage, simplified usage which should remove the memory leak permenantly. 2022-11-14 18:00:20 +00:00
Rory Powell 80b823f6cf Test fixes 2022-11-11 15:43:41 +00:00
mike12345567 a15a265bda Re-jigging things a bit, hiding as much of the couch/pouch stuff away. 2022-11-11 12:46:32 +00:00
mike12345567 3035c3a3a1 Typescript conversions - trying to get all of context/db layer into TS. 2022-11-11 11:57:50 +00:00
Rory Powell 0bad2dd9ae Support path variable tenancy detection, add /api/system/* tests, update no tenancy matchers to be more accurate 2022-11-11 11:10:07 +00:00
mike12345567 fd624e097a Typescript conversions, as well as updating context to just use an object map. 2022-11-10 17:38:26 +00:00
mike12345567 c356e0d152 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
melohagan b13723b1a3
Merge pull request #8593 from Budibase/bug/sev2/mongodb-aggregate-readable
MongoDB aggregate readable
2022-11-10 15:27:08 +00:00
Mel O'Hagan 1532395033 Add readable flag to datasource validation 2022-11-10 14:23:22 +00:00
mike12345567 1ee6761a69 Some minor updates based on getting the worker using the new pouchlike impl. 2022-11-09 17:53:35 +00:00
mike12345567 bbc8965d55 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
Rory Powell ada0eb79bc Update tenancy detection to honour any subdomain pattern according to platform url 2022-11-09 16:35:16 +00:00
mike12345567 fa78b8bc37 Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-09 14:44:01 +00:00
mike12345567 e0cf213ad5 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-09 13:41:51 +00:00
Michael Drury 0af56bed25 Exporting roles differently to fix issue raised by test. 2022-11-08 20:01:01 +00:00
Michael Drury 9cfdfc174b Quick fix to not expose the builder ID outside of the role impl. 2022-11-08 19:48:16 +00:00
mike12345567 4dceee33c5 Exporting some functions that were previously exported. 2022-11-08 18:35:21 +00:00
mike12345567 189fb90bb0 Typescript re-write of the roles layer, this is the backbone of a lot of our security features, and I believe the issue was generally to do with a lack of handling of null-ish inputs. 2022-11-08 18:25:37 +00:00
mike12345567 b89588af51 Getting basic pouch replacement working. 2022-11-08 16:32:13 +00:00
mike12345567 687aa1c6f3 Adding more type handling around the upload object store function. 2022-11-08 11:49:07 +00:00
mike12345567 862525cc0e Fixing an issue which was alerting, x-amz-meta-fieldname contains an invalid value, this error isn't really documented, but comes from if a metadata tag is sent up with nullish, or a non-string type. Fixing this in the core library, removing an invalid inputs. 2022-11-08 11:34:16 +00:00
mike12345567 8210793953 First version of pouch-like system, a wrapper for Couch nano. 2022-11-07 18:27:39 +00:00
Rory Powell e3705e8aa3 Add extra auth logging to authenticated.ts 2022-11-04 08:30:44 +00:00
mike12345567 b8253ce37b Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-02 20:12:01 +00:00
mike12345567 da9eaca82a Fixing issue with self host build - import of backend-core changes mean that loading the public API files can require setup of backend-core, making it so that the JWT Strategy doesn't need to be setup to load backend-core. 2022-11-01 12:59:10 +00:00
mike12345567 52d9172060 Merge branch 'develop' of github.com:Budibase/budibase into fix/mike-oct-fixes 2022-10-26 10:37:01 +01:00
Rory Powell 9b038ceb8a Ensure tmpDir/.budibase always exists 2022-10-26 09:24:28 +01:00
mike12345567 d32e4586c2 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
Rory Powell 5c80b2ca06 Startup fixes 2022-10-25 13:37:26 +01:00
Rory Powell 0b7ca49418 Fix build failure around PouchDB type 2022-10-25 09:02:55 +01:00
mike12345567 e31ce3f8a9 Some fixes based on PR comments. 2022-10-24 12:06:50 +01:00
mike12345567 6edffb0d5e Addressing majority of PR comments. 2022-10-24 10:04:14 +01:00
mike12345567 1e190886fb Fixing issue discovered by tests. 2022-10-21 16:02:13 +01:00
mike12345567 0478d9b154 Fetching a list of backup/restore events includes the full user object. 2022-10-20 15:05:50 +01:00
mike12345567 0ca72f99d1 Adding statistics output for backups. 2022-10-19 16:48:32 +01:00
mike12345567 0cfb1a9f74 Adding in required events for app backup system. 2022-10-17 15:26:09 +01:00
mike12345567 758c46ce83 Minor fixes after testing manual backup system. 2022-10-14 20:10:44 +01:00
mike12345567 a20ad3233e Main types and work for the CRUD operations of app backup backend in pro + the listeners to handle exporting apps from the server. 2022-10-14 19:24:03 +01:00
mike12345567 3507704680 Fixes for cronjob stop - correctly handle this without stalled job handle. 2022-10-14 13:26:42 +01:00
mike12345567 94188771df Handling listeners as part of queue creation, rather than external part. 2022-10-13 17:55:05 +01:00
mike12345567 50ca437f03 Moving queue implementation into backend-core - so that pro can access. 2022-10-13 17:27:04 +01:00
mike12345567 9242f695ab Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-13 15:59:31 +01:00
mike12345567 92484fa240 Fixes for find functionality after testing. 2022-10-12 17:57:31 +01:00
mike12345567 8deabb56dd Quick fixes to DB TS conversion. 2022-10-12 17:37:52 +01:00
mike12345567 a2d12ef0a6 Adding first pass of attachments updating. 2022-10-12 17:34:17 +01:00
mike12345567 33e31fe2e4 Refactoring more to Typescript, adding the ability to use the _find API of CouchDB. 2022-10-12 17:02:23 +01:00
Rory Powell a414f92265
Merge pull request #8164 from Budibase/feature/quota-emails
Approaching and Exceeded Usage Limit Notifications
2022-10-12 12:31:17 +01:00
mike12345567 7439ade518 Merge branch 'develop' of github.com:Budibase/budibase into feature/app-backups 2022-10-12 11:59:00 +01:00
Rory Powell ef433633b2 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
mike12345567 5a05e0bf28 Adding import functionality - still need to update the attachments URL. 2022-10-11 20:25:22 +01:00
mike12345567 2f5170f70c Some fixes + cleanup of tmp directory. 2022-10-11 19:28:13 +01:00
mike12345567 bb65cf8ef9 Some updates towards supporting attachments in app exports. 2022-10-10 20:08:59 +01:00
Martin McKeaveney 88e9419d73 redis fix for new instances, removing relationship options from google sheets integration 2022-10-10 11:00:45 +01:00
Rory Powell e92a31bd45 Add locking framework 2022-10-10 08:21:17 +01:00
mike12345567 dc589f7fb5 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
Michael Drury 7e38e86087
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 2c40394bc6 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
Michael Drury 69abe9c5db Merge branch 'master' of github.com:Budibase/budibase into develop 2022-10-01 15:44:11 +01:00
mike12345567 48514da625 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-09-30 14:55:00 +01:00
Rory Powell a3cd3c8067
Merge pull request #6074 from Budibase/feature/app-quotas
App/resource ID breakdown of quotas
2022-09-30 13:28:07 +01:00
mike12345567 cb0610c367 Merge branch 'fix/allow-removing-crud-plugins' of github.com:Budibase/budibase into feature/plugin-icons 2022-09-30 08:58:26 +01:00
mike12345567 1f5de9b71d Adding ability for datasource plugins to have a custom icon svg. 2022-09-29 19:30:53 +01:00
mike12345567 8deef57076 Allow removing CRUD operations from custom datasource plugins. 2022-09-29 16:56:46 +01:00
Rory Powell 61aafa87cb Create generic quota sync migration 2022-09-28 13:13:37 +01:00
Rory Powell 79d53042d8 Merge branch 'develop' into feature/app-quotas 2022-09-28 12:33:39 +01:00
Rory Powell 9af16738e5 Merge develop 2022-09-28 08:56:45 +01:00
Michael Drury 190c54fb86
Merge pull request #7981 from Budibase/feature/group-app-add
Add apps to a group from within groups interface
2022-09-26 19:18:44 +01:00
Martin McKeaveney d0ad7bbb67 merge with master 2022-09-26 17:57:23 +01:00
mike12345567 7484cdfb59 Feature to allow adding apps from within the groups interface, rather than having to go to apps individually to do this. 2022-09-26 17:54:00 +01:00
mike12345567 b20db4d22a Adding a migration for the plugin quotas to make sure they are always accurate in self host at startup. 2022-09-24 12:10:09 +01:00
mike12345567 ed27b71103 Adding tenancy awareness for plugin bucket. 2022-09-23 16:30:45 +01:00
mike12345567 d749286f3e Minor update to feature flag name. 2022-09-23 13:08:18 +01:00
mike12345567 76114aa621 Merge branch 'develop' of github.com:Budibase/budibase into group-fixes 2022-09-22 18:44:16 +01:00
mike12345567 fa8fb88f82 Updating a few core endpoints to better integrate the groups system and make sure users always have the correct role ID updated onto them. 2022-09-22 18:27:43 +01:00
mike12345567 141c0a447d Self API in worker conversion to typescript. 2022-09-22 14:09:20 +01:00
Rory Powell f324e1b729
Merge pull request #7859 from Budibase/feature/enterprise
Enterprise / license override support
2022-09-21 20:18:54 +01:00
Rory Powell 903808c0d3 License analytics 2022-09-21 15:45:29 +01:00
mike12345567 a1c7e60dfa Adding a user core bulk update function. 2022-09-21 13:55:10 +01:00
mike12345567 9466592663 Adding group cleanup, removing group IDs from users when group is deleted. 2022-09-21 12:43:09 +01:00
mike12345567 49fc65b584 Updates to improve the view development experience. 2022-09-20 19:12:48 +01:00
Mel O'Hagan 3a6d009114 Add 'extra' validation for plugin datasource 2022-09-20 15:47:17 +01:00
Rory Powell bcfb491858 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
mike12345567 ef737a7717 Adding budibase/pro integration for plugins, controlling quota limits. 2022-09-15 14:57:27 +01:00
Rory Powell 934bba9562
Merge pull request #7782 from Budibase/feature/day-pass-pricing
Day pass pricing
2022-09-15 13:36:10 +01:00
Rory Powell c2fa270386 Fixes 2022-09-15 11:59:46 +01:00
Michael Drury 5e530c7374
Merge pull request #7774 from Budibase/events/plugins
Plugin init, imported and deleted events
2022-09-15 12:55:40 +02:00
Rory Powell ff8760e860 Pre-review tidy, add new badge to plugins 2022-09-15 11:23:51 +01:00
Rory Powell 0980be9377 Merge branch 'develop' into feature/day-pass-pricing 2022-09-15 10:56:50 +01:00
Rory Powell 0b652a085f Merge branch 'master' into develop 2022-09-15 10:19:56 +01:00
Rory Powell 193a262705 Merge branch 'develop' into feature/day-pass-pricing 2022-09-15 08:55:33 +01:00
mike12345567 d7f38a38bc Adding types for plugin events, specifically for plugin init, import and deletion, this is across the CLI and the server. 2022-09-14 17:35:46 +01:00
Martin McKeaveney 0605486965
Merge pull request #7591 from Budibase/fix/platform-email-casing
Fix/platform email casing
2022-09-14 16:09:52 +01:00
Martin McKeaveney be396dc3c0 fixing tests 2022-09-14 14:22:53 +01:00
Rory Powell d72494e44b Navigation updates, cookie constant, update link-dependencies and localdomain scripts 2022-09-14 10:53:14 +01:00
mike12345567 27518cb678 Fixing CLI build - prebuilds required for hashing can be disabled via environment variable. 2022-09-13 18:00:10 +01:00
Martin McKeaveney c4f424cb80 fix circular dependency issues 2022-09-13 17:29:31 +01:00
Martin McKeaveney d7737b90c7 remove references to module exports 2022-09-13 12:35:17 +01:00