Commit Graph

  • 431c35cb51
    Merge pull request #1363 from CTFd/is_admin_func_cache_hit Kevin Chung 2020-04-30 03:07:59 -0400
  • 0d97c3539a Update jQuery to 3.5.0 Kevin Chung 2020-04-30 02:57:22 -0400
  • 87895918f5 Fix tracker code to fix tests Kevin Chung 2020-04-30 02:45:12 -0400
  • 232a4468b0 Run format is_admin_func_cache_hit Kevin Chung 2020-04-30 02:22:44 -0400
  • e99f4f11a5 Merge remote-tracking branch 'origin/2.4.0-dev' into is_admin_func_cache_hit Kevin Chung 2020-04-30 00:31:21 -0400
  • 4e28e30cb8 Fix memoize call Kevin Chung 2020-04-29 23:10:39 -0400
  • 4a47805c41 Reduce attr cache to 30 seconds instead of 300 secs Kevin Chung 2020-04-29 22:48:03 -0400
  • 740ea36f7a Fix tokens using too-random of a value Kevin Chung 2020-04-29 22:45:11 -0400
  • 541d7e9cfa Add a wrapper for get_user_ips Kevin Chung 2020-04-29 22:34:33 -0400
  • 46ca4c7283 Add newline at end of .gitignore Kevin Chung 2020-04-29 22:27:39 -0400
  • 0dc42605ac Handle other cases for attrs invalidation Kevin Chung 2020-04-29 22:24:52 -0400
  • 3f3109f589 Add team attrs and cache banning SQL query Kevin Chung 2020-04-29 20:33:51 -0400
  • 0d8b0ee966 Merge branch 'is_admin_func_cache_hit' of github.com:CTFd/CTFd into is_admin_func_cache_hit Kevin Chung 2020-04-29 20:19:50 -0400
  • 674c08c19a Switch to get_user_attrs strategy Kevin Chung 2020-04-29 20:19:05 -0400
  • 805b48d00d Test clear_user_session and clear sessions on user modifications Kevin Chung 2020-04-29 03:58:54 -0400
  • e1e22eddb3 Make CTFd.utils.user.is_admin wrap a cached function so we avoid a DB hit on page loads Kevin Chung 2020-04-29 03:15:20 -0400
  • f86b7ae18f Switch to get_user_attrs strategy Kevin Chung 2020-04-29 20:19:05 -0400
  • a9aa80af89
    Merge pull request #1366 from CTFd/extract-banned-code-from-tracker Kevin Chung 2020-04-29 19:50:46 -0400
  • abd8aae84f Reorder code and fix tests Kevin Chung 2020-04-29 18:41:18 -0400
  • 817b67d1b0 Start to refactor tracker to cache user IPs Kevin Chung 2020-04-29 18:30:17 -0400
  • f7e7c3c337
    Merge pull request #1365 from CTFd/remove-get-config-from-models Kevin Chung 2020-04-29 14:15:43 -0400
  • 7e3b1962c4 Extract user/team banning code into its own initialization function Kevin Chung 2020-04-29 12:46:48 -0400
  • 57d4cb4318 Remove duplicated get_config from models and import before usage remove-get-config-from-models Kevin Chung 2020-04-29 12:45:06 -0400
  • ff4ad5185f Test clear_user_session and clear sessions on user modifications Kevin Chung 2020-04-29 03:58:54 -0400
  • 12d831a321 Make CTFd.utils.user.is_admin wrap a cached function so we avoid a DB hit on page loads Kevin Chung 2020-04-29 03:15:20 -0400
  • e15e23f038
    Merge pull request #1359 from CTFd/table-granular-admin-reset Kevin Chung 2020-04-28 12:29:11 -0400
  • 453289b0ff Run linters table-granular-admin-reset Kevin Chung 2020-04-28 04:19:31 -0400
  • 289d7441f9 Clean up word Kevin Chung 2020-04-28 03:54:46 -0400
  • a62b18fadb Fix up reset ui Kevin Chung 2020-04-28 03:53:25 -0400
  • aa2dd04378 Fix reset tests so they cover file deletions Kevin Chung 2020-04-28 03:15:28 -0400
  • 696872fee5 Delete files when resetting pages and challenges Kevin Chung 2020-04-28 02:44:24 -0400
  • 1d33ed4cb2 Fix reset tests and enforce foreign keys on sqlite Kevin Chung 2020-04-28 02:08:05 -0400
  • c7bf346ba6
    Merge pull request #1349 from CTFd/in-house-export-serialization Kevin Chung 2020-04-27 21:41:03 -0400
  • cc08f03faa
    Merge pull request #1357 from CTFd/admin-users-pagination Kevin Chung 2020-04-27 21:39:47 -0400
  • 4cfc536b41
    Merge pull request #1358 from CTFd/admin-challenges-pagination Kevin Chung 2020-04-27 20:54:40 -0400
  • c5667dc9d1
    Merge pull request #1356 from CTFd/admin-teams-pagination Kevin Chung 2020-04-27 20:22:31 -0400
  • e4a0f99f7e
    Merge pull request #1352 from CTFd/1339-submission-searching Kevin Chung 2020-04-27 20:21:46 -0400
  • f4b6afd32c Run make format admin-users-pagination Kevin Chung 2020-04-27 20:15:51 -0400
  • 77af80b538 Run make lint admin-challenges-pagination Kevin Chung 2020-04-27 20:13:12 -0400
  • 6092ed1f31 Clear caches after populate and enable foreign keys in SQLite Kevin Chung 2020-04-27 18:33:53 -0400
  • abcb791b73 Run make lint Kevin Chung 2020-04-27 18:13:45 -0400
  • 8a255f8b41 Add a basic layout for improved table granular reset Kevin Chung 2020-04-27 18:11:06 -0400
  • 1c9490bcb1 Clean up HTML IDs Kevin Chung 2020-04-27 16:59:53 -0400
  • 48bcd76a86 Clean up HTML IDs Kevin Chung 2020-04-27 16:59:00 -0400
  • d9e069933f Clean up HTML ids admin-teams-pagination Kevin Chung 2020-04-27 16:58:02 -0400
  • 2fa2c6074f Remove unnecessary js Kevin Chung 2020-04-27 16:53:51 -0400
  • 708c6383d8 Run yarn build Kevin Chung 2020-04-27 16:44:22 -0400
  • 839a767c8c Show search results on challenge search Kevin Chung 2020-04-27 16:40:58 -0400
  • 052ce49e14 Fix lints Kevin Chung 2020-04-27 16:28:45 -0400
  • e15d58bd11 Fix lints Kevin Chung 2020-04-27 16:27:37 -0400
  • 35737e9eea Make admin team searching use a pagination object Kevin Chung 2020-04-27 16:27:06 -0400
  • 81341a7730 Make admin user searching use a pagination object Kevin Chung 2020-04-27 16:09:57 -0400
  • b5b503e3cf Add abs Kevin Chung 2020-04-27 15:54:04 -0400
  • 067b8a4052 Fix tests Kevin Chung 2020-04-27 15:49:51 -0400
  • 2d49c8dd9a Switch to using a Flask SQLAlchemy pagination object for submission searching Kevin Chung 2020-04-27 15:04:29 -0400
  • b8b14a568e
    Merge pull request #1351 from CTFd/codemirror-improvements Kevin Chung 2020-04-27 14:51:48 -0400
  • c42c2d7fc9 Merge branch '1339-submission-searching' of github.com:CTFd/CTFd into 1339-submission-searching Kevin Chung 2020-04-27 13:46:52 -0400
  • 8c10c731be Add UI for submission searching Kevin Chung 2020-04-25 03:14:58 -0400
  • 228701cae7 Run prettier Kevin Chung 2020-04-27 13:10:35 -0400
  • fb8d9a44c2
    Merge pull request #1344 from developerfred/issue/1342 Kevin Chung 2020-04-27 12:47:46 -0400
  • dc31717148
    Merge branch 'master' into issue/1342 Kevin Chung 2020-04-27 03:28:22 -0400
  • 5b6eb16c60
    Merge pull request #1350 from CTFd/pin-banal Kevin Chung 2020-04-27 03:27:43 -0400
  • 9588ab3caa Fix email issue and remove file extensions list Kevin Chung 2020-04-27 02:36:59 -0400
  • 41a0ebc68d Make minified JSON in-house-export-serialization Kevin Chung 2020-04-27 02:00:11 -0400
  • 89ade49695 Fix serializer Kevin Chung 2020-04-27 01:49:56 -0400
  • 593fed300b Remove datafreeze dependency Kevin Chung 2020-04-27 01:02:52 -0400
  • 7d71eedb8e Pin banal==0.4.2 because of https://github.com/pudo/banal/issues/5 Kevin Chung 2020-04-26 22:04:19 -0400
  • 6099abf1a1 Add proper syntax highlighting for codemirror and make theme footer & header use codemirror Kevin Chung 2020-04-26 02:32:28 -0400
  • c9d31b67aa
    Merge pull request #1343 from CTFd/improved-page-select Kevin Chung 2020-04-26 01:39:00 -0400
  • 5a8e1b5b76 feat: add Faker and change populate.py #1342 codingsh 2020-04-25 18:46:03 -0300
  • 04eedb4a4e Run yarn build Kevin Chung 2020-04-25 16:45:24 -0400
  • 1ad520a8e7 Run prettier Kevin Chung 2020-04-25 12:52:56 -0400
  • ff2e4c9dd0 Change the page selector to be less verbose Kevin Chung 2020-04-25 04:00:53 -0400
  • 45d4892c61
    Merge pull request #1340 from CTFd/1338-challenge-searching Kevin Chung 2020-04-25 12:56:55 -0400
  • 4936b85ebb Pin banal because of https://github.com/pudo/banal/issues/5 Kevin Chung 2020-04-25 12:53:52 -0400
  • a9a17052b5 Add UI for submission searching Kevin Chung 2020-04-25 03:14:58 -0400
  • dbb07b5beb Clean code a bit Kevin Chung 2020-04-25 02:55:22 -0400
  • 58246bad18 Pin banal verison to a working version for Python 2 Kevin Chung 2020-04-25 02:19:02 -0400
  • 7fbcf9793b Remove unused import Kevin Chung 2020-04-24 15:45:42 -0400
  • 449e0d8939 Add basic challenge searching functionality Kevin Chung 2020-04-24 15:35:00 -0400
  • 2f36c5d680
    Adding sortable columns to admin panel (#1337) Kevin Chung 2020-04-23 13:35:23 -0400
  • 8ab99dc577 Remove commented HTML Kevin Chung 2020-04-23 13:34:38 -0400
  • 1f87efb6c1
    Better constant value management (#1335) Kevin Chung 2020-04-23 10:48:09 -0400
  • 89a266cf2c Run yarn build Kevin Chung 2020-04-23 08:52:29 -0400
  • 0bb1a5d0bd Run make format Kevin Chung 2020-04-23 02:28:05 -0400
  • d8e766734a Add bulk buttons Kevin Chung 2020-04-22 20:32:10 -0400
  • d5fd2f8f2a Setup bulk deletion buttons Kevin Chung 2020-04-22 18:49:57 -0400
  • 5f4af2a3f2 Fix tables Kevin Chung 2020-04-22 17:24:33 -0400
  • be643dee90 Run prettier Kevin Chung 2020-04-22 15:26:08 -0400
  • 7b9cd1df25 Consolidate buttons Kevin Chung 2020-04-22 15:20:27 -0400
  • 3d058bce05 Switch to using outline button Kevin Chung 2020-04-22 14:57:37 -0400
  • 3a15c155c7 Make it easier to click checkbox Kevin Chung 2020-04-21 22:38:46 -0400
  • fa434c4bdd
    Fix file downloads in Windows (#1336) Kevin Chung 2020-04-21 15:40:06 -0400
  • 052911f930 Add a construct for sortable columns Kevin Chung 2020-04-21 15:39:14 -0400
  • 0c58e8e28b Add query and location 1318-submissions-api-improvements Kevin Chung 2020-04-21 02:48:26 -0400
  • b33004bb36 Compile js enums to an assets file Kevin Chung 2020-04-20 21:39:55 -0400
  • fd4c9072d7 Add constants folder and regorganize Kevin Chung 2020-04-20 21:06:46 -0400
  • 7fb8f51425 Fix webargs to openapi mapping Kevin Chung 2020-04-19 17:05:10 -0400
  • 8c2f0f4a7f Downgrade webargs for Python 2, add submissions documentation example Kevin Chung 2020-04-19 16:58:59 -0400
  • 77d63635ea Add webargs to requirements and improve SubmissionsList to use webargs and mass deletions Kevin Chung 2020-04-18 16:27:46 -0400