1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00
Commit graph

1034 commits

Author SHA1 Message Date
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 157802b70a Swapping bcryptjs for bcrypt. 2022-05-25 16:14:45 +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 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