Conversation
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IF YOU ARE USING THE API ONLY YOU WILL NEED TO MAKE CHANGES. API endpoints will now require
workspaceIdwhen updating any monitors, incidents, notifications, etc... For more information checkout the documentation, and keep reading to find out why we're making change.📚Summary
Organisation and restricting access to certain projects has always been something I wanted to do, I thought about doing this system about two years ago but always prioritised some other features. But this time, I've spent the last 4-5 months reworking most of the logic behind the whole application to support workspaces.
✨New Features
/api/workspace/create- Create a new workspace/api/workspace/members/@me- Fetches workspace information about the current user/api/workspace/members- List of all the workspace members/api/workspace/monitors- List of monitors within the workspace/api/workspace/notifications- List of notifications within the workspace/api/workspace/incidents- List of incidents within the workspace/api/workspace/status-pages- List of status pages within the workspace/api/workspace/api-tokens- List of API tokens within the workspaceCHANGE BEFORE RELEASE
/api/user/workspaces- Fetches all workspaces the user is a member of0, which means they can no longer manage anything and only work within a workspacesql.jswhich is a WASM based library to read and process the data, this means the file is temporarily stored in browser RAM. So you may have issues with large files being loaded properly.🛠Updates
/var/run/docker.socknpm run create:routeand this will add information about the endpoint in all required locationscreateRoutefunction creates documentation in the OpenAPI format, this makes it so that documentation is now always up to date with the application/api/incident/all- This has been replaced with/api/workspace/incidents/api/notification- This has been replaced with/api/workspace/notifications/api/status-pages- This has been replaced with/api/workspace/status-pages/api/tokens- This has been replaced with/api/workspace/tokens/api/user/monitors- This has been replaced with/api/workspace/monitors🐛Bug Fixes
🚀 Performance Improvements
🔒Security Fixes
session_tokenas authorization header/api/authendpoints now have heavy rate limiting to stop brute force/api/auth/setup/existsis the only endpoint not being ratelimitedcsrf_tokenis now set onGET,HEAD, andOPTIONSrequestsx-csrf-tokento matchcsrf_tokenvalueHelmetto add some extra security checksDOMPurifywhen rendering HTML on status pages to prevent XSS attacksnpm run reset:passwordscript now generates a more secure passwordPermission bit flags
Member:
User