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
This commit is contained in:
Kevin Chung
2017-10-05 21:39:28 -04:00
committed by GitHub
parent faa84ff1e5
commit 608d4f43d9
26 changed files with 275 additions and 102 deletions

View File

@@ -309,6 +309,7 @@ def test_register_plugin_script():
output = r.get_data(as_text=True)
assert '/fake/script/path.js' in output
assert 'http://ctfd.io/fake/script/path.js' in output
destroy_ctfd(app)
def test_register_plugin_stylesheet():
@@ -322,3 +323,4 @@ def test_register_plugin_stylesheet():
output = r.get_data(as_text=True)
assert '/fake/stylesheet/path.css' in output
assert 'http://ctfd.io/fake/stylesheet/path.css' in output
destroy_ctfd(app)