The SIO2 project
  1. The SIO2 project
  2. SIO-1836

Source size is not checked when submitting through paste/drag-and-drop

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Current Version
    • Fix Version/s: TAG 2016/17 Sprint 1
    • Component/s: OIOIOI
    • Labels:
      None

      Description

      Source code size is limited to, by default, 100KB when uploading a file:
      https://github.com/sio2project/oioioi/blob/master/oioioi/programs/controllers.py#L414

      but it's not checked when code is pasted or uploaded through a drag-and-drop method. Both mentioned flows are merged here:
      https://github.com/sio2project/oioioi/blob/master/oioioi/programs/controllers.py#L357

      It's important, as some programming tasks depend on limitation of source size.

        Activity

        Szymon Acedański made changes -
        Field Original Value New Value
        Fix Version/s Next Sprint [ 12002 ]
        Marcin Mielniczuk made changes -
        Rank Ranked higher
        Marcin Mielniczuk made changes -
        Assignee Marcin Mielniczuk [ marmistrz ]
        Szymon Acedański made changes -
        Fix Version/s TAG 2016/17 Sprint 1 [ 12501 ]
        Fix Version/s Next Sprint [ 12002 ]
        Hide
        Gerrit Gerrit added a comment -
        Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 1
        https://gerrit.sio2project.mimuw.edu.pl/2653

        SIO-1836 #close Check the length of the pasted code

        Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Show
        Gerrit Gerrit added a comment - Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2653 SIO-1836 #close Check the length of the pasted code Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Hide
        Gerrit Gerrit added a comment -
        Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 2
        https://gerrit.sio2project.mimuw.edu.pl/2653

        SIO-1836 #close Check the length of the pasted code

        Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Show
        Gerrit Gerrit added a comment - Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/2653 SIO-1836 #close Check the length of the pasted code Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Hide
        Gerrit Gerrit added a comment -
        Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 3
        https://gerrit.sio2project.mimuw.edu.pl/2653

        SIO-1836 #close Check the length of the pasted code

        Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Show
        Gerrit Gerrit added a comment - Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 3 https://gerrit.sio2project.mimuw.edu.pl/2653 SIO-1836 #close Check the length of the pasted code Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Marcin Mielniczuk made changes -
        Status New [ 10000 ] Resolved [ 5 ]
        Assignee Marcin Mielniczuk [ marmistrz ] Szymon Acedański [ accek ]
        Resolution Fixed [ 1 ]
        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
        119d 54m 1 Marcin Mielniczuk 2016-12-1 13:50
        Resolved Resolved Closed Closed
        845d 2h 48m 1 Szymon Acedański 2019-03-26 16:38

          People

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

            Dates

            • Created:
              Updated:
              Resolved: