Commit Graph

463 Commits

Author SHA1 Message Date
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
Rory Powell 917cbbb6b1 WIP: Memory leak fix 2022-07-13 08:22:21 -04:00
Martin McKeaveney 78fbf862e1 merge 2022-07-11 10:19:07 +01:00
Rory Powell f7e7693604 Re-apply quota restrictions 2022-07-08 10:52:23 +01:00
mike12345567 fdd7edf84f Merge branch 'develop' of github.com:Budibase/budibase into labday/backups 2022-07-07 13:40:52 +01:00
Peter Clement 8a66a38470 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-06 16:30:24 +01:00
mike12345567 c62805853a Updating user search endpoint to allow searching by app ID with a new view, as well as updating user page to have a search input again. 2022-07-06 16:09:05 +01:00
mike12345567 35ed1baeca Updating logging to typescript to fix build issue. 2022-07-06 14:04:04 +01:00
mike12345567 fee6ca4cfb Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-07-06 13:38:20 +01:00
mike12345567 12a8487732 Adding null parameter so that TS doesn't build with strict requirement. 2022-07-06 13:36:29 +01:00
Dean bceff77e35 Properly invalidate the cached user ensuring up-to-date credentials are always used 2022-07-06 11:51:48 +01:00
Peter Clement c9d86230d4 fixing users api references 2022-07-06 08:45:22 +01:00
mike12345567 245dca2c2a Merge branch 'develop' of github.com:Budibase/budibase into labday/backups 2022-07-05 17:47:22 +01:00
Peter Clement daafba8ec8 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-05 16:04:01 +01:00
Dean f14b1c008c Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-05 09:07:33 +01:00
mike12345567 02f6dcf01e Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-07-04 15:47:52 +01:00
mike12345567 90453212d5 Moving majority of automation logging functionality to pro. 2022-07-04 15:44:47 +01:00
Dean 180af9b30b Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-04 13:16:39 +01:00
Dean 4ecae7fa5b Code review updates 2022-07-04 12:54:26 +01:00
mike12345567 f6fc63f1a8 Main body of PR comments - still need to move a bit to pro. 2022-07-04 11:12:08 +01:00
Dean d5819c9fce Merge remote-tracking branch 'origin/develop' into fix/update-icon-context 2022-07-04 10:38:16 +01:00
Dean 5a97b71403 OIDC config test fix 2022-07-03 22:39:16 +01:00
Dean 69b424dee6 Removed debugging line 2022-07-03 22:17:29 +01:00
Dean 79f54d5873 Fix for oauth user db update 2022-07-03 22:14:18 +01:00
Dean 2ea4a9d225 Refresh the OAuth tokens automatically when making rest calls. Fix to remove the password from the api token authentication. 2022-07-03 21:13:15 +01:00
Dean 6a79e467ba Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-03 09:55:05 +01:00
mike12345567 686cf6e1c4 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-07-01 15:14:12 +01:00
mike12345567 a9d927b713 Adding MinIO handling, backing up to disk by bucket name. 2022-06-30 20:26:49 +01:00
mike12345567 c633c643e2 Adding main functionality for exporting CouchDB to disk, just need to add MinIO export. 2022-06-30 19:20:50 +01:00
mike12345567 2733f48492 Updating user page to search through the backend and building a basic pagination store that can be used for it. 2022-06-30 15:39:26 +01:00
Martin McKeaveney bec7d86739 cherry pick new ui from develop 2022-06-30 12:52:07 +01:00
mike12345567 e7ff299c63 Adding user pagination, removing usages of the global user list from builder and replacing with direct user lookups where possible, still need to apply filtering to username/email serverside. 2022-06-29 19:11:00 +01:00
Dean a6584961c1 Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-06-29 09:17:18 +01:00
Martin McKeaveney 3ed1390c6e adding types 2022-06-28 12:16:23 +01:00
mike12345567 da2303803c Moving get of logs to pro. 2022-06-27 18:00:48 +01:00
Dean 547f2788c9 Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-06-27 09:14:40 +01:00
mike12345567 f0dd336b15 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-06-24 17:50:55 +01:00
mike12345567 9207642779 Fixing an issue where periodically the cache state of the couch revision gets out of sync and need to update it for cache to be able to write again. 2022-06-24 17:41:17 +01:00
mike12345567 b45557fe26 Adding explanation of the difference between Database and SelectableDatabase in Redis. 2022-06-24 14:42:15 +01:00
mike12345567 c62b6da703 Adding case to handle multi-DB setups, to confirm store same doc ID to different databases and they run in different cache keys. 2022-06-24 14:28:45 +01:00
mike12345567 eeca1cb3ba Updating writethrough cache a bit to make sure it implements the PouchDB API properly. 2022-06-24 13:34:00 +01:00
mike12345567 e3f25795e8 Fixing test case and review comments. 2022-06-24 12:08:29 +01:00
Dean fce3a7b0a4 Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-06-24 09:21:07 +01:00
mike12345567 07d47102a1 Adding a class wrapper incase using get/put functions multiple times, functions like the PouchDB constructor. 2022-06-23 20:27:20 +01:00
mike12345567 0a9edc48b6 Updating redis to use typescript and adding the option of a writethrough cache which can be used, by passing a DB and a value to be written + a delay for writes. 2022-06-23 20:22:51 +01:00
Dean dc20ecc5ff Merge commit 2022-06-23 14:29:19 +01:00
Andrew Kingston 60060fac6f Improve Couch DB URL parsing to handle edge cases and special characters 2022-06-23 09:14:22 +01:00
Peter Clement 8d264fe983 updated store and finished groups tab 2022-06-22 13:55:31 +01:00
Peter Clement 4ab7e8cd11 saving and fetching groups from couch 2022-06-15 16:51:30 +01:00
Rory Powell acbb411a0a Ensure tests can't send events even when token is set 2022-06-15 14:09:02 +01:00
Rory Powell 7283e01442 Add deployment environment to identities 2022-06-15 11:46:03 +01:00
Rory Powell 4cfedf7252 Better handle first time startup + dedicated event 2022-06-15 11:20:13 +01:00
Rory Powell cfad5af382 Add hosting to all identities and events, add installationId to tenant group 2022-06-14 17:34:32 +01:00
Rory Powell 29292395ef Fix user id generation 2022-06-13 22:26:15 +01:00
Rory Powell eb0214a231 Back populate no-op migrations on new app and tenant create 2022-06-13 10:51:29 +01:00
Rory Powell a2b9fcd448 Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings 2022-06-10 22:57:12 +01:00
Rory Powell e447fd11d1 Build fixes 2022-06-09 12:33:10 +01:00
Martin McKeaveney 80a0c59c8a merge with master 2022-06-08 13:26:14 +01:00
Martin McKeaveney bf3a14dda4 new ui functionality working from S3 bucket 2022-06-06 23:30:36 +01:00
Rory Powell 4e77571ddb Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
Martin McKeaveney 493607b853 update google sheets strategy to use the standard passport strategy 2022-06-05 16:43:04 +01:00
Rory Powell 9f2620dd7a Migration locks and add optional preventRetry option 2022-06-01 17:52:41 +01:00
Rory Powell eae5223fe3 Fix key eviction 2022-06-01 15:31:27 +01:00
Rory Powell 090fdb58e0 app id fixes 2022-06-01 15:17:49 +01:00
Rory Powell b570563d41 Default to historical timestamp 2022-06-01 14:44:12 +01:00
Rory Powell bf9c6cbc42 Add awareness of deployment environment 2022-06-01 14:10:00 +01:00
Martin McKeaveney 9be1bddf85 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-06-01 09:47:13 +01:00
Rory Powell 429f379431 Failover protection with event cache 2022-05-31 21:04:41 +01:00
mike12345567 e439d7097b Review comments and test fix. 2022-05-31 10:16:22 +01:00
Rory Powell fd845284d3 Lots of failure handling and caching 2022-05-30 21:46:08 +01:00
mike12345567 06a32ed357 Fixing issue with server not shutting down correctly when an error occurs, making sure that everything clears up gracefully. 2022-05-30 21:22:06 +01:00
mike12345567 06100af834 Fixing minor issue with automation quota updates. 2022-05-30 14:06:42 +01:00
Rory Powell f2f6bf779d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Rory Powell 64d73e2f96 Merge branch 'develop' into feature/posthog-v2 2022-05-28 23:03:31 +01:00
Rory Powell 9610d8f1e7 Identity tenant and installation groups, property updates 2022-05-28 21:38:22 +01:00
Rory Powell 398a4e7034 Installation identities, upgrade / downgrade events, filling in more event properties 2022-05-26 23:57:14 +01:00
mike12345567 7d6bf87483 Merge branch 'develop' of github.com:Budibase/budibase into feature/app-quotas 2022-05-26 13:31:32 +01:00
Rory Powell cbc3e72757 app and account properties, add account details to all user and tenant identities 2022-05-26 10:13:26 +01:00
Dean e9554562bb Refactored approach to ensure the request context is set appropriately 2022-05-26 10:03:29 +01:00