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

        Kamil Braun made changes -
        Field Original Value New Value
        Assignee Kamil Braun [ kbr ]
        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
        Kamil Braun made changes -
        Status New [ 10000 ] Resolved [ 5 ]
        Assignee Kamil Braun [ kbr ] Szymon Acedański [ accek ]
        Resolution Fixed [ 1 ]
        Szymon Acedański made changes -
        Affects Version/s Current Version [ 11000 ]
        Affects Version/s Project Sprint 2 [ 12103 ]
        Fix Version/s TAG 2014/15 [ 12303 ]
        Fix Version/s Project Sprint 2 [ 12103 ]
        Szymon Acedański made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        New New Resolved Resolved
        52d 3h 20m 1 Kamil Braun 2015-05-16 20:10
        Resolved Resolved Closed Closed
        1409d 21h 28m 1 Szymon Acedański 2019-03-26 16:39

          People

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

            Dates

            • Created:
              Updated:
              Resolved: