1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00
Commit graph

582 commits

Author SHA1 Message Date
Andrew Kingston
68b6e0eb64 Remove instance name from being a required screen setting 2022-05-11 13:16:36 +01:00
Rory Powell
54eea4191c tests 2022-05-11 11:32:53 +01:00
Michael Drury
8e786bfd53 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-04-26 20:10:26 +01:00
mike12345567
95d8a4b939 Fixing issues with automation test cases running steps outside of a tenant. 2022-04-26 15:50:35 +01:00
Rory Powell
50e2d3c686 Test fixes 2022-04-26 15:26:56 +01:00
mike12345567
bd72565e6f Fixing issue discovered by test case. 2022-04-26 14:58:59 +01:00
Martin McKeaveney
e01ef9bdfb merge with master 2022-04-26 10:21:45 +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
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
dd740df387 Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +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
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
Rory Powell
cb6103a321 Fix cross tenant apps with session 2022-03-23 16:45:06 +00: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
Martin McKeaveney
808f50d644 fix tests 2022-03-21 10:04:26 +00:00
Martin McKeaveney
e2a361f19d updating analytics endpoint, removing old NPS survey 2022-03-21 08:00:03 +00:00
Rory Powell
336f0ff4a0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +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
mike12345567
6728f4efde Quick fix for openAPI spec, improving the search spec. 2022-03-08 17:42:26 +00: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
Peter Clement
222033b95e backend for client export of rows 2022-03-04 10:05:46 +00:00
mike12345567
86f649c5db Upping test rate limit level. 2022-03-03 12:31:56 +00:00
mike12345567
54137ec9fb Removing koa rate limit types, was requiring types for every store, types didn't work correctly. 2022-03-03 12:19:12 +00:00
mike12345567
216af35aeb Fixing review comments. 2022-03-03 12:03:29 +00:00
mike12345567
32e7f27dfa Adding check to disable rate limit redis connection in test. 2022-03-02 12:50:10 +00:00
mike12345567
a8a8498a9c Updating rate limiter to make use of Redis. 2022-03-02 12:27:09 +00:00
mike12345567
b1167fd444 Adding public API rate limiting, with env variable option, defaults to 120 requests per minute. 2022-03-02 11:36:30 +00:00
mike12345567
2603024792 Changing how types are generated from the open api spec a bit. 2022-03-01 19:00:28 +00:00
mike12345567
d8b5cae569 Adding new generation technique, converting openAPI spec to typescript definitions, which are then applied in mapping output middlewares to make sure that the structures of the response are fully respected. 2022-03-01 18:35:08 +00:00
mike12345567
5ba723f935 Updating summaries, adding descriptions, wrapping responses with generic wrapper 'data'. 2022-03-01 14:37:35 +00:00
mike12345567
172850ae87 Switching the basic single row read to use the enrich endpoint. 2022-02-28 12:54:32 +00:00
mike12345567
eed4111fe2 Rounding out user schema and query schema as required. 2022-02-25 19:26:19 +00:00
mike12345567
5567ca49c4 Removing test case. 2022-02-25 19:02:27 +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
033e320e49 Adding test cases for all implemented endpoints. 2022-02-25 18:02:08 +00:00
mike12345567
f3418044dc Starting to fix up test cases. 2022-02-25 15:55:19 +00:00
mike12345567
390e3e627f Updating validators, make sure everything that is optional is really optional. 2022-02-25 11:39:46 +00:00
Michael Drury
46d23cfb25 Adding a testing system which generates the schema and compares against responses. 2022-02-24 23:21:10 +00:00
mike12345567
06327604eb Refactoring to TS on public endpoints. 2022-02-24 15:13:14 +00:00