Commit Graph

15 Commits

Author SHA1 Message Date
Kevin Chung
b4dd54d36a Adding score and place to team page, fixing create_app 2015-03-08 13:39:22 -04:00
CodeKevin
81ea0f8d52 Send email tested and improved 2015-01-24 20:04:58 -05:00
CodeKevin
29071a6d5c Cleaning out some leftover text 2015-01-24 19:41:34 -05:00
CodeKevin
52becebbdb Adding team emailing
Untested since I don't have a mail server on my dev environment
2015-01-24 19:40:52 -05:00
CodeKevin
b1c09e832e Listing DO hosts
Swapped out API wrappers
2015-01-24 03:50:45 -05:00
CodeKevin
6b81ac4577 Merging local changes 2015-01-24 00:51:32 -05:00
CodeKevin
7642aeb1e5 Starting DO integration 2015-01-24 00:48:41 -05:00
Kevin Chung
8ec79d9337 Removing hits calculation for issue #12 2015-01-18 20:25:05 -05:00
Kevin Chung
3b93a40f2b Closes #9 2015-01-18 20:07:02 -05:00
Kevin Chung
4a128e83dc Adding user deletion from admin panel 2015-01-18 19:17:57 -05:00
Blake Burkhart
2972cf506d Optionally allow unregistered users to view challenges
Add a Config entry `view_challenges_unregistered` to indicate whether
unregistered users can view challenges. Add the setting to the admin config
page.

Add can_view_challenges() to utils to test if a user is either authed, or the
configuration allow unauthenticated users to view the challenges.

Return a HTTP 401 Unauthorized error when the /chals/solves API can't provide
results for an unauthenticated user. This is needed because the client side
code in `chalboard.js` doesn't know if it's logged in or not and requests this
anyway. (And AJAX doesn't handle redirects very well.) Alternately the client
could actually know if they're logged in and not make needless API calls.

When an unregistered user attempts to submit a flag, it will also fail. The
user will be redirected to a login page.
2015-01-07 22:11:31 -06:00
Kevin Chung
ce4766003a Admin teams javascript removes whitespace before opening modal 2015-01-07 21:12:52 -05:00
Kevin Chung
a1f30547d2 Admins can edit users from the admin interface 2015-01-07 21:03:37 -05:00
Kevin Chung
16a344cfab Update setup.html
Spellcheck is your friend
2015-01-02 00:31:00 -05:00
CodeKevin
376c90189b CTFd code push 2015-01-01 00:45:25 -05:00