Frank
Frank
I believe that this construct is illegal? ```go a := make([]bool, 10) for i, l := range a { fmt.Println(i, l) a = append(a[:i], a[i+1:]...) } ```
if go provides a way for getting `net.UnixListener.unlink bool` attribute, this could be easier. I think this is ready for review...
I tested with and without systemd, and gitea works as intended.
Idea: Challenge Type: Qualifier holds a table which stores chall_id -> user_id, solve function adds an item to the table on each user solve, and `super().solve()` if and only if...
The `notifications` view along with the APIs are not `authed_only`, so a guest user could simply visit `/notifications`. if you add a page for all users routing to `/notifications`, that...
typically CTFs challenges are created with dynamic scoring system, so it seems that it's reasonable to have a difficulty marker which plays a part in initial sorting. Which in my...
See https://github.com/CTFd/CTFd/tree/master/CTFd/themes/core/templates. More specifically, https://github.com/CTFd/CTFd/blob/master/CTFd/themes/core/templates/components/navbar.html I advise you to make a copy of the folder `CTFd/themes/core` and make your changes there (`cp -r core core_zhcn`) . 我建议复制一份core目录,在新的目录里修改。修改完以后重启,去后台的appearance/theme里头会出现你新的目录名。
血压升高,请正确使用git use git properly
regex flags could do this, is this necessary?
I think you can start with https://github.com/CTFd/CTFd/blob/7d56e59e1afcfbe919ce4050e458dfd6cba3fa00/CTFd/plugins/flags/__init__.py#L35-L44