Kevin Chung
9cf8dbf8ad
Improving fix for #157
2016-09-27 22:10:35 -04:00
Kevin Chung
60bb118e16
Closes #157
2016-09-27 21:54:22 -04:00
Kevin Chung
f1a63e18a7
Fixing ctf_ended function
2016-09-26 11:41:11 -04:00
Kevin Chung
71833c8913
Fixing wrong keys team link
2016-09-25 13:45:34 -04:00
Kevin Chung
a49c4e6761
Properly fixing mailfrom_addr
2016-09-25 13:40:18 -04:00
Kevin Chung
fc903dbff3
Properly setting mailfrom_addr
2016-09-25 13:29:28 -04:00
Kevin Chung
0bba203491
Fixing mail from address input
2016-09-25 13:26:07 -04:00
Kevin Chung
cba7898c63
Fixing mailgun form and fixing import flask_caching
2016-09-25 13:18:40 -04:00
Kevin Chung
50043b42c5
Merging changes from various forks
...
Until v1 is released all changes are fair game.
Caching support
Fixes for decoding confirmation and reset_password email tokens
Starting work on #154 specifying why challenges are not open
Adding a required parameter to HTML to sort of fix #153
Adding a column to specify when a team registered
Check static key by default in new key
Decreasing capability of pages functionality to address security
concerns
Fixing confirmations restrictions by modifying can__view_challenges()
2016-09-24 17:56:07 -04:00
Kevin Chung
92ebd88025
Fixing scrolling issue and updating vendor JS
2016-09-19 02:41:18 -04:00
itsZN
1780a913e5
Fix deleting wrong keys from admin panel ( #151 )
...
* Fix deleting wrong keys from admin panel
- Fixed wrong_keys.html template using WrongKeys.team instead of
WrongKeys.teamid
- Added the id of the wrong key to the wrong_keys.html template entries
- Changed /admin/wrong_keys to only take the key id instead of team and
challenge id, to allow deleting the intended key when a team has more
than one wrong key for a challenge. (Previously it would delete only
the first wrong key entry for that challenge)
* Have delete_wrong_key use first_or_404
- Switched first() for first_or_404()
- Changed javascript variable to use underscores instead of camelCase
* Fixing other endpoints which use the deletion interface
2016-09-13 21:08:15 -04:00
Thomas Chauchefoin
07bfe5eab7
Fix MySQL availability tries counter ( #150 )
...
The variable `i` was not declared and never incremented.
2016-09-13 19:34:06 -04:00
Kevin Chung
2115e9c005
Fixing time issues in #103
2016-09-13 03:10:48 -04:00
Josh Hofing
9860c8dc78
Actually paginate the teams page, instead of only ever showing the first page of teams ( #142 )
2016-08-23 00:36:41 -04:00
Kevin Chung
831a959d39
Reversing routes
2016-08-18 18:09:13 -04:00
Kevin Chung
dc7145e2dd
Fixing privelege escalation due to new model default
2016-08-18 17:49:57 -04:00
wangxiyu191
59a8becd45
fix count in get_standings doesn't work ( #132 )
2016-08-15 21:31:44 -04:00
snurilov
732278587a
Closes #138 . ( #139 )
...
Closes #138 .
2016-08-12 17:55:31 -04:00
Kevin Chung
a4e51fcc76
Closes #136
2016-08-09 17:19:05 -04:00
Kevin Chung
afbd4b5f8a
Organizing mailserver code better, fixing default flask server issues, and fixing modal issues
2016-07-29 12:53:32 -04:00
wangxiyu191
431fab0520
fix reset_password show twice in reset email ( #134 )
...
it made something like http://localhost:4000/reset_password/reset_password/Ilx1MzA1NVx1MzA0Zlx1MzA4OVx1ODM1OCIuQ25zSEN3LlVxRlBxUzB4clR6QzdkREdaR2hBLWIz
Y1FRcw==
it should be http://localhost:4000/reset_password/Ilx1MzA1NVx1MzA0Zlx1MzA4OVx1ODM1OCIuQ25zSEN3LlVxRlBxUzB4clR6QzdkREdaR2hBLWIz
Y1FRcw==
2016-07-28 23:43:55 -04:00
wangxiyu191
70a0245e89
fix DetachedInstanceError on /admin/statistics ( #133 )
...
see http://stackoverflow.com/questions/15397680/detaching-sqlalchemy-instance-so-no-refresh-happens
2016-07-28 00:00:45 -04:00
Kevin Chung
011e2c33c3
Update README.md
2016-07-22 02:46:57 -04:00
Kevin Chung
b05f6152d3
Custom themes ( #131 )
...
* Adding preliminary custom themes
* Fixing Windows compatibility
https://github.com/pallets/jinja/issues/411
* Fixing template reloading and adding UI to change themes
* Explicitly closing db connections
* Themes now have custom static folders
* Closes #128
2016-07-22 02:46:14 -04:00
Robert Blair Mason Jr
e31b502729
Various small fixes ( #126 )
...
1. Fix the deprecation warnings by changing from flask.ext.$name to flask_$name
2. Be consistent with import style in admin.py
3. Fix a residual script_root fix
4. Store IPs in 32 bits again
2016-07-03 13:53:17 -04:00
Robert Blair Mason Jr
6b2257236f
Allow CTFd to run with script_root != '/' and PostgreSQL ( #125 )
...
Also, Add WSGI config example
2016-06-22 00:18:09 -04:00
Kevin Chung
a9b79770f8
Making tab switching in modals more streamlined
2016-05-26 13:46:54 -04:00
Kevin Chung
80047246b7
Fixing subqueries in MySQL
2016-05-26 01:57:26 -04:00
CodeKevin
29d3cb72d7
Prioritize user config
2016-05-23 20:38:21 -04:00
CodeKevin
d04fd0f5bf
Users with no awards
2016-05-23 20:20:39 -04:00
CodeKevin
9171b67235
Allowing for the loading of mailgun API key from hardcoded configuration
2016-05-23 20:05:48 -04:00
CodeKevin
dfd8c47690
Closes #121
2016-05-13 20:56:26 -04:00
Kevin Chung
791d1a5fc9
Merge pull request #120 from computerfreak/master
...
Add defaults to boolean columns in the Team model
2016-05-13 20:53:29 -04:00
Nick Gregory
2ba89613e0
Added defaults to Team boolean columns. Switched comparisons of these columns from ==None to ==False
2016-05-12 17:23:16 -04:00
CodeKevin
ad39f5a821
Relaxing container name restrictions
2016-05-08 18:25:58 -04:00
Kevin Chung
7391bb4228
More consistent titles
2016-05-07 18:30:59 -04:00
Kevin Chung
275ae6e94a
Covering edge case issues
2016-05-07 18:12:17 -04:00
Kevin Chung
03d8dda878
Fixing some mistakes
2016-05-07 16:52:24 -04:00
Kevin Chung
d2778c30ad
Adding container support
2016-05-07 16:38:10 -04:00
CodeKevin
a479b3a7aa
Add container to db
2016-05-07 10:49:38 -04:00
CodeKevin
a0d7d8abcb
Starting containers
2016-05-03 01:11:29 -04:00
CodeKevin
c769f5865f
404 for team pages
2016-04-30 16:11:32 -04:00
CodeKevin
e4e989a0a5
Fixing and cleaning graphs to reflect awards
2016-04-30 13:20:30 -04:00
CodeKevin
691c971ebd
Closes #112
2016-04-26 22:25:07 -04:00
CodeKevin
f563cd5a21
Adding Awards feature which closes #84
...
The Awards feature allows an admin to give users points. Eventually
Awards will allow for uploading icons to make the award more
commemorative.
2016-04-24 17:30:57 -04:00
Kevin Chung
253db6eca8
Merge pull request #111 from breadchris/master
...
Fixed button outlining so that custom buttons do not appear invisible
2016-04-22 18:21:07 -04:00
Kevin Chung
f4a2f165a2
Getting awards feature ready
2016-04-22 18:19:49 -04:00
Christopher Thompson
728ee63cd1
Fixed button outlining so that custom buttons do not appear invisible on site
2016-04-22 15:51:42 -04:00
CodeKevin
b46b0c560d
Forgot to add file
2016-04-22 10:06:26 -04:00
Kevin Chung
5590b11636
Fixing time travel solves
2016-04-21 11:40:59 -04:00