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

240 commits

Author SHA1 Message Date
mike12345567
fa8fb88f82 Updating a few core endpoints to better integrate the groups system and make sure users always have the correct role ID updated onto them. 2022-09-22 18:27:43 +01:00
Rory Powell
a0e79bf9d5 Merge branch 'develop' into feature/day-pass-pricing 2022-09-01 15:26:16 +01:00
Rory Powell
472990b684 Add conditional around joiValidator schema.append 2022-08-31 12:24:12 +01:00
Rory Powell
cb03d26980 Merge branch 'develop' into feature/day-pass-pricing 2022-08-19 14:08:03 +01:00
mike12345567
b920f8cb05 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00
Peter Clement
a5d0b8c74b fixing bug on multi tenant environment 2022-07-22 10:12:16 +01:00
Rory Powell
617ec1fe02 Write users and activity to dynamo 2022-07-18 16:11:52 -04:00
Andrew Kingston
15c28bcb8f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-15 15:32:33 +01:00
Dean
10157cf5ff Joi validator update to accomodate 'createdAt' and 'updatedAt' in the schema as optional 2022-06-14 12:34:15 +01:00
Andrew Kingston
71b18a4260 Delete user builder and admin flags when specifying a custom role via dev tools 2022-06-09 14:26:56 +01:00
Dean
fffb4b0174 Overview Tab refactoring and general updates to the homepage 2022-05-06 15:52:49 +01:00
Dean
1c5990b9d7 Initial Commit for app overview 2022-05-05 12:52:17 +01:00
mike12345567
95bcb1ca9c Fixing issue with db init as part of the jest require. 2022-04-26 18:28:37 +01:00
Rory Powell
0f29b0cb03 Test fixes 2022-04-26 15:07:21 +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
Rory Powell
2269bf677b Merge branch 'develop' into feature/licensing 2022-04-20 14:59:36 +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
Rory Powell
b5de92d0a0 Add checkout pro step to budibase-ci 2022-04-13 21:13:01 +01:00
Rory Powell
dd740df387 Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Andrew Kingston
caff2d7508 Fix for tests when headers are undefined 2022-04-06 14:11:05 +01:00
Andrew Kingston
c25ca0cafd Tidy up 2022-04-06 13:40:07 +01:00
Andrew Kingston
7c91d9dceb Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-04-06 11:50:43 +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
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
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
Rory Powell
62b360b9ea Add developer usage restrictions to SSO user creation 2022-03-18 08:01:31 +00:00
Rory Powell
893f82ac4d Better error handling around license errors 2022-03-16 17:29:47 +00:00
mike12345567
a37fc54fab Fixing an issue that was breaking build. 2022-03-15 19:53:05 +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
Rory Powell
ccf2fe3d01 Self Host <-> Licensing integration 2022-03-09 21:16:22 +00:00
Rory Powell
d6092b9133 Integrate usage quotas with licensing 2022-03-08 14:21:41 +00:00
Andrew Kingston
0137867f1a Update devtools with new features 2022-02-24 15:36:21 +00:00
Andrew Kingston
e35fc7cb7b Fix bad import of headers constants 2022-02-24 14:14:39 +00:00
Andrew Kingston
40c6976035 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-02-24 14:03:29 +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
76e24018be Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 14:09:07 +00:00
Rory Powell
a153e920c9 Merge branch 'develop' into feature/migrations-2.0 2022-01-30 22:37:11 +00:00
Rory Powell
3ce4f32250 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +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
Rory Powell
420684a862 Merge branch 'develop' into feature/migrations-2.0 2022-01-26 15:00:52 +00:00
Rory Powell
716e254bdd Revert "Fix dev app preview return url"
This reverts commit e76ea10fc2.
2022-01-26 09:33:14 +00:00
Rory Powell
5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00