Commit Graph

43 Commits

Author SHA1 Message Date
Kevin Chung
a64e7d51ef Squashed 'CTFd/themes/core-beta/' changes from 9126d77d..5ce3003b
5ce3003b Merge pull request #47 from aCursedComrade/patch-1
c9887cb1 Fix team template

git-subtree-dir: CTFd/themes/core-beta
git-subtree-split: 5ce3003b4d68352e629ee2d390bc999e7d6b071e
2023-06-11 15:56:28 -04:00
CodeKevin
7d766372df Bugfixes and architectural changes
Moved some folders around, starting to remove subdomain handling,
blueprints, custom css, removed digital ocean interface, fixed some bugs
2015-09-13 23:55:22 -04:00
Kevin Chung
4c0ea9b760 Merge pull request #42 from slinkymanbyday/view_keys_interface
view incorrect/correct key submission interfaces
2015-09-13 20:43:38 -04:00
Kevin Chung
a17016416e Merge branch 'master' of https://github.com/isislab/CTFd 2015-06-28 20:56:01 -04:00
Kevin Chung
02a5810049 Adding 502 error handling 2015-06-28 20:55:39 -04:00
Sean Meyer
68e99b9084 Fix label for checkbox 2015-05-20 09:59:07 +08:00
Sean Meyer
58d265a4d0 Merge branch 'master' of https://github.com/isislab/CTFd into view_challs_after
Conflicts:
	CTFd/admin.py
	CTFd/challenges.py
2015-05-20 09:57:04 +08:00
Sean Meyer
5a8211ea6d View after CTF 2015-05-20 09:51:27 +08:00
Kevin Chung
b3071e34d9 Merge pull request #39 from slinkymanbyday/max-tries
enable max-attempts per challenge setting
2015-05-19 15:00:56 -04:00
Sean Meyer
18ddd1eeec Key submission now stored. Correct key submissions can be deleted. 2015-05-19 13:52:15 +08:00
Sean Meyer
f660a760e6 view incorrect/correct key submission interfaces 2015-05-19 11:55:41 +08:00
Kevin Chung
d413ca69b6 Merge pull request #40 from slinkymanbyday/fix-stats
fix least solved challenge statistic
2015-05-18 00:34:15 -04:00
Sean Meyer
d9394eda53 fix least solved challenge statistic 2015-05-18 12:25:38 +08:00
Sean Meyer
db687b6c25 enable max-attempts per challenge setting 2015-05-18 11:31:43 +08:00
Sean Meyer
da2537ff3b Admins can delete pages 2015-05-18 10:35:10 +08:00
CodeKevin
b8518b7e26 Merge branch 'master' of https://github.com/isislab/CTFd 2015-05-03 17:26:14 -04:00
CodeKevin
f63b894258 Preventing team name changes 2015-05-03 17:25:59 -04:00
Kevin Chung
44df12550a Removing extra checkbox 2015-04-19 18:39:09 -04:00
CodeKevin
5e24fba459 Closes #16 2015-04-19 04:24:48 -04:00
CodeKevin
ac83c8a576 Fixing DOM XSS issues, upload issues, and usability issues 2015-03-16 16:03:58 -04:00
CodeKevin
95e015abe6 Proper custom CTF name
I should have better pushing habits
2015-03-15 15:03:16 -04:00
CodeKevin
0179fa7115 Custom CTF Name 2015-03-15 14:55:50 -04:00
CodeKevin
c26d0924bf Fixing XSS issue for users 2015-03-15 14:44:47 -04:00
CodeKevin
a0d3a1e640 Fixing XSS issue 2015-03-15 14:42:31 -04:00
CodeKevin
a499f8c731 Adding favicon for non-admins 2015-03-15 04:23:16 -04:00
CodeKevin
8334c15f98 Adding favicon 2015-03-15 04:19:58 -04:00
CodeKevin
d09d0a9678 Closes #21 2015-03-15 04:18:39 -04:00
CodeKevin
f2484c519a Closes #15 (Thanks mwinstead3790), various fixes 2015-03-14 23:01:21 -04:00
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