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
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