1
0
Fork 0
mirror of synced 2024-09-28 23:31:43 +12:00
Commit graph

1138 commits

Author SHA1 Message Date
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
Michael Drury
a726d158b8 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
mike12345567
ba4c79895f Updating to manage completed events piling up, this will periodically clear out all events - repeats cannot be removed with the removeOnCompleted job option. 2021-11-16 18:58:24 +00:00
mike12345567
11debac115 Updating to manage completed events piling up, this will periodically clear out all events - repeats cannot be removed with the removeOnCompleted job option. 2021-11-16 18:58:24 +00:00
mike12345567
7eb29ffc7d Updating the getAllApps function to use a cached version of the app metadata, rather than retrieving it individually everytime. Also invalidating the results everytime they are updated (at least in the important locations). 2021-11-15 17:40:45 +00:00
mike12345567
f13257bebe Updating the getAllApps function to use a cached version of the app metadata, rather than retrieving it individually everytime. Also invalidating the results everytime they are updated (at least in the important locations). 2021-11-15 17:40:45 +00:00
Michael Drury
8ad44e59af Fixing test case (didn't provide a schema). 2021-11-12 20:23:00 +00:00
Michael Drury
0ac5c4713a Fixing test case (didn't provide a schema). 2021-11-12 20:23:00 +00:00
mike12345567
0cf612029e Linting and updating csv parser test case to match new functionality. 2021-11-12 19:39:12 +00:00
mike12345567
1d7fe369c6 Linting and updating csv parser test case to match new functionality. 2021-11-12 19:39:12 +00:00
mike12345567
86eec3bb52 Some UI work, as well as moving SQL to using a proper bulk insert method and fixing an issue found with csv parsing and removing of invalid columns. 2021-11-12 19:24:56 +00:00
mike12345567
d9d5391a40 Some UI work, as well as moving SQL to using a proper bulk insert method and fixing an issue found with csv parsing and removing of invalid columns. 2021-11-12 19:24:56 +00:00
mike12345567
6c46c119a6 Adding all required controls for data import to internal tables, just need to implement external table data import. 2021-11-12 18:26:57 +00:00
mike12345567
af5e196b4c Adding all required controls for data import to internal tables, just need to implement external table data import. 2021-11-12 18:26:57 +00:00
mike12345567
ad68b895e1 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-rbac-timeouts 2021-11-11 13:50:42 +00:00
mike12345567
5c8670c7f4 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-rbac-timeouts 2021-11-11 13:50:42 +00:00
mike12345567
d54992de3d Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-11 13:48:07 +00:00
mike12345567
dc8d0aa533 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-11 13:48:07 +00:00
mike12345567
82dac5c588 Adding worker controls to both automations and queries. 2021-11-11 12:11:09 +00:00
mike12345567
cca28ce255 Adding worker controls to both automations and queries. 2021-11-11 12:11:09 +00:00
Martin McKeaveney
3915f3d993 bust cache when app versions are different 2021-11-11 12:21:45 +01:00
Martin McKeaveney
2a2963dac4 bust cache when app versions are different 2021-11-11 12:21:45 +01:00
mike12345567
2e61209291 Adding worker-farm back to have a mechanism to run queries within which we can timeout. 2021-11-10 19:35:09 +00:00
mike12345567
781e8359a1 Adding worker-farm back to have a mechanism to run queries within which we can timeout. 2021-11-10 19:35:09 +00:00
mike12345567
9aa708588a Adding the sync call from the worker for creation, updating and deletion of users. Making sure that production and development apps are always up to date with user metadata. 2021-11-04 14:53:03 +00:00
mike12345567
94ee13ffc4 Adding the sync call from the worker for creation, updating and deletion of users. Making sure that production and development apps are always up to date with user metadata. 2021-11-04 14:53:03 +00:00
Michael Drury
8bf2e7278e Adding sync user endpoint to server which can be used by the worker. 2021-11-03 23:15:38 +00:00
Michael Drury
3a5e004f36 Adding sync user endpoint to server which can be used by the worker. 2021-11-03 23:15:38 +00:00
Rory Powell
0718f99850 Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
Rory Powell
ad61f2af3b Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
Andrew Kingston
70890a62f8
Merge pull request #3042 from Budibase/fix/app-export-performance
Improve app export experience
2021-10-20 10:25:59 +01:00
Andrew Kingston
029b447ce7 Merge pull request #3042 from Budibase/fix/app-export-performance
Improve app export experience
2021-10-20 10:25:59 +01:00
Andrew Kingston
8817230bf1 Refactor app exports to allow a streaming realtime backup, and tidy up 2021-10-18 12:08:12 +01:00
Andrew Kingston
d00f3f27fe Refactor app exports to allow a streaming realtime backup, and tidy up 2021-10-18 12:08:12 +01:00
Rory Powell
f0fa60049d
Merge pull request #2975 from Budibase/no-access-role
No access role / public by default
2021-10-18 11:08:45 +01:00
Rory Powell
a94becac9c Merge pull request #2975 from Budibase/no-access-role
No access role / public by default
2021-10-18 11:08:45 +01:00
Peter Clement
1618e668ed add check for missing _rev 2021-10-18 09:51:13 +01:00
Peter Clement
5cfaa17798 add check for missing _rev 2021-10-18 09:51:13 +01:00
Peter Clement
29796c3490 Potential fix for issues with updating and saving rows and columns 2021-10-17 21:23:30 +01:00
Peter Clement
eb957bc94f Potential fix for issues with updating and saving rows and columns 2021-10-17 21:23:30 +01:00
mike12345567
2d94d93f5b Fixing some issues which were causing errors during the cypress test runs, such as not redirect /api/system/ requests to the worker. 2021-10-14 16:25:07 +01:00
mike12345567
5b81d25d1a Fixing some issues which were causing errors during the cypress test runs, such as not redirect /api/system/ requests to the worker. 2021-10-14 16:25:07 +01:00
mike12345567
b27a07f785 Adding the basics of the query transformers to the frontend and to the backend, as well as switching to vm2 for script running. 2021-10-12 18:45:13 +01:00
mike12345567
b46a945fc4 Adding the basics of the query transformers to the frontend and to the backend, as well as switching to vm2 for script running. 2021-10-12 18:45:13 +01:00
Rory Powell
0d76f5ce22 No access role / public by default 2021-10-12 10:05:57 +01:00
Rory Powell
8c67f3da13 No access role / public by default 2021-10-12 10:05:57 +01:00
mike12345567
380d0e030e Fixing issue with user's being logged in and trying to access other tenants public apps, this work makes sure that users from other tenants will not be 403'd immediately (too aggressive) but instead they will have all other their RBAC roles revoked. 2021-10-07 15:49:26 +01:00
mike12345567
183b6e7b50 Fixing issue with user's being logged in and trying to access other tenants public apps, this work makes sure that users from other tenants will not be 403'd immediately (too aggressive) but instead they will have all other their RBAC roles revoked. 2021-10-07 15:49:26 +01:00
Martin McKeaveney
9e41b9cd8f UX improvements 2021-10-05 23:49:32 +01:00
Martin McKeaveney
ab24e02941 UX improvements 2021-10-05 23:49:32 +01:00
Martin McKeaveney
ddfecf14dc templates working end to end 2021-10-05 23:02:28 +01:00
Martin McKeaveney
4c59087904 templates working end to end 2021-10-05 23:02:28 +01:00
Rory Powell
db5565d03c
Merge pull request #2882 from Budibase/honour-quota
Deny only when usage quota is exceeded
2021-10-04 16:47:53 +01:00
Rory Powell
380e3b4ccf Merge pull request #2882 from Budibase/honour-quota
Deny only when usage quota is exceeded
2021-10-04 16:47:53 +01:00
Rory Powell
f20cc45bc3 Deny only when usage quota is exceeded 2021-10-04 14:07:10 +01:00
Rory Powell
c3a95d6c03 Deny only when usage quota is exceeded 2021-10-04 14:07:10 +01:00
mike12345567
b8e968644a Fixing issue with direct app request in self host not working when un-authenticated (doesn't re-direct to login). 2021-10-04 13:31:53 +01:00
mike12345567
c82c9df522 Fixing issue with direct app request in self host not working when un-authenticated (doesn't re-direct to login). 2021-10-04 13:31:53 +01:00
Michael Drury
c8260ba4de
Merge pull request #2847 from Budibase/fix/2665
Fix created by/updated by auto columns breaking public forms
2021-10-01 15:16:22 +01:00
Michael Drury
5a203d7b7d Merge pull request #2847 from Budibase/fix/2665
Fix created by/updated by auto columns breaking public forms
2021-10-01 15:16:22 +01:00
mike12345567
f4b57aab1c Fixing issue with created by/updated by on public forms, also fixing a small issue with analytics ping generating a 404. 2021-10-01 15:00:11 +01:00
mike12345567
8decbc20d5 Fixing issue with created by/updated by on public forms, also fixing a small issue with analytics ping generating a 404. 2021-10-01 15:00:11 +01:00
mike12345567
04acb160a2 Quick fix for worker, API key was not considered good enough to access worker, updated this and added better error to smtp action. 2021-10-01 13:29:08 +01:00
mike12345567
be09410cae Quick fix for worker, API key was not considered good enough to access worker, updated this and added better error to smtp action. 2021-10-01 13:29:08 +01:00
mike12345567
4de566d864 Some fixes after testing and adding some basic work to the frontend. 2021-09-28 18:05:52 +01:00
mike12345567
d282cd030f Some fixes after testing and adding some basic work to the frontend. 2021-09-28 18:05:52 +01:00
mike12345567
145c0a11c9 Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-28 11:23:03 +01:00
mike12345567
a83b9835b2 Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-28 11:23:03 +01:00
mike12345567
f836565f69 Putting together cloud export and import functionality, still need to test, but basic concept there. 2021-09-27 19:12:41 +01:00
mike12345567
9f0d8a91b7 Putting together cloud export and import functionality, still need to test, but basic concept there. 2021-09-27 19:12:41 +01:00
Martin McKeaveney
f877244571 abstract usagedoc creation into auth, create the doc if it doesn't exist 2021-09-27 17:35:22 +01:00
Martin McKeaveney
1e3fca15c5 abstract usagedoc creation into auth, create the doc if it doesn't exist 2021-09-27 17:35:22 +01:00
Martin McKeaveney
9bbb230aa6 merge with develop 2021-09-27 16:37:55 +01:00
Martin McKeaveney
bd1f6752ff merge with develop 2021-09-27 16:37:55 +01:00
Martin McKeaveney
30f60d9bae prevent SMTP fallback for automations 2021-09-27 16:28:39 +01:00
Martin McKeaveney
2da28ecc71 prevent SMTP fallback for automations 2021-09-27 16:28:39 +01:00
Michael Drury
106b575c4e
Merge pull request #2729 from Budibase/fix/no-perms-hierarchy
Removing the concept of permissions hierarchy from backend for resources
2021-09-27 15:15:31 +01:00
Michael Drury
a9823062d4 Merge pull request #2729 from Budibase/fix/no-perms-hierarchy
Removing the concept of permissions hierarchy from backend for resources
2021-09-27 15:15:31 +01:00
Martin McKeaveney
757fbbc19c re-adding env var controls for cloud limit functionality 2021-09-27 15:03:48 +01:00
Martin McKeaveney
5b4bf74e2c re-adding env var controls for cloud limit functionality 2021-09-27 15:03:48 +01:00
Martin McKeaveney
5b1ae778da fallback SMTP configuration for cloud 2021-09-27 14:57:22 +01:00
Martin McKeaveney
35d4eac78a fallback SMTP configuration for cloud 2021-09-27 14:57:22 +01:00