1
0
Fork 0
mirror of synced 2024-09-01 02:01:32 +12:00
Commit graph

2845 commits

Author SHA1 Message Date
mike12345567
8f738f2c20 Quick fix for #5495 - managing when no relationships exist. 2022-04-23 13:12:57 +01:00
Michael Drury
ae385ffd16
Merge pull request #5542 from Budibase/fix/5495
Fix for SQL relationship based formulas
2022-04-22 16:51:24 +01:00
mike12345567
89683f9de4 Fix for #5495 - making sure that formula columns have access to the relationship details before squashing the results ready for response from the API. Also making sure that the frontend inputs the relationship bindings as expected with the proper path for access. 2022-04-22 12:56:36 +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
1d61ff906a Fixing some issues detected by the test cases, making the in-use mechanism for context more clear to complete avoid stack up of contexts (leading to loss of knowledge around previous databases. 2022-04-20 23:10:39 +01:00
mike12345567
7792a07899 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
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
Martin McKeaveney
e263cc31bb merge with master 2022-03-30 15:44:22 +01:00
Michael Drury
ac129cee01
Merge pull request #5134 from Budibase/fix/5103
Fix for RBAC on apps built from templates containing public screens
2022-03-28 17:17:19 +01:00
Martin McKeaveney
ee6a16827a fixing google sheets bug, respect google configuration hierarchy 2022-03-28 16:44:33 +01:00
mike12345567
e073bdb5a4 Fix for #5103 - some templates are built on an older version that stored permissions differently, we can't migrate these as they will keep being added, easiest to just support the old method (apply the old rule and convert to the new format when retrieving roles). 2022-03-28 16:34:50 +01:00
Rory Powell
00e85766c4 Merge branch 'master' into merge-master 2022-03-25 16:51:58 +00:00
Rory Powell
b4bad65cbf Fix app preview 2022-03-25 16:25:46 +00:00
Rory Powell
0ee41ea10c Merge branch 'master' into merge-master 2022-03-25 13:10:37 +00:00
mike12345567
7cb2cd2139 Linting. 2022-03-25 12:15:42 +00:00
David Duong
82620a9a7b fix: incorrect parameters for public rows editing 2022-03-25 12:09:39 +00:00
Michael Drury
ae157a565a
Merge pull request #5073 from Budibase/fix/5049
Fixing an issue with many-to-many SQL relationships generated in SQL tables
2022-03-25 12:05:44 +00:00
Martin McKeaveney
f40dcbd584 lint 2022-03-24 17:54:27 +00:00
David Duong
3b5e45b43c
fix: incorrect parameters for public rows editing 2022-03-24 16:11:13 +01:00
Rory Powell
7350fcb4ef Fix test 2022-03-24 14:24:56 +00:00
mike12345567
040d45ad5d Fixing a mis-match of fields when creating many-to-many relationships on tables from within Budibase - #5049. 2022-03-24 13:59:46 +00:00
Rory Powell
bcc84bf1fd Link app context with tenancy, remove app tenancy middleware 2022-03-24 13:04:49 +00:00
Rory Powell
cb6103a321 Fix cross tenant apps with session 2022-03-23 16:45:06 +00:00
Martin McKeaveney
60da8273fe
Merge pull request #4970 from Budibase/fix/analytics-cleanup
updating analytics endpoint, removing old NPS survey
2022-03-22 16:34:25 +00:00
Martin McKeaveney
808f50d644 fix tests 2022-03-21 10:04:26 +00:00
Martin McKeaveney
34984ab3a3
Merge pull request #4865 from Budibase/fix/patch-relationships
fixing enrichment of relationships in patch call
2022-03-21 08:24:35 +00:00
Martin McKeaveney
e2a361f19d updating analytics endpoint, removing old NPS survey 2022-03-21 08:00:03 +00:00
Rory Powell
ce965de59d Fix base path in server url for openapi3 import 2022-03-18 09:20:30 +00:00
Rory Powell
2830698629
Merge pull request #4773 from mslourens/openapi3-import
Support Openapi 3 import
2022-03-18 07:16:13 +00:00
Michael Drury
5bb4b8ddde
Merge pull request #4918 from Budibase/fix/public-api-errors
Fix for public API header error warnings
2022-03-16 11:31:14 +00:00
Peter Clement
43f7d1607d linting 2022-03-16 10:33:38 +00:00
Peter Clement
96ea66f898 send export file from backend 2022-03-16 10:22:06 +00:00
mike12345567
8b4903f8f6 Fixing issue found by test case. 2022-03-15 20:17:41 +00:00
mike12345567
1dd2cf99d0 Quick fix for #4914 - adding some checks in API middleware to confirm headers have been set correctly. 2022-03-15 19:31:01 +00:00
mike12345567
18d85fd4ac Linting. 2022-03-15 11:20:23 +00:00
Ilia Shupta
f373dc213d Allow fully qualified redis url use in koa ratelimit store 2022-03-15 11:20:16 +00:00
mike12345567
c1c879309f Making the URL optional for application creation/update in OpenAPI spec, removing unused parameter and fixing getRedisOptions function to work with fully qualified URLs. 2022-03-10 15:53:23 +00:00
Martin McKeaveney
a33ab44433 Merge branch 'develop' of github.com:Budibase/budibase into fix/patch-relationships 2022-03-10 10:17:30 +00:00
Martin McKeaveney
bab0c66b89 fixing enrichment of relationships in patch call 2022-03-09 16:08:55 +01:00
mike12345567
f0001f4a4e Updating row search bookmark to handle numbers as bookmarks. 2022-03-09 10:12:26 +00:00
mike12345567
ebee98133b Fixing an inconsistency that was raised by a community member. 2022-03-08 18:00:49 +00:00
mike12345567
6728f4efde Quick fix for openAPI spec, improving the search spec. 2022-03-08 17:42:26 +00:00
Martin McKeaveney
62b9983d03
Merge pull request #4824 from Budibase/feature/export-from-client
Export selected rows from button action
2022-03-08 12:31:47 +01:00
mike12345567
1357c53ff8 Fixing issue #4811 - when renaming SQL columns use an actual rename alteration rather than dropping the column. 2022-03-07 16:31:35 +00:00
Maurits Lourens
6f31b094b9 implement review comments 2022-03-07 13:58:04 +01:00
Peter Clement
ea63b9b065 Add button action allowing for export of client row selection 2022-03-07 12:06:11 +00:00
Peter Clement
49420a6818 Merge remote-tracking branch 'origin/develop' into feature/export-from-client 2022-03-07 12:04:56 +00:00
Rory Powell
183b01dd47 Fix build, additional tests, updated body detection, support variables in urls 2022-03-07 10:41:28 +00:00
Peter Clement
222033b95e backend for client export of rows 2022-03-04 10:05:46 +00:00