Kevin Chung
c217c1cc2f
Fixing reset password logger ( #359 )
2017-08-22 21:50:42 -04:00
Kevin Chung
2e41886591
Refactor Containers into a plugin ( #348 )
...
* Removing Containers code
* Closes #301
2017-08-20 19:40:46 -04:00
Kevin Chung
92b7ca06ca
Add Vagrant with docker support ( #285 ) ( #355 )
...
* Add Vagrantfile for development with an Ubuntu base box
* Add Docker support to Vagrant VM
2017-08-20 19:31:32 -04:00
Kevin Chung
7e6d56694e
Give challenge plugins the ability to specify the response message ( #351 )
2017-08-14 20:27:54 -04:00
Kevin Chung
c392748688
Making hints cost 0 by default ( #350 )
2017-08-14 20:09:01 -04:00
Mathis HAMMEL
9838ef334e
Sort scoregraph labels by score ( #349 )
...
* Added label sort by position in the plotly chart
2017-08-12 15:45:17 -04:00
Kevin Chung
cbdb80fa4a
Render descriptions encoded, and then decode and render with marked ( #345 )
2017-08-09 14:12:34 -04:00
Kevin Chung
26a400b2f3
Adding main-container to team.html
2017-08-09 13:30:49 -04:00
Kevin Chung
0aa0e9c5c1
Fixing email confirmation and adding more base64 tests ( #344 )
...
* Fixing email confirmation and adding more base64 tests
2017-08-09 05:31:00 -04:00
Kevin Chung
176e1f8b9c
Toggle username_password inputs depending on mail_useauth and clean get_smtp util ( #343 )
2017-08-09 04:17:54 -04:00
Kevin Chung
1a077f72ed
Using a Python 3 compatible base64 encoder and fixing verify_emails in Python 3 ( #336 )
2017-08-09 04:17:10 -04:00
SkeyeLlama
cfc87e7a2b
Fixing SMTP mail sending make username and password optional ( #341 )
...
* Fixing SMTP mail sending make username and password optional
2017-08-09 03:39:09 -04:00
Kevin Chung
bcf3f6e12c
More text-center fixes
2017-08-07 04:52:56 -04:00
Kevin Chung
8252bb7db1
Adding text-center back to solve notification
2017-08-07 04:41:10 -04:00
Kevin Chung
ac51c3a899
Modals now defalut to left-aligned text ( #338 )
2017-08-07 04:23:24 -04:00
Kevin Chung
41c72c9022
Closes #327 ( #335 )
2017-08-06 20:09:12 -04:00
Kevin Chung
c12544e87b
Copy multi-modal.js from the admin panel ( #334 )
2017-08-06 19:45:20 -04:00
Kevin Chung
7aa6204116
Users should always be able to get their score, even if banned ( #333 )
...
* Users should always be able to get their score, even if banned
* Fixing scoring logic when users haven't solved problems
* Hide None descriptions for awards
2017-08-06 19:33:02 -04:00
Kevin Chung
59afb3d356
Adds more logging to auth.py ( #317 )
...
* Adds more logging to auth.py. Closes #308
2017-08-06 04:12:54 -04:00
Fariskhi Vidyan
62eb1b836c
Only need to clear cache once in admin_plugin_config() ( #324 )
2017-07-26 11:10:06 -04:00
Fariskhi Vidyan
1ed0f4a32d
Clear cache after set config in admin_plugin_config() ( #323 )
2017-07-25 11:03:13 -04:00
Kevin Chung
46e039ec50
Update README.md
2017-07-23 22:42:40 -04:00
Kevin Chung
1719b4b753
Update README.md
2017-07-23 11:28:58 -04:00
Kevin Chung
bb49832c85
Update README.md
2017-07-23 11:28:15 -04:00
Kevin Chung
d84cd305f8
Fixing scoring logic ( #320 )
...
* fix inconsistent scoring: take awards into account in user.place() (#319 )
* Adding tests
2017-07-17 22:18:23 -04:00
Kevin Chung
b900d1cb68
Fixes #315 ( #316 )
...
CTFd creates the database instead of the docker-compose files which allows us to control encoding. Also adds a test for registering with a unicode team name.
2017-07-16 02:50:32 -04:00
Owlz
5d35497f0c
Environment var for UPLOAD_FOLDER ( #314 )
...
It would be helpful to have the option to set the UPLOAD_FOLDER via environment variable. This change allows that.
2017-07-15 18:01:22 -04:00
Kevin Chung
2e5c8a1adb
Adding .dockerignore and making docker-entrypoint consider DATABASE_URL ( #312 )
2017-07-13 02:43:17 -04:00
Kevin Chung
92f130d5de
Fixing large ip solves ( #307 )
...
* Switching to using strings to store IP addresses because of the issues with storing them properly, Fixes #302 , Fixes $306
* Only runs migrations when using a real database because SQlite is too inflexible to support migrations properly
* Removes calls to the ip helper functions but they can remain in case someone needs them in a plugin.
2017-07-08 17:53:14 -04:00
Kevin Chung
dea59a1bc8
Updating CHANGELOG
2017-07-01 14:18:23 -04:00
Kevin Chung
05a9641514
Marking 1.0.3 ( #300 )
2017-07-01 13:59:15 -04:00
Kevin Chung
7d5537e1df
Adding SMTP sendmail unit test ( #299 )
2017-07-01 12:36:02 -04:00
Kevin Chung
95245d2ab5
Send confirmation emails on register and add button to resend email ( #298 )
...
* Fixes #293
* Adding get_config/set_config test
2017-07-01 01:37:08 -04:00
Kevin Chung
f1e339c3dc
Adding override_template function ( #297 )
...
Purely for use by plugins to replace templates in an existing theme
2017-06-27 21:09:38 -04:00
Josh Hofing
55a59fbf7a
Add Tags as a CSS class on challenge boxes ( #295 )
...
* Add Tags to challenge boxes on the chalboard
2017-06-24 18:36:02 -04:00
Kevin Chung
5e98a9fbdc
Making user facing graphs transparent ( #294 )
2017-06-20 14:39:05 -04:00
Kevin Chung
b6ce783cfd
Fixes unstyled Setup UI ( #291 )
...
* Changing /static to /themes
* Adding test to make sure setup behavior works
2017-06-18 18:54:20 -04:00
Kevin Chung
8628c724ab
Rearranging some imports ( #290 )
...
Fixes #289
2017-06-18 12:30:49 -04:00
Andrew Meserole
81fe9c179f
Fix Image Links in README ( #288 )
...
Latest PR moving around the theme files broke the image links in the README.
2017-06-18 11:51:12 -04:00
Kevin Chung
1bbd7feb23
Moving themes into a themes folder ( #287 )
...
* Moving themes into a themes folder
This unifies themes under a themes folder which makes it easier to develop themes and install them.
2017-06-18 02:13:50 -04:00
Kevin Chung
c344ce314b
Update README.md
2017-06-16 20:03:11 -04:00
Kevin Chung
f0c44ed6d6
Upgrading exports ( #283 )
...
* Upgrading export capabilities
* Only apply sqlite hacks for sqlite
This fixes #250 , #246
Adds export.py to save CTFs without needing to actually spin up CTFd
Also forcing charset properly for MySQL
2017-06-16 17:49:37 -04:00
Kevin Chung
34237e6292
Changes the default charset for MySQL ( #282 )
...
This bug is actually quite sneaky and was breaking exports
2017-06-16 15:32:09 -04:00
Kevin Chung
e732e90661
Fixing hints glitches ( #281 )
...
* Fixes #255
* Hints are automatically unlocked once the CTF is finished
* Don't provide hints if CTF hasn't started
2017-06-16 15:25:05 -04:00
Kevin Chung
76852a587f
Don't create a nonce config when adding configs from plugins ( #280 )
2017-06-14 14:42:34 -04:00
Kevin Chung
ae45493e6e
Giving config page more access ( #279 )
...
* Giving a plugin's config page more control
* Adding utils to base
This potentially opens some risk to malicious plugins but really a
plugin would already have this capability given that it can run
arbitrary Python code.
2017-06-14 13:57:46 -04:00
Kevin Chung
7bdfbfdd7f
Adds basic search functionality for teams from the admin paenl ( #278 )
...
* Fixes #189 , #251
2017-06-12 13:45:16 -04:00
Kevin Chung
5fc6c59245
Fixing theme switching ( #277 )
...
Something in Flask 0.12 changed the behavior of Jinja templates. There
are a couple open issues about it
https://github.com/pallets/flask/issues/1907
2017-06-10 14:01:32 -04:00
Kevin Chung
4fedc8f69e
Design improvements ( #276 )
...
* Fixes #269
* Adding tooltips to some admin content
* Switching from spaces to tabs in HTML files
* A variety of aesthetic improvements
2017-06-10 00:11:27 -04:00
Kevin Chung
285b320ea5
Switching to netaddr because ip address parsing is hard ( #275 )
...
This also re-adds Windows support
2017-06-09 22:23:24 -04:00