Commit Graph

252 Commits

Author SHA1 Message Date
mike12345567 3fad32899f 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 ff0c3e501f Converting main automation thread to typescript. 2022-07-20 19:05:54 +01:00
mike12345567 d390bb9c20 Moving majority of automation logging functionality to pro. 2022-07-04 15:44:47 +01:00
mike12345567 11f1e95cc0 Main body of PR comments - still need to move a bit to pro. 2022-07-04 11:12:08 +01:00
mike12345567 5100d86752 Moving get of logs to pro. 2022-06-27 18:00:48 +01:00
mike12345567 063540fe0a Getting notifications working correctly, linking to errors in a better way, generally improving UI, getting some final touches here and there. 2022-06-22 20:23:18 +01:00
mike12345567 5106214bc6 Adding metadata update with automation IDs and counts of errors which can be totalled in frontend, also moving to using production apps for history only. 2022-06-17 18:39:06 +01:00
mike12345567 c4ab4b5af8 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-logs 2022-06-15 15:08:48 +01:00
mike12345567 fe84c0f21c Adding pagination control to the API and to the frontend, as well as getting view working as expected, emitting different key combinations to be able to search by any pattern. 2022-06-01 22:39:51 +01:00
mike12345567 34759c7916 Adding real history to the history tab, getting storage to couch and retrieval + api working. 2022-06-01 16:01:06 +01:00
mike12345567 702f4057bd Progress towards using couchdb for automation logs, after testing redis and realising it won't work. 2022-05-31 19:52:35 +01:00
Peter Clement 5a67be19fa Merge remote-tracking branch 'origin/develop' into feat/dont-export-app-rows 2022-05-26 10:32:18 +01:00
Peter Clement 955b9a4d63 Export app without rows 2022-05-25 09:26:10 +01:00
mike12345567 f86f6c3b1c Shifting the title of the flow item header into separate component so that it can be used by the run history flow as well. 2022-05-12 18:14:38 +01:00
mike12345567 8e704cc70f Fixing issue #5778 - making sure to only remove the first app_ element of the app ID. 2022-05-09 12:29:44 +01:00
mike12345567 194b76985c 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
mike12345567 9899781fc5 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00
mike12345567 192fb1307e 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 41144db055 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-04-19 16:45:27 +01:00
Rory Powell dd9503ac09 Add typescript linting at the top level 2022-03-25 11:17:58 +00:00
mike12345567 7b3318a19e Switching the basic single row read to use the enrich endpoint. 2022-02-28 12:54:32 +00:00
Rory Powell 02c0c49594 Deprovision and local couch db url fix 2022-02-18 17:36:23 +00:00
Andrew Kingston d34e57382e Replace all spaces with underscores in column names rather than just the first one 2022-02-14 10:21:31 +00:00
Michael Drury d3a90acc55 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 d2fe119d90 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
mike12345567 1327394784 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
mike12345567 c0512fa242 Adding query save, fixing routing to handle existing rest queries, adding in full saving of enabled headers functionality, fixing various issues discovered while testing. 2021-12-07 18:24:10 +00:00
mike12345567 23071993c6 Fixing an issue with user metadata not always being present when user accessing app, causing weird issues. 2021-10-21 17:23:10 +01:00
mike12345567 94737c6574 Final cleanup, just need to handle view migration (to self host from cloud). 2021-09-29 17:43:16 +01:00
mike12345567 c8dbf02acf Performance improvements after testing - switching to temporary in memory queries for cloud views. 2021-09-21 15:59:50 +01:00
mike12345567 cf5b7b1a99 Fixing issues with automation steps found during testing. 2021-09-20 19:21:04 +01:00
mike12345567 a38f83d0ec Moving views into a different location so they don't trigger tree creation and attempting to use in memory pouchDB to run views on the fly. 2021-09-20 18:24:09 +01:00
mike12345567 a92530f170 Fixing issue #2412 - making sure full enriched records are passed along to automations. 2021-09-13 16:28:52 +01:00
mike12345567 a366ab80e1 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-rework 2021-09-09 16:33:41 +01:00
Michael Drury e935a2196a Merge pull request #2575 from Budibase/fix/public-multi-tenancy
Issue with public apps and multi-tenancy
2021-09-09 14:42:12 +01:00
mike12345567 58aa32f1b0 Fixing issue with multi-tenancy and public apps, when the tenant isn't necessarily known, it can be found in the app ID, building a middleware to manage this. 2021-09-09 13:27:18 +01:00
mike12345567 557bd2df9f Adding metadata system and re-writing how Cron works, previously cron only worked in dev because it would never be enabled for the production app ID, this makes it so that it is never enabled for the dev app and when the production app is deployed it runs through all the automations and checks if any need cron jobs setup/disabled. 2021-09-08 19:29:28 +01:00
mike12345567 4450883a0a Adding slack integration. 2021-09-07 13:58:53 +01:00
mike12345567 3f960e4f13 Fixing an issue that occurs when the table name and the primary display column are the same name. 2021-09-03 14:49:56 +01:00
Michael Drury 8ce56c8492 Merge pull request #2531 from Budibase/fix/sql-relationship-issues
Relationship bug fixes (SQL and internal) and a few other bits
2021-09-03 11:47:36 +01:00
mike12345567 8c3eb30ab1 Fixing issues after upgrading to node 14 and circular dependencies causing issues. 2021-09-02 18:33:41 +01:00
mike12345567 2148bf6da4 Fixing issues with search endpoint not handling users fully. 2021-09-02 17:13:00 +01:00
Andrew Kingston 6e856c4bd7 Fix indexing of rows with arrays of objects 2021-09-02 12:00:18 +01:00
Peter Clement e03244e44e change index definition 2021-08-27 14:10:19 +01:00
Peter Clement 1ab618c2ef fix indexing of arrays 2021-08-26 14:22:52 +01:00
Peter Clement 725b9bb6e2 Add more validation options for array field 2021-08-25 15:49:04 +01:00
Peter Clement f000d44e39 Add contains option to lucene query builder 2021-08-24 16:14:38 +01:00
Martin McKeaveney af4c1b23de simplify couchDB configuration 2021-08-18 11:23:28 +01:00
Martin McKeaveney 87bf640a5d conditionally apply username and password to couchdb auth 2021-08-17 16:48:02 +01:00
Martin McKeaveney f4232bd7d7 couchDB auth options 2021-08-17 14:11:03 +01:00