-
Notifications
You must be signed in to change notification settings - Fork 74
Description
Hello!
Amazing work with the new main branch! Really cool to see the Vue 3 / Quasar 2 / TypeScript migration and great to see that there is activity again!
While you were working on the graphql
branch, I continued development on my own fork to get new features merged faster without disturbing your work on the new version. Since it is merged to master, I am willing to fork again and put my own changes on top of it. But my question is: should I create PRs for the changes or not? I really like to contribute to the upstream repo, but only if my changes are actually be merged (otherwise it only takes time to create branches and PRs).
It is about the following changes:
- Add player chips back to the task cards on the task overview.
- This is because I really like to see in one glance who is working on what without having to hover over every task to see it. It is like the old behaviour of CTFNote where the names were visible at every task.
- Reload incoming CTFs when changed
- This is still a bug in the new CTFNote, the view is not updated if there is a new CTF added. This is probably related to this issue.
- Websocket support for Hedgedoc
- Instead of using HTTP long polling, websocket is much better and supported by Hedgedoc. It is only a little config switch in the nginx config.
- Deployment instructions for nginx
- A specific config is required to use nginx with CTFNote. This is written in the README now. However, I changed some things: I bind to only localhost:8080 and instruct the user to use a HTTPS setup via nginx. So I don't expose CTFNote over insecure HTTP anymore. And there are some headers changed to work with Hedgedoc and HTTPS via CTFNote (these are some later commits in the repo).
- Add Hedgedoc authentication when authenticating with CTFNote (multiple commits so I can not link it).
- This will auto create accounts and login the user in Hedgedoc so their username will be displayed in Hedgedoc. They will have a cursor with a username and a 'git blame' will be visible in the pad. The code consists of some hacky database manipulation to make it work, but it does work (requires connection to the Hedgedoc database).
- 'Past CTF' role in CTFNote
- We introduced a new role in CTFNote: the 'Past CTF' role which means that a user should be invited to access upcoming CTFs but they have auto access to past CTFs. This is a role between guest and member. We found it very useful to grant to irregular users or if we use CTFNote with multiple teams.
- A CyberChef popup in the toolbar
I am curious if you like these changes, if I should contribute them to upstream and if the changes will be merged in a reasonable amount of time.