Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTFNote v3 #237

Merged
merged 471 commits into from
Apr 28, 2024
Merged

CTFNote v3 #237

merged 471 commits into from
Apr 28, 2024
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 5, 2023

  1. Merge pull request #52 from JJ-8/0-tags-downstream

    Small fixes for tags
    JJ-8 authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    bbfd513 View commit details
    Browse the repository at this point in the history
  2. Improve layout of task search / filtering on mobile devices

    Now it correctly scales for both desktop and mobile.
    JJ-8 committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    89a929e View commit details
    Browse the repository at this point in the history
  3. Choose table for desktop and classic for mobile

    The table is difficult to see on mobile but very useful on desktop,
    so we change the default values depending on the platform.
    JJ-8 committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    d8284d2 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #53 from JJ-8/0-mobile-task-list-improvements

    Task list improvements on mobile devices
    JJ-8 authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    0e35b5c View commit details
    Browse the repository at this point in the history
  5. Rename .env to .env.example

    The actual .env should not be part of the repository to prevent any
    secrets to be stored in git.
    JJ-8 committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    8172afc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    06345d2 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #54 from JJ-8/0-remove-dotenv

    Remove dotenv file from git
    JJ-8 authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    aaba20a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ef0ce75 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    988b7e4 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #55 from MartinJM/improve_mention_resolution

    Improve mention resolution
    JJ-8 authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    81c3adf View commit details
    Browse the repository at this point in the history
  11. Don't pin task link but add to topic

    Pinning to the channel is not silent and we don't want that.
    So instead we now save the task link in the topic using the delimiter /-/
    JJ-8 committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    bb45fda View commit details
    Browse the repository at this point in the history
  12. Remove unused imports

    JJ-8 committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    f441cc0 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #56 from JJ-8/0-add-discord-integration-downstream

    Change pin behavior and resolve channel names in archive
    JJ-8 authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    e343b8e View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Add /delete to delete Discord CTF integration

    It is mandatory to create an archive first before deleting the CTF.
    This prevents data loss and the resulting task can always be deleted manually.
    The archive command will now not delete the channels anymore.
    
    Finishing of the commands will now be reflected in the bot reply.
    JJ-8 committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    fcb45c9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #57 from JJ-8/0-add-discord-integration-downstream

    Add `/delete` to delete Discord CTF integration
    JJ-8 authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    d3fbf0e View commit details
    Browse the repository at this point in the history
  3. Handle images in Discord archive

    Now they will be properly rendered by Hedgedoc
    JJ-8 committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    db0e226 View commit details
    Browse the repository at this point in the history
  4. Fetch tasks recursively for archive

    When the note content is too big, it will be split in multiple pads.
    But these pads won't be visible in the export.
    This is now fixed by recursively fetch all tasks by matching the pad url.
    JJ-8 committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    d31b2d4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #58 from JJ-8/0-add-discord-integration-downstream

    Discord archive: image handling and recursive pad export
    JJ-8 authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    a7b1d39 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3c07e29 View commit details
    Browse the repository at this point in the history
  7. Exclude image upload from subtask discovery

    Otherwise this will result in errors.
    JJ-8 committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    1b0e922 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #59 from JJ-8/0-add-discord-integration-downstream

    Subtask export: cyclic references and uploads exclusion
    JJ-8 authored Jul 17, 2023
    Configuration menu
    Copy the full SHA
    25c97b9 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Configuration menu
    Copy the full SHA
    d9bbb22 View commit details
    Browse the repository at this point in the history
  2. Support loading for SelectRole component

    In the end, it was not used but still a good feature to have for this component.
    JJ-8 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    47bdb5f View commit details
    Browse the repository at this point in the history
  3. Add better Discord bot documentation

    Now all the capabilities and limitations of the bot are documented in the README.
    JJ-8 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    705f488 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #61 from JJ-8/0-add-discord-integration-downstream

    Discord: privilege change sync and better documentation
    JJ-8 authored Jul 21, 2023
    Configuration menu
    Copy the full SHA
    122662b View commit details
    Browse the repository at this point in the history
  5. Remove GHCR authentication notice in README

    Copy of 8efa9ba
    but this one is upstream included in TFNS#217.
    JJ-8 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    40b813a View commit details
    Browse the repository at this point in the history
  6. Merge pull request #62 from JJ-8/remove-ghcr-authentication-notice

    Remove GHCR authentication notice in README
    JJ-8 authored Jul 21, 2023
    Configuration menu
    Copy the full SHA
    2a662ca View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Update Hedgedoc to 1.9.9

    JJ-8 committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    89182da View commit details
    Browse the repository at this point in the history
  2. Merge pull request #63 from JJ-8/0-hedgedoc-1.9.9

    Update Hedgedoc to 1.9.9
    JJ-8 authored Jul 31, 2023
    Configuration menu
    Copy the full SHA
    a097ed0 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Add ångstromCTF parser

    Parsing challenges from https://angstromctf.com/
    peace-maker authored and JJ-8 committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    9314edf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2399f4f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #64 from JJ-8/angstromparser-downstream

    Angstromparser downstream
    JJ-8 authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    88bf3b6 View commit details
    Browse the repository at this point in the history
  4. Upgrade dependencies front / api

    Updates all dependencies, resolving potential vulnerabilities.
    JJ-8 committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    f88d7c0 View commit details
    Browse the repository at this point in the history
  5. Make CTFNote live forever

    One day they woke me up -
    So I could live forever.
    It's such a shame the same
    Will never happen to you.
    
    Upgrade to yarn v3 and commit all dependencies so npmjs downtime
    does not cause troubles with building CTFNote.
    JJ-8 committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    f1f070c View commit details
    Browse the repository at this point in the history
  6. Merge pull request #65 from JJ-8/upgrade-dependencies-september-2023

    Upgrade dependencies - September 2023
    JJ-8 authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    0fc8ddd View commit details
    Browse the repository at this point in the history
  7. Fix 'hashes don't match for migration' error

    Git has added some crlfs to the file which causes the hashes to change.
    This prevents booting CTFNote due to annoying restrictions in the migration script.
    We revert to the old files so nobody has to change the hashes in the database.
    JJ-8 committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    611bf0e View commit details
    Browse the repository at this point in the history
  8. Fix more 'hashes don't match for migration' errors

    Git is messing up the files...
    JJ-8 committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    690729f View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Configuration menu
    Copy the full SHA
    01f1963 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. Add on it history

    Now the on it status is based on an 'active' boolean in the database and thus
    we can track the history of the on it status.
    This way you know who worked on it in the past but that person is not actively working on it right now.
    JJ-8 committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    d397313 View commit details
    Browse the repository at this point in the history
  2. Add cancel on it feature

    By holding the on it button it is now possible to cancel working on it and
    this will permanently remove your name from the task.
    
    Discord messages are updated accordingly.
    JJ-8 committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    36856ac View commit details
    Browse the repository at this point in the history
  3. Merge pull request #66 from JJ-8/on-it-history

    On it history
    JJ-8 authored Dec 16, 2023
    Configuration menu
    Copy the full SHA
    4af7649 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Only allow cancel if worked on task

    Otherwise a false message is send that you cancelled the task but
    you didn't start the task previously.
    Of course this can still be triggered by just calling the API, but this is not a security issue.
    JJ-8 committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    5df7d0d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #67 from JJ-8/on-it-history

    Only allow cancel if worked on task
    JJ-8 authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    c7730ba View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. Add Discord event link user importer

    Now you can import users based on their interest on a Discord event link from your server.
    The link will be remembered but you have to press the sync button yourself to trigger the sync.
    
    For now it only imports users. It won't remove them if they stop showing interest.
    JJ-8 committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    50e972a View commit details
    Browse the repository at this point in the history
  2. Also support uninviting users when importing from Discord

    Only friends and guest will loose their role if they don't show their interest anymore.
    Therefore you should not sync when someone should have access but have not
    shown their interest in the Discord event, because that person will loose their permissions.
    JJ-8 committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    20419fa View commit details
    Browse the repository at this point in the history
  3. Merge pull request #68 from JJ-8/discord-event-link-user-import

    Discord event link user import
    JJ-8 authored Dec 23, 2023
    Configuration menu
    Copy the full SHA
    82ae18d View commit details
    Browse the repository at this point in the history
  4. Don't change CTF permissions when Discord is not linked

    Otherwise everyone without Discord linked will be removed from the CTF.
    JJ-8 committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    032386f View commit details
    Browse the repository at this point in the history
  5. Merge pull request #69 from JJ-8/discord-event-link-user-import

    Don't change CTF permissions when Discord is not linked
    JJ-8 authored Dec 23, 2023
    Configuration menu
    Copy the full SHA
    176835c View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. Fix /start and /stop commands in Discord

    With the new on it history, the current state was not correctly detected.
    The column 'active' should be taken into account when switching the on it status.
    JJ-8 committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    999bf86 View commit details
    Browse the repository at this point in the history
  2. Fix race condition in deleting channels

    The message that indicates that it is deleted successfully can be send to a channel that already got deleted.
    Therefore the editReply will fail, but now we handle it silently so it won't crash the server.
    JJ-8 committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    72f9c4a View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Merge docker-compose.prebuild.yml into docker-compose.yml

    Downstream PR from TFNS#232.
    Slightly changed the README for better copy paste.
    JJ-8 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    a132aa7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #72 from JJ-8/docker-compose-merging

    Merge docker-compose.prebuild.yml into docker-compose.yml
    JJ-8 authored Feb 23, 2024
    Configuration menu
    Copy the full SHA
    817f9ed View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    55d85bc View commit details
    Browse the repository at this point in the history
  2. Merge pull request #73 from markfijneman/duplicate-notification-fix

    Prevent duplicate browser notifications with multiple open tabs
    JJ-8 authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    24418b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5cd9886 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    367d56c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e256ba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6f6429a View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    b37f76b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f90c525 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2822b0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1ad4c6c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bff66ed View commit details
    Browse the repository at this point in the history
  6. Add missing categories to HTB parser

    The public API was extended with more categories, so we have to include them here too.
    JJ-8 committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    674d974 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #76 from JJ-8:0-extend-htb-categories

    Extend HTB parser categories
    JJ-8 authored Mar 8, 2024
    Configuration menu
    Copy the full SHA
    4ca87c9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    aaf5835 View commit details
    Browse the repository at this point in the history
  9. API: honour DB_HOST and DB_PORT

    API needs to wait for the database to be up before starting.
    
    We do not know how long it takes: just because the container is started doesn't
    mean that Postgres is ready. The workaround is to use a small script (start.sh)
    that waits until a connection to the database can be done before passing the
    execution to yarn.
    
    The Dockerfile contains hardcoded values for the database's hostname and ports,
    but there is no guarantee that these values are always the same. This is
    especially true when trying to deploy CTFNote with a previously-existing
    database.
    
    This commit removes the hardcoded values and replaces them with DB_HOST/DB_PORT.
    
    Upstream commit: TFNS@9606303
    XeR authored and JJ-8 committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    4942a87 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #77 from JJ-8/234-use-dbhost-variable

    API: honour DB_HOST and DB_PORT
    JJ-8 authored Mar 8, 2024
    Configuration menu
    Copy the full SHA
    927be31 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #75 from markfijneman/taskbtngroup-grid

    Force TaskBtnGroup to be in a 2x2 grid on table task display
    JJ-8 authored Mar 8, 2024
    Configuration menu
    Copy the full SHA
    ff998f3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    dccea8b View commit details
    Browse the repository at this point in the history
  13. Don't include empty Discord chats in archive

    Fixes #71
    JJ-8 committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    0b2ded0 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #78 from JJ-8/71-dont-include-empty-chats-in-archive

    Don't include empty Discord chats in archive
    JJ-8 authored Mar 8, 2024
    Configuration menu
    Copy the full SHA
    c50d90f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e5f2ec3 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c5f3928 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    fc25f3f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    54d9a82 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    925a2d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5a5a8e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f71fff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e2e4220 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be97bc6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d1e3a11 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5c2e362 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c912d2e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    879c68e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    37bad5c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5cde365 View commit details
    Browse the repository at this point in the history
  12. Modified TaskBadge to support both task card and task switcher, added…

    … TaskBadge to task switcher
    markfijneman committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    a4f00e1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d4344f6 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Configuration menu
    Copy the full SHA
    0b1fb94 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b0cd5f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb03dfc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f71754 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a1fc796 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e8ce949 View commit details
    Browse the repository at this point in the history
  7. Resolved Vue warnings

    markfijneman committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    ad35de9 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Configuration menu
    Copy the full SHA
    292a837 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38d2073 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c650a99 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #81 from markfijneman/ctf-card-progressbar

    Replaced CTF progress bar with Quasar component
    JJ-8 authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    b4b5882 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5caea6d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a8449c4 View commit details
    Browse the repository at this point in the history
  7. Formatted code

    markfijneman committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    782f181 View commit details
    Browse the repository at this point in the history
  8. Add delay to tooltips

    markfijneman committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    d1e792e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2d614f4 View commit details
    Browse the repository at this point in the history
  10. Formatted code

    markfijneman committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    d81a7aa View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7f28af0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    385999d View commit details
    Browse the repository at this point in the history
  13. Merge pull request #79 from markfijneman/navbar-redesign

    Navigation bar redesign
    JJ-8 authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    9f11920 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ebc2b56 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b2ce2a8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fffd749 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6bec8eb View commit details
    Browse the repository at this point in the history
  18. Small spacing changes

    markfijneman committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    8065955 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e75553a View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c779de8 View commit details
    Browse the repository at this point in the history
  21. Merge pull request #74 from markfijneman/tabledense-layout

    Added tabledense task display
    JJ-8 authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    585564b View commit details
    Browse the repository at this point in the history
  22. Allow ctrl+k search dialog hotkey inside iframe

    Since the iframe is hosted on the same domain as the parent iframe, we can freely inject anything we want in the iframe.
    Therefore, we can control script execution and we use that to inject a specially crafted hotkeys-iframe.js file.
    This sounds like an exploit, but actually it is just the hotkeys-js library code together with a simple `ctrl+k, command+k` shortcut definition
    that posts a message to the parent frame that the search dialog should be shown.
    The parent will now act accordingly.
    
    Therefore, the search dialog shortcuts now also work on the Hedgedoc iframe pages.
    JJ-8 committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    0fa925c View commit details
    Browse the repository at this point in the history
  23. Merge pull request #86 from JJ-8/hotkeys-inside-iframe

    Allow ctrl+k search dialog hotkey inside iframe
    JJ-8 authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    91b6d31 View commit details
    Browse the repository at this point in the history
  24. Serve hotkeys-iframe.js from a path from Hedgedoc to circumvent CSP

    The Hedgedoc CSP is a good thing to have enabled.
    But it breaks the JS injection done by CTFNote.
    So now we just lie to the frontend that the file is hosted by Hedgedoc while it actually is hosted by CTFNote.
    
    This should circumvent the CSP and allow script execution inside the iframe, even when the CSP is enabled.
    JJ-8 committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    3917e0f View commit details
    Browse the repository at this point in the history
  25. Merge pull request #87 from JJ-8/csp-fix-hotkey-in-iframe

    Serve hotkeys-iframe.js from a path from Hedgedoc to circumvent CSP
    JJ-8 authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    5de2ad2 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    96f8d3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cce414a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5fa2b8a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffecd9c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    931f118 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    55bfae7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6712a7e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    06c05dc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bbf656d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6199451 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    18fdcb4 View commit details
    Browse the repository at this point in the history
  12. Redesigned login page

    markfijneman committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    34d935e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a61e86a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    57b7138 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2d8cff9 View commit details
    Browse the repository at this point in the history
  16. Make auth pages centered

    markfijneman committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    ab1cfae View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    04d919c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    cae8b96 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    5370cf0 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Configuration menu
    Copy the full SHA
    13f2f4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e4c5ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e196da View commit details
    Browse the repository at this point in the history
  4. Re-organize columns on registration settings to group registration an…

    …d calendar settings separately
    markfijneman committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    b54e53c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2932733 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    82c45a7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    52f85c5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3ed2a6e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    61261d9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    582d4a4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    64424c9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    db59339 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b4e84d2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    82976b9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c6b8338 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. Merge pull request #83 from markfijneman/dialog-styling

    Update dialog styling
    JJ-8 authored Mar 24, 2024
    Configuration menu
    Copy the full SHA
    d688b6e View commit details
    Browse the repository at this point in the history
  2. Undo auth page centering

    markfijneman committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    e68196f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c578a0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7483b5f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e641328 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2f7ab4a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    852efc0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ae1bdd8 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #88 from markfijneman/taskswitcher-layout

    Redesign task switcher
    JJ-8 authored Mar 24, 2024
    Configuration menu
    Copy the full SHA
    49791e1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    09d8755 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3663196 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    13e8a23 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0a8b281 View commit details
    Browse the repository at this point in the history
  14. Force tags to be lowercase in the frontend during parsing

    The backend already enforces lowercase of the tags, but the frontend did not.
    This could result in double challenge imports if you parse again.
    Now after the custom parser, all tags are forced to be lower case and unique.
    
    This fixes #89
    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    80e463b View commit details
    Browse the repository at this point in the history
  15. Merge pull request #92 from JJ-8/89-fix-tags-casing

    Force tags to be lowercase in the frontend during parsing
    JJ-8 authored Mar 24, 2024
    Configuration menu
    Copy the full SHA
    26eb22a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    19a99d6 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5e56f6b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    7144c8b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    aa94def View commit details
    Browse the repository at this point in the history
  20. Upgrade yarn and API dependencies

    Two breaking changes:
    1. graphql-upload-ts import was changed.
    2. ical-generator `serve` method does not exist anymore. Replaced with writing manually to response.
    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    c7b7af5 View commit details
    Browse the repository at this point in the history
  21. Update .prettierrc config for trailing comma

    Otherwise the API files will all be beautified with extra comma's.
    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    d56d425 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    ab8bd5e View commit details
    Browse the repository at this point in the history
  23. Upgrade frontend dependencies

    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    76b708e View commit details
    Browse the repository at this point in the history
  24. Format frontend files

    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    80acb3a View commit details
    Browse the repository at this point in the history
  25. Fix frontend ESLint warnings

    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    1ad9843 View commit details
    Browse the repository at this point in the history
  26. Update frontend yarn cache

    This makes sure that the frontend will live forever, even with npmjs.com downtime.
    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    1376c6e View commit details
    Browse the repository at this point in the history
  27. Merge pull request #93 from JJ-8/upgrade-dependencies-march-2024

    Upgrade dependencies - March 2024
    JJ-8 authored Mar 24, 2024
    Configuration menu
    Copy the full SHA
    515f778 View commit details
    Browse the repository at this point in the history
  28. Upgrade NodeJS in API and front Docker container

    Otherwise it won't build.
    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    705e7ab View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    f8f5b94 View commit details
    Browse the repository at this point in the history
  30. Fix Docker image format

    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    9a3678d View commit details
    Browse the repository at this point in the history
  31. Merge pull request #94 from JJ-8/upgrade-nodejs

    Upgrade NodeJS in Docker
    JJ-8 authored Mar 24, 2024
    Configuration menu
    Copy the full SHA
    2498a94 View commit details
    Browse the repository at this point in the history
  32. Bump @babel/traverse from 7.22.19 to 7.24.1 in /front

    Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.19 to 7.24.1.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.24.1/packages/babel-traverse)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/traverse"
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 24, 2024
    Configuration menu
    Copy the full SHA
    ec04f35 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    b338b8c View commit details
    Browse the repository at this point in the history
  34. Upgrade top most yarn files

    JJ-8 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    9537bc2 View commit details
    Browse the repository at this point in the history
  35. Merge pull request #95 from JJ-8/dependabot/npm_and_yarn/front/babel/…

    …traverse-7.24.1
    
    Bump @babel/traverse from 7.22.19 to 7.24.1 in /front
    JJ-8 authored Mar 24, 2024
    Configuration menu
    Copy the full SHA
    93901c3 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    1c7d554 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    33ef1be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1c5452 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0f14f8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1ca040b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    99d9dab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c408ec7 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #99 from markfijneman/double-history-fix

    Fix opened tasks getting added to browser history two times
    JJ-8 authored Mar 27, 2024
    Configuration menu
    Copy the full SHA
    8d4adcc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c30d72a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ec5b92c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    871a3e0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    818d063 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    785a4be View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    95ed482 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Merge pull request #90 from markfijneman/auth-styling

    Redesign authentication pages
    JJ-8 authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    ab86380 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #91 from markfijneman/settings-styling

    Redesign settings pages
    JJ-8 authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    2636be1 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Configuration menu
    Copy the full SHA
    a4370a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99a9298 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e4f1a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10a5dab View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aa1b1a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    55b79ce View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0e8d793 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9d5f49a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7c650a2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    78d87c0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a322cbf View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Merge pull request #103 from markfijneman/dialog-responsiveness-fix

    Improve responsiveness of global search and solve task dialogs
    JJ-8 authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    d6b1297 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #100 from markfijneman/ctf-styling

    Redesign CTF pages
    JJ-8 authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    b329be5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #104 from markfijneman/past-ctfs-styling

    Redesign past CTFs page
    JJ-8 authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    f359e69 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    56c50cf View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Merge pull request #106 from markfijneman/hedgedoc-editor-hotkeys-fix

    Fix custom shortcuts not working in HedgeDoc editor
    JJ-8 authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    bc4a998 View commit details
    Browse the repository at this point in the history
  2. Hide search dialog when pressing esc

    In the old implementation you can only dismiss the search dialog
    by stop focussing it and then pressing esc or clicking outside the dialog area.
    This is not keyboard friendly so we introduce a new shortcut that hides the search dialog
    by just pressing the esc-button.
    JJ-8 committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    d821f16 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #107 from JJ-8/dialog-cancel-shortcut

    Hide search dialog when pressing esc
    JJ-8 authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    f13396c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac4bafb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    15be314 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Set nginx upload max size in hosting instructions

    This corresponds to the outer-nginx and may also need to be set
    before the change will actually be effective.
    JJ-8 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    ac3b2cc View commit details
    Browse the repository at this point in the history
  2. Make max upload size a global in the inner-nginx config

    With this it will apply to all requests done, so also the /uploads endpoint
    and not only the endpoint for Hedgedoc.
    JJ-8 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    a3850c2 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #108 from markfijneman/increase-upload-size-limit

    Increase Nginx upload size limit
    JJ-8 authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    5d0aac6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3c60d9b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5a7e05e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b0abbb1 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Configuration menu
    Copy the full SHA
    f2c4d06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d01d04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    605a873 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a201dd3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5b0d771 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    4a6f239 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    065275d View commit details
    Browse the repository at this point in the history
  3. Merge branch 'solve-task-shortcut' of github.com:markfijneman/CTFNote…

    … into solve-task-shortcut
    markfijneman committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    09b6e3f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fdba7e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Fix Discord event link hanging issue

    When a sync has been performed, the old implementation causes a release of the database PoolClient, causing any future database operation to fail.
    This is due to the event sync code being triggered from the context of GraphQL queries instead of a separate context when an incoming event from Discord is processed.
    
    The code has now been rewritten to take the context.pgClient database client which is the current GraphQL pgClient.
    This client is used in all database operations and not released so it can be used in the future.
    This will stop the hanging of the server when a Discord event link sync is done.
    
    This issue was only reliable reproducible with quite some members interested in an event. I tested this with 13 people interested.
    
    In the future we should rewrite this code to always take a pgClient in the database code and create a new pgClient at a higher level when not available and otherwise always use the context.pgClient.
    At lower levels we should not be caring about releasing or not because this can only cause issues.
    JJ-8 committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    1e19acf View commit details
    Browse the repository at this point in the history
  2. Merge pull request #111 from JJ-8/discord-event-link-sync-hang

    Fix Discord event link hanging issue
    JJ-8 authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    97bed41 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #109 from markfijneman/solve-task-shortcut

    Added ctrl + s shortcut to submit flag on task pages
    JJ-8 authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    35beb0e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    16aae89 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f3db7cf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bebdca1 View commit details
    Browse the repository at this point in the history
  7. Add back manual workflow trigger

    This is useful for testing if a branch builds.
    JJ-8 committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    43ce571 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. Update husky dependency

    JJ-8 committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    1dd1b5a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff942e8 View commit details
    Browse the repository at this point in the history