Commit Graph

490 Commits (36c83b59bc616f12af5578b5be6c1082b1701cb2)

Author SHA1 Message Date
Kevin Chung f98d675be9 Adding spinners to the scoregraph load and chalboard (#384)
* Adding spinners to the scoregraph load and chalboard
* Fixing challenges with zero solves in challenge board UI
* Add spinners for team page
* Adding spinners for admin interface
* Closes #66
2017-09-09 01:55:00 -04:00
Kevin Chung d49f37eac4 Fixing unlocking hints for challenges with unicode names (#383)
* Fixing unlocking hints for challenges with unicode names
* Add tests for unlocking hints with no cost
2017-09-09 00:17:48 -04:00
Kevin Chung 888b830488 Cleaning some challenge endpoints (#382)
* Cleaning some challenge endpoints
* Adding test for /chals/solves
2017-09-08 02:07:06 -04:00
Kevin Chung d1ae613a33 Update get_config to check both upper & lower case, add more caching documentation, simplify example REDIS URL, and let us specify the REDIS_URL automatically (#381)
Closes #354
2017-09-08 00:53:01 -04:00
Kevin Chung 74703488c9 Cache pages (#380)
* Cache static pages so that we don't need to hit the database for them as often
* Closes #378
2017-09-08 00:02:09 -04:00
Kevin Chung 2facb0ca8c Top ten endpoint honors users with the same name (#379)
* Make the /top/10 endpoint honor users with the same name
2017-09-07 23:29:41 -04:00
Kevin Chung 92d614b2a6 Call updatesolves on chal update (#376)
* Reorder function calls so that solves are ready to be rendered
2017-09-06 23:55:11 -04:00
Kevin Chung 08f3496174 Plugins can register css files (#375)
* Adding functions to register CSS files
* Adding tests for script and stylesheet registering
2017-09-04 05:58:32 -04:00
Kevin Chung 6f60ddd2f5 Admins can bypass ctftime (#374)
* Admins can see/solve challenges regardless of ctftime
* Adding tests for ctftime based functionality
2017-09-04 05:03:06 -04:00
Kevin Chung bcaff30a7d Plugins can register global javascript files (#373)
* Give CTFd plugins the ability to register javascript files
* Pass hiding of .alert to specific object in challenge template
2017-09-02 22:24:16 -04:00
Kevin Chung 64b1a75fc4 Allowing UI to display empty CTF times (#372)
Allows user to remove CTFTime if set
2017-08-31 13:21:32 -04:00
Kevin Chung c624df9478 Handle when database is cleared without adding an additional teams lookup (#368) 2017-08-26 13:45:24 -04:00
Kevin Chung 00c68dd239 Adding test for encoding emails with plus signs (#363) 2017-08-26 13:07:02 -04:00
Kevin Chung 35e2125678 Adding redis to requirements just in case it isn't installed before (#366) 2017-08-25 20:30:47 -04:00
Kevin Chung 003371800d Adding form action attr to confirm.html (#364) 2017-08-23 16:10:49 -04:00
Kevin Chung 732e343aea Pushing new tests and freezegun (#360) 2017-08-22 23:49:48 -04:00
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