Kevin Chung
18dd715276
Workshop mode ( #477 )
...
* Implementing workshop mode
* Fixing a bug in /chals/solves where challenges with 0 solves weren't hidden.
* Spinner errors are now 20vh down instead of 210px down
* Users now use their private team endpoint at /team instead of /team/<id>
2017-11-22 03:33:48 -05:00
Kevin Chung
e34902c491
Update downloaded fonts and use GoogleCDN for fonts if we are online ( #476 )
...
* Update the Lato and Raleway fonts and use Google Fonts if we're online but fallback if we're not
2017-11-22 01:27:15 -05:00
Kevin Chung
7348515e6c
34 reduce auth restrictions ( #474 )
...
* Disallow email-address team names & allow login with team name or email address
* Don't show password reset form if server isn't configured
* Add a message to contact admins instead of submit password reset form
* Add utils.check_email_format()
2017-11-21 22:20:31 -05:00
Jared Deckard
e10c8b103b
Admin Team List - New Team ( #470 )
...
* Allow admins to create teams manually
* Test an admin creating a team
2017-11-18 21:30:09 -05:00
Kevin Chung
0b0305f969
Adding tests for verify_emails and user_can_view_challenges are set ( #462 )
...
* Fixing verify_emails + user_can_view_challenges logic
* Adding tests for verify_emails and user_can_view_challenges
2017-11-15 03:33:50 -05:00
Kevin Chung
ab2de6cf17
Optimize top10 call to make less db hits ( #461 )
...
Instead of making a database call every iteration of the for loop, just make the needed database calls once and then organize it into the right structure after we have everything.
2017-11-15 01:22:31 -05:00
Kevin Chung
647d8e0b2d
Fixing challenge creation test ( #460 )
2017-11-14 23:12:28 -05:00
Kevin Chung
6fbef4f32e
Allowing pages to have slashes in them but removing leading slashes ( #457 )
...
* Allowing pages to have slashes in them but removing leading slashes
* Add tests for pages
2017-11-14 22:31:59 -05:00
Kevin Chung
f4aab70b32
Issue template ( #455 )
...
* Adding ISSUE_TEMPLATE
2017-11-14 16:40:36 -05:00
Kevin Chung
27b02da658
Update README.md
2017-11-13 01:45:13 -05:00
Tanner Glantz
303fc08fa8
fixing typo in readme ( #450 )
2017-11-11 12:43:33 -05:00
Kevin Chung
650593a32c
Add features list ( #443 )
...
* Add features list to README
2017-11-08 18:37:00 -05:00
Kevin Chung
117b43e3c5
Preventing Hints from being unlocked after the end of a CTF ( #439 )
...
* Preventing Hints from being unlocked after the end of a CTF unless challenges can be viewed
2017-11-08 02:13:07 -05:00
Kevin Chung
6f4a520241
Hidden challenges now return 404 and can't be solved ( #432 )
...
* Hidden challenges now return 404 and can't be solved
2017-10-28 13:31:34 -04:00
Kevin Chung
b4f29e1450
Update CHANGELOG with missing changes
2017-10-25 16:01:54 -04:00
Kevin Chung
c1895ef554
Marking 1.0.5 ( #429 )
...
* Update changelog
* Marking 1.0.5
2017-10-25 15:36:41 -04:00
Kevin Chung
654c2ca7b6
Don't render the mail server password on the config page ( #428 )
...
* Remove the currently set configuration if the checkbox is unchecked
* Closes #422
2017-10-25 13:56:04 -04:00
Kevin Chung
58e4cb8364
Fix some JS issues
2017-10-25 04:04:02 -04:00
Kevin Chung
b5a383a2e1
Navbar links ( #427 )
...
* Adding config.json concept in lieu of config.html
* Add links to the admin menubar from a plugin
* Add links to the user navigation menubar from plugin
* Add tests for navbar links
* Closes #423
2017-10-25 00:05:27 -04:00
Kevin Chung
710ce6d500
Custom challenge tables ( #425 )
...
* Allows Challenges to have custom tables which allow them to have custom behavior
* Adding create, update, delete staticmethods giving Challenge Types a static interface to implement
2017-10-24 21:06:56 -04:00
Kevin Chung
cdc7a70fe7
Fixing migration script for upgrade ( #417 )
2017-10-17 23:56:07 -04:00
Kevin Chung
61045a435e
Update README.md
2017-10-17 04:11:56 -04:00
Kevin Chung
39b9dc5945
Create a private team endpoint ( #413 )
...
* Adding private /team endpoint
2017-10-16 13:57:40 -04:00
Kevin Chung
ef39c3ef41
Fixing users being able to see their own graphs when scores are hidden ( #412 )
2017-10-15 14:58:17 -04:00
Kevin Chung
066fbedd8b
Pass all failure attempts to the challenge plugin ( #411 )
...
* Pass all failure attempts to the challenge plugin
2017-10-14 18:04:22 -04:00
Kevin Chung
4e80b514f4
Add plugin wrappers for plugin related utils functions ( #410 )
2017-10-14 17:17:06 -04:00
Kevin Chung
126144fcae
Remove accidental export.zip file
2017-10-14 16:46:14 -04:00
Kevin Chung
6117699260
Use strings for key type ( #409 )
...
* Store key_type as string in the database
* Give keys plugin the ability to know where the modals are stored and pass this information to the client
2017-10-14 16:37:41 -04:00
Kevin Chung
b4bdef966c
Update requirements ( #406 )
...
* Updating to use dataset and datafreeze
* Use a new datafreeze serializer to get around Python 3 issues.
* Update requirements.txt
* Add simple test for export_ctf()
2017-10-07 21:29:03 -04:00
Kevin Chung
069526fc87
Update the amount of solves shown on the chal window when solves are listed ( #403 )
...
Closes #402
2017-10-06 16:38:49 -04:00
Kevin Chung
4862a3ca10
Fixing subdirectory deployment ( #401 )
...
* Fixing subdirectory deploy linking incorrectly (Closes #400 )
* Fix some admin panel CSS
2017-10-05 23:14:36 -04:00
Kevin Chung
608d4f43d9
Adopting a challenge type layout from deckar01 ( #399 )
...
* Adopting a challenge type layout from deckar01
* Move standard challenge modals into the plugin
* Migration to change challenge type id to a string
* Travis testing now builds with MySQL, SQLite, and Postgres
* Rework get_standings to use the row ID instead of the saved time because of differences in database time precision
2017-10-05 21:39:28 -04:00
Kevin Chung
faa84ff1e5
Adding functions to register plugin assets ( #397 )
...
* Adds functions to register plugin assets
2017-09-29 21:22:10 -04:00
Kevin Chung
0aae79d176
Remove spinners if there is no data, push footer down to the bottom ( #396 )
...
* Remove spinners if there is no data
* Push footer down to the bottom properly in the admin panel
2017-09-29 17:31:46 -04:00
Kevin Chung
897916b1b5
Mark prepare.sh executable
2017-09-27 22:32:01 -04:00
Kevin Chung
a20e7eae63
Improve Challenge type plugin staticmethods ( #394 )
...
This passes more logic into the challenge classes so that it can be accessed by plugins
2017-09-27 17:01:58 -04:00
Kevin Chung
6c9b8af3c3
Reorder get config access ( #389 )
...
* Revert case insensitive config lookup
2017-09-15 17:39:24 -04:00
Kevin Chung
c97e7c6edc
Fixing issues with loading /chals when unregistered ( #388 )
2017-09-13 12:01:09 -04:00
Kevin Chung
3a8a7e5dd0
Fixing challenge ordering bug introduced ( #385 )
2017-09-13 02:18:00 -04:00
Kevin Chung
50ad759a19
Marking 1.0.4
2017-09-09 02:35:06 -04:00
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