Kevin Chung
c7320c11f3
Merge branch '751-config-fields-interface' of github.com:CTFd/CTFd into 751-config-fields-interface
2020-08-19 00:15:49 -04:00
Kevin Chung
814c84df67
Update API reference
2020-08-19 00:15:32 -04:00
Kevin Chung
e521dd0089
Move fields into /api/v1/configs/fields
2020-08-19 00:15:32 -04:00
Kevin Chung
684be74161
Remove unused import
2020-08-19 00:15:31 -04:00
Kevin Chung
34a70af622
Add User Fields description help text
2020-08-19 00:15:31 -04:00
Kevin Chung
3dbc4d51c1
Start to finish up interface for fields
2020-08-19 00:15:31 -04:00
Kevin Chung
7b56fa4d5d
Add basic interface for interacting with field entries
2020-08-19 00:15:31 -04:00
Kevin Chung
f7de0c71a5
Add special casing for affiliation and website fields
2020-08-19 00:09:51 -04:00
Kevin Chung
607fa37b98
Fix tests
2020-08-18 21:04:55 -04:00
Kevin Chung
12f0b5b3e6
Run formatter
2020-08-18 20:49:05 -04:00
Kevin Chung
733e438d1e
Remove bold labels from admin panel custom user fields
2020-08-18 20:39:34 -04:00
Kevin Chung
9d72e3ba21
Fix ingestion of boolean custom fields
2020-08-18 20:38:28 -04:00
Kevin Chung
37a250223b
Add rendering of boolean fields
2020-08-18 17:51:46 -04:00
Kevin Chung
4950f83922
Add TeamFields and TeamFieldEntries
2020-08-18 17:18:31 -04:00
Kevin Chung
fa10060a6e
Start seperating out FieldEntries into types
2020-08-18 17:06:45 -04:00
Kevin Chung
e68419201a
Clean up theme user.fields access
2020-08-18 15:33:59 -04:00
Kevin Chung
aa15c63050
FieldEntries field should be joined
2020-08-18 15:30:39 -04:00
Kevin Chung
8c261f5f6f
Extra form.extra rendering into a macro
2020-08-18 15:28:34 -04:00
Kevin Chung
d5c71423ba
Extract extra property into a shared function
2020-08-18 14:59:18 -04:00
Kevin Chung
925c5dfdc8
Extract custom user field attachment into seperate function
2020-08-18 14:42:45 -04:00
Kevin Chung
beaea4f1d2
Remove comments from Fields model
2020-08-18 14:19:29 -04:00
Kevin Chung
f18a8e4010
Import modules properly
2020-08-18 14:16:19 -04:00
Kevin Chung
1eaf450cdb
Show descriptions and optional fields
2020-08-18 14:11:04 -04:00
Kevin Chung
3919e49073
Update API reference
2020-08-18 13:20:10 -04:00
Kevin Chung
2d76218a73
Move fields into /api/v1/configs/fields
2020-08-18 13:13:37 -04:00
Kevin Chung
940be676ec
Remove unused import
2020-08-18 12:40:04 -04:00
Kevin Chung
001642030b
Add User Fields description help text
2020-08-18 12:36:13 -04:00
Kevin Chung
6ade57f0c5
Start to finish up interface for fields
2020-08-18 01:43:18 -04:00
Kevin Chung
a90adda175
Add basic interface for interacting with field entries
2020-08-17 20:08:51 -04:00
Kevin Chung
681a86b15c
Fix some glitches with removing values
2020-08-17 15:44:02 -04:00
Kevin Chung
96c50f26b1
Fix issue with partially updating field data
2020-08-17 03:51:45 -04:00
Kevin Chung
baa5918134
Start changing fields to user fields
2020-08-17 02:15:00 -04:00
Kevin Chung
376aaa943c
Remove comments
2020-08-17 01:59:02 -04:00
Kevin Chung
0f38e8d07f
Prevent editting of non-editable fields
2020-08-17 01:56:02 -04:00
Kevin Chung
7601a52c3b
Working implementation
2020-08-16 23:14:59 -04:00
Kevin Chung
cd12d5df7e
Handle processing field entries from admin panel and add permissions to viewing fields
2020-08-16 18:14:55 -04:00
Kevin Chung
3d390dfe86
Expunge user object before manipulation so that we don't persist changes to the db
2020-08-15 18:20:10 -04:00
Kevin Chung
5a4397bc56
Add boolean defaults
2020-08-15 17:47:25 -04:00
Kevin Chung
acc4f3e346
Add Marshmallow handling of fields and add permissions for fields
2020-08-15 17:40:12 -04:00
Kevin Chung
682caba26f
Rename field names
2020-08-15 14:09:55 -04:00
Kevin Chung
b0f85aef26
Add mostly untested way to update field values via API
2020-08-15 03:35:16 -04:00
Kevin Chung
f88d9dd340
Add some more progress
2020-08-15 01:57:36 -04:00
Kevin Chung
bf8095ed60
Start working on arbitrary user fields
2020-08-14 17:32:17 -04:00
Kevin Chung
5215db995f
Fix GitHub actions and add comments table ( #1604 )
...
* Fix MySQL and Postgres GitHub actions to properly test databases
* Add migration to add `comments` table
2020-08-14 03:13:12 -04:00
Kevin Chung
b9831d96b5
Try to access the mysql container port
2020-08-14 01:51:21 -04:00
Kevin Chung
12a83bebea
Update database hostnames
2020-08-14 01:30:14 -04:00
Kevin Chung
c9de517966
Properly test under other databases with Github Actions
2020-08-14 01:21:04 -04:00
Kevin Chung
92a40b6eff
Loosen team password confirmation to also accept team captain password ( #1598 )
...
* Loosen team password confirmation to also accept team captain password
* Make team settings modal larger in the core theme
* Add help text in team settings form
* Closes #1545
2020-08-13 14:08:44 -04:00
Kevin Chung
da4357b07b
Make scoreboard caching only cache the score table ( #1586 )
...
* Make scoreboard caching only cache the score table instead of the entire page
* Closes #1584
2020-08-13 11:53:36 -04:00
Kevin Chung
58e38c4bde
Add page comments ( #1601 )
...
* Add comments to Page editors
2020-08-13 11:52:14 -04:00