Commit Graph

541 Commits

Author SHA1 Message Date
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
Martin McKeaveney f9ade3685b convert views to typescript 2022-09-13 12:22:03 +01:00
mike12345567 f7d357974c Merge branch 'develop' of github.com:Budibase/budibase into feature/plugin-management-ui 2022-09-12 15:34:34 +01:00
Rory Powell 6644a20d2f Merge branch 'master' into develop 2022-09-12 14:05:36 +01:00
Rory Powell e2b5c7b4ef Merge branch 'develop' into feature/day-pass-pricing-temp 2022-09-12 11:33:02 +01:00
Rory Powell 5523b63832 Add buttonText to InlineAlert, export TooltipWrapper, update Account type with license key activate time, convert error package to TS 2022-09-12 10:43:26 +01:00
NEOLPAR 347e7d33e8 fix build error exporting and declaring plugins 2022-09-09 12:01:04 +01:00
NEOLPAR a3b3163ab9 moved validate to backend-core to be used in server and cli 2022-09-09 11:12:14 +01:00
Martin McKeaveney 096da509d9 PR comments 2022-09-07 23:21:14 +01:00
mike12345567 dcada36111 Fix for #7431 - reboot didn't work at all previously which is why apps couldn't be published with it enabled, this is now a self host only feature, I've removed the ability to enable a reboot cron in the Cloud and it will not run the lookup/execution. 2022-09-07 17:05:17 +01:00
Rory Powell 6e1a30bc60 Error handling, wildcard feature flags 2022-09-07 12:08:10 +01:00
mike12345567 45349845f5 Adding compaction before each replication to try to reduce size of database, as well as removing the possibility of app metadata being in conflict as per issue #7494. 2022-09-06 18:07:18 +01:00
Rory Powell 4f66dc0df3 Move day pass middleware from authenticated to licensing, sent activity to account portal 2022-09-06 16:24:36 +01:00
NEOLPAR 32863caf05 adding headers param in case it is needed for auth or similar 2022-09-06 15:46:11 +01:00
Rory Powell ba211b8490 Day pass middleware 2022-09-06 12:25:57 +01:00
Martin McKeaveney 493706d9e3 revert back to circular dep 2022-09-02 18:44:03 +01:00
Martin McKeaveney 395a846328 fixing circular dep issue 2022-09-02 16:55:55 +01:00
Martin McKeaveney 2de507bffc remove unnecessary files 2022-09-02 16:07:30 +01:00
Martin McKeaveney 9c54a87ada platform view casing 2022-09-02 15:42:20 +01:00
Martin McKeaveney f42b2d0087 platform user casing view 2022-09-02 09:12:03 +01:00
Rory Powell a0e79bf9d5 Merge branch 'develop' into feature/day-pass-pricing 2022-09-01 15:26:16 +01:00
mike12345567 5411f3c8e3 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-31 15:53:32 +01:00
Rory Powell 472990b684 Add conditional around joiValidator schema.append 2022-08-31 12:24:12 +01:00
Rory Powell 6077814823 Merge branch 'develop' into user-fixes 2022-08-31 11:39:41 +01:00
Martin McKeaveney 0089a07096 merge 2022-08-30 10:33:37 +01:00
Rory Powell a519eb0cdc update bulk create and bulk delete backend 2022-08-25 19:41:47 +01:00
Martin McKeaveney 446008d263 fixing s3 outage errors and scoping AWS configuration to service level 2022-08-25 17:01:12 +01:00
Rory Powell c29f3768fa User fixes wip 2022-08-23 09:37:13 +01:00
Rory Powell cb03d26980 Merge branch 'develop' into feature/day-pass-pricing 2022-08-19 14:08:03 +01:00
Rory Powell 5a74207ecd usage page updates 2022-08-19 09:28:26 +01:00
Rory Powell c2dbb7558c Support tiered pricing for day passes and update upgrade UI 2022-08-16 12:13:47 +01:00
mike12345567 ba16af1daa Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:36:07 +01:00
mike12345567 8871738c31 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:34:01 +01:00
mike12345567 2fbf39947a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-11 16:28:46 +01:00
Andrew Kingston a38373a939 Attach correct content type to JS files when uploading to object store 2022-08-11 15:25:04 +01:00
mike12345567 b920f8cb05 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
Martin McKeaveney 865ae93f7c simplify if 2022-08-11 11:31:16 +01:00
Martin McKeaveney eb0086e532 skip empty dbs in test 2022-08-11 09:30:29 +01:00
mike12345567 b7116ccc18 Adding plugin upload API - takes a file form-data and then extracts, uploads to minio and stores data about the plugin to CouchDB. 2022-08-10 20:01:48 +01:00
Martin McKeaveney bf16ffd8a5 dont get app db name if undefined 2022-08-10 18:39:41 +01:00
Rory Powell 3d12db8b2b Merge branch 'master' into develop 2022-08-10 14:36:49 +01:00
mike12345567 3a340379e9 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-10 11:55:53 +01:00
Rory Powell 3e0cab64f5 Add timezone to served events 2022-08-10 11:29:11 +01:00
Rory Powell 4525cf4c6e Trigger served events on ping endpoint 2022-08-10 11:01:54 +01:00
Rory Powell 1a31dff984 Rename async to emit 2022-08-09 14:01:55 +01:00
Rory Powell cf37563c89 Fix served events 2022-08-09 13:31:12 +01:00
Martin McKeaveney 621ebcf7a4 merge from master 2022-08-09 11:52:48 +01:00
Rory Powell b093b18e6a Support per app events 2022-08-08 16:22:26 +01:00
Rory Powell ae342910c2 Rate limit served:X events 2022-08-08 15:44:29 +01:00
Rory Powell 0b38b960f8 Merge branch 'master' into develop 2022-08-08 11:50:22 +01:00
Rory Powell d123a4de25 Reduce event frequency 2022-08-08 10:47:39 +01:00
Rory Powell 87a7b8b701 Bulk session wipe fix + logging 2022-08-08 09:34:45 +01:00
mike12345567 a24f2157a5 Some various session fixes based on current data. 2022-08-05 21:35:26 +01:00
mike12345567 a2f18e2e44 Updating sessions to TS, adding env var to set the session update length, adding reasons for invalidation, making sure errors are never considered authenticated. 2022-08-05 17:13:03 +01:00
mike12345567 ba0e423fb9 Updating authenticated middleware to typescript and updating the TTL once per minute rather than every API request. 2022-08-05 15:21:12 +01:00
mike12345567 71992cf5a3 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-04 21:35:55 +01:00
mike12345567 2f665362e4 Updating pino logging to remove health check spam. 2022-08-04 20:23:45 +01:00
mike12345567 65e8af01f5 Some more logging, moving middlewares to backend-core. 2022-08-04 19:03:50 +01:00
mike12345567 ba7ad93932 Adding logging for session invalidation. 2022-08-04 16:06:59 +01:00
Rory Powell 3b3f3188ab Sync global-info users to fix login + prevent double password hashing 2022-08-04 14:49:56 +01:00
Andrew Kingston bb626ce924 Fix crashing when determining roles when no apps exist 2022-08-02 16:01:38 +01:00
Rory Powell b955946415
Merge pull request #7037 from Budibase/fix/joi-createdAt-updatedAt
Add updatedAt and createdAt as optional to all joi middleware
2022-08-02 14:35:58 +01:00
Rory Powell c7f4be584d Reduce event frequency 2022-08-02 10:52:09 +01:00
Rory Powell c90dfbb00f Add updatedAt and createdAt as optional to all joi middleware 2022-08-02 09:39:30 +01:00
Peter Clement dbaebf0df3
Merge pull request #6989 from Budibase/pc/fixes
User Management UI fixes
2022-08-01 09:39:55 +01:00
mike12345567 1366bcd87c Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop 2022-07-29 14:31:18 +01:00
Peter Clement 8fb4cd8da4 flag user groups untill licensing ready 2022-07-29 13:22:59 +01:00
Rory Powell 5e9a03e307 Merge branch 'master' into develop 2022-07-27 16:32:36 -04:00
mike12345567 b26d0b6f21 Adding fix for issue in cloud with user password deletion causing undefined errors. 2022-07-27 17:15:01 +01:00
Peter Clement e468f83902 adding tests and pr comments 2022-07-27 10:20:39 +01:00
Peter Clement ef2ab96d61 update feature error 2022-07-26 20:25:59 +01:00
Peter Clement f845ac055e Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-26 20:19:33 +01:00
Peter Clement 0c831f369d refactor groups into pro and some other pr comments 2022-07-26 20:04:29 +01:00
mike12345567 c3dbeb9d04 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop 2022-07-26 17:28:57 +01:00
mike12345567 f2addf16cb Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-26 17:25:55 +01:00
Peter Clement b078ea9d8d adding limits for uploading users 2022-07-26 12:17:01 +01:00
Peter Clement d1657fe976 adding new custom feature disabled error 2022-07-25 19:45:50 +01:00
Peter Clement 9bb32f610c some more pr comments 2022-07-25 18:57:10 +01:00
Peter Clement 9e4e005dcb move bulk update / delete functionality out of controller 2022-07-25 16:58:30 +01:00
Andrew Kingston d63c547dd6 Use warn rather than info when notifying about ignored conflicts 2022-07-25 12:23:30 +01:00
Andrew Kingston a0380d7b80 Use log rather than warn for logInfo 2022-07-25 12:22:27 +01:00
Andrew Kingston c79e53db80 Ignore 409s in write-through cache 2022-07-25 12:17:40 +01:00
Peter Clement 8a066fb1cb move worker middleware to backend-core 2022-07-22 11:50:51 +01:00
Michael Drury 1682cfdb90 Main bulk of logic around detecting cron recurring failure, still need to disable. 2022-07-20 22:38:06 +01:00
Peter Clement 2843e65c95 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-19 14:54:29 +01:00
mike12345567 2c9cbc6681 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-19 14:12:48 +01:00
Peter Clement c5b9be60c7 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-19 11:23:31 +01:00
Rory Powell 617ec1fe02 Write users and activity to dynamo 2022-07-18 16:11:52 -04:00
mike12345567 d2987fcf39 PR comments. 2022-07-18 18:18:01 +01:00
mike12345567 0a7ceda807 Fixing an issue with automations being unable to access app databases due to new context stack up. 2022-07-18 17:38:58 +01:00
mike12345567 5dd754f314 Removing console log. 2022-07-18 14:18:15 +01:00
mike12345567 ff12b4fbe9 Merge branch 'develop' of github.com:Budibase/budibase into labday/backups 2022-07-18 13:59:46 +01:00
Peter Clement dfdee4d271 lint 2022-07-18 12:33:56 +01:00
Peter Clement b5ffd995f4 split out id parsing into pro repo 2022-07-15 11:29:20 +01:00
mike12345567 c692a656de PR comments. 2022-07-14 19:02:00 +01:00
mike12345567 c0b3ad155e Merge branch 'master' of github.com:Budibase/budibase into fix/memory-leak 2022-07-14 18:53:58 +01:00
mike12345567 8deab4be06 Merge branch 'master' of github.com:Budibase/budibase into fix/memory-leak 2022-07-14 16:40:23 +01:00
mike12345567 4c9b82c9ed Fixing some issues highlighted by test cases, as well as refactoring context a bit to make it easier to edit. 2022-07-14 16:02:05 +01:00
Peter Clement 6663fc25fc Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-14 13:32:51 +01:00
Peter Clement 71179b0f1e overview card updates 2022-07-14 08:39:39 +01:00
Michael Drury fedcc2dfd9 Adding a mechanism to deprecate a view and replace it with a new one. 2022-07-13 21:50:19 +01:00