Martin McKeaveney
|
5b4bf74e2c
|
re-adding env var controls for cloud limit functionality
|
2021-09-27 15:03:48 +01:00 |
Martin McKeaveney
|
35d4eac78a
|
fallback SMTP configuration for cloud
|
2021-09-27 14:57:22 +01:00 |
Martin McKeaveney
|
c49b88b57a
|
automation runs quotas
|
2021-09-23 23:25:25 +01:00 |
Martin McKeaveney
|
4a2028c354
|
usageQuota middleware writing to couch
|
2021-09-23 22:40:14 +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
|
2531d9a681
|
Cleanup, prepping for automation history, some refactoring to get rid of concept of builtin.
|
2021-09-06 17:53:02 +01:00 |
mike12345567
|
bc84bab52c
|
Merge branch 'master' of github.com:Budibase/budibase into develop
|
2021-08-06 13:04:54 +01:00 |
mike12345567
|
46ea3f3e9e
|
Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 4834b765be , reversing
changes made to 2456e69483 .
|
2021-08-05 09:59:08 +01:00 |
mike12345567
|
217e5a02bf
|
Fixing issue #2193, also fixing the name of the file on export, as well as fixing an issue with the exporters not handling relationships.
|
2021-08-04 18:20:51 +01:00 |
Michael Drury
|
b86a6fddc9
|
Revert "Multi-tenancy/organisations"
|
2021-08-04 10:02:24 +01:00 |
mike12345567
|
e7974f7e86
|
Implementing some changes to how context gets set for tenancy, after testing, as well as updating server.
|
2021-08-03 15:32:25 +01:00 |
mike12345567
|
4160d63b2d
|
Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants
|
2021-07-23 16:10:59 +01:00 |
mike12345567
|
a5d9883f28
|
Updating internal search to disable features were required.
|
2021-07-23 13:29:50 +01:00 |
mike12345567
|
b0fb7ae991
|
Fixing test cases.
|
2021-07-08 00:30:55 +01:00 |
mike12345567
|
93cc9530ed
|
Merge branch 'develop' of github.com:Budibase/budibase into feature/user-session
|
2021-07-07 17:17:16 +01:00 |
mike12345567
|
7f0fc5f899
|
Fixing session issues after testing a bit.
|
2021-07-07 17:15:53 +01:00 |
Martin McKeaveney
|
13517d5298
|
make logged in users basic by default, prevent allowing users to be assigned as default in the UI
|
2021-07-06 18:43:04 +01:00 |
mike12345567
|
b847f85d91
|
WIP - first version of user sessions.
|
2021-07-06 18:10:04 +01:00 |
mike12345567
|
96fd8ed947
|
Updating tests to use latest version of jest, which broke a lot of things, but was necessary to get proper ts-jest support.
|
2021-06-25 13:46:02 +01:00 |
Andrew Kingston
|
32a3c2bbb6
|
Lint with prettier
|
2021-06-15 19:39:40 +01:00 |
mike12345567
|
72c3ff8c2e
|
Formatting.
|
2021-06-08 18:06:56 +01:00 |
mike12345567
|
fe66c3535c
|
Fixing a collection of issues, specifically users being exported/imported and issues with database import causing weirdness (metadata doc being wrong).
|
2021-06-08 18:06:16 +01:00 |
mike12345567
|
fe4fcad77c
|
Fixing issue with builder not always having the correct roles to view an app - global builders are now admins in all apps.
|
2021-06-04 12:13:29 +01:00 |
Martin McKeaveney
|
1487a6012f
|
fixing various babel issues within tests
|
2021-06-01 17:09:26 +01:00 |
mike12345567
|
c9a352bee7
|
Fixing server test cases.
|
2021-05-27 15:40:55 +01:00 |
mike12345567
|
9fb5e97330
|
Linting.
|
2021-05-27 14:55:48 +01:00 |
mike12345567
|
aab11fa932
|
Updating permissions to allow roles other than builder/admin to use apps properly.
|
2021-05-27 14:53:41 +01:00 |
mike12345567
|
31d0a8b483
|
Upping debounce to 30 seconds as it has no real negative.
|
2021-05-21 15:14:35 +01:00 |
mike12345567
|
aa51bf7f07
|
Switching logic for lazy evaluation.
|
2021-05-21 15:03:28 +01:00 |
mike12345567
|
095e513f9f
|
Formatting
|
2021-05-21 14:49:59 +01:00 |
mike12345567
|
6ccec1632a
|
Adding a debounced updated at timestamp to applications.
|
2021-05-21 13:07:10 +01:00 |
mike12345567
|
4d6e4475d3
|
Fixing some issues found when testing.
|
2021-05-20 20:48:24 +01:00 |
mike12345567
|
cea82f9335
|
A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge.
|
2021-05-14 15:43:41 +01:00 |
mike12345567
|
74e6fdddb0
|
Fixing two issues which were blocking previews, one the user was no longer being updated as an admin (when first building/creating an app) and two, role was not being carried across from global user properly.
|
2021-05-13 18:10:09 +01:00 |
mike12345567
|
fa0544054b
|
Fixing an issue with portal calls causing the app to be re-locked.
|
2021-05-13 15:32:03 +01:00 |
mike12345567
|
5df453d2a3
|
Updating locks to store the whole global user as well as implementing the locks on dev apps fetch.
|
2021-05-13 12:16:09 +01:00 |
mike12345567
|
3ad1e9a5b2
|
Formatting.
|
2021-05-12 17:43:29 +01:00 |
mike12345567
|
2021c59dd9
|
Putting together redis lock system.
|
2021-05-12 17:37:09 +01:00 |
Andrew Kingston
|
797e8a8b67
|
Add explicit prettier options
|
2021-05-04 11:32:22 +01:00 |
Keviin Åberg Kultalahti
|
0afbf1649e
|
lint:fix
|
2021-05-03 09:31:09 +02:00 |
mike12345567
|
0dd46d12fa
|
Updating test cases and some re-work of the email system.
|
2021-04-23 18:07:39 +01:00 |
Martin McKeaveney
|
6462848191
|
config specificity
|
2021-04-22 11:45:22 +01:00 |
mike12345567
|
76ceb6a951
|
Some re-work of the auth package, making it a bit easier to use/less likely to make a mistake.
|
2021-04-21 16:42:44 +01:00 |
mike12345567
|
b4c8bf81f7
|
Swapping over everything to use the new user ID and updating everything after some end to end testing.
|
2021-04-20 17:17:44 +01:00 |
mike12345567
|
eaa89c824e
|
Updating the server to remove use of the email in the user ID.
|
2021-04-19 16:26:33 +01:00 |
mike12345567
|
dc20151c19
|
Some more server-side fixes, updating it so that builders have permissions to do anything for now (means that a builder user doesn't have to be present in app database to work.
|
2021-04-14 16:00:58 +01:00 |
mike12345567
|
105e1cc16f
|
Getting most of the test auth working, adding in global builder configuration.
|
2021-04-13 18:12:35 +01:00 |
mike12345567
|
ad626d3e47
|
Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management
|
2021-04-13 17:12:09 +01:00 |
mike12345567
|
a1227c5819
|
Removing the lookup of _id in usage quota when in dev/self host for performance reasons as part of usage quota, re-writing some bits of fetch self for cleaner implementation, fixing some issues with updating/saving users from within app.
|
2021-04-13 17:11:55 +01:00 |
Martin McKeaveney
|
a68227735c
|
ensuring public users can log in after being assigned a roleId
|
2021-04-13 16:56:45 +01:00 |
mike12345567
|
56b4b1583c
|
Fixing some issues with the ctx.user, this was previously filled in by the old auth middleware.
|
2021-04-13 15:27:47 +01:00 |
mike12345567
|
02c9f69143
|
Updating current app to set up role in middleware.
|
2021-04-13 14:35:00 +01:00 |
mike12345567
|
7685d2949e
|
Removing test cases which are no longer valid.
|
2021-04-13 13:37:54 +01:00 |
mike12345567
|
81d7d1f4c6
|
Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management
|
2021-04-13 13:35:21 +01:00 |
mike12345567
|
c51dacd0fe
|
Adding test cases for current app middleware as well as removing some old middlewares that were no longer used.
|
2021-04-13 13:32:09 +01:00 |
Martin McKeaveney
|
d72a6dc8df
|
currentapp being set correctly for user
|
2021-04-13 13:26:13 +01:00 |
Martin McKeaveney
|
3226ee90e2
|
Authentication working on builder homepage, integration with currentapp middleware
|
2021-04-13 11:56:57 +01:00 |
mike12345567
|
eaad867780
|
Some work towards implementing the current app cookie, removing some old dead code and re-working some of the different middlewares involved.
|
2021-04-12 18:31:58 +01:00 |
Martin McKeaveney
|
dd0b4baef5
|
in progress - currentapp token
|
2021-04-12 12:02:28 +01:00 |
Martin McKeaveney
|
ce55f99a0a
|
Merge branch 'feature/global-user-management' of https://github.com/Budibase/budibase into feature/global-user-management
|
2021-04-12 11:20:07 +01:00 |
Martin McKeaveney
|
c4a9d8c9f0
|
self endpoint, simple auth
|
2021-04-12 11:20:01 +01:00 |
mike12345567
|
a2c7ea9ba4
|
Merge branch 'feature/global-user-management' of github.com:Budibase/budibase into feature/global-user-management
|
2021-04-12 11:09:22 +01:00 |
mike12345567
|
4516e3d798
|
Updating snapshot for middleware test.
|
2021-04-12 11:09:06 +01:00 |
Martin McKeaveney
|
e2ce7098c5
|
merge
|
2021-04-12 10:48:27 +01:00 |
Martin McKeaveney
|
98576f586e
|
login page
|
2021-04-11 11:35:55 +01:00 |
mike12345567
|
4f71e11c94
|
Updating some test cases to work with new system.
|
2021-04-09 17:33:21 +01:00 |
Martin McKeaveney
|
57b3a28708
|
Merge branch 'dev-experience' of https://github.com/Budibase/budibase into feature/global-user-management
|
2021-04-07 17:17:00 +01:00 |
mike12345567
|
30b7678c78
|
Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on.
|
2021-04-07 16:08:29 +01:00 |
mike12345567
|
b737aa673d
|
Merge branch 'dev-experience' of github.com:Budibase/budibase into feature/global-user-management
|
2021-04-07 15:22:22 +01:00 |
mike12345567
|
c1f22def11
|
Updating authorization test case to remove check for builder security and removing builder security while auth is being worked on - added an option to start stack without server so that user can start it in a debug mode if desired.
|
2021-04-07 11:54:51 +01:00 |
mike12345567
|
486ca97330
|
Fixing component definition test cases and fixing an issue found by authorized test case.
|
2021-04-07 11:27:15 +01:00 |
mike12345567
|
0b7502ba7e
|
Updating some route middleware security.
|
2021-04-01 14:38:31 +01:00 |
Andrew Kingston
|
86667bfa0f
|
Update URLs to use builder instead of _builder
|
2021-04-01 10:06:22 +01:00 |
Andrew Kingston
|
44ad38fdf8
|
Add BBUI to monorepo and use vite for builder, client lib and standard components
|
2021-03-31 16:14:56 +01:00 |
mike12345567
|
ae8dd1ec78
|
Removing use of the , replacing to ctx.appId to make it clear appId not part of the auth.
|
2021-03-29 17:32:05 +01:00 |
mike12345567
|
d66af9f151
|
Getting rid of the CLOUD environment variable, this makes no sense anymore, now there is isDev() and isProd() which will work out the current state of the cluster.
|
2021-03-24 18:21:23 +00:00 |
mike12345567
|
1a878c3e08
|
Fixing some test cases that were affected by file system refactor.
|
2021-03-23 18:04:53 +00:00 |
mike12345567
|
fca242b9ee
|
Updating API keys and changing over system to allow use of builder endpoints when running in cloud.
|
2021-03-22 16:39:11 +00:00 |
mike12345567
|
189a673c9c
|
Testing some of the automation actions (still a few to complete) and adding quick test case for the self host stuff.
|
2021-03-11 18:29:48 +00:00 |
mike12345567
|
163d24a767
|
Updating row tests, reducing console logging during tests for speed and clarity, testing some misc endpoints and updating search functionality to use a starts with operator when working with strings on rows.
|
2021-03-10 17:55:42 +00:00 |
Martin McKeaveney
|
f69e06870b
|
Merge pull request #1266 from Budibase/middleware-tests
Middleware tests
|
2021-03-10 15:28:11 +00:00 |
Martin McKeaveney
|
ca5ca7add9
|
finish authenticated tests
|
2021-03-09 17:31:52 +00:00 |
Martin McKeaveney
|
4d39cf5405
|
authenticated tests
|
2021-03-09 17:04:24 +00:00 |
Martin McKeaveney
|
5dcc4f23c6
|
usageQuota tests
|
2021-03-09 15:13:14 +00:00 |
Martin McKeaveney
|
c755df9f91
|
resourceId tests
|
2021-03-09 12:39:32 +00:00 |
Martin McKeaveney
|
c4b3a7c884
|
refactor selfhost middleware tests to use TestConfiguration
|
2021-03-09 11:33:16 +00:00 |
Martin McKeaveney
|
05efe05061
|
tests for authorized middleware
|
2021-03-09 11:27:12 +00:00 |
mike12345567
|
0652133a30
|
Some fixes after testing webhooks as well as adding test cases for all webhook endpoints.
|
2021-03-08 15:57:19 +00:00 |
Martin McKeaveney
|
1b1ed8a823
|
self hosted middleware test
|
2021-03-08 15:46:12 +00:00 |
Martin McKeaveney
|
1a9290b395
|
middleware tests
|
2021-03-05 14:13:43 +00:00 |
mike12345567
|
4f1a0ac645
|
Fixing an issue with RBAC, there was a mutable issue where a server builtin resource was getting updated, fixed this by not exposing the mutable structure, instead exposing a function which provides a new object everytime.
|
2021-02-12 20:34:54 +00:00 |
mike12345567
|
821de55363
|
Adding basic permissions test which proves a public user can read from a table, but cannot write.
|
2021-02-09 17:24:36 +00:00 |
mike12345567
|
9fb4c14835
|
Some more fixes after testing permissions a bit further.
|
2021-02-09 16:01:02 +00:00 |
mike12345567
|
cc02397b01
|
Fixing issues with builtin roles living in the database as well as in code (easier to change in the future this way) - discovered by basic test case.
|
2021-02-09 13:01:45 +00:00 |
mike12345567
|
7a65a59c78
|
Making use of the resourceId in the middleware package.
|
2021-02-08 17:52:22 +00:00 |
mike12345567
|
a55d836c33
|
Adding in resource IDs everywhere they should be accessible.
|
2021-02-08 17:22:07 +00:00 |
mike12345567
|
9367ce5bbc
|
Fixing a bug found by tests in auth.
|
2021-01-29 13:14:36 +00:00 |
mike12345567
|
13fe937e67
|
This commit includes some fixes for a few auth issues I found when I was working on this and a static page which shows the self hosting info to get the user going (if they end up there).
|
2021-01-28 18:30:59 +00:00 |
mike12345567
|
16a25a7cff
|
When self hosting it is now possible to use a pretty URL to access the app rather than the normal appId.
|
2021-01-14 17:01:31 +00:00 |
mike12345567
|
7b21acd8bd
|
Updating API key controller in self-host mode to return self host API key.
|
2020-12-09 17:10:53 +00:00 |
mike12345567
|
1cbe3771ab
|
Adding in self hosted API key.
|
2020-12-09 17:04:05 +00:00 |
mike12345567
|
19faffff83
|
Changing the role system to have permissions integrated rather than the permissions being per user.
|
2020-12-02 17:08:25 +00:00 |
mike12345567
|
05225f7787
|
Changing the naming of access levels to be roles.
|
2020-12-02 13:20:56 +00:00 |
Michael Drury
|
0d98f3b442
|
Another quick fix for apps to work again.
|
2020-11-19 20:42:49 +00:00 |
Michael Drury
|
7ac1c2198e
|
Fixing issues thrown up by PR.
|
2020-11-19 20:31:11 +00:00 |
Michael Drury
|
4a74801a1a
|
Linting.
|
2020-11-19 20:19:18 +00:00 |
Michael Drury
|
a16063b11f
|
Minor update to make use of new client header to state the request is from the client, not the builder.
|
2020-11-19 20:18:28 +00:00 |
mike12345567
|
6a50b1057d
|
Fixing some bugs with previous commit and updating to add the functionality of the api/routing/client.
|
2020-11-18 15:12:42 +00:00 |
mike12345567
|
7f5c3a4688
|
Updating to have proper access control via an accessController and nearly ready to spit out the routing structure.
|
2020-11-16 18:04:44 +00:00 |
Michael Drury
|
a423664f4c
|
Large update, tests passing, have simplifed access level API, access levels and permissions are now totally separate.
|
2020-11-13 15:35:20 +00:00 |
Michael Drury
|
be7febe49f
|
Linting.
|
2020-11-12 17:43:17 +00:00 |
mike12345567
|
6148128554
|
Tests failing but starting to progress.
|
2020-11-12 17:06:55 +00:00 |
Michael Drury
|
1f4e27eb13
|
WIP - this is working towards the permissions system but stopping here for the night, this is currently not functional.
|
2020-11-11 17:34:15 +00:00 |
mike12345567
|
f2e1f1f4e9
|
The API that the components library would use was not always consistent with the API client library would use and this would sometimes break things.
|
2020-11-09 09:42:35 +00:00 |
Michael Drury
|
4f28bd9430
|
Updating server test cases with the header for appId.
|
2020-11-03 15:00:39 +00:00 |
Michael Drury
|
ac73b5c4aa
|
Further work towards the re-implementation of auth, changing how the appId is determined, now it mainly will use a header, and a cookie which will be written to store the current status of appId.
|
2020-11-03 13:45:49 +00:00 |
mike12345567
|
a1fd261af6
|
Some more re-work, more testing needed to auth stuff.
|
2020-11-02 20:14:10 +00:00 |
mike12345567
|
5b2be03bc3
|
Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now.
|
2020-10-29 10:28:27 +00:00 |
mike12345567
|
ea03d099b3
|
Initial work into multi-tenancy removal, experiencing issues with test cases at this point.
|
2020-10-28 20:35:06 +00:00 |
mike12345567
|
0d8ec8e03a
|
Some initial work towards webhooks, that generates schema similar to integromat.
|
2020-10-22 17:48:32 +01:00 |
Martin McKeaveney
|
a34a59880e
|
merge from master
|
2020-10-15 14:41:29 +01:00 |
Martin McKeaveney
|
f163027ca8
|
more auth bugfixes
|
2020-10-15 14:26:33 +01:00 |
mike12345567
|
e70c0f32c7
|
Some changes for authentication and getting rid of allScreens component of store as it was causing confusion and breakages.
|
2020-10-15 13:52:56 +01:00 |
Martin McKeaveney
|
988789f1d4
|
frontend bug fixes, remove bindable prop, add not equals filter
|
2020-10-14 21:43:36 +01:00 |
Martin McKeaveney
|
535c9febd5
|
fix for appid referer split
|
2020-10-14 17:30:00 +01:00 |
Martin McKeaveney
|
8132c77f8c
|
don't show login component on logged in page, fix auth for app assets
|
2020-10-14 16:47:53 +01:00 |
Martin McKeaveney
|
cb5c09d439
|
simplify user authentication, remove anon user, fix login cookie issues
|
2020-10-13 21:33:56 +01:00 |
mike12345567
|
c8ab9f7661
|
Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming
|
2020-10-12 13:54:34 +01:00 |
Martin McKeaveney
|
c5efdbc3d0
|
adding auth object to context rather than separate booleans
|
2020-10-12 13:32:52 +01:00 |
Martin McKeaveney
|
1f92c9cd14
|
support for external webhooks
|
2020-10-12 11:57:37 +01:00 |
mike12345567
|
d8f3a2ef17
|
Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming
|
2020-10-12 09:41:42 +01:00 |
Martin McKeaveney
|
64b378364a
|
deployment API usage complete
|
2020-10-09 21:42:20 +01:00 |
mike12345567
|
5d49d529e3
|
Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing.
|
2020-10-09 19:10:28 +01:00 |
mike12345567
|
552c31a53e
|
Updates for API usage after testing against local Dynamo.
|
2020-10-08 17:34:41 +01:00 |
mike12345567
|
922e214dca
|
Fixing up middleware to handle uploads, views, records, automation runs and users.
|
2020-10-07 17:56:47 +01:00 |
mike12345567
|
72de4dcab4
|
First work towards implementing Dynamo usage in the server when running in the cloud; this is for tracking usage against API keys.
|
2020-10-06 19:13:41 +01:00 |
mike12345567
|
39dbf78359
|
Updates as per review comments.
|
2020-09-21 23:19:45 +01:00 |
mike12345567
|
31939e3dc9
|
Update to improve test cases and get JOI to work as expected.
|
2020-09-16 19:25:52 +01:00 |
mike12345567
|
b886c8f342
|
Adding joi validation to the workflow update and create to make sure structure is adhered to, this is built through a curried middleware, to validate on headers, body etc add multiple different validator middlewares to your endpoint.
|
2020-09-10 17:46:34 +01:00 |
Martin McKeaveney
|
c953fa679a
|
lint ✨
|
2020-07-07 21:29:20 +01:00 |
Martin McKeaveney
|
975d715bd7
|
upload assets to s3
|
2020-06-29 19:15:43 +01:00 |
Michael Shanks
|
eb2b6ec56f
|
removed x-user-agent
|
2020-06-19 16:59:46 +01:00 |
Michael Shanks
|
2436ea525d
|
fixing broken tests
|
2020-06-18 20:41:37 +01:00 |
Michael Shanks
|
bf14aa5ccb
|
instanceid removal
|
2020-06-18 16:59:31 +01:00 |
Martin McKeaveney
|
94731e017a
|
use custom user agent header
|
2020-06-03 19:35:04 +01:00 |
Michael Shanks
|
6c2b72dd27
|
logic to not use builder:token for apps running in dev
|
2020-06-03 17:05:36 +01:00 |
Michael Shanks
|
fe79f294b4
|
access levels
|
2020-05-27 17:23:01 +01:00 |
Michael Shanks
|
1ba64e02fe
|
removing Authorization header
|
2020-05-18 11:53:04 +01:00 |
Michael Shanks
|
1dc32a05e3
|
removing clientId from frontend, fixing invalid database name
|
2020-05-18 06:40:29 +01:00 |
Michael Shanks
|
97db4f1765
|
server tests in-memory and passing
|
2020-05-14 15:12:30 +01:00 |