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

fix(#1701): Events page displays year for events scheduled to start or end at a future year #2500

Merged
merged 15 commits into from
Sep 26, 2024

Commits on Apr 8, 2022

  1. Configuration menu
    Copy the full SHA
    1502c10 View commit details
    Browse the repository at this point in the history
  2. Set Up Templates For Querying Start And End Years

    Passed variables to the time_tag template [time_tag.html] that checks if an event was scheduled to start or end with the current year.
    alvindera97 committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    4198812 View commit details
    Browse the repository at this point in the history
  3. Insert New Test Data And Update test_views.py

    More events are created to test particular scenarios of events especially events set to start or end at a future year.
    alvindera97 committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    ff1ad8b View commit details
    Browse the repository at this point in the history
  4. Time Tag Now Shows Year For Events With Details Not Within The Curren…

    …t Year
    
    The time tag now displays the year when an event will occur. This is only for events that have been scheduled to start or end in at a future year. The accompanying functional tests have also been included.
    alvindera97 committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    e3125d9 View commit details
    Browse the repository at this point in the history
  5. Move All Test Data To Functional Test

    All test data concerning the provision of data to serve the functional tests have been moved to the functional test.
    As it improves readability.
    All other test data at test_views.py was reset
    to accommodate for the reduction in number of test data instances.
    alvindera97 committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    178742b View commit details
    Browse the repository at this point in the history
  6. Functional Test For Displaying Year Of Event For Future Events Now Im…

    …plemented With Unit Tests
    alvindera97 committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    e0fdf7c View commit details
    Browse the repository at this point in the history
  7. Remove Functional Test For Displaying Year Of Future Event

    Since the current CI at the main branch does not support selenium [web driver] operations, the functional test which depends on selenium to run has been removed.
    alvindera97 committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    115af08 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2022

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

Commits on Aug 8, 2024

  1. Fix Erroneous Addition To Dev Requirements

    This error was introduced in 115af08
    alvindera97 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    207a0af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c7cfabd View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

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

Commits on Sep 20, 2024

  1. Refactor Tests For Relevant Year String Rendering At Events Page

    - Updated the test methods `test_scheduled_to_start_this_year_method` and `test_scheduled_to_end_this_year_method` to better reflect event scheduling edge cases.
    - Added assertions to verify when events are not scheduled to start or end within the current year.
    - Utilize `unittest.mock` to clamp down datetime-sensitive tests.
    alvindera97 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    6a18a62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23569b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c4db8d4 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

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