Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Current Version
    • Fix Version/s: TAG 2014/15
    • Component/s: OIOIOI
    • Labels:
      None

      Description

      SIO2 has been created as a contest creation, management and participation site. The Current Contest mechanism provides that everything happens in a contest (unless no contest exists).
      Incoming changes (the CMS module, global problem sites) require that it's possible to not participate in any contest.

      The Current Contest mechanism needs to be modified appropriately, a new API to allow sites to deactivate the current contest needs to be created (preferably a view decorator) and a new setting needs to be provided so not every SIO2 instance allows contest-free sites.

        Activity

        Hide
        Gerrit Gerrit added a comment -
        Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 1
        https://gerrit.sio2project.mimuw.edu.pl/2343

        SIO-1641 Current Contests

        needs tests
        needs little more documentation
        need to fix hidden 500s

        Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Show
        Gerrit Gerrit added a comment - Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2343 SIO-1641 Current Contests needs tests needs little more documentation need to fix hidden 500s Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Hide
        Gerrit Gerrit added a comment -
        Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 2
        https://gerrit.sio2project.mimuw.edu.pl/2343

        SIO-1641 Current Contests

        needs tests
        need to fix hidden 500s

        Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Show
        Gerrit Gerrit added a comment - Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/2343 SIO-1641 Current Contests needs tests need to fix hidden 500s Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Hide
        Gerrit Gerrit added a comment -
        Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 3
        https://gerrit.sio2project.mimuw.edu.pl/2343

        SIO-1641 Current Contests

        needs tests

        Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Show
        Gerrit Gerrit added a comment - Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 3 https://gerrit.sio2project.mimuw.edu.pl/2343 SIO-1641 Current Contests needs tests Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Hide
        Gerrit Gerrit added a comment -
        Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 4
        https://gerrit.sio2project.mimuw.edu.pl/2343

        SIO-1641 Current Contests

        needs tests

        Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Show
        Gerrit Gerrit added a comment - Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 4 https://gerrit.sio2project.mimuw.edu.pl/2343 SIO-1641 Current Contests needs tests Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Hide
        Gerrit Gerrit added a comment -
        Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 5
        https://gerrit.sio2project.mimuw.edu.pl/2343

        SIO-1641 Contest-free side of SIO2.

        The current contest mechanism has been overhauled completely.
        The active contest isn't being held in the session anymore. A contest
        is active if and only if the visited URL is prefixed with the contest's
        ID.
        Administrators can use a setting to decide if users should be put
        inside a contest forcibly (which happens by redirections) or if they can
        visit pages without participating in any contest, and in particular, if
        they can visit pages that require no contest to be active.
        Developers can write views that require a contest, that are neutral, or
        that require no contest to be active. The decision is made in the
        urlconf by placing patterns pointing to the views in one of three
        variables. Also ModelAdmins can be registered in two different sites,
        where one of them contains ModelAdmins that require a contest.
        Read the docs for more information.

        Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Show
        Gerrit Gerrit added a comment - Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 5 https://gerrit.sio2project.mimuw.edu.pl/2343 SIO-1641 Contest-free side of SIO2. The current contest mechanism has been overhauled completely. The active contest isn't being held in the session anymore. A contest is active if and only if the visited URL is prefixed with the contest's ID. Administrators can use a setting to decide if users should be put inside a contest forcibly (which happens by redirections) or if they can visit pages without participating in any contest, and in particular, if they can visit pages that require no contest to be active. Developers can write views that require a contest, that are neutral, or that require no contest to be active. The decision is made in the urlconf by placing patterns pointing to the views in one of three variables. Also ModelAdmins can be registered in two different sites, where one of them contains ModelAdmins that require a contest. Read the docs for more information. Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Hide
        Gerrit Gerrit added a comment -
        Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 6
        https://gerrit.sio2project.mimuw.edu.pl/2343

        SIO-1641 Contest-free side of SIO2.

        The current contest mechanism has been overhauled completely.
        The active contest isn't being held in the session anymore. A contest
        is active if and only if the visited URL is prefixed with the contest's
        ID.
        Administrators can use a setting to decide if users should be put
        inside a contest forcibly (which happens by redirections) or if they can
        visit pages without participating in any contest, and in particular, if
        they can visit pages that require no contest to be active.
        Developers can write views that require a contest, that are neutral, or
        that require no contest to be active. The decision is made in the
        urlconf by placing patterns pointing to the views in one of three
        variables. Also ModelAdmins can be registered in two different sites,
        where one of them contains ModelAdmins that require a contest.
        Read the docs for more information.

        Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Show
        Gerrit Gerrit added a comment - Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 6 https://gerrit.sio2project.mimuw.edu.pl/2343 SIO-1641 Contest-free side of SIO2. The current contest mechanism has been overhauled completely. The active contest isn't being held in the session anymore. A contest is active if and only if the visited URL is prefixed with the contest's ID. Administrators can use a setting to decide if users should be put inside a contest forcibly (which happens by redirections) or if they can visit pages without participating in any contest, and in particular, if they can visit pages that require no contest to be active. Developers can write views that require a contest, that are neutral, or that require no contest to be active. The decision is made in the urlconf by placing patterns pointing to the views in one of three variables. Also ModelAdmins can be registered in two different sites, where one of them contains ModelAdmins that require a contest. Read the docs for more information. Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Hide
        Gerrit Gerrit added a comment -
        Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 7
        https://gerrit.sio2project.mimuw.edu.pl/2343

        SIO-1641 Contest-free side of SIO2.

        The current contest mechanism has been overhauled completely.
        The active contest isn't being held in the session anymore. A contest
        is active if and only if the visited URL is prefixed with the contest's
        ID.
        Administrators can use a setting to decide if users should be put
        inside a contest forcibly (which happens by redirections) or if they can
        visit pages without participating in any contest, and in particular, if
        they can visit pages that require no contest to be active.
        Developers can write views that require a contest, that are neutral, or
        that require no contest to be active. The decision is made in the
        urlconf by placing patterns pointing to the views in one of three
        variables. Also ModelAdmins can be registered in two different sites,
        where one of them contains ModelAdmins that require a contest.
        Read the docs for more information.

        Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Show
        Gerrit Gerrit added a comment - Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 7 https://gerrit.sio2project.mimuw.edu.pl/2343 SIO-1641 Contest-free side of SIO2. The current contest mechanism has been overhauled completely. The active contest isn't being held in the session anymore. A contest is active if and only if the visited URL is prefixed with the contest's ID. Administrators can use a setting to decide if users should be put inside a contest forcibly (which happens by redirections) or if they can visit pages without participating in any contest, and in particular, if they can visit pages that require no contest to be active. Developers can write views that require a contest, that are neutral, or that require no contest to be active. The decision is made in the urlconf by placing patterns pointing to the views in one of three variables. Also ModelAdmins can be registered in two different sites, where one of them contains ModelAdmins that require a contest. Read the docs for more information. Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Hide
        Gerrit Gerrit added a comment -
        Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 8
        https://gerrit.sio2project.mimuw.edu.pl/2343

        SIO-1641 Contest-free side of SIO2.

        The current contest mechanism has been overhauled completely.
        The active contest isn't being held in the session anymore. A contest
        is active if and only if the visited URL is prefixed with the contest's
        ID.
        Administrators can use a setting to decide if users should be put
        inside a contest forcibly (which happens by redirections) or if they can
        visit pages without participating in any contest, and in particular, if
        they can visit pages that require no contest to be active.
        Developers can write views that require a contest, that are neutral, or
        that require no contest to be active. The decision is made in the
        urlconf by placing patterns pointing to the views in one of three
        variables. Also ModelAdmins can be registered in two different sites,
        where one of them contains ModelAdmins that require a contest.
        Read the docs for more information.

        Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
        Show
        Gerrit Gerrit added a comment - Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 8 https://gerrit.sio2project.mimuw.edu.pl/2343 SIO-1641 Contest-free side of SIO2. The current contest mechanism has been overhauled completely. The active contest isn't being held in the session anymore. A contest is active if and only if the visited URL is prefixed with the contest's ID. Administrators can use a setting to decide if users should be put inside a contest forcibly (which happens by redirections) or if they can visit pages without participating in any contest, and in particular, if they can visit pages that require no contest to be active. Developers can write views that require a contest, that are neutral, or that require no contest to be active. The decision is made in the urlconf by placing patterns pointing to the views in one of three variables. Also ModelAdmins can be registered in two different sites, where one of them contains ModelAdmins that require a contest. Read the docs for more information. Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6

          People

          • Assignee:
            Szymon AcedaƄski
            Reporter:
            Kamil Braun
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: