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
Kevin Chung
280b100b8e
Adding a markdown filter for Jinja2 ( #272 )
...
In addition to adding markdown in Pages it makes sense to have a Jinja2 markdown filter for themes.
2017-06-06 20:18:53 -04:00
Kevin Chung
202e8493b1
Give ip2long and long2ip ipv6 support ( #271 )
...
Improved ipv6 support in the `ip2long` and `long2ip` helper functions
2017-06-05 02:42:11 -04:00
Kevin Chung
a833e8514c
Remove --threads ( #268 )
...
Should fix #266
2017-06-03 17:43:46 -04:00
Kevin Chung
736a0e1dc3
Fixing some docker issues
...
Closes #266
2017-06-03 16:28:02 -04:00
Kevin Chung
6d9d03e35e
Pages functionality improved ( #267 )
...
* Pages now support Markdown
* Pages now have a preview tab
* Adding a media library to Pages
2017-06-03 14:25:31 -04:00
Kevin Chung
59afacce69
Fixes #261 and generally supports Unicode better in Python 2 ( #263 )
...
* Fixing #261 and improving Unicode in Python2
* Fixing PEP8 issues
2017-05-21 12:43:31 -04:00
Kevin Chung
28f669be05
Update README.md
2017-05-16 02:43:34 -04:00
Kevin Chung
d556bbf511
Update README.md
2017-05-16 02:25:11 -04:00
Kevin Chung
c4cdb564c0
Update README.md
2017-05-16 02:11:23 -04:00
Kevin Chung
97b0aabfe1
Update README.md
2017-05-16 02:10:26 -04:00
Kevin Chung
0960ff6717
Adding scoreboard screenshot
2017-05-16 02:08:58 -04:00
Kevin Chung
e16d3a0b6e
General fixes and PEP8 enforcement ( #258 )
...
* Fixing index page links when you deploy on a subdirectory
* Updating travis for pep8
* autopep8 with just formatting changes
2017-05-12 00:34:20 -04:00
Kevin Chung
b4d0d1ecab
Fixes uwsgi deployment
2017-05-11 23:26:00 -04:00
Kevin Chung
a10eec5688
Marking 1.0.2
2017-04-29 23:48:58 -04:00
Kevin Chung
135b714479
Some styling updates
2017-04-29 23:45:08 -04:00
Kevin Chung
ad44018a1b
Fixing footer pulldown
2017-04-28 19:36:01 -04:00
Kevin Chung
17afc9e2f2
Adding empty folders
2017-04-28 18:48:46 -04:00
Kevin Chung
16d98fde65
Fixing team deletion
2017-04-28 18:23:23 -04:00
Kevin Chung
cf3e5cbbbd
Adding link back and social detail
2017-04-28 02:36:16 -04:00
Kevin Chung
c493329bf8
Extract files during import_ctf
2017-04-26 23:58:51 -04:00
Kevin Chung
8af911b745
Add import.py script
2017-04-26 22:46:06 -04:00
Kevin Chung
3488baf504
Fixing tag submission
2017-04-24 19:25:20 -04:00
Björn Kimminich
ebd303a920
Use headlines in README ( #249 )
...
+ legibility
+ ability to link to section anchors directly
2017-04-20 19:27:16 -04:00
Kevin Chung
ad34dbf970
Fixing key updating
2017-04-20 17:59:45 -04:00
Kevin Chung
4795a9e742
Fixing key editting
2017-04-20 16:59:43 -04:00
Kevin Chung
f4d766473d
Import export ( #244 )
...
* Adding dataset and export function
* Removing unnecessary print
* First try at import_ctf
* Adding UI components
* First successful export and import
* Importing configs
* Alerting response for now
2017-04-14 02:53:36 -04:00
Kevin Chung
80575e98fe
Fixing preview height
2017-04-09 02:31:59 -04:00
Victor "Nate" Graf
3add93a172
fixed an eror in admin chllenge modals naming ( #242 )
...
Although the code worked, I accidentally included a pull of an
empty file. This commit fixes that mistake
2017-04-09 01:55:56 -04:00
Kevin Chung
f07a39c343
Updating Docker files
...
Thanks @erasche for these changes from PR #204 .
2017-04-08 17:35:18 -04:00
Kevin Chung
aa21a3c161
Fix chal deletion ( #241 )
...
* improving get_config
* Fixing challenge deletion
* Puts challenge deletion under utils.delete_file
2017-04-08 03:29:11 -04:00
Kevin Chung
b2fc5a6fcd
improving get_config ( #240 )
2017-04-08 02:51:28 -04:00
Kevin Chung
72f7eeb0a4
Adds delete_file util ( #239 )
2017-04-08 01:34:22 -04:00
Victor "Nate" Graf
fd22ef98dc
challenge update modal is now replaceable ( #236 )
...
* challenge update modal is now replaceable
By defining
* [type]-challenge-update.hbs
* [type]-challenge-modals.hbs
* [type]-challenge-update.js
in the /static/admin/js/templates/challenges/[type] folder the
challenge update modal will be defined for any challenges of
the given type. This allows for essentially full customizability
of how you will edit custom challenge types in the admin UI.
The reason for having two files, *update.hbs and *modals.hbs, is
that *update.hbs defines the body for the main challenge update
modal, while *modals.hbs defines any additional modals which will be
used within the main modal
There is one function which is required in *update.js is
`openchal(id)` which will be passed the id of the challenge to be
edited and should open the modal as well as load any needed data
* fixed multi-modal issues
Issues were coming from two sources:
* I had placed the modals in an indirect relationship in the DOM
tree. They need to be siblings I now see
* There was double counting of modals within multi-modal.js. This
only started to appear with the dynamically loaded modals. I
fixed the script to accurately count modals each time
2017-04-08 01:20:22 -04:00
Kevin Chung
b027703f80
Fixing hiding challenges unintentionally
2017-04-04 03:48:55 -04:00