1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00
Commit graph

1119 commits

Author SHA1 Message Date
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
mike12345567
a24f2157a5 Some various session fixes based on current data. 2022-08-05 21:35:26 +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
Peter Clement
323c23b4d8 pr comments and updating group check to be more safe 2022-07-30 11:38:08 +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
e468f83902 adding tests and pr comments 2022-07-27 10:20:39 +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
caaf5dc3c9 Main body of updates to support disabling the cron, some cleanup of metadata at deployment to make sure they can be re-ran. 2022-07-25 20:45:29 +01:00
mike12345567
295c2e5c68 Fixing issues with exporting apps, first removing the deleted documents when exporting and second making it so that the user has a choice whether to export the development app or the published app from the UI. 2022-07-22 18:16:14 +01:00
Peter Clement
710e71d7b8 2nd fix for multi tenancy groups 2022-07-22 10:56:16 +01:00
Peter Clement
a5d0b8c74b fixing bug on multi tenant environment 2022-07-22 10:12:16 +01:00
Peter Clement
3f5fea9adc update handling of group roles 2022-07-19 14:20:57 +01:00
Peter Clement
c5b9be60c7 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-19 11:23:31 +01:00
mike12345567
30b7790e65 Fix for #6709 - Adding the option to set a role for app action, allowing users to set what level an automation can be accessed from. 2022-07-15 17:13:45 +01:00
Peter Clement
b5ffd995f4 split out id parsing into pro repo 2022-07-15 11:29:20 +01:00
Martin McKeaveney
387f224198 remove beta stuff and remove self-host banners 2022-07-11 11:08:56 +01:00
Andrew Kingston
e9c02c29a5 Add env vars to automatically create initial admin user on first run 2022-06-30 11:28:52 +01:00
Martin McKeaveney
3ed1390c6e adding types 2022-06-28 12:16:23 +01:00
Rory Powell
05f0393310 Merge branch 'release' into merge-release 2022-06-13 11:45:18 +01:00
Martin McKeaveney
80a0c59c8a merge with master 2022-06-08 13:26:14 +01:00
Andrew Kingston
f2e3b2efa8 Apply timezones patch from existing ignore-timezones branch 2022-06-07 08:31:00 +01:00
Martin McKeaveney
bf3a14dda4 new ui functionality working from S3 bucket 2022-06-06 23:30:36 +01:00
Peter Clement
586d4d1694
Merge pull request #6059 from Budibase/feat/dont-export-app-rows
Allow export of app without rows
2022-06-06 16:31:21 +01:00
Peter Clement
3d9a6d5c4c negate export button 2022-06-06 15:17:14 +01:00
Martin McKeaveney
9be1bddf85 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-06-01 09:47:13 +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
Peter Clement
956d96515a Merge remote-tracking branch 'origin/develop' into feat/dont-export-app-rows 2022-05-26 10:32:18 +01:00
mike12345567
09f8675816 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-25 18:12:27 +01:00
mike12345567
157802b70a Swapping bcryptjs for bcrypt. 2022-05-25 16:14:45 +01:00
Peter Clement
2395112ce2 change variable to reflect negation 2022-05-25 15:06:41 +01:00
Peter Clement
a0735efbb7 Export app without rows 2022-05-25 09:26:10 +01:00
Martin McKeaveney
bdce546902
Merge pull request #5786 from Budibase/feature/app-overview-section
Feature/app overview section
2022-05-24 15:16:17 +01:00
mike12345567
806a0c0389 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 17:03:36 +01:00
mike12345567
8ab3fc810b Improving performance of load script, can generate thousands of users a second. 2022-05-22 18:29:02 +01:00
mike12345567
36a190b0ed Finishing off UI, expanding settings menus from 80ch to 90ch as they were quite restricted and made the usage UI a bit difficult to view. Added a DISABLE_DEVELOPER_LICENSE env variable for testing. 2022-05-17 17:44:40 +01:00
Dean
1c5990b9d7 Initial Commit for app overview 2022-05-05 12:52:17 +01:00
mike12345567
4b25df60f9 Fix for export issue reported in #5669 - streaming + closing the database didn't work well together, have to support an edge case for our code stopping execution, but DB access continuing. 2022-05-03 15:20:46 +01:00
Michael Drury
8e786bfd53 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-04-26 20:10:26 +01:00
mike12345567
6880e7bde9 Fix for #5269 - the sub type was being lost in some scenarios related to the user table being updated - making sure it is consistently kept when dealing with either of the related tables. 2022-04-26 14:24:51 +01:00
Martin McKeaveney
e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
mike12345567
fe846f86a5 Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it. 2022-04-21 14:56:14 +01:00
mike12345567
ea6f580501 Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them. 2022-04-19 19:42:52 +01:00
Rory Powell
769f48f935 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-04-19 16:45:27 +01:00
mike12345567
c4a42cc181 Fix for issue discovered in #5187 - expanding regex to cover all sorts of number coercion. 2022-04-07 10:26:39 +01:00
Rory Powell
180e37b9f1 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Rory Powell
bf9f5488fc Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Rory Powell
336f0ff4a0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
mike12345567
f0001f4a4e Updating row search bookmark to handle numbers as bookmarks. 2022-03-09 10:12:26 +00:00
Rory Powell
d6092b9133 Integrate usage quotas with licensing 2022-03-08 14:21:41 +00:00
mike12345567
91508ae141 Adding test cases for user implementation with mocks. 2022-02-25 19:01:17 +00:00
mike12345567
1152229719 Users implementation added. 2022-02-25 19:00:12 +00:00
mike12345567
c189550614 Adding controllers for row, query and applications public APIs. 2022-02-23 18:31:32 +00:00
mike12345567
93f2ed11ff Shifting over all of self API, deprecating old endpoints. 2022-02-14 18:11:35 +00:00
mike12345567
03b4b29b01 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
mike12345567
225674d0a4 Adding comments to areas that need to keep using old db creation method. 2022-01-31 17:27:47 +00:00
mike12345567
09cfa9508e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00
mike12345567
da87b3d73e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:00:22 +00:00
mike12345567
8fbd101448 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
mike12345567
4b1331450c Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00
mike12345567
417bf98ec9 Tests updating, all now passing, fixed some issues discovered by them. 2022-01-28 15:43:51 +00:00
Michael Drury
91c2a40c89 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567
40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
mike12345567
135aff4a31 Bit of refactoring, adding in functionality to remove invalid static formula when the elements that the formula depends on are removed. 2022-01-24 18:22:59 +00:00
mike12345567
6bd2c9ac53 Make sure attachments are deleted when table is deleted, or column is removed. 2022-01-24 16:32:41 +00:00
mike12345567
faa82d8e0f Getting relationship re-enrichment working, so that static formulas will update when the value of the relationship changes. 2022-01-21 17:45:24 +00:00
Rory Powell
7e0c435b7b Merge branch 'develop' into feature/app-urls 2022-01-21 17:35:23 +00:00
Rory Powell
08bd447b51 Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
mike12345567
04934a544a Adding the ability to filter using the filter drawer for formula fields, getting them based on the enriched contents of a row - adding functionality to denote to each table which other tables depend on them for formula. 2022-01-21 16:24:24 +00:00
mike12345567
196c322c4b Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-21 12:52:58 +00:00
Rory Powell
5246296a39
Merge pull request #4000 from Budibase/fix/sync-apps-reset-rows-quotas
App and Row Quota Fixes
2022-01-21 11:20:14 +00:00
mike12345567
8115f6eef2 Getting the static formulas being processed on input, not re-processing on output. 2022-01-20 18:04:44 +00:00
Michael Drury
9b885d0207 Quick fix for #4093 - make sure the App ID/App URL returned for deployed apps is always lowercase, as URLs are not case sensitive and should not be compared as such. 2022-01-18 20:54:19 +00:00
Rory Powell
c6877ff636 Add dryRun to automation row create and remove env conditional on delete 2022-01-18 15:53:55 +00:00
Rory Powell
94cb39829c Support template and app import in quotas + logging 2022-01-18 15:37:16 +00:00
Rory Powell
a09bbfb492 Account for duplicate row ids caused by app import 2022-01-18 12:48:54 +00:00
Rory Powell
3520c3d42b Sync row usage with app deletion 2022-01-17 18:07:26 +00:00
Rory Powell
66a84e8fe6 Calculate total rows in migration, centralise quota enabled logic and tidy to use env vars only 2022-01-17 12:44:53 +00:00
Rory Powell
111aab2b72 Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-14 10:12:57 +00:00
Martin McKeaveney
6d3ebe6eb9 merge with master 2022-01-13 14:58:17 +01:00
mike12345567
d89cf66343 Merge branch 'develop' of github.com:Budibase/budibase into fix/sync-apps-reset-rows-quotas 2022-01-12 13:20:22 +00:00
mike12345567
60a1efeade Removing use of direct package access. 2022-01-12 12:54:25 +00:00
mike12345567
5d9b3af332 Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
Rory Powell
5671244274 Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-12 09:34:14 +00:00
Rory Powell
76463bc368 Enable migration 2022-01-11 18:38:18 +00:00
Rory Powell
ea82983ebd Sync app quota to correct number, reset and disable rows quota 2022-01-11 17:49:42 +00:00
mike12345567
3f6b7d4daf Renaming some variables to core, fixing test cases that referenced auth directly. 2022-01-11 16:18:30 +00:00
mike12345567
4c050699d4 Merge branch 'develop' of github.com:Budibase/budibase into feature/auth-core 2022-01-11 15:16:07 +00:00
mike12345567
836a2f5863 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
mike12345567
058678dec5 Updating to handle prod vs dev apps and deletion of attachments, as well as handling it on update. 2022-01-06 18:45:40 +00:00
mike12345567
1a6397026e Removing attachments when row is deleted (always, need to restrict if app is deployed). 2022-01-06 17:59:29 +00:00
Martin McKeaveney
4d77353692 adding minio URL to objectStoreUrl check 2021-12-31 13:28:52 +00:00
Andrew Kingston
8d10fcf34c Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-15 13:36:10 +00:00
Andrew Kingston
a0f3863f69 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-07 15:11:32 +00:00
mike12345567
a48d7966a6 Adding stats, code, timings and size of request. 2021-12-06 18:23:18 +00:00
mike12345567
a6de5a4fa1 Exporting date and auto id field, but not importing autocolumns when table is created. 2021-12-02 16:17:10 +00:00
mike12345567
560a96b503 Exporting date and auto id field, but not importing autocolumns when table is created. 2021-12-02 16:17:10 +00:00
mike12345567
ec12d6a045 Fixing issue with updating row validation to allow empty objects. 2021-11-29 17:54:09 +00:00
Michael Drury
361589d18a
Merge pull request #3338 from Budibase/feature/query-rbac-timeouts
Query RBAC, query and automation threading/timeouts
2021-11-17 11:39:09 +00:00