56 Commits (56552d02ef503d8415fb68b10a7ee852fbcc0dbb)

Author SHA1 Message Date
mike12345567 56552d02ef Removing server 403. 6 years ago
mike12345567 6c58c90a7a Adding some controls around cookies, expiring them when a 403 is hit. 6 years ago
mike12345567 c7c158dd84 Fixing up tests, need to mock most of the worker functionality so that worker doesn't need to run during tests. 6 years ago
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. 6 years ago
mike12345567 56b4b1583c Fixing some issues with the ctx.user, this was previously filled in by the old auth middleware. 6 years ago
Martin McKeaveney 3226ee90e2 Authentication working on builder homepage, integration with currentapp middleware 6 years ago
mike12345567 0e583eb185 Updating fetch self to get the global user as well as local metadata. 6 years ago
Martin McKeaveney 98576f586e login page 6 years ago
mike12345567 4f71e11c94 Updating some test cases to work with new system. 6 years ago
mike12345567 3214abb89a Global users now working through the server, all requests proxied. 6 years ago
mike12345567 8cde219db9 First pass of global user configuration through existing user API with role mappings. 6 years ago
mike12345567 30b7678c78 Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on. 6 years ago
mike12345567 ae8dd1ec78 Removing use of the , replacing to ctx.appId to make it clear appId not part of the auth. 6 years ago
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. 6 years ago
mike12345567 a48f1c72f2 Adding auth tests. 6 years ago
mike12345567 d9aa1a4890 Switching user activity state to an options field rather than boolean (more extensible). 6 years ago
mike12345567 c801203dc5 Adding the ability to set whether a user is active or not rather than deleting them, stops them from being able to log in to the system. 6 years ago
mike12345567 fa6d3e5e63 Updating the self auth endpoint to use the row processor. 6 years ago
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). 6 years ago
Andrew Kingston 9d870dbccc Add current user bindings, and current user relationships as data sources 6 years ago
mike12345567 31bc45985f Update after testing, it is now possible to make a deployment to a self hosted environment. Some work still required, better authentication around MINIO deployment, currently the bucket is set to public read and there is no signing/verification to the upload process, also right now four different URLs are needed for the builder to connect correctly, ideally this shouldn't be the case. 6 years ago
Martin McKeaveney f05d696ef7 email as default user identifier 6 years ago
mike12345567 19faffff83 Changing the role system to have permissions integrated rather than the permissions being per user. 6 years ago
mike12345567 05225f7787 Changing the naming of access levels to be roles. 6 years ago
mike12345567 6148128554 Tests failing but starting to progress. 6 years ago
Michael Drury 19bcecf9f3 Linting and fixing client test case, have to mock getAppId as the location will never be set during testing. 6 years ago
Michael Drury d8da28502e Removing appIds from tokens to reduce confusion. 6 years ago
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. 6 years ago
mike12345567 a1fd261af6 Some more re-work, more testing needed to auth stuff. 6 years ago
Michael Drury c89f73efc0 Some updates, still WIP. 6 years ago
mike12345567 5b2be03bc3 Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now. 6 years ago
mike12345567 ea03d099b3 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 6 years ago
mike12345567 9a41fde685 Adding a version to the app and then including this in user authentication, this for now is just the version of the builder/server that it was built with. 6 years ago
mike12345567 e70c0f32c7 Some changes for authentication and getting rid of allScreens component of store as it was causing confusion and breakages. 6 years ago
Martin McKeaveney cb5c09d439 simplify user authentication, remove anon user, fix login cookie issues 6 years ago
Martin McKeaveney 64b378364a deployment API usage complete 6 years ago
mike12345567 c3380d8ab4 Fixing some bugs with JWT creation not getting an API key. 6 years ago
mike12345567 922e214dca Fixing up middleware to handle uploads, views, records, automation runs and users. 6 years ago
mike12345567 72de4dcab4 First work towards implementing Dynamo usage in the server when running in the cloud; this is for tracking usage against API keys. 6 years ago
mike12345567 60cb080189 Fix for an issue detected by user test case. 6 years ago
mike12345567 08aa221d04 Implementing the block definitions as list APIs for the workflow, meaning client has to retrieve structure from API instead of inherently knowing it. 6 years ago
Martin McKeaveney e1b88e6620 enable renaming of records by using IDs 7 years ago
Michael Shanks eb2b6ec56f removed x-user-agent 7 years ago
Michael Shanks bf14aa5ccb instanceid removal 7 years ago
Michael Shanks 19d132c6c2 removal of appRoot - appId comes in cookie 7 years ago
Michael Shanks 108fa4ca13 changed "master" databse to "clientAppLookup" 7 years ago
Michael Shanks 71016f5a1d application supports multiple concurrent client DB 7 years ago
Martin McKeaveney 18ad679d21 lint 7 years ago
Martin McKeaveney 2cd309bfdc fix some other auth bugs 7 years ago
Michael Shanks fe79f294b4 access levels 7 years ago