[SIO-2521] Submission confirmation e-mail should contain the SIO login Created: 2022-12-7  Updated: 2022-12-7

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Jakub Radoszewski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
The current e-mail sent by SIO looks as follows. Please add user login. I got a complaint where a contestant mixed up their ids and there was no way of checking this natural information in the e-mail.

Szanowny Użytkowniku,

potwierdzamy otrzymanie Twojego zgłoszenia w konkursie
XXX Olimpiada Informatyczna – I etap:

Imię i nazwisko: Stanisław Pawelec

ID konkursu: oi30-1
Zadanie: ply
ID zgłoszenia: 556866
Nr zgłoszenia do tego zadania: 1
Data zgłoszenia: 2022-11-18 19:54:56
Rozmiar kodu źródłowego: 1262 bajty


Zachowaj tę wiadomość i przesłany kod. Poniżej znajduje się kryptograficzne
potwierdzenie, które wraz z odpowiadającym mu kodem źródłowym stanowi
dowód rejestracji w systemie Twojego zgłoszenia.

Organizatorzy


--- BEGIN PROOF DATA ---
.eJxFjstuwyAQRf-Fbe2K4Q3fkb3F4HGDGkNk7EVT5d-D20pd3secO9-s1WNLNF1ju7LAX
JTABSovJE-otEUe0SEtlNDgrJwniBYpoliSXKA3E4BC4RcuwSMb2H2reKN1yqXtsXR0nll
QVviBHY22H2lBgf2vlrhSH7_fvvp9qmWntndds-QjdGuO-5kLLsQIMIK7gAtaBW3e1YmSb
5wHztnvwh_tQR9xo89utgPX3FquZSqVBRjY-YPWxhnT0_zodRBGPF8zxk_Q:1ow6Vs:J6h
teuwrQQltFID2-zdE8ypNF34
--- END PROOF DATA ---




[SIO-2520] Error 403 when clicking on a question's author in SIO2 Created: 2022-11-1  Updated: 2022-11-1

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jakub Radoszewski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
I am a contest admin but not SIO2 admin in contest https://sio2.mimuw.edu.pl/c/oi30-1/. For each question asked by the contestants, I have 3 clickable links: author, date and question topic. The first one (e.g. https://sio2.mimuw.edu.pl/c/oi30-1/u/74551) produces error 403 for me. I presume that this is to show me that I don't have permissions to view the user data (right?), but my user feeling is unpleasant.




[SIO-2519] Failing nightly tests on GitHub Actions Created: 2022-10-3  Updated: 2022-10-3  Resolved: 2022-10-3

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Aleksander Tudruj Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None


 Description   
Nightly and integration tests fail on GitHub Actions (2.10.2022)

 Comments   
Comment by Aleksander Tudruj [ 2022-10-3 ]
https://github.com/sio2project/oioioi/pull/90
Comment by Aleksander Tudruj [ 2022-10-3 ]
https://github.com/sio2project/oioioi/pull/90




[SIO-2518] Test names containing other symbols Created: 2022-09-29  Updated: 2022-09-29

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Jakub Radoszewski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
I would like to allow capital letters [A-Z] and delimiting symbols like _- in test names. E.g.:
max7sorted_sequence.in




[SIO-2517] Dead link on github Created: 2022-09-29  Updated: 2022-09-29

Status: New
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jakub Radoszewski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Link https://github.com/sio2project/task-package-examples/blob/master/tutorial/kwa/doc/kwazad.pdf gives error 404 on https://github.com/sio2project/oioioi/wiki/%5BPL%5D-1.-Podstawowa-paczka




[SIO-2516] Link to problem package structure should be accessible via Szkopul Created: 2022-09-29  Updated: 2022-09-29

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Jakub Radoszewski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
This guy: https://github.com/sio2project/oioioi/wiki should be linked somewhere. Perhaps here: https://szkopul.edu.pl/c/wprawki-wp-2022/admin/contests/probleminstance/




[SIO-2515] Problem package without tests in in/ fails Created: 2022-09-29  Updated: 2022-09-29

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Jakub Radoszewski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File max.tgz    

 Description   
A task without tests generated in in/ does not upload to Szkopul. It can be the case that all tests are automjatically generated, though. So it should be uploaded afaik.




[SIO-2514] SameSite atribute in language preference cookie Created: 2022-06-6  Updated: 2022-06-6

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 3
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Kacper Lewandowski Assignee: Kacper Lewandowski
Resolution: Unresolved Votes: 0
Labels: None

Attachments: PNG File Screenshot from 2022-06-01 12-08-52.png    

 Description   
Firefox warns:

Cookie “lang” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite




[SIO-2513] Export reports for all submissions Created: 2022-05-29  Updated: 2022-05-30  Due: 2022-12-1

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Kostka Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: pa


 Description   
For resolver purposes the following data are needed in json format for every submission(report):
- time of submission
- submitter data (probably login or/and id)
- task id
- submission score
- id of first test not marked as "OK"
( optionally - list of tests and verdicts )

 Comments   
Comment by Tomek Waleń [ 2022-05-30 ]
Do you think about additional command for exporting reports (i.e. as CSV or collection of JSONs) or something in web-interface (like current export of submissions)?
Comment by Paweł Dietrich [ 2022-05-30 ]
I asked Bartek if he would prefer to have it generated manually or available on some endpoint and he responded that "it is fine to be manually extracted, but an endpoint would be nice".
I think in terms of endpoints an API endpoint would be great; in terms of manual export button "Download summary" in django-admin submissions view is proper place for it. Also a ./manage.py command can be handy.
(When I think about it: with any two of those places, the third one can be achieved with little work.)
I am not convinced yet whether it should be a global feature of PA only.





[SIO-2512] Allow configuring who can rejudge Created: 2022-05-23  Updated: 2022-05-23

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Paweł Dietrich Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Currently teachers are able to make mass rejudges (via selecting submissions in submissions tab). In case of small rejudges (<100submissions) this is not a problem. When bigger rejudges occur, filetracker2 dies due to big number of requests from Workers.

In perfect scenario we would replace the inefficient storage backend, but it would require a bit of work. Current workaround is to decrease CONCURENCY in settings.py, but it might be a nice feature to be able to control access to this (mass rejudge) feature.

One way I was thinking to implement it is adding a predicate can_mass_rejudge w ContestController getting a request and rejudge order. One can override its behavior per ContestController basis.






[SIO-2511] Maybe use default django 404 page Created: 2022-05-9  Updated: 2022-05-9

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andrzej Radzimiński Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
We are still using custom 404 page (see `handler404`), due to Django security issues, but it seems, that they, are not longer present in new versions.

Check if 404 page provided by Django has no known security issue, and see how it looks. If there are no reasons not to, change 404 page to be the one provided by Django.




[SIO-2510] Add .vscode to .gitignore Created: 2022-05-9  Updated: 2022-09-7  Resolved: 2022-09-7

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Andrzej Radzimiński Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None


 Description   
Add .vscode to .gitignore similarly to .idea.

 Comments   
Comment by Aleksander Tudruj [ 2022-09-7 ]
Resolved in SIO-2489




[SIO-2509] random error on registration Created: 2022-05-4  Updated: 2022-05-18  Resolved: 2022-05-18

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Aleksander Tudruj Assignee: Tomasz Waleń
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screenshot_from_2022-04-21_13-00-20.png    

 Description   
In some rare occasions registration fails with 500 error (see attachment).

Go to szkopul:
1. Login
2. Logout
3. click "login"
4. enter fake data (non-existent user)
5. click "create new account"

 Comments   
Comment by Tomek Waleń [ 2022-05-4 ]
Possible solution:

diff --git a/oioioi/base/views.py b/oioioi/base/views.py
index d5466e29..71819b6f 100644
--- a/oioioi/base/views.py
+++ b/oioioi/base/views.py
@@ -99,6 +99,8 @@ def adjust_preferences_factory_fields(request):
     choices_not_translated = [("", "None")] + list(settings.LANGUAGES)
     choices = [(k, _(v)) for k, v in choices_not_translated]
 
+ ensure_preferences_exist_for_user(request)
+
     PreferencesFactory.add_field(
         "preferred_language",
         ChoiceField,
Comment by Andrzej Radzimiński [ 2022-05-9 ]
Reason:
`adjust_preferences_factory_fields` adds field, that uses `user` to get default view. Then `RegistrationView` generates form using `PreferenceFactory` with `user` set to `None`.

Possible fix:
Lambda added in adjust_preferences_factory_fields can test is User is None. This fixes the problem, but `RegistrationView` now may or may not has preferences fields. Additionally preferences fields visible in registration form have will have no effect. To fix this `adjust_preferences_factory_fields`+`handle_new_preference_fields` logic should be added to `RegistrationView`.

`Adjust_preferences_factory_fields` could be called once in same way `_maybe_add_field` is called, but I'm not sure if it will always work.




[SIO-2508] Glitches during szkopuł deployment Created: 2022-05-3  Updated: 2022-05-3

Status: New
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
- hudson job for rebase-szkopuł is still failing due to permission problem

https://hudson.sio2project.mimuw.edu.pl/job/szkopul-rebase/471/console

To ssh://hudson@ripper.dasie.mimuw.edu.pl:29418/szkopul
 ! [remote rejected] master -> master (you are not allowed to upload merges)
error: failed to push some refs to 'ssh://hudson@ripper.dasie.mimuw.edu.pl:29418/szkopul&#39;

(workaround: rebase locally)

- in deployment scripts (ssh://gerrit.sio2project.mimuw.edu.pl:29418/szkopul branch deployment)

- venv is created twice (both times with python3), only one venv should be created and used




[SIO-2507] JavaScript error when visiting web-page Created: 2022-04-25  Updated: 2022-05-9  Resolved: 2022-05-9

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Aleksander Tudruj Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None


 Description   
When opening oioioi the "Cannot read property 'addEventListener' of null" appears in console. Due to this, Cypress tests cannot be properly run.




[SIO-2506] Improve PreferenceFactory Created: 2022-04-21  Updated: 2022-04-25

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Andrzej Radzimiński Assignee: Joanna Wojciechowska
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Following changes added `PreferenceFactory` class that is used to generate preference forms, currently used to generate edit profile view form:
https://jira.sio2project.mimuw.edu.pl/browse/SIO-1624
https://gerrit.sio2project.mimuw.edu.pl/#/c/2291/

Currently only place where `add_field` method is used is inside:
1. base/forms.py > _maybe_add_field
2. base/views.py > adjust_preferences_factory_fields
3. tests

Two improvements have to be made:
1. `_maybe_add_field` function takes label strings from settings, where they are translated. Functionality should be added to automatically translate labels in `PreferenceFactory` and move translation logic out of settings. It should be considered if label names shouldn't be moved from settings entirely.
Alternatively field labes can be made into positional parameter, and translation will occur in caller.

2. With addition of `UserPreferences` model `PreferenceFactory` needs functionality to automatically add fields from `UserPreferences`, similarly to how forms can be automatically generated from models.
It is currently made manually inside `adjust_preferences_factory_fields` which can badly impact future refactor/updates.




[SIO-2505] Default dark theme in admin panels Created: 2022-04-13  Updated: 2022-04-14

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Aleksander Tudruj Assignee: Joanna Wojciechowska
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Every page at /admin/ is dark themed after upgrading to Django 3.2.

https://docs.djangoproject.com/en/3.2/ref/contrib/admin/#theming-support


 Comments   
Comment by Tomek Waleń [ 2022-04-14 ]
There are 2 packages that disable this behaviour:
* https://github.com/frnhr/django-light
* https://github.com/frnhr/django-light
Comment by Joanna Wojciechowska [ 2022-04-14 ]
I found the approach from this site:
https://stackoverflow.com/questions/67135053/can-someone-explain-to-my-why-my-django-admin-theme-is-dark

easier, so I implemented this solution. If you still think that using the package you mentioned better, I can use your solution.




[SIO-2504] Misaligned checkboxes in every pupils form Created: 2022-04-12  Updated: 2022-04-22

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Mieszko Grodzicki Assignee: Mieszko Grodzicki
Resolution: Unresolved Votes: 0
Labels: None

Attachments: PNG File Zrzut ekranu z 2022-04-12 21-50-50.png    

 Description   
See attached screenshot

 Comments   
Comment by Mieszko Grodzicki [ 2022-04-22 ]
https://github.com/sio2project/oioioi/pull/61




[SIO-2503] ProblemInstance settings with default values inherited from the Contest. Created: 2022-04-12  Updated: 2022-04-12

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Mieszko Grodzicki Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: PDF File ustawienia_dziedziczone.pdf    

 Description   
Description as attachment.




[SIO-2502] Github actions - translations Created: 2022-04-11  Updated: 2022-05-27  Resolved: 2022-05-27

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: Current Version

Type: New Feature Priority: Major
Reporter: Tomek Waleń Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None


 Description   
Migrate hudson actions for managing translations to Github:

* https://hudson.sio2project.mimuw.edu.pl/job/oioioi-translations-download/
* https://hudson.sio2project.mimuw.edu.pl/job/oioioi-translations-upload/

Review other jobs from Hudson, in particular verify how hard is to migrate:
* https://hudson.sio2project.mimuw.edu.pl/job/szkopul-rebase/




[SIO-2501] Auto-created primary key used when not defining a primary key type warning Created: 2022-04-11  Updated: 2022-04-14  Resolved: 2022-04-14

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Joanna Wojciechowska Assignee: Tomasz Waleń
Resolution: Fixed Votes: 0
Labels: None


 Description   
Because of the change in Django 3.2, when defining a model, if no field in a model is defined with primary_key=True an implicit primary key is added. The type of this implicit primary key can now be controlled via the DEFAULT_AUTO_FIELD setting and AppConfig.default_auto_field attribute. No more needing to override primary keys in all models.

To avoid unwanted migrations in the future, configure it on a per-app basis by adding default_auto_field = 'django.db.models.AutoField' in all AppConfig classes.

 Comments   
Comment by Gerrit Gerrit [ 2022-04-11 ]
Change oioioi~master~Ibc19cc9a2db265391dae3646c6ec82b48356e246, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3824

SIO-2501 Auto-created primary key used when not defining a primary key type warningi Attribute default_auto_field = 'django.db.models.AutoField' to point to a subclass of AutoField added in all classes that inherit from AppConfig.

Change-Id: Ibc19cc9a2db265391dae3646c6ec82b48356e246
Comment by Gerrit Gerrit [ 2022-04-11 ]
Change oioioi~master~Ibc19cc9a2db265391dae3646c6ec82b48356e246, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3824

SIO-2501 Auto-created primary key used when not defining a primary key type warningi Attribute default_auto_field = 'django.db.models.AutoField' to point to a subclass of AutoField added in all classes that inherit from AppConfig.

Change-Id: Ibc19cc9a2db265391dae3646c6ec82b48356e246
Comment by Gerrit Gerrit [ 2022-04-11 ]
Change oioioi~master~Ibc19cc9a2db265391dae3646c6ec82b48356e246, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3824

SIO-2501 Auto-created primary key used when not defining a primary key type warningi Attribute default_auto_field = 'django.db.models.AutoField' to point to a subclass of AutoField added in all classes that inherit from AppConfig.

Change-Id: Ibc19cc9a2db265391dae3646c6ec82b48356e246




[SIO-2500] Javascript translations raise System Error Created: 2022-04-11  Updated: 2022-04-11

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Accessing page /jsi18n/ tiggers System error:

Internal Server Error: /jsi18n/
Traceback (most recent call last):
  File "/home/oioioi/.local/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/home/oioioi/.local/lib/python3.7/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, callback_args, **callback_kwargs)
  File "/usr/lib/python3.7/contextlib.py", line 74, in inner
    return func(args, kwds)
  File "/home/oioioi/.local/lib/python3.7/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, kwargs)
  File "/home/oioioi/.local/lib/python3.7/site-packages/django/views/generic/base.py", line 98, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/oioioi/.local/lib/python3.7/site-packages/django/views/i18n.py", line 213, in get
    paths = self.get_paths(packages) if packages else None
  File "/home/oioioi/.local/lib/python3.7/site-packages/django/views/i18n.py", line 224, in get_paths
    'Invalid package(s) provided to JavaScriptCatalog: %s' % ','.join(excluded)
ValueError: Invalid package(s) provided to JavaScriptCatalog: oioioi._locale
[11/Apr/2022 10:32:34] "GET /jsi18n/ HTTP/1.1" 500 114882




[SIO-2499] Running `run_static.sh` results in black's error Created: 2022-04-4  Updated: 2022-04-4  Resolved: 2022-04-4

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Aleksander Tudruj Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Aleksander Tudruj

 Description   
When running `run_static.sh` black results with error due to `click` library changes. New version of black treats py27 as deprecated, so it also needs to be updated.

 Comments   
Comment by Gerrit Gerrit [ 2022-04-4 ]
Change oioioi~master~I2537c77f8689016206de85c5b6631c097b8db42c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3821

(SIO-2499) Running 'run_static.sh' results in black's error

Changes:
    updated black version in requirements file
    updated python version when running black check

Change-Id: I2537c77f8689016206de85c5b6631c097b8db42c




[SIO-2498] Edycja profilu nie wymaga podania hasła Created: 2022-04-2  Updated: 2022-04-2

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Kacper Lewandowski Assignee: Kacper Lewandowski
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Dokonanie edycji proflu (w tym adresu email) nie wymaga ponownego podania hasła.
Należy dodać dodatkową autoryzację.




[SIO-2497] api/docs not working Created: 2022-03-29  Updated: 2022-04-6  Resolved: 2022-04-6

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tomek Waleń Assignee: Tomasz Waleń
Resolution: Fixed Votes: 0
Labels: None


 Description   
Page /api/docs page returns error 500:

AttributeError at /api/docs/

'AutoSchema' object has no attribute 'get_link'

Request Method: GET
Request URL: http://localhost:8000/api/docs/
Django Version: 3.1.14
Exception Type: AttributeError
Exception Value:

'AutoSchema' object has no attribute 'get_link'

Exception Location: /home/oioioi/.local/lib/python3.7/site-packages/rest_framework/schemas/coreapi.py, line 143, in get_links
Python Executable: /usr/bin/python3
Python Version: 3.7.3
Python Path:

['/sio2/deployment',
 '/sio2/deployment',
 '/sio2/deployment',
 '/sio2/deployment',
 '/sio2/deployment',
 '/usr/lib/python37.zip',
 '/usr/lib/python3.7',
 '/usr/lib/python3.7/lib-dynload',
 '/home/oioioi/.local/lib/python3.7/site-packages',
 '/sio2/oioioi',
 '/usr/local/lib/python3.7/dist-packages',
 '/usr/lib/python3/dist-packages']

Server time: Tue, 29 Mar 2022 18:54:32 +0000



Some background:
https://stackoverflow.com/questions/57654243/how-to-fix-attributeerror-at-api-doc-autoschema-object-has-no-attribute-ge

Fix:
---
diff --git a/oioioi/default_settings.py b/oioioi/default_settings.py
index 9f26d52c..35ecf6a7 100755
--- a/oioioi/default_settings.py
+++ b/oioioi/default_settings.py
@@ -670,7 +670,8 @@ REST_FRAMEWORK = {
     'DEFAULT_AUTHENTICATION_CLASSES': (
         'rest_framework.authentication.TokenAuthentication',
         'rest_framework.authentication.SessionAuthentication',
- )
+ ),
+ 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'
 }
 
 ARCHIVE_USERCONTESTS = False
---

Also regression tests should be added.

 Comments   
Comment by Tomek Waleń [ 2022-04-6 ]
handled in https://github.com/sio2project/oioioi/pull/55




[SIO-2496] add missing migrations Created: 2022-03-28  Updated: 2022-03-28  Resolved: 2022-03-28

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tomek Waleń Assignee: Tomasz Waleń
Resolution: Fixed Votes: 0
Labels: None


 Description   
clean installation (i.e. from docker) has some pending migrations
(1 in django-rest-framework, 1 in django-simple-captcha, 1 in oioioi/problems).

solution:
- upgrade django-rest-framework
- upgrade django-simple-captcha
- add missing migration to oioioi/problems

 Comments   
Comment by Gerrit Gerrit [ 2022-03-28 ]
Change oioioi~master~I318b6bd12770c8193800a83a949de33e7afdae94, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3818

SIO-2496 fixing issues with missing migrations

Change-Id: I318b6bd12770c8193800a83a949de33e7afdae94




[SIO-2495] Dodanie preferencji użytkownika Created: 2022-03-28  Updated: 2022-04-13  Resolved: 2022-04-13

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Improvement Priority: Major
Reporter: Andrzej Radzimiński Assignee: Andrzej Radzimiński
Resolution: Fixed Votes: 0
Labels: None


 Description   
Aktualnie nie istnieje możliwość prostego dodawania ustawień/preferencji użytkownika. Należy więc dodać model preferencji wraz form-ą ustawiającą je lub zaimplementować je w inny sposób.
Ostatecznie dodanie nowej preferencji użytkownika powinno sprowadzać się do kilku linii kodu, podobnie jak przy ustawieniach contest-u.

 Comments   
Comment by Gerrit Gerrit [ 2022-04-3 ]
Change oioioi~master~Ice93e01b4810b0a1c4c9d55404af145b9402bca3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3820

SIO-2495 Added user preferences

Change-Id: Ice93e01b4810b0a1c4c9d55404af145b9402bca3
Comment by Gerrit Gerrit [ 2022-04-4 ]
Change oioioi~master~Ice93e01b4810b0a1c4c9d55404af145b9402bca3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3820

SIO-2495 Added user preferences

Change-Id: Ice93e01b4810b0a1c4c9d55404af145b9402bca3
Comment by Gerrit Gerrit [ 2022-04-4 ]
Change oioioi~master~Ice93e01b4810b0a1c4c9d55404af145b9402bca3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3820

SIO-2495 Added user preferences

Change-Id: Ice93e01b4810b0a1c4c9d55404af145b9402bca3
Comment by Gerrit Gerrit [ 2022-04-4 ]
Change oioioi~master~Ice93e01b4810b0a1c4c9d55404af145b9402bca3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3820

SIO-2495 Added user preferences

Change-Id: Ice93e01b4810b0a1c4c9d55404af145b9402bca3
Comment by Gerrit Gerrit [ 2022-04-4 ]
Change oioioi~master~Ice93e01b4810b0a1c4c9d55404af145b9402bca3, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3820

SIO-2495 Added user preferences

Change-Id: Ice93e01b4810b0a1c4c9d55404af145b9402bca3
Comment by Gerrit Gerrit [ 2022-04-4 ]
Change oioioi~master~Ice93e01b4810b0a1c4c9d55404af145b9402bca3, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3820

SIO-2495 Added user preferences

Change-Id: Ice93e01b4810b0a1c4c9d55404af145b9402bca3
Comment by Gerrit Gerrit [ 2022-04-4 ]
Change oioioi~master~Ice93e01b4810b0a1c4c9d55404af145b9402bca3, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3820

SIO-2495 Added user preferences

Change-Id: Ice93e01b4810b0a1c4c9d55404af145b9402bca3
Comment by Gerrit Gerrit [ 2022-04-6 ]
Change oioioi~master~Ice93e01b4810b0a1c4c9d55404af145b9402bca3, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3820

SIO-2495 Added user preferences

Change-Id: Ice93e01b4810b0a1c4c9d55404af145b9402bca3




[SIO-2494] upgrade pytest Created: 2022-03-28  Updated: 2022-04-25

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Currently code is using pytest version 4.6.11 (released on 2020-06-04).

Current version is pytest 7.1.2 (released on 2022-04-23).

It seems that there are no reasons why we should use 4.x pytest version,
so we should use latest version of pytest in setup.py.

Some changes in tests API might be required:
https://docs.pytest.org/en/latest/backwards-compatibility.html




[SIO-2493] Solutions are not scored after clean SIO initialization Created: 2022-03-23  Updated: 2022-04-11

Status: Open
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Aleksander Tudruj Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: PNG File screencapture-localhost-8000-c-hello-contest-s-4-2022-03-30-19_00_59.png     PNG File Screenshot from 2022-03-30 18-58-51.png     PNG File Screenshot from 2022-03-30 18-58-57.png     PNG File Screenshot from 2022-03-30 19-03-06.png    

 Description   
After clean initialization of SIO solutions are not scored due to the lack of a few directories in 'web' container.

They can be easily crated using
```
mkdir -p media/links/submissions
mkdir -p media/links/problems
```
using container's bash (at /sio2/deployment), but this process looks like it could be solved during Docker initialization (in Dockerfile).


Update: It seems that the problem cannot be solved that easily. Creating the directories does not change anything. The first submission is never successful, but every other is.

This is the log generated at the page.

Traceback (most recent call last):
  File "/sio2/oioioi/oioioi/evalmgr/tasks.py", line 344, in evalmgr_job
    % (env['error']['message'], env['error']['traceback'])
RuntimeError: Error from workers:
Some tasks in a group failed.

Exception: received from worker237bb8b1bdbe@172.18.0.5:55778: exception: <twisted.python.failure.Failure exceptions.RuntimeError: Binding not existing location>
Remote traceback:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/_threads/_threadworker.py", line 46, in work
    task()
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/_threads/_team.py", line 190, in doWork
    task()
--- <exception caught here> ---
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/python/threadpool.py", line 250, in inContext
    result = inContext.theWork()
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
    inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/protocol/worker.py", line 14, in _runner_wrap
    renv = runner.run(env)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/workers/runner.py", line 75, in run
    environ = first_entry_point('sio.jobs', environ['job_type'])(environ)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/job.py", line 14, in run
    environ = compiler(environ)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/gcc.py", line 35, in run_gplusplus4_8_2_cpp11
    return CPPCompiler.gcc_4_8_2_cpp11().compile(environ)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/gcc.py", line 20, in gcc_4_8_2_cpp11
    obj = cls('gcc.4_8_2')
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/common.py", line 69, in __init__
    self.executor = PRootExecutor('compiler-' + self.sandbox)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/workers/executors.py", line 782, in __init__
    self._proot_options()
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/workers/executors.py", line 847, in _proot_options
    self._bind(self.chroot.path, force=True)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/workers/executors.py", line 810, in _bind
    raise RuntimeError("Binding not existing location")
exceptions.RuntimeError: Binding not existing location

TB:
Traceback (most recent call last):
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1116, in _cbDeferred
    self.callback(self.resultList)
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/defer.py", line 460, in callback
    self._startRunCallbacks(result)
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/sioworkersd/taskmanager.py", line 264, in _collect
    raise MultiException("Some tasks in a group failed.", failed)
sio.sioworkersd.taskmanager.MultiException: Some tasks in a group failed.

Exception: received from worker237bb8b1bdbe@172.18.0.5:55778: exception: <twisted.python.failure.Failure exceptions.RuntimeError: Binding not existing location>
Remote traceback:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/_threads/_threadworker.py", line 46, in work
    task()
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/_threads/_team.py", line 190, in doWork
    task()
--- <exception caught here> ---
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/python/threadpool.py", line 250, in inContext
    result = inContext.theWork()
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
    inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/oioioi/.local/lib/python2.7/site-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/protocol/worker.py", line 14, in _runner_wrap
    renv = runner.run(env)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/workers/runner.py", line 75, in run
    environ = first_entry_point('sio.jobs', environ['job_type'])(environ)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/job.py", line 14, in run
    environ = compiler(environ)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/gcc.py", line 35, in run_gplusplus4_8_2_cpp11
    return CPPCompiler.gcc_4_8_2_cpp11().compile(environ)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/gcc.py", line 20, in gcc_4_8_2_cpp11
    obj = cls('gcc.4_8_2')
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/common.py", line 69, in __init__
    self.executor = PRootExecutor('compiler-' + self.sandbox)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/workers/executors.py", line 782, in __init__
    self._proot_options()
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/workers/executors.py", line 847, in _proot_options
    self._bind(self.chroot.path, force=True)
  File "/home/oioioi/.local/lib/python2.7/site-packages/sio/workers/executors.py", line 810, in _bind
    raise RuntimeError("Binding not existing location")
exceptions.RuntimeError: Binding not existing location


The next step in the recipe was:

['compile_end', 'oioioi.programs.handlers.compile_end']
The final evaluation environment (with recipe and error_handlers removed for readability) was:

{ 'compilation_result_size_limit': 10485760,
    'compiler': 'g++4_8_2_cpp11',
    'contest_id': 'hello-contest',
    'contest_priority': 10,
    'contest_weight': 1000,
    'error': { 'message': 'Some tasks in a group failed.\n'
                            '\n'
                            'Exception: received from '
                            'worker237bb8b1bdbe@172.18.0.5:55778: exception: '
                            '<twisted.python.failure.Failure '
                            'exceptions.RuntimeError: Binding not existing '
                            'location> \n'
                            'Remote traceback:\n'
                            'Traceback (most recent call last):\n'
                            ' File "/usr/local/lib/python2.7/threading.py", '
                            'line 801, in __bootstrap_inner\n'
                            ' self.run()\n'
                            ' File "/usr/local/lib/python2.7/threading.py", '
                            'line 754, in run\n'
                            ' self.__target(*self.__args, **self.__kwargs)\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/_threads/ _threadworker.py", '
                            'line 46, in work\n'
                            ' task()\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/_threads/ _team.py", '
                            'line 190, in doWork\n'
                            ' task()\n'
                            '--- <exception caught here> ---\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/python/ threadpool.py", '
                            'line 250, in inContext\n'
                            ' result = inContext.theWork()\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/python/ threadpool.py", '
                            'line 266, in <lambda>\n'
                            ' inContext.theWork = lambda: context.call(ctx, '
                            'func, *args, **kw)\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/python/ context.py", '
                            'line 122, in callWithContext\n'
                            ' return '
                            'self.currentContext().callWithContext(ctx, func, '
                            '*args, **kw)\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/python/ context.py", '
                            'line 85, in callWithContext\n'
                            ' return func(*args,**kw)\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/protocol/worker.py", '
                            'line 14, in _runner_wrap\n'
                            ' renv = runner.run(env)\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/workers/runner.py", '
                            'line 75, in run\n'
                            " environ = first_entry_point('sio.jobs', "
                            "environ['job_type']) (environ)\n"
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/job.py", '
                            'line 14, in run\n'
                            ' environ = compiler(environ)\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/gcc.py", '
                            'line 35, in run_gplusplus4_8_2_cpp11\n'
                            ' return '
                            'CPPCompiler.gcc_4_8_2_cpp11().compile(environ)\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/gcc.py", '
                            'line 20, in gcc_4_8_2_cpp11\n'
                            " obj = cls('gcc.4_8_2')\n"
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/common.py", '
                            'line 69, in __init__\n'
                            " self.executor = PRootExecutor('compiler-' + "
                            'self.sandbox)\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/workers/ executors.py", '
                            'line 782, in __init__\n'
                            ' self._proot_options()\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/workers/ executors.py", '
                            'line 847, in _proot_options\n'
                            ' self._bind(self.chroot.path, force=True)\n'
                            ' File '
                            '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/workers/ executors.py", '
                            'line 810, in _bind\n'
                            ' raise RuntimeError("Binding not existing '
                            'location")\n'
                            'exceptions.RuntimeError: Binding not existing '
                            'location\n',
                 'traceback': 'Traceback (most recent call last):\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/ defer.py", '
                              'line 654, in _runCallbacks\n'
                              ' current.result = callback(current.result, '
                              '*args, **kw)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/ defer.py", '
                              'line 1116, in _cbDeferred\n'
                              ' self.callback(self.resultList)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/ defer.py", '
                              'line 460, in callback\n'
                              ' self._startRunCallbacks(result)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/ defer.py", '
                              'line 568, in _startRunCallbacks\n'
                              ' self._runCallbacks()\n'
                              '--- <exception caught here> ---\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/internet/ defer.py", '
                              'line 654, in _runCallbacks\n'
                              ' current.result = callback(current.result, '
                              '*args, **kw)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/sioworkersd/ taskmanager.py", '
                              'line 264, in _collect\n'
                              ' raise MultiException("Some tasks in a group '
                              'failed.", failed)\n'
                              'sio.sioworkersd.taskmanager.MultiException: '
                              'Some tasks in a group failed.\n'
                              '\n'
                              'Exception: received from '
                              'worker237bb8b1bdbe@172.18.0.5:55778: exception: '
                              '<twisted.python.failure.Failure '
                              'exceptions.RuntimeError: Binding not existing '
                              'location> \n'
                              'Remote traceback:\n'
                              'Traceback (most recent call last):\n'
                              ' File "/usr/local/lib/python2.7/threading.py", '
                              'line 801, in __bootstrap_inner\n'
                              ' self.run()\n'
                              ' File "/usr/local/lib/python2.7/threading.py", '
                              'line 754, in run\n'
                              ' self.__target(*self.__args, '
                              '**self.__kwargs)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/_threads/ _threadworker.py", '
                              'line 46, in work\n'
                              ' task()\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/_threads/ _team.py", '
                              'line 190, in doWork\n'
                              ' task()\n'
                              '--- <exception caught here> ---\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/python/ threadpool.py", '
                              'line 250, in inContext\n'
                              ' result = inContext.theWork()\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/python/ threadpool.py", '
                              'line 266, in <lambda>\n'
                              ' inContext.theWork = lambda: '
                              'context.call(ctx, func, *args, **kw)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/python/ context.py", '
                              'line 122, in callWithContext\n'
                              ' return '
                              'self.currentContext().callWithContext(ctx, '
                              'func, *args, **kw)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/twisted/python/ context.py", '
                              'line 85, in callWithContext\n'
                              ' return func(*args,**kw)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/protocol/worker.py", '
                              'line 14, in _runner_wrap\n'
                              ' renv = runner.run(env)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/workers/runner.py", '
                              'line 75, in run\n'
                              " environ = first_entry_point('sio.jobs', "
                              "environ['job_type']) (environ)\n"
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/job.py", '
                              'line 14, in run\n'
                              ' environ = compiler(environ)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/gcc.py", '
                              'line 35, in run_gplusplus4_8_2_cpp11\n'
                              ' return '
                              'CPPCompiler.gcc_4_8_2_cpp11().compile(environ)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/gcc.py", '
                              'line 20, in gcc_4_8_2_cpp11\n'
                              " obj = cls('gcc.4_8_2')\n"
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/compilers/common.py", '
                              'line 69, in __init__\n'
                              " self.executor = PRootExecutor('compiler-' + "
                              'self.sandbox)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/workers/ executors.py", '
                              'line 782, in __init__\n'
                              ' self._proot_options()\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/workers/ executors.py", '
                              'line 847, in _proot_options\n'
                              ' self._bind(self.chroot.path, force=True)\n'
                              ' File '
                              '"/ home/oioioi/.local/lib/python2.7/site-packages/sio/workers/ executors.py", '
                              'line 810, in _bind\n'
                              ' raise RuntimeError("Binding not existing '
                              'location")\n'
                              'exceptions.RuntimeError: Binding not existing '
                              'location\n'
                              '\n'},
    'eval_dir': '/eval/hello-contest/2',
    'exec_mode': 'unsafe',
    'extra_args': {},
    'extra_files': {},
    'group_id': 'GROUP_urn:uuid:8980e72f-527a-45e5-b6c3-b1a651168fca',
    'group_scorer': 'oioioi.programs.utils.min_group_scorer',
    'is_rejudge': True,
    'job_id': 'urn:uuid:ba0f4a74-c9e2-4ae0-ba15-efaba7434f0d',
    'language': 'cpp',
    'oioioi_instance': 'OIOIOI',
    'problem_id': 1,
    'problem_instance_id': 2,
    'problem_short_name': 'set',
    'report_kinds': ['INITIAL', 'NORMAL'],
    'restore_environ_func': 'oioioi.sioworkers.handlers.restore_job',
    'return_url': 'http://127.0.0.1:7890&#39;,
    'round_id': 1,
    'score_aggregator': 'oioioi.programs.utils.sum_score_aggregator',
    'source_file': '/problems/1/set.cpp@1648659058',
    'submission_id': 2,
    'submission_kind': 'IGNORED',
    'submission_owner': None,
    'untrusted_checker': False,
    'workers_jobs': { 'compile': { 'compilation_result_size_limit': 10485760,
                                       'compiler': 'g++4_8_2_cpp11',
                                       'contest_id': 'hello-contest',
                                       'contest_priority': 10,
                                       'contest_weight': 1000,
                                       'error_handlers': [ [ 'remove_queuedjob_on_error',
                                                                 'oioioi.evalmgr.handlers.remove_queuedjob_on_error'],
                                                              [ 'delete_executable',
                                                                 'oioioi.programs.handlers.delete_executable'],
                                                              [ 'create_error_report',
                                                                 'oioioi.contests.handlers.create_error_report'],
                                                              [ 'mail_admins_on_error',
                                                                 'oioioi.contests.handlers.mail_admins_on_error'],
                                                              [ 'update_report_statuses',
                                                                 'oioioi.contests.handlers.update_report_statuses'],
                                                              [ 'update_submission_score',
                                                                 'oioioi.contests.handlers.update_submission_score'],
                                                              [ 'update_user_results',
                                                                 'oioioi.contests.handlers.update_user_results'],
                                                              [ 'call_submission_judged',
                                                                 'oioioi.contests.handlers.call_submission_judged'],
                                                              [ 'dump_final_env',
                                                                 'oioioi.evalmgr.handlers.dump_env',
                                                                  { 'message': 'Finished '
                                                                                'evaluation'}],
                                                              [ 'error_handled',
                                                                 'oioioi.evalmgr.handlers.error_handled']],
                                       'exec_mode': 'unsafe',
                                       'extra_args': {},
                                       'extra_files': {},
                                       'group_scorer': 'oioioi.programs.utils.min_group_scorer',
                                       'is_rejudge': True,
                                       'job_id': 'urn:uuid:ba0f4a74-c9e2-4ae0-ba15-efaba7434f0d',
                                       'job_type': 'compile',
                                       'language': 'cpp',
                                       'oioioi_instance': 'OIOIOI',
                                       'out_file': '/eval/hello-contest/2/urn:uuid:ba0f4a74-c9e2-4ae0-ba15-efaba7434f0d- exe',
                                       'problem_id': 1,
                                       'problem_instance_id': 2,
                                       'problem_short_name': 'set',
                                       'recipe': [ [ 'compile_end',
                                                         'oioioi.programs.handlers.compile_end'],
                                                      [ 'after_compile',
                                                         'oioioi.evalmgr.tasks._placeholder'],
                                                      [ 'collect_tests',
                                                         'oioioi.programs.handlers.collect_tests'],
                                                      [ 'initial_run_tests',
                                                         'oioioi.programs.handlers.run_tests',
                                                          {'kind': 'EXAMPLE'}],
                                                      [ 'initial_run_tests_end',
                                                         'oioioi.programs.handlers.run_tests_end'],
                                                      [ 'initial_grade_tests',
                                                         'oioioi.programs.handlers.grade_tests'],
                                                      [ 'initial_grade_groups',
                                                         'oioioi.programs.handlers.grade_groups'],
                                                      [ 'initial_grade_submission',
                                                         'oioioi.programs.handlers.grade_submission',
                                                          {'kind': 'EXAMPLE'}],
                                                      [ 'initial_make_report',
                                                         'oioioi.programs.handlers.make_report',
                                                          {'kind': 'INITIAL'}],
                                                      [ 'update_report_statuses',
                                                         'oioioi.contests.handlers.update_report_statuses'],
                                                      [ 'update_submission_score',
                                                         'oioioi.contests.handlers.update_submission_score'],
                                                      [ 'update_report_statuses',
                                                         'oioioi.contests.handlers.update_report_statuses'],
                                                      [ 'update_submission_score',
                                                         'oioioi.contests.handlers.update_submission_score'],
                                                      [ 'after_initial_tests',
                                                         'oioioi.evalmgr.tasks._placeholder'],
                                                      [ 'check_problem_instance_state',
                                                         'oioioi.suspendjudge.handlers.check_problem_instance_state'],
                                                      [ 'before_final_tests',
                                                         'oioioi.evalmgr.tasks._placeholder'],
                                                      [ 'final_run_tests',
                                                         'oioioi.programs.handlers.run_tests',
                                                          {'kind': 'NORMAL'}],
                                                      [ 'final_run_tests_end',
                                                         'oioioi.programs.handlers.run_tests_end'],
                                                      [ 'final_grade_tests',
                                                         'oioioi.programs.handlers.grade_tests'],
                                                      [ 'final_grade_groups',
                                                         'oioioi.programs.handlers.grade_groups'],
                                                      [ 'final_grade_submission',
                                                         'oioioi.programs.handlers.grade_submission'],
                                                      [ 'final_make_report',
                                                         'oioioi.programs.handlers.make_report'],
                                                      [ 'after_final_tests',
                                                         'oioioi.evalmgr.tasks._placeholder'],
                                                      [ 'delete_executable',
                                                         'oioioi.programs.handlers.delete_executable'],
                                                      [ 'update_report_statuses',
                                                         'oioioi.contests.handlers.update_report_statuses'],
                                                      [ 'update_submission_score',
                                                         'oioioi.contests.handlers.update_submission_score'],
                                                      [ 'update_user_results',
                                                         'oioioi.contests.handlers.update_user_results'],
                                                      [ 'call_submission_judged',
                                                         'oioioi.contests.handlers.call_submission_judged'],
                                                      [ 'dump_final_env',
                                                         'oioioi.evalmgr.handlers.dump_env',
                                                          { 'message': 'Finished '
                                                                        'evaluation'}]],
                                       'report_kinds': ['INITIAL', 'NORMAL'],
                                       'round_id': 1,
                                       'score_aggregator': 'oioioi.programs.utils.sum_score_aggregator',
                                       'source_file': '/problems/1/set.cpp@1648659058',
                                       'submission_id': 2,
                                       'submission_kind': 'IGNORED',
                                       'submission_owner': None,
                                       'task_priority': 200,
                                       'untrusted_checker': False}},
    'workers_jobs.results': {}}

 Comments   
Comment by Aleksander Tudruj [ 2022-03-30 ]
Problems after submitting.
Comment by Aleksander Tudruj [ 2022-03-30 ]
Model solutions.
Comment by Aleksander Tudruj [ 2022-03-30 ]
First submission
Comment by Aleksander Tudruj [ 2022-03-30 ]
Second submission.




[SIO-2492] Translated strings which end with a space. Created: 2022-03-21  Updated: 2022-03-26  Resolved: 2022-03-26

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Mieszko Grodzicki Assignee: Tomasz Waleń
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File group_name.png    
Sprint: TAG 2021/22 Summer Sprint 1

 Description   
Some of strings translated in OIOIOI end with a space, which is very hard to notice in Transifex and can lead to errors such as this in a screenshot.

 Comments   
Comment by Gerrit Gerrit [ 2022-03-21 ]
Change oioioi~master~Ib25a4c5f3f50a6690b44f9ed1b8688eae8688564, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3814

SIO-2492 Remove ending whitespaces from translated strings.

Change-Id: Ib25a4c5f3f50a6690b44f9ed1b8688eae8688564
Comment by Tomek Waleń [ 2022-03-23 ]
In most cases white-spaces are due to concatenation of translated string with template variable.
We can use blocktrans in such case, i.e.:
```
{% blocktrans %}Please visit {{ msg_link }} to answer it.{% endblocktrans %}
```

The same applies to _ in python code, i.e.
```
_("Start of %s") % obj.name)
```
instead of
```
_("Start of") + " " + obj.name)
```
Comment by Gerrit Gerrit [ 2022-03-23 ]
Change oioioi~master~Ib25a4c5f3f50a6690b44f9ed1b8688eae8688564, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3814

SIO-2492 Remove ending whitespaces from translated strings.

Change-Id: Ib25a4c5f3f50a6690b44f9ed1b8688eae8688564




[SIO-2491] No avatar for admin created users Created: 2022-03-18  Updated: 2022-10-4

Status: In Progress
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Aleksander Tudruj Assignee: Aleksander Tudruj
Resolution: Unresolved Votes: 0
Labels: None
Environment: Django 2.2.26 and 3.0.14

Attachments: PNG File Screenshot from 2022-03-18 15-35-29.png    

 Description   
When logging in with a user account created via administrator panel there is no avatar photo in upper right corner.





[SIO-2490] Page at /api/docs/ generates response code 500 Created: 2022-03-18  Updated: 2022-04-6  Resolved: 2022-03-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Aleksander Tudruj Assignee: Tomasz Waleń
Resolution: Duplicate Votes: 0
Labels: None
Environment: Django version 2.2.26 and 3.0.14


 Description   
Visiting the page /api/docs/ at local oioioi or szkopul.pl results in response code 500 or `'AutoSchema' object has no attribute 'get_link'`.

 Comments   
Comment by Tomek Waleń [ 2022-03-30 ]
also ticketed as: https://jira.sio2project.mimuw.edu.pl/browse/SIO-2497




[SIO-2489] End-to-end testing with Cypress Created: 2022-03-17  Updated: 2022-08-14  Resolved: 2022-08-14

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Bartłomiej Chmiel Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File 0001-Add-cypress-e2e-tests-and-convenience-scripts.patch    

 Description   
Selenium tests are not working.
I propose new solution using Cypress (https://www.cypress.io).
Advantages:
- useful gui
- screenshot (or video) on test failure
- type safe tests (written in Typescript)
- testing on multiple browsers

I created PoC test suite: https://sinol3.dasie.mimuw.edu.pl/incvis/oioioi/merge_requests/1

See patch for more details.

 Comments   
Comment by Tomek Waleń [ 2022-03-17 ]
looks very interesting!

usefull links:
* https://sii.pl/blog/cypress-dlaczego-warto-zainteresowac-sie-tym-frameworkiem/
* https://www.youtube.com/watch?v=dwVfZI-49bg
Comment by Tomek Waleń [ 2022-04-25 ]
https://www.valentinog.com/blog/django-cypress/
Comment by Tomek Waleń [ 2022-04-25 ]
https://github.com/cypress-io/github-action

https://posthog.com/blog/cypress-end-to-end-tests




[SIO-2488] Make tests work with apostrophe encoded as both '&#39;' and '&#x27;'. Created: 2022-03-15  Updated: 2022-03-28  Resolved: 2022-03-28

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Mieszko Grodzicki Assignee: Kacper Lewandowski
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Kacper Lewandowski

 Description   
Currently some of tests checking whether response contains a phrase with an apostrophe assume that is encoded by '&#x27;' (or before upgrade to Django 3.0 - '&#39;'). It would be better to improve these tests so that they work without making such assumption.

 Comments   
Comment by Gerrit Gerrit [ 2022-03-20 ]
Change oioioi~master~Ife3c7458a81c37ca575ccc8d823b47382686dcc0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3812

SIO-2488 Escaping apostrophes in tests.

Currently apostrophes are escaped manually in some tests.
After this change django.utils.html.escape is called instead.

Change-Id: Ife3c7458a81c37ca575ccc8d823b47382686dcc0
Comment by Tomek Waleń [ 2022-03-23 ]
Django 2.2 was using internal escaping method (https://docs.djangoproject.com/pl/2.2/_modules/django/utils/html/) and in Django 3.0 python html.escape is used (https://docs.djangoproject.com/pl/3.0/_modules/django/utils/html/)




[SIO-2487] cleanup filterwarnings setting in pytest.ini Created: 2022-03-10  Updated: 2022-03-10

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Sprint: TAG 2021/22 Summer Sprint 1

 Description   
Currently filterwarnings ignores almost all depracationwarnings from oioioi code. This is inconvenient for testing library upgrades.

Proposed changes:
- show all warnings from oioioi during pytest
- fail pytest on selected warnings
- fix most important warnings and create Jira tickets for more time consuming




[SIO-2486] Merge hotfixes from szkopul to master branch of oioioi Created: 2022-03-10  Updated: 2022-06-5

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Andrzej Radzimiński
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File szkopul.diff    
Sprint: TAG 2021/22 Summer Sprint 1

 Description   
Repository
  ssh://gerrit.sio2project.mimuw.edu.pl:29418/szkopul
contains several hotfixes and changes dedicated to szkopul.edu.pl.
On every deployment changes from main repository are rebased on top of szkopuł repo (see https://hudson.sio2project.mimuw.edu.pl/job/szkopul-rebase/).

This procedure is inconvenient (i.e. hotfixes are not tested, sometimes there are conflicts during rebasing).
We should try to move as many hotfixes as possible to main code and/or move some functionality controlled by system settings.

Results of `git diff github/master origin/master -- ':!*/npm-shrinkwrap.json'` attached to a ticket.

Commits on szopul & not in oioioi/master (git log --no-merges origin/master ^github/master):

a69d242557b550206540a50e0477648a9e8b4816 (HEAD -> master, origin/master, origin/HEAD) Add a command for gathering submissions statistics.
53295c08dc66bccd813b33467a9cf155a07b1e98 Add command for finding SE submissions.
ecfd2f625dee1fc4018835012af5a2003b430b55 PRODFIX set c++17 for non-makefile sinol packages
77ac6145c33d7af9e8d01a117920b52c74ee5803 (temporary) Allow lorys to manage packages inside his contest
bc92854a40cdf5a0fa46ccac03d51f36eb246b6c (no-ticket) Fix unicode handling in StatusSaver
9f5843072dad127840dc27ed03d22b9028304854 [to-master] fixed available_compilers default
e86d89707e118a934ea7800e09572da4b066f023 (to-master) added select_related
fd2e8c22a9b9e4571e6bfe0f45b84924a9697204 (to-master) usercontests should not be public
00a2e301caab91ce94e6eb73b2e0cebe6029a6a1 (to-master) show_info_about_workers update API
a8df27c215923fe175c1e92f7e76e02b9464e1a9 (no-ticket) Fix utf-8-related crash in exportszu
b47a36a71c9c3ac56d151c44c705cd04156adb4c (to-master) Added ingen failure handling
403da241c78e2101cd86432fc0e2c1034cca9e80 [tmp] instrument The Queries for perf measure
b07d69f2b97ea179d46feac1e0565cb82cc3af3c [PRODFIX] Change oioioi/notifications/server/npm-shrinkwrap.json
dc4a0637a8a17d04290c9aea1eef2012b0e24f0a [HOTFIX] Fix statistics breaking for model solutions
4c6fa0e3a31af72157bf3f492d67a3e7094525e2 Added Main importer
042f6e24a67c344c10f4aa38b61e9678883fba28 [TEMPFIX] Print where the empty controller hack is needed
49ce358f401c0ca1c1545f953e97f5b9e6141957 TEMPFIX
53897253372ba58cbe113cef3a29c54163db8eca TMPHACK
04e4cc83ab5b1f293cc8bb086c10d6d1b03c9091 [DEBUG] Added more workers debug
f1793381beb9f60434c4b4177c1b3f4be7d60448 [DEBUG][IMPORTANT] Add some debug messages to receive_from_workers
aabc74edd7823b0ba977a781bd26266a66552177 HOTFIX: Teachers & forum
62e9fe2ded38323db451c35e444ff6d7496f7b1e Uncommited changes
1c2d21c14223dd1008a48169d8bf77b5f2e26a06 [HOTFIX] Some localchanges to sharingcli on Szkopuł
82896619f41cc73fc0d0c26b1426e193cb077b91 [HOTFIX] Remove oi dependency from participants migration

Aktualizacja na podstawie emaila od Pawła Dietricha (2022-03-14):

wydaje się, że następujące zmiany można dodać do mastera:

bc92854a40cdf5a0fa46ccac03d51f36eb246b6c
9f5843072dad127840dc27ed03d22b9028304854
e86d89707e118a934ea7800e09572da4b066f023
00a2e301caab91ce94e6eb73b2e0cebe6029a6a1
a8df27c215923fe175c1e92f7e76e02b9464e1a9
b47a36a71c9c3ac56d151c44c705cd04156adb4c
dc4a0637a8a17d04290c9aea1eef2012b0e24f0a


 Comments   
Comment by Tomek Waleń [ 2022-03-21 ]
hotfixes:

bc92854a40cdf5a0fa46ccac03d51f36eb246b6c
9f5843072dad127840dc27ed03d22b9028304854
e86d89707e118a934ea7800e09572da4b066f023
00a2e301caab91ce94e6eb73b2e0cebe6029a6a1
a8df27c215923fe175c1e92f7e76e02b9464e1a9
b47a36a71c9c3ac56d151c44c705cd04156adb4c
dc4a0637a8a17d04290c9aea1eef2012b0e24f0a

have been merged to main repo, see https://github.com/sio2project/oioioi/pull/53
Comment by Tomek Waleń [ 2022-04-13 ]
Uwagi (Patrycja Krzyna):

Potencjalnie można usunąć:
- [tmp] instrument The Queries for perf measure - jest z 2019 roku i jest tmp, nie brzmi jakby było jeszcze komuś potrzebne
- [HOTFIX] Remove oi dependency from participants migration - przy deployowaniu i tak aplikują się tylko nowe migracje, a przy stawianiu szkopuła od nowa migracje i tak kompletnie nie działają, więc chyba ten commit nic nie zmienia (ewentualnie jest bardzo niepoprawny)
- [TEMPFIX] Print where the empty controller hack is needed - z 2019, print debugowy, prawdopodobnie nikt już tego nie śledzi
- [DEBUG][IMPORTANT] Add some debug messages to receive_from_workers - jest to z 2018 roku, wiec szczerze wątpię, że ktos zamierza zrobić ten debug
- [DEBUG] Added more workers debug - jak wyżej



Wielka niewiadoma:
- Uncommited changes - dziwne losowe zmiany, w tym w sposobie oceniania zadań; ze względu na if True i nazwę uncommited changes wydaje się, że może to wylądowało wśród tych commitow przypadkiem
- TMPHACK - hardkoduje limit pamięci (env['ingen_mem_limit']) na 512MB; brzmi podejrzanie, ale chyba byłabym skłonna to usunąć
- Added Main importer - ktoś tego jeszcze używa? Czy to przeszkadzałoby na sio?
- [PRODFIX] Change oioioi/notifications/server/npm-shrinkwrap.json - nie bardzo rozumiem, co to robi
- (temporary) Allow lorys to manage packages inside his contest - czy to naprawdę jest zahardkodowanie uprawnień dla konkretnego użytkownika dla konkretnego contestu...?



Potencjalnie mozna zmergować:
- HOTFIX: Teachers & forum - chyba to tworzy forum na contestach robionych przez nauczycieli
- [DEBUG] Added more workers debug - jak wyżej
- Add command for finding SE submissions. - jakieś sensowne zmiany
- TEMPFIX - dodaje przycisk do kopiowania rozwiązań
- (to-master) usercontests should not be public - nie powinno w ogóle dotknąć sio, bo tam nie ma takich contestów
- PRODFIX set c++17 for non-makefile sinol packages - wydaje się niezbyt groźne
- Add a command for gathering submissions statistics. - również sensowne zmiany
- Add decoding to HTML problem statements. - jakaś drobna zmiana, też nie wygląda, jakby mogła wybuchnąć sio
Comment by Tomek Waleń [ 2022-04-25 ]
moje uwagi:
- HOTFIX: Teachers & forum - chyba to tworzy forum na contestach robionych przez nauczycieli
OK

- [DEBUG] Added more workers debug - jak wyżej
OK

- Add command for finding SE submissions. - jakieś sensowne zmiany
OK

- TEMPFIX - dodaje przycisk do kopiowania rozwiązań
OK (ale tam jest tez coś o javascript_catalog a to juz chyba jest)

- (to-master) usercontests should not be public - nie powinno w ogóle dotknąć sio, bo tam nie ma takich contestów
OK

- PRODFIX set c++17 for non-makefile sinol packages - wydaje się niezbyt groźne
OK, ale coś trzeba zrobić z settings_global tam dalej jest GCC 4.8

- Add a command for gathering submissions statistics. - również sensowne zmiany
OK

- Add decoding to HTML problem statements. - jakaś drobna zmiana, też nie wygląda, jakby mogła wybuchnąć sio
OK chociaz nie bardzo rozumiem, jak takie pliki z bledami mają się poprawnie wyświetlić




[SIO-2485] Adding SmartJudge -- possibility of judging only tests that affect score Created: 2022-03-9  Updated: 2022-03-9

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Joanna Wojciechowska Assignee: Joanna Wojciechowska
Resolution: Unresolved Votes: 0
Labels: None


 Description   
SmartJudge is a tool implemented by Karol Farbis on SIO2 staszic (https://github.com/InformatykaNaStart/staszic-sio2). It allows to set a mode where only essential tests are judged, so when one of the tests is not OK, all other tests in given package are ignored.




[SIO-2484] broken tests for django 2.2.26 Created: 2022-03-6  Updated: 2022-03-23  Resolved: 2022-03-18

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tomek Waleń Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Aleksander Tudruj
Sprint: TAG 2021/22 Summer Sprint 1

 Description   
Due to changes in Django 2.2.26 some tests fail.

Cause:
- changes for dictsort usage in templates: https:// docs.djangoproject.com/en/4.0/releases/2.2.26/#cve-2021-45116-potential- information-disclosure-in-dictsort-template-filter

How to reproduce:
- pip3 install -U django==2.2.26
- docker-compose -f docker-compose-dev.yml -f extra/docker/docker-compose-dev-noserver.yml exec "web" ../oioioi/test3.sh -v oioioi/problems/tests/test_task_archive.py

affected template:

+++ b/oioioi/problems/templates/problems/task-archive-problemgroup.html
    {% for value, subdict in problems.subnodes.items|dictsort:"0.order" %}

affected view:

task_archive_tag_view


code
```
problems.subnodes.items|dictsort:"0.order"
```
sorts tuples (subnodes.items()) by value of order attribute of first element of tuple (key)


 Comments   
Comment by Gerrit Gerrit [ 2022-03-9 ]
Change oioioi~master~I2ef92d9a7169fbd0444d127f17628c53dde9ead7, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3809

(SIO-2484) broken tests for django 2.2.26

Due to changes in Django 2.2.26 some tests fail.
The container with subnodes was changed in order to use a new dictsort.

Change-Id: I2ef92d9a7169fbd0444d127f17628c53dde9ead7
Comment by Gerrit Gerrit [ 2022-03-14 ]
Change oioioi~master~Id0aaeee56572f534a72d88cff68e1115722068a6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3811

SIO-2462 Django upgrade to 3.1

While repairing the tests for django 2.2.26 in the ticket SIO-2484,
dictsort:"value.order" is used. Apparently, from django 3.1 in order to
sort elements, comparator is based on _eq_ function (there's no default
ordering), so _eq_ func from FakeOriginInfoValue is used while performing query.

Unfortunately, in some queries it's possible that FakeOriginInfoValue objects
are among OriginInfoValue objects, but OriginInfoValue class doesn't have cat
variable.

Change-Id: Id0aaeee56572f534a72d88cff68e1115722068a6
Comment by Gerrit Gerrit [ 2022-03-23 ]
Change oioioi~master~I856c07af5d30de3f3ed34186c1a097128dc2f42e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3815

SIO-2462 Django upgrade to 3.1

While repairing the tests for django 2.2.26 in the ticket
SIO-2484, dictsort:"value.order" is used. Apparently,
from django 3.1 in order to sort elements, comparator
is based on _eq_ function (there's no default ordering),
so _eq_ func from FakeOriginInfoValue is used while
performing query.

Unfortunately, in some queries it's possible that
FakeOriginInfoValue objects are among OriginInfoValue
objects, but OriginInfoValue class doesn't have the: cat variable.

Change-Id: I856c07af5d30de3f3ed34186c1a097128dc2f42e




[SIO-2483] Mitigate possibility of input data tasks leaks Created: 2022-03-2  Updated: 2022-03-16

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Mieszko Grodzicki
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File sorchk.cpp    
Sprint: TAG 2021/22 Summer Sprint 1

 Description   
Mitategate possibility of leaking input data for tasks with full-feedback.
During Algorithms & Data structure exams it happened few times that students leaked input data for tests using printing tests.

Workaround (used during one exam): custom checker that limits verbosity of wrong answer result (see attached sorchk.cpp)

Dwie możliwe (i łatwe do wprowadzenia) opcje:
  1. Uczestnik wcale nie widzi komentarzy do testów z wynikiem WA.
  2. Uczestnik widzi komentarze do testów z wynikiem WA, ale ucięte bardziej niż obecnie (np. do 80 znaków).
Poza tym pozostają dwa pytania:
  - Czy powinno to być ustawienie dotyczące contestu, czy rundy? Jako ustawienie pojedynczego zadania raczej nie ma sensu (główne potencjalne zastosowanie to kolokwia, egzaminy, sprawdziany, gdzie ukrywanie komentarzy dotyczy wszystkich zadań).
  - Czy ukrywanie powinno dotyczyć tylko czasu trwania rundy (jeżeli byłoby to ustawienie rundy), czy powinno być aktywne aż do wyłączenia przez administratora contestu?




[SIO-2482] Add option for contest configuration to ignore invalid submissions Created: 2022-02-28  Updated: 2022-02-28

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Summer Sprint 1
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Sprint: TAG 2021/22 Summer Sprint 1

 Description   
Add option for contest configuration (i.e. Olimpiada Informatyczna), such that:

As a contestant I would like to avoid situation when submitting wrong file cancels my score for already solved task (i.e. if by mistake I submit solution for task A as a solution for task B).

Such situation happens rarely (but it happens) during OI contests (for example it happened once this year in Feb 2022).

Possible solutions:
- ignore in ranking solutions that does not pass example tests
- use in the ranking last solution that pass example tests (tests that are included in the task description)
- [SPECIAL CASE] if for some task there are no solutions that pass example tests then use in ranking last submitted solution




[SIO-2481] Store author's information about packages Created: 2022-02-8  Updated: 2022-02-8

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Kostka Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None


 Description   
In main (no. 1) it was possible to specify problem's author. We should add this metadata to the package's config and parse it in oioioi.




[SIO-2480] Translation of default iomode in sinol.cls file is not working Created: 2022-02-8  Updated: 2022-02-8

Status: New
Project: The SIO2 project
Component/s: Translations
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
In /oioioi/sinolpack/files there is a sinol.cls file.
When used in task statements, it has a default iomode (\iomode{files}).
It does not update translations of example input/output texts, making them always polish.

PS: Moving the line to the bottom might fix the issue.
PSS: Should files really be the default iomode?
PSSS: And should we really use 8 years old sinol.cls file? There are surely newer versions around in use.




[SIO-2479] Fix problemset URLs Created: 2022-01-20  Updated: 2022-01-26  Resolved: 2022-01-26

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Adam Al-Hosam Assignee: Adam Al-Hosam
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screenshot 2022-01-20 at 23.20.13.png    

 Description   
When somebody tries to go to problemset while being in some contest, the URL "remembers" the contest (the suffix is /c/contest_name/problemset) .

Because of that users are not able to submit to any problem.

Steps to reproduce:
1. Choose any contest from the main page.
2. Choose problemset from dropdown menu in the navbar.

 Comments   
Comment by Gerrit Gerrit [ 2022-01-20 ]
Change oioioi~master~Ie3e4ca23c0dc39a301ddc91f3e15e42c38078e81, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3803

SIO-2479 Fix problemset URLs

The fix was simply putting an appropriate url pattern in problems/urls.py
into noncontest_patterns as instructed in comments of contests/urls.py.

Change-Id: Ie3e4ca23c0dc39a301ddc91f3e15e42c38078e81




[SIO-2478] Add link to the solution of each problem in problems tab Created: 2022-01-19  Updated: 2022-01-31  Resolved: 2022-01-31

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Aleksander Tudruj Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screenshot from 2022-01-19 18-41-40.png    

 Description   
When somebody wants to look for a solution of some problem they submitted a long time ago, sometimes it can be hard to find it in a long list of submissions.

I suggest adding a hyperlink to a last submission of a score visible in a 'problems' tab. This will improve users experience as well as save a lot of time.

 Comments   
Comment by Gerrit Gerrit [ 2022-01-20 ]
Change oioioi~master~Icf941e12d6a3bc8c623bf642079eea747df1b9db, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3802

(SIO-2478) Add link to the solution of each problem in problems tab

Added link to a submission score to easily jump to the source code from problem page

Change-Id: Icf941e12d6a3bc8c623bf642079eea747df1b9db
Comment by Gerrit Gerrit [ 2022-01-23 ]
Change oioioi~master~Icf941e12d6a3bc8c623bf642079eea747df1b9db, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3802

(SIO-2478) Add link to the solution of each problem in problems tab

Added link to a submission score to easily jump to the source code from problem page

Change-Id: Icf941e12d6a3bc8c623bf642079eea747df1b9db
Comment by Gerrit Gerrit [ 2022-01-23 ]
Change oioioi~master~Icf941e12d6a3bc8c623bf642079eea747df1b9db, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3802

(SIO-2478) Add link to the solution of each problem in problems tab

Added link to a submission score to easily jump to the source code from problem page

Change-Id: Icf941e12d6a3bc8c623bf642079eea747df1b9db
Comment by Gerrit Gerrit [ 2022-01-23 ]
Change oioioi~master~Icf941e12d6a3bc8c623bf642079eea747df1b9db, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3802

(SIO-2478) Add link to the solution of each problem in problems tab

Added link to a submission score to easily jump to the source code from problem page

Change-Id: Icf941e12d6a3bc8c623bf642079eea747df1b9db
Comment by Gerrit Gerrit [ 2022-01-23 ]
Change oioioi~master~Icf941e12d6a3bc8c623bf642079eea747df1b9db, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3802

(SIO-2478) Add link to the solution of each problem in problems tab

Added link to a submission score to easily jump to
the source code from problem page

Change-Id: Icf941e12d6a3bc8c623bf642079eea747df1b9db
Comment by Gerrit Gerrit [ 2022-01-26 ]
Change oioioi~master~Icf941e12d6a3bc8c623bf642079eea747df1b9db, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3802

(SIO-2478) Add link to the solution of each problem in problems tab

Added link to a submission score to easily jump to
the source code from problem page

Change-Id: Icf941e12d6a3bc8c623bf642079eea747df1b9db
Comment by Gerrit Gerrit [ 2022-01-26 ]
Change oioioi~master~Icf941e12d6a3bc8c623bf642079eea747df1b9db, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3802

(SIO-2478) Add link to the solution of each problem in problems tab

Added link to a submission score to easily jump to
the source code from problem page

Change-Id: Icf941e12d6a3bc8c623bf642079eea747df1b9db
Comment by Gerrit Gerrit [ 2022-01-26 ]
Change oioioi~master~Icf941e12d6a3bc8c623bf642079eea747df1b9db, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3802

(SIO-2478) Add link to the solution of each problem in problems tab

Added link to a submission score to easily jump to
the source code from problem page

Change-Id: Icf941e12d6a3bc8c623bf642079eea747df1b9db




[SIO-2477] simplify deployment Created: 2022-01-11  Updated: 2022-02-28

Status: New
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Currently deployment requires:
- manual patching of master branch with custom list of commits
- using external scripts
- is not documented well

Goals:
- all patches are included in master branch (and possibly turned on/off by settings)
- scripts are includes in the repo
- there exists some documentation for the process





[SIO-2476] migrate from python 3.6 to 3.7 or 3.8 Created: 2022-01-11  Updated: 2022-02-28

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Sprint: TAG 2021/22 Summer Sprint 1

 Description   
Support for python 3.6 ended on 23 Dec 2021.




[SIO-2475] drop support for python 2.7 Created: 2022-01-11  Updated: 2022-04-22  Resolved: 2022-04-22

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tomek Waleń Assignee: Tomasz Waleń
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2021/22 Summer Sprint 1

 Description   
python 2.7 support ended on 01 Jan 2020


 Comments   
Comment by Tomek Waleń [ 2022-04-13 ]
work in progress: https://github.com/sio2project/oioioi/pull/57




[SIO-2474] Fix night builds Created: 2022-01-10  Updated: 2022-02-28  Resolved: 2022-02-28

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: TAG 2021/22 Winter Sprint

Type: Bug Priority: Major
Reporter: Tomek Waleń Assignee: Tomasz Waleń
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Mieszko Grodzicki

 Description   
Night tests on Hudson are failing since May 2021.
This is due to version conflict for Python 2 installation.

Goals:
- remove support for python 2 in nighthly tests and move to python 3
- make sure that tests are passing and they take less than 1.5hr

 Comments   
Comment by Mieszko Grodzicki [ 2022-01-26 ]
Próbowałem zrealizować (https://hudson.sio2project.mimuw.edu.pl/job/oioioi-nightly-unittests-python3) testy nightly analogicznie jak aktualnie działające https://hudson.sio2project.mimuw.edu.pl/job/oioioi-gerrit-unittests-python3 , niestety takie zadanie kończy się błędem przy instalacji pakietu djsupervisor, analogicznym zresztą, jak w oioioi-translations-upload. Co ciekawe, ten sam pakiet instaluje się bez problemu w oioioi-gerrit-unittests-python3. Podejrzewam, że wynika to z tego, że oioioi-gerrit-unittests-python3 nie tworzy od nowa virtualenv3, jeżeli ono już istnieje. W ten sposób testy te bazują na virtualenvie ze nieaktualizowanymi wersjami pakietów i prawdopodobnie tylko dzięki temu (w szczególności stara wersja setuptools) pakiet djsupervisor instaluje się poprawnie.
Comment by Mieszko Grodzicki [ 2022-01-26 ]
Błąd przy instalacji djsupervisor:

Collecting djsupervisor==0.4.0
  Using cached http://github.com/badochov/djsupervisor/zipball/master
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /home/users/sio2devel/.hudson/jobs/oioioi-nightly-unittests-python3/ workspace/virtualenv3/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-509quzf3/ djsupervisor_51aea4f15df14420a6c5e6339cdf0227/setup.py'"'"'; __file__='"'"'/tmp/pip-install-509quzf3/ djsupervisor_51aea4f15df14420a6c5e6339cdf0227/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jbxkjxc0
       cwd: /tmp/pip-install-509quzf3/djsupervisor_51aea4f15df14420a6c5e6339cdf0227/
  Complete output (1 lines):
  error in djsupervisor setup command: use_2to3 is invalid.

Pakiet nie jest już rozwijany, ostatnia wersja pochodzi z 2016 roku. Trzeba zastanowić się, czy jesteśmy w stanie z niego zrezygnować.
Comment by Tomek Waleń [ 2022-01-27 ]
Problem z use_2to3 wynika ze zmian w PIP:

https://stackoverflow.com/questions/69100275/error-while-downloading-the-requirements-using-pip-install-setup-command-use-2
Comment by Tomek Waleń [ 2022-02-28 ]
poprawiłem, już wszystko działa




[SIO-2473] Invalid INDEX format in export submission Created: 2022-01-10  Updated: 2022-03-23  Resolved: 2022-03-23

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tomek Waleń Assignee: Patrycja Krzyna
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screenshot 2022-01-10 at 20.45.14.png    
TAG Developer: Patrycja Krzyna
TAG Reviewer: Tomek Waleń
Sprint: TAG 2021/22 Summer Sprint 1

 Description   
After "Export submission" the format of INDEX file is invalid.
Most columns are exported with binary string tag (see anonymized screenshot).
UTF characters are exported in hex format.

Expected behaviour:
INDEX file that can be loaded to Excel or pandas.read_csv

 Comments   
Comment by Patrycja Krzyna [ 2022-03-6 ]
I couldn't reproduce it - files generated by my local instance look like this:

submission_id,user_id,username,first_name,last_name,city,school,school_city,problem_short_name,score
54,1,admin,,,NULL,NULL,NULL,sum,100
55,2,uczestnik,Uczestnik,Testowy,NULL,NULL,NULL,sum,100
56,2,uczestnik,Uczestnik,Testowy,NULL,NULL,NULL,sum,0

I've also tried generating this file for a real contest on sio2.mimuw.edu.pl and it looks fine, too...
Comment by Gerrit Gerrit [ 2022-03-21 ]
Change oioioi~master~I94410256678ee02be421d0c56e5c4c103950d66d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3813

SIO-2473 fixing broken INDEX format in exportszu

Change-Id: I94410256678ee02be421d0c56e5c4c103950d66d




[SIO-2472] c++17 support in sinol makefiles Created: 2022-01-1  Updated: 2022-01-2  Resolved: 2022-01-2

Status: Resolved
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Paweł Dietrich Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently we override makefiles in sinol packs, which force c++11. Jury want's c++17, which is fairly available on modern machines.

 Comments   
Comment by Paweł Dietrich [ 2022-01-2 ]
Lista części zmian wstecznie niekompatybilnych z c++11 wg cppreference

Oznaczone jako usunięte:
- Pozbycie się śmiesznego encodowania znaków jak `??-` -> `~`
- pozbycie się funkcji: std::auto_ptr, std::random_shuffle, std::unexpected,
- klucz `register`
- wrappery na funkcje `mem_fun` i podobne,
- the obsolete io streams aliases (np. ios_base open_mode)
- preinkrementacja `bool`'a nie jest już zdefiniowana jako `true`
- [dynamic exception specification](https://en.cppreference.com/w/cpp/language/except_spec)

Oznaczone jako do wycofania:
- typy i funkcje std::iterator, std::raw_storage_iterator, std::get_temporary_buffer, std::is_literal_type, std::result_of
- biblioteka <codecvt>
- Kilka funkcji do wyfocania z [utility/functional](https://en.cppreference.com/w/cpp/utility/functional#Old_binders_and_adaptors)
Comment by Gerrit Gerrit [ 2022-01-2 ]
Change oioioi~master~I3c749b6a2b61957e89c8e665dc3cc076a23012dc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3798

SIO-2472 Add c++17 support in sinol makefiles

Change-Id: I3c749b6a2b61957e89c8e665dc3cc076a23012dc
Comment by Gerrit Gerrit [ 2022-01-2 ]
Change oioioi~master~I3c749b6a2b61957e89c8e665dc3cc076a23012dd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3800

SIO-2472 Add c++17 support in sinol makefiles

Change-Id: I3c749b6a2b61957e89c8e665dc3cc076a23012dd




[SIO-2471] Missing edit test options Created: 2021-12-30  Updated: 2022-01-31  Resolved: 2022-01-31

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alicja Kluczek Assignee: Joanna Wojciechowska
Resolution: Fixed Votes: 0
Labels: None

Attachments: PDF File Gmail - Brakujące testy w ustawieniach zadania.pdf    

 Description   
Recently we received complaint about missing options in PI edit UI. Please see the e-mail attached.

 Comments   
Comment by Gerrit Gerrit [ 2022-01-24 ]
Change oioioi~master~Ibbe0cb3cf02b543686a3a1d2703b83a9ba2e9d60, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3807

SIO-2471 Missing edit test options

Setting last test row to hidden deleted.

Change-Id: Ibbe0cb3cf02b543686a3a1d2703b83a9ba2e9d60




[SIO-2470] Race condition in ranking creation Created: 2021-12-29  Updated: 2022-04-11

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment: szkopul.edu.pl


 Description   
Sometimes, the same user is enlisted twice in the ranking. See attached screenshot.

 Comments   
Comment by Paweł Dietrich [ 2022-01-2 ]
@Tomek Waleń. Skasowałem screenshota, ponieważ były na nim dane osobowe.

Skoro już komentuję, to już się kiedyś spotkałem z tym problemem. Ogólnie w oioioi jest dość dużo race conditionów i bugów TOCTOU. Wydaje się, że akurat TOCTOU można naprawić przy pomocy transations.atomic(). Race conditiony wynikające z równoległego działania wielu części kodu wymagają więcej uwagi i pomysłu. Z drugiej strony mamy trochę tych programów w oioioi, które działają sobie w tle i pamiętam, że raz przez przypadek uruchomiliśmy rankingsd dwa razy i wtedy też się ranking popsuł. Z punktu widzenia HA takie ograniczenia przeszkadzają i w wypadku przeprojektowania rankingów warto o tym pomyśleć.
Comment by Tomek Waleń [ 2022-04-11 ]
na szkopule pojawił się następujący hotfix:
```
iff --git a/oioioi/rankings/controllers.py b/oioioi/rankings/controllers.py
index aec61f24..ed36bda9 100644
--- a/oioioi/rankings/controllers.py
+++ b/oioioi/rankings/controllers.py
@@ -390,7 +390,8 @@ class DefaultRankingController(RankingController):
             .select_related('problem')
             .prefetch_related('round')
         )
- users = self.filter_users_for_ranking(key, User.objects.all())
+ users = self.filter_users_for_ranking(key, User.objects.all()).distinct()
         results = (
             UserResultForProblem.objects.filter(
                 problem_instance__in=pis, user__in=users
```




[SIO-2469] List of rounds for specific contest Created: 2021-12-11  Updated: 2022-12-12

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Aleksey Ropan Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Query https://sio2.mimuw.edu.pl/c/pa-2021-1/status/ returns information about one round (current or future) only. Can you add a list of rounds for a specific contest with times information?

I want to create automatic export contests and rounds to clist.by.

 Comments   
Comment by Aleksey Ropan [ 2022-12-12 ]
Maybe it's already fixed or is there an update?




[SIO-2468] Bycie anonimowym nie robi cię anonimowym Created: 2021-12-9  Updated: 2022-03-17

Status: New
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Tomasz Nowak Assignee: Kacper Lewandowski
Resolution: Unresolved Votes: 0
Labels: None

Sprint: TAG 2021/22 Summer Sprint 1

 Description   
Obecnie istnieje możliwość "anonimowego" uczestnictwa w konkursie. Polega ona na zastąpieniu imienia i nazwiska uczestnika jego loginem w rankingu.

Nie jest to rzeczywista anonimowość - login może zawierać fragmenty nazwiska, być znany dla kolegów itd.

Ponadto, opcja ta jest niedostępna w większości konkursów.



Możliwym rozwiązaniem jest używanie ustalonego ciągu znaków ("???", "anonimowy" itd) w miejsce loginu.
(Można by też takich uczestników wcale nie pokazywać w publicznym rankingu, przy czym wydaje się to rozwiązaniem bardzo niekorzystnym.)


Kwestie do rostrzygnięcia:
  1. Czy nowa wersja powinna zastąpić dotychczasową, czy istnieć równolegle do niej (do wyboru dla administratora pomiędzy brakiem anonimowości / loginem / "???")
  2. Jak powinno wyglądać zarządzanie tym ustawieniem - np. ustalone w typie konkursu (tak jak obecnie) lub możliwe do modyfikacji w ustawieniach konkursu (ewentualnie wartości domyślne dla danego serwera)


Dla zachowania zgodności ze stanem obecnym sensowne wydaje się wprowadzenie tej zmiany jako nowej opcji per konkurs, która nadpisywałaby dotychczasowe zachowanie.




 Comments   
Comment by Tomasz Nowak [ 2021-12-9 ]
Przykład: https://sio2.mimuw.edu.pl/c/pa-2021-1/ranking/

W rankingu widać użytkownia "apiad". Od razu wiadomo, że to jest tak naprawdę Xiuhan Wang i że cię totalnie rozwali podczas contestu.
Comment by Tomasz Nowak [ 2021-12-9 ]
Wcześniej też był k_walentynowicz w rankingu, ale teraz już jest po prostu Kacper Walentynowicz. Pewnie stwierdził, że ta opcja anonimowości jest tak beznadziejna, że już lepiej jest pokazywać swoje imię i nazwisko.
Comment by Przemysław Podleśny [ 2021-12-16 ]
Więcej nawet, "anonimowi" użytkownicy, którzy zremisowali wynikiem z innymi, razem z nimi są sortowani po nazwisku, więc gdyby ktoś miał jakąś wątpliwość co do tego, kto ukrywa się pod danym pseudonimem, może ją w ten sposób rozwiać ostatecznie :)
Comment by Paweł Dietrich [ 2022-03-17 ]
> Możliwym rozwiązaniem jest używanie ustalonego ciągu znaków ("???", "anonimowy" itd) w miejsce loginu.

Jeżeli chcemy używać ciągu znaków to należy to graficznie odróżnić od zwykłego loginu/Danych zawodnika. Jedną z opcji, ale chyba słabą jest wyświetlanie pustego pola. Cokolwiek zostanie wybrane powinno być szeroko przemyślane od strony UI i UX.

> 1. Czy nowa wersja powinna zastąpić dotychczasową, czy istnieć równolegle do niej

Potrzebujemy mieć wsteczną kompatybilność do starych contestów (W sensie akcpetujemy jak w starych contestach pojawi się zawodnik anomiowy czy inny tekst zamiast loginu). A można rozważyć, aby nowe contesty uzywały właśnie tej nowej formy anonimizacji.

> 2. Jak powinno wyglądać zarządzanie tym ustawieniem

Pewnie najlepiej Default w kontrolerze i override w ustawieniach konkursu.




[SIO-2467] Bulk move problems between contests Created: 2021-11-28  Updated: 2021-11-28

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Bartłomiej Chmiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Currently it is possible to move problems on one by one basis. New feature will allow to select and move problems from one contest to another all at once.

This will speed up contest creation when some of the problems are reused.




[SIO-2466] Participation in contest without being visible in Ranking Created: 2021-11-28  Updated: 2021-11-28

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Bartłomiej Chmiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
We heard that some participants are "afraid" to participate because their result will be visible on the public Ranking list.

This feature will allow less confident participants to take part in contest without exposing their results to their colleagues.




[SIO-2465] Limiting visibility of Ranking list Created: 2021-11-28  Updated: 2021-11-28

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Bartłomiej Chmiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Setting visibility of Ranking list for particular contest, depending on admin's choice.

Visibility modes:
- hidden
- visible to teacher only
- visible




[SIO-2464] In some browsers "No, go back" button deletes account at /delete_account. Created: 2021-11-24  Updated: 2021-12-8  Resolved: 2021-12-8

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Aleksander Tudruj Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None


 Description   
On page "/delete_account/" the "No, go back" button also removes account.
This problem was diagnosed on chrome based browsers (Google Chrome, new Microsoft Edge), but not on Firefox.

HTML standard says button with no type is submit. Firefox documentation says button with no type is submit if no submit button is present in the form and button otherwise. It worked in Firefox, but only due to incompatibility with the standard.

Therefore they should had been given type different from "submit".

 Comments   
Comment by Gerrit Gerrit [ 2021-11-24 ]
Change oioioi~master~I2d317da237496b526b50a09a468f7aff83e0e8ab, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3786

(SIO-2464) Fix accidental account deletion In some browsers "No, go back" button caused account deletion instead of going back. Button with no type was treated as submit button for "delete_account" form.

Change-Id: I2d317da237496b526b50a09a468f7aff83e0e8ab
Comment by Paweł Dietrich [ 2021-11-24 ]
How about the rest of "Go back buttons" in oioioi? Are they fine?
Comment by Aleksander Tudruj [ 2021-11-24 ]
Every other button "go back" in forms I found already has proper type="button".




[SIO-2463] Incomplete support for quiz problems Created: 2021-11-23  Updated: 2022-01-28

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Mieszko Grodzicki Assignee: Joanna Wojciechowska
Resolution: Unresolved Votes: 0
Labels: None


 Description   
* "Add a quiz", "Quiz name" are not translated into Polish.
* It is possible to enable reveals for a quiz problem, but then trying to open submission page results in RelatedObjectDoesNotExist exception.

 Comments   
Comment by Gerrit Gerrit [ 2021-12-7 ]
Change oioioi~master~Ic5010d2015e58020c3bf8a86ae363e65864a7d73, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3791

SIO-2463 Added translations and bug fixed

Change-Id: Ic5010d2015e58020c3bf8a86ae363e65864a7d73
Comment by Gerrit Gerrit [ 2021-12-7 ]
Change oioioi~master~I54c646f781271099fa1fd31ed7b09dd105969d48, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3792

SIO-2463 Incomplete support for quiz problems All the translations in .po file added and bug: "trying to open submission page results in RelatedObjectDoesNotExist exception"

Change-Id: I54c646f781271099fa1fd31ed7b09dd105969d48
Comment by Gerrit Gerrit [ 2021-12-9 ]
Change oioioi~master~Iaa1c0607281f49f303e90f70aaefba2721752595, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3793

SIO-2463 Incomplete support for quiz problems Bug: "trying to open submission page results in RelatedObjectDoesNotExist exception"

Change-Id: Iaa1c0607281f49f303e90f70aaefba2721752595
Comment by Gerrit Gerrit [ 2022-01-24 ]
Change oioioi~master~Iaa1c0607281f49f303e90f70aaefba2721752595, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3793

SIO-2463 Incomplete support for quiz problems Bug: "trying to open submission page results in RelatedObjectDoesNotExist exception"

Change-Id: Iaa1c0607281f49f303e90f70aaefba2721752595
Comment by Gerrit Gerrit [ 2022-01-24 ]
Change oioioi~master~I589b80ec4ff4f56763ac87834e03e1eff7085558, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3806

ProgrammingContestController.mix_in(ScoresRevealContestControllerMixin) SIO-2463 Incomplete support for quiz problems Tests for quizzes changed -- Submission.objects.get() replaced with QuizSubmission.objects.get(). Testing the bug added -- trying to submit quiz and then reveal it. Whitespaces from oioioi/contests/models.py deleted.

Change-Id: I589b80ec4ff4f56763ac87834e03e1eff7085558
Comment by Gerrit Gerrit [ 2022-01-24 ]
Change oioioi~master~I589b80ec4ff4f56763ac87834e03e1eff7085558, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3806

SIO-2463 Incomplete support for quiz problems Tests for quizzes changed -- Submission.objects.get() replaced with QuizSubmission.objects.get(). Testing the bug added -- trying to submit quiz and then reveal it. Whitespaces from oioioi/contests/models.py deleted.

Change-Id: I589b80ec4ff4f56763ac87834e03e1eff7085558
Comment by Gerrit Gerrit [ 2022-01-28 ]
Change oioioi~master~I589b80ec4ff4f56763ac87834e03e1eff7085558, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3806

SIO-2463 Incomplete support for quiz problems Tests for quizzes changed -- Submission.objects.get() replaced with QuizSubmission.objects.get(). Testing the bug added -- trying to submit quiz and then reveal it. Whitespaces from oioioi/contests/models.py deleted.

Change-Id: I589b80ec4ff4f56763ac87834e03e1eff7085558




[SIO-2462] Upgrade django do wersji 3.2 Created: 2021-11-17  Updated: 2022-04-13  Resolved: 2022-04-13

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Joanna Wojciechowska
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Joanna Wojciechowska
TAG Reviewer: Tomasz Waleń
Sprint: TAG 2021/22 Summer Sprint 1

 Description   
Wsparcie do 2.2 kończy się 2022-04-01.
Obecna wersja LTS to 3.2.

Release notes 3.2:
- https://docs.djangoproject.com/en/3.2/releases/3.2/

Wersja minimalna: to rozpoznanie niekomatybilności i dokładne oszacowanie złożoności migracji

Przydatne linki:
- https://theorangeone.net/posts/django-32/

Dodatkowy problem, który trzeba będzie rozwiązać to upgrade wersji Pythona na maszynie ripper.
Obecnie do testów w Hudson używany jest Python 3.5 a Django 3.2 wymaga Pythona 3.6 lub lepszego.
(być może da się wykorzystać ~/.pyenv/versions/3.7.10/bin/python)

 Comments   
Comment by Gerrit Gerrit [ 2022-03-9 ]
Change oioioi~master~I481b842dda635e4b64f6dc2f1a92d22db34c5541, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3810

SIO-2462 (wersja robocza)

Change-Id: I481b842dda635e4b64f6dc2f1a92d22db34c5541
Comment by Gerrit Gerrit [ 2022-03-10 ]
Change oioioi~master~I481b842dda635e4b64f6dc2f1a92d22db34c5541, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3810

SIO-2462 Django upgrade to 3.0 (wersja robocza)

Change-Id: I481b842dda635e4b64f6dc2f1a92d22db34c5541
Comment by Gerrit Gerrit [ 2022-03-11 ]
Change oioioi~master~I481b842dda635e4b64f6dc2f1a92d22db34c5541, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3810

SIO-2462 Django upgrade to 3.0 (wersja robocza)

Change-Id: I481b842dda635e4b64f6dc2f1a92d22db34c5541
Comment by Mieszko Grodzicki [ 2022-03-11 ]
Zmiany, które wprowadziłem w https://gerrit.sio2project.mimuw.edu.pl/#/c/3810/ :
1. Zastąpienie ugettext, ugettext_lazy,... (deprecated od 3.0) przez gettext, gettext_lazy,... - te pierwsze to tylko aliasy na drugie.
2. Zastąpienie django.conf.urls.url (deprecated od 3.1), django.conf.urls.include przez django.urls.re_path, django.urls.include - znowu, te pierwsze to tylko aliasy na drugie.
3. Zastąpienie force_text (deprecated od 3.0) przez force_str - tutaj uwaga: ich zachowanie jest identyczne w Pythonie 3, ale różne w Pythonie 2. Jeżeli nie chcielibyśmy na razie rezygnować z Pythona 2, to trzeba przyjrzeć się temu dokładniej.
4. Zastąpienie request.is_ajax() (deprecated od 3.1) przez request.headers.get('x-requested-with') == 'XMLHttpRequest' - było to niezbędne w 4 miejscach - może warto byłoby zrobić pomocniczą funkcję?
5. W testach sprawdzających, czy strona zawiera apostrof, zastąpienie wyszukiwanego "&#39;" przez "&#x27;" - czy to najlepszy sposób? Może można te testy zrobić mądrzej?
6. Zastąpienie is_safe_url przez url_has_allowed_host_and_scheme - zmieniono nazwę w 3.0.
7. Zastąpienie "from django.utils import six" (deprecated od 3.0) w pliku problems/problem_site.py przez "import six".
Comment by Gerrit Gerrit [ 2022-03-14 ]
Change oioioi~master~Id0aaeee56572f534a72d88cff68e1115722068a6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3811

SIO-2462 Django upgrade to 3.1

While repairing the tests for django 2.2.26 in the ticket SIO-2484,
dictsort:"value.order" is used. Apparently, from django 3.1 in order to
sort elements, comparator is based on _eq_ function (there's no default
ordering), so _eq_ func from FakeOriginInfoValue is used while performing query.

Unfortunately, in some queries it's possible that FakeOriginInfoValue objects
are among OriginInfoValue objects, but OriginInfoValue class doesn't have cat
variable.

Change-Id: Id0aaeee56572f534a72d88cff68e1115722068a6
Comment by Gerrit Gerrit [ 2022-03-14 ]
Change oioioi~master~I481b842dda635e4b64f6dc2f1a92d22db34c5541, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3810

SIO-2462 Django upgrade to 3.0

Changes:
 - Replace deprecated ugettext, ugettext_lazy, ... with gettext, gettext_lazy, etc.
 - Replace deprecated django.conf.urls.url and django.conf.urls.include aliases with django.urls.re_path, django.urls.include.
 - Replace deprecated force_text with force_str.
 - Replace removed request.is_ajax() with new is_ajax function in oioioi.base.utils.
 - Replace "&#39;" in tests with "'" where possible and "&#x27;" in other cases.
 - Replace is_safe_url with its new name url_has_allowed_host_and_scheme.
 - Replace deprecated import of django.utils.six with just import of six.
 - Update django and django-two-factor-auth versions in setup.py.

Change-Id: I481b842dda635e4b64f6dc2f1a92d22db34c5541
Comment by Gerrit Gerrit [ 2022-03-16 ]
Change oioioi~master~I481b842dda635e4b64f6dc2f1a92d22db34c5541, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3810

SIO-2462 Django upgrade to 3.0

Changes:
 - Replace deprecated ugettext, ugettext_lazy, ... with gettext, gettext_lazy, etc.
 - Replace deprecated django.conf.urls.url and django.conf.urls.include aliases with django.urls.re_path, django.urls.include.
 - Replace deprecated force_text with force_str.
 - Replace removed request.is_ajax() with new is_ajax function in oioioi.base.utils.
 - Replace "&#39;" in tests with "'" where possible and "&#x27;" in other cases.
 - Replace is_safe_url with its new name url_has_allowed_host_and_scheme.
 - Replace deprecated import of django.utils.six with just import of six.
 - Update django and django-two-factor-auth versions in setup.py.
 - Remove redundant uses of gettext_lazy from TestPortalViews.

Change-Id: I481b842dda635e4b64f6dc2f1a92d22db34c5541
Comment by Gerrit Gerrit [ 2022-03-23 ]
Change oioioi~master~I856c07af5d30de3f3ed34186c1a097128dc2f42e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3815

SIO-2462 Django upgrade to 3.1

While repairing the tests for django 2.2.26 in the ticket
SIO-2484, dictsort:"value.order" is used. Apparently,
from django 3.1 in order to sort elements, comparator
is based on _eq_ function (there's no default ordering),
so _eq_ func from FakeOriginInfoValue is used while
performing query.

Unfortunately, in some queries it's possible that
FakeOriginInfoValue objects are among OriginInfoValue
objects, but OriginInfoValue class doesn't have the: cat variable.

Change-Id: I856c07af5d30de3f3ed34186c1a097128dc2f42e
Comment by Gerrit Gerrit [ 2022-04-4 ]
Change oioioi~master~I883adb54404d1254b0ec51120d1f13a9bbc2fc45, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3822

SIO-2462 Django update to 3.2

Url changed from "admin" to "admin_profile", problems with verbose_name_plural solved.

Change-Id: I883adb54404d1254b0ec51120d1f13a9bbc2fc45




[SIO-2461] Why is the space a dissallowed character in profile's name field Created: 2021-11-15  Updated: 2021-11-25  Resolved: 2021-11-25

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Dietrich Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently we inform users with invalid characters in their personal details that they change it, but we have users with two-words names (mostly Asians). We should consider redefining allowed symbols in names.
One should investigate where currently allowed symbols came from and update them is possible.

 Comments   
Comment by Joanna Wojciechowska [ 2021-11-25 ]
It looks like the newest version of oioioi is supporting the space in profile's name field -- it works locally and at szkopul website. sio2.mimuw.edu.pl is not supporting it, but in the code everything looks good (space is not allowed only if it's the 1st or the last character).
Comment by Paweł Dietrich [ 2021-11-25 ]
Oh, it turned out it was fixed https://github.com/sio2project/oioioi/issues/43 but not rebased. Thanks!




[SIO-2460] Require password in account deletion form Created: 2021-11-15  Updated: 2021-12-8  Resolved: 2021-12-8

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Dietrich Assignee: Aleksander Tudruj
Resolution: Fixed Votes: 0
Labels: None


 Description   
We get regularly complaints that sometimes students did not logged out of school computer and someone deleted their account as a bad joke.
What is worse is trying to recover the deleted accounts.

 Comments   
Comment by Gerrit Gerrit [ 2021-11-23 ]
Change oioioi~master~I58de2ce1aff71db0978ec9aa0873a2fc481940a6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3782

(SIO-2460) fixing 'No, go back' button to actually go back instead of removing account

Change-Id: I58de2ce1aff71db0978ec9aa0873a2fc481940a6
Comment by Gerrit Gerrit [ 2021-11-23 ]
Change oioioi~master~I6bf1fdce60413aa062cedb0c9d6c4398cb851700, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3783

(SIO-2460) added password confirmation for account deletion

Change-Id: I6bf1fdce60413aa062cedb0c9d6c4398cb851700
Comment by Gerrit Gerrit [ 2021-11-23 ]
Change oioioi~master~I741629ae1cc158c9a82dcdc15553cdfa55c3daa4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3784

(SIO-2460) added pl,de,en translations for password deletion confirmation

Change-Id: I741629ae1cc158c9a82dcdc15553cdfa55c3daa4
Comment by Gerrit Gerrit [ 2021-11-23 ]
Change oioioi~master~I64c575ce16d05c08d174258fd971b5d6c2d4c22b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3785

(SIO-2460) changed style, removed logging left from debuging

Change-Id: I64c575ce16d05c08d174258fd971b5d6c2d4c22b
Comment by Gerrit Gerrit [ 2021-11-23 ]
Change oioioi~master~I58de2ce1aff71db0978ec9aa0873a2fc481940a6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3782

(SIO-2460) fixing 'No, go back' button to actually go back instead of removing account

On Chromium-based browsers 'Go back' button was treated as form submit button which caused deleting account.

Change-Id: I58de2ce1aff71db0978ec9aa0873a2fc481940a6
Comment by Gerrit Gerrit [ 2021-11-23 ]
Change oioioi~master~I6bf1fdce60413aa062cedb0c9d6c4398cb851700, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3783

(SIO-2460) added password confirmation for account deletion

Change-Id: I6bf1fdce60413aa062cedb0c9d6c4398cb851700
Comment by Gerrit Gerrit [ 2021-11-23 ]
Change oioioi~master~I741629ae1cc158c9a82dcdc15553cdfa55c3daa4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3784

(SIO-2460) added pl,de,en translations for password deletion confirmation

Change-Id: I741629ae1cc158c9a82dcdc15553cdfa55c3daa4
Comment by Gerrit Gerrit [ 2021-11-23 ]
Change oioioi~master~I64c575ce16d05c08d174258fd971b5d6c2d4c22b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3785

(SIO-2460) changed style, removed logging left from debuging

Change-Id: I64c575ce16d05c08d174258fd971b5d6c2d4c22b
Comment by Gerrit Gerrit [ 2021-11-24 ]
Change oioioi~master~Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3787

(SIO-2460) Added password for account deletion

Added password authentication for account deletion.
The password input is in the post form. Every incorrect attempt
gives user the "Incorrect password" message.

Change-Id: Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c
Comment by Gerrit Gerrit [ 2021-12-7 ]
Change oioioi~master~Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3787

(SIO-2460) Added password for account deletion

Added password authentication for account deletion.
The password input is in the post form. Every incorrect attempt
gives user the "Incorrect password" message.

Added tests for all scenarios.

Change-Id: Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c
Comment by Gerrit Gerrit [ 2021-12-7 ]
Change oioioi~master~Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3787

(SIO-2460) Require password in account deletion form

Added password authentication for account deletion.
The password input is in the post form. Every incorrect attempt
gives user the "Incorrect password" message.

Added tests for all scenarios.

Change-Id: Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c
Comment by Gerrit Gerrit [ 2021-12-8 ]
Change oioioi~master~Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3787

(SIO-2460) Require password in account deletion form

Added password authentication for account deletion.
The password input is in the post form. Every incorrect attempt
gives user the "Incorrect password" message.

Added tests for all scenarios.

Change-Id: Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c
Comment by Gerrit Gerrit [ 2021-12-8 ]
Change oioioi~master~Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3787

(SIO-2460) Require password in account deletion form

Added password authentication for account deletion.
The password input is in the post form. Every incorrect attempt
gives user the "Incorrect password" message.

Added tests for all scenarios.

Change-Id: Iadfcaa5c8d23717484865cda1dc6a0c948c4d01c




[SIO-2459] Resolve "Stop using CDNs" Github issue Created: 2021-10-31  Updated: 2022-01-10

Status: Open
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Major
Reporter: Paweł Dietrich Assignee: Paweł Dietrich
Resolution: Unresolved Votes: 0
Labels: None


 Description   
In sio2 we use local copy of mathjax. We should document how to set mathjax source for the browsers and close the issue (https://github.com/sio2project/oioioi/issues/44).

 Comments   
Comment by Paweł Dietrich [ 2021-11-15 ]
I found some time and found instructions how to build mathjax
http://docs.mathjax.org/en/latest/web/hosting.html
We should make sure the link is in the `settings.py` to point someone
how to serve local copy of mathjax for offline installations.
Also cloudflare does not ship 2.7.9 and mathjax.org recommends
https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js
which fetches latest 2.x version




[SIO-2458] Unhelpful compiller configuration error messages Created: 2021-10-29  Updated: 2021-11-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Paweł Dietrich Assignee: Patrycja Krzyna
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Currently we enforce some structure on *_COMPILERS in settings.py, but when structure is invalid we raise ImproperlyConfigured error without telling what is invalid, which makes changing the config more challenging.




[SIO-2457] Bardziej intuicyjny zielony pasek Created: 2021-10-27  Updated: 2021-12-23  Resolved: 2021-12-23

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Pasek, który wskazuje ile czasu zostało do końca zadania może wprowadzać w błąd i sugerować, że coś się nie załadowało.
Możliwa poprawka to np dodanie możliwości najechania na pasek i wyświetlenia co znaczy.

 Comments   
Comment by Gerrit Gerrit [ 2021-11-29 ]
Change oioioi~master~I3b53db934ddad6690e2204cfadee66c0315319ce, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3788

SIO-2457 Bardziej intuicyjny zielony pasek

Until now, the progress bar was indicating how much time has passed,
while the clock was showing how much time there is left.
Now, the progress bar starts full and green and as the time passes
it shrinks down and the color changes appropriately - it shows
how much time there is left until the end of the round.

Change-Id: I3b53db934ddad6690e2204cfadee66c0315319ce
Comment by Gerrit Gerrit [ 2021-12-7 ]
Change oioioi~master~I9e9308bf0ed72567253d237b1d2ac9bb47716a8d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3790

SIO-2457 Bardziej intuicyjny zielony pasek

Until now, the progress bar was indicating how much time has passed,
while the clock was showing how much time there is left.
Now, the progress bar starts full and green and as the time passes
it shrinks down and the color changes appropriately - it shows
how much time there is left until the end of the round.

There had to be a small change in tests made.
One test group checked the count of '%' symbol in the response.
Needed to be incremented by one after my changes.

Change-Id: I9e9308bf0ed72567253d237b1d2ac9bb47716a8d
Comment by Gerrit Gerrit [ 2021-12-18 ]
Change oioioi~master~I9e9308bf0ed72567253d237b1d2ac9bb47716a8d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3790

SIO-2457 Bardziej intuicyjny zielony pasek

Until now, the progress bar was indicating how much time has passed,
while the clock was showing how much time there is left.
Now, the progress bar starts full and green and as the time passes
it shrinks down and the color changes appropriately - it shows
how much time there is left until the end of the round.

There had to be a small change in tests made.
One test group checked the count of '%' symbol in the response.
Needed to be incremented by one after my changes.

Change-Id: I9e9308bf0ed72567253d237b1d2ac9bb47716a8d




[SIO-2456] Zaznaczanie bieżącej pozycji na rankingu Created: 2021-10-27  Updated: 2022-01-25  Resolved: 2022-01-25

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Kacper Lewandowski
Resolution: Fixed Votes: 0
Labels: None


 Description   
Na stronie rankingu, zalogowany użytkownik mógłby być od razu zaznaczony (teraz trzeba kliknąć Find my place), kliknięcie przycisku mogłoby jedynie przenosić widok do miejsca w rankingu bieżącego użytkownika.

 Comments   
Comment by Gerrit Gerrit [ 2021-12-12 ]
Change oioioi~master~I32b51b343ee1aa7a0cb0d12cc7565776952cf24b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3794

SIO-2456 Showing position in ranking.

User's position in ranking will be marked green automatically.
Currently it is achieved with "Find my place" button
(as well as scrolling to this position).

Change-Id: I32b51b343ee1aa7a0cb0d12cc7565776952cf24b
Comment by Gerrit Gerrit [ 2022-01-19 ]
Change oioioi~master~I2ac4e03717e2baf0603cf82eeeff27858f12b83e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3801

SIO-2456 Showing position in ranking.

User's position in ranking will be marked green automatically.
Currently it is achieved with "Find my place" button
(as well as scrolling to this position).

Change-Id: I32b51b343ee1aa7a0cb0d12cc7565776952cf24b

Change-Id: I2ac4e03717e2baf0603cf82eeeff27858f12b83e
Comment by Gerrit Gerrit [ 2022-01-19 ]
Change oioioi~master~I32b51b343ee1aa7a0cb0d12cc7565776952cf24b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3794

SIO-2456 Showing position in ranking.

User's position in ranking will be marked green automatically.
Currently it is achieved with "Find my place" button
(as well as scrolling to this position).

Change-Id: I32b51b343ee1aa7a0cb0d12cc7565776952cf24b




[SIO-2455] Podgląd wyników zgłoszenia bez odświeżania strony Created: 2021-10-27  Updated: 2022-05-9

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Obsługa dynamicznych stron WWW dla strony moje zgłoszenia. Odświeżanie w tle listy i statusów submittów.

Coś podobnego jest serwerze Staszicowym.

Być może to jest za duże:
- można ograniczyć do tylko wyświetlania informacji "są nowe dane odśwież stronę"
- inne temat to synchronizacja zegara (czas do końca konkursu) - bez odświeżania strony potrafi się rozjechać o kilka minut




[SIO-2454] Poprawki do tłumaczeń Created: 2021-10-27  Updated: 2022-01-12  Resolved: 2022-01-12

Status: Closed
Project: The SIO2 project
Component/s: Translations
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Adam Al-Hosam
Resolution: Obsolete Votes: 0
Labels: None


 Description   
* na stronie głównej zalogowanego użytkownika, w angielskiej wersji:
"Any planned downtime outside of these ours will be separately announced here." ours -> hours
* w angielskiej wersji po wybraniu "edit profile" informacja o zgodzie na przetwarzanie danych osobowych jest po polsku -> powinna być wyświetlana angielska wersja zgody

 Comments   
Comment by Adam Al-Hosam [ 2022-01-12 ]
The issue was local to szkopul and wasn't really a problem in the code available to us.




[SIO-2453] Dark mode Created: 2021-10-27  Updated: 2021-11-17

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Adam Al-Hosam Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Dodanie możliwości zmiany motywu kolorystycznego na ciemniejszy/mniej męczący wzrok.

Potrzebny:
- projekt UI do zmiany trybu dzienny/nocny
- jak mają wyglądać nowe kolory
- ustalić kto musi zaakceptować nowe kolory (poza TAG)
- uzyskać akceptację nowej kolorystyki




[SIO-2452] Wbudowany edytor kodu Created: 2021-10-27  Updated: 2022-05-18  Resolved: 2022-05-18

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: Current Version

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Tomasz Waleń
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File ace_editor.png    

 Description   
Dodanie edytoru kodu z podświetlaniem składni do formularza Submit.
np. https://codemirror.net/

- research jakie edytory są dostępne (jakie mają możliwości vs wymagania vs ograniczenia licencyjne)
https://docs.google.com/document/d/1oHSLtrvRf5zkoERskaPn1en1mNUE16Vogu_Yho8bBpY/edit?usp=sharing

- czy użytkownik może wlączyć/wyłączyć taki edytor
- co robić na stronie jeśli edytor nie działa poprawnie

 Comments   
Comment by Andrzej Radzimiński [ 2022-03-11 ]
Należy ustalić:
- Korzystanie z CDN/hosting na serwerze.
- Lokalizacja plików statycznych
- Sposób aktywowania edytora z poziomu globalnego, contestu, użytkownika. Moją propozycją jest możliwość użytkownika do ustawiania preferencji automatycznego aktywowania edytora, o ile jest to dozwolone.




[SIO-2451] Uporządkowanie ustawień sklonowanych zadań Created: 2021-10-27  Updated: 2021-10-27

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
- cześć ustawień jest lokalnie per konkurs
- część globalnie na cały system
- usuwanie załączników




[SIO-2450] Prirytetowanie zgłoszeń do sprawdzania Created: 2021-10-27  Updated: 2021-10-27

Status: New
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
możliwość szybszego sprawdzenia wybranych zgłoszeń




[SIO-2449] Symulator konkurs treningu Created: 2021-10-27  Updated: 2021-11-17

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
- przycisk replay dla istniejącego konkursu (np. wirtualny II etap czy egzamin)
- zwłaszcza istotne dla konkursów bez full-feedback
- codeforces ma coś podobnego




[SIO-2448] Webowy manager zadań Created: 2021-10-27  Updated: 2021-10-27

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2021/22 Winter Sprint
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Tomek Waleń Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
- żeby można było łatwo wyszukiwać zadania
- żeby można było łatow kopiować pomiędzy konkursami
- żeby można było dodawać dokumentację do zadań
- żeby można było wersjonować paczki




[SIO-2447] Disqualification on Quiz Submission results in 500 for the user Created: 2021-09-25  Updated: 2022-01-9  Resolved: 2022-01-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Dietrich Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
We should allow for disqualifications based on any submission type or at least check for valid submission types when adding disqualification object.


RelatedObjectDoesNotExist: Submission has no programsubmission.
(6 additional frame(s) were not displayed)
...
  File "oioioi/contests/views.py", line 214, in my_submissions_view
    header = controller.render_my_submissions_header(request, queryset.all())
  File "oioioi/disqualification/controllers.py", line 154, in render_my_submissions_header
    submissions)
  File "oioioi/disqualification/controllers.py", line 178, in render_disqualifications
    request, submission)
  File "oioioi/similarsubmits/controllers.py", line 91, in _render_disqualification_reason
    ._render_disqualification_reason(request, submission)
  File "oioioi/disqualification/controllers.py", line 113, in _render_disqualification_reason
    submission.programsubmission),

 Comments   
Comment by Gerrit Gerrit [ 2021-12-28 ]
Change oioioi~master~Ia453f1bc0ee83296007a96296eab2fd3d8685eb4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3796

SIO-2447 Fix disqualifications on quiz submissions

Fix bug resulting in 500 error for the user whose
quiz submission is disqualified. Add tests for
disqualifications on quiz submissions.

Change-Id: Ia453f1bc0ee83296007a96296eab2fd3d8685eb4
Comment by Gerrit Gerrit [ 2021-12-31 ]
Change oioioi~master~Ia453f1bc0ee83296007a96296eab2fd3d8685eb4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3796

SIO-2447 Fix disqualifications on quiz submissions

Fix bug resulting in 500 error for the user whose
quiz submission is disqualified. Refractor some of
disqualifications tests and add tests for
disqualifications on quiz submissions.

Change-Id: Ia453f1bc0ee83296007a96296eab2fd3d8685eb4
Comment by Gerrit Gerrit [ 2021-12-31 ]
Change oioioi~master~Ia453f1bc0ee83296007a96296eab2fd3d8685eb4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3796

SIO-2447 Fix disqualifications on quiz submissions

Fix bug resulting in 500 error for the user whose
quiz submission is disqualified. Refractor some of
disqualifications tests and add tests for
disqualifications on quiz submissions.

Change-Id: Ia453f1bc0ee83296007a96296eab2fd3d8685eb4
Comment by Gerrit Gerrit [ 2022-01-9 ]
Change oioioi~master~Ia453f1bc0ee83296007a96296eab2fd3d8685eb4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3796

SIO-2447 Fix disqualifications on quiz submissions

Fix bug resulting in 500 error for the user whose
quiz submission is disqualified. Refractor some of
disqualifications tests and add tests for
disqualifications on quiz submissions.

Change-Id: Ia453f1bc0ee83296007a96296eab2fd3d8685eb4




[SIO-2446] Duplicate contest problems Created: 2021-09-25  Updated: 2021-09-25

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Alicja Kluczek Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Say you conduct lessons in 2 groups and you want to have the same problems in both contests, but manually copying all problems is annoying. It would be nice to have a button "duplicate contest"




[SIO-2445] Dupli(Multi-)plicates of the same participants in the ranking Created: 2021-09-19  Updated: 2021-09-19

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alicja Kluczek Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Participants are displayed multiple times despite using one account:
1 Jan Ni 100 100 200
1 Jan Ni 100 100 200
1 Jan Ni 100. 100 200 https://szkopul.edu.pl/c/zadankasrednie/ranking/ for example in this contest, but I've seen it multiple times.




[SIO-2444] Compiller override form bricks on error Created: 2021-09-7  Updated: 2021-09-7

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Dietrich Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment: Szkopuł/Master


 Description   
How to reproduce:
1. Create a new contest
2. Create compiller override
3. Make error in other part of the form (for example in empty end date)
4. Submit form
5. When errors are rendered compiller overrides are reset since language is not selected, but in <select> it is.




[SIO-2443] Output of checker is inserted to the database as is Created: 2021-07-3  Updated: 2021-10-31

Status: New
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Dietrich Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
We should escape some of checker's output. For example if checker outputs `0x00` then python throws `ValueError: A string literal cannot contain NUL (0x00) characters.`

Real example: https://sio2.mimuw.edu.pl/c/ontak2021/s/456709/




[SIO-2442] 500 error when editing multilanguage news in newsfeed Created: 2021-06-21  Updated: 2022-01-9  Resolved: 2022-01-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Dietrich Assignee: Mieszko Grodzicki
Resolution: Fixed Votes: 0
Labels: tag1


 Description   
Details are on sentry:

https://sentry.io/organizations/the-sio2-project/issues/2468677411/events/6ccfc92789eb42a0893afab164cb3ed4/?project=116859

To reproduce:
1. Create news and add translation to it
2. Save news
3. Edit news
4. On save 500 error is thrown

 Comments   
Comment by Gerrit Gerrit [ 2021-12-29 ]
Change oioioi~master~I40542c693cd0bb4856ed63b65e4a24e6f7a0e086, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3797

SIO-2442 Fix multilanguage news edit error

Fix NewsLanguageVersion.save() method so that
it is possible to edit existing NewsLanguageVersion.

Strengthen newsfeed tests:
 - fix test_news_edit, as it was sending form with
incorrect id and not editing anything,
 - make all tests in TestNewsfeedOptions check whether
sending the form results in redirection to newsfeed main
page (which means change was successful).

Change-Id: I40542c693cd0bb4856ed63b65e4a24e6f7a0e086




[SIO-2441] Add hyperlink to "Paczkomat" Created: 2021-05-18  Updated: 2022-02-28

Status: Open
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Jakub Niściór Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Description   
Add hyperlink to "Paczkomat" to view associated with problem instance.




[SIO-2440] Add "Copy code" button to source view Created: 2021-05-18  Updated: 2021-06-8  Resolved: 2021-06-8

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Jakub Niściór Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Description   
Add "copy code" button to source view, to make copying longer code easier.

 Comments   
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I259c104723aa700255af899c45e6c13fcc4ddfa7, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3724

SIO-2440 Add "Copy code" button to source view

Change-Id: I259c104723aa700255af899c45e6c13fcc4ddfa7
Comment by Gerrit Gerrit [ 2021-05-25 ]
Change oioioi~master~I259c104723aa700255af899c45e6c13fcc4ddfa7, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3724

SIO-2440 Add "Copy code" button to source view

Change-Id: I259c104723aa700255af899c45e6c13fcc4ddfa7
Comment by Gerrit Gerrit [ 2021-06-1 ]
Change oioioi~master~I259c104723aa700255af899c45e6c13fcc4ddfa7, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3724

SIO-2440 Add "Copy code" button to source view

Change-Id: I259c104723aa700255af899c45e6c13fcc4ddfa7




[SIO-2439] Check difficulty of deployment of SIO2 and simplify it Created: 2021-05-17  Updated: 2021-05-17

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Jakub Niściór Assignee: Jakub Niściór
Resolution: Unresolved Votes: 0
Labels: None
Environment: Linux


 Description   
SIO2 is hard to deploy. Easy installer is not really easy (it throws loads of errors and finally doesn't install SIO2 properly.

1. Try to deploy SIO2 on local machine with minimal working configuration.
2. Simplify deployment (probably modify the readme).

 Comments   
Comment by Gerrit Gerrit [ 2021-05-17 ]
Change oioioi~master~Ib84f3f2b8f3205eb3b579a081281926767963b4b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3721

SIO-2439 Improve readme concerning deployment

- Delete part about easy installer (it desn't work)
- Other minor readme fixes

Change-Id: Ib84f3f2b8f3205eb3b579a081281926767963b4b




[SIO-2438] Szkopuł and SIO2 try to insert non-unique job_id to evalmgr_queuedjob Created: 2021-05-15  Updated: 2021-05-15

Status: New
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Dietrich Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: HTML File jira    

 Description   
Look at database logs attached below.




[SIO-2437] NOTIFICATIONS_SERVER_ENABLED setting is confusing Created: 2021-05-15  Updated: 2021-05-15

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Dietrich Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
NOTIFICATIONS_SERVER_ENABLED only tells supervisord whether to start notification-server. However, at first glance, it is not clear what does NOTIFICATIONS_SERVER_ENABLED means:
- Will it start notification server?
- Will oioioi connect to provided server details but not spawn a notification server?
- Will oioioi not connect to any notification server?




[SIO-2436] Add autoreveal for problems with as many reveals as submissions Created: 2021-05-15  Updated: 2022-01-31  Resolved: 2022-01-31

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Paweł Dietrich Assignee: Mieszko Grodzicki
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently if organisers want to show users their scores without reports reveal configs are used. However users must click reveal score every time they submit a solution.

If no. of submissions <= no. of reveals we should reveal scores automatically.

Proposition of implementation:

Instead of checking if no. of submissions <= no. of reveals, allow to leave no. of reveals field empty and add explaining help text to it. Then if no. of reveals is None, user can see the score of their every submission, unless it is submitted during the last [disable_time] minutes of the round. In "Score revealing" section on submission page:
  - If user cannot see the score, there is a message explaining why (same as this shown now instead of reveal button) - submission has status "CE", it is not scored yet or it was submitted during period, when reveals are disabled.
  - If user can see the score, there is the score and additional information that scores of all submissions in the task are visible automatically, unless submitted during the last [disable_time] minutes of the round.

The other way could be to completely remove "Score revealing" section from submission page when no. of reveals is empty. But then, where would we show the information about disabling reveals in last [disable_time] minutes of the contest, if it is enabled? Also, waiting long for a submission to be scored can make user think that the reveals are disabled if there is no "Score revealing" section.

If no. of reveals if specified, system behaviour should not change.

Comment from Wojtek:
wygląda spoko, o ile się nie pogryzie z kontrolerami OI / potyczek, które overridują widoczność wyników na swoje sposoby

 Comments   
Comment by Paweł Dietrich [ 2021-12-2 ]
Mieszko, czy jest szansa, że będzie kod gotowy do poniedziałkowej rundy potyczek?
Comment by Mieszko Grodzicki [ 2021-12-2 ]
Bardzo duża, postaram się jeszcze dzisiaj wrzucić commita gotowego na code review.
Comment by Paweł Dietrich [ 2021-12-2 ]
Wspaniale. Nie obiecuję, że dzisiaj na to popatrzę, ale jak diff nie będzie zbyt duży to będziemy chcieli do poniedziałku wrzucić na potyczki.
Comment by Gerrit Gerrit [ 2021-12-2 ]
Change oioioi~master~I0a3a7b7fe1c2521fe8526a24bf44f05a4e18aa22, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3789

SIO-2436 Add autoreveal

Add possibility to leave 'reveal limit' field empty in ScoreRevealConfig,
which makes all submissions automatically revealed to user.

Change-Id: I0a3a7b7fe1c2521fe8526a24bf44f05a4e18aa22
Comment by Gerrit Gerrit [ 2021-12-3 ]
Change oioioi~master~I0a3a7b7fe1c2521fe8526a24bf44f05a4e18aa22, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3789

SIO-2436 Add autoreveal

Add possibility to leave 'reveal limit' field empty in ScoreRevealConfig,
which makes all submissions automatically revealed to user.

Change-Id: I0a3a7b7fe1c2521fe8526a24bf44f05a4e18aa22




[SIO-2435] Allow custom sorting of the list of problems /p/ Created: 2021-05-15  Updated: 2021-05-15

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Paweł Dietrich Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: PNG File Screenshot_20210515_101719.png    

 Description   
Sometimes alphabetical order is not desired and current workaround is changing problem_instance id, which is not perfect either




[SIO-2434] In OI contest /files return 403 if none of the rounds has started Created: 2021-05-13  Updated: 2021-11-19  Resolved: 2021-11-19

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Dietrich Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None


 Description   
In OI contests if:
  - Round A starts at time t
  - Round A has not started yet
  - and other rounds start after t
then participants get 403 on /files

 Comments   
Comment by Paweł Dietrich [ 2021-11-19 ]
Unable to reproduce anymore. Will close.




[SIO-2433] Enable localization for dates, times and numbers Created: 2021-05-13  Updated: 2021-11-17

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Szymon Czyżmański Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag1


 Description   
Currently:
- all dates are presented in ISO format

Expected behaviour:
- show date in format described by locale setting (i.e. in https://en.wikipedia.org/wiki/Date_and_time_notation_in_the_United_States)




[SIO-2432] Add styling to summary tag in portal posts Created: 2021-05-11  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2020/21 Summer Sprint 2
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Tomasz Domagała Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~Icca49fbbe7efd847a3d90cdfbd3da16ced348871, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3728

SIO-2432 Add styling to summary tag in portal posts Currently summary tag is indistinguishable from plain text. This commit adds link-like styling.

Change-Id: Icca49fbbe7efd847a3d90cdfbd3da16ced348871
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~Icca49fbbe7efd847a3d90cdfbd3da16ced348871, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3728

SIO-2432 Add styling to summary tag in portal posts Currently summary tag is indistinguishable from plain text. This commit adds link-like styling.

Change-Id: Icca49fbbe7efd847a3d90cdfbd3da16ced348871
Comment by Gerrit Gerrit [ 2021-06-1 ]
Change oioioi~master~Icca49fbbe7efd847a3d90cdfbd3da16ced348871, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3728

SIO-2432 Add styling to summary tag in portal posts Currently summary tag is indistinguishable from plain text. This commit adds link-like styling.

Change-Id: Icca49fbbe7efd847a3d90cdfbd3da16ced348871
Comment by Gerrit Gerrit [ 2021-06-1 ]
Change oioioi~master~Icca49fbbe7efd847a3d90cdfbd3da16ced348871, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3728

SIO-2432 Add styling to summary tag in portal posts Currently summary tag is indistinguishable from plain text. This commit adds link-like styling.

Change-Id: Icca49fbbe7efd847a3d90cdfbd3da16ced348871
Comment by Gerrit Gerrit [ 2021-06-1 ]
Change oioioi~master~Icca49fbbe7efd847a3d90cdfbd3da16ced348871, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3728

SIO-2432 Add styling to summary tag in portal posts Currently summary tag is indistinguishable from plain text. This commit adds link-like styling.

Change-Id: Icca49fbbe7efd847a3d90cdfbd3da16ced348871




[SIO-2431] Improve add_js function workaround Created: 2021-05-10  Updated: 2021-05-10

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Hubert Badocha Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
add_js method on Media object was used in method get_compiler_for_language in oioioi/programs/controllers.py but it was removed without any notice in django 2.0 current workaround is a bit hacky and uses private api

 Comments   
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~python3~I66f362d0c3d688cd689ef703c431d5241c5e3b7e, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3660

Django2 support breaking changes.

Changed dependecies.
Made a workaround for lack of 'add_js' function https://jira.sio2project.mimuw.edu.pl/browse/SIO-2431.
Removed redundant apps from settings.
Removed last urlresolvers import.
Changed include to new syntax.
Removed context parameter from from_db_value.
Removed non-timezone-aware methods.

Change-Id: I66f362d0c3d688cd689ef703c431d5241c5e3b7e




[SIO-2430] Make problems' names translatable Created: 2021-05-7  Updated: 2021-05-25  Resolved: 2021-05-25

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Szymon Czyżmański Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Comments   
Comment by Gerrit Gerrit [ 2021-05-15 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-15 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-16 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-17 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-17 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3723

(no-ticket) Command for creating names' translations of repeated problems

Some of the problems in the Szkopul are repeated: there exist one version
of a particular problem with legacy name in Polish and the other one with
legacy name in English. All of the pairs of repeated problems share the
same short name and exactly one legacy origin tag. After the change
"(SIO-2430) Make problems' names translatable" it is possible to make
problem names translatable by the means of addding ProblemName objects to
a particular problem.

*Add command for creating translations of legacy names of repeated problems
 in Polish and English and associating these translations with the problems.
*Add files with all possible legacy origin tags present in the database
 at the production.
*Add tests for the new command.

Change-Id: I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3723

(no-ticket) Command for creating names' translations of repeated problems

Some of the problems in the Szkopul are repeated: there exist one version
of a particular problem with legacy name in Polish and the other one with
legacy name in English. All of the pairs of repeated problems share the
same short name and exactly one legacy origin tag. After the change
"(SIO-2430) Make problems' names translatable" it is possible to make
problem names translatable by the means of addding ProblemName objects to
a particular problem.

*Add command for creating translations of legacy names of repeated problems
 in Polish and English and associating these translations with the problems.
*Add files with all possible legacy origin tags present in the database
 at the production.
*Add tests for the new command.

Change-Id: I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3723

(no-ticket) Command for creating names' translations of problems

Some of the problems in the Szkopul are repeated: there exist one
version of a particular problem with legacy name in Polish and the
other one with legacy name in English. All of the pairs of repeated
problems share the same short name and exactly one legacy origin tag.
After the change "(SIO-2430) Make problems' names translatable" it
is possible to make problem names translatable by the means of addding
ProblemName objects to a particular problem.

*Add command for creating translations of legacy names of repeated
 problems in Polish and English and associating these translations with
 the problems.
*Add files with all possible legacy origin tags present in the database
 at the production.
*Add tests for the new command.

Change-Id: I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3723

(no-ticket) Command for creating names' translations of problems

Some of the problems in the Szkopul are repeated: there exist one
version of a particular problem with legacy name in Polish and the
other one with legacy name in English. All of the pairs of repeated
problems share the same short name and exactly one legacy origin tag.
After the change "(SIO-2430) Make problems' names translatable" it
is possible to make problem names translatable by the means of addding
ProblemName objects to a particular problem.

*Add command for creating translations of legacy names of repeated
 problems in Polish and English and associating these translations with
 the problems.
*Add files with all possible legacy origin tags present in the database
 at the production.
*Add tests for the new command.

Change-Id: I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I43c17d11998594eafa3ae2d9dbb66ceb011b6cee, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3729

(no-ticket) Allow for problem name's transll. in sinol packages

Problems in Szkopul can be created with sinol packages - standarized
archives with problem data. After the change "(SIO-2430) Make problems'
names translatable" it is possible to manually add problem name's
translations in the problem's settings. It would be convenient to allow
for creating them when problem package is loaded.

*Allow to add new fields in `config.yml` file, each matching the pattern
 `title_[a-z]{2}`, where `[a-z]{2}` represents two-letter language code
 defined in `settings.py`. Each such field represents translation of given
 problem's name in the corresponding language.
*Modify SinolPackage class to accommodate for new possible fields.
*Add test file and tests.

Change-Id: I43c17d11998594eafa3ae2d9dbb66ceb011b6cee
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I43c17d11998594eafa3ae2d9dbb66ceb011b6cee, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3729

(no-ticket) Allow for problem name's transll. in sinol packages

Problems in Szkopul can be created with sinol packages - standarized
archives with problem data. After the change "(SIO-2430) Make problems'
names translatable" it is possible to manually add problem name's
translations in the problem's settings. It would be convenient to allow
for creating them when problem package is loaded.

*Allow to add new fields in `config.yml` file, each matching the pattern
 `title_[a-z]{2}`, where `[a-z]{2}` represents two-letter language code
 defined in `settings.py`. Each such field represents translation of
 given problem's name in the corresponding language.
*Modify SinolPackage class to accommodate for new possible fields.
*Add test file and tests.

Change-Id: I43c17d11998594eafa3ae2d9dbb66ceb011b6cee
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I43c17d11998594eafa3ae2d9dbb66ceb011b6cee, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3729

(no-ticket) Allow for problem name's transll. in sinol packages

Problems in Szkopul can be created with sinol packages - standarized
archives with problem data. After the change "(SIO-2430) Make problems'
names translatable" it is possible to manually add problem name's
translations in the problem's settings. It would be convenient to allow
for creating them when problem package is loaded.

*Allow to add new fields in `config.yml` file, each matching the pattern
 `title_[a-z]{2}`, where `[a-z]{2}` represents two-letter language code
 defined in `settings.py`. Each such field represents translation of
 given problem's name in the corresponding language.
*Modify SinolPackage class to accommodate for new possible fields.
*Add test file and tests.

Change-Id: I43c17d11998594eafa3ae2d9dbb66ceb011b6cee
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3723

(no-ticket) Command for creating names' translations of problems

Some of the problems in the Szkopul are repeated: there exist one
version of a particular problem with legacy name in Polish and the
other one with legacy name in English. All of the pairs of repeated
problems share the same short name and exactly one legacy origin tag.
After the change "(SIO-2430) Make problems' names translatable" it
is possible to make problem names translatable by the means of addding
ProblemName objects to a particular problem.

*Add command for creating translations of legacy names of repeated
 problems in Polish and English and associating these translations with
 the problems.
*Add files with all possible legacy origin tags present in the database
 at the production.
*Add tests for the new command.

Change-Id: I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3723

(no-ticket) Command for creating names' translations of problems

Some of the problems in the Szkopul are repeated: there exist one
version of a particular problem with legacy name in Polish and the
other one with legacy name in English. All of the pairs of repeated
problems share the same short name and exactly one legacy origin tag.
After the change "(SIO-2430) Make problems' names translatable" it
is possible to make problem names translatable by the means of addding
ProblemName objects to a particular problem.

*Add command for creating translations of legacy names of repeated
 problems in Polish and English and associating these translations with
 the problems.
*Add files with all possible legacy origin tags present in the database
 at the production.
*Add tests for the new command.

Change-Id: I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I43c17d11998594eafa3ae2d9dbb66ceb011b6cee, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3729

(no-ticket) Allow for problem name's transll. in sinol packages

Problems in Szkopul can be created with sinol packages - standarized
archives with problem data. After the change "(SIO-2430) Make problems'
names translatable" it is possible to manually add problem name's
translations in the problem's settings. It would be convenient to allow
for creating them when problem package is loaded.

*Allow to add new fields in `config.yml` file, each matching the pattern
 `title_[a-z]{2}`, where `[a-z]{2}` represents two-letter language code
 defined in `settings.py`. Each such field represents translation of
 given problem's name in the corresponding language.
*Modify SinolPackage class to accommodate for new possible fields.
*Add test file and tests.

Change-Id: I43c17d11998594eafa3ae2d9dbb66ceb011b6cee
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3723

(no-ticket) Command for creating names' translations of problems

Some of the problems in the Szkopul are repeated: there exist one
version of a particular problem with legacy name in Polish and the
other one with legacy name in English. All of the pairs of repeated
problems share the same short name and exactly one legacy origin tag.
After the change "(SIO-2430) Make problems' names translatable" it
is possible to make problem names translatable by the means of addding
ProblemName objects to a particular problem.

*Add command for creating translations of legacy names of repeated
 problems in Polish and English and associating these translations with
 the problems.
*Add files with all possible legacy origin tags present in the database
 at the production.
*Add tests for the new command.

Change-Id: I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3
Comment by Gerrit Gerrit [ 2021-05-19 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-19 ]
Change oioioi~master~I43c17d11998594eafa3ae2d9dbb66ceb011b6cee, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3729

(no-ticket) Allow for problem name's transll. in sinol packages

Problems in Szkopul can be created with sinol packages - standarized
archives with problem data. After the change "(SIO-2430) Make problems'
names translatable" it is possible to manually add problem name's
translations in the problem's settings. It would be convenient to allow
for creating them when problem package is loaded.

*Allow to add new fields in `config.yml` file, each matching the pattern
 `title_[a-z]{2}`, where `[a-z]{2}` represents two-letter language code
 defined in `settings.py`. Each such field represents translation of
 given problem's name in the corresponding language.
*Modify SinolPackage class to accommodate for new possible fields.
*Add test file and tests.

Change-Id: I43c17d11998594eafa3ae2d9dbb66ceb011b6cee
Comment by Gerrit Gerrit [ 2021-05-19 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-19 ]
Change oioioi~master~I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3723

(no-ticket) Command for creating names' translations of problems

Some of the problems in the Szkopul are repeated: there exist one
version of a particular problem with legacy name in Polish and the
other one with legacy name in English. All of the pairs of repeated
problems share the same short name and exactly one legacy origin tag.
After the change "(SIO-2430) Make problems' names translatable" it
is possible to make problem names translatable by the means of addding
ProblemName objects to a particular problem.

*Add command for creating translations of legacy names of repeated
 problems in Polish and English and associating these translations with
 the problems.
*Add files with all possible legacy origin tags present in the database
 at the production.
*Add tests for the new command.

Change-Id: I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3
Comment by Gerrit Gerrit [ 2021-05-19 ]
Change oioioi~master~I43c17d11998594eafa3ae2d9dbb66ceb011b6cee, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3729

(no-ticket) Allow for problem name's transll. in sinol packages

Problems in Szkopul can be created with sinol packages - standarized
archives with problem data. After the change "(SIO-2430) Make problems'
names translatable" it is possible to manually add problem name's
translations in the problem's settings. It would be convenient to allow
for creating them when problem package is loaded.

*Allow to add new fields in `config.yml` file, each matching the pattern
 `title_[a-z]{2}`, where `[a-z]{2}` represents two-letter language code
 defined in `settings.py`. Each such field represents translation of
 given problem's name in the corresponding language.
*Modify SinolPackage class to accommodate for new possible fields.
*Add test file and tests.

Change-Id: I43c17d11998594eafa3ae2d9dbb66ceb011b6cee
Comment by Gerrit Gerrit [ 2021-05-19 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-19 ]
Change oioioi~master~I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3715

(SIO-2430) Make problems' names translatable

Up to this point, there was no mechanism enabling translation
of the name of a particular problem in the Szkopul. As a result,
the name of a problem was displayed in the same way regardless
of the chosen language.

*Change old 'name' field of the 'Problem' model to 'legacy_name'
 field (compatibility with existing sinolpack files).
*Add 'ProblemName' model representing a translation of the problem's
 name to a particular language.
*Add 'name' property to the 'Problem' model that retrieves
 translation in the currently chosen language or the value of
 'legacy_name' field if no such a translation exists.
*Add panel for adding and modifying translations of the problem's
 name to ProblemAdmin.
*Modify existing database queries to accommodate for changes.
*Modify existing json fixtures to accommodate for changes.
*Add tests.

Change-Id: I2bd42f3e0b6a61de53f88414891aeaaa92fd8d9a
Comment by Gerrit Gerrit [ 2021-05-20 ]
Change oioioi~master~I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3723

(no-ticket) Command for creating names' translations of problems

Some of the problems in the Szkopul are repeated: there exist one
version of a particular problem with legacy name in Polish and the
other one with legacy name in English. All of the pairs of repeated
problems share the same short name and exactly one legacy origin tag.
After the change "(SIO-2430) Make problems' names translatable" it
is possible to make problem names translatable by the means of addding
ProblemName objects to a particular problem.

*Add command for creating translations of legacy names of repeated
 problems in Polish and English and associating these translations with
 the problems.
*Add files with all possible legacy origin tags present in the database
 at the production.
*Add tests for the new command.

Change-Id: I6bb9c5fb6b67c4094d285876d7a6d3bb98ead7f3
Comment by Gerrit Gerrit [ 2021-05-20 ]
Change oioioi~master~I43c17d11998594eafa3ae2d9dbb66ceb011b6cee, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3729

(no-ticket) Allow for problem name's transll. in sinol packages

Problems in Szkopul can be created with sinol packages - standarized
archives with problem data. After the change "(SIO-2430) Make problems'
names translatable" it is possible to manually add problem name's
translations in the problem's settings. It would be convenient to allow
for creating them when problem package is loaded.

*Allow to add new fields in `config.yml` file, each matching the pattern
 `title_[a-z]{2}`, where `[a-z]{2}` represents two-letter language code
 defined in `settings.py`. Each such field represents translation of
 given problem's name in the corresponding language.
*Modify SinolPackage class to accommodate for new possible fields.
*Add test file and tests.

Change-Id: I43c17d11998594eafa3ae2d9dbb66ceb011b6cee
Comment by Gerrit Gerrit [ 2021-05-20 ]
Change oioioi~master~I43c17d11998594eafa3ae2d9dbb66ceb011b6cee, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3729

(no-ticket) Allow for problem name's transll. in sinol packages

Problems in Szkopul can be created with sinol packages - standarized
archives with problem data. After the change "(SIO-2430) Make problems'
names translatable" it is possible to manually add problem name's
translations in the problem's settings. It would be convenient to allow
for creating them when problem package is loaded.

*Allow to add new fields in `config.yml` file, each matching the pattern
 `title_[a-z]{2}`, where `[a-z]{2}` represents two-letter language code
 defined in `settings.py`. Each such field represents translation of
 given problem's name in the corresponding language.
*Modify SinolPackage class to accommodate for new possible fields.
*Add test file and tests.

Change-Id: I43c17d11998594eafa3ae2d9dbb66ceb011b6cee




[SIO-2429] Different limits per language Created: 2021-05-4  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: For the OI Team
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alicja Kluczek Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Add different time/memory limits overrides per language

 Comments   
Comment by Gerrit Gerrit [ 2021-05-4 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-17 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~Ic5b22c3277f4662bac5074abd3badad07b8df92a, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3694

(SIO-2429) Allow different time/memory limits per language in config.

This change is requested by OIJ team to have different
time/memory limits for Python and C++.
OIJ jury couldn't come up with common limits for both
languages, and creating two different tasks with different
limits was confusing for participants. Especially since
it's hard to control whether the participant exceeded
the allowed number of submissions. The hack above was
introduced in 2021 OIJ edition, but we expect it to be
completely resolved by this new feature.

Allow to add new field in `config.yml` file: `override_limits`.
It has the same structure as normal limits config, except
it allows to override specific group/global limit per language.
For example, adding at the end of config:

override_tests:
  cpp:
    time_limit: 2000
    memory_limits:
      1: 20000
      3: 10000

would change time limit for c++ submissions to 2 seconds,
and for memory limits, test groups 1 and 3 would have
recpectively 20000 and 10000 kiB memory limits.
Other, not overriden groups, would remain with default limits.

Change-Id: Ic5b22c3277f4662bac5074abd3badad07b8df92a




[SIO-2428] Enable linking problems to the portal pages Created: 2021-04-27  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Summer Sprint 3

Type: Improvement Priority: Major
Reporter: Tymoteusz Wiśniewski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently linking portal pages with problems is disabled, even though code supporting it already exists. Enable it, so that problems linked by a page are automatically detected from its content and the information about related portal pages appears in the problem sites / somewhere around them.

 Comments   
Comment by Gerrit Gerrit [ 2021-06-8 ]
Change oioioi~master~I918179a2ca2d85f2d35eb0986fe9a7047e4ad92b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3759

SIO-2428 Enable linking problems with portal pages

Display information about related portal pages in a new problem
site tab.

Change-Id: I918179a2ca2d85f2d35eb0986fe9a7047e4ad92b
Comment by Gerrit Gerrit [ 2021-06-8 ]
Change oioioi~master~I918179a2ca2d85f2d35eb0986fe9a7047e4ad92b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3759

SIO-2428 Enable linking problems with portal pages

Display information about related portal pages in a new problem
site tab.

Change-Id: I918179a2ca2d85f2d35eb0986fe9a7047e4ad92b




[SIO-2427] Add django 2.2 support Created: 2021-04-20  Updated: 2022-01-2  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2020/21 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Hubert Badocha Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Comments   
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~python3~I8858ff4c6ebd69f2271150b11291ed9404ffa372, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3692

SIO-2427 Add django 2.2 support

Removed python_2_unicode_compatible decorator.
Silenced admin.E130 system check.
Removed use of None as url arguemnt.
Started creating object if it's id is used in tests as foreign key.
Adjusted dependencies.

Change-Id: I8858ff4c6ebd69f2271150b11291ed9404ffa372
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~python3~I8858ff4c6ebd69f2271150b11291ed9404ffa372, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3692

SIO-2427 Add django 2.2 support

Removed python_2_unicode_compatible decorator.
Silenced admin.E130 system check.
Removed use of None as url arguemnt.
Started creating object if it's id is used in tests as foreign key.
Adjusted dependencies.
Django 2.2.21 support is not there as it introduced breaking change that I'm not sure how to adjsut to.

Change-Id: I8858ff4c6ebd69f2271150b11291ed9404ffa372
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~python3~I8858ff4c6ebd69f2271150b11291ed9404ffa372, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3692

SIO-2427 Add django 2.2 support

Removed python_2_unicode_compatible decorator and made migration after its removal.
Silenced admin.E130 system check.
Removed use of None as url arguemnt.
Started creating object if its id is used in tests as foreign key.
Adjusted dependencies.
Django 2.2.21 support is not there as it introduced breaking change(name of a file cannot be path) that I'm not sure how to adjust to.

Change-Id: I8858ff4c6ebd69f2271150b11291ed9404ffa372
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~python3~I8858ff4c6ebd69f2271150b11291ed9404ffa372, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3692

SIO-2427 Add django 2.2 support

Removed python_2_unicode_compatible decorator and made migration after its removal.
Silenced admin.E130 system check.
Removed use of None as url arguemnt.
Started creating object if its id is used in tests as foreign key.
Adjusted dependencies.
Django 2.2.21 support is not there as it introduced breaking change(name of a file cannot be path) that I'm not sure how to adjust to.

Change-Id: I8858ff4c6ebd69f2271150b11291ed9404ffa372
Comment by Gerrit Gerrit [ 2021-05-17 ]
Change oioioi~python3~I8858ff4c6ebd69f2271150b11291ed9404ffa372, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3692

SIO-2427 Add django 2.2 support

Removed python_2_unicode_compatible decorator.
Silenced admin.E130 system check.
Removed use of None as url arguemnt.
Started creating object if its id is used in tests as foreign key.
Adjusted dependencies.
Django 2.2.21 support is not there as it introduced breaking change(name of a file cannot be path) that I'm not sure how to adjust to.

Change-Id: I8858ff4c6ebd69f2271150b11291ed9404ffa372
Comment by Gerrit Gerrit [ 2021-05-17 ]
Change oioioi~python3~I8858ff4c6ebd69f2271150b11291ed9404ffa372, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3692

SIO-2427 Add django 2.2 support

Removed python_2_unicode_compatible decorator.
Silenced admin.E130 system check.
Removed use of None as url arguemnt.
Started creating object if its id is used in tests as foreign key.
Adjusted dependencies.
Django 2.2.21 support is not there as it introduced breaking change(name of a file cannot be path) that I'm not sure how to adjust to.

Change-Id: I8858ff4c6ebd69f2271150b11291ed9404ffa372
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~python3~I8858ff4c6ebd69f2271150b11291ed9404ffa372, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3692

SIO-2427 Add django 2.2 support

Removed python_2_unicode_compatible decorator.
Silenced admin.E130 system check.
Removed use of None as url arguemnt.
Started creating object if its id is used in tests as a foreign key.
Adjusted dependencies.
Django 2.2.21 support is not there as it introduced breaking change(name of a file cannot be path) that I'm not sure how to adjust to.

Change-Id: I8858ff4c6ebd69f2271150b11291ed9404ffa372




[SIO-2426] Add django 2.1 support Created: 2021-04-20  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2020/21 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Hubert Badocha Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Comments   
Comment by Gerrit Gerrit [ 2021-04-20 ]
Change oioioi~python3~I9b451ebe22f4edad44a06c412bedb94611129bf0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3672

SIO-2426 Add django 2.1 support

Added 1.11 compatible changes.
Change load staticfiles to load static in templates.
Removed use of django.utils.translation.string_concat().
Updated is_safe_url to new standard.

Change-Id: I9b451ebe22f4edad44a06c412bedb94611129bf0
Comment by Gerrit Gerrit [ 2021-04-20 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added obligatory positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Bumped Django version.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-04-21 ]
Change oioioi~python3~I9b451ebe22f4edad44a06c412bedb94611129bf0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3672

SIO-2426 Add django 2.1 support

Added 1.11 compatible changes.
Change load staticfiles to load static in templates.
Removed use of django.utils.translation.string_concat().
Few more string enforcements.
Updated is_safe_url to new standard.

Change-Id: I9b451ebe22f4edad44a06c412bedb94611129bf0
Comment by Gerrit Gerrit [ 2021-04-21 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added obligatory positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Bumped Django version.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-04-21 ]
Change oioioi~python3~I9b451ebe22f4edad44a06c412bedb94611129bf0, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3672

SIO-2426 Add django 2.1 support

Added 1.11 compatible changes.
Change load staticfiles to load static in templates.
Removed use of django.utils.translation.string_concat().
Updated is_safe_url to new standard.
Few more string enforecements.
Added workaround for sqlite change.

Change-Id: I9b451ebe22f4edad44a06c412bedb94611129bf0
Comment by Gerrit Gerrit [ 2021-04-21 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added obligatory positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-04-21 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added obligatory positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-04-25 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added obligatory positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added requests to context in responses.
Fixed migration problems in sqlite test.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~master~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3688

SIO-2426 Add django 2.1 support

Added obligatory positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_view_permissions() to custom AdminModel classes.
Fixed migration problems in sqlite test.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added obligatory positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added requests to context in responses.
Fixed migration problems in sqlite test.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added obligatory positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.

TODO:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added optional positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.

TODO:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added optional positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.

TODO:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-05-7 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added optional positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.

TODO:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-05-7 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added optional positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.

TODO:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-05-7 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added optional positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.

TODO:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-05-8 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added optional positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.

TODO:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added optional positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.
Adjusted date in tests to fit in 32bit timestamp.

TODO:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~python3~I9b451ebe22f4edad44a06c412bedb94611129bf0, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3672

SIO-2426 Add django 2.1 support

Added 1.11 compatible changes.
Change load staticfiles to load static in templates.
Removed use of django.utils.translation.string_concat().
Updated is_safe_url to new standard.
Few more string enforecements.
Added temporary workaround for sqlite change.

Change-Id: I9b451ebe22f4edad44a06c412bedb94611129bf0
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~python3~I9b451ebe22f4edad44a06c412bedb94611129bf0, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3672

SIO-2426 Add django 2.1 support

Added 1.11 compatible changes.
Change load staticfiles to load static in templates.
Removed use of django.utils.translation.string_concat().
Updated is_safe_url to new standard.
Few more string enforecements.
Added temporary workaround for sqlite change.

Change-Id: I9b451ebe22f4edad44a06c412bedb94611129bf0
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added optional positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.
Adjusted date in tests to fit in 32bit timestamp.

TODO:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~python3~Iccc870ed9b7da334713ab1e8265702edf49989d7, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3673

SIO-2426 Add django 2.1 support

Added optional positional obj parameter to InlineAdmin.
Added obligatory positional request parameter to authenticate.
Adapted FileInFiletracker to change File class.
Adjusted dependencies versions.
Added support to has_change_permission in get_form on admin sites.
Added has_changed_permission to requiring it model admins.
Fixed migration problems in sqlite test.
Adjusted date in tests to fit in 32bit timestamp.

TODO for me in further commit:
Review other model admins and check if they also need custon view permissions.

Change-Id: Iccc870ed9b7da334713ab1e8265702edf49989d7




[SIO-2425] Integrate exportszu with a plagiarism detection tool Created: 2021-04-19  Updated: 2021-05-31  Resolved: 2021-05-31

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Summer Sprint 2

Type: Improvement Priority: Minor
Reporter: Tymoteusz Wiśniewski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Comments   
Comment by Gerrit Gerrit [ 2021-05-12 ]
Change oioioi~master~I287c6eb89f5e82522a6954e46b06fefff390cff1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3713

SIO-2425 Add integration with MOSS

Create an option for contest admin to export all submissions for
a certain problem and submit them to the MOSS plagiarism detection
system.

Change-Id: I287c6eb89f5e82522a6954e46b06fefff390cff1
Comment by Gerrit Gerrit [ 2021-05-13 ]
Change oioioi~master~I287c6eb89f5e82522a6954e46b06fefff390cff1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3713

SIO-2425 Add integration with MOSS

Create an option for contest admin to export all submissions for
a certain problem and submit them to the MOSS plagiarism detection
system.

Change-Id: I287c6eb89f5e82522a6954e46b06fefff390cff1
Comment by Gerrit Gerrit [ 2021-05-14 ]
Change oioioi~master~I287c6eb89f5e82522a6954e46b06fefff390cff1, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3713

SIO-2425 Add integration with MOSS

Create an option for contest admin to export all submissions for
a certain problem and submit them to the MOSS code similarity
detection system.

Change-Id: I287c6eb89f5e82522a6954e46b06fefff390cff1
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I287c6eb89f5e82522a6954e46b06fefff390cff1, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3713

SIO-2425 Add integration with MOSS

Create an option for contest admin to export all submissions for
a certain problem and submit them to the MOSS code similarity
detection system.

Change-Id: I287c6eb89f5e82522a6954e46b06fefff390cff1
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I287c6eb89f5e82522a6954e46b06fefff390cff1, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3713

SIO-2425 Add integration with MOSS

Create an option for contest admin to export all submissions for
a certain problem and submit them to the MOSS code similarity
detection system.

Change-Id: I287c6eb89f5e82522a6954e46b06fefff390cff1




[SIO-2424] Refactor and slim down the code Created: 2021-04-19  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Tymoteusz Wiśniewski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Comments   
Comment by Gerrit Gerrit [ 2021-04-20 ]
Change oioioi~master~Id2b7a1d63ca9fc71bd09f4852e3c2247f967306b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3669

SIO-2424 Remove avatar app

The 'avatar' app contains only one context processor, which
is explicitly used by the settings files. Move the content of this
app to the 'base' module and remove it.

Change-Id: Id2b7a1d63ca9fc71bd09f4852e3c2247f967306b
Comment by Gerrit Gerrit [ 2021-04-20 ]
Change oioioi~master~Id2b7a1d63ca9fc71bd09f4852e3c2247f967306b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3669

SIO-2424 Remove avatar app

The 'avatar' app contains only one context processor, which
is explicitly used by the settings files. Move the content of this
app to the 'base' module and remove it.

Change-Id: Id2b7a1d63ca9fc71bd09f4852e3c2247f967306b
Comment by Gerrit Gerrit [ 2021-04-26 ]
Change oioioi~master~I90aa1ccb51c02ed1c7ebce947253a77625e4937d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3679

SIO-2424 Clean up the portals app (WIP)

Change-Id: I90aa1ccb51c02ed1c7ebce947253a77625e4937d
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~master~I90aa1ccb51c02ed1c7ebce947253a77625e4937d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3679

SIO-2424 Clean up the portals app (WIP)

Change-Id: I90aa1ccb51c02ed1c7ebce947253a77625e4937d
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~master~I90aa1ccb51c02ed1c7ebce947253a77625e4937d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3679

SIO-2424 Clean up the portals app

Remove redundant model logic and repeating code.

Change-Id: I90aa1ccb51c02ed1c7ebce947253a77625e4937d
Comment by Gerrit Gerrit [ 2021-04-30 ]
Change oioioi~master~I90aa1ccb51c02ed1c7ebce947253a77625e4937d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3679

SIO-2424 Clean up the portals app

Remove redundant model logic and repeating code.

Change-Id: I90aa1ccb51c02ed1c7ebce947253a77625e4937d
Comment by Gerrit Gerrit [ 2021-05-3 ]
Change oioioi~master~I90aa1ccb51c02ed1c7ebce947253a77625e4937d, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3679

SIO-2424 Clean up the portals app

Remove redundant model logic and repeating code.

Change-Id: I90aa1ccb51c02ed1c7ebce947253a77625e4937d
Comment by Gerrit Gerrit [ 2021-05-7 ]
Change oioioi~master~I9723fbc3fcefccb80562a272582cd185663922eb, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3700

SIO-2424 Remove unnecessary portal page import commands

Remove import commands which were used once to import pages from
the MAIN service. They are not needed anymore and using them to
import more content to the OIOIOI now may cause more harm than expected.

Change-Id: I9723fbc3fcefccb80562a272582cd185663922eb
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~master~If2d72ae94cd83a9370e80b0586787e105c340b7e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3695

(no-ticket) Add migration for NodeLanguageVersion (portals app)

Add a migration for a NodeLanguageVersion model, which should
have been added in the change "SIO-2424 Clean up the portals app".

Change-Id: If2d72ae94cd83a9370e80b0586787e105c340b7e




[SIO-2423] Add ranking for each user group in a contest Created: 2021-04-13  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Tomasz Domagała Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Comments   
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~master~I355c920340fe63a05d77b41db4e65216013fd1ed, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3708

SIO-2423 Add user group rankings

Provides the ability to create separate contest rankings
for specified user groups. This can be a useful tool for
teachers to manage multiple classes in the same contest.

Change-Id: I355c920340fe63a05d77b41db4e65216013fd1ed
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~master~I355c920340fe63a05d77b41db4e65216013fd1ed, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3708

SIO-2423 Add user group rankings

Provides the ability to create separate contest rankings
for specified user groups. This can be a useful tool for
teachers to manage multiple classes in the same contest.

Change-Id: I355c920340fe63a05d77b41db4e65216013fd1ed
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~master~I355c920340fe63a05d77b41db4e65216013fd1ed, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3708

SIO-2423 Add user group rankings

Provides the ability to create separate contest rankings
for specified user groups. This can be a useful tool for
teachers to manage multiple classes in the same contest.

Change-Id: I355c920340fe63a05d77b41db4e65216013fd1ed
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I355c920340fe63a05d77b41db4e65216013fd1ed, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3708

SIO-2423 Add user group rankings

Provides the ability to create separate contest rankings
for specified user groups. This can be a useful tool for
teachers to manage multiple classes in the same contest.

Change-Id: I355c920340fe63a05d77b41db4e65216013fd1ed




[SIO-2422] Make technical details of contests and problems available for users Created: 2021-04-13  Updated: 2022-02-28

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2020/21 Summer Sprint 2

Type: Improvement Priority: Minor
Reporter: Jakub Wasilewski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Description   
Contest wide technical information like how points are calculated, compiler version or whether last or best submission counts are hard to access.

Problem wide technical information like available languages, compilation commands lines, code size limit etc. are also rather unavailable.

The goal of this issue is to make those information available and easy to find

 Comments   
Comment by Gerrit Gerrit [ 2021-06-7 ]
Change oioioi~master~Ic729880e8e4fccfadd15753233f27cf1d35f06cc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3754

(SIO-2422) Make technical details of contest publicly visible.

This feature has been requested by Polish Olympiad in Informatics.

Display contest technical settings on the contest's dashboard.
Previously this information was available only in the controller's
source code, which made it tedious to check.

The information shown on the dashboard:
* Available programming languages,
        * Execution mode (CPU/sio2jail),
        * Compilers and libraries versions,
        * Scoring methods
- Single test scoring,
- Test group scoring,
- Which submission is treated as definitive (LAST/MAX/MAX_REVEALED).
Methods have link to the wiki, where in the near future will be placed
their descriptions.

Change-Id: Ic729880e8e4fccfadd15753233f27cf1d35f06cc




[SIO-2421] Add django 2.0 support Created: 2021-04-13  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2020/21 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Hubert Badocha Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2




[SIO-2420] Change table styling in portals to improve readability Created: 2021-04-13  Updated: 2021-04-13  Resolved: 2021-04-13

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Tomasz Domagała Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently, the table element rendered in markdown posts has no visible borders and weird cell alignment. Especially with big tables, it makes it impossible to read them.

 Comments   
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I2590035ab7ed93f3bd2ab00de59795c61d3e3d96, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3654

SIO-2420 Change table styling in portals

Currently, the table element in portals is hard to read
due to the lack of visible borders and wierd cell alignment.

Change-Id: I2590035ab7ed93f3bd2ab00de59795c61d3e3d96
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I2590035ab7ed93f3bd2ab00de59795c61d3e3d96, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3654

SIO-2420 Change table styling in portals

Currently, the table element in portals is hard to read
due to the lack of visible borders and wierd cell alignment.

Change-Id: I2590035ab7ed93f3bd2ab00de59795c61d3e3d96
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I2590035ab7ed93f3bd2ab00de59795c61d3e3d96, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3654

SIO-2420 Change table styling in portals

Currently, the table element in portals is hard to read
due to the lack of visible borders and weird cell alignment.

Change-Id: I2590035ab7ed93f3bd2ab00de59795c61d3e3d96




[SIO-2419] Add basic info about selected problem while reuploading a package Created: 2021-04-12  Updated: 2021-06-8  Resolved: 2021-06-8

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Tomasz Nowak Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
On "Admin Playground -> Contest Administration -> Problems -> Reupload package" there is absolutely no information about the selected problem. I wasn't sure if I clicked on the right problem and I had no way of checking it besides going back and reclicking the "Reupload package" link.




[SIO-2418] Improve algorithm and difficulty tags system Created: 2021-04-12  Updated: 2021-05-7  Resolved: 2021-05-7

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Szymon Czyżmański Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Summer Sprint 2

 Comments   
Comment by Gerrit Gerrit [ 2021-04-12 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Modify AlgorithmTag and AlgorithmTagLocalization models to
 accomodate for shorter algorithms abbreviations and longer,
 localized full names of algorithms.
*Add DifficultyTagLocalization model to accomodate for
 difficulty tags translations.
*Modify DifficutTagProposal to relate DifficultyTag objects
 with users proposals.
*Display difficulty tags in a currently chosen language.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for connecting existing algorithm and
 difficulty tags with given problems (drop-down lists).
*Make searching for algorithm and difficulty tags use their
 full names in all available languages.
*Add button for adding users algorithm tag proposals.
*Add displaying users difficulty tag proposals in the problem
 settings view.
*Add other minor UI tweaks.
*Modify existing tests and add new test cases.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-04-12 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Modify AlgorithmTag and AlgorithmTagLocalization models to
 accomodate for shorter algorithms abbreviations and longer,
 localized full names of algorithms.
*Add DifficultyTagLocalization model to accomodate for
 difficulty tags translations.
*Modify DifficutTagProposal to relate DifficultyTag objects
 with users proposals.
*Display difficulty tags in a currently chosen language.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for connecting existing algorithm and
 difficulty tags with given problems (drop-down lists).
*Make searching for algorithm and difficulty tags use their
 full names in all available languages.
*Add button for adding users algorithm tag proposals.
*Add displaying users difficulty tag proposals in the problem
 settings view.
*Add other minor UI tweaks.
*Modify existing tests and add new test cases.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-04-12 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Modify AlgorithmTag and AlgorithmTagLocalization models to
 accomodate for shorter algorithms abbreviations and longer,
 localized full names of algorithms.
*Add DifficultyTagLocalization model to accomodate for
 difficulty tags translations.
*Modify DifficutTagProposal to relate DifficultyTag objects
 with users proposals.
*Display difficulty tags in a currently chosen language.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for connecting existing algorithm and
 difficulty tags with given problems (drop-down lists).
*Make searching for algorithm and difficulty tags use their
 full names in all available languages.
*Add button for adding users algorithm tag proposals.
*Add displaying users difficulty tag proposals in the problem
 settings view.
*Add other minor UI tweaks.
*Modify existing tests and add new test cases.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-04-12 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Modify AlgorithmTag and AlgorithmTagLocalization models to
 accomodate for shorter algorithms abbreviations and longer,
 localized full names of algorithms.
*Add DifficultyTagLocalization model to accomodate for
 difficulty tags translations.
*Modify DifficutTagProposal to relate DifficultyTag objects
 with users proposals.
*Display difficulty tags in a currently chosen language.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for connecting existing algorithm and
 difficulty tags with given problems (drop-down lists).
*Make searching for algorithm and difficulty tags use their
 full names in all available languages.
*Add button for adding users algorithm tag proposals.
*Add displaying users difficulty tag proposals in the problem
 settings view.
*Add other minor UI tweaks.
*Modify existing tests and add new test cases.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-04-12 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Modify AlgorithmTag and AlgorithmTagLocalization models to
 accomodate for shorter algorithms abbreviations and longer,
 localized full names of algorithms.
*Add DifficultyTagLocalization model to accomodate for
 difficulty tags translations.
*Modify DifficutTagProposal to relate DifficultyTag objects
 with users proposals.
*Display difficulty tags in a currently chosen language.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for connecting existing algorithm and
 difficulty tags with given problems (drop-down lists).
*Make searching for algorithm and difficulty tags use their
 full names in all available languages.
*Add button for adding users algorithm tag proposals.
*Add displaying users difficulty tag proposals in the problem
 settings view.
*Add other minor UI tweaks.
*Modify existing tests and add new test cases.
*Refactor old code.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Modify AlgorithmTag and AlgorithmTagLocalization models to
 accomodate for shorter algorithms abbreviations and longer,
 localized full names of algorithms.
*Add DifficultyTagLocalization model to accomodate for
 difficulty tags translations.
*Modify DifficutTagProposal to relate DifficultyTag objects
 with users proposals.
*Display difficulty tags in a currently chosen language.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for connecting existing algorithm and
 difficulty tags with given problems (drop-down lists).
*Make searching for algorithm and difficulty tags use their
 full names in all available languages.
*Add button for adding users algorithm tag proposals.
*Add displaying users difficulty tag proposals in the problem
 settings view.
*Add other minor UI tweaks.
*Modify existing tests and add new test cases.
*Refactor old code.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-05-2 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Make difficulty tags translatable.
*Display difficulty tags by their full names in a currently
 chosen language.
*Force users to choose proposed difficulty level for a problem
 only from existing difficulty tags.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for relating existing algorithm and
 difficulty tags with a problem (drop-down lists instead
 of text input fields).
*Internationalize searching by algorithm and difficulty tags.
*Miscellaneous UI tweaks.
*Modify existing tests and add new test cases.
*Refactor old code.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-05-2 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Make difficulty tags translatable.
*Display difficulty tags by their full names in a currently
 chosen language.
*Force users to choose proposed difficulty level for a problem
 only from existing difficulty tags.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for relating existing algorithm and
 difficulty tags with a problem (drop-down lists instead
 of text input fields).
*Internationalize searching by algorithm and difficulty tags.
*Miscellaneous UI tweaks.
*Modify existing tests and add new test cases.
*Refactor old code.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-05-2 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Make difficulty tags translatable.
*Display difficulty tags by their full names in a currently
 chosen language.
*Force users to choose proposed difficulty level for a problem
 only from existing difficulty tags.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for relating existing algorithm and
 difficulty tags with a problem (drop-down lists instead
 of text input fields).
*Internationalize searching by algorithm and difficulty tags.
*Miscellaneous UI tweaks.
*Modify existing tests and add new test cases.
*Refactor old code.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-05-3 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Make difficulty tags translatable.
*Display difficulty tags by their full names in a currently
 chosen language.
*Force users to choose proposed difficulty level for a problem
 only from existing difficulty tags.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for relating existing algorithm and
 difficulty tags with a problem (drop-down lists instead
 of text input fields).
*Internationalize searching by algorithm and difficulty tags.
*Miscellaneous UI tweaks.
*Modify existing tests and add new test cases.
*Refactor old code.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-05-3 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Make difficulty tags translatable.
*Display difficulty tags by their full names in a currently
 chosen language.
*Force users to choose proposed difficulty level for a problem
 only from existing difficulty tags.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for relating existing algorithm and
 difficulty tags with a problem (drop-down lists instead
 of text input fields).
*Internationalize searching by algorithm and difficulty tags.
*Miscellaneous UI tweaks.
*Modify existing tests and add new test cases.
*Refactor old code.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-05-4 ]
Change oioioi~master~If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3651

(SIO-2418) Improve algorithm and difficulty tags system

Problems in Szkopul can be tagged with three types of tags:
algorithm, difficulty and origin. There is a need to improve
algorithm and difficulty tags system in order to provide
a better problems search and discovery for the users.

*Make difficulty tags translatable.
*Display difficulty tags by their full names in a currently
 chosen language.
*Force users to choose proposed difficulty level for a problem
 only from existing difficulty tags.
*Modify admin panel for creating new tags: make algorithm
 and difficulty tag localizations obligatory for all available
 languages.
*Modify admin panel for relating existing algorithm and
 difficulty tags with a problem (drop-down lists instead
 of text input fields).
*Internationalize searching by algorithm and difficulty tags.
*Miscellaneous UI tweaks.
*Modify existing tests and add new test cases.
*Refactor old code.

Change-Id: If54de8b0aaf7a006eb6980bdae8c07513d9c4a1e
Comment by Gerrit Gerrit [ 2021-05-6 ]
Change oioioi~master~I27cfaf2d20aadc1c6e0c8f9c41a7880676cdb0cd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3696

(no-ticket) Fix permissions for labeling problems with tags

*Allow any user who can edit a problem to label the problem
 with the algorithm and difficulty tags.
*Restore the function 'can_admin_problem' to its original
 definition (before the '(SIO-2418) Improve algorithm and
 difficulty tags system' change).

Change-Id: I27cfaf2d20aadc1c6e0c8f9c41a7880676cdb0cd
Comment by Gerrit Gerrit [ 2021-05-7 ]
Change oioioi~master~I27cfaf2d20aadc1c6e0c8f9c41a7880676cdb0cd, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3696

(no-ticket) Fix permissions for labeling problems with tags

*Allow any user who can edit a problem to label the problem
 with the algorithm and difficulty tags.
*Restore the function 'can_admin_problem' to its original
 definition (before the '(SIO-2418) Improve algorithm and
 difficulty tags system' change).
*Add docs for the function 'can_admin_problem'.

Change-Id: I27cfaf2d20aadc1c6e0c8f9c41a7880676cdb0cd
Comment by Gerrit Gerrit [ 2021-05-7 ]
Change oioioi~master~I27cfaf2d20aadc1c6e0c8f9c41a7880676cdb0cd, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3696

(no-ticket) Fix permissions for labeling problems with tags

*Allow any user who can edit a problem to label the problem
 with the algorithm and difficulty tags.
*Restore the function 'can_admin_problem' to its original
 definition (before the '(SIO-2418) Improve algorithm and
 difficulty tags system' change).
*Add docs for the function 'can_admin_problem'.

Change-Id: I27cfaf2d20aadc1c6e0c8f9c41a7880676cdb0cd




[SIO-2417] Adding a problem which has model solution in language not available in contest controller crashes site Created: 2021-03-30  Updated: 2021-03-30

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alicja Kluczek Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Server gets assertion error when trying to retrieve compiler for the submission -- which doesn't exist, because contest controller overrides general compiler names.

Create contest controller with specified languages -- e.g. add
def get_allowed_language(self):
      return ['C']
to oioioi/oi/controller.py
Create a public task (you can use Sumżyce) with py solution.
Add to contest. Try adding to round (the site crashes just after clicking save) from basic problem form view. Voila.






[SIO-2416] Create an easy way to replace a problem statement Created: 2021-03-24  Updated: 2021-11-17  Resolved: 2021-04-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Tymoteusz Wiśniewski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Sometimes during a contest a problem statement has to be quickly patched/replaced without reevaluating the entire problem package and participant submissions. Create an interface for a contest admin which allows him to quickly replace problem statements.

 Comments   
Comment by Gerrit Gerrit [ 2021-03-30 ]
Change oioioi~master~I40fd789286d6fe4f920a11a0bd03d348f2e5a57e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3648

SIO-2416 Add a problem site tab for replacing problem statements

Replacing package files requires reevaluation of the package.
Add a tab to problem site which can quickly replace problem
statement in place without rejudging submissions or reevaluating
the package.

Change-Id: I40fd789286d6fe4f920a11a0bd03d348f2e5a57e
Comment by Gerrit Gerrit [ 2021-03-30 ]
Change oioioi~master~I40fd789286d6fe4f920a11a0bd03d348f2e5a57e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3648

SIO-2416 Add a problem site tab for replacing problem statements

Replacing package files requires reevaluation of the package.
Add a tab to problem site which can quickly replace problem
statement in place without rejudging submissions or reevaluating
the package.

Change-Id: I40fd789286d6fe4f920a11a0bd03d348f2e5a57e
Comment by Gerrit Gerrit [ 2021-04-6 ]
Change oioioi~master~I40fd789286d6fe4f920a11a0bd03d348f2e5a57e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3648

SIO-2416 Add a problem site tab for replacing problem statements

Replacing package files requires reevaluation of the package.
Add a tab to problem site which can quickly replace problem
statement in place without rejudging submissions or reevaluating
the package.

Change-Id: I40fd789286d6fe4f920a11a0bd03d348f2e5a57e
Comment by Gerrit Gerrit [ 2021-04-6 ]
Change oioioi~master~I40fd789286d6fe4f920a11a0bd03d348f2e5a57e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3648

SIO-2416 Add a problem site tab for replacing problem statements

Replacing package files requires reevaluation of the package.
Add a tab to problem site which can quickly replace problem
statement in place without rejudging submissions or reevaluating
the package.

Change-Id: I40fd789286d6fe4f920a11a0bd03d348f2e5a57e




[SIO-2415] Remove the use of the legacy problem tags Created: 2021-03-23  Updated: 2021-05-7  Resolved: 2021-05-7

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Major
Reporter: Szymon Czyżmański Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2021-04-1 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-1 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-1 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-1 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-1 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-1 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-2 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-2 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-3 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-3 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove old tags use and replace it with the new tags
  if necessary.
* Remove the old tags tests or mark them to be skipped.
* Add a temporary UI for creating the new tags in the
  problem-settings view (to be improved).
* Add tests for the new UI.
* Correct a few typos.
* Add a few cosmetic changes to old code for a better
  readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-7 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove the old tags use and replace it with the new tags
  use if necessary.
* Remove the old tags tests.
* Remove the old tags formset and the attachments formset
  from the simpleui_problem_settings view and add links
  to the problem admin page for the new tags and the
  attachments modifications.
* Correct a few typos.
* Add a few cosmetic changes to the old code for a better
  code readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-7 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove the old tags use and replace it with the new tags
  use if necessary.
* Remove the old tags tests.
* Remove the old tags formset and the attachments formset
  from the simpleui_problem_settings view and add links
  to the problem admin page for the new tags and the
  attachments modifications.
* Correct a few typos.
* Add a few cosmetic changes to the old code for a better
  code readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-7 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove the old tags use and replace it with the new tags
  use if necessary.
* Remove the old tags tests.
* Remove the old tags formset and the attachments formset
  from the simpleui_problem_settings view and add links
  to the problem admin page for the new tags and the
  attachments modifications.
* Correct a few typos.
* Add a few cosmetic changes to the old code for a better
  code readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-12 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove the old tags use and replace it with the new tags
  use if necessary.
* Remove the old tags tests.
* Remove the old tags formset and the attachments formset
  from the simpleui_problem_settings view and add links
  to the problem admin page for the new tags and the
  attachments modifications.
* Correct a few typos.
* Add a few cosmetic changes to the old code for a better
  code readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-28 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove the old tags use and replace it with the new tags
  use if necessary.
* Remove the old tags tests.
* Remove the old tags formset and the attachments formset
  from the simpleui_problem_settings view and add links
  to the problem admin page for the new tags and the
  attachments modifications.
* Correct a few typos.
* Add a few cosmetic changes to the old code for a better
  code readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-28 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove the old tags use and replace it with the new tags
  use if necessary.
* Remove the old tags tests.
* Remove the old tags formset and the attachments formset
  from the simpleui_problem_settings view and add links
  to the problem admin page for the new tags and the
  attachments modifications.
* Correct a few typos.
* Add a few cosmetic changes to the old code for a better
  code readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-28 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove the old tags use and replace it with the new tags
  use if necessary.
* Remove the old tags tests.
* Remove the old tags formset and the attachments formset
  from the simpleui_problem_settings view and add links
  to the problem admin page for the new tags and the
  attachments modifications.
* Correct a few typos.
* Add a few cosmetic changes to the old code for a better
  code readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee
Comment by Gerrit Gerrit [ 2021-04-28 ]
Change oioioi~master~Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3649

(SIO-2415) Remove the use of the legacy problem tags

There are currently old (legacy) problem tags used for
searching problems and quizzes in the Szkopul alongside
new, more specific ones: algorithm, origin and difficulty
tags. There is a need to differentiate between tags types
in order to provide a better problems search and discovery
for the users.

* Remove the old tags use and replace it with the new tags
  use if necessary.
* Remove the old tags tests.
* Remove the old tags formset and the attachments formset
  from the simpleui_problem_settings view and add links
  to the problem admin page for the new tags and the
  attachments modifications.
* Correct a few typos.
* Add a few cosmetic changes to the old code for a better
  code readability.

Change-Id: Id9dc04ce89a59ac8eaaee437798ef6dc8c5b03ee




[SIO-2414] Add spoiler block to markdown Created: 2021-03-19  Updated: 2021-04-13  Resolved: 2021-04-13

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Tomasz Domagała Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Some of the main2 courses use spoilers to show certain content only after the user click. We need this functionality in the markdown renderer to nicely translate them from HTML to MD.

 Comments   
Comment by Gerrit Gerrit [ 2021-03-23 ]
Change oioioi~master~Ia8c9676766d42d4dde091612960725e8aad58ea9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3637

SIO-2414 Add support for spoilers in markdown

Default markdown specification does not include
a spoiler tag, but we need it to translate some
of the courses from main2.edu.pl/main2/courses/.

Change-Id: Ia8c9676766d42d4dde091612960725e8aad58ea9
Comment by Gerrit Gerrit [ 2021-03-23 ]
Change oioioi~master~Ia8c9676766d42d4dde091612960725e8aad58ea9, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3637

SIO-2414 Add support for spoilers in markdown

Default markdown specification does not include
a spoiler tag, but we need it to translate some
of the courses from main2.edu.pl/main2/courses/.

Change-Id: Ia8c9676766d42d4dde091612960725e8aad58ea9
Comment by Gerrit Gerrit [ 2021-03-23 ]
Change oioioi~master~Ia8c9676766d42d4dde091612960725e8aad58ea9, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3637

SIO-2414 Add support for spoilers in markdown

Default markdown specification does not include
a spoiler tag, but we need it to translate some
of the courses from main2.edu.pl/main2/courses/.

Change-Id: Ia8c9676766d42d4dde091612960725e8aad58ea9
Comment by Gerrit Gerrit [ 2021-03-30 ]
Change oioioi~master~Ia8c9676766d42d4dde091612960725e8aad58ea9, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3637

SIO-2414 Add support for spoilers in markdown

Default markdown specification does not include
a spoiler tag, but we need it to translate some
of the courses from main2.edu.pl/main2/courses/.

Change-Id: Ia8c9676766d42d4dde091612960725e8aad58ea9
Comment by Gerrit Gerrit [ 2021-03-30 ]
Change oioioi~master~Ia8c9676766d42d4dde091612960725e8aad58ea9, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3637

SIO-2414 Add support for spoilers in markdown

Default markdown specification does not include
a spoiler tag, but we need it to translate some
of the courses from main2.edu.pl/main2/courses/.

Change-Id: Ia8c9676766d42d4dde091612960725e8aad58ea9
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~Ia8c9676766d42d4dde091612960725e8aad58ea9, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3637

SIO-2414 Add support for spoilers in markdown

Default markdown specification does not include
a spoiler tag, but we need it to translate some
of the courses from main2.edu.pl/main2/courses/.

Change-Id: Ia8c9676766d42d4dde091612960725e8aad58ea9




[SIO-2413] Integrate export of test results for all submissions per problem Created: 2021-03-19  Updated: 2021-06-5

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Trivial
Reporter: Bartosz Kostka Assignee: Alicja Kluczek
Resolution: Unresolved Votes: 0
Labels: None

Attachments: HTML File sio_export    

 Description   
We would like to be able to create a table with the following header:
- Submission id
- Contestant name
- Time of submission
- Language
- Score
- test0a status
...
- test 9z status
Apparently it is useful for jury. I made a sample script to do this (in attachment).




[SIO-2411] Change the main2 courses format from html to markdown Created: 2021-03-16  Updated: 2021-04-13  Resolved: 2021-04-13

Status: Resolved
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Near Future
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Tomasz Domagała Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
We want to publish courses from unused main2 service (https://main2.edu.pl/main2/courses/) on the szkopul.edu.pl website.
To do this nicely, we need them in markdown format.




[SIO-2410] Unnecessary trimming whitespaces in test run view. Created: 2021-02-18  Updated: 2021-02-18

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: For the OI Team
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alicja Kluczek Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None





[SIO-2409] Optimization task -- Adding a permission in contest view is really slow Created: 2021-02-11  Updated: 2021-03-22  Resolved: 2021-03-22

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Alicja Kluczek Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently adding a permission is really slow -- on sio2.mimuw.edu.pl it takes few minutes for site to unfreeze. I think the cause is that it fetches all users and processes them. Maybe instead of form "pick user"&"pick permission" form, we could generate invite codes for admins?

Or maybe we would just insert user's nickname in the form as a plaintext?

 Comments   
Comment by Gerrit Gerrit [ 2021-03-11 ]
Change oioioi~master~I4d6196a94c35a8100cf32acfacd8ab203dd9923c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3602

SIO-2409 Change user choice widget in contest permissions admin

The default fk object selection widget fetches all possible choices from
the db and creates a dropdown select with options. This caused problems
because with 10s of thousands of users the browser would freeze when
loading the options.

This commit changes the widget. Now the field accepts just a plaintext
username.

Also a minor change in conftest.py is included - function-level imports
are moved to global-level so that the imports need not to be executed for
every test that is run.

Change-Id: I4d6196a94c35a8100cf32acfacd8ab203dd9923c
Comment by Gerrit Gerrit [ 2021-03-14 ]
Change oioioi~master~I4d6196a94c35a8100cf32acfacd8ab203dd9923c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3602

SIO-2409 Change user choice widget in contest permissions admin

The default fk object selection widget fetches all possible choices from
the db and creates a dropdown select with options. This caused problems
because with 10s of thousands of users the browser would freeze when
loading the options.

This commit changes the widget. Now the field accepts just a plaintext
username.

Change-Id: I4d6196a94c35a8100cf32acfacd8ab203dd9923c




[SIO-2408] Enable deletion of questions in a quiz Created: 2021-01-27  Updated: 2021-11-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Szymon Czyżmański Assignee: Patrycja Krzyna
Resolution: Unresolved Votes: 0
Labels: None





[SIO-2407] Fix post report confirmation layout Created: 2021-01-27  Updated: 2021-02-3  Resolved: 2021-02-3

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Jakub Niściór Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Winter Sprint

 Description   
Report button in should be centralized.
Textbox should not be resizable.

 Comments   
Comment by Gerrit Gerrit [ 2021-01-27 ]
Change oioioi~master~Ie81db0104684f99b5ed69c7b8ca4383558ba1771, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3594

SIO-2407 Fix textarea form layout

- Add new css class 'form-wide' to discard max-width for forms
- Add global style 'resize: none' for textareas
- Fix confirm_report layouot by adding new 'form-wide' css class.

Change-Id: Ie81db0104684f99b5ed69c7b8ca4383558ba1771
Comment by Gerrit Gerrit [ 2021-02-3 ]
Change oioioi~master~Ie81db0104684f99b5ed69c7b8ca4383558ba1771, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3594

SIO-2407 Fix textarea form layout

- Add new css class 'form-wide' to discard max-width for forms
- Add new css class '.non-resizable' for textareas, which prevents resizing of the textarea.
- Fix confirm_report layouot by adding new 'form-wide' class to form, and 'non-resizable' class to textarea.

Change-Id: Ie81db0104684f99b5ed69c7b8ca4383558ba1771
Comment by Gerrit Gerrit [ 2021-02-3 ]
Change oioioi~master~Ie81db0104684f99b5ed69c7b8ca4383558ba1771, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3594

SIO-2407 Fix textarea form layout

- Add new css class 'form-wide' to discard max-width for forms
- Add new css class '.non-resizable' for textareas, which prevents resizing of the textarea.
- Fix confirm_report layouot by adding new 'form-wide' class to form, and 'non-resizable' class to textarea.

Change-Id: Ie81db0104684f99b5ed69c7b8ca4383558ba1771
Comment by Gerrit Gerrit [ 2021-02-3 ]
Change oioioi~master~Ie81db0104684f99b5ed69c7b8ca4383558ba1771, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3594

SIO-2407 Fix textarea form layout

- Add new css class 'form-wide' to discard max-width for forms
- Add new css class '.non-resizable' for textareas, which prevents resizing of the textarea.
- Fix confirm_report layouot by adding new 'form-wide' class to form, and 'non-resizable' class to textarea.

Change-Id: Ie81db0104684f99b5ed69c7b8ca4383558ba1771




[SIO-2406] Filetracker not connecting on docker on newest sio2 version Created: 2021-01-27  Updated: 2021-10-31

Status: New
Project: The SIO2 project
Component/s: Filetracker, OIOIOI, SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Alicja Kluczek Assignee: Wojciech Dubiel
Resolution: Unresolved Votes: 0
Labels: None
Environment: docker-compose version 1.28.0, build unknown
Docker version 20.10.2, build 2291f610ae
kernel 5.10.10-arch1-1 27-01-2020

Attachments: Text File filetracker.log     PNG File sio2.png    

 Description   
Sio2 attempt to build using

OIOIOI_UID=$(id -u) docker-compose -f docker-compose-dev.yml -f extra/docker/docker-compose-dev-noserver.yml up -d
OIOIOI_UID=$(id -u) docker-compose -f docker-compose-dev.yml -f extra/docker/docker-compose-dev-noserver.yml exec web python manage.py runserver 0.0.0.0:8000

 Comments   
Comment by Paweł Dietrich [ 2021-03-1 ]
I fixed this issue on my computer by getting in the container during building of OIOIOI image

docker exec -it <container-id> bash

And adding web to the /etc/hosts

echo -e '127.0.0.1\tweb' | sudo tee -a /etc/hosts

Which allowed web to be resolved and upload sandbox files to the File Tracker
Comment by Paweł Dietrich [ 2021-10-31 ]
Related https://github.com/sio2project/oioioi/issues/46




[SIO-2405] Prioritize certain kinds of statuses when aggregating ACM-style test results Created: 2021-01-17  Updated: 2021-06-7

Status: New
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wojciech Dubiel Assignee: Alicja Kluczek
Resolution: Unresolved Votes: 0
Labels: tag2


 Description   
In ACM-style contests, the user-visible result for a submit is "AC" when all tests pass, and some type of error status when one or more tests fail.

Currently, if multiple tests fail with different statuses, the "first" failure is shown.
Moreover, "first" is defined according to some internal order, different from the order visible in UI.

It'd be preferable if the status to display was chosen based on type of failure, and not order of tests.
For example, RE could take precedence over WA, then MLE, then TLE, etc.





Forum improvements (SIO-2266)

[SIO-2404] Allow markdown in posts Created: 2021-01-13  Updated: 2021-01-13

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Winter Sprint

Type: Sub-task Priority: Major
Reporter: Jakub Moliński Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Sprint: TAG 2020/21 Winter Sprint

 Description   
1. Research our ability to easily and safely limit the scope of supported markdown features (if this is very hard then it may not be worth the hassle)

2. Implement the support for md in posts (scope: syntax highlighting...? to be decided)

Wojtek says that we may already be using markdown in some part of OIOIOI - reusing that would be useful.




Forum improvements (SIO-2266)

[SIO-2403] Allow giving +1 and -1 reactions to posts on forum Created: 2021-01-13  Updated: 2021-01-23  Resolved: 2021-01-23

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version, TAG 2020/21 Winter Sprint
Fix Version/s: TAG 2020/21 Winter Sprint

Type: Sub-task Priority: Minor
Reporter: Jakub Moliński Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Winter Sprint

 Description   
This feature would be useful for confirming tests. We don't want to allow emoji reactions for now, only +1 and -1.

 Comments   
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3585

(SIO-2403) Add forum post reactions

Change-Id: I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17
Comment by Gerrit Gerrit [ 2021-01-21 ]
Change oioioi~master~I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3585

(SIO-2403) Add forum post reactions

Change-Id: I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17
Comment by Gerrit Gerrit [ 2021-01-21 ]
Change oioioi~master~I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3585

(SIO-2403) Add forum post reactions

Add +1 and -1 reactions to forum posts.

Reactions can be enabled or disabled independently for each category.

Change-Id: I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17
Comment by Gerrit Gerrit [ 2021-01-21 ]
Change oioioi~master~I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3585

(SIO-2403) Add forum post reactions

Add +1 and -1 reactions to forum posts.

Reactions can be enabled or disabled independently for each category.

Change-Id: I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17
Comment by Gerrit Gerrit [ 2021-01-21 ]
Change oioioi~master~I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3585

(SIO-2403) Add forum post reactions

Adds +1 and -1 reactions to forum posts.

Reactions can be enabled or disabled independently for each category.

Refactors some of the forum post tests code (DRY).

Change-Id: I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17
Comment by Gerrit Gerrit [ 2021-01-23 ]
Change oioioi~master~I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3585

(SIO-2403) Add forum post reactions

Adds +1 and -1 reactions to forum posts.

Reactions can be enabled or disabled independently for each category.

Refactors some of the forum post tests code (DRY).

Change-Id: I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17
Comment by Gerrit Gerrit [ 2021-01-23 ]
Change oioioi~master~I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3585

(SIO-2403) Add forum post reactions

Adds +1 and -1 reactions to forum posts.

Reactions can be enabled or disabled independently for each category.

Refactors some of the forum post tests code (DRY).

Change-Id: I5e4676ca1a8b18bc0a41e88ed95ecc3df70eca17




Forum improvements (SIO-2266)

[SIO-2402] Add latest posts view on forum Created: 2021-01-13  Updated: 2021-01-13  Resolved: 2021-01-13

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version, TAG 2020/21 Winter Sprint
Fix Version/s: TAG 2020/21 Winter Sprint

Type: Sub-task Priority: Minor
Reporter: Jakub Moliński Assignee: Jakub Moliński
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Winter Sprint

 Comments   
Comment by Gerrit Gerrit [ 2021-01-13 ]
Change oioioi~master~Ibeb6352e781f7ebccd6537eb5dab66761ada8999, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3580

(fixes SIO-2402) Add FORUM_PAGE_SIZE to default_settings

This default value should have been added in `latest posts` changeset
but has been omitted by mistake.

Change-Id: Ibeb6352e781f7ebccd6537eb5dab66761ada8999




[SIO-2401] Add scripts for running static tests on the local dev environment Created: 2021-01-11  Updated: 2021-01-23  Resolved: 2021-01-20

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2020/21 Winter Sprint
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Jakub Moliński Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Winter Sprint

 Description   
Add scripts for running black, isort and pylint locally

 Comments   
Comment by Gerrit Gerrit [ 2021-01-13 ]
Change oioioi~master~I28a98a77ac34476efe5a1ea61691dc25580b1ada, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3581

(SIO-2401) Add scripts for running static locally

Adds run_static.sh file for running static server check locally.

Black and isort require python3, thus the Dockerfile needed to be
modified to include python3-pip installation and requirements files for
static analysis tools.

Change-Id: I28a98a77ac34476efe5a1ea61691dc25580b1ada
Comment by Gerrit Gerrit [ 2021-01-17 ]
Change oioioi~master~I28a98a77ac34476efe5a1ea61691dc25580b1ada, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3581

(SIO-2401) Add scripts for running static locally

Adds run_static.sh file for running static server check locally.

Black and isort require python3, thus the Dockerfile needed to be
modified to include python3-pip installation and requirements files for
static analysis tools.

Change-Id: I28a98a77ac34476efe5a1ea61691dc25580b1ada
Comment by Gerrit Gerrit [ 2021-01-17 ]
Change oioioi~master~I28a98a77ac34476efe5a1ea61691dc25580b1ada, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3581

(SIO-2401) Add scripts for running static locally

Adds run_static.sh file for running static server check locally.

Black and isort require python3, thus the Dockerfile needed to be
modified to include python3-pip installation and requirements files for
static analysis tools.

Change-Id: I28a98a77ac34476efe5a1ea61691dc25580b1ada
Comment by Gerrit Gerrit [ 2021-01-22 ]
Change oioioi~master~Id8884c4abbf5209a81587e48b25def146746ef05, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3590

(SIO-2401) Add local static checks description to readme

Adds instructions how to run static checks in the local dev environment.

In the README.rst corrects formatting & commands provided in "Running
tests on Docker" paragraph.

Fixes problem with static isort not ignoring migration files when
running it against recently modified files listed by git.

Fixes minor problems with the docker-compose command (removes the unneded OIOIOI_UID env variable which caused compability problems)

Change-Id: Id8884c4abbf5209a81587e48b25def146746ef05
Comment by Gerrit Gerrit [ 2021-01-22 ]
Change oioioi~master~Id8884c4abbf5209a81587e48b25def146746ef05, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3590

(SIO-2401) Add local static checks description to readme

Adds instructions how to run static checks in the local dev environment.

In the README.rst corrects formatting & commands provided in "Running
tests on Docker" paragraph.

Fixes problem with static isort not ignoring migration files when
running it against recently modified files listed by git.

Fixes minor problems with the docker-compose command (removes the unneded OIOIOI_UID env variable which caused compability problems)

Change-Id: Id8884c4abbf5209a81587e48b25def146746ef05
Comment by Gerrit Gerrit [ 2021-01-22 ]
Change oioioi~master~Id8884c4abbf5209a81587e48b25def146746ef05, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3590

(SIO-2401) Add local static checks description to readme

Adds instructions how to run static checks in the local dev environment.

In the README.rst corrects formatting & commands provided in "Running
tests on Docker" paragraph.

Fixes problem with static isort not ignoring migration files when
running it against recently modified files listed by git.

Fixes minor problems with the docker-compose command (removes the unneded OIOIOI_UID env variable which caused compability problems)

Change-Id: Id8884c4abbf5209a81587e48b25def146746ef05
Comment by Gerrit Gerrit [ 2021-01-23 ]
Change oioioi~master~Id8884c4abbf5209a81587e48b25def146746ef05, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3590

(SIO-2401) Add local static checks description to readme

Adds instructions how to run static checks in the local dev environment.

In the README.rst corrects formatting & commands provided in "Running
tests on Docker" paragraph.

Fixes problem with static isort not ignoring migration files when
running it against recently modified files listed by git.

Fixes minor problems with the docker-compose command (removes the unneded OIOIOI_UID env variable which caused compability problems)

Change-Id: Id8884c4abbf5209a81587e48b25def146746ef05
Comment by Gerrit Gerrit [ 2021-01-23 ]
Change oioioi~master~Id8884c4abbf5209a81587e48b25def146746ef05, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3590

(SIO-2401) Add local static checks description to readme

Adds instructions how to run static checks in the local dev environment.

In the README.rst corrects formatting & commands provided in "Running
tests on Docker" paragraph.

Fixes problem with static isort not ignoring migration files when
running it against recently modified files listed by git.

Fixes minor problems with the docker-compose command (removes the unneded OIOIOI_UID env variable which caused compability problems)

Change-Id: Id8884c4abbf5209a81587e48b25def146746ef05




[SIO-2400] KeyError after accessing user add admin panel Created: 2021-01-8  Updated: 2021-01-20  Resolved: 2021-01-20

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Alicja Kluczek Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None
Environment: Only global admin site, not contest specific.


 Description   
KeyError after accessing /admin/auth/user/add/ 'first_name'
Problematic function:
oioioi/base/forms.py in adjust_unicode_field at line 40

 Comments   
Comment by Gerrit Gerrit [ 2021-01-15 ]
Change oioioi~master~Ibb19a9d2a837ebbf189c9093ee5eba82d635524f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3582

(SIO-2400) Fix user creation form initialization

The OioioiUserCreationForm attempted to change error messages for fields
that do not exist on the form which would cause a KeyError when
attempting to add a new user in the OIOIOI admin panel.

Change-Id: Ibb19a9d2a837ebbf189c9093ee5eba82d635524f




[SIO-2399] Configure Black as our new code formatter and reformat the oioioi codebase Created: 2021-01-8  Updated: 2021-01-13  Resolved: 2021-01-12

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Winter Sprint

Type: Improvement Priority: Minor
Reporter: Jakub Moliński Assignee: Jakub Moliński
Resolution: Fixed Votes: 0
Labels: None

Sprint: TAG 2020/21 Winter Sprint

 Description   
Konieczne:

1. Dodanie Blacka do staticznej analizy z poprawnym konfigiem (ignorowanie migracji, ignorowanie zmian apostrofów i cudzysłowów; konfig nie może się gryźć z pylintem)
2. Sformatowanie kodu Blackiem
3. Ustawienie ignore ref na commit formatujący, żeby nie zepsuć git blame


 Comments   
Comment by Gerrit Gerrit [ 2021-01-11 ]
Change oioioi~master~Iac7b2e474534d1700234e798e73bd464ffe6f517, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3577

(SIO-2399) Black and isort bulk reformat

This commit contains a bulk reformat of all the files in oioioi
directory. The tools used for reformatting were black and isort. This
commit should be ignored from git blame. The config files for black and
isort will be included in a subsequent commit so that they are not
excluded from git blame.

Change-Id: Iac7b2e474534d1700234e798e73bd464ffe6f517
Comment by Gerrit Gerrit [ 2021-01-11 ]
Change oioioi~master~Iac7b2e474534d1700234e798e73bd464ffe6f517, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3577

(SIO-2399) Black and isort bulk reformat

This commit contains a bulk reformat of all the files in oioioi
directory. The tools used for reformatting were black and isort. This
commit should be ignored from git blame. The config files for black and
isort will be included in a subsequent commit so that they are not
excluded from git blame.

Change-Id: Iac7b2e474534d1700234e798e73bd464ffe6f517
Comment by Gerrit Gerrit [ 2021-01-11 ]
Change oioioi~master~Iac7b2e474534d1700234e798e73bd464ffe6f517, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3577

(SIO-2399) Black and isort bulk reformat

This commit contains a bulk reformat of all the files in oioioi
directory. The tools used for reformatting were black and isort. This
commit should be ignored from git blame. The config files for black and
isort will be included in a subsequent commit so that they are not
excluded from git blame.

Change-Id: Iac7b2e474534d1700234e798e73bd464ffe6f517
Comment by Gerrit Gerrit [ 2021-01-11 ]
Change oioioi~master~Iac7b2e474534d1700234e798e73bd464ffe6f517, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3577

(SIO-2399) Black and isort bulk reformat

This commit contains a bulk reformat of all the files in oioioi
directory. The tools used for reformatting were black and isort. This
commit should be ignored from git blame. The config files for black and
isort will be included in a subsequent commit so that they are not
excluded from git blame.

Change-Id: Iac7b2e474534d1700234e798e73bd464ffe6f517
Comment by Gerrit Gerrit [ 2021-01-11 ]
Change oioioi~master~Iac7b2e474534d1700234e798e73bd464ffe6f517, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3577

(SIO-2399) Black and isort bulk reformat

This commit contains a bulk reformat of all the files in oioioi
directory. The tools used for reformatting were black and isort. This
commit should be ignored from git blame. The config files for black and
isort will be included in a subsequent commit so that they are not
excluded from git blame.

Change-Id: Iac7b2e474534d1700234e798e73bd464ffe6f517
Comment by Gerrit Gerrit [ 2021-01-12 ]
Change oioioi~master~I2690a18d3119ebe1b33b1d42c0243402885c52f4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3578

(SIO-2399) Update static analysis config files

Adds new configs for black and isort and updates configs for pep8 and
pylint.
Adds .git-blame-ignore-revs file that containts ref numbers of commits
that should be ignored by git blame.

It may be necessary to run
git config blame.ignoreRevsFile .git-blame-ignore-revs
for git to always respect this config when running blame.

Change-Id: I2690a18d3119ebe1b33b1d42c0243402885c52f4
Comment by Gerrit Gerrit [ 2021-01-12 ]
Change oioioi~master~I2690a18d3119ebe1b33b1d42c0243402885c52f4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3578

(SIO-2399) Update static analysis config files

Adds new configs for black and isort and updates configs for pep8 and
pylint.
Adds .git-blame-ignore-revs file that containts ref numbers of commits
that should be ignored by git blame.

It may be necessary to run
git config blame.ignoreRevsFile .git-blame-ignore-revs
for git to always respect this config when running blame.

Change-Id: I2690a18d3119ebe1b33b1d42c0243402885c52f4
Comment by Gerrit Gerrit [ 2021-01-12 ]
Change oioioi~master~I2690a18d3119ebe1b33b1d42c0243402885c52f4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3578

(SIO-2399) Update static analysis config files

Adds new configs for black and isort and updates configs for pep8 and
pylint.
Adds .git-blame-ignore-revs file that containts ref numbers of commits
that should be ignored by git blame.

It may be necessary to run
git config blame.ignoreRevsFile .git-blame-ignore-revs
for git to always respect this config when running blame.

Change-Id: I2690a18d3119ebe1b33b1d42c0243402885c52f4
Comment by Gerrit Gerrit [ 2021-01-12 ]
Change oioioi~master~I2690a18d3119ebe1b33b1d42c0243402885c52f4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3578

(SIO-2399) Update static analysis config files

Adds new configs for black and isort and updates configs for pep8 and
pylint.
Adds .git-blame-ignore-revs file that containts ref numbers of commits
that should be ignored by git blame.

It may be necessary to run
git config blame.ignoreRevsFile .git-blame-ignore-revs
for git to always respect this config when running blame.

Change-Id: I2690a18d3119ebe1b33b1d42c0243402885c52f4
Comment by Gerrit Gerrit [ 2021-01-12 ]
Change oioioi~master~Iac7b2e474534d1700234e798e73bd464ffe6f517, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3577

(SIO-2399) Black and isort bulk reformat

This commit contains a bulk reformat of all the files in oioioi
directory. The tools used for reformatting were black and isort. This
commit should be ignored from git blame. The config files for black and
isort will be included in a subsequent commit so that they are not
excluded from git blame.

Change-Id: Iac7b2e474534d1700234e798e73bd464ffe6f517
Comment by Gerrit Gerrit [ 2021-01-12 ]
Change oioioi~master~I9645a2d9a8772e92bf99ce9fbaa6a98a0c94b422, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3579

(SIO-2399) Update static analysis config files

Adds new configs for black and isort and updates configs for pep8 and
pylint.
Adds .git-blame-ignore-revs file that containts ref numbers of commits
that should be ignored by git blame.

It may be necessary to run
git config blame.ignoreRevsFile .git-blame-ignore-revs
for git to always respect this config when running blame.

Change-Id: I9645a2d9a8772e92bf99ce9fbaa6a98a0c94b422
Comment by Jakub Moliński [ 2021-01-13 ]
This is a duplicate od (SIO-2397) which should be closed now as this has been resolved




[SIO-2398] Allow opening registration at a later date on contests with public registration Created: 2020-12-16  Updated: 2022-02-28

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Winter Sprint

Type: Improvement Priority: Major
Reporter: Wojciech Dubiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag2

Sprint: TAG 2020/21 Winter Sprint

 Description   
Contests such as PA and OI have a public registration form that any registered user can fill in to become a participant.

They can do this as soon as the contest is created, which leaves very little time for contest admins to configure the contest properly before someone registers.

There should be a registration start date, or an "enable registration" checbox, in the contest settings (including contest creation form), which contest admins can use to keep the registration closed until they're ready.




[SIO-2397] Use automatic source code formating on the project Created: 2020-12-16  Updated: 2021-11-19  Resolved: 2021-03-14

Status: Closed
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Wojciech Dubiel Assignee: Wojciech Dubiel
Resolution: Duplicate Votes: 0
Labels: None


 Description   
For a year or two, the pylint hooks on gerrit weren't working, so a large portion of the code may not be following our code style.

We could use an automated code formatting tool such as "black" or "darker" to reformat that code, and possibly keep code automatically formatted in the future.

However, our project has a few peculiar conventions, such as the distinction between single and double quotes. It'd be better if we could keep them, so code formatting tools may need some special configuration for this.

Also, if we were to do code formatting when unrelated changes are being made, care must be taken to keep the diffs readable.

 Comments   
Comment by Jakub Moliński [ 2021-01-13 ]
This is a duplicate of (SIO-2399) which has been resolved so this should probably be resolved or closed




[SIO-2396] API: Allow finding a problem by contest_id and short_name Created: 2020-12-16  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Wojciech Dubiel Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2394 Improve API support for problem packa... Resolved

 Description   
Contest id and problem short name already uniquely identify a problem instance, so they could be used to find it, and the problem.

It would be nice to have an API that allows obtaining problem_id (and possibly problem_instance_id) by providing contest id and problem short name.
The problem_id would be very useful for reuploading a package from a CI, which does not necessarily know it beforehend, but does have access the contest id and short name in the package source.


 Comments   
Comment by Gerrit Gerrit [ 2021-06-3 ]
Change oioioi~master~Icd4beca8f3668e6a69ee29b1a2e5036293328221, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3749

(SIO-2396) API: Allow finding a problem by contest_id and short_name

Contest id and problem short name already uniquely identify a problem
instance, so they could be used to find it, and the problem.
It would be nice to have an API that allows obtaining problem_id
(and possibly problem_instance_id) by providing contest id and problem
short name. The problem_id would be very useful for reuploading a package
from a CI, which does not necessarily know it beforehend, but does have
access the contest id and short name in the package source.

*Add an API endpoint for finding problem_id and problem_instance_id
 based on contest_id and problem_short_name.
*Refactor old code.
*Add tests.

Change-Id: Icd4beca8f3668e6a69ee29b1a2e5036293328221
Comment by Gerrit Gerrit [ 2021-06-8 ]
Change oioioi~master~Icd4beca8f3668e6a69ee29b1a2e5036293328221, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3749

(SIO-2396) API: Allow finding a problem by contest_id and short_name

Contest id and problem short name already uniquely identify a problem
instance, so they could be used to find it, and the problem.
It would be nice to have an API that allows obtaining problem_id
(and possibly problem_instance_id) by providing contest id and problem
short name. The problem_id would be very useful for reuploading a package
from a CI, which does not necessarily know it beforehend, but does have
access the contest id and short name in the package source.

*Add an API endpoint for finding problem_id and problem_instance_id
 based on contest_id and problem_short_name.
*Refactor old code.
*Add tests.

Change-Id: Icd4beca8f3668e6a69ee29b1a2e5036293328221




[SIO-2395] API: Allow contest/problem admins to query package upload status Created: 2020-12-16  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Wojciech Dubiel Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2394 Improve API support for problem packa... Resolved

 Description   
As far as I understand, currently the package_upload_query endpoint only allows global problemset admins to query package status, even though more people are allowed to (re)upload a problem using the other endpoints.

It'd be better if everyone who can upload a problem using the API could also query the status of the package they uploaded.

 Comments   
Comment by Gerrit Gerrit [ 2021-06-1 ]
Change oioioi~master~Idc4f4226f44d77ad7497d924b5195c2b6e907a85, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3748

(SIO-2395) Allow contest/problem admins to query package upload status

Currently the package_upload_query endpoint only allows global problemset
admins to query package status, even though more people are allowed to
(re)upload a problem using another endpoints. It'd be better if everyone
who can upload a problem using the API could also query the status of the
package they uploaded.

*Refactor package_upload_query endpoint (i.a. use GET instead of POST).
*Enable contest/problem admins to query package upload status.
*Add tests.

Change-Id: Idc4f4226f44d77ad7497d924b5195c2b6e907a85
Comment by Gerrit Gerrit [ 2021-06-2 ]
Change oioioi~master~Idc4f4226f44d77ad7497d924b5195c2b6e907a85, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3748

(SIO-2395) Allow contest/problem admins to query package upload status

Currently the package_upload_query endpoint only allows global problemset
admins to query package status, even though more people are allowed to
(re)upload a problem using another endpoints. It'd be better if everyone
who can upload a problem using the API could also query the status of the
package they uploaded.

*Refactor package_upload_query endpoint (i.a. use GET instead of POST)
 and other old code.
*Enable contest/problem admins to query package upload status.
*Add tests.

Change-Id: Idc4f4226f44d77ad7497d924b5195c2b6e907a85
Comment by Gerrit Gerrit [ 2021-06-2 ]
Change oioioi~master~Idc4f4226f44d77ad7497d924b5195c2b6e907a85, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3748

(SIO-2395) API: allow contest/problem admins to query package upload status

Currently the package_upload_query endpoint only allows global problemset
admins to query package status, even though more people are allowed to
(re)upload a problem using another endpoints. It'd be better if everyone
who can upload a problem using the API could also query the status of the
package they uploaded.

*Refactor package_upload_query endpoint (i.a. use GET instead of POST)
 and other old code.
*Enable contest/problem admins to query package upload status.
*Add tests.

Change-Id: Idc4f4226f44d77ad7497d924b5195c2b6e907a85
Comment by Gerrit Gerrit [ 2021-06-2 ]
Change oioioi~master~Idc4f4226f44d77ad7497d924b5195c2b6e907a85, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3748

(SIO-2395) API: allow contest/problem admins to query package upload status

Currently the package_upload_query endpoint only allows global problemset
admins to query package status, even though more people are allowed to
(re)upload a problem using another endpoints. It'd be better if everyone
who can upload a problem using the API could also query the status of the
package they uploaded.

*Refactor package_upload_query endpoint (i.a. use GET instead of POST)
 and other old code.
*Enable contest/problem admins to query package upload status.
*Add tests.

Change-Id: Idc4f4226f44d77ad7497d924b5195c2b6e907a85




[SIO-2394] Improve API support for problem package CI (meta-ticket) Created: 2020-12-16  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Wojciech Dubiel Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-2350 API: no problem_id after package_upload Resolved
is related to SIO-2395 API: Allow contest/problem admins to ... Resolved
is related to SIO-2396 API: Allow finding a problem by conte... Resolved

 Description   
This is a meta-ticket for API improvements that could be useful for automatically uploading problem packages from a CI.




[SIO-2393] Add resubmit button in submission view Created: 2020-12-9  Updated: 2021-01-31  Resolved: 2020-12-21

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Hubert Badocha Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
It'd enhance user's exeperience if they were able to resubmit task from previus submission view. For example we can add resubmit button that would move user to submissions page with task chosen

 Comments   
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~I4c12b3f4ff40fed6d752bceb356c3cff6732f503, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3573

SIO-2393 Add 'submit another' button in submission view

Users can go to the submit page directly from the detailed
submission page. Repeated HTML in submission_header templates
was removed using inheritance.

Change-Id: I4c12b3f4ff40fed6d752bceb356c3cff6732f503
Comment by Gerrit Gerrit [ 2020-12-19 ]
Change oioioi~master~I4c12b3f4ff40fed6d752bceb356c3cff6732f503, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3573

SIO-2393 Add 'submit another' button in submission view

Users can go to the submit page directly from the detailed
submission page. Repeated HTML in submission_header templates
was removed using inheritance.

Change-Id: I4c12b3f4ff40fed6d752bceb356c3cff6732f503
Comment by Gerrit Gerrit [ 2020-12-19 ]
Change oioioi~master~I4c12b3f4ff40fed6d752bceb356c3cff6732f503, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3573

SIO-2393 Add 'submit another' button in submission view

Users can go to the submit page directly from the detailed
submission page. Repeated HTML in submission_header templates
was removed using inheritance.

Change-Id: I4c12b3f4ff40fed6d752bceb356c3cff6732f503
Comment by Gerrit Gerrit [ 2021-01-31 ]
Change oioioi~master~Ib093307f53e0f7ec23dc2ed7c88108cd2834a9c4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3596

SIO-2393 Fix submission view crashing

Previous change from the ticket added a 'submit another' button
in the submission view which did not check for associated contest
existence. Add this check and when a submission does not come
from a contest make button link fallback to problem site.

Change-Id: Ib093307f53e0f7ec23dc2ed7c88108cd2834a9c4
Comment by Gerrit Gerrit [ 2021-01-31 ]
Change oioioi~master~Ib093307f53e0f7ec23dc2ed7c88108cd2834a9c4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3596

SIO-2393 Fix submission view crashing

Previous change from the ticket added a 'submit another' button
in the submission view which did not check for associated contest
existence. Add this check and when a submission does not come
from a contest make button link fallback to problem site.

Change-Id: Ib093307f53e0f7ec23dc2ed7c88108cd2834a9c4
Comment by Gerrit Gerrit [ 2021-01-31 ]
Change oioioi~master~Ib093307f53e0f7ec23dc2ed7c88108cd2834a9c4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3596

SIO-2393 Fix submission view crashing

Previous change from the ticket added a 'submit another' button
in the submission view which did not check for associated contest
existence. Add this check and when a submission does not come
from a contest make button link fallback to problem site.

Change-Id: Ib093307f53e0f7ec23dc2ed7c88108cd2834a9c4
Comment by Gerrit Gerrit [ 2021-01-31 ]
Change oioioi~master~Ib093307f53e0f7ec23dc2ed7c88108cd2834a9c4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3596

SIO-2393 Fix submission view crashing

Previous change from the ticket added a 'submit another' button
in the submission view which did not check for associated contest
existence. Add this check and when a submission does not come
from a contest make button link fallback to problem site.

Change-Id: Ib093307f53e0f7ec23dc2ed7c88108cd2834a9c4




[SIO-2392] Exportszu times out Created: 2020-11-29  Updated: 2020-12-16

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag2

Issue Links:
Duplicate
duplicates SIO-2144 "Export submissions" timing out with ... Reopened

 Description   
In large contests, generating an archive of every contestant's submissions takes a long time. Because the "export submissions" functionality does this synchronously, it causes a "504 gateway time-out" error before the archive is finished and ready for download.

One way to fix this would be to generate the arachive asynchronously, with a similar UX to generating user outs - you click once to generate the archive, and after a while, when the archive is done, you refresh the page and get a link to download the archive. In this case, care must be taken to keep track of when the archive was generated, as submissions created after that moment won't be included, and the user should be warned about this.

Another option would be to use a streaming response, so that the archive is being sent to the user as it's being generated. This could make the download slower than necessary, but at least the start of the response would arrive sooner, hopefully avoiding timeouts.

Yet another possibility is that this operation is slow for no good reason and could be made faster.




[SIO-2391] Package bsddb3 version 6.2.8 crushes docker image build Created: 2020-11-25  Updated: 2020-12-2  Resolved: 2020-12-2

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tomasz Domagała Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Package bsddb3 6.2.8 doesn't work with python 2.7 and crashes docker image build. It is temporarily necessary to force the download of a lower version.

 Comments   
Comment by Wojciech Dubiel [ 2020-11-25 ]
It also breaks tests and anything that does `pip -r requirements.txt` in general.

bsddb3 is being pulled in by filetracker, so we should set a version constrain there:
https://github.com/sio2project/filetracker/blob/master/setup.py
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~I5f6126f58819e5729ed9850e3161b289d548b442, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3554

SIO-2391 Package bsddb3 version 6.2.8 crushes docker image build

Fixed by setting version constrain to 6.2.7

Change-Id: I5f6126f58819e5729ed9850e3161b289d548b442
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~I5f6126f58819e5729ed9850e3161b289d548b442, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3554

SIO-2391 Package bsddb3 version 6.2.8 crushes docker image build.

Fixed by setting version constrain to 6.2.7

Change-Id: I5f6126f58819e5729ed9850e3161b289d548b442
Comment by Wojciech Dubiel [ 2020-12-2 ]
Fixed in filetracker with this PR:
https://github.com/sio2project/filetracker/pull/73




[SIO-2390] Literówka Created: 2020-11-24  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Jakub Radoszewski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://sio2.mimuw.edu.pl/c/oi28-1/admin/evalmgr/contestqueuedjob/

Strona główna › Evalmgr › Zadania zakolejkowane w ramach konkursus

 0 Zadania zakolejkowane w ramach konkursus

"konkursus"

 Comments   
Comment by Szymon Czyżmański [ 2021-06-24 ]
This seems to have been already fixed.




[SIO-2389] Show code in mobile is hard to scroll Created: 2020-11-19  Updated: 2021-01-26

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Hubert Badocha Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag2
Environment: Android, Poco F2 Pro


 Description   
Verticall scrolling on website showing source code of solution doesn't work every time, especialy after few seconds since page loads




[SIO-2388] [UI] Misaligned quiz questions Created: 2020-11-16  Updated: 2021-06-14  Resolved: 2020-12-21

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Wojciech Dubiel Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

Attachments: PNG File screenshot-skopul-quiz-misalign.png    
Issue Links:
Relates
relates to SIO-2295 Multiple minor bugs in quizzes (meta-... Resolved

 Description   
Single-choice and multiple-choice quiz questions have different padding/margin than text input questions, which causes them to misalign, as shown in the attached picture.

 Comments   
Comment by Gerrit Gerrit [ 2020-12-9 ]
Change oioioi~master~I77cd54082931882a28cab3504b3ee844013c9431, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3560

(SIO-2388) Fix misaligned quiz questions

Change-Id: I77cd54082931882a28cab3504b3ee844013c9431
Comment by Gerrit Gerrit [ 2020-12-9 ]
Change oioioi~master~I77cd54082931882a28cab3504b3ee844013c9431, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3560

(SIO-2388) Fix misaligned quiz questions

Change-Id: I77cd54082931882a28cab3504b3ee844013c9431
Comment by Gerrit Gerrit [ 2021-06-14 ]
Change oioioi~master~I44a438135281ed9d5951c15beb4cc3f159cb1e12, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3764

SIO-2388 Make quiz questions styling more specific

Changes selectors that controll padding in quiz questions to be more
specific. Previous selectors affected different checkboxes across oioioi
which was unintended.

Change-Id: I44a438135281ed9d5951c15beb4cc3f159cb1e12
Comment by Gerrit Gerrit [ 2021-06-14 ]
Change oioioi~master~I44a438135281ed9d5951c15beb4cc3f159cb1e12, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3764

SIO-2388 Make quiz questions styling more specific

Changes selectors that control padding in quiz questions to be more
specific. Previous selectors affected different check boxes across oioioi
which was unintended.

Change-Id: I44a438135281ed9d5951c15beb4cc3f159cb1e12




[SIO-2387] Fix Title underline too short warning. Created: 2020-10-21  Updated: 2020-10-21  Resolved: 2020-10-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Far Future
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Alicja Kluczek Assignee: Wojciech Dubiel
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~I1bf12df025cd6d98453739d55f77a94f39332ac4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3542

SIO-2387 Suppress Title underline too short warning.

Change-Id: I1bf12df025cd6d98453739d55f77a94f39332ac4
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~I1bf12df025cd6d98453739d55f77a94f39332ac4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3542

SIO-2387 Fix Title underline too short warning.

Change-Id: I1bf12df025cd6d98453739d55f77a94f39332ac4




[SIO-2386] Zmiana Koloru tytułu readme Created: 2020-10-21  Updated: 2020-10-21  Resolved: 2020-10-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Jakub Niściór Assignee: Wojciech Dubiel
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Zmiana koloru tytułu readme na jakiś ładny

 Comments   
Comment by Jakub Niściór [ 2020-10-21 ]
nie da się zmieniać kolorów w readme, ale dodajemy dodatkowe "OI" do tytułu
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~Ibc90dbb4b61ac684cebc8f9d763a6d454ee8a004, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3545

SIO-2386 Color Title Change

It's impossible to change color of title so we add OI to title

Change-Id: Ibc90dbb4b61ac684cebc8f9d763a6d454ee8a004
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~Ibc90dbb4b61ac684cebc8f9d763a6d454ee8a004, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3545

SIO-2386 Color Title Change

It's impossible to change color of title so we add OI to title

Change-Id: Ibc90dbb4b61ac684cebc8f9d763a6d454ee8a004




[SIO-2385] Make header in README.rst more visible Created: 2020-10-21  Updated: 2020-10-21  Resolved: 2020-10-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Task Priority: Minor
Reporter: Szymon Czyżmański Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~Ic2d631ba135bd92f8f969eec100ad45c44365bf4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3544

SIO-2385 Make header in README.rst more visible

Made header in README.rst more visible

Change-Id: Ic2d631ba135bd92f8f969eec100ad45c44365bf4
Comment by Szymon Czyżmański [ 2020-10-21 ]
Change abandoned.




[SIO-2384] Update deployment section in the readme Created: 2020-10-21  Updated: 2020-10-21  Resolved: 2020-10-21

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Jakub Moliński Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~Ia7332aa55c89483177bd209f4a242b1eed568f01, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3539

SIO-2384 - Update deployment section in the readme

Update the port exposed by docker

Change-Id: Ia7332aa55c89483177bd209f4a242b1eed568f01
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~If8913bc44c9644617ea43d9cfc47986a84d20bb5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3547

SIO-2384 - Update deployment section in the readme

Change host port in docker-compose

Change-Id: If8913bc44c9644617ea43d9cfc47986a84d20bb5




[SIO-2383] Not enough blank lines in the README Created: 2020-10-21  Updated: 2020-10-21  Resolved: 2020-10-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tymoteusz Wiśniewski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Add more blank lines!!!1

 Comments   
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~I967a99db7dc4387f51ad4292d338d8ba09885eb5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3540

SIO-2383 Add more blank lines

Change-Id: I967a99db7dc4387f51ad4292d338d8ba09885eb5




[SIO-2382] Add ASCII art to file to /ioioi/__init__.py Created: 2020-10-21  Updated: 2020-10-21  Resolved: 2020-10-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Hubert Badocha Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Add ASCII art to __init__.py

 Comments   
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~I80ee09fb9d4af4d07d8c0b2a91b9f6a3534a8bcd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3537

SIO-2382 - Add ASCII art to file to /ioioi/__init__.pyadded art

Change-Id: I80ee09fb9d4af4d07d8c0b2a91b9f6a3534a8bcd




[SIO-2381] Readme should be deleted Created: 2020-10-21  Updated: 2020-10-21  Resolved: 2020-10-21

Status: Closed
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Jakub Wasilewski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Jakub Wasilewski [ 2020-10-21 ]
comment
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~I785a25612f9f20a90fa4f73fa3ee38607830cac4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3536

SIO-2381 Readme should be deleted

Readme should be deleted

Change-Id: I785a25612f9f20a90fa4f73fa3ee38607830cac4
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~I785a25612f9f20a90fa4f73fa3ee38607830cac4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3536

SIO-2381 Readme should be deleted

Readme should be deleted

Change-Id: I785a25612f9f20a90fa4f73fa3ee38607830cac4
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~I785a25612f9f20a90fa4f73fa3ee38607830cac4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3536

SIO-2381 Move README.rst to README.md

Readme should be deleted

Change-Id: I785a25612f9f20a90fa4f73fa3ee38607830cac4




[SIO-2380] Change background color to pink Created: 2020-10-21  Updated: 2020-10-21  Resolved: 2020-10-21

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Far Future
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Tomasz Domagała Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~Iab6d8988661f5e6f15fed781dcc7e04954cbd8d3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3538

SIO-2380 Change background color to pink

Change-Id: Iab6d8988661f5e6f15fed781dcc7e04954cbd8d3
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~Ibf0fec292bd9c4080cc89d5fa74c010ce50868e6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3546

SIO-2380 Change background color to pink

Change-Id: Ibf0fec292bd9c4080cc89d5fa74c010ce50868e6
Comment by Gerrit Gerrit [ 2020-10-21 ]
Change oioioi~master~Ibf0fec292bd9c4080cc89d5fa74c010ce50868e6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3546

SIO-2380 Change background color to pink

Changed pink color to differend shade of pink.

Change-Id: Ibf0fec292bd9c4080cc89d5fa74c010ce50868e6




[SIO-2379] Duplicated user entries in contest rankings Created: 2020-09-24  Updated: 2020-12-16

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Przemysław Podleśny Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: PNG File 120126351_359042991808613_5722611450415607358_n.png    

 Description   
A user has reported duplicate entries appearing on contest scoreboards, in multiple contests. An example can be seen in the attached screenshot.

I confirm that the issue can be reproduced on my setup (Ubuntu 18.04, both Mozilla Firefox 80.0.1 and Chromium 85.0.4183.121).

Link to the contest: https://szkopul.edu.pl/c/archiwum-zadan-k0mpend1x/dashboard/

 Comments   
Comment by Wojciech Dubiel [ 2020-12-16 ]
When user groups are in use, the registration controller's
 filter_participants reports duplicate participants whenever someone is a participant, and belongs to any user groups. That participant will be reported once for every user group membership, irrespective of that group's contests. This is due to how outer joins work.
    
Theoretically, non-participants that belong to multiple groups which belong to the same contest will also be returned twice, but we haven't observed it in the wild.

This could be fixed by changing queryset `|` to `union` but then we get hit by a Django bug:
https://code.djangoproject.com/ticket/29834#no1




[SIO-2378] Review versions of oioioi's dependencies Created: 2020-08-5  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Czyżmański
Resolution: Unresolved Votes: 0
Labels: None


 Description   
The version constraints in oioioi's setup.py are rather chaotic.

Some of them weren't updated when we updated Django, which means we're using unnecessarily old dependencies.
Other have hardcoded versions from some point in the past.
Other don't have less-than constraint, allowing newer, incompatible versions of some package to be installed.

We should go through each of them, find out the maximal range of versions that works correctly with our version of Django and Python, and set the constraints to that range.




[SIO-2377] Create and configure oioioi-github-release-3-selenium Created: 2020-06-29  Updated: 2020-06-29  Resolved: 2020-06-29

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wiktor Czyż Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Wiktor Czyż [ 2020-06-29 ]
https://hudson.sio2project.mimuw.edu.pl/view/Github%20Release/job/oioioi-github-release-3-selenium/




[SIO-2376] Django 1.11: fix of various smaller tests Created: 2020-06-29  Updated: 2020-06-29  Resolved: 2020-06-29

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wiktor Czyż Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Wiktor Czyż

 Comments   
Comment by Wiktor Czyż [ 2020-06-29 ]
https://gerrit.sio2project.mimuw.edu.pl/#/c/3431/




[SIO-2375] Remove deprecated compiler names. Created: 2020-06-27  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Artur Pragacz Assignee: Szymon Czyżmański
Resolution: Unresolved Votes: 0
Labels: tag2


 Description   
After 01.01.2021 deprecated compiler names should be removed.

Their list can be found in the setup.py of the sioworkers.
They should be removed not only from that file, but also all throughout sioworkers, including the rst documentation.
One small problem is that sio-compile standalone script uses deprecated 'default-' compiler names (in the function sio.compilers.job:main). It therefore needs some other, preferably local, constants to select default compilers for languages.
In every other place, to the best of my knowledge, the deprecated compiler names can be removed safely.

The deprecated compiler names are also present in OIOIOI (I grepped them in two places, I may have missed some). As far as I know they exist in code paths that are never taken, so there they can also be safely removed.




[SIO-2374] Fix Polish months' names Created: 2020-06-27  Updated: 2021-06-3

Status: In Progress
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Artur Pragacz Assignee: Szymon Czyżmański
Resolution: Unresolved Votes: 0
Labels: None


 Description   
In the problems view of the contest: /c/<contest>/p/ (where <contest> is an id of the contest) the dates are written as e.g. "16 Styczeń 3017".
This is grammatically incorrect and should be "16. stycznia 3017" instead.

 Comments   
Comment by Gerrit Gerrit [ 2021-06-3 ]
Change oioioi~master~I095ff99cb943d1ecc24ac2ffe8eab98a2a342aa2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3752

(SIO-2374) Fix Polish months' names

In the problems view of the contest: /c/<contest>/p/ (where
<contest> is an id of the contest) the dates are written as
e.g. "16 Czerwiec 3017". This is grammatically incorrect and
should be "16. czerwca 3017" instead.

Change-Id: I095ff99cb943d1ecc24ac2ffe8eab98a2a342aa2




Migrate to Python 3 (SIO-2361)

[SIO-2373] Fix django-supervisor Created: 2020-06-27  Updated: 2021-04-13  Resolved: 2021-04-13

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Pragacz Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Django-supervisor doesn't work with Python3.
It's also no longer maintained, so we probably need to make some custom patches, that fix the problem.

 Comments   
Comment by Jakub Moliński [ 2021-04-13 ]
On python3 we now use badochov/dj-supervisor, a python3-compatible fork of django-supervisor




[SIO-2372] User contest visibility Created: 2020-06-23  Updated: 2020-06-23

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Cezary Chodun Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: PNG File Screenshot from 2020-06-16 17-57-26.png     PNG File Screenshot from 2020-06-16 18-01-33.png    

 Description   
Affected changes:
https://gerrit.sio2project.mimuw.edu.pl/#/c/3505/
https://gerrit.sio2project.mimuw.edu.pl/#/c/3515/

Problem:
The database query is too heavy.

TODO:
Optimize the database query.

Description:

As for now user contests will be visible for all registered users.
This is something we don't want. (The user contests should be visible only to people who visited them before)

The changes above aim to resolve this issue. But there is a side effect.
In the first change there is a query that is not optimized by django:
 "return Q(contestview__user=request.user)"

This results in a very heavy query that needs to be improved before it can be submitted to master.

 Comments   
Comment by Szymon Acedański [ 2020-06-23 ]
Well, this is unfotrunate that the database optimiser (Postgres on szkopul.edu.pl) is not powerful enough to efficiently run this query, which otherwise is a correct query. Probably this needs to be refactored in a semantically equivalent query, but easier to optimize. Or maybe we are missing some index, which I doubt.

That's a nice task for someone who would like to dive deeply into this query and really dig into what the database/Django did with it.




Migrate to Python 3 (SIO-2361)

[SIO-2371] Migrate to Django 1.11 Created: 2020-06-16  Updated: 2020-06-16  Resolved: 2020-06-16

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Summer Sprint 3

Type: Sub-task Priority: Major
Reporter: Artur Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Artur Pragacz

 Comments   
Comment by Artur Pragacz [ 2020-06-16 ]
https://gerrit.sio2project.mimuw.edu.pl/3473/

(no-ticket) Upgrade to Django 1.11

Change-Id: I4280aebacf00f3cef01c95489bb3279b3e76f413




[SIO-2370] Integrate with DockerHub Created: 2020-06-16  Updated: 2020-06-16  Resolved: 2020-06-16

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Artur Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Artur Pragacz

 Description   
Make DockerHub automatically build images for new releases (taken from Github).

 Comments   
Comment by Artur Pragacz [ 2020-06-16 ]
https://gerrit.sio2project.mimuw.edu.pl/3492/

(no-ticket) Fix Docker Hub build hook.

Build hook needs to start with the appropriate shebang.

Change-Id: I56678c0937c7a4766ae7fbffaab4698d487880df




Migrate to Python 3 (SIO-2361)

[SIO-2369] Migrate database models Created: 2020-06-16  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Pragacz Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Python3 uses Unicode by default, which means that many models need to be migrated to the new format.




[SIO-2368] Input validation in Jenkins release jobs Created: 2020-06-16  Updated: 2020-11-18

Status: New
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Wojciech Dubiel Assignee: Alicja Kluczek
Resolution: Unresolved Votes: 0
Labels: tag1


 Description   
Release jobs on jenkins don't validate input, such as whether specified branch exists. It'd be nice if they did and had nice error messages.




[SIO-2367] Add a submit button on the problem list Created: 2020-06-10  Updated: 2021-04-13  Resolved: 2021-04-13

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Wojciech Dubiel Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
On the problem list, there's a number of submissions left, but the only available action is to read a problem's statement. To actually submit anything, one has to (logically) go back to the main menu and select "Submit" from there, then choose a problem again. It's counterintuitive.

 Comments   
Comment by Gerrit Gerrit [ 2021-01-7 ]
Change oioioi~master~Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3575

SIO-2367 Add submit button in the contest's problems list to simplify the solution submit process.

Change-Id: Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8
Comment by Gerrit Gerrit [ 2021-01-13 ]
Change oioioi~master~Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3575

SIO-2367 Add submit button in the contest's problems list to simplify the solution submit process

When a user is in the Problems submenu and wants to upload a solution, he has to go to the Submit submenu and manually select his problem.
This commit adds the submit button to the problems list, which redirects users to the Submit submenu with the chosen problem already selected for them.

Change-Id: Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8
Comment by Gerrit Gerrit [ 2021-01-13 ]
Change oioioi~master~Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3575

SIO-2367 Add submit button in the contest's problems list to simplify the solution submit process

When a user is in the Problems submenu and wants to upload a solution, he has to go to the Submit submenu and manually select his problem.
This commit adds the submit button to the problems list, which redirects users to the Submit submenu with the chosen problem already selected for them.

Change-Id: Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8
Comment by Gerrit Gerrit [ 2021-01-13 ]
Change oioioi~master~Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3575

SIO-2367 Add submit button in the contest's problems list to simplify the solution submit process

When a user is in the Problems submenu and wants to upload a solution, he has to go to the Submit submenu and manually select his problem.
This commit adds the submit button to the problems list, which redirects users to the Submit submenu with the chosen problem already selected for them.

Change-Id: Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8
Comment by Gerrit Gerrit [ 2021-01-16 ]
Change oioioi~master~Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3575

SIO-2367 Add submit button in the contest's problems list to simplify the solution submit process

When a user is in the Problems submenu and wants to upload a solution, he has to go to the Submit submenu and manually select his problem.
This commit adds the submit button to the problems list, which redirects users to the Submit submenu with the chosen problem already selected for them.

Change-Id: Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8
Comment by Gerrit Gerrit [ 2021-01-18 ]
Change oioioi~master~Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3575

SIO-2367 Add submit button in the contest's problems list to simplify the solution submit process

When a user is in the Problems submenu and wants to upload a solution, he has to go to the Submit submenu and manually select his problem.
This commit adds the submit button to the problems list, which redirects users to the Submit submenu with the chosen problem already selected for them.

Change-Id: Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3575

SIO-2367 Add submit button in the contest's problems list to simplify the solution submit process

When a user is in the Problems submenu and wants to upload a solution, he has to go to the Submit submenu and manually select his problem.
This commit adds the submit button to the problems list, which redirects users to the Submit submenu with the chosen problem already selected for them.

Change-Id: Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3575

SIO-2367 Add submit button in the contest's problems list to simplify the solution submit process

When a user is in the Problems submenu and wants to upload a solution, he has to go to the Submit submenu and manually select his problem.
This commit adds the submit button to the problems list, which redirects users to the Submit submenu with the chosen problem already selected for them.

Change-Id: Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3575

SIO-2367 Add submit button in the contest's problems list to simplify the solution submit process

When a user is in the Problems submenu and wants to upload a solution, he has to go to the Submit submenu and manually select his problem.
This commit adds the submit button to the problems list, which redirects users to the Submit submenu with the chosen problem already selected for them.

Change-Id: Ia5e49731b817d707ee8f21a26d13cc6274b0d3e8




[SIO-2366] Selenium tests and releases tutorial Created: 2020-06-6  Updated: 2020-06-6

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Cezary Chodun Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment: Jenkins


 Description   
After fixing selenium tests (oioioi-selenium-tests & oioioi-release-3-selenium) go to the Github Release tab and update the release tutorial.

https://hudson.sio2project.mimuw.edu.pl/ -> Github Release -> edit description -> uncomment the selenium tests




[SIO-2365] Remove oitimetool Created: 2020-06-1  Updated: 2020-06-29  Resolved: 2020-06-29

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wiktor Czyż Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Wiktor Czyż

 Comments   
Comment by Gerrit Gerrit [ 2020-06-1 ]
Change sioworkers~master~I40bcda20c92ae3dee560789cfa81ed56697a9651, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3498

(SIO-2365) Remove oitimetool

Change-Id: I40bcda20c92ae3dee560789cfa81ed56697a9651
Comment by Gerrit Gerrit [ 2020-06-1 ]
Change oioioi~master~Ia501f0b240587a5902a97131055084db156fa211, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3499

(SIO-2365) Remove oitimetool

Change-Id: Ia501f0b240587a5902a97131055084db156fa211
Comment by Gerrit Gerrit [ 2020-06-2 ]
Change oioioi~master~Ia501f0b240587a5902a97131055084db156fa211, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3499

(SIO-2365) Remove oitimetool

Change-Id: Ia501f0b240587a5902a97131055084db156fa211
Comment by Gerrit Gerrit [ 2020-06-2 ]
Change sioworkers~master~I40bcda20c92ae3dee560789cfa81ed56697a9651, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3498

(SIO-2365) Remove oitimetool

Change-Id: I40bcda20c92ae3dee560789cfa81ed56697a9651
Comment by Gerrit Gerrit [ 2020-06-3 ]
Change sioworkers~master~I40bcda20c92ae3dee560789cfa81ed56697a9651, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3498

(SIO-2365) Remove oitimetool

Change-Id: I40bcda20c92ae3dee560789cfa81ed56697a9651
Comment by Gerrit Gerrit [ 2020-06-3 ]
Change sioworkers~master~I40bcda20c92ae3dee560789cfa81ed56697a9651, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3498

(SIO-2365) Remove oitimetool

Change-Id: I40bcda20c92ae3dee560789cfa81ed56697a9651
Comment by Gerrit Gerrit [ 2020-06-3 ]
Change oioioi~master~Ia501f0b240587a5902a97131055084db156fa211, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3499

(SIO-2365) Remove oitimetool

Change-Id: Ia501f0b240587a5902a97131055084db156fa211
Comment by Gerrit Gerrit [ 2020-06-3 ]
Change oioioi~master~Ia501f0b240587a5902a97131055084db156fa211, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3499

(SIO-2365) Remove oitimetool

Change-Id: Ia501f0b240587a5902a97131055084db156fa211
Comment by Gerrit Gerrit [ 2020-06-3 ]
Change oioioi~master~Ia501f0b240587a5902a97131055084db156fa211, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3499

(SIO-2365) Remove oitimetool

Change-Id: Ia501f0b240587a5902a97131055084db156fa211
Comment by Gerrit Gerrit [ 2020-06-9 ]
Change oioioi~master~Ia501f0b240587a5902a97131055084db156fa211, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3499

(SIO-2365) Remove oitimetool

Change-Id: Ia501f0b240587a5902a97131055084db156fa211
Comment by Gerrit Gerrit [ 2020-06-9 ]
Change oioioi~master~Ia501f0b240587a5902a97131055084db156fa211, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3499

(SIO-2365) Remove oitimetool

Change-Id: Ia501f0b240587a5902a97131055084db156fa211




[SIO-2364] Create system for downloading and uploading package files Created: 2020-05-26  Updated: 2020-07-15  Resolved: 2020-07-15

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Franciszek Hnatów Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Franciszek Hnatów

 Description   
Create system that will allow admins to download files from package
and replace as long as package can be reuploaded

 Comments   
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download mechanism, still working on upload.

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download mechanism, still working on upload.

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download mechanism, still working on upload.

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism, still working on putting the file into package.

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism, still working on putting the file into package.

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-9 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism, still working on putting the file into package.

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-14 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism, still working on facilitating download while in tabbed view.

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-14 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism, still working on facilitating download while in tabbed view.

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-15 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism, still working on facilitating download while in tabbed view.

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-15 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism,

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-15 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism,

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-16 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism,

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-23 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism,

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-23 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism,

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-23 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism,

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-23 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism,

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-23 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism,

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc
Comment by Gerrit Gerrit [ 2020-06-29 ]
Change oioioi~master~Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3490

SIO-2364 Created download/upload mechanism,

Change-Id: Ie9f9fe07ae6be589ea8770ce6424bea41243f9dc




[SIO-2363] [UI] In the problem view, add button "Submit" for all the problems that are submitable Created: 2020-05-23  Updated: 2020-05-23  Resolved: 2020-05-23

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None

Attachments: PNG File Screenshot from 2020-05-23 10-04-18.png    

 Description   
The button should redirect to the submitting view with the problem already chosen. This will be quite handy in contests with many problems.

 Comments   
Comment by Szymon Acedański [ 2020-05-23 ]
This is generally not a good UX practice to add the same button to each row of a table. It makes the UI cluttered.




Migrate to Python 3 (SIO-2361)

[SIO-2362] Fix Python 3 tests. Created: 2020-05-19  Updated: 2021-04-13  Resolved: 2021-04-13

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Pragacz Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~Ie8da495dd728f782426b49beed96c8d347c90d22, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3474

(SIO-2362) Fix some tests in the sinolpack package.

Change-Id: Ie8da495dd728f782426b49beed96c8d347c90d22
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~Ie8da495dd728f782426b49beed96c8d347c90d22, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3474

(SIO-2362) Fix some tests in the sinolpack package.

Change-Id: Ie8da495dd728f782426b49beed96c8d347c90d22
Comment by Gerrit Gerrit [ 2020-05-22 ]
Change oioioi~master~I77a281dbd5a944d79323b7b319957288acc76976, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3483

(SIO-2362) Fix tests in the 'base' package.

Change-Id: I77a281dbd5a944d79323b7b319957288acc76976
Comment by Gerrit Gerrit [ 2020-05-23 ]
Change oioioi~master~I0889402540833dc1de261370217040acbf1609d0, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3482

SIO-2362 Fix python3 tests.

Fix html-content encoding in testrun.
Fix NoneType comparison in problems/views.py.
Fix dict_type + operation in problems/views.py.
Fix response_body in contests/tests/tests/py.
Fix zeus module.
Fix testspackages (remove name encoding in views).
Fix filetracker storage.py encode str if python3.
Fix mailsubmit (now hashing algorithm is required).
Fix testrun (change bytes to string).
Try fixing printer (checks on hudson).

Change-Id: I0889402540833dc1de261370217040acbf1609d0
Comment by Gerrit Gerrit [ 2020-05-24 ]
Change oioioi~master~I0889402540833dc1de261370217040acbf1609d0, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3482

SIO-2362 Fix python3 tests.

Fix html-content encoding in testrun.
Fix NoneType comparison in problems/views.py.
Fix dict_type + operation in problems/views.py.
Fix response_body in contests/tests/tests/py.
Fix zeus module.
Fix testspackages (remove name encoding in views).
Fix filetracker storage.py encode str if python3.
Fix mailsubmit (now hashing algorithm is required).
Fix testrun (change bytes to string).
Try fixing printer (checks on hudson).

Change-Id: I0889402540833dc1de261370217040acbf1609d0
Comment by Gerrit Gerrit [ 2020-05-24 ]
Change oioioi~master~I0889402540833dc1de261370217040acbf1609d0, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3482

SIO-2362 Fix python3 tests.

Fix html-content encoding in testrun.
Fix NoneType comparison in problems/views.py.
Fix dict_type + operation in problems/views.py.
Fix response_body in contests/tests/tests/py.
Fix zeus module.
Fix testspackages (remove name encoding in views).
Fix filetracker storage.py encode str if python3.
Fix mailsubmit (now hashing algorithm is required).
Fix testrun (change bytes to string).
Try fixing printer (checks on hudson).

Change-Id: I0889402540833dc1de261370217040acbf1609d0
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I9329ca203ac47461101e23da62185e00fa7618f0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3489

(SIO-2362) Fix tests in the 'problems' package.

Change-Id: I9329ca203ac47461101e23da62185e00fa7618f0
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I9329ca203ac47461101e23da62185e00fa7618f0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3489

(SIO-2362) Fix tests in the 'problems' package.

Change-Id: I9329ca203ac47461101e23da62185e00fa7618f0
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~I9329ca203ac47461101e23da62185e00fa7618f0, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3489

(SIO-2362) Fix tests in the 'problems' package.

Change-Id: I9329ca203ac47461101e23da62185e00fa7618f0
Comment by Gerrit Gerrit [ 2020-05-31 ]
Change oioioi~master~I0ef22b9557310f766d0020f9b4f9e75498ab5349, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3497

SIO-2362 Fix python3 tests.

Fix printing test (file encoding).

Change-Id: I0ef22b9557310f766d0020f9b4f9e75498ab5349
Comment by Gerrit Gerrit [ 2020-05-31 ]
Change oioioi~master~I0ef22b9557310f766d0020f9b4f9e75498ab5349, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3497

SIO-2362 Fix utils dict_keys.

Fix one programs test by detecting dict_keys in utils.

Change-Id: I0ef22b9557310f766d0020f9b4f9e75498ab5349
Comment by Gerrit Gerrit [ 2020-05-31 ]
Change oioioi~master~I0ef22b9557310f766d0020f9b4f9e75498ab5349, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3497

SIO-2362 Fix utils dict_keys.

Fix one programs test by detecting dict_keys in utils.

Change-Id: I0ef22b9557310f766d0020f9b4f9e75498ab5349
Comment by Gerrit Gerrit [ 2020-06-9 ]
Change oioioi~master~I0ef22b9557310f766d0020f9b4f9e75498ab5349, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3497

SIO-2362 Fix printing.

Change-Id: I0ef22b9557310f766d0020f9b4f9e75498ab5349
Comment by Artur Pragacz [ 2020-06-16 ]
https://gerrit.sio2project.mimuw.edu.pl/3435

(no-ticket) Fix lambda syntax

Change-Id: I6c3424193bb0031c7b665f73a89280b5b855e42f
Comment by Artur Pragacz [ 2020-06-16 ]
https://gerrit.sio2project.mimuw.edu.pl/3436

(no-ticket) Fix lambda syntax

Change-Id: Ie00c96a274eee71a4fb9ff4f297b7390c15bd876
Comment by Artur Pragacz [ 2020-06-16 ]
https://gerrit.sio2project.mimuw.edu.pl/3469

(no-ticket) Fix python3 syntax errors

Change-Id: I05a69de42cc5ba467f97f86505c917557a9e5045




[SIO-2361] Migrate to Python 3 Created: 2020-05-19  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Major
Reporter: Artur Pragacz Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2362 Fix Python 3 tests. Sub-task Resolved Wojciech Dubiel  
SIO-2369 Migrate database models Sub-task Resolved Wojciech Dubiel  
SIO-2371 Migrate to Django 1.11 Sub-task Resolved Szymon Acedański  
SIO-2373 Fix django-supervisor Sub-task Resolved Wojciech Dubiel  




[SIO-2360] Question kind tags are not translated Created: 2020-05-18  Updated: 2020-06-2  Resolved: 2020-06-2

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Stanisław Strzelecki

 Description   
In the question list, the tags on the right hand side are in english, even in polish translation

 Comments   
Comment by Gerrit Gerrit [ 2020-05-18 ]
Change oioioi~master~I8f11c682d99f537b6f55a0854693604c888ee37c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3472

[SIO-2360] Question kind tags are not translated

Added translations by hand to .po files, since these are variables,
so django could not detect their possible values.

Change-Id: I8f11c682d99f537b6f55a0854693604c888ee37c
Comment by Gerrit Gerrit [ 2020-05-22 ]
Change oioioi~master~I8f11c682d99f537b6f55a0854693604c888ee37c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3472

[SIO-2360] Question kind tags are not translated

Added translations by hand to .po files, since these are variables,
so django could not detect their possible values.

Change-Id: I8f11c682d99f537b6f55a0854693604c888ee37c
Comment by Gerrit Gerrit [ 2020-05-22 ]
Change oioioi~master~I8f11c682d99f537b6f55a0854693604c888ee37c, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3472

[SIO-2360] Question kind tags are not translated

Added translations by hand to .po files, since these are variables,
so django could not detect their possible values.

Change-Id: I8f11c682d99f537b6f55a0854693604c888ee37c
Comment by Gerrit Gerrit [ 2020-05-22 ]
Change oioioi~master~I8f11c682d99f537b6f55a0854693604c888ee37c, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3472

[SIO-2360] Question kind tags are not translated

Added a new function in model, which returns translated label.
Added an enum to get all possible values to .po translation files.

Change-Id: I8f11c682d99f537b6f55a0854693604c888ee37c
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I8f11c682d99f537b6f55a0854693604c888ee37c, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3472

[SIO-2360] Question kind tags are not translated

Added a new function in model, which returns translated label.
Added an enum to get all possible values to .po translation files.

Change-Id: I8f11c682d99f537b6f55a0854693604c888ee37c




[SIO-2359] Clicking the problem name in Submission View could lead to the problem site Created: 2020-05-12  Updated: 2020-05-26  Resolved: 2020-05-26

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Przemysław Podleśny Assignee: Szymon Acedański
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
From my personal experience, usually when you work on a problem and find out that your solution doesn't work, your first reaction is to want to revisit the problem statement.

It would be only natural to achieve so by clicking the problem name in the submission view. It is unclickable for regular users; however, admins can use it to quickly access the problem (instance?) admin view. Replacing this behaviour with a non-user-dependent problem link might be worth considering.

 Comments   
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~Ia27acc741883114ab30ae2a78be885d9283d4ad1, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3468

(SIO-2359) Problem statement link added for users in Submission View

Previously, in Submission View admins could click on the problem name
to see all solutions sent for that problem.

Now, the problem name in this view is clickable also for regular users
and allows them to conveniently jump to the problem site or see the
problem statement, depending on the origin of the problem.

Change-Id: Ia27acc741883114ab30ae2a78be885d9283d4ad1
Comment by Gerrit Gerrit [ 2020-05-23 ]
Change oioioi~master~Ia27acc741883114ab30ae2a78be885d9283d4ad1, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3468

(SIO-2359) Problem statement link added for users in Submission View

Previously, in Submission View admins could click on the problem name
to see all solutions submitted for that problem.

Now, the problem name in this view is clickable also for regular users
and allows them to conveniently jump to the problem site or see the
problem statement, depending on the origin of the problem.

Change-Id: Ia27acc741883114ab30ae2a78be885d9283d4ad1
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~Ia27acc741883114ab30ae2a78be885d9283d4ad1, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3468

(SIO-2359) Problem statement link added for users in Submission View

Previously, in Submission View admins could click on the problem name
to see all solutions submitted for that problem.

Now, the problem name in this view is clickable also for regular users
and allows them to conveniently jump to the problem site or see the
problem statement, depending on the origin of the problem.

Change-Id: Ia27acc741883114ab30ae2a78be885d9283d4ad1




[SIO-2356] Make deployment easier Created: 2020-05-5  Updated: 2020-06-23  Resolved: 2020-06-16

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Artur Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Artur Pragacz

 Description   
Create an easy way to deploy OIOIOI using the Docker technology as a backend.
Only the most basic settings should be exposed to the operator, all the other ones should be standardized.
Updating should also be noob-friendly, without the need to read diffs from UPGRADING.rst, etc.

In the light of these changes we should also remove Vagrant support.

 Comments   
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3455

(SIO-2356) Make deployment easier

Create an easy way to deploy OIOIOI using the Docker technology as a backend.
Only the most basic settings should be exposed to the operator, all the other ones should be standardized.
Updating should also be noob-friendly, without the need to read diffs from UPGRADING.rst, etc.

In the light of these changes we should also remove Vagrant support.

Change-Id: Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3455

(SIO-2356) Make deployment easier

Create an easy way to deploy OIOIOI using the Docker technology as a backend.
Only the most basic settings should be exposed to the operator, all the other ones should be standardized.
Updating should also be noob-friendly, without the need to read diffs from UPGRADING.rst, etc.

In the light of these changes we should also remove Vagrant support.

Change-Id: Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3455

(SIO-2356) Make deployment easier

Create an easy way to deploy OIOIOI using the Docker technology as a backend.
Only the most basic settings should be exposed to the operator, all the other ones should be standardized.
Updating should also be noob-friendly, without the need to read diffs from UPGRADING.rst, etc.

In the light of these changes we should also remove Vagrant support.

Change-Id: Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3455

(SIO-2356) Make deployment easier

Create an easy way to deploy OIOIOI using the Docker technology as a backend.
Only the most basic settings should be exposed to the operator, all the other ones should be standardized.
Updating should also be noob-friendly, without the need to read diffs from UPGRADING.rst, etc.

In the light of these changes Vagrant support is also being removed.
Some improvements are also made to hopefully fix Selenium.

Change-Id: Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77
Comment by Gerrit Gerrit [ 2020-05-6 ]
Change oioioi~master~Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3455

(SIO-2356) Make deployment easier

Create an easy way to deploy OIOIOI using the Docker technology as a backend.
Only the most basic settings should be exposed to the operator, all the other ones should be standardized.
Updating should also be noob-friendly, without the need to read diffs from UPGRADING.rst, etc.

In the light of these changes Vagrant support is also being removed.
Some improvements are also made to hopefully fix Selenium.

Change-Id: Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77
Comment by Gerrit Gerrit [ 2020-05-6 ]
Change oioioi~master~Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3455

(SIO-2356) Make deployment easier

Create an easy way to deploy OIOIOI using the Docker technology as a backend.
Only the most basic settings should be exposed to the operator, all the other ones should be standardized.
Updating should also be noob-friendly, without the need to read diffs from UPGRADING.rst, etc.

In the light of these changes Vagrant support is also being removed.
Some improvements are also made to hopefully fix Selenium.

Change-Id: Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77
Comment by Gerrit Gerrit [ 2020-05-12 ]
Change oioioi~master~Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3455

(SIO-2356) Make deployment easier

Create an easy way to deploy OIOIOI using the Docker technology as a backend.
Only the most basic settings should be exposed to the operator, all the other ones should be standardized.
Updating should also be noob-friendly, without the need to read diffs from UPGRADING.rst, etc.

In the light of these changes Vagrant support is also being removed.
Some improvements are also made to hopefully fix Selenium.

Change-Id: Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77
Comment by Gerrit Gerrit [ 2020-05-12 ]
Change oioioi~master~Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3455

(SIO-2356) Make deployment easier

Create an easy way to deploy OIOIOI using the Docker technology as a backend.
Only the most basic settings should be exposed to the operator, all the other ones should be standardized.
Updating should also be noob-friendly, without the need to read diffs from UPGRADING.rst, etc.

In the light of these changes Vagrant support is also being removed.
Some improvements are also made to hopefully fix Selenium.

Change-Id: Ieb0b293dab8a7d36e6c7f3a0347c2a7a33341f77
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~I55b1b3da935f4b061642d4188b289115219999cc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3475

(SIO-2356) Fix supervisor.conf template and upgrading info. Add hooks for Docker Hub.

Change-Id: I55b1b3da935f4b061642d4188b289115219999cc
Comment by Artur Pragacz [ 2020-06-23 ]
https://gerrit.sio2project.mimuw.edu.pl/3519

(no-ticket) Added better documentation for oioioi-easy-install and docker integration.

Change-Id: Ia10c84d4aef494102b3e714c44b0df66baae6367




[SIO-2355] Settings in contest settings should be arranged in collapsable categories Created: 2020-05-4  Updated: 2020-06-29  Resolved: 2020-05-11

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wiktor Czyż Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Wiktor Czyż

 Description   
Arrange settings in contest settings into sensible categories and make them collapsable, so the site isn't clogged.


 Comments   
Comment by Gerrit Gerrit [ 2020-05-4 ]
Change oioioi~master~I00def48f07eb53e8ba42e21f28fe30f457cd911b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3452

(SIO-2355) Contest settings arranged into collapsable categories

Arrange settings in contest settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: I00def48f07eb53e8ba42e21f28fe30f457cd911b
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~I00def48f07eb53e8ba42e21f28fe30f457cd911b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3452

(SIO-2355) Contest settings arranged into collapsable categories

Arrange settings in contest settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: I00def48f07eb53e8ba42e21f28fe30f457cd911b
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~I00def48f07eb53e8ba42e21f28fe30f457cd911b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3452

(SIO-2355) Contest settings arranged into collapsable categories

Arrange settings in contest settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: I00def48f07eb53e8ba42e21f28fe30f457cd911b
Comment by Gerrit Gerrit [ 2020-05-6 ]
Change oioioi~master~I00def48f07eb53e8ba42e21f28fe30f457cd911b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3452

(SIO-2355) Contest settings arranged into collapsable categories

Arrange settings in contest settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: I00def48f07eb53e8ba42e21f28fe30f457cd911b
Comment by Gerrit Gerrit [ 2020-05-6 ]
Change oioioi~master~I00def48f07eb53e8ba42e21f28fe30f457cd911b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3452

(SIO-2355) Contest settings arranged into collapsable categories

Arrange settings in contest settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: I00def48f07eb53e8ba42e21f28fe30f457cd911b
Comment by Gerrit Gerrit [ 2020-05-11 ]
Change oioioi~master~I00def48f07eb53e8ba42e21f28fe30f457cd911b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3452

(SIO-2355) Contest settings arranged into collapsable categories

Arrange settings in contest settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: I00def48f07eb53e8ba42e21f28fe30f457cd911b
Comment by Gerrit Gerrit [ 2020-05-11 ]
Change oioioi~master~I00def48f07eb53e8ba42e21f28fe30f457cd911b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3452

(SIO-2355) Contest settings arranged into collapsable categories

Arrange settings in contest settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: I00def48f07eb53e8ba42e21f28fe30f457cd911b




[SIO-2354] SWIG2.0 is not working on szkopul Created: 2020-04-30  Updated: 2020-04-30

Status: New
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Strzelecki Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
In szkopul it is impossible to submit python solutions to interactive tasks, where SWIG was used (https://szkopul.edu.pl/s/1358659/)




[SIO-2353] Some links in teacher problems view are not allowed to use Created: 2020-04-28  Updated: 2020-06-10  Resolved: 2020-06-10

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Stanisław Strzelecki

 Description   
When a teacher adds a public problem from problemset, they can modify some task settings.
There are however two links, to which the teacher, not owning the problem, has no rights.
These are package link (to download package) and advanced problem settings link.
Error 403 occurs, when entering those links.
It would be worth removing those links from teacher view

 Comments   
Comment by Gerrit Gerrit [ 2020-06-2 ]
Change oioioi~master~I04b6aac4d7c5040e4019310bc40994763df1a048, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3501

SIO-2353 Some links in teacher problems view are not allowed to use

Added a threading local variable do ProblemInstanceAdmin
to know the request when creating admin links.
If user does not have admin rights to the problem,
package and advanced settings links to not show.

Change-Id: I04b6aac4d7c5040e4019310bc40994763df1a048




[SIO-2352] Error when adding task to contest from task archive Created: 2020-04-28  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
When being on teacher account, going into:
task archive -> task -> add to contest
No contest is shown (teacher owns one teacher contest)
When clicking "To see the list of available contests click here",
error 404 is displayed.

 Comments   
Comment by Gerrit Gerrit [ 2020-05-23 ]
Change oioioi~master~If4374123c7b529e2317b7a96cefc475782cd603f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3481

(SIO-2352) Fixed 'Add to contest' tab in contest view

Change-Id: If4374123c7b529e2317b7a96cefc475782cd603f




[SIO-2351] Cannot add to contest from "add to contest" in problem site Created: 2020-04-24  Updated: 2020-12-4  Resolved: 2020-11-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Michalina Sidor Assignee: Wojciech Dubiel
Resolution: Cannot Reproduce Votes: 0
Labels: tag1


 Description   
Example: https://szkopul.edu.pl/problemset/problem/eqMHKut-ZAURUhO6-eIEUQS7/site/?key=add_to_contest

Received this via contact email today, a quick workaround is to use "Add to contest" from problemset search results instead of the tab in the problem site

 Comments   
Comment by Szymon Acedański [ 2020-04-24 ]
The link on that page is missing problem_name value. It's

https://szkopul.edu.pl/problemset/problem/eqMHKut-ZAURUhO6-eIEUQS7/add_to_contest/?problem_name=

but should be

https://szkopul.edu.pl/problemset/problem/eqMHKut-ZAURUhO6-eIEUQS7/add_to_contest/?problem_name=something_here
Comment by Michalina Sidor [ 2020-04-24 ]
If you go to https://szkopul.edu.pl/problemset/problem/eqMHKut-ZAURUhO6-eIEUQS7/site/?key=add_to_contest you'll find that link there
Comment by Wojciech Dubiel [ 2020-11-18 ]
Probably fixed by https://gerrit.sio2project.mimuw.edu.pl/#/c/3481/
together with SIO-2352




[SIO-2350] API: no problem_id after package_upload Created: 2020-04-23  Updated: 2020-12-16  Resolved: 2020-12-15

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version, For the OI Team
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Dominik Klemba Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2394 Improve API support for problem packa... Resolved

 Description   
Names from: https://sio2.mimuw.edu.pl/api/docs/

There is no way to check problem_id after package_upload, within API.
It makes impossible automatic reuploading package inside CI, without checking id by hand.

Because of that, API is much less useful than it could be.

Possible solution:
- package_upload returns package_id,
- package_id allows to check upload status (and problem_id if upload was successful).


Other solutions are also possible:
- Possibility to use package_id instead of problem_id.
- Reserving problem_id at the beginning. On fail, it is still reserved and waiting for package reupload.

 Comments   
Comment by Wojciech Dubiel [ 2020-12-2 ]
An alternative/additional solution would be to add an API endpoint to query problem ID based on contest_id and short_name. That'd make it much easier for the CI usecase.
Comment by Dominik Klemba [ 2020-12-2 ]
Totally agree, we should think about it earlier.

Possibility to check status by id would be also great (so, CI would be able to communicate if upload was successful).
Comment by Gerrit Gerrit [ 2020-12-15 ]
Change oioioi~master~I5257b7cd5cde1d82a3c17ce1e448722ed94405e0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3571

SIO-2350 Ease use of package-related API functions

Change-Id: I5257b7cd5cde1d82a3c17ce1e448722ed94405e0
Comment by Gerrit Gerrit [ 2020-12-15 ]
Change oioioi~master~I5257b7cd5cde1d82a3c17ce1e448722ed94405e0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3571

SIO-2350 Ease use of package-related API functions

Change-Id: I5257b7cd5cde1d82a3c17ce1e448722ed94405e0
Comment by Gerrit Gerrit [ 2020-12-15 ]
Change oioioi~master~I5257b7cd5cde1d82a3c17ce1e448722ed94405e0, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3571

SIO-2350 Add API endpoint to check package upload status

Change-Id: I5257b7cd5cde1d82a3c17ce1e448722ed94405e0
Comment by Jakub Wasilewski [ 2020-12-16 ]
Change is merged: https://gerrit.sio2project.mimuw.edu.pl/#/c/3571/

package upload/reupload API's return package_id that can be used to query new API endpoint for package upload status
When new API endpoint returns OK as package status (which means package got successfully uploaded) it also returns
problem_id that can later be used to reupload the package
Comment by Wojciech Dubiel [ 2020-12-16 ]
I added a meta-ticket for other API improvements that'd help with problem package CI https://jira.sio2project.mimuw.edu.pl/browse/SIO-2394




[SIO-2349] Super users cannot access user group details Created: 2020-04-22  Updated: 2022-03-18

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Michalina Sidor Assignee: Mieszko Grodzicki
Resolution: Unresolved Votes: 0
Labels: tag1


 Description   
While responding to an email from a teacher I discovered that despite my super user privileges I get a 403 error when I go to someone's contest and click "Modify group" under one of their user groups.

 Comments   
Comment by Mieszko Grodzicki [ 2022-03-18 ]
Can't reproduce. Sure, visiting e.g. /usergroups/show/1/ by superuser not owning the group results in 403, but I think it is intended - it's a view that should be visible only to the owner of the group. Superusers can edit it on /admin/usergroups/usergroup/1/change/.




[SIO-2348] Allow owners of problemset problems to decide if tests are public Created: 2020-04-18  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Winter Sprint

Type: New Feature Priority: Major
Reporter: Szymon Acedański Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag2

Sprint: TAG 2020/21 Winter Sprint

 Description   
Many of our problemset tasks have had their tests published.
So it would be convenient to have these tests available @ Szkopul as well.
And maybe we can publish tests which have not been published before, for educational purposes.

Additionally, if a task with published tests is being added by a teacher, it should be clear for her/him that the tests are publicly available.

 Comments   
Comment by Alicja Kluczek [ 2021-01-27 ]
It's already possible (first part of task) -- in one click you can publish the tests.
Comment by Gerrit Gerrit [ 2021-01-27 ]
Change oioioi~master~Ief823e09e176b96481c1debb07d2d25cce9f6074, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3592

(SIO-2348) Add a note that tests are public to Add to contest tab.

The teacher while adding the problem to their contest should
be aware of possible cheating -- and downloading tests from problemset
may be a way to do it. In add to contest tab there is a big warning
if tests package is public now. I also updated the README to make
conditions of tests publishing clearer.

Change-Id: Ief823e09e176b96481c1debb07d2d25cce9f6074
Comment by Gerrit Gerrit [ 2021-01-27 ]
Change oioioi~master~Ief823e09e176b96481c1debb07d2d25cce9f6074, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3592

(SIO-2348) Add a note that tests are public to Add to contest tab.

The teacher while adding the problem to their contest should
be aware of possible cheating -- and downloading tests from problemset
may be a way to do it. In add to contest tab there is a big warning
if tests package is public now. I also updated the README to make
conditions of tests publishing clearer.

Change-Id: Ief823e09e176b96481c1debb07d2d25cce9f6074
Comment by Wojciech Dubiel [ 2021-01-27 ]
Have you checked that a teacher can publish the tests, and a regular user can see and download the tests?
Comment by Alicja Kluczek [ 2021-01-27 ]
https://szkopul.edu.pl/problemset/problem/10wspanialych/site/?key=files Here is an example of package with tests published, I can download them without even logging in – which is a bug in my opinion, but whatever.

Regarding "teacher can publish the tests" please take a look at the README I updated and added to Gerrit. A teacher can publish the tests only if they are the owners of problem.
Comment by Wojciech Dubiel [ 2021-01-27 ]
Nice
Comment by Gerrit Gerrit [ 2021-01-27 ]
Change oioioi~master~Ief823e09e176b96481c1debb07d2d25cce9f6074, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3592

(SIO-2348) Add a note that tests are public to Add to contest tab.

The teacher while adding the problem to their contest should
be aware of possible cheating -- and downloading tests from problemset
may be a way to do it. In add to contest tab there is a big warning
if tests package is public now. I also updated the README to make
conditions of tests publishing clearer.

Change-Id: Ief823e09e176b96481c1debb07d2d25cce9f6074
Comment by Gerrit Gerrit [ 2021-01-27 ]
Change oioioi~master~Ief823e09e176b96481c1debb07d2d25cce9f6074, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3592

(SIO-2348) Add a note that tests are public to Add to contest tab.

The teacher while adding the problem to their contest should
be aware of possible cheating -- and downloading tests from problemset
may be a way to do it. In add to contest tab there is a big warning
if tests package is public now. I also updated the README to make
conditions of tests publishing clearer.

Change-Id: Ief823e09e176b96481c1debb07d2d25cce9f6074
Comment by Gerrit Gerrit [ 2021-01-27 ]
Change oioioi~master~Ief823e09e176b96481c1debb07d2d25cce9f6074, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3592

(SIO-2348) Add a note that tests are public to Add to contest tab.

The teacher while adding the problem to their contest should
be aware of possible cheating -- and downloading tests from problemset
may be a way to do it. In add to contest tab there is a big warning
if tests package is public now. I also updated the README to make
conditions of tests publishing clearer.

Change-Id: Ief823e09e176b96481c1debb07d2d25cce9f6074




[SIO-2347] Add tests packages description to config.yml Created: 2020-04-18  Updated: 2020-04-18

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag2


 Description   
We often upload packages with example tests and sometimes with all tests (added in TESTS PACKAGES on problem site).

It would be cool to be able to specify these tests packages in config.yml, like this:

tests_packages:
   mar_example_tests:
       description: Testy przykładowe do zadania Marchewka
       tests: [0*]
       publish_date: now

Wildcards and current publish_date are some additional features, not necessary.




[SIO-2346] Changing the name of a category in a forum changes the order of categories as well Created: 2020-04-18  Updated: 2021-01-8  Resolved: 2021-01-8

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1


 Description   
When you change the name of some category in a forum, the category is displayed then as the last one. For example, you might have categories: "Something 1", "Something 2", "Something 3". And then when you change "Something 2" to "Something 2 - important update", you are stuck with "Something 1", "Something 3" and "Something 2 - important update". This is of course not ideal.

Quick fix: sort by the creation time.
Better fix: allow to reorder the categories.

 Comments   
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~I2cf0b7fd049994308f233a981fde7ed8dc398d9d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3552

SIO-2346 Allow reordering categories on a forum.

Change-Id: I2cf0b7fd049994308f233a981fde7ed8dc398d9d
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~I2cf0b7fd049994308f233a981fde7ed8dc398d9d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3552

SIO-2346 Allow reordering categories on a forum.

Change-Id: I2cf0b7fd049994308f233a981fde7ed8dc398d9d
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~I2cf0b7fd049994308f233a981fde7ed8dc398d9d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3552

SIO-2346 Allow reordering categories on a forum.

Change-Id: I2cf0b7fd049994308f233a981fde7ed8dc398d9d
Comment by Gerrit Gerrit [ 2020-11-30 ]
Change oioioi~master~I2cf0b7fd049994308f233a981fde7ed8dc398d9d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3552

SIO-2346 Allow reordering categories on a forum.

Requests fail with 400 code if category can't be moved.

Change-Id: I2cf0b7fd049994308f233a981fde7ed8dc398d9d




[SIO-2345] Adding an announcement just for specific contestant (or contestants?) Created: 2020-04-9  Updated: 2021-01-15

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Alicja Kluczek
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Quite often we would like to notify some person or a group of people during the contest. Right now, in "Questions and news" we have just two options: send a public announcement to everyone, or answer someone's questions. Having something in-between, i.e. being able to send an announcement to a specific person, or a group of people would be really handy.

So far, the typical workflow was: ask an admin to su into the contestant account, ask an empty question (as a contestant), and then answer to this question, which is way too complicated and hacky.




[SIO-2344] API: package_upload does not work Created: 2020-04-5  Updated: 2020-04-10  Resolved: 2020-04-10

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Dominik Klemba Assignee: Szymon Acedański
Resolution: Fixed Votes: 1
Labels: tag1


 Description   
Uploading package with API does not work.
Steps to reproduce:
```
curl -v \
    --form contest_id=contest-id\
    --form round_name=round-name \
    --form package_file=@/path/to/file/abc.zip \
    --header 'Authorization: Token XXX-XXX-XXX-XXX' \
    https://sio2.mimuw.edu.pl/api/problems/package_upload/
```

Error code: 403
Returned JSON: `{"message":"Permission denied."}`

Tested on SIO and Szkopuł by different users with permissions.


PS (to person fixing)
It would be nice, if uploading packed would return problem_id needed by package_reupload, if that doesn't now.

 Comments   
Comment by Szymon Acedański [ 2020-04-5 ]
Looks like this check is incorrect:
https://github.com/sio2project/oioioi/blob/549df58b09d9699327bb5808e2ce3e30b0a4a616/oioioi/problems/api.py#L32
The is_contest_admin check does not use the passed contest.

If this is a good guess, then superadmins should be able to upload packages.
Comment by Wojciech Dubiel [ 2020-04-7 ]
Tried it as a superadmin, it worked.
Comment by Gerrit Gerrit [ 2020-04-8 ]
Change oioioi~master~Idb5c487fe13028e697510780f746e71fbe02c1df, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3438

(SIO-2344) Fix permission check in problem upload api

There's no implied contest in an API request,
so is_contest_admin doesn't make sense.
We need to use can_admin_contest instead.

Change-Id: Idb5c487fe13028e697510780f746e71fbe02c1df




[SIO-2343] ValueError: Single '}' encountered in format string Created: 2020-03-31  Updated: 2020-04-1  Resolved: 2020-04-1

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Sentry Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://sentry.io/organizations/the-sio2-project/issues/1590453065/?referrer=jira_plugin

A bug while generating package_info messages. Connected to a recent change.

 Comments   
Comment by Gerrit Gerrit [ 2020-04-1 ]
Change oioioi~master~I56e1da78b551973bf6376679471e018efe6dd966, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3434

(SIO-2343) package_info message rendering fix

Messages containing braces ('{', '}') were wrongfully
treated as format strings. Now it is no longer so.

Change-Id: I56e1da78b551973bf6376679471e018efe6dd966




[SIO-2342] Create script that allows user to set settings Created: 2020-03-30  Updated: 2020-07-15  Resolved: 2020-07-15

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Franciszek Hnatów Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
1. Select which settings should be managed by user
2. Create a script which enables this

 Comments   
Comment by Gerrit Gerrit [ 2020-03-30 ]
Change oioioi~master~I559486a534c6741d9f8cc5b9f3d7472fd46a8307, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3430

SIO-2342 Created a proposition of a function that manages user settings

Change-Id: I559486a534c6741d9f8cc5b9f3d7472fd46a8307
Comment by Gerrit Gerrit [ 2020-04-7 ]
Change oioioi~master~I559486a534c6741d9f8cc5b9f3d7472fd46a8307, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3430

SIO-2342 Created a proposition of a function that manages user settings

Still needs to fill in clues

Change-Id: I559486a534c6741d9f8cc5b9f3d7472fd46a8307
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~I559486a534c6741d9f8cc5b9f3d7472fd46a8307, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3430

SIO-2342 Created a proposition of a function that manages user settings

Still needs to fill in clues

Change-Id: I559486a534c6741d9f8cc5b9f3d7472fd46a8307




[SIO-2341] Login form in upper right corner might be improved Created: 2020-03-17  Updated: 2020-05-11  Resolved: 2020-05-11

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2336 Focus login field Sub-task Resolved Szymon Acedański  
TAG Developer: Stanisław Strzelecki

 Description   
When opening the login form, cursor should focus on the login field.
Also, pressing tab from password input box, should change the focus to login button, not register button

 Comments   
Comment by Gerrit Gerrit [ 2020-03-24 ]
Change oioioi~master~I6d8e681b08544254885344f8e6fa85b325c8941e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3426

SIO-2341 Login form in upper right corner might be improved

Swaped login and register buttons, so that it's more natural,
and tab from password box jumps to login button.

Also wrote a small script, which changes focus to login field,
when the form is opened.

Change-Id: I6d8e681b08544254885344f8e6fa85b325c8941e
Comment by Gerrit Gerrit [ 2020-03-24 ]
Change oioioi~master~I6d8e681b08544254885344f8e6fa85b325c8941e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3426

SIO-2341 Login form in upper right corner might be improved

Swaped login and register buttons, so that it's more natural,
and tab from password box jumps to login button.

Also wrote a small script, which changes focus to login field,
when the form is opened.

Change-Id: I6d8e681b08544254885344f8e6fa85b325c8941e
Comment by Gerrit Gerrit [ 2020-03-27 ]
Change oioioi~master~I6d8e681b08544254885344f8e6fa85b325c8941e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3426

SIO-2341 Login form in upper right corner might be improved

Swaped login and register buttons, so that it's more natural,
and tab from password box jumps to login button.

Also wrote a small script, which changes focus to login field,
when the form is opened.

Change-Id: I6d8e681b08544254885344f8e6fa85b325c8941e
Comment by Gerrit Gerrit [ 2020-03-27 ]
Change oioioi~master~I6d8e681b08544254885344f8e6fa85b325c8941e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3426

SIO-2341 Login form in upper right corner might be improved

Swaped login and register buttons, so that it's more natural,
and tab from password box jumps to login button.

Also wrote a small script, which changes focus to login field,
when the form is opened.

Change-Id: I6d8e681b08544254885344f8e6fa85b325c8941e
Comment by Gerrit Gerrit [ 2020-03-27 ]
Change oioioi~master~I6d8e681b08544254885344f8e6fa85b325c8941e, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3426

SIO-2341 Login form in upper right corner might be improved

Swaped login and register buttons, so that it's more natural,
and tab from password box jumps to login button.

Also wrote a small script, which changes focus to login field,
when the form is opened.

Change-Id: I6d8e681b08544254885344f8e6fa85b325c8941e




[SIO-2340] [UI] Question list and links on the question are unintuitive Created: 2020-03-17  Updated: 2020-06-2  Resolved: 2020-06-2

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Stanisław Strzelecki

 Description   
Links on questions are unintuitive in use.
User, reading from left to right, in order to view a question, clicks on the first link - author, and views his list of questions, instead of the question itself. But, pressing both of date links, opens the question.

It's worth considering opening the question by clicking on the list element (not any particular link), or at least expanding the question under the element.

 Comments   
Comment by Gerrit Gerrit [ 2020-05-18 ]
Change oioioi~master~I57d4be95f48459afb46574a69afdedb0f84493e7, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3471

[SIO-2340] [UI] Question list and links on the question are unintuitive

Removed links from dates, leaving only question title as a link to it's content.
Made questions clickable, then the content collapses under it.

Change-Id: I57d4be95f48459afb46574a69afdedb0f84493e7
Comment by Gerrit Gerrit [ 2020-05-18 ]
Change oioioi~master~I57d4be95f48459afb46574a69afdedb0f84493e7, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3471

[SIO-2340] [UI] Question list and links on the question are unintuitive

Removed links from dates, leaving only question title as a link to it's content.
Made questions clickable, then the content collapses under it.

Change-Id: I57d4be95f48459afb46574a69afdedb0f84493e7
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~I57d4be95f48459afb46574a69afdedb0f84493e7, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3471

[SIO-2340] [UI] Question list and links on the question are unintuitive

Removed links from dates, leaving only question title as a link to it's content.
Made questions clickable, then the content collapses under it.

Change-Id: I57d4be95f48459afb46574a69afdedb0f84493e7
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~I57d4be95f48459afb46574a69afdedb0f84493e7, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3471

[SIO-2340] [UI] Question list and links on the question are unintuitive

Removed links from dates, leaving only question title as a link to it's content.
Made questions clickable, then the content collapses under it.

Change-Id: I57d4be95f48459afb46574a69afdedb0f84493e7
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~I57d4be95f48459afb46574a69afdedb0f84493e7, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3471

[SIO-2340] [UI] Question list and links on the question are unintuitive

Removed links from dates, leaving only question title as a link to it's content.
Made questions clickable, then the content collapses under it.

Changed tests, so they now look only at question topics,
as replied questions' body is visible in the dropdown section.

Change-Id: I57d4be95f48459afb46574a69afdedb0f84493e7




[SIO-2339] [UI] "Add problem" in problemset looks like a tab Created: 2020-03-17  Updated: 2020-05-19  Resolved: 2020-05-19

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
relates to SIO-2337 [UI] "Add to contest" button is unnat... Resolved

 Description   
"Add problem" button looks like a tab (my problems, public problems, etc.) in problemset. It might be unclear, that it's used to create new problems. Might be worth making it look aside from other tabs (like styling it as a green button), so using it would be intuitive

 Comments   
Comment by Gerrit Gerrit [ 2020-05-10 ]
Change oioioi~master~I1c3dc680ca85f179ba7ab7023b1e33b5325dc2cb, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3457

(SIO-2339) "Add problem" tab in problemset made green

Change-Id: I1c3dc680ca85f179ba7ab7023b1e33b5325dc2cb
Comment by Gerrit Gerrit [ 2020-05-17 ]
Change oioioi~master~I1c3dc680ca85f179ba7ab7023b1e33b5325dc2cb, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3457

(SIO-2339) "Add problem" tab in problemset made green

Change-Id: I1c3dc680ca85f179ba7ab7023b1e33b5325dc2cb




[SIO-2338] Fix language field in submit view Created: 2020-03-17  Updated: 2020-03-31  Resolved: 2020-03-31

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Summer Sprint 1

Type: Bug Priority: Minor
Reporter: Artur Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Selecting different problem doesn't properly update displayed languages and compilers.

 Comments   
Comment by Gerrit Gerrit [ 2020-03-17 ]
Change oioioi~master~Iae45349cf438441175939ddc7c2c07f6df67b971, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3417

(SIO-2338) Fix language field in submit view

Change-Id: Iae45349cf438441175939ddc7c2c07f6df67b971
Comment by Gerrit Gerrit [ 2020-03-17 ]
Change oioioi~master~Iae45349cf438441175939ddc7c2c07f6df67b971, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3417

(SIO-2338) Fix language field in submit view

Change-Id: Iae45349cf438441175939ddc7c2c07f6df67b971
Comment by Gerrit Gerrit [ 2020-03-17 ]
Change oioioi~master~Iae45349cf438441175939ddc7c2c07f6df67b971, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3417

(SIO-2338) Fix language field in submit view

Change-Id: Iae45349cf438441175939ddc7c2c07f6df67b971
Comment by Gerrit Gerrit [ 2020-03-20 ]
Change oioioi~master~Iae45349cf438441175939ddc7c2c07f6df67b971, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3417

(SIO-2338) Fix language field in submit view

Change-Id: Iae45349cf438441175939ddc7c2c07f6df67b971
Comment by Gerrit Gerrit [ 2020-03-20 ]
Change oioioi~master~Iae45349cf438441175939ddc7c2c07f6df67b971, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3417

(SIO-2338) Fix language field in submit view

Change-Id: Iae45349cf438441175939ddc7c2c07f6df67b971
Comment by Gerrit Gerrit [ 2020-03-31 ]
Change oioioi~master~Iae45349cf438441175939ddc7c2c07f6df67b971, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3417

(SIO-2338) Fix language field in submit view

Change-Id: Iae45349cf438441175939ddc7c2c07f6df67b971
Comment by Gerrit Gerrit [ 2020-03-31 ]
Change oioioi~master~Iae45349cf438441175939ddc7c2c07f6df67b971, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3417

(SIO-2338) Fix language field in submit view

Change-Id: Iae45349cf438441175939ddc7c2c07f6df67b971
Comment by Gerrit Gerrit [ 2020-03-31 ]
Change oioioi~master~Iae45349cf438441175939ddc7c2c07f6df67b971, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3417

(SIO-2338) Fix language field in submit view

Change-Id: Iae45349cf438441175939ddc7c2c07f6df67b971
Comment by Gerrit Gerrit [ 2020-03-31 ]
Change oioioi~master~Iae45349cf438441175939ddc7c2c07f6df67b971, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3417

(SIO-2338) Fix language field in submit view

Change-Id: Iae45349cf438441175939ddc7c2c07f6df67b971




[SIO-2337] [UI] "Add to contest" button is unnaturally placed in problemset Created: 2020-03-17  Updated: 2020-12-9  Resolved: 2020-12-9

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
is related to SIO-2339 [UI] "Add problem" in problemset look... Resolved

 Description   

In problemset, in problems list, there is an "add to contest" button. When we enter a specific problem, there is no such button anymore. To find it, we need to enter settings, and then, on the left side (in the opposite to other action buttons, which are places to the right), we find a subwindow with the desired action. We could make this button separate, and more reachable.

One of the ideas is in the tabs bar (settings, private key, ect.) add an additional tab-button, aligned to right and visible ad a button (just as in problem list in problemset)

 Comments   
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~If4374123c7b529e2317b7a96cefc475782cd603f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3481

(SIO-2337) Fixed 'Add to contest' tab in contest view

Change-Id: If4374123c7b529e2317b7a96cefc475782cd603f




Login form in upper right corner might be improved (SIO-2341)

[SIO-2336] Focus login field Created: 2020-03-3  Updated: 2020-06-16  Resolved: 2020-06-16

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Sub-task Priority: Trivial
Reporter: Artur Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
After clicking "Log in" login name field should have focus.




[SIO-2335] Questions and News form filters look bad Created: 2020-03-3  Updated: 2022-04-6  Resolved: 2022-04-6

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Franciszek Hnatów Assignee: Tomasz Waleń
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File filters_now.png     PNG File filters_prop_1.png     PNG File filters_prop_2.png     PNG File filters_prop_3.png    
Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
Boxes are too small, and Author Username field is misaligned

[Aktualizacja 25.03.22]
Dodałem w załączniku zrzut ekranu przedstawiający filtry teraz i 3 swoje propozycje, jak można byłoby zmienić ich wygląd.

 Comments   
Comment by Tomek Waleń [ 2022-03-28 ]
I vote for prop_2
Comment by Andrzej Radzimiński [ 2022-03-28 ]
vote for 1 or 2
Comment by Kacper Lewandowski [ 2022-03-28 ]
I'm for prop_2 too.
Comment by Gerrit Gerrit [ 2022-04-5 ]
Change oioioi~master~I202a2d74ca83f6011a4fa6e1002d86e0a1f0d7b5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3823

SIO-2335 Improved questions filters.

Removed form labels, added "Clear filters" button,
changed styling and made form errors show up
outside the filters box. Additionaly, when user
inputs some incorrect values, only invalid filters
are ignored - not all of them as it was before.

Change-Id: I202a2d74ca83f6011a4fa6e1002d86e0a1f0d7b5
Comment by Gerrit Gerrit [ 2022-04-5 ]
Change oioioi~master~I202a2d74ca83f6011a4fa6e1002d86e0a1f0d7b5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3823

SIO-2335 Improved questions filters.

Removed form labels, added "Clear filters" button,
changed styling and made form errors show up
outside the filters box. Additionaly, when user
inputs some incorrect values, only invalid filters
are ignored - not all of them as it was before.

Change-Id: I202a2d74ca83f6011a4fa6e1002d86e0a1f0d7b5
Comment by Gerrit Gerrit [ 2022-04-5 ]
Change oioioi~master~I202a2d74ca83f6011a4fa6e1002d86e0a1f0d7b5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3823

SIO-2335 Improved questions filters.

Removed form labels, added "Clear filters" button,
changed styling and made form errors show up
outside the filters box. Additionaly, when user
inputs some incorrect values, only invalid filters
are ignored - not all of them as it was before.

Change-Id: I202a2d74ca83f6011a4fa6e1002d86e0a1f0d7b5




[SIO-2334] [UI] Change labels in contest administration view Created: 2020-03-3  Updated: 2020-07-15  Resolved: 2020-07-15

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Franciszek Hnatów Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
It should be more transparent, which (problem instance or problem) settings are accessed from actions menu

1. Problem settings should be accessible from actions menu, as well as problem instance settings (they should be name appropriately)
2. For the sake of consistency, clicking on problem name should open task statement.

 Comments   
Comment by Gerrit Gerrit [ 2020-03-27 ]
Change oioioi~master~Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3429

SIO-2334 [UI] Change labels in contest administration view A proposition of how the solution might look like.

Change-Id: Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33
Comment by Gerrit Gerrit [ 2020-03-27 ]
Change oioioi~master~Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3429

SIO-2334 [UI] Change labels in contest administration view A proposition of how the solution might look like.

Change-Id: Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33
Comment by Gerrit Gerrit [ 2020-03-27 ]
Change oioioi~master~Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3429

SIO-2334 [UI] Change labels in contest administration view A proposition of how the solution might look like.

Change-Id: Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33
Comment by Gerrit Gerrit [ 2020-03-27 ]
Change oioioi~master~Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3429

SIO-2334 [UI] Change labels in contest administration view A proposition of how the solution might look like.

Change-Id: Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33
Comment by Gerrit Gerrit [ 2020-03-28 ]
Change oioioi~master~Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3429

SIO-2334 [UI] Change labels in contest administration view A proposition of how the solution might look like.

Change-Id: Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33
Comment by Gerrit Gerrit [ 2020-03-31 ]
Change oioioi~master~Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3429

SIO-2334 [UI] Change labels in contest administration view A proposition of how the solution might look like.

Change-Id: Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33
Comment by Gerrit Gerrit [ 2020-03-31 ]
Change oioioi~master~Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3429

SIO-2334 [UI] Change labels in contest administration view A proposition of how the solution might look like.

Change-Id: Ib8fd163bf8a6686ba7062e86ecf5d7970e18ff33




[SIO-2333] Settings in problem settings should be arranged in collapsable categories Created: 2020-03-3  Updated: 2020-06-29  Resolved: 2020-05-11

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Franciszek Hnatów Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Wiktor Czyż

 Description   
Arrange settings in problem settings into sensible categories and make them collapsable, so the site isn't clogged.

 Comments   
Comment by Franciszek Hnatów [ 2020-03-3 ]
Requires creating a new template or adjusting django template accordingly
Comment by Gerrit Gerrit [ 2020-05-2 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Settings in problem settings should be arranged in collapsable categories

Arrange settings in problem settings into sensible categories and make them
collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee
Comment by Gerrit Gerrit [ 2020-05-2 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Settings in problem settings arranged in collapsable categories

Arrange settings in problem settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee
Comment by Gerrit Gerrit [ 2020-05-2 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Problem settings arranged into collapsable categories

Arrange settings in problem settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee
Comment by Gerrit Gerrit [ 2020-05-4 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Problem settings arranged into collapsable categories

Arrange settings in problem settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee
Comment by Gerrit Gerrit [ 2020-05-4 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Problem settings arranged into collapsable categories

Arrange settings in problem settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Problem settings arranged into collapsable categories

Arrange settings in problem settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Problem settings arranged into collapsable categories

Arrange settings in problem settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee
Comment by Gerrit Gerrit [ 2020-05-5 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Problem settings arranged into collapsable categories

Arrange settings in problem settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee
Comment by Gerrit Gerrit [ 2020-05-6 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Problem settings arranged into collapsable categories

Arrange settings in problem settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee
Comment by Gerrit Gerrit [ 2020-05-6 ]
Change oioioi~master~Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3450

(SIO-2333) Problem settings arranged into collapsable categories

Arrange settings in problem settings into sensible categories
and make them collapsable, so the site isn't clogged.

Change-Id: Ied53d4001194a6eaf81ce8b3aee0e4e0203eecee




[SIO-2332] Move Test run and Score reveal configs from problem settings to problem instance settings Created: 2020-03-3  Updated: 2020-06-23  Resolved: 2020-06-23

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Franciszek Hnatów Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Stanisław Strzelecki

 Description   
Test Run and Score reveal configs should be a part of problem instance - not global problem.

 Comments   
Comment by Gerrit Gerrit [ 2020-05-23 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-05-23 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I80861dbc58f87ec16158096bfb3840258b48d91b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3487

(SIO-2332) Merge TestRunConfig and TestRunConfigForInstance

Now time and memory limit for test runs can be set for each problem
independently (unlike previously, where every instance inherited
the settings from its main 'problem' node).

Change-Id: I80861dbc58f87ec16158096bfb3840258b48d91b
Note: Django 1.11 or higher is required to run the migrations.
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I80861dbc58f87ec16158096bfb3840258b48d91b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3487

(SIO-2332) Merge TestRunConfig and TestRunConfigForInstance

Now time and memory limit for test runs can be set for each problem
independently (unlike previously, where every instance inherited
the settings from its main 'problem' node).

Change-Id: I80861dbc58f87ec16158096bfb3840258b48d91b
Note: Django 1.11 or higher is required to run the migrations.
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I80861dbc58f87ec16158096bfb3840258b48d91b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3487

(SIO-2332) Merge TestRunConfig and TestRunConfigForInstance

Now time and memory limit for test runs can be set for each problem
independently (unlike previously, where every instance inherited
the settings from its main 'problem' node).

Change-Id: I80861dbc58f87ec16158096bfb3840258b48d91b
Note: Django 1.11 or higher is required to run the migrations.
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-05-25 ]
Change oioioi~master~I80861dbc58f87ec16158096bfb3840258b48d91b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3487

(SIO-2332) Merge TestRunConfig and TestRunConfigForInstance

Now time and memory limit for test runs can be set for each problem
independently (unlike previously, where every instance inherited
the settings from its main 'problem' node).

Change-Id: I80861dbc58f87ec16158096bfb3840258b48d91b
Note: Django 1.11 or higher is required to run the migrations.
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~I80861dbc58f87ec16158096bfb3840258b48d91b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3487

(SIO-2332) Merge TestRunConfig and TestRunConfigForInstance

Now time and memory limit for test runs can be set for each problem
independently (unlike previously, where every instance inherited
the settings from its main 'problem' node).

Change-Id: I80861dbc58f87ec16158096bfb3840258b48d91b
Note: Django 1.11 or higher is required to run the migrations.
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-05-26 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-06-2 ]
Change oioioi~master~I8c612f41c87bcca395b2902db6447ae62ff940df, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3485

(SIO-2332) Moved score reveal settings from problem to problem instance

Change-Id: I8c612f41c87bcca395b2902db6447ae62ff940df
Comment by Gerrit Gerrit [ 2020-06-7 ]
Change oioioi~master~I80861dbc58f87ec16158096bfb3840258b48d91b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3487

(SIO-2332) Merge TestRunConfig and TestRunConfigForInstance

Now time and memory limit for test runs can be set for each problem
independently (unlike previously, where every instance inherited
the settings from its main 'problem' node).

Change-Id: I80861dbc58f87ec16158096bfb3840258b48d91b
Note: Django 1.11 or higher is required to run the migrations.
Comment by Gerrit Gerrit [ 2020-06-11 ]
Change oioioi~master~I80861dbc58f87ec16158096bfb3840258b48d91b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3487

(SIO-2332) Merge TestRunConfig and TestRunConfigForInstance

Now time and memory limit for test runs can be set for each problem
independently (unlike previously, where every instance inherited
the settings from its main 'problem' node).

Change-Id: I80861dbc58f87ec16158096bfb3840258b48d91b
Note: Django 1.11 or higher is required to run the migrations.
Comment by Gerrit Gerrit [ 2020-06-11 ]
Change oioioi~master~I80861dbc58f87ec16158096bfb3840258b48d91b, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3487

(SIO-2332) Merge TestRunConfig and TestRunConfigForInstance

Now time and memory limit for test runs can be set for each problem
independently (unlike previously, where every instance inherited
the settings from its main 'problem' node).

Change-Id: I80861dbc58f87ec16158096bfb3840258b48d91b
Note: Django 1.11 or higher is required to run the migrations.
Comment by Gerrit Gerrit [ 2020-06-16 ]
Change oioioi~master~I80861dbc58f87ec16158096bfb3840258b48d91b, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3487

(SIO-2332) Merge TestRunConfig and TestRunConfigForInstance

Now time and memory limit for test runs can be set for each problem
independently (unlike previously, where every instance inherited
the settings from its main 'problem' node).

Change-Id: I80861dbc58f87ec16158096bfb3840258b48d91b
Note: Django 1.11 or higher is required to run the migrations.




[SIO-2331] Improve all submissions view Created: 2020-03-3  Updated: 2020-03-23  Resolved: 2020-03-23

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Franciszek Hnatów Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Franciszek Hnatów
TAG Reviewer: Stanisław Strzelecki

 Description   
Filters:
Make categories in filter list collapsable + make them collapsed by default
Sort entries in "by problem" list alphabetically

Search:
Add problem name to searched values.

 Comments   
Comment by Gerrit Gerrit [ 2020-03-16 ]
Change oioioi~master~If17643597ff5251497309714589729b172fc1398, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3415

SIO-2331 Improve all submissions view

Change-Id: If17643597ff5251497309714589729b172fc1398
Comment by Gerrit Gerrit [ 2020-03-16 ]
Change oioioi~master~If17643597ff5251497309714589729b172fc1398, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3415

SIO-2331 Improve all submissions view

Change-Id: If17643597ff5251497309714589729b172fc1398
Comment by Gerrit Gerrit [ 2020-03-17 ]
Change oioioi~master~If17643597ff5251497309714589729b172fc1398, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3415

SIO-2331 Improve all submissions view

Change-Id: If17643597ff5251497309714589729b172fc1398
Comment by Gerrit Gerrit [ 2020-03-17 ]
Change oioioi~master~If17643597ff5251497309714589729b172fc1398, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3415

SIO-2331 Improve all submissions view

Change-Id: If17643597ff5251497309714589729b172fc1398
Comment by Gerrit Gerrit [ 2020-03-17 ]
Change oioioi~master~If17643597ff5251497309714589729b172fc1398, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3415

SIO-2331 Improve all submissions view

Change-Id: If17643597ff5251497309714589729b172fc1398
Comment by Gerrit Gerrit [ 2020-03-17 ]
Change oioioi~master~If17643597ff5251497309714589729b172fc1398, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3415

SIO-2331 Improve all submissions view

Change-Id: If17643597ff5251497309714589729b172fc1398
Comment by Gerrit Gerrit [ 2020-03-17 ]
Change oioioi~master~If17643597ff5251497309714589729b172fc1398, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3415

SIO-2331 Improve all submissions view

Change-Id: If17643597ff5251497309714589729b172fc1398




[SIO-2330] Teachers cannot delete their problems Created: 2020-02-15  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sentry Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag2

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
https://sentry.io/organizations/the-sio2-project/issues/1512998050/?referrer=jira_plugin

{code}
NoReverseMatch: Reverse for 'contests_probleminstance_changelist' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
(11 additional frame(s) were not displayed)
...
  File "oioioi/base/admin.py", line 373, in delete_view
    return model_admin.delete_view(request, object_id, extra_context)
  File "oioioi/problems/admin.py", line 376, in delete_view
    return self.redirect_to_list(request, obj)
  File "oioioi/problems/admin.py", line 332, in redirect_to_list
    return redirect('oioioiadmin:contests_probleminstance_changelist')
  File "oioioi/contests/current_contest.py", line 105, in reverse
    return django_reverse(target, *args, **kwargs)

NoReverseMatch: Reverse for 'contests_probleminstance_changelist' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
{code}

 Comments   
Comment by Michalina Sidor [ 2020-02-15 ]
Moreover deleting by Problem.objects.filter(...).delete() raises IntegrityError: insert or update on table "problems_problemstatistics" violates foreign key constraint "problems_problemstat_problem_id_9570522e_fk_problems_problem_id"
Comment by Franciszek Hnatów [ 2020-03-9 ]
I cannot reproduce this bug, is there any chance it is already solved somehow?




[SIO-2329] Task archive is broken, when someone has some submission in it Created: 2020-02-14  Updated: 2020-04-9  Resolved: 2020-04-9

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
After accessing https://szkopul.edu.pl/task_archive/oi/, I got an internal server error with the following traceback:

Traceback (most recent call last):
  File "/var/lib/sio2/szkopul-20200212-192123-b47c2c-bad3fb/venv/local/lib/ python2.7/site-packages/django/core/handlers/exception.py", line 42, in inner
    response = get_response(request)
  File "/var/lib/sio2/szkopul-20200212-192123-b47c2c-bad3fb/venv/local/lib/ python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/var/lib/sio2/szkopul-20200212-192123-b47c2c-bad3fb/venv/local/lib/ python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/var/lib/sio2/szkopul-20200212-192123-b47c2c-bad3fb/venv/local/lib/ python2.7/site-packages/django/utils/decorators.py", line 185, in inner
    return func(*args, **kwargs)
  File "/var/lib/sio2/szkopul-20200212-192123-b47c2c-bad3fb/code/oioioi/ problems/views.py", line 657, in task_archive_tag_view
    user_results = _get_results_info(request, problems)
  File "/var/lib/sio2/szkopul-20200212-192123-b47c2c-bad3fb/code/oioioi/ problems/views.py", line 611, in _get_results_info
    'max_score': result.submission_report.score_report.max_score.to_int(),
AttributeError: 'NoneType' object has no attribute 'to_int'

 Comments   
Comment by Bartosz Kostka [ 2020-02-14 ]
This was probably broken by SIO-2289.
Comment by Gerrit Gerrit [ 2020-02-21 ]
Change oioioi~master~I837368cba7ffeb3e42a70b0a603367ccbb50b5e3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3407

(SIO-2329) Fixed task archive server error for some users

Submissions with non-integer results are now treated separately.
Having only one of the pair (score, max_score) be an integer contradicts
the internal logic and such results will be ignored by the task archive.
Additionally, problem names and labels are now organised in two columns
for better clarity.

Change-Id: I837368cba7ffeb3e42a70b0a603367ccbb50b5e3
Comment by Gerrit Gerrit [ 2020-02-21 ]
Change oioioi~master~I837368cba7ffeb3e42a70b0a603367ccbb50b5e3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3407

(SIO-2329) Fixed task archive server error for some users

Submissions with non-integer results are now treated separately.
Having only one of the pair (score, max_score) be an integer contradicts
the internal logic and such results will be ignored by the task archive.
Additionally, problem names and labels are now organised in two columns
for better clarity.

Change-Id: I837368cba7ffeb3e42a70b0a603367ccbb50b5e3
Comment by Bartosz Kostka [ 2020-04-9 ]
I think this was resolved, at least it works now for me.




[SIO-2328] _FileLikeFromResponse has no 'close' method Created: 2020-02-12  Updated: 2020-02-12

Status: New
Project: The SIO2 project
Component/s: Filetracker
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sentry Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
_FileLikeFromResponse defined here:
https://github.com/sio2project/filetracker/blob/master/filetracker/client/remote_data_store.py#L270

should have a close method.
The close method is called eg. here:

https://github.com/sio2project/oioioi/blob/master/oioioi/oireports/views.py#L157

Stacktrace on sentry:

https://sentry.io/organizations/the-sio2-project/issues/1510360122/?referrer=jira_plugin





[SIO-2327] Navbar in szkopul/submissions is not loaded Created: 2020-02-4  Updated: 2020-03-3  Resolved: 2020-03-3

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Stanisław Strzelecki

 Description   
When opening szkopul/submissions, navbar is not loaded.
On official site it just doesn't appear, while on localhost an error is thrown, saying about nonexisting template

 Comments   
Comment by Gerrit Gerrit [ 2020-02-18 ]
Change oioioi~master~I85411654c47c0a280581cfe3303a18a290d06167, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3406

SIO-2327 Navbar in szkopul/submissions is not loaded Changed loaded navbar template to an existing one.

Change-Id: I85411654c47c0a280581cfe3303a18a290d06167




[SIO-2326] On szkopul main page, hidden submissions are visible Created: 2020-02-4  Updated: 2020-05-11  Resolved: 2020-05-11

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Stanisław Strzelecki

 Description   
When a nonadmin user opens szkopul main page, he sees all his recent submissions, including the ones that shouldn't be visible for him.
Same happens when you click "more" under the submission list.

 Comments   
Comment by Gerrit Gerrit [ 2020-03-14 ]
Change oioioi~master~I29757caa3bf266d2d3ceab5cab468dfe305e83de, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3414

SIO-2326 On szkopul main page, hidden submissions are visible

Added a filter excluding hidden submissions from queryset

Change-Id: I29757caa3bf266d2d3ceab5cab468dfe305e83de
Comment by Gerrit Gerrit [ 2020-03-27 ]
Change oioioi~master~I29757caa3bf266d2d3ceab5cab468dfe305e83de, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3414

SIO-2326 On szkopul main page, hidden submissions are visible

Added a filter excluding hidden submissions from queryset

Change-Id: I29757caa3bf266d2d3ceab5cab468dfe305e83de
Comment by Gerrit Gerrit [ 2020-03-29 ]
Change oioioi~master~I29757caa3bf266d2d3ceab5cab468dfe305e83de, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3414

SIO-2326 On szkopul main page, hidden submissions are visible

Added a filter excluding hidden submissions from queryset

Change-Id: I29757caa3bf266d2d3ceab5cab468dfe305e83de
Comment by Gerrit Gerrit [ 2020-03-31 ]
Change oioioi~master~I29757caa3bf266d2d3ceab5cab468dfe305e83de, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3414

SIO-2326 On szkopul main page, hidden submissions are visible

Added a filter excluding hidden submissions from queryset

Change-Id: I29757caa3bf266d2d3ceab5cab468dfe305e83de
Comment by Gerrit Gerrit [ 2020-03-31 ]
Change oioioi~master~I29757caa3bf266d2d3ceab5cab468dfe305e83de, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3414

SIO-2326 On szkopul main page, hidden submissions are visible

Added a filter excluding hidden submissions from queryset

Change-Id: I29757caa3bf266d2d3ceab5cab468dfe305e83de
Comment by Gerrit Gerrit [ 2020-03-31 ]
Change oioioi~master~I29757caa3bf266d2d3ceab5cab468dfe305e83de, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3414

SIO-2326 On szkopul main page, hidden submissions are visible

Added a filter excluding hidden submissions from queryset

Change-Id: I29757caa3bf266d2d3ceab5cab468dfe305e83de
Comment by Gerrit Gerrit [ 2020-04-1 ]
Change oioioi~master~I29757caa3bf266d2d3ceab5cab468dfe305e83de, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3414

SIO-2326 On szkopul main page, hidden submissions are visible

Added a filter excluding hidden submissions from queryset

Change-Id: I29757caa3bf266d2d3ceab5cab468dfe305e83de




[SIO-2325] Exportszu crashes on non-ascii characters Created: 2020-02-3  Updated: 2020-02-3

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Stacktrace on sentry: https://sentry.io/share/issue/d836818ab3714a5e837b54fff58a01f9/

Replacing force_text with force_bytes seems to fix it, but I have no idea whether that's the correct solution




[SIO-2324] Filetracker cache cleaner doesn't delete locks Created: 2020-01-29  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Filetracker
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Today, szkopuł ran out of inodes, because there were too many files in deployment/cache/locks:

(venv) sio2@snag ~/deployment$ du -d 1 --inodes cache/
1690536 cache/locks
9649 cache/files
1700186 cache/

Filetracker cache cleaner periodically deletes files from cache/files, but doesn't delete corresponding locks from cache/locks, which makes them accumulate forever. This should be fixed.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
https://github.com/sio2project/filetracker/pull/72




[SIO-2323] Announcement editing and deletion for teachers Created: 2020-01-22  Updated: 2020-03-14  Resolved: 2020-03-14

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Critical
Reporter: Michalina Sidor Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Stanisław Strzelecki

 Description   
> Dzień dobry!
> Jestem nauczycielką w [REDACTED]. Pracuję z uczniami na Szkopule i przekazuję im wiadomości przez Pytania i ogłoszenia.
> Bardzo potrzebuję możliwości edycji i usuwania dodanych przeze mnie wpisów (obecnie takiej możliwości nie mam).

 Comments   
Comment by Gerrit Gerrit [ 2020-03-9 ]
Change oioioi~master~Iedef5d6225fd0d19b884007fb40b1dc6ff14da3a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3411

SIO-2323 Announcement editing and deletion for teachers

Gave teacher possibility to edit and remove questions, just as admins can.
Fixed check_perm class:
basicadmin is a weaker permission than admin, thus admins also have
basicadmin's privilages.
Made an if statement, that in case of asking for basicadmin,
also checks admin's privilages.

Change-Id: Iedef5d6225fd0d19b884007fb40b1dc6ff14da3a




[SIO-2322] Disqualified people should still see their reports Created: 2020-01-20  Updated: 2021-01-8  Resolved: 2021-01-8

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: For the OI Team
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag2


 Description   
Right now, if we propose a disqualification of someone, they cannot see their results, they just see the reason of the potential disqualification. Because of that, they cannot file any complaints about their results (as the disqualifications are resolved after the deadline for complaints).

 Comments   
Comment by Gerrit Gerrit [ 2021-01-8 ]
Change oioioi~master~Ib21530f59f87fa82b643c90170bb302889e39840, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3576

(SIO-2322) Make reports visible for disqualified contestants.

After disqualification, contestant had no access to their reports,
so it was harder to file a complaint. Now it's visible alonside with score.
It doesn't affect the ranking, from which contestant is removed until
the disqualification is resolved.

Change-Id: Ib21530f59f87fa82b643c90170bb302889e39840
Comment by Gerrit Gerrit [ 2021-01-8 ]
Change oioioi~master~Ib21530f59f87fa82b643c90170bb302889e39840, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3576

(SIO-2322) Make reports visible for disqualified contestants.

After disqualification, contestant had no access to their reports,
so it was harder to file a complaint. Now it's visible alongside with the score.
It doesn't affect the ranking, from which contestant is removed until
the disqualification is resolved.

Change-Id: Ib21530f59f87fa82b643c90170bb302889e39840
Comment by Gerrit Gerrit [ 2021-01-8 ]
Change oioioi~master~Ib21530f59f87fa82b643c90170bb302889e39840, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3576

(SIO-2322) Make reports visible for disqualified contestants.

After disqualification, contestant had no access to their reports,
so it was harder to file a complaint. Now it's visible alongside with the score.
It doesn't affect the ranking, from which contestant is removed until
the disqualification is resolved.

Change-Id: Ib21530f59f87fa82b643c90170bb302889e39840




[SIO-2321] Limited time for user contests Created: 2020-01-14  Updated: 2020-03-3  Resolved: 2020-01-29

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2019/20 Sprint 1
Fix Version/s: TAG 2019/20 Sprint 1

Type: New Feature Priority: Minor
Reporter: Cezary Chodun Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Modify the user contests module so that the user contests could be enabled for limited amount of time.
In practice limit user rounds to a predefined date from settings.

 Comments   
Comment by Gerrit Gerrit [ 2020-01-14 ]
Change oioioi~master~I4d78ac3a39e0605009e6604cf2638754585ebe14, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3384

SIO-2321 Limited time for user contests

Modified forms to reject rounds that end after the USER_CONTEST_TIMEOUT(from settings).

Change-Id: I4d78ac3a39e0605009e6604cf2638754585ebe14
Comment by Gerrit Gerrit [ 2020-01-15 ]
Change oioioi~master~I4d78ac3a39e0605009e6604cf2638754585ebe14, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3384

SIO-2321 Limited time for user contests

Modified forms to reject rounds that end after the USER_CONTEST_TIMEOUT(from settings).

Change-Id: I4d78ac3a39e0605009e6604cf2638754585ebe14
Comment by Gerrit Gerrit [ 2020-01-15 ]
Change oioioi~master~I4d78ac3a39e0605009e6604cf2638754585ebe14, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3384

SIO-2321 Limited time for user contests

Modified forms to reject rounds that end after the USER_CONTEST_TIMEOUT(from settings).

Change-Id: I4d78ac3a39e0605009e6604cf2638754585ebe14
Comment by Cezary Chodun [ 2020-01-29 ]
Time limiting can be enabled by a special setting.




[SIO-2320] [UI] Provide an option to deselect a file in submit view Created: 2020-01-8  Updated: 2020-06-16  Resolved: 2020-06-16

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Summer Sprint 4

Type: Improvement Priority: Minor
Reporter: Artur Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Artur Pragacz

 Description   
Right now users need to completely refresh the page to clear their selected file, which is highly inconvenient.

 Comments   
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~Ia182e260836b5cf073d6da72ab1436db9d84ac6b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3395

(SIO-2320) Provide an option to deselect a file in submit view

Change-Id: Ia182e260836b5cf073d6da72ab1436db9d84ac6b
Comment by Gerrit Gerrit [ 2020-06-3 ]
Change oioioi~master~Ia182e260836b5cf073d6da72ab1436db9d84ac6b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3395

(SIO-2320) Provide an option to deselect a file in submit view

Change-Id: Ia182e260836b5cf073d6da72ab1436db9d84ac6b
Comment by Gerrit Gerrit [ 2020-06-3 ]
Change oioioi~master~Ia182e260836b5cf073d6da72ab1436db9d84ac6b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3395

(SIO-2320) Provide an option to deselect a file in submit view

Change-Id: Ia182e260836b5cf073d6da72ab1436db9d84ac6b
Comment by Gerrit Gerrit [ 2020-06-3 ]
Change oioioi~master~Ia182e260836b5cf073d6da72ab1436db9d84ac6b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3395

(SIO-2320) Provide an option to deselect a file in submit view

Change-Id: Ia182e260836b5cf073d6da72ab1436db9d84ac6b
Comment by Gerrit Gerrit [ 2020-06-16 ]
Change oioioi~master~Ia182e260836b5cf073d6da72ab1436db9d84ac6b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3395

(SIO-2320) Provide an option to deselect a file in submit view

Change-Id: Ia182e260836b5cf073d6da72ab1436db9d84ac6b
Comment by Gerrit Gerrit [ 2020-06-16 ]
Change oioioi~master~Ia182e260836b5cf073d6da72ab1436db9d84ac6b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3395

(SIO-2320) Provide an option to deselect a file in submit view

Change-Id: Ia182e260836b5cf073d6da72ab1436db9d84ac6b
Comment by Gerrit Gerrit [ 2020-06-16 ]
Change oioioi~master~Ia182e260836b5cf073d6da72ab1436db9d84ac6b, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3395

(SIO-2320) Provide an option to deselect a file in submit view

Change-Id: Ia182e260836b5cf073d6da72ab1436db9d84ac6b




[SIO-2319] [UI] Disable code input after selecting a file in submit view Created: 2020-01-8  Updated: 2020-03-3  Resolved: 2020-01-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Artur Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Artur Pragacz

 Description   
In submit view after selecting a file the manual code input (and the programming language selector) should be disabled to not confuse users.

 Comments   
Comment by Gerrit Gerrit [ 2020-01-15 ]
Change oioioi~master~I73b0a808d4243edcde2990fdb2ac5334eaa84c64, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3385

(SIO-2319) Disable code input after selecting a file in submit view

Change-Id: I73b0a808d4243edcde2990fdb2ac5334eaa84c64
Comment by Gerrit Gerrit [ 2020-01-22 ]
Ignore this comment.




[SIO-2318] Add more detailed URLs in the new task archive (pointing to the particular olympiad, round, day, etc.) Created: 2019-12-28  Updated: 2021-01-26  Resolved: 2021-01-26

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2020/21 Winter Sprint

Type: New Feature Priority: Trivial
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag2

Sprint: TAG 2020/21 Winter Sprint

 Description   
Right now, you only have links to the contests, like:
https://szkopul.edu.pl/task_archive/pa/

You cannot send someone a link to the particular year, like
https://szkopul.edu.pl/task_archive/pa/#problems-problemgroups-2019-trial
forwards us to the archive with all PA problems.

Some shorter links (like https://szkopul.edu.pl/task_archive/pa/2019/ or https://szkopul.edu.pl/task_archive/pa/2019/trial) would be even better.

 Comments   
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3589

SIO-2318 Add more detailed URLs and enable easy copying of them

Added functionality to uncollapse selected in link category(# syntax).
Added functionality to easily copy link to selected category..

Change-Id: If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3589

SIO-2318 Add more detailed URLs and enable easy copying of them

Added functionality to uncollapse selected in link category(# syntax).
Added functionality to easily copy link to selected category..

Change-Id: If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3589

SIO-2318 Add more detailed URLs and enable easy copying of them

Added functionality to uncollapse selected in link category(# syntax).
Added functionality to easily copy link to selected category..

Change-Id: If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34
Comment by Gerrit Gerrit [ 2021-01-24 ]
Change oioioi~master~If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3589

SIO-2318 Add more detailed URLs and enable easy copying of them

Added functionality to uncollapse selected in link category(# syntax).
Added functionality to easily copy link to selected category.

Change-Id: If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34
Comment by Gerrit Gerrit [ 2021-01-24 ]
Change oioioi~master~If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3589

SIO-2318 Add more detailed URLs and enable easy copying of them

Added functionality to uncollapse selected in link category(# syntax).
Added functionality to easily copy link to selected category.

Change-Id: If6fe1ef0f8f8403357bdcae3520abb9c9e0b5e34




[SIO-2317] Fix urls in problemset with custom GET parameters in URLs Created: 2019-12-28  Updated: 2021-01-8  Resolved: 2021-01-8

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
Facebook adds custom GET parameter to the URL:
https://szkopul.edu.pl/task_archive/pa/?fbclid=IwAR3Oq6H3Ia_WImIISb0HpnumhEQS0iD6ej1xzCQsChZ4IxhtllYowNrWweQ

These links don't work then in the task_archive (but https://szkopul.edu.pl/task_archive/?fbclid=IwAR3Oq6H3Ia_WImIISb0HpnumhEQS0iD6ej1xzCQsChZ4IxhtllYowNrWweQ works for some reason)

 Comments   
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3551

SIO-2317 Fix urls in problemset with custom GET parameters in URLs

As this pages checks GET parameters for validation of request I removed fbclid id from parameters if it is there.

Change-Id: Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3551

SIO-2317 Fix urls in problemset with custom GET parameters in URLs

As this pages checks GET parameters for validation of request I removed fbclid id from parameters if it is there.

Change-Id: Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~I591da4c74a7d87f49f8c22a682796e81ae0e09e4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3553

SIO-2317 Fix urls in problemset with custom GET parameters in URLs

As this pages checks GET parameters for validation of request I removed fbclid id from parameters if it is there.

Change-Id: I591da4c74a7d87f49f8c22a682796e81ae0e09e4
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3551

SIO-2317 Fix urls in problemset with custom GET parameters in URLs

As this pages checks GET parameters for validation of request I removed fbclid id from parameters if it is there.

Change-Id: Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556
Comment by Gerrit Gerrit [ 2020-12-2 ]
Change oioioi~master~Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3551

SIO-2317 Fix urls in problemset with custom GET parameters in URLs

As this pages checks GET parameters for validation of request I added filter method that doesn't pass fbclid from parameters if it is there.
I added twi test cases and formated views.py to follow pep8 using pycharm default formatter.

Change-Id: Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556
Comment by Gerrit Gerrit [ 2020-12-7 ]
Change oioioi~master~Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3551

SIO-2317 Fix urls in problemset with custom GET parameters in URLs

As this pages checks GET parameters for validation of request I added filter method that doesn't pass fbclid from parameters if it is there.
I added two test cases.

Change-Id: Icc7dbf6b60ad44cb5455fe76bdd250f2a46ee556




[SIO-2316] In new problemset, sort tasks inside one round by their short name (alphabetically) Created: 2019-12-28  Updated: 2020-05-23  Resolved: 2020-05-23

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Trivial
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
For example, in PA 2019, the problems are in random order:
https://szkopul.edu.pl/task_archive/pa/

 Comments   
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~Iccc67ae6761d327c4cc49db041a886f394e9c187, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3477

(SIO-2316) Sort problems by short name in Task Archive

Change-Id: Iccc67ae6761d327c4cc49db041a886f394e9c187
Comment by Gerrit Gerrit [ 2020-05-19 ]
Change oioioi~master~Iccc67ae6761d327c4cc49db041a886f394e9c187, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3477

(SIO-2316) Sort problems by short name in Task Archive

Change-Id: Iccc67ae6761d327c4cc49db041a886f394e9c187




[SIO-2315] In statistics module, in submissions histogram, sort problems by the round and then alphabetically by the short name Created: 2019-12-24  Updated: 2021-01-8  Resolved: 2021-01-8

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
Right now it is just a mess: https://sio2.mimuw.edu.pl/c/oij14-1/stat/

 Comments   
Comment by Gerrit Gerrit [ 2020-12-7 ]
Change oioioi~master~Ie3b08dd3ee9eb800bd9549b875f1344647ef3ac2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3558

(SIO-2315) Sort problems in contest histogram by round data and short name

Change-Id: Ie3b08dd3ee9eb800bd9549b875f1344647ef3ac2
Comment by Gerrit Gerrit [ 2020-12-7 ]
Change oioioi~master~Ie3b08dd3ee9eb800bd9549b875f1344647ef3ac2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3558

(SIO-2315) Sort problems in contest histogram by round data and short name

Change-Id: Ie3b08dd3ee9eb800bd9549b875f1344647ef3ac2
Comment by Gerrit Gerrit [ 2020-12-7 ]
Change oioioi~master~Ie3b08dd3ee9eb800bd9549b875f1344647ef3ac2, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3558

(SIO-2315) Sort problems in contest histogram.

Problems are sorted by round start date, round id and
problem instance short name respectively.

Change-Id: Ie3b08dd3ee9eb800bd9549b875f1344647ef3ac2




[SIO-2314] Algorithm tags are not translatable Created: 2019-12-23  Updated: 2021-01-27  Resolved: 2021-01-26

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Winter Sprint

Type: Improvement Priority: Major
Reporter: Michalina Sidor Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag2

Issue Links:
Blocks
blocks SIO-2244 Migrate old tags on Szkopuł to new al... Resolved
Sprint: TAG 2020/21 Winter Sprint

 Comments   
Comment by Gerrit Gerrit [ 2021-01-25 ]
Change oioioi~master~I3a0e734ef955cecd1580a139780a995c6e565ef6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3591

(SIO-2314) Make algorithm tags translatable

Algorithm tags can be translated into multiple languages.
Algorithm tag hints mechanism searches for all names containing
given string in all languages.
Refactors some of the methods returning tag hints (DRY).

Change-Id: I3a0e734ef955cecd1580a139780a995c6e565ef6
Comment by Gerrit Gerrit [ 2021-01-25 ]
Change oioioi~master~I3a0e734ef955cecd1580a139780a995c6e565ef6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3591

(SIO-2314) Make algorithm tags translatable

Algorithm tags can be translated into multiple languages.

Algorithm tag hints mechanism searches for all names containing
given string in all languages.

Refactors some of the methods returning tag hints (DRY).

Changed single quotes to double quotes in strings displayed
to the user.

Make searching for existing tags containing typed string case
insensitive (JavaScript).

Change-Id: I3a0e734ef955cecd1580a139780a995c6e565ef6
Comment by Gerrit Gerrit [ 2021-01-25 ]
Change oioioi~master~I3a0e734ef955cecd1580a139780a995c6e565ef6, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3591

(SIO-2314) Make algorithm tags translatable

Algorithm tags can be translated into multiple languages.

Algorithm tag hints mechanism searches for all names containing
given string in all languages.

Refactors some of the methods returning tag hints (DRY).

Changed single quotes to double quotes in strings displayed
to the user.

Make searching for existing tags containing typed string case
insensitive (JavaScript).

Change-Id: I3a0e734ef955cecd1580a139780a995c6e565ef6
Comment by Szymon Czyżmański [ 2021-01-26 ]
Merged to master.
Comment by Gerrit Gerrit [ 2021-01-27 ]
Change oioioi~master~Ie92419e067d8dc7d5613f8833ec6e9f182a02b1b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3595

(SIO-2314) Fix TypeError

Fix bug with TypeError occurring when trying to concatenate two QuerySets together
using '+' operator in get_tag_proposal_hints_view function.

Change-Id: Ie92419e067d8dc7d5613f8833ec6e9f182a02b1b
Comment by Gerrit Gerrit [ 2021-01-27 ]
Change oioioi~master~Ie92419e067d8dc7d5613f8833ec6e9f182a02b1b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3595

(SIO-2314) Fix TypeError in the change "Make algorithm tags translatable"

Fix bug with TypeError occurring when trying to concatenate two QuerySets together
using '+' operator in get_tag_proposal_hints_view function.

Added a few regression tests for this function.

Change-Id: Ie92419e067d8dc7d5613f8833ec6e9f182a02b1b
Comment by Gerrit Gerrit [ 2021-01-27 ]
Change oioioi~master~Ie92419e067d8dc7d5613f8833ec6e9f182a02b1b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3595

(SIO-2314) Fix TypeError in the change "Make algorithm tags translatable"

Fix bug with TypeError occurring when trying to concatenate two QuerySets together
using '+' operator in get_tag_proposal_hints_view function.

Added a few regression tests for this function.

Change-Id: Ie92419e067d8dc7d5613f8833ec6e9f182a02b1b




[SIO-2312] When uploading package to problemset, Public is missing, only Private and Friends is shown Created: 2019-12-18  Updated: 2020-03-3  Resolved: 2020-03-3

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Przemysław Podleśny

 Comments   
Comment by Gerrit Gerrit [ 2020-01-6 ]
Change oioioi~master~Iab9d7d9350a5d6b6634b5f30e9b83ea291460187, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3382

(SIO-2312) Added Public visibility option to the problem upload view.

Change-Id: Iab9d7d9350a5d6b6634b5f30e9b83ea291460187
Comment by Gerrit Gerrit [ 2020-01-17 ]
Change oioioi~master~Iab9d7d9350a5d6b6634b5f30e9b83ea291460187, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3382

(SIO-2312) Added Public visibility option to the problem upload view.

Change-Id: Iab9d7d9350a5d6b6634b5f30e9b83ea291460187




[SIO-2311] In PARegistration add the following field: "I am eligible and willing to participate in the finals". Created: 2019-12-16  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag1





[SIO-2310] Forum posts: "Last edit: [nothing is displayed here]" Created: 2019-12-16  Updated: 2020-03-3  Resolved: 2020-02-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Attachments: PNG File Screenshot 2019-12-17 at 07.04.13.png    
Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Stanisław Strzelecki

 Description   
https://sio2.mimuw.edu.pl/c/pa-2019-1/forum/104/1021/

The time of the edit is not shown.

 Comments   
Comment by Szymon Acedański [ 2019-12-17 ]
In what way?
I don't see anything obvious.
Please add a description with screenshot.




[SIO-2309] [UI] Dismiss reports on forum without approving Created: 2019-12-16  Updated: 2020-03-3  Resolved: 2020-02-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Stanisław Strzelecki

 Description   
Sometimes posts are reported, but they are not illegal, but just plain stupid. We don't want to "approve" such posts, but we don't want to keep them as reported.

An easy solution is to not show which posts are approved, or change the description.

 Comments   
Comment by Gerrit Gerrit [ 2020-01-21 ]
Change oioioi~master~I58e874006f0f67855940388bab2598c071d1960d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3394

SIO-2309 [UI] Dismiss reports on forum without approving

Change text after approval from approved to reviewed (zatwierdzony -> sprawdzony)
This way it doesn't suggest that admins approve this post,
but rather reviewed it and didn't find reasons to ban it.

Change-Id: I58e874006f0f67855940388bab2598c071d1960d
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~I58e874006f0f67855940388bab2598c071d1960d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3394

SIO-2309 [UI] Dismiss reports on forum without approving

Change text after approval from approved to reviewed (zatwierdzony -> sprawdzony)
This way it doesn't suggest that admins approve this post,
but rather reviewed it and didn't find reasons to ban it.
Changed tests to check that change.

Change-Id: I58e874006f0f67855940388bab2598c071d1960d
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~I58e874006f0f67855940388bab2598c071d1960d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3394

SIO-2309 [UI] Dismiss reports on forum without approving

Removed approval text from users view, making only report button disappear after approving.
This way it doesn't suggest that admins approve this post,
but disables the possibility to report it further.
Changed tests to check that change.

Change-Id: I58e874006f0f67855940388bab2598c071d1960d
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~I58e874006f0f67855940388bab2598c071d1960d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3394

SIO-2309 [UI] Dismiss reports on forum without approving

Removed approval text from users view, making only report button disappear after approving.
This way it doesn't suggest that admins approve this post,
but disables the possibility to report it further.
Changed tests to check that change.

Change-Id: I58e874006f0f67855940388bab2598c071d1960d
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~I58e874006f0f67855940388bab2598c071d1960d, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3394

SIO-2309 [UI] Dismiss reports on forum without approving

Removed approval text from users view, making only report button disappear after approving.
This way it doesn't suggest that admins approve this post,
but disables the possibility to report it further.
Changed tests to check that change.

Change-Id: I58e874006f0f67855940388bab2598c071d1960d




[SIO-2308] [UI] For questions show rounds related to these questions Created: 2019-12-16  Updated: 2020-06-2  Resolved: 2020-06-2

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Stanisław Strzelecki

 Description   
Right now it shows "General" or a problem name. It should be "General, round 1" or a problem name + round name. It can be a different column in this table.

 Comments   
Comment by Gerrit Gerrit [ 2020-05-16 ]
Change oioioi~master~I6258daab260e7f127a551377f5b143b10ec3e620, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3467

SIO-2308 [UI] For questions show rounds related to these questions

Added a round column in questions list,
displayed to the left of question related task.

Change-Id: I6258daab260e7f127a551377f5b143b10ec3e620




[SIO-2307] [UI] Show limits in the test run view Created: 2019-12-16  Updated: 2020-03-3  Resolved: 2020-01-28

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Michał Niedziółka

 Description   
We have time / memory limits specified for a test run and they should be visible before submitting the run.

 Comments   
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~I0c86e9b16f44d9e96191badc64f00764ce247aca, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3396

SIO-2307 Add time and memory limits to test run submit

Change-Id: I0c86e9b16f44d9e96191badc64f00764ce247aca
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~I0c86e9b16f44d9e96191badc64f00764ce247aca, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3396

SIO-2307 Add time and memory limits to test run submit

Change-Id: I0c86e9b16f44d9e96191badc64f00764ce247aca
Comment by Gerrit Gerrit [ 2020-01-27 ]
Change oioioi~master~I0c86e9b16f44d9e96191badc64f00764ce247aca, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3396

SIO-2307 Add time and memory limits to test run submit

Change-Id: I0c86e9b16f44d9e96191badc64f00764ce247aca




[SIO-2306] [UI] Submission table: clicking the time of the submission to see details/report is not intuitive Created: 2019-12-16  Updated: 2021-01-26  Resolved: 2021-01-26

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
Right now it is not really intuitive for most users that they can click the submission time to see the detailed report.

A better mechanism would be nice, e.g. a "Details" button.

 Comments   
Comment by Gerrit Gerrit [ 2020-12-7 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 [UI] Submission table: clicking the time of the submission to see details/report is not intuitive

Added details button.

Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4
Comment by Gerrit Gerrit [ 2020-12-9 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 [UI] Submission table: clicking the time of the submission to see details/report is not intuitive

Added details button. Screenshots can be found here https://imgur.com/a/Q6k0fLG.

Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4
Comment by Gerrit Gerrit [ 2020-12-9 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 [UI] Submission table: clicking the time of the submission to see details/report is not intuitive

Added details button. Screenshots can be found here https://imgur.com/a/Q6k0fLG.

Changelog:
Removed whitespace changes.
Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4
Comment by Gerrit Gerrit [ 2020-12-9 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 [UI] Submission table: clicking the time of the submission to see details/report is not intuitive

Added details button. Screenshots can be found here https://imgur.com/a/Q6k0fLG.

Changelog:
Removed whitespace changes.
Removed 100 placeholder in score.
Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4
Comment by Gerrit Gerrit [ 2020-12-9 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 [UI] Submission table: clicking the time of the submission to see details/report is not intuitive

Added details button. Screenshots can be found here https://imgur.com/a/Q6k0fLG.

Changelog:
Removed whitespace changes.
Removed 100 placeholder in score.
Changed tests to account for new main dashboard.
Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 [UI] Submission table: clicking the time of the submission to see details/report is not intuitive

Added details button. Screenshots can be found here https://imgur.com/a/Q6k0fLG.

Changelog:
Removed whitespace changes.
Removed 100 placeholder in score.
Changed tests to account for new main dashboard.
Change structure of row as blocks don't propagate in django.
Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 [UI] Submission table: clicking the time of the submission to see details/report is not intuitive

Added details button. Screenshots can be found here https://imgur.com/a/Q6k0fLG.

Changelog:
Removed whitespace changes.
Removed 100 placeholder in score.
Changed tests to account for new main dashboard.
Change structure of row as blocks don't propagate in django.
Post review changes.

Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 [UI] Submission table: clicking the time of the submission to see details/report is not intuitive

Added details button. Screenshots can be found here https://imgur.com/a/Q6k0fLG.

Changelog:
Removed whitespace changes.
Removed 100 placeholder in score.
Changed tests to account for new main dashboard.
Change structure of row as blocks don't propagate in django.
Post review changes.
Removed whitespace changes.

Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 [UI] Submission table: clicking the time of the submission to see details/report is not intuitive

Added details button. Screenshots can be found here https://imgur.com/a/Q6k0fLG.

Changelog:
Removed whitespace changes.
Removed 100 placeholder in score.
Changed tests to account for new main dashboard.
Change structure of row as blocks don't propagate in django.
Post review changes.
Removed whitespace changes.

Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~I4fea4dd55e025d1a5f72264d12a61b91189a3af4, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3557

SIO-2306 Added details button

[UI] Submission table: clicking the time of the submission to see details/report is not intuitive.
Screenshots can be found here https://imgur.com/a/Q6k0fLG.

Changelog:
Removed whitespace changes.
Removed 100 placeholder in score.
Changed tests to account for new main dashboard.
Change structure of row as blocks don't propagate in django.
Post review changes.
Removed whitespace changes.

Change-Id: I4fea4dd55e025d1a5f72264d12a61b91189a3af4




[SIO-2305] Result of the export submission action is a html page Created: 2019-12-16  Updated: 2020-12-2  Resolved: 2020-12-2

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
You have to manually change the extension to tgz.

 Comments   
Comment by Wojciech Dubiel [ 2019-12-16 ]
To be precise, the result's mimetype is wrong. The content is a tar.gz, but the mimetype says it's HTML
Comment by Stanisław Strzelecki [ 2020-03-14 ]
Is this still an issue? And if so, how can I get the error?
By using export submissions from contest administration tab, I get a .tgz file, which seems fine
Comment by Bartosz Kostka [ 2020-03-14 ]
I believe it depends on browser and system. I've just checked and for me, it's still downloading as an HTML file.
Comment by Gerrit Gerrit [ 2020-11-18 ]
Change oioioi~master~Ibb23f8d4ce5601c8e66fcaf926e917330cd30654, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3549

(SIO-2305) Change 'Content-Type' header of a tgz response

Change-Id: Ibb23f8d4ce5601c8e66fcaf926e917330cd30654




[SIO-2304] UnicodeEncodeError in problemset search autocompletion Created: 2019-12-11  Updated: 2020-05-28  Resolved: 2020-02-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Bug Priority: Minor
Reporter: Sentry Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Franciszek Hnatów

 Description   
To reproduce:

Open this link: https://szkopul.edu.pl/get_search_hints/public/?q=kr
Switch to Polish language.

https://sentry.io/organizations/the-sio2-project/issues/1105451667/?referrer=jira_plugin

{code}
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 28: ordinal not in range(128)
(3 additional frame(s) were not displayed)
...
  File "oioioi/base/utils/__init__.py", line 549, in inner
    data = view(*args, **kwargs)
  File "oioioi/problems/views.py", line 787, in get_search_hints_view
    + get_origininfovalue_hints(query)
  File "oioioi/problems/views.py", line 722, in get_origintag_hints
    res += get_origintag_category_hints(res[0]['value'])
  File "oioioi/problems/views.py", line 673, in get_origintag_category_hints
    } for category in origintag.info_categories.all()

UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 28: ordinal not in range(128)
{code}

 Comments   
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~Ic1748a8b6de9264e92870c0ec2c8ff1ae9275761, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3381

(SIO-2304) UnicodeEncodeError in problemset search autocompletion

Change-Id: Ic1748a8b6de9264e92870c0ec2c8ff1ae9275761
Comment by Gerrit Gerrit [ 2020-05-28 ]
Change oioioi~master~I8bd43dd1e43c5e62f0fc1399239b26165d4c179f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3493

(SIO-2304) UnicodeEncodeError fixed once again

Change 3381 containing this fix was accidentally reverted by change 3361.

Now the fix has been restored.

Change-Id: I8bd43dd1e43c5e62f0fc1399239b26165d4c179f
Comment by Gerrit Gerrit [ 2020-05-28 ]
Change oioioi~master~I8bd43dd1e43c5e62f0fc1399239b26165d4c179f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3493

(SIO-2304) UnicodeEncodeError fixed once again

Change 3381 containing this fix was accidentally reverted by change 3361.

Now the fix has been restored.

Change-Id: I8bd43dd1e43c5e62f0fc1399239b26165d4c179f




[SIO-2303] New django-formtools is incompatible with Django 1.10 Created: 2019-12-10  Updated: 2020-03-3  Resolved: 2019-12-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Michalina Sidor Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1


 Description   
as reported here: https://github.com/sio2project/oioioi/issues/41

investigation shows django-formtools is a dependency of django-two-factor-auth and it is not pinned in django-two-factor-auth

might be a good idea to pin it in our setup.py with a # comment to remove it

 Comments   
Comment by Gerrit Gerrit [ 2019-12-10 ]
Change oioioi~master~Iabc6383a1903416d81f60960b24a5b797cb65c45, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3368

(SIO-2303) New django-formtools is incompatible with Django 1.10

Change-Id: Iabc6383a1903416d81f60960b24a5b797cb65c45
Also: Github issue #41
Also: https://hudson.sio2project.mimuw.edu.pl/job/oioioi-nightly-unittests/1852/console
Comment by Gerrit Gerrit [ 2019-12-10 ]
Change oioioi~master~Iabc6383a1903416d81f60960b24a5b797cb65c45, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3368

(SIO-2303) New django-formtools is incompatible with Django 1.10

Change-Id: Iabc6383a1903416d81f60960b24a5b797cb65c45
Also: Github issue #41
Also: https://hudson.sio2project.mimuw.edu.pl/job/oioioi-nightly-unittests/1852/console
Comment by Gerrit Gerrit [ 2019-12-10 ]
Change oioioi~master~Iabc6383a1903416d81f60960b24a5b797cb65c45, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3368

(SIO-2303) New django-formtools is incompatible with Django 1.10

Also: Github issue #41
Also: https://hudson.sio2project.mimuw.edu.pl/job/oioioi-nightly-unittests/1852/console

Change-Id: Iabc6383a1903416d81f60960b24a5b797cb65c45




[SIO-2302] Generate user out for users Created: 2019-12-5  Updated: 2019-12-5

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2019/20 Sprint 1
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Jakub Radoszewski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
The "generate user out" option is very useful when handling appeals. It will be even more useful if it is available for contestants (when the results are published), so that they can check the output that was generated at our servers.

A limit (configurable or not) can be put on how many "generate user out" calls can there be per contestant and task. It is not totally compulsory (because the number of such calls does not exceed the number of submissions x tests), but still it could prevent abuse of this function.




[SIO-2301] Cannot view submited code in a user contest Created: 2019-12-4  Updated: 2020-03-3  Resolved: 2020-01-29

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2019/20 Sprint 1
Fix Version/s: TAG 2019/20 Sprint 1

Type: Bug Priority: Minor
Reporter: Cezary Chodun Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: Linux 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


 Description   
When submitting a program to a user contest and then showing it's code an error is thrown.

 Comments   
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~Ic8adff3d936dca66bd300f128cb2c45e317b7a5a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3365

SIO-2301 Cannot view submited code in a user contest

Change-Id: Ic8adff3d936dca66bd300f128cb2c45e317b7a5a




[SIO-2300] AttributeError in test run submissions Created: 2019-12-3  Updated: 2019-12-3

Status: New
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, OIOIOI
Affects Version/s: TAG 2019/20 Sprint 1
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Cezary Chodun Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment: Linux 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Web browser: FireFox, Chrome

Attachments: Text File runserver_output.txt     PNG File screen.png     Text File supervisor_output.txt    

 Description   
Cannot check a test run submission details due to an "AttributeError".

Steps to reproduce:
- submit test run(as admin)
- go to My submissions
- click the submission date(to show details of the submission)
- Error: "AttributeError"

Other details:
* Manual installation(https://github.com/sio2project/oioioi/blob/master/INSTALL.rst)
* Supervisor is running and is reporting a few errors(see supervisor output)
* I haven't tested this issue as a user

 Comments   
Comment by Szymon Acedański [ 2019-12-3 ]
Adding here what I remember from when we debugged it for a moment:

sbm_testrun.input_file is an object which comes from filetracker (of type _FileLikeFromResponse).
is_zipfile requires seek, which is not provided (and looks like it should not be relied upon).
Probably it's better to just check the extension (sbm_testrun.input_file is an instance of Django FieldFile, therefore it has name and hopefully it has the original extension).




[SIO-2299] Test run notification says "Your score is None" Created: 2019-11-27  Updated: 2020-03-3  Resolved: 2020-03-3

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Wiktor Czyż

 Comments   
Comment by Gerrit Gerrit [ 2020-01-20 ]
Change oioioi~master~I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3392

SIO-2299 Test run notification says "Your score is None"

If test run is successful, then the score is 100, else 0.
I've also changed field __test__ in TestTestRunsLimit
to true, because it was previously set to false due to
inheritance from TestRunTestCase.

Change-Id: I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971
Comment by Gerrit Gerrit [ 2020-01-20 ]
Change oioioi~master~I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3392

SIO-2299 Test run notification says "Your score is None"

If testrun is successful, then the score is set to 100, else 0.
I've also changed field __test__ in TestTestRunsLimit
to true, because it was previously set to false due to
inheritance from TestRunTestCase.

Change-Id: I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3392

SIO-2299 Test run notification says "Your score is None"

If testrun is successful, then the score is set to 100, else 0.
I've also changed field __test__ in TestTestRunsLimit
to true, because it was previously set to false due to
inheritance from TestRunTestCase.

Change-Id: I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3392

SIO-2299 Test run notification says "Your score is None"

If testrun is successful, then the score is set to 100, else 0.
I've also changed field __test__ in TestTestRunsLimit
to true, because it was previously set to false due to
inheritance from TestRunTestCase.

Change-Id: I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3392

SIO-2299 Test run notification says "Your score is None"

If testrun is successful, then the score is set to 100, else 0.
I've also changed field __test__ in TestTestRunsLimit
to true, because it was previously set to false due to
inheritance from TestRunTestCase.

Change-Id: I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971
Comment by Gerrit Gerrit [ 2020-01-27 ]
Change oioioi~master~I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3392

SIO-2299 Test run notification says "Your score is None"

If testrun is successful, then the score is set to 100, else 0.
I've also changed field __test__ in TestTestRunsLimit
to true, because it was previously set to false due to
inheritance from TestRunTestCase.

Change-Id: I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971
Comment by Gerrit Gerrit [ 2020-01-27 ]
Change oioioi~master~I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3392

SIO-2299 Test run notification says "Your score is None"

If testrun is successful, then the score is set to 100, else 0.
I've also changed field __test__ in TestTestRunsLimit
to true, because it was previously set to false due to
inheritance from TestRunTestCase.

Change-Id: I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971
Comment by Gerrit Gerrit [ 2020-01-27 ]
Change oioioi~master~I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3392

SIO-2299 Test run notification says "Your score is None"

If testrun is successful, then the score is set to 100, else 0.
I've also changed field __test__ in TestTestRunsLimit
to true, because it was previously set to false due to
inheritance from TestRunTestCase.

Change-Id: I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3392

SIO-2299 Test run notification says "Your score is None"

If testrun is successful, then the score is set to 100, else 0.
I've also changed field __test__ in TestTestRunsLimit
to true, because it was previously set to false due to
inheritance from TestRunTestCase.

Change-Id: I9f5e85a8ce048e4b6b2a8d9791c489bbc7076971




[SIO-2298] Diffing quiz submittions throws an exception Created: 2019-11-20  Updated: 2020-03-3  Resolved: 2020-02-4

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2295 Multiple minor bugs in quizzes (meta-... Resolved
TAG Developer: Stanisław Strzelecki

 Description   
When entering a quiz submittion, there is an option to diff it with previous solutions. However using this options throws an exception.

 Comments   
Comment by Gerrit Gerrit [ 2020-01-27 ]
Change oioioi~master~Ibcf55d1f42616586bc1f2704d591f8f45aee7563, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3400

SIO-2298 Diffing quiz submittions throws an exception

Removed diff submissions button for quiz problems.
Added regression test.

Change-Id: Ibcf55d1f42616586bc1f2704d591f8f45aee7563
Comment by Gerrit Gerrit [ 2020-01-27 ]
Change oioioi~master~Ibcf55d1f42616586bc1f2704d591f8f45aee7563, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3400

SIO-2298 Diffing quiz submittions throws an exception

Removed diff submissions button for quiz problems.
Added regression test.

Change-Id: Ibcf55d1f42616586bc1f2704d591f8f45aee7563
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~Ibcf55d1f42616586bc1f2704d591f8f45aee7563, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3400

SIO-2298 Diffing quiz submittions throws an exception

Removed diff submissions button for quiz problems.
Changed controller, so render_submission_footer
is in programmingProblemController, so a different function
can be implemented in QuizProblemController.
Moved this function from ProgrammingContestController (since there may be quizzes in
programmingContest).
Added regression test.

Change-Id: Ibcf55d1f42616586bc1f2704d591f8f45aee7563
Comment by Gerrit Gerrit [ 2020-01-29 ]
Change oioioi~master~Ibcf55d1f42616586bc1f2704d591f8f45aee7563, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3400

SIO-2298 Diffing quiz submittions throws an exception

Removed diff submissions button for quiz problems.
Changed controller, so render_submission_footer
is in programmingProblemController, so a different function
can be implemented in QuizProblemController.
Moved this function from ProgrammingContestController (since there may be quizzes in
programmingContest).
Added regression test.

Change-Id: Ibcf55d1f42616586bc1f2704d591f8f45aee7563
Comment by Gerrit Gerrit [ 2020-01-29 ]
Change oioioi~master~Ibcf55d1f42616586bc1f2704d591f8f45aee7563, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3400

SIO-2298 Diffing quiz submittions throws an exception

Removed diff submissions button for quiz problems.
Changed controller, so render_submission_footer
is in programmingProblemController, so a different function
can be implemented in QuizProblemController.
Moved this function from ProgrammingContestController (since there may be quizzes in
programmingContest).
Added regression test.

Change-Id: Ibcf55d1f42616586bc1f2704d591f8f45aee7563
Comment by Gerrit Gerrit [ 2020-01-29 ]
Change oioioi~master~Ibcf55d1f42616586bc1f2704d591f8f45aee7563, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3400

SIO-2298 Diffing quiz submittions throws an exception

Removed diff submissions button for quiz problems.
Changed controller, so render_submission_footer
is in programmingProblemController, so a different function
can be implemented in QuizProblemController.
Moved this function from ProgrammingContestController (since there may be quizzes in
programmingContest).
Added regression test.

Change-Id: Ibcf55d1f42616586bc1f2704d591f8f45aee7563
Comment by Gerrit Gerrit [ 2020-02-1 ]
Change oioioi~master~Ibcf55d1f42616586bc1f2704d591f8f45aee7563, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3400

SIO-2298 Diffing quiz submittions throws an exception

Removed diff submissions button for quiz problems.
Changed controller, so render_submission_footer
is in programmingProblemController, so a different function
can be implemented in QuizProblemController.
Moved this function from ProgrammingContestController (since there may be quizzes in
programmingContest).
Added regression test.

Change-Id: Ibcf55d1f42616586bc1f2704d591f8f45aee7563
Comment by Gerrit Gerrit [ 2020-02-1 ]
Change oioioi~master~Ibcf55d1f42616586bc1f2704d591f8f45aee7563, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3400

SIO-2298 Diffing quiz submittions throws an exception

Removed diff submissions button for quiz problems.
Changed controller, so render_submission_footer
is in programmingProblemController, so a different function
can be implemented in QuizProblemController.
Moved this function from ProgrammingContestController (since there may be quizzes in
programmingContest).
Added regression test.

Change-Id: Ibcf55d1f42616586bc1f2704d591f8f45aee7563
Comment by Gerrit Gerrit [ 2020-02-3 ]
Change oioioi~master~I996a427bde7c4e55bcddc2a739db0aa029d267d2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3404

SIO-2298 Diffing quiz submittions throws an exception

Fixed normal users getting errors on submissions without contest.
Added hidding hidden submissions from nonadmin users.

Change-Id: I996a427bde7c4e55bcddc2a739db0aa029d267d2




[SIO-2297] When adding new question to a quiz, rejudging old submissions breaks them Created: 2019-11-20  Updated: 2020-12-15  Resolved: 2020-12-15

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2295 Multiple minor bugs in quizzes (meta-... Resolved

 Description   
When a new question is added to a quiz, and then rejudging old submittions to the same quiz, a crash will occur and these submissions will corrupt (making them impossible to view without a crash).
Probably the same will happen, if we remove or significantly change a question (though I didn't test that)

 Comments   
Comment by Gerrit Gerrit [ 2020-12-14 ]
Change oioioi~master~I981005ca9601833e24490ea88190feaa92e8a44b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3568

SIO-2297 When adding new question to a quiz, rejudging old submissions breaks them

I modified method responsible for scoring quiz, as well as method for scoring
question so that it is checked if any answer was submitted for a particular question.
If there is no submitted answer, then such question is ignored and not counted to
the overall quiz score.
I added two test cases for rejudging quiz after adding new questions.

Change-Id: I981005ca9601833e24490ea88190feaa92e8a44b
Comment by Gerrit Gerrit [ 2020-12-14 ]
Change oioioi~master~I46e1b0df201654ea9ea5197ea5d519bed34b32b1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3566

SIO-2297 When adding new question to a quiz, rejudging old submissions breaks them

I modified method responsible for scoring quiz, as well as method for scoring
question so that it is checked if any answer was submitted for a particular question.
If there is no submitted answer, then such question is ignored and not counted to
the overall quiz score.
I added two test cases for rejudging quiz after adding new questions.

Change-Id: I46e1b0df201654ea9ea5197ea5d519bed34b32b1
Comment by Gerrit Gerrit [ 2020-12-14 ]
Change oioioi~master~I2aaab25adb2182b98ce1333b2a0d86d9b84aa987, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3569

SIO-2297 When adding new question to a quiz, rejudging old submissions breaks them

I modified method responsible for scoring quiz, as well as method for scoring
question so that it is checked if any answer was submitted for a particular question.
If there is no submitted answer, then such question is ignored and not counted to
the overall quiz score.
I added two test cases for rejudging quiz after adding new questions.

Change-Id: I2aaab25adb2182b98ce1333b2a0d86d9b84aa987
Comment by Gerrit Gerrit [ 2020-12-14 ]
Change oioioi~master~Idc4c0452b6bce4494b050dcdb22fa37a261d7820, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3570

SIO-2297 Fixed bug with rejudging old submissions after adding new questions to a quiz

I modified method responsible for scoring quiz, as well as method for scoring
question so that it is checked if any answer was submitted for a particular question.
If there is no submitted answer, then such question is ignored and not counted to
the overall quiz score.
I added two test cases for rejudging quiz after adding new questions to it.

Change-Id: Idc4c0452b6bce4494b050dcdb22fa37a261d7820
Comment by Gerrit Gerrit [ 2020-12-14 ]
Change oioioi~master~Idc4c0452b6bce4494b050dcdb22fa37a261d7820, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3570

SIO-2297 Fixed bug with rejudging old submissions after adding new questions to a quiz

I modified method responsible for scoring quiz, as well as method for scoring
question so that it is checked if any answer was submitted for a particular question.
If there is no submitted answer, then such question is ignored and not counted to
the overall quiz score.
I added two test cases for rejudging quiz after adding new questions to it.

Change-Id: Idc4c0452b6bce4494b050dcdb22fa37a261d7820
Comment by Szymon Czyżmański [ 2020-12-15 ]
Fixed and merged to master




[SIO-2296] System error in quiz not working Created: 2019-11-20  Updated: 2020-03-3  Resolved: 2020-01-28

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2295 Multiple minor bugs in quizzes (meta-... Resolved
TAG Developer: Michał Niedziółka

 Description   
When system error occurs in quiz judging, a crash occurs when trying to open the broken submission.
Instead, a graceful blue "System error" status should appear, with traceback (as it happens, when normal submittion to a problem gets a system error).

Ways to reproduce:
1) break handlers.py for quizes. For example, in function "_match_text_input" delete in if "question", so that unexisting object "quiz" is used. ("if quiz.controller.is_case_ignored():").
After saving the file and relaunching sioworkers, submit a quiz solution and try to view submission.
2) submit a solution to quiz. Then, add a new question to the quiz. Then, rejudge the solution. An error will appear, when trying to view it

 Comments   
Comment by Gerrit Gerrit [ 2020-01-23 ]
Change oioioi~master~I1cddcc51299b41b9fef0594cf482200792032980, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3397

SIO-2296 fix SE and traceback in quizzes

Add transaction.atomic to score_quiz
Add catch an exception in reports.

Change-Id: I1cddcc51299b41b9fef0594cf482200792032980




[SIO-2295] Multiple minor bugs in quizzes (meta-ticket) Created: 2019-11-20  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: easy, tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
is related to SIO-2297 When adding new question to a quiz, r... Resolved
is related to SIO-2388 [UI] Misaligned quiz questions Resolved
is related to SIO-2296 System error in quiz not working Closed
is related to SIO-2298 Diffing quiz submittions throws an ex... Closed
is related to SIO-2292 Problem actions in admin's problems t... Resolved

 Description   
A ticket to track bugs in quizes




[SIO-2294] Reupload package has three possibilities of package selection, while only one is allowed Created: 2019-11-13  Updated: 2020-03-31  Resolved: 2020-03-31

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Improvement Priority: Trivial
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open

 Description   
When reuploading package, the same UI shows, as when creating a new problem. The UI allows to select an existing problem from problemset, or to create a quiz. When reuploading, both these options are disallowed. Therefor, the tabs should be hidden, showing only one possible option

 Comments   
Comment by Gerrit Gerrit [ 2020-03-27 ]
Change oioioi~master~I7cf460a48d89688ae7a9307daa375986ab48f787, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3428

SIO-2294 Reupload package has three possibilities of package selection, while only one is allowed

Change-Id: I7cf460a48d89688ae7a9307daa375986ab48f787
Comment by Gerrit Gerrit [ 2020-03-28 ]
Change oioioi~master~I7cf460a48d89688ae7a9307daa375986ab48f787, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3428

SIO-2294 Reupload package has three possibilities of package selection, while only one is allowed

Change-Id: I7cf460a48d89688ae7a9307daa375986ab48f787
Comment by Gerrit Gerrit [ 2020-03-28 ]
Change oioioi~master~I7cf460a48d89688ae7a9307daa375986ab48f787, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3428

SIO-2294 Reupload package has three possibilities of package selection, while only one is allowed

Change-Id: I7cf460a48d89688ae7a9307daa375986ab48f787
Comment by Gerrit Gerrit [ 2020-03-30 ]
Change oioioi~master~I7cf460a48d89688ae7a9307daa375986ab48f787, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3428

SIO-2294 Reupload package has three possibilities of package selection, while only one is allowed

Change-Id: I7cf460a48d89688ae7a9307daa375986ab48f787
Comment by Gerrit Gerrit [ 2020-03-30 ]
Change oioioi~master~I7cf460a48d89688ae7a9307daa375986ab48f787, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3428

SIO-2294 Reupload package has three possibilities of package selection, while only one is allowed

Change-Id: I7cf460a48d89688ae7a9307daa375986ab48f787
Comment by Gerrit Gerrit [ 2020-03-30 ]
Change oioioi~master~I7cf460a48d89688ae7a9307daa375986ab48f787, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3428

SIO-2294 Reupload package has three possibilities of package selection, while only one is allowed

Change-Id: I7cf460a48d89688ae7a9307daa375986ab48f787




[SIO-2293] Quiz problem site has unused tabs Created: 2019-11-13  Updated: 2020-03-3  Resolved: 2020-03-3

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Improvement Priority: Trivial
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Wiktor Czyż

 Description   
When entering quiz's problem site, there are four tabs, but two of them (files and problem statement) are empty, displaying info that nothing's there. They should be removed

 Comments   
Comment by Gerrit Gerrit [ 2020-01-17 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-17 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-17 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-17 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-18 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-26 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~Icfb5d5072a9ac098aa594111cb8e3371c7587686, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/3388

SIO-2293 Quiz problem site has unused tabs

Removed unused tabs 'statement' and 'files'
in quiz problem site. Created function that checks
if opened problem is a quiz. It's passed as a
condition argument to filter displayed tabs.
Also cleaned unnecessary else in problem-site template.

Change-Id: Icfb5d5072a9ac098aa594111cb8e3371c7587686




[SIO-2292] Problem actions in admin's problems tab has actions unrelated to quizes Created: 2019-11-13  Updated: 2020-12-2  Resolved: 2020-12-2

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Improvement Priority: Minor
Reporter: Stanisław Strzelecki Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2295 Multiple minor bugs in quizzes (meta-... Resolved

 Description   
In admin view, in the problems tab, each problem has some actions.
If a problem is a quiz, it has almost the same set of actions, though half of them is not working.
The actions that should be removed (as they simply do not work) are:
- Model solutions
- Reset tests limits
- Reupload package (does not show always, but can be seen eg. a moment after creation)

Also preferably "Edit problem" should be changed to "Edit quiz", to not misslead the admins about the actions made by that button

 Comments   
Comment by Gerrit Gerrit [ 2020-12-1 ]
Change oioioi~master~I569601e0d9130bb86beb562dde80554d152416ae, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3555

SIO-2292 Problem actions in admin's problems tab has actions unrelated to quizzes.

Change-Id: I569601e0d9130bb86beb562dde80554d152416ae
Comment by Gerrit Gerrit [ 2020-12-2 ]
Change oioioi~master~I569601e0d9130bb86beb562dde80554d152416ae, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3555

SIO-2292 Don't show irrelevant admin actions on quiz problems

Change-Id: I569601e0d9130bb86beb562dde80554d152416ae




[SIO-2291] Misc. UX improvements (meta-ticket) Created: 2019-11-13  Updated: 2020-05-18

Status: Open
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Szymon Acedański Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag1

Issue Links:
Relates
is related to SIO-2326 On szkopul main page, hidden submissi... Resolved
is related to SIO-2353 Some links in teacher problems view a... Resolved
is related to SIO-2295 Multiple minor bugs in quizzes (meta-... Resolved
is related to SIO-2305 Result of the export submission actio... Resolved
is related to SIO-2317 Fix urls in problemset with custom GE... Resolved
is related to SIO-2360 Question kind tags are not translated Resolved
is related to SIO-2310 Forum posts: "Last edit: [nothing is ... Closed
is related to SIO-2299 Test run notification says "Your scor... Closed
is related to SIO-2330 Teachers cannot delete their problems New
is related to SIO-2306 [UI] Submission table: clicking the t... Resolved
is related to SIO-2308 [UI] For questions show rounds relate... Resolved
is related to SIO-2315 In statistics module, in submissions ... Resolved
is related to SIO-2316 In new problemset, sort tasks inside ... Resolved
is related to SIO-2307 [UI] Show limits in the test run view Closed
is related to SIO-2323 Announcement editing and deletion for... Resolved
is related to SIO-2331 Improve all submissions view Resolved
is related to SIO-2332 Move Test run and Score reveal config... Resolved
is related to SIO-2334 [UI] Change labels in contest adminis... Resolved
is related to SIO-2337 [UI] "Add to contest" button is unnat... Resolved
is related to SIO-2339 [UI] "Add problem" in problemset look... Resolved
is related to SIO-2340 [UI] Question list and links on the q... Resolved
is related to SIO-2341 Login form in upper right corner migh... Resolved
is related to SIO-2359 Clicking the problem name in Submissi... Resolved
is related to SIO-2294 Reupload package has three possibilit... Resolved
is related to SIO-2335 Questions and News form filters look bad Resolved
is related to SIO-2049 Differentiate colours between "OK" an... Closed
is related to SIO-2333 Settings in problem settings should b... Closed
is related to SIO-2355 Settings in contest settings should b... Closed
is related to SIO-2293 Quiz problem site has unused tabs Closed




[SIO-2290] Set a default file for the 'test run' module Created: 2019-11-13  Updated: 2019-11-13

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2019/20 Sprint 1
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Cezary Chodun Assignee: Cezary Chodun
Resolution: Unresolved Votes: 0
Labels: None


 Description   
In contests like Polish Olimpiad in Informatics, there is a module for test submission of a problem('test run').
In that module a user is supposed to provide source code of a program and a file with test data. By default no file is selected so to test his/her program the user has to create a file on their local machine and copy to it a default test data from the task description.

Modify the module so that when no file with test data is selected the program will be run on the first initial* test. It shouldn't check the output of the program but rather display it normally as if the initial test was supplied from the user's computer.

* More formally ABC0.in, or ABC0a.in(if multiple initial tests are present). Where 'ABC' is the task's ID.




[SIO-2289] Add easily accessible problem score information in Task Archive Created: 2019-11-13  Updated: 2020-05-26  Resolved: 2020-05-26

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2019/20 Sprint 1
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Przemysław Podleśny Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1


 Description   
The old Problemset displayed current scores for all the problems that the browsing user had attempted to solve, in the problem selection view.

This feature is missing in the current Task Archive, which is inconvenient for users wishing both to recognise the problems they've already solved or attempted solving, and the problems they haven't seen before.

 Comments   
Comment by Gerrit Gerrit [ 2019-11-23 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
The entire functionality is virtually the same as in the old problemset.

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2019-12-10 ]
Change oioioi~master~Iac9942f8246dd6a9584466bafb56687154496c6d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3370

(SIO-2289) Added last submission info in Task Archive

Change-Id: Iac9942f8246dd6a9584466bafb56687154496c6d
Comment by Gerrit Gerrit [ 2019-12-10 ]
Change oioioi~master~Iac9942f8246dd6a9584466bafb56687154496c6d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3370

(SIO-2289) Added last submission info in Task Archive

Change-Id: Iac9942f8246dd6a9584466bafb56687154496c6d
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
The entire functionality is virtually the same as in the old problemset.

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~Iac9942f8246dd6a9584466bafb56687154496c6d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3370

(SIO-2289) Added last submission info in Task Archive

Change-Id: Iac9942f8246dd6a9584466bafb56687154496c6d
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
The entire functionality is virtually the same as in the old problemset.

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~Iac9942f8246dd6a9584466bafb56687154496c6d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3370

(SIO-2289) Added last submission info in Task Archive

Change-Id: Iac9942f8246dd6a9584466bafb56687154496c6d
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
The entire functionality is virtually the same as in the old problemset.

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
The entire functionality is virtually the same as in the old problemset.

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2019-12-15 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
This functionality is virtually the same as in the old problemset, except now
the scores are highlighted with color.

Additionally, a user will see the proportion of their total score to the round's
maximum possible score for every round they have sent at least one submission for
(the submission needs to be successful, though the result doesn't have to be positive;
submissions that won't compile are not considered).

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
This functionality is virtually the same as in the old problemset, except now
the scores are highlighted with color.

Additionally, a user will see the proportion of their completion status
(as a percentage) for every round they have sent at least one submission for.
(The submission needs to be successful, though the result doesn't have
to be positive; submissions that won't compile are not considered).

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
This functionality is virtually the same as in the old problemset, except now
the scores are highlighted with color.

Additionally, a user will see the proportion of their completion status
(as a percentage) for every round they have sent at least one submission for.
(The submission needs to be successful, though the result doesn't have
to be positive; submissions that won't compile are not considered).

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2020-01-10 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
This functionality is virtually the same as in the old problemset, except now
the scores are highlighted with color.

Additionally, a user will see the proportion of their completion status
(as a percentage) for every contest they have sent at least one submission for.
(The submission needs to be successful, though the result doesn't have
to be positive; submissions that won't compile are not considered).

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2020-01-10 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
This functionality is virtually the same as in the old problemset, except now
the scores are highlighted with color.

Additionally, a user will see the proportion of their completion status
(as a percentage) for every contest they have sent at least one submission for.
(The submission needs to be successful, though the result doesn't have
to be positive; submissions that won't compile are not considered).

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2020-01-10 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
This functionality is virtually the same as in the old problemset, except now
the scores are highlighted with color.

Additionally, a user will see the proportion of their completion status
(as a percentage) for every contest they have sent at least one submission for.
(The submission needs to be successful, though the result doesn't have
to be positive; submissions that won't compile are not considered).

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2020-01-10 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
This functionality is virtually the same as in the old problemset, except now
the scores are highlighted with color.

Additionally, a user will see the proportion of their completion status
(as a percentage) for every contest they have sent at least one submission for.
(The submission needs to be successful, though the result doesn't have
to be positive; submissions that won't compile are not considered).

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2020-01-10 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
This functionality is virtually the same as in the old problemset, except now
the scores are highlighted with color.

Additionally, a user will see the proportion of their completion status
(as a percentage) for every contest they have sent at least one submission for.
(The submission needs to be successful, though the result doesn't have
to be positive; submissions that won't compile are not considered).

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Gerrit Gerrit [ 2020-01-17 ]
Change oioioi~master~Iad59b5dd172ce149271d412a66926b589c75d03b, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3361

(SIO-2289) Added last submission info in Task Archive

If a user is logged in, for each problem they have attempted solving they will
see the score of their latest submission. The score is clickable and leads
to the last submission's page with full summary.
This functionality is virtually the same as in the old problemset, except now
the scores are highlighted with color.

Additionally, a user will see the proportion of their completion status
(as a percentage) for every contest they have sent at least one submission for.
(The submission needs to be successful, though the result doesn't have
to be positive; submissions that won't compile are not considered).

Change-Id: Iad59b5dd172ce149271d412a66926b589c75d03b
Comment by Bartosz Kostka [ 2020-02-14 ]
This change probably broke Task archive for some users, please compare with SIO-2329.




[SIO-2287] Allow teachers to select compilers Created: 2019-11-13  Updated: 2020-03-3  Resolved: 2020-01-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Sprint 1

Type: Improvement Priority: Minor
Reporter: Artur Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Artur Pragacz

 Description   
Only admins can override compilers now.

 Comments   
Comment by Gerrit Gerrit [ 2019-12-9 ]
Change oioioi~master~I6deb1db4159aec06db4990e9ff0d1ef01c477f84, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3367

SIO-2287 Allow contest_admins to override compilers

Prior to the change only superusers could override compilers.

Change-Id: I6deb1db4159aec06db4990e9ff0d1ef01c477f84
Comment by Gerrit Gerrit [ 2020-01-13 ]
Change oioioi~master~I6deb1db4159aec06db4990e9ff0d1ef01c477f84, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3367

SIO-2287 Allow contest_admins to override compilers

Prior to the change only superusers could override compilers.

Change-Id: I6deb1db4159aec06db4990e9ff0d1ef01c477f84




[SIO-2286] Quiz settings have few unnessesary, but complicated options Created: 2019-11-13  Updated: 2020-03-3  Due: 2019-12-11  Resolved: 2019-12-18

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Sprint 1

Type: Improvement Priority: Major
Reporter: Stanisław Strzelecki Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Stanisław Strzelecki

 Description   
Quiz setting have some settings difficult to understand for casual users.
These setting should be removed from teachers view, as they may not understand what they are about, and left for admins, but with defaults set to the reasonable ones.

 Comments   
Comment by Stanisław Strzelecki [ 2019-11-13 ]
On the other side in the settings, picking the round might be added
Comment by Gerrit Gerrit [ 2019-11-20 ]
Change oioioi~master~I68abd5f1c336e8d2bb59a0992756b92c64ff3a34, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3359

SIO-2286 Quiz settings have few unnessesary, but complicated options

Removed 'trim-whitespaces' variable from quiz model.
Fixed all the places where it was used, hard setting variables to True.

Changed default of 'ignore_case' to True in admin model,
cause it's an option that should default to True.

Change-Id: I68abd5f1c336e8d2bb59a0992756b92c64ff3a34
Comment by Gerrit Gerrit [ 2019-11-20 ]
Change oioioi~master~I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3360

SIO-2286 Quiz settings have few unnessesary, but complicated options

Removed 'ignore_case' field in question model.
Made case insensitivity always set to True.
On the other hand, added it to contest controller,
so it can be overwritten for certain contests.

Also swapped points field with "is multiple choice" checkbox,
so that both checkboxes are next to each other,
and both of them are below point field.
It looks more estetic to me after made changes.

Change-Id: I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3360

SIO-2286 Quiz settings have few unnessesary, but complicated options

Removed 'ignore_case' field in question model.
Made case insensitivity always set to True.
On the other hand, added it to contest controller,
so it can be overwritten for certain contests.

Also swapped points field with "is multiple choice" checkbox,
so that both checkboxes are next to each other,
and both of them are below point field.
It looks more estetic to me after made changes.

Change-Id: I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3360

SIO-2286 Quiz settings have few unnessesary, but complicated options

Removed 'ignore_case' field in question model.
Made case insensitivity always set to True.
On the other hand, added it to contest controller,
so it can be overwritten for certain contests.

Also swapped points field with "is multiple choice" checkbox,
so that both checkboxes are next to each other,
and both of them are below point field.
It looks more estetic to me after made changes.

Change-Id: I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3360

SIO-2286 Quiz settings have few unnessesary, but complicated options

Removed 'ignore_case' field in question model.
Made case insensitivity always set to True.
On the other hand, added it to contest controller,
so it can be overwritten for certain contests.

Also swapped points field with "is multiple choice" checkbox,
so that both checkboxes are next to each other,
and both of them are below point field.
It looks more estetic to me after made changes.

Change-Id: I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3360

SIO-2286 Quiz settings have few unnessesary, but complicated options

Removed 'ignore_case' field in question model.
Made case insensitivity always set to True.
On the other hand, added it to contest controller,
so it can be overwritten for certain contests.

Also swapped points field with "is multiple choice" checkbox,
so that both checkboxes are next to each other,
and both of them are below point field.
It looks more estetic to me after made changes.

Change-Id: I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3360

SIO-2286 Quiz settings have few unnessesary, but complicated options

Removed 'ignore_case' field in question model.
Made case insensitivity always set to True.
On the other hand, added it to contest controller,
so it can be overwritten for certain contests.

Also swapped points field with "is multiple choice" checkbox,
so that both checkboxes are next to each other,
and both of them are below point field.
It looks more estetic to me after made changes.

Change-Id: I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3360

SIO-2286 Quiz settings have few unnessesary, but complicated options

Removed 'ignore_case' field in question model.
Made case insensitivity always set to True.
On the other hand, added it to contest controller,
so it can be overwritten for certain contests.

Also swapped points field with "is multiple choice" checkbox,
so that both checkboxes are next to each other,
and both of them are below point field.
It looks more estetic to me after made changes.

Change-Id: I47d0f1f1e663cb66efbd46e52ddf0a5ef4f56c5f




[SIO-2288] Setting for the teacher to disable ranking in the contest Created: 2019-11-13  Updated: 2020-03-3  Resolved: 2020-03-3

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Sprint 1

Type: Improvement Priority: Major
Reporter: Wiktor Czyż Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1


 Comments   
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~I2b75b1a4ff04ca9f156be29e4bba5962d658ae69, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3364

SIO-2288 Setting for the teacher to disable ranking in the contest

Change-Id: I2b75b1a4ff04ca9f156be29e4bba5962d658ae69
Comment by Gerrit Gerrit [ 2019-12-5 ]
Change oioioi~master~I2b75b1a4ff04ca9f156be29e4bba5962d658ae69, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3364

SIO-2288 Setting for the teacher to disable ranking in the contest

Change-Id: I2b75b1a4ff04ca9f156be29e4bba5962d658ae69
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~I2b75b1a4ff04ca9f156be29e4bba5962d658ae69, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3364

SIO-2288 Setting for the teacher to disable ranking in the contest

Change-Id: I2b75b1a4ff04ca9f156be29e4bba5962d658ae69
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~I2b75b1a4ff04ca9f156be29e4bba5962d658ae69, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3364

SIO-2288 Setting for the teacher to disable ranking in the contest

Added new configuration named RankingVisibilityConfig
in contest's settings panel. It allows the teacher
or administrator to hide ranking for regular users.
When the configuration is not present or it is set
to 'AUTO' it uses method default_can_see_ranking,
which can be overwritten in special contests.
Changes in migrations are required for previous
tests to pass, because I've added a new model.

Change-Id: I2b75b1a4ff04ca9f156be29e4bba5962d658ae69
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~I2b75b1a4ff04ca9f156be29e4bba5962d658ae69, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3364

SIO-2288 Setting for the teacher to disable ranking in the contest

Added new configuration named RankingVisibilityConfig
in contest's settings panel. It allows the teacher
or administrator to hide ranking for regular users.
When the configuration is not present or it is set
to 'AUTO' it uses method default_can_see_ranking,
which can be overwritten in special contests.
Changes in migrations are required for previous
tests to pass, because I've added a new model.

Change-Id: I2b75b1a4ff04ca9f156be29e4bba5962d658ae69
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~I2b75b1a4ff04ca9f156be29e4bba5962d658ae69, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3364

SIO-2288 Setting for the teacher to disable ranking in the contest

Added new configuration named RankingVisibilityConfig
in contest's settings panel. It allows the teacher
or administrator to hide ranking for regular users.
When the configuration is not present or it is set
to 'AUTO' it uses method default_can_see_ranking,
which can be overwritten in special contests.
Changes in migrations are required for previous
tests to pass, because I've added a new model.

Change-Id: I2b75b1a4ff04ca9f156be29e4bba5962d658ae69
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~I2b75b1a4ff04ca9f156be29e4bba5962d658ae69, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3364

SIO-2288 Setting for the teacher to disable ranking in the contest

Added new configuration named RankingVisibilityConfig
in contest's settings panel. It allows the teacher
or administrator to hide ranking for regular users.
When the configuration is not present or it is set
to 'AUTO' it uses method default_can_see_ranking,
which can be overwritten in special contests.
Changes in migrations are required for previous
tests to pass, because I've added a new model.

Change-Id: I2b75b1a4ff04ca9f156be29e4bba5962d658ae69
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~I2b75b1a4ff04ca9f156be29e4bba5962d658ae69, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3364

SIO-2288 Setting for the teacher to disable ranking in the contest

Added new configuration named RankingVisibilityConfig
in contest's settings panel. It allows the teacher
or administrator to hide ranking for regular users.
When the configuration is not present or it is set
to 'AUTO' it uses method default_can_see_ranking,
which can be overwritten in special contests.
Changes in migrations are required for previous
tests to pass, because I've added a new model.

Change-Id: I2b75b1a4ff04ca9f156be29e4bba5962d658ae69
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~I2b75b1a4ff04ca9f156be29e4bba5962d658ae69, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3364

SIO-2288 Setting for the teacher to disable ranking in the contest

Added new configuration named RankingVisibilityConfig
in contest's settings panel. It allows the teacher
or administrator to hide ranking for regular users.
When the configuration is not present or it is set
to 'AUTO' it uses method default_can_see_ranking,
which can be overwritten in special contests.
Changes in migrations are required for previous
tests to pass, because I've added a new model.

Change-Id: I2b75b1a4ff04ca9f156be29e4bba5962d658ae69




[SIO-2285] Show compiler versions in submit view Created: 2019-11-13  Updated: 2020-03-3  Resolved: 2020-01-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Sprint 1

Type: Improvement Priority: Minor
Reporter: Artur Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Artur Pragacz

 Description   
Right now only languages are shown

 Comments   
Comment by Gerrit Gerrit [ 2019-12-10 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change sioworkers~master~Ia20765528c4771a98cbb92429208e7974108156a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3372

(SIO-2285) Change default compiler names

Change-Id: Ia20765528c4771a98cbb92429208e7974108156a
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change sioworkers~master~Ia20765528c4771a98cbb92429208e7974108156a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3372

(SIO-2285) Change default compiler names

Change-Id: Ia20765528c4771a98cbb92429208e7974108156a
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change sioworkers~master~Ia20765528c4771a98cbb92429208e7974108156a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3372

(SIO-2285) Change default compiler names

Change-Id: Ia20765528c4771a98cbb92429208e7974108156a
Comment by Gerrit Gerrit [ 2019-12-12 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2019-12-12 ]
Change sioworkers~master~Ia20765528c4771a98cbb92429208e7974108156a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3372

(SIO-2285) Change compilers

Change-Id: Ia20765528c4771a98cbb92429208e7974108156a
Comment by Gerrit Gerrit [ 2019-12-12 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2019-12-12 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change sioworkers~master~Ia20765528c4771a98cbb92429208e7974108156a, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3372

(SIO-2285) Change compilers

Change-Id: Ia20765528c4771a98cbb92429208e7974108156a
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change sioworkers~master~Ia20765528c4771a98cbb92429208e7974108156a, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3372

(SIO-2285) Change compilers

Change-Id: Ia20765528c4771a98cbb92429208e7974108156a
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2019-12-18 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2020-01-14 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2020-01-14 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2020-01-15 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2020-01-15 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45
Comment by Gerrit Gerrit [ 2020-01-15 ]
Change oioioi~master~I6e43ef2f0ca71f688a389eee2b97cef378c7cf45, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3369

(SIO-2285) Show compiler information in submit view

Change-Id: I6e43ef2f0ca71f688a389eee2b97cef378c7cf45




[SIO-2284] Move certain settings from problem to probleminstance Created: 2019-11-10  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Czyżmański
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Certain settings - eg. testrun configurations or score reveal configurations - depend not just on the problem, but also contest rules, and should be able to differ between contests. Therefore, they should be in probleminstance settings, and not in problem settings.




[SIO-2283] Merge files and tests tabs in the contest view Created: 2019-11-3  Updated: 2020-03-3  Resolved: 2019-12-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Franciszek Hnatów

 Description   
These two tabs serve the same purpose. Moreover, sometimes we publish some extra files (such as libraries, headers, etc.), which should be in the same place as tests.

 Comments   
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~If5e831f8b56caca444a591602a96c54a3d71913b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3371

SIO-2283 Merge files and tests tabs in the contest view

Change-Id: If5e831f8b56caca444a591602a96c54a3d71913b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~If5e831f8b56caca444a591602a96c54a3d71913b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3371

SIO-2283 Merge files and tests tabs in the contest view

Change-Id: If5e831f8b56caca444a591602a96c54a3d71913b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~If5e831f8b56caca444a591602a96c54a3d71913b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3371

SIO-2283 Merge files and tests tabs in the contest view

Change-Id: If5e831f8b56caca444a591602a96c54a3d71913b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~If5e831f8b56caca444a591602a96c54a3d71913b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3371

SIO-2283 Merge files and tests tabs in the contest view

Change-Id: If5e831f8b56caca444a591602a96c54a3d71913b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~If5e831f8b56caca444a591602a96c54a3d71913b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3371

SIO-2283 Merge files and tests tabs in the contest view

Change-Id: If5e831f8b56caca444a591602a96c54a3d71913b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~If5e831f8b56caca444a591602a96c54a3d71913b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3371

SIO-2283 Merge files and tests tabs in the contest view

Change-Id: If5e831f8b56caca444a591602a96c54a3d71913b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~If5e831f8b56caca444a591602a96c54a3d71913b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3371

SIO-2283 Merge files and tests tabs in the contest view

Change-Id: If5e831f8b56caca444a591602a96c54a3d71913b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~If5e831f8b56caca444a591602a96c54a3d71913b, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3371

SIO-2283 Merge files and tests tabs in the contest view

Change-Id: If5e831f8b56caca444a591602a96c54a3d71913b
Comment by Gerrit Gerrit [ 2019-12-11 ]
Change oioioi~master~If5e831f8b56caca444a591602a96c54a3d71913b, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3371

SIO-2283 Merge files and tests tabs in the contest view

Change-Id: If5e831f8b56caca444a591602a96c54a3d71913b




[SIO-2282] Show test packages in the problemset Created: 2019-11-3  Updated: 2020-12-10

Status: Reopened
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Kostka Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag1

TAG Developer: Franciszek Hnatów

 Description   
Right now, you cannot download public test packages (from oioioi.testspackages) in the problems in the problemset.

 Comments   
Comment by Gerrit Gerrit [ 2020-01-20 ]
Change oioioi~master~I5bbeed2f1ccdd18f023cfb28521bd13c3c78af00, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3393

(SIO-2282) Show test packages in the problemset

Added the ability for contest admins to download test packages right from the problemset

Change-Id: I5bbeed2f1ccdd18f023cfb28521bd13c3c78af00
Comment by Gerrit Gerrit [ 2020-01-20 ]
Change oioioi~master~I5bbeed2f1ccdd18f023cfb28521bd13c3c78af00, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3393

(SIO-2282) Show test packages in the problemset

Added the ability for contest admins to download test packages right from the problemset

Change-Id: I5bbeed2f1ccdd18f023cfb28521bd13c3c78af00
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~I5bbeed2f1ccdd18f023cfb28521bd13c3c78af00, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3393

(SIO-2282) Show test packages in the problemset

Added the ability for contest admins to download test packages right from the problemset

Change-Id: I5bbeed2f1ccdd18f023cfb28521bd13c3c78af00
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~I5bbeed2f1ccdd18f023cfb28521bd13c3c78af00, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3393

(SIO-2282) Show test packages in the problemset

Added the ability for contest admins to download test packages right from the problemset

Change-Id: I5bbeed2f1ccdd18f023cfb28521bd13c3c78af00
Comment by Wojciech Dubiel [ 2020-12-7 ]
Doesn't work without a contest in the url.
Comment by Gerrit Gerrit [ 2020-12-7 ]
Change oioioi~master~Iaf49828d4fcac90b1ea162fa8595b5d73792a560, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3559

SIO-2282 Fix problem site testpackages not working on problem site

The original implementation didn't work outside of contests
for some weird reason.

Change-Id: Iaf49828d4fcac90b1ea162fa8595b5d73792a560
Comment by Wojciech Dubiel [ 2020-12-7 ]
Also, even with the above fix, this is visible only to admins.
Showing test packages to regular users will require more work.
Comment by Gerrit Gerrit [ 2020-12-10 ]
Change oioioi~master~Iaf49828d4fcac90b1ea162fa8595b5d73792a560, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3559

SIO-2282 Fix problem site testpackages not working on problem site

The original implementation checked permissions in a way
which couldn't possibly work outside of a contest,
even though it was intended specifically for outside-of-contest
operation.

Change-Id: Iaf49828d4fcac90b1ea162fa8595b5d73792a560
Comment by Gerrit Gerrit [ 2020-12-10 ]
Change oioioi~master~Iaf49828d4fcac90b1ea162fa8595b5d73792a560, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3559

SIO-2282 Fix problem site testpackages not working on problem site

The original implementation was checking permissions in a way
which couldn't possibly work outside of a contest,
even though it was intended specifically for outside-of-contest
operation.

Change-Id: Iaf49828d4fcac90b1ea162fa8595b5d73792a560




[SIO-2281] Remove unused module prizes Created: 2019-10-16  Updated: 2020-03-3  Resolved: 2019-12-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Sprint 1

Type: Improvement Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Michał Niedziółka

 Comments   
Comment by Gerrit Gerrit [ 2019-11-20 ]
Change oioioi~master~I339ad6b81e5afaa350efed2fb88826fa70f61189, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3357

SIO-2281 Remove module prizes

Change-Id: I339ad6b81e5afaa350efed2fb88826fa70f61189
Comment by Gerrit Gerrit [ 2019-11-27 ]
Change oioioi~master~I339ad6b81e5afaa350efed2fb88826fa70f61189, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3357

SIO-2281 Remove module prizes

Change Version to 40.
Add info to UPGRADING.rst.

Change-Id: I339ad6b81e5afaa350efed2fb88826fa70f61189
Comment by Gerrit Gerrit [ 2019-11-27 ]
Change oioioi~master~I339ad6b81e5afaa350efed2fb88826fa70f61189, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3357

SIO-2281 Remove module prizes

Change Version to 40.
Add info to UPGRADING.rst.

Change-Id: I339ad6b81e5afaa350efed2fb88826fa70f61189
Comment by Gerrit Gerrit [ 2019-11-27 ]
Change oioioi~master~I339ad6b81e5afaa350efed2fb88826fa70f61189, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3357

SIO-2281 Remove module prizes

Change Version to 40.
Add info to UPGRADING.rst.

Change-Id: I339ad6b81e5afaa350efed2fb88826fa70f61189
Comment by Gerrit Gerrit [ 2019-11-27 ]
Change oioioi~master~I339ad6b81e5afaa350efed2fb88826fa70f61189, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3357

SIO-2281 Remove module prizes

Change Version to 40.
Add info to UPGRADING.rst.

Change-Id: I339ad6b81e5afaa350efed2fb88826fa70f61189




[SIO-2280] Add helper in submit view to api command Created: 2019-10-10  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Zuzanna Opała Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: easy, tag1

Issue Links:
Relates
relates to SIO-2160 Enable submitservice module on Szkopul Closed
is related to SIO-2160 Enable submitservice module on Szkopul Closed

 Description   
There is endpoint which allow to submit solution via newly added API. There should be message in the submit view (or problem view) which prompts the command to show users this option.




[SIO-2279] Use same table in task archive as in problem set Created: 2019-10-10  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Zuzanna Opała Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: easy, tag1


 Description   
In problem set there are useful statistics (number of submissions and success rate) and option to add to the contest. They could also be present in the task archive view




[SIO-2278] Navbar translations doesn't work in problemset Created: 2019-10-10  Updated: 2020-03-3  Due: 2019-12-11  Resolved: 2019-12-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI, Translations
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Sprint 1

Type: Bug Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy, tag1

TAG Developer: Stanisław Strzelecki

 Description   
It is in Polish even when the selected language is English.

 Comments   
Comment by Gerrit Gerrit [ 2019-10-23 ]
Change oioioi~master~I0661b460c2cdf8fd48c8932dc25e0010e78a1e64, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3346

SIO-2278 Navbar translations doesn't work in problemset

In my local sio copy it appeared English even if language was set to Polish.
Hopefully my change fixes both problems.
Modifying navbar registry happens once during the initialization,
so these texts are saved once in the init, therefor only one translation happens.
When changing the language, no modification is possible to these strings.
Added translation in reading these texts from registry,
making sure they get translated every time they are loaded.
TODO: remove translation from initializing registry!

Change-Id: I0661b460c2cdf8fd48c8932dc25e0010e78a1e64
Comment by Gerrit Gerrit [ 2019-10-23 ]
Change oioioi~master~I0661b460c2cdf8fd48c8932dc25e0010e78a1e64, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3346

SIO-2278 Navbar translations doesn't work in problemset

In my local sio copy it appeared English even if language was set to Polish.
Hopefully my change fixes both problems.

Modifying navbar registry happens once during the initialization,
so these texts are saved once in the init, therefor only one translation happens.
When changing the language, no modification is possible to these strings.

Added translation in reading these texts from registry,
making sure they get translated every time they are loaded.

Removed translation from regiter functions,
so that registered textx is the text to be translated.
By doing so, I am sure that the text won't get translated before adding,
because the it would not be ever translated back.

Change-Id: I0661b460c2cdf8fd48c8932dc25e0010e78a1e64
Comment by Gerrit Gerrit [ 2019-11-20 ]
Change oioioi~master~I0661b460c2cdf8fd48c8932dc25e0010e78a1e64, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3346

SIO-2278 Navbar translations doesn't work in problemset

Translation was imported as ugettext, which was a not lazy version of translation.
Therefor, the translation was made on init, so the text once translated never changed.
Edited import to ugettext_lazy, so that the translation is lazy.

Change-Id: I0661b460c2cdf8fd48c8932dc25e0010e78a1e64
Comment by Gerrit Gerrit [ 2019-11-20 ]
Change oioioi~master~I0661b460c2cdf8fd48c8932dc25e0010e78a1e64, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3346

SIO-2278 Navbar translations doesn't work in problemset

Translation was imported as ugettext, which was a not lazy version of translation.
Therefor, the translation was made on init, so the text once translated never changed.
Edited import to ugettext_lazy, so that the translation is lazy.

Change-Id: I0661b460c2cdf8fd48c8932dc25e0010e78a1e64
Comment by Gerrit Gerrit [ 2019-12-3 ]
Change oioioi~master~I0661b460c2cdf8fd48c8932dc25e0010e78a1e64, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3346

SIO-2278 Navbar translations doesn't work in problemset

Translation was imported as ugettext, which was a not lazy version of translation.
Therefor, the translation was made on init, so the text once translated never changed.
Edited import to ugettext_lazy, so that the translation is lazy.

Changed jsonify functions, because they don't accept lazy translation objects.
Before jsonifying results, translated texts to current language.

Added a regression test.

What's interesting, that a bug in problems' view caused an error in szkopul view...
Not sure why that happened, but it's fixed now.

Change-Id: I0661b460c2cdf8fd48c8932dc25e0010e78a1e64
Comment by Gerrit Gerrit [ 2019-12-3 ]
Change oioioi~master~I0661b460c2cdf8fd48c8932dc25e0010e78a1e64, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3346

SIO-2278 Navbar translations doesn't work in problemset

Translation was imported as ugettext, which was a not lazy version of translation.
Therefor, the translation was made on init, so the text once translated never changed.
Edited import to ugettext_lazy, so that the translation is lazy.

Changed jsonify functions, because they don't accept lazy translation objects.
Before jsonifying results, translated texts to current language.

Added a regression test.

What's interesting, that a bug in problems' view caused an error in szkopul view...
Not sure why that happened, but it's fixed now.

Change-Id: I0661b460c2cdf8fd48c8932dc25e0010e78a1e64
Comment by Gerrit Gerrit [ 2019-12-3 ]
Change oioioi~master~I0661b460c2cdf8fd48c8932dc25e0010e78a1e64, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3346

SIO-2278 Navbar translations doesn't work in problemset

Translation was imported as ugettext, which was a not lazy version of translation.
Therefor, the translation was made on init, so the text once translated never changed.
Edited import to ugettext_lazy, so that the translation is lazy.

Changed jsonify functions, because they don't accept lazy translation objects.
Before jsonifying results, translated texts to current language.

Added a regression test.

What's interesting, that a bug in problems' view caused an error in szkopul view...
Probably szkopul loaded navbar view in problemset from normal sio2 view.

Change-Id: I0661b460c2cdf8fd48c8932dc25e0010e78a1e64




[SIO-2277] Ranking ingores custom update_user_result_for_{round,contest} Created: 2019-09-11  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag1


 Description   
It's possible to override the update_user_result_for_{round,contest} methods in a contest controller, and change the way results for round and contest are computed form a simple sum to something more elaborate. (For example, on OIJ, we need to have max of two different quizzes.)
Those results will be saved in UserResultForRound and UserResultForContest models.

However, the ranking doesn't care. It just takes per-problem scores from UserResultForProblem objects and sums them.




[SIO-2276] Viewing problem list fails with HTTP 500 when round end time is None Created: 2019-09-6  Updated: 2020-03-3  Resolved: 2019-12-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sentry Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Franciszek Hnatów

 Description   
https://sentry.io/organizations/the-sio2-project/issues/1210384154/?referrer=jira_plugin

{code}
TypeError: can't compare datetime.datetime to NoneType
  File "oioioi/contests/views.py", line 106, in problems_list_view
    ], key=lambda p: (p[2].get_start(), p[2].get_end(), p[0].round.name,
  File "oioioi/base/permissions.py", line 126, in _wrapped_view
    return view_func(request, *args, **kwargs)
...
(1 additional frame(s) were not displayed)

TypeError: can't compare datetime.datetime to NoneType
{code}

 Comments   
Comment by Gerrit Gerrit [ 2019-11-20 ]
Change oioioi~master~I6527d60996e0cd8692d219c4753f816ce3a82133, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3356

SIO-2276 Viewing problem list fails with HTTP 500 when round end time is None

Change-Id: I6527d60996e0cd8692d219c4753f816ce3a82133
Comment by Gerrit Gerrit [ 2019-11-20 ]
Change oioioi~master~Ib468adfeb0fa127e96b75746f831d7f962f769d2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3358

SIO-2276 Viewing problem list fails with HTTP 500 when round end time is None

Change-Id: Ib468adfeb0fa127e96b75746f831d7f962f769d2
Comment by Gerrit Gerrit [ 2019-11-20 ]
Change oioioi~master~I6527d60996e0cd8692d219c4753f816ce3a82133, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3356

SIO-2276 Viewing problem list fails with HTTP 500 when round end time is None

Change-Id: I6527d60996e0cd8692d219c4753f816ce3a82133
Comment by Gerrit Gerrit [ 2019-11-20 ]
Change oioioi~master~I6527d60996e0cd8692d219c4753f816ce3a82133, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3356

SIO-2276 Viewing problem list fails with HTTP 500 when round end time is None

Change-Id: I6527d60996e0cd8692d219c4753f816ce3a82133
Comment by Gerrit Gerrit [ 2019-12-9 ]
Change oioioi~master~I6527d60996e0cd8692d219c4753f816ce3a82133, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3356

SIO-2276 Viewing problem list fails with HTTP 500 when round end time is None

Change-Id: I6527d60996e0cd8692d219c4753f816ce3a82133
Comment by Gerrit Gerrit [ 2019-12-9 ]
Change oioioi~master~I6527d60996e0cd8692d219c4753f816ce3a82133, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3356

SIO-2276 Viewing problem list fails with HTTP 500 when round end time is None

Change-Id: I6527d60996e0cd8692d219c4753f816ce3a82133




[SIO-2275] Make models' names compatible with python2 and python3 Created: 2019-08-5  Updated: 2021-03-22  Resolved: 2021-03-22

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Marek Żochowski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: py3


 Description   
Django models uses internal function of python classes __unicode__ and __str__ to extract 'name' of the given object, e.g. on admin pages.
Because of changes in string representations in Python3 this behavior has to be change (python3 -> unicode, python2 -> str). Fortunatelly django provides very helpful decorator to ensure compatibility with both versions of python.

 Comments   
Comment by Gerrit Gerrit [ 2019-08-5 ]
Change oioioi~master~I067586a65acf1d27a446a238431fff9eca9f078e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3304

(SIO-2275) Make models' names compatible with python2 and python3

This change mostly decorates classes with python_2_unicode_compatible
decorator. For details check JIRA entry.

Change-Id: I067586a65acf1d27a446a238431fff9eca9f078e




[SIO-2274] Quizzes improvements for the Junior Olympiad in Informatics Created: 2019-06-29  Updated: 2021-10-31  Resolved: 2021-10-31

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: For the OI Team

Type: Improvement Priority: Major
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
For the Junior Olympiad in Informatics, we would like to use the quizzes module, but we need some more features:
- ability to add pictures and math equations in questions and answers,
- contestants should be able to type their own answer (a single integer or a word)
- add the possibility to differ scoring within one question (for example, there might be an answer worth 1 point, and another answer worth two points)
- we would like to have the following workflow:
-- teacher add a set of questions categorized into several categories
-- contestant can prepare for a quiz, they can generate practice quizzes, the quiz should contain random questions from different categories (for example 10 algorithmic questions and 10 programming questions)
-- finally, they should be able to take a rated quiz, which should be scored.

 Comments   
Comment by Szymon Acedański [ 2019-06-29 ]
Artur, it looks like this issue is to be managed inside the OI Admins team. I assigned it to you so it's not lost.

If this is what you want, you probably have the option to move it to the OIADMINS project.
Comment by Paweł Dietrich [ 2021-10-31 ]
Currently we deal with quizzes as they are. In the future we want quizzes to be outside sio2 to help with scaling for A LOT of participants concurrently. Thus this issue can be closed.




[SIO-2273] Change sioworkers to accept specific compilers Created: 2019-06-26  Updated: 2020-03-3  Resolved: 2019-06-30

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Piotr Wojtczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change sioworkers~master~I41633ae9b3ffe23cfa1a9c97397676361c0e669c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3282

(SIO-2273) - Change sioworkers to accept specific compilers

Comment by Gerrit Gerrit [ 2019-06-26 ]
Change sioworkers~master~Id266cded8f2ce8c42a6e4c8e80e8ba69b76d1124, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3283

(SIO-2273) - Change sioworkers to accept specific compilers

Comment by Gerrit Gerrit [ 2019-06-26 ]
Change sioworkers~master~Id312581bc097d28120c0502c2b86431ab55f3902, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3284

(SIO-2273) - Change sioworkers to accept specific compilers

Change-Id: Id312581bc097d28120c0502c2b86431ab55f3902
Comment by Gerrit Gerrit [ 2019-06-29 ]
Change sioworkers~master~Id312581bc097d28120c0502c2b86431ab55f3902, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3284

(SIO-2273) - Change sioworkers to accept specific compilers

Change-Id: Id312581bc097d28120c0502c2b86431ab55f3902
Comment by Gerrit Gerrit [ 2019-06-29 ]
Change sioworkers~master~Id312581bc097d28120c0502c2b86431ab55f3902, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3284

(SIO-2273) - Change sioworkers to accept specific compilers

Change-Id: Id312581bc097d28120c0502c2b86431ab55f3902
Comment by Piotr Wojtczak [ 2019-06-30 ]
Fix missing comma https://gerrit.sio2project.mimuw.edu.pl/#/c/3292/




[SIO-2272] Handle new compiler logic Created: 2019-06-26  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Iwona Kotlarska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I77a1b57f500b8ddc12a7cd23e4a8830f1e95e8a6, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3279

(SIO-2272) Handle user-set compilers

Use ContestCompiler and ProblemCompiler to determine what to use to
compile a particular submission. ContestCompiler overrides
ProblemCompiler if both are set. We assume ProblemCompiler is set for
every language.

If USE_LOCAL_COMPILERS is set to True, this logic is not applied,
because system-[lang] is used as a compiler anyway.

Change-Id: I77a1b57f500b8ddc12a7cd23e4a8830f1e95e8a6
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I77a1b57f500b8ddc12a7cd23e4a8830f1e95e8a6, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3279

(SIO-2272) Handle user-set compilers

Use ContestCompiler and ProblemCompiler to determine what to use to
compile a particular submission. ContestCompiler overrides
ProblemCompiler if both are set. We assume ProblemCompiler is set for
every language.

If USE_LOCAL_COMPILERS is set to True, this logic is not applied,
because system-[lang] is used as a compiler anyway.

Change-Id: I77a1b57f500b8ddc12a7cd23e4a8830f1e95e8a6
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I77a1b57f500b8ddc12a7cd23e4a8830f1e95e8a6, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3279

(SIO-2272) Handle user-set compilers

Use ContestCompiler and ProblemCompiler to determine what to use to
compile a particular submission. ContestCompiler overrides
ProblemCompiler if both are set. We assume ProblemCompiler is set for
every language.

If USE_LOCAL_COMPILERS is set to True, this logic is not applied,
because system-[lang] is used as a compiler anyway.

Change-Id: I77a1b57f500b8ddc12a7cd23e4a8830f1e95e8a6




[SIO-2271] Allow problem admin to choose compiler Created: 2019-06-26  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Iwona Kotlarska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I31c446ff2ca14307bc15646e00b95780abe44842, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3275

(SIO-2271) Add inline for problem compiler

We want to allow to choose compiler per problem, rather than using one
version for all problems on that particular instance of oioioi.

This change adds necessary inline to django admin for problem

Change-Id: I31c446ff2ca14307bc15646e00b95780abe44842
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I31c446ff2ca14307bc15646e00b95780abe44842, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3275

(SIO-2271) Add inline for problem compiler

We want to allow to choose compiler per problem, rather than using one
version for all problems on that particular instance of oioioi.

This change adds necessary inline to django admin for problem

Change-Id: I31c446ff2ca14307bc15646e00b95780abe44842
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I31c446ff2ca14307bc15646e00b95780abe44842, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3275

(SIO-2271) Add inline for problem compiler

We want to allow to choose compiler per problem, rather than using one
version for all problems on that particular instance of oioioi.

This change adds necessary inline to django admin for problem

Change-Id: I31c446ff2ca14307bc15646e00b95780abe44842




Add groups (SIO-2213)

[SIO-2270] Adjust teachers' pupils site to use usergroups Created: 2019-06-25  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups


 Comments   
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3271

(SIO-2270) Adjust teachers' pupils site to use usergroups

Change-Id: Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3271

(SIO-2270) Adjust teachers' pupils site to use usergroups

Change-Id: Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3271

(SIO-2270) Adjust teachers' pupils site to use usergroups

Change-Id: Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3271

(SIO-2270) Adjust teachers' pupils site to use usergroups

Change-Id: Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3271

(SIO-2270) Adjust teachers' pupils site to use usergroups

Change-Id: Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3271

(SIO-2270) Adjust teachers' pupils site to use usergroups

Change-Id: Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3271

(SIO-2270) Adjust teachers' pupils site to use usergroups

Change-Id: Ia63c39f4ebe3096f34e2f53d722fe580e18b0a5f




[SIO-2269] Create form for proposing tags for a problem in problemset Created: 2019-06-24  Updated: 2019-06-26  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Piotr Wojtczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Create a form that allows users who solved a given problem propose tags based on their solutions

 Comments   
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I6e363a716200dfee7d95af3c8248c7ba7b928b00, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3264

(SIO-2269) Create form for proposing tags for a problem in problemset

This change introduces an interactive form in problem's site. Users who solved this problem can now
propose tags via said form (both algorith and difficulty tags). Users can only send their proposals once.
After submitting, it dissapears forever from the page.

This commit includes two new models - AlgorithmTagProposal and DifficultyProposal

Change-Id: I6e363a716200dfee7d95af3c8248c7ba7b928b00
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I6e363a716200dfee7d95af3c8248c7ba7b928b00, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3264

(SIO-2269) Create form for proposing tags for a problem in problemset

This change introduces an interactive form in problem's site. Users who solved this problem can now
propose tags via said form (both algorith and difficulty tags). Users can only send their proposals once.
After submitting, it dissapears forever from the page.

This commit includes two new models - AlgorithmTagProposal and DifficultyProposal

Change-Id: I6e363a716200dfee7d95af3c8248c7ba7b928b00
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I6e363a716200dfee7d95af3c8248c7ba7b928b00, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3264

(SIO-2269) Create form for proposing tags for a problem in problemset

This change introduces an interactive form in problem's site. Users who solved this problem can now
propose tags via said form (both algorith and difficulty tags). Users can only send their proposals once.
After submitting, it dissapears forever from the page.

This commit includes two new models - AlgorithmTagProposal and DifficultyProposal

Change-Id: I6e363a716200dfee7d95af3c8248c7ba7b928b00
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I6e363a716200dfee7d95af3c8248c7ba7b928b00, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3264

(SIO-2269) Create form for proposing tags for a problem in problemset

This change introduces an interactive form in problem's site. Users who solved this problem can now
propose tags via said form (both algorith and difficulty tags). Users can only send their proposals once.
After submitting, it dissapears forever from the page.

This commit includes two new models - AlgorithmTagProposal and DifficultyProposal

Change-Id: I6e363a716200dfee7d95af3c8248c7ba7b928b00
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I6e363a716200dfee7d95af3c8248c7ba7b928b00, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3264

(SIO-2269) Create form for proposing tags for a problem in problemset

This change introduces an interactive form in problem's site. Users who solved this problem can now
propose tags via said form (both algorith and difficulty tags). Users can only send their proposals once.
After submitting, it dissapears forever from the page.

This commit includes two new models - AlgorithmTagProposal and DifficultyProposal

Change-Id: I6e363a716200dfee7d95af3c8248c7ba7b928b00




[SIO-2268] Add new option to block HTML statements in sinolpacks Created: 2019-06-24  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
This change will introduce new setting in settings.py which will block uploading sinolpack with problem statement in HTML by certain group of users (not superadmins nor teachers).

 Comments   
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~Iee186489407c5f9630cba8a8a40e32efe7cbcc43, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3266

(SIO-2268) Add new option to block HTML statements in sinolpacks

Change-Id: Iee186489407c5f9630cba8a8a40e32efe7cbcc43
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~Iee186489407c5f9630cba8a8a40e32efe7cbcc43, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3266

(SIO-2268) Add new option to block HTML statements in sinolpacks

Change-Id: Iee186489407c5f9630cba8a8a40e32efe7cbcc43
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~Iee186489407c5f9630cba8a8a40e32efe7cbcc43, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3266

(SIO-2268) Add new option to block HTML statements in sinolpacks

WIP lack of tests.

Change-Id: Iee186489407c5f9630cba8a8a40e32efe7cbcc43
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~Iee186489407c5f9630cba8a8a40e32efe7cbcc43, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3266

(SIO-2268) Add new option to block HTML statements in sinolpacks

Change-Id: Iee186489407c5f9630cba8a8a40e32efe7cbcc43
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~Iee186489407c5f9630cba8a8a40e32efe7cbcc43, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3266

(SIO-2268) Add new option to block HTML statements in sinolpacks

Change-Id: Iee186489407c5f9630cba8a8a40e32efe7cbcc43
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~Iee186489407c5f9630cba8a8a40e32efe7cbcc43, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3266

(SIO-2268) Add new option to block HTML statements in sinolpacks

Change-Id: Iee186489407c5f9630cba8a8a40e32efe7cbcc43
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~Iee186489407c5f9630cba8a8a40e32efe7cbcc43, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3266

(SIO-2268) Add new option to block HTML statements in sinolpacks

Change-Id: Iee186489407c5f9630cba8a8a40e32efe7cbcc43




Create some useful API endpoints (SIO-2219)

[SIO-2267] API endpoint for uploading and reuploading packages Created: 2019-06-24  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I44e94def6be84af3d893d2e7dacf0278d05eff63, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3263

(SIO-2267) API endpoints for package upload and reupload.

Change-Id: I44e94def6be84af3d893d2e7dacf0278d05eff63
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I44e94def6be84af3d893d2e7dacf0278d05eff63, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3263

(SIO-2267) API endpoints for package upload and reupload.

Change-Id: I44e94def6be84af3d893d2e7dacf0278d05eff63
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I44e94def6be84af3d893d2e7dacf0278d05eff63, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3263

(SIO-2267) API endpoints for package upload and reupload.

Change-Id: I44e94def6be84af3d893d2e7dacf0278d05eff63
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I44e94def6be84af3d893d2e7dacf0278d05eff63, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3263

(SIO-2267) API endpoints for package upload and reupload.

Change-Id: I44e94def6be84af3d893d2e7dacf0278d05eff63




[SIO-2266] Forum improvements Created: 2019-06-23  Updated: 2021-04-20

Status: Open
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Winter Sprint

Type: Improvement Priority: Major
Reporter: Bartosz Kostka Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: None

Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2402 Add latest posts view on forum Sub-task Resolved Jakub Moliński  
SIO-2403 Allow giving +1 and -1 reactions to p... Sub-task Resolved Wojciech Dubiel  
SIO-2404 Allow markdown in posts Sub-task New  
Sprint: TAG 2020/21 Winter Sprint

 Description   
1. Add the latest posts view for users (it is really problematic to check various categories and topics to be up to date).

2. Allow markdown in posts (maybe even syntax highlighting for codes?).

3. Most of the posts is just confirming some tests. Can we add +1 button, so users can confirm tests in this way?

 Comments   
Comment by Michalina Sidor [ 2019-06-24 ]
emoji reactions! :blobcatpat:
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3574

(SIO-2266) Add a latest posts tab to the main forum page.

The post creation date periods that the user can choose are 24h, 48h and 7d.
Mostly reuses the thread/post templates.
Latestposts/post footer differs from thread/post footer in that it
contains also the thread name.

Change-Id: Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3574

(SIO-2266) Add a latest posts tab to the main forum page.

The post creation date periods that the user can choose are 24h, 48h and 7d.
Mostly reuses the thread/post templates.
Latestposts/post footer differs from thread/post footer in that it
contains also the thread name.

Change-Id: Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a
Comment by Gerrit Gerrit [ 2021-01-9 ]
Change oioioi~master~Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3574

(SIO-2266) Add a latest posts tab to the main forum page.

Adds a paginated latest posts tab to forum.
The number of posts shown per page can be configured in the settings
file.
Mostly reuses the thread/post templates.
Latestposts/post footer differs from thread/post footer in that it
contains also the thread name.

Change-Id: Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a
Comment by Gerrit Gerrit [ 2021-01-9 ]
Change oioioi~master~Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3574

(SIO-2266) Add a latest posts tab to the main forum page.

Adds a paginated latest posts tab to forum.
The number of posts shown per page can be configured in the settings
file.
Mostly reuses the thread/post templates.
Latestposts/post footer differs from thread/post footer in that it
contains also the thread name.

Change-Id: Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a
Comment by Gerrit Gerrit [ 2021-01-9 ]
Change oioioi~master~Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3574

(SIO-2266) Add a latest posts tab to the main forum page.

Adds a paginated latest posts tab to forum.
The number of posts shown per page can be configured in the settings
file.
Mostly reuses the thread/post templates.
Latestposts/post footer differs from thread/post footer in that it
contains also the thread name.

Change-Id: Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a
Comment by Gerrit Gerrit [ 2021-01-10 ]
Change oioioi~master~Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3574

(SIO-2266) Add a latest posts tab to the main forum page.

Adds a paginated latest posts tab to forum.
The number of posts shown per page can be configured in the settings
file.
Mostly reuses the thread/post templates.
Latestposts/post footer differs from thread/post footer in that it
contains also the thread name.

Change-Id: Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a
Comment by Gerrit Gerrit [ 2021-01-10 ]
Change oioioi~master~Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3574

(SIO-2266) Add a latest posts tab to the main forum page.

Adds a paginated latest posts tab to forum.
The number of posts shown per page can be configured in the settings
file.
Mostly reuses the thread/post templates.
Latestposts/post footer differs from thread/post footer in that it
contains also the thread name.

Change-Id: Ib02aad0e43be13b0700396a1edcd5bc5e865ce7a




[SIO-2265] Improve rules concerning showing contest's icons in menu Created: 2019-06-22  Updated: 2020-03-3  Resolved: 2019-06-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently contest icons are displayed if there is only one menu on the left side.
This ticket will change this rule to omit not visible menus.

 Comments   
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I3b6af7d607b0bb2910b786cc6c652ca8f25e7ea8, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3260

(SIO-2265) Improve rules concerning showing contest's icons in menu

Change-Id: I3b6af7d607b0bb2910b786cc6c652ca8f25e7ea8
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I3b6af7d607b0bb2910b786cc6c652ca8f25e7ea8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3260

(SIO-2265) Improve rules concerning showing contest's icons in menu

Change-Id: I3b6af7d607b0bb2910b786cc6c652ca8f25e7ea8
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I3b6af7d607b0bb2910b786cc6c652ca8f25e7ea8, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3260

(SIO-2265) Improve rules concerning showing contest's icons in menu

Change-Id: I3b6af7d607b0bb2910b786cc6c652ca8f25e7ea8
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I3b6af7d607b0bb2910b786cc6c652ca8f25e7ea8, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3260

(SIO-2265) Improve rules concerning showing contest's icons in menu

Change-Id: I3b6af7d607b0bb2910b786cc6c652ca8f25e7ea8




[SIO-2264] Allow contest admin to choose compiler Created: 2019-06-17  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Iwona Kotlarska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-06-17 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-17 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-17 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-17 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-17 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

We want to allow to choose compiler per contest, rather than using
one version for all contests on that particular instance of oioioi.

This change adds necessary inline to django admin for contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

We want to allow to choose compiler per contest, rather than using
one version for all contests on that particular instance of oioioi.

This change adds necessary inline to django admin for contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

We want to allow to choose compiler per contest, rather than using
one version for all contests on that particular instance of oioioi.

This change adds necessary inline to django admin for contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

We want to allow to choose compiler per contest, rather than using
one version for all contests on that particular instance of oioioi.

This change adds necessary inline to django admin for contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I23f78e52a6810b7639a6c4eba650be3c3d603071, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3250

(SIO-2264) Add inlines for setting compiler in contest

We want to allow to choose compiler per contest, rather than using
one version for all contests on that particular instance of oioioi.

This change adds necessary inline to django admin for contest

Change-Id: I23f78e52a6810b7639a6c4eba650be3c3d603071




Enable everyone to create personal contests (SIO-2260)

[SIO-2263] Create UI for regular user concerning creating/managing contests Created: 2019-06-15  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: contests_for_everyone


 Description   
We will use new simpleui design for this.

 Comments   
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I322079cfa2e117aeeaea424096db1425e3b95c1f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3247

(SIO-2263) Create UI for regular user concerning creating/managing contests

WIP lack of tests

Change-Id: I322079cfa2e117aeeaea424096db1425e3b95c1f
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I322079cfa2e117aeeaea424096db1425e3b95c1f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3247

(SIO-2263) Create UI for regular user concerning creating/managing contests

WIP lack of tests

Change-Id: I322079cfa2e117aeeaea424096db1425e3b95c1f
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I322079cfa2e117aeeaea424096db1425e3b95c1f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3247

(SIO-2263) Create UI for regular user concerning creating/managing contests

This commit will be merged with the one introducing new contest
controller hence lack of tests.

Change-Id: I322079cfa2e117aeeaea424096db1425e3b95c1f
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I322079cfa2e117aeeaea424096db1425e3b95c1f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3247

(SIO-2263) Create UI for regular user concerning creating/managing contests

This commit will be merged with the one introducing new contest
controller hence lack of tests.

Change-Id: I322079cfa2e117aeeaea424096db1425e3b95c1f
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I322079cfa2e117aeeaea424096db1425e3b95c1f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3247

(SIO-2263) Create UI for regular user concerning creating/managing contests

This commit will be merged with the one introducing new contest
controller hence lack of tests.

Change-Id: I322079cfa2e117aeeaea424096db1425e3b95c1f
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I322079cfa2e117aeeaea424096db1425e3b95c1f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3247

(SIO-2263) Create UI for regular user concerning creating/managing contests

This commit will be merged with the one introducing new contest
controller hence lack of tests.

Change-Id: I322079cfa2e117aeeaea424096db1425e3b95c1f
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I322079cfa2e117aeeaea424096db1425e3b95c1f, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3247

(SIO-2263) Create UI for regular user concerning creating/managing contests

This commit will be merged with the one introducing new contest
controller hence lack of tests.

Change-Id: I322079cfa2e117aeeaea424096db1425e3b95c1f
Comment by Marek Żochowski [ 2019-06-26 ]
Moved to https://jira.sio2project.mimuw.edu.pl/browse/SIO-2259




[SIO-2262] Remove simpleui dependency on teachers Created: 2019-06-15  Updated: 2020-03-3  Resolved: 2019-06-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
From now on simpleui will no longer be a set of "simple" views for teachers app. Now it will provide more generalized views (still "simple") for potentially more apps than just teachers. Additionally it will add user dashboard for every active user in the system (it will be similar to the existing teacher dashboard). It will be accessible only by a direct link, but future tickets will change this.

 Comments   
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

WIP lack of tests

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

WIP lack of tests

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

WIP lack of tests

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

WIP lack of tests

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I3cfb5737599dc8c80c6ad644d85c640d58d35897, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3246

(SIO-2262) Remove simpleui dependency on teachers

This commit changes purpose of simpleui.
For details check corresponding JIRA ticket.

Change-Id: I3cfb5737599dc8c80c6ad644d85c640d58d35897




[SIO-2261] Change Teacher Menu to Personal Menu Created: 2019-06-15  Updated: 2020-03-3  Resolved: 2019-06-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
This change will rename one of the left menus and make it accessible/visible for everyone.

 Comments   
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~If0386ccbcab61ccd2525a19965e70161e63ca4f1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3245

(SIO-2261) Change Teacher Menu to Personal Menu

Change-Id: If0386ccbcab61ccd2525a19965e70161e63ca4f1
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~If0386ccbcab61ccd2525a19965e70161e63ca4f1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3245

(SIO-2261) Change Teacher Menu to Personal Menu

Change-Id: If0386ccbcab61ccd2525a19965e70161e63ca4f1
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~If0386ccbcab61ccd2525a19965e70161e63ca4f1, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3245

(SIO-2261) Change Teacher Menu to Personal Menu

Change-Id: If0386ccbcab61ccd2525a19965e70161e63ca4f1
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~If0386ccbcab61ccd2525a19965e70161e63ca4f1, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3245

(SIO-2261) Change Teacher Menu to Personal Menu

Change-Id: If0386ccbcab61ccd2525a19965e70161e63ca4f1
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~If0386ccbcab61ccd2525a19965e70161e63ca4f1, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3245

(SIO-2261) Change Teacher Menu to Personal Menu

Change-Id: If0386ccbcab61ccd2525a19965e70161e63ca4f1
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~If0386ccbcab61ccd2525a19965e70161e63ca4f1, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3245

(SIO-2261) Change Teacher Menu to Personal Menu

Change-Id: If0386ccbcab61ccd2525a19965e70161e63ca4f1
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~If0386ccbcab61ccd2525a19965e70161e63ca4f1, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3245

(SIO-2261) Change Teacher Menu to Personal Menu

Change-Id: If0386ccbcab61ccd2525a19965e70161e63ca4f1
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~If0386ccbcab61ccd2525a19965e70161e63ca4f1, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3245

(SIO-2261) Change Teacher Menu to Personal Menu

Change-Id: If0386ccbcab61ccd2525a19965e70161e63ca4f1
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~If0386ccbcab61ccd2525a19965e70161e63ca4f1, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3245

(SIO-2261) Change Teacher Menu to Personal Menu

Change-Id: If0386ccbcab61ccd2525a19965e70161e63ca4f1




[SIO-2260] Enable everyone to create personal contests Created: 2019-06-13  Updated: 2019-06-13

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Marek Żochowski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: contests_for_everyone

Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2259 Create new type of contest for everyone Sub-task Closed Szymon Acedański  
SIO-2263 Create UI for regular user concerning... Sub-task Closed Szymon Acedański  

 Description   
This type of contest has limited options and should support only programming problems (no quizzes).
Detailed list of limitations can be found in the subtasks.




Enable everyone to create personal contests (SIO-2260)

[SIO-2259] Create new type of contest for everyone Created: 2019-06-13  Updated: 2020-03-3  Resolved: 2019-07-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: contests_for_everyone


 Description   
In this task one should create new contest type that has limited options, but can be created and admined by any user.

List of limitations:

- Contest should be open (no limited participants)
- There should be an option (preferably in settings) to disable this feature (created contests should remain in an archive-like state)
- There should be no option to share contests among users accessible by regular users.
- etc. (will be added in another ticket)

 Comments   
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I12275df20c47e300b90515858ee6a29d094aeeb7, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3269

(SIO-2259) [WIP] Introduce User Contests

Change-Id: I12275df20c47e300b90515858ee6a29d094aeeb7
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'privileged' contest permission

This change adds a new permission 'contests.contest_privileged', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'privileged' users should not have access, whereas others were changed
accordingly to 'is_contest_privileged' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'privileged' users from seeing links to 403 pages.

TODO:
1. finish blocking stuff to block
2. tests
3. comments

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

TODO:
1. double check everything works,
2. tests,
3. commit msg and code comments

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~Iea2b65038c3dd1e829d8f333c827a3f69bb6ec26, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3278

(SIO-2259) Allow User Contest archiving

TODO:
1. Finish blocking all the options
2. tests
3. commit msg and comments

Change-Id: Iea2b65038c3dd1e829d8f333c827a3f69bb6ec26
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to 403 pages.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to 403 pages.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which disallows
changing settings as well as submitting to User Contests, while leaving
their contents intact.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which disallows
changing settings as well as submitting to User Contests, while leaving
their contents intact.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which disallows
changing settings as well as submitting to User Contests, while leaving
their contents intact.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which disallows
changing settings as well as submitting to User Contests, while leaving
their contents intact.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Also fixed a bug that resulted in not displaying icons when user had
more than one menu available, as well as a weird behaviour in the
ContestAdminMixin in teachers, which was "capturing" the execution paths
belonging to other ContestAdmin mixins.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact. This is done by changing
the 'regular' users' permissions from 'basicadmin' to 'observer'.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Also fixed a bug that resulted in not displaying icons when user had
more than one menu available, as well as a weird behaviour in the
ContestAdminMixin in teachers, which was "capturing" the execution paths
belonging to other ContestAdmin mixins.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact. This is done by changing
the 'regular' users' permissions from 'basicadmin' to 'observer'.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Also fixed a bug that resulted in not displaying icons when user had
more than one menu available, as well as a weird behaviour in the
ContestAdminMixin in teachers, which was "capturing" the execution paths
belonging to other ContestAdmin mixins.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact. This is done by changing
the 'regular' users' permissions from 'basicadmin' to 'observer'.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-2 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact. This is done by changing
the 'regular' users' permissions from 'basicadmin' to 'observer'.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-3 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Also fixed a bug that resulted in not displaying icons when user had
more than one menu available, as well as a weird behaviour in the
ContestAdminMixin in teachers, which was "capturing" the execution paths
belonging to other ContestAdmin mixins.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-3 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact. This is done by changing
the 'regular' users' permissions from 'basicadmin' to 'observer'.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-3 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Also fixed a bug that resulted in not displaying icons when user had
more than one menu available, as well as a weird behaviour in the
ContestAdminMixin in teachers, which was "capturing" the execution paths
belonging to other ContestAdmin mixins.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-3 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-07-3 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Also fixed a bug that resulted in not displaying icons when user had
more than one menu available, as well as a weird behaviour in the
ContestAdminMixin in teachers, which was "capturing" the execution paths
belonging to other ContestAdmin mixins.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-3 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact. This is done by changing
the 'regular' users' permissions from 'basicadmin' to 'observer'.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-4 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Also fixed a bug that resulted in not displaying icons when user had
more than one menu available, as well as a weird behaviour in the
ContestAdminMixin in teachers, which was "capturing" the execution paths
belonging to other ContestAdmin mixins.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-4 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact. This is done by changing
the 'regular' users' permissions from 'basicadmin' to 'observer'.

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-5 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-07-5 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Also fixed a bug that resulted in not displaying icons when user had
more than one menu available, as well as a weird behaviour in the
ContestAdminMixin in teachers, which was "capturing" the execution paths
belonging to other ContestAdmin mixins.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-5 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact. This is done by changing
the 'regular' users' permissions from 'basicadmin' to 'observer'

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89
Comment by Gerrit Gerrit [ 2019-07-6 ]
Change oioioi~master~I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3276

(SIO-2259) Create 'basicadmin' contest permission

This change adds a new permission 'contests.contest_basicadmin', which
is meant to be a "softer" version of the 'contests.contest_admin' -
with access to only parts of contest configuration. This is to prepare
the groundwork for limiting access in the User Contests.

Some checks for 'is_contest_admin' were left unchanged wherever the
'basicadmin' users should not have access, whereas others were changed
accordingly to 'is_contest_basicadmin' to allow these users in.

Also added the 'is_contest_admin" check on some sidebar menus, to
prevent 'basicadmin' users from seeing links to pages they don't have
access to.

Change-Id: I1a2d40a6d4e350f31b3ee3601a86f8182a05fd1d
Comment by Gerrit Gerrit [ 2019-07-6 ]
Change oioioi~master~I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3277

(SIO-2259) Introduce User Contests

This change introduces User Contests, which are contests available for
any user.

An option to disable the user contests will be added by the next change.

Also fixed a bug that resulted in not displaying icons when user had
more than one menu available, as well as a weird behaviour in the
ContestAdminMixin in teachers, which was "capturing" the execution paths
belonging to other ContestAdmin mixins.

Change-Id: I9bdceea9d2d0265ef4bd0675f1c8b50e1ed4aae4
Comment by Gerrit Gerrit [ 2019-07-6 ]
Change oioioi~master~Icb7d341a71964a19892e16898dee4ab4d2b97c89, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3290

(SIO-2259) Allow User Contest archiving

This change introduces an ARCHIVE_USERCONTESTS setting, which
disallows changing settings as well as submitting to User Contests,
while leaving their contents intact. This is done by changing
the 'regular' users' permissions from 'basicadmin' to 'observer'

Change-Id: Icb7d341a71964a19892e16898dee4ab4d2b97c89




[SIO-2258] "Shared with me" tab in the problemset Created: 2019-06-11  Updated: 2019-09-19  Resolved: 2019-09-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: friendship


 Description   
The new tab should contain information about task author.

 Comments   
Comment by Gerrit Gerrit [ 2019-06-29 ]
Change oioioi~master~I573709130ff390a360a213eda3fba943b092f769, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3288

(SIO-2258) "Shared with me" tab in the problemset

Change-Id: I573709130ff390a360a213eda3fba943b092f769
Comment by Gerrit Gerrit [ 2019-06-29 ]
Change oioioi~master~I573709130ff390a360a213eda3fba943b092f769, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3288

(SIO-2258) "Shared with me" tab in the problemset

Change-Id: I573709130ff390a360a213eda3fba943b092f769
Comment by Gerrit Gerrit [ 2019-06-29 ]
Change oioioi~master~I573709130ff390a360a213eda3fba943b092f769, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3288

(SIO-2258) "Shared with me" tab in the problemset

Change-Id: I573709130ff390a360a213eda3fba943b092f769
Comment by Gerrit Gerrit [ 2019-07-1 ]
Change oioioi~master~I573709130ff390a360a213eda3fba943b092f769, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3288

(SIO-2258) "Shared with me" tab in the problemset

Change-Id: I573709130ff390a360a213eda3fba943b092f769
Comment by Gerrit Gerrit [ 2019-07-1 ]
Change oioioi~master~I573709130ff390a360a213eda3fba943b092f769, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3288

(SIO-2258) "Shared with me" tab in the problemset

Change-Id: I573709130ff390a360a213eda3fba943b092f769
Comment by Gerrit Gerrit [ 2019-07-1 ]
Change oioioi~master~I573709130ff390a360a213eda3fba943b092f769, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3288

(SIO-2258) "Shared with me" tab in the problemset

Change-Id: I573709130ff390a360a213eda3fba943b092f769




[SIO-2257] Choose task privacy on upload Created: 2019-06-11  Updated: 2019-09-19  Resolved: 2019-09-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: friendship


 Description   
Options we want:
- Only me
- Me and my friends

We don't want to add option to make a task public at this time.

The default should be "Me and my friends" unless last task uploaded to the contest was with permission "Only me"

 Comments   
Comment by Gerrit Gerrit [ 2019-07-4 ]
Change oioioi~master~Ie9f9107c95ae99a58cac0a082f4580a6a4547239, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3295

(SIO-2257) Choose task privacy on upload.

Modifies existing form to allow for specifying problem visibility.
If no additional data is provided, the visibility defaults to specified value.

Change-Id: Ie9f9107c95ae99a58cac0a082f4580a6a4547239
Comment by Gerrit Gerrit [ 2019-07-4 ]
Change oioioi~master~Ie9f9107c95ae99a58cac0a082f4580a6a4547239, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3295

(SIO-2257) Choose task privacy on upload.

Modifies existing form to allow for specifying problem visibility.
If no additional data is provided, the visibility defaults to specified value.

Change-Id: Ie9f9107c95ae99a58cac0a082f4580a6a4547239
Comment by Gerrit Gerrit [ 2019-07-7 ]
Change oioioi~master~Ie9f9107c95ae99a58cac0a082f4580a6a4547239, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3295

(SIO-2257) Choose task privacy on upload.

Modifies existing form to allow for specifying problem visibility.
If no additional data is provided, the visibility defaults to specified value.

Change-Id: Ie9f9107c95ae99a58cac0a082f4580a6a4547239
Comment by Gerrit Gerrit [ 2019-07-13 ]
Change oioioi~master~Ie9f9107c95ae99a58cac0a082f4580a6a4547239, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3295

(SIO-2257) Choose task privacy on upload.

Modifies existing form to allow for specifying problem visibility.
If no additional data is provided, the visibility defaults to specified value.

Change-Id: Ie9f9107c95ae99a58cac0a082f4580a6a4547239
Comment by Gerrit Gerrit [ 2019-07-14 ]
Change oioioi~master~Ie9f9107c95ae99a58cac0a082f4580a6a4547239, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3295

(SIO-2257) Choose task privacy on upload.

Modifies existing form to allow for specifying problem visibility.
If no additional data is provided, the visibility defaults to specified value.

Change-Id: Ie9f9107c95ae99a58cac0a082f4580a6a4547239
Comment by Gerrit Gerrit [ 2019-08-17 ]
Change oioioi~master~Ie9f9107c95ae99a58cac0a082f4580a6a4547239, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3295

(SIO-2257) Choose task privacy on upload.

Modifies existing form to allow for specifying problem visibility.
If no additional data is provided, the visibility defaults to specified value.

Change-Id: Ie9f9107c95ae99a58cac0a082f4580a6a4547239




[SIO-2256] Friend management (list, add, remove) Created: 2019-06-11  Updated: 2020-03-3  Resolved: 2019-06-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: friendship


 Comments   
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I985b1c3375ba833ffbcebf207ef76f51f1170f32, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3287

(SIO-2256) Add Friendship managment view

Friendship managment view allows to add, list and remove friends. This
view is available only for teachers. Validation is performed so
non-teacher users can't be added to friends.

Change-Id: I985b1c3375ba833ffbcebf207ef76f51f1170f32
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I985b1c3375ba833ffbcebf207ef76f51f1170f32, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3287

(SIO-2256) Add Friendship managment view

Friendship managment view allows to add, list and remove friends. This
view is available only for teachers. Validation is performed so
non-teacher users can't be added to friends.

Change-Id: I985b1c3375ba833ffbcebf207ef76f51f1170f32
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I985b1c3375ba833ffbcebf207ef76f51f1170f32, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3287

(SIO-2256) Add Friendship managment view

Friendship managment view allows to add, list and remove friends. This
view is available only for teachers. Validation is performed so
non-teacher users can't be added to friends.

Change-Id: I985b1c3375ba833ffbcebf207ef76f51f1170f32
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I985b1c3375ba833ffbcebf207ef76f51f1170f32, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3287

(SIO-2256) Add Friendship managment view

Friendship managment view allows to add, list and remove friends. This
view is available only for teachers. Validation is performed so
non-teacher users can't be added to friends.

Change-Id: I985b1c3375ba833ffbcebf207ef76f51f1170f32
Comment by Gerrit Gerrit [ 2019-06-29 ]
Change oioioi~master~I985b1c3375ba833ffbcebf207ef76f51f1170f32, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3287

(SIO-2256) Add Friendship managment view

Friendship managment view allows to add, list and remove friends. This
view is available only for teachers. Validation is performed so
non-teacher users can't be added to friends.

Change-Id: I985b1c3375ba833ffbcebf207ef76f51f1170f32
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I985b1c3375ba833ffbcebf207ef76f51f1170f32, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3287

(SIO-2256) Add Friendship managment view

Friendship managment view allows to add, list and remove friends. This
view is available only for teachers. Validation is performed so
non-teacher users can't be added to friends.

Change-Id: I985b1c3375ba833ffbcebf207ef76f51f1170f32
Comment by Gerrit Gerrit [ 2019-06-30 ]
Change oioioi~master~I985b1c3375ba833ffbcebf207ef76f51f1170f32, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3287

(SIO-2256) Add Friendship managment view

Friendship managment view allows to add, list and remove friends. This
view is available only for teachers. Validation is performed so
non-teacher users can't be added to friends.

Change-Id: I985b1c3375ba833ffbcebf207ef76f51f1170f32




[SIO-2255] Friendship model Created: 2019-06-11  Updated: 2020-03-3  Resolved: 2019-06-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: friendship


 Comments   
Comment by Gerrit Gerrit [ 2019-06-16 ]
Change oioioi~master~I32f9428be6fea0d5ea4b9f02e8637e220293baf5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3248

(SIO-2255) Friendship model

Creates Problemsharing app, Friendship model, modifies problem
visibility storage (is_public -> visibility).

Change-Id: I32f9428be6fea0d5ea4b9f02e8637e220293baf5
Comment by Gerrit Gerrit [ 2019-06-16 ]
Change oioioi~master~I32f9428be6fea0d5ea4b9f02e8637e220293baf5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3248

(SIO-2255) Friendship model

- Creates Problemsharing app
- Adds Friendship model
- Modifies problem visibility storage (is_public -> visibility)
- Creates TestCaseMigrations utility class

Change-Id: I32f9428be6fea0d5ea4b9f02e8637e220293baf5
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I32f9428be6fea0d5ea4b9f02e8637e220293baf5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3248

(SIO-2255) Friendship model

- Creates Problemsharing app
- Adds Friendship model
- Modifies problem visibility storage (is_public -> visibility)
- Creates TestCaseMigrations utility class

Change-Id: I32f9428be6fea0d5ea4b9f02e8637e220293baf5




Add groups (SIO-2213)

[SIO-2254] Add link to usergroups list in simpleui teachers dashboard Created: 2019-06-5  Updated: 2020-03-3  Resolved: 2019-06-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups


 Comments   
Comment by Gerrit Gerrit [ 2019-06-12 ]
Change oioioi~master~I076b45052dd735c7ae309eb2a08501109f8a6bf5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3241

(SIO-2254) Add link to usergroups list in simpleui teachers dashboard

Change-Id: I076b45052dd735c7ae309eb2a08501109f8a6bf5




[SIO-2253] Create need models for storing compiler info Created: 2019-06-5  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Piotr Wojtczak Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Add models to allow storing used compilers in specific problem instances and contests

 Comments   
Comment by Gerrit Gerrit [ 2019-06-5 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create need models for storing compiler info

Added two new many to one relations:

a) ProblemCompiler, which represents the compiler set for a particular problem instance and language

b) ContestCompiler, which represents contest-wide compiler settings for a language

Migration included in this commit also performs populating the ProblemCompiler table
with default compilers for every lanugage specified in settings

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-5 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added two new many to one relations:

a) ProblemCompiler, which represents the compiler set for a particular problem instance and language

b) ContestCompiler, which represents contest-wide compiler settings for a language

Migration included in this commit also performs populating the ProblemCompiler table
with default compilers for every lanugage specified in settings

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-7 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added a new many to one relation, ContestCompiler, which represents contest-wide
compiler settings for a language.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-11 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added a new many to one relation, ContestCompiler, which represents contest-wide
compiler settings for a language.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-11 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added two new many to one relations representing compilers associated
with different models:

a) ContestCompiler, which represents contest-wide compiler settings. This will allow
contests to locally override compilers set for problems.

b) ProblemCompiler, which represents compilers used for this problem when no others
are specified. Instances of this are created when a new problem is uploaded
and set to values taken from DEFAULT_COMPILERS setting.

This change also increments the config version in settings to 32.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-11 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added two new many to one relations representing compilers associated
with different models:

a) ContestCompiler, which represents contest-wide compiler settings. This will allow
contests to locally override compilers set for problems.

b) ProblemCompiler, which represents compilers used for this problem when no others
are specified. Instances of this are created when a new problem is uploaded
and set to values taken from DEFAULT_COMPILERS setting.

This change also increments the config version in settings to 32.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added two new many to one relations representing compilers associated
with different models:

a) ContestCompiler, which represents contest-wide compiler settings. This will allow
contests to locally override compilers set for problems.

b) ProblemCompiler, which represents compilers used for this problem when no others
are specified. Instances of this are created when a new problem is uploaded
and set to values taken from DEFAULT_COMPILERS setting.

This change also increments the config version in settings to 32.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added two new many to one relations representing compilers associated
with different models:

a) ContestCompiler, which represents contest-wide compiler settings. This will allow
contests to locally override compilers set for problems.

b) ProblemCompiler, which represents compilers used for this problem when no others
are specified. Instances of this are created when a new problem is uploaded
and set to values taken from DEFAULT_COMPILERS setting.

This change also increments the config version in settings to 32.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added two new many to one relations representing compilers associated
with different models:

a) ContestCompiler, which represents contest-wide compiler settings. This will allow
contests to locally override compilers set for problems.

b) ProblemCompiler, which represents compilers used for this problem when no others
are specified. Instances of this are created when a new problem is uploaded
and set to values taken from DEFAULT_COMPILERS setting.

This change also increments the config version in settings to 34.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added two new many to one relations representing compilers associated
with different models:

a) ContestCompiler, which represents contest-wide compiler settings. This will allow
contests to locally override compilers set for problems.

b) ProblemCompiler, which represents compilers used for this problem when no others
are specified. Instances of this are created when a new problem is uploaded
and set to values taken from DEFAULT_COMPILERS setting.

This change also increments the config version in settings to 34.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added two new many to one relations representing compilers associated
with different models:

a) ContestCompiler, which represents contest-wide compiler settings. This will allow
contests to locally override compilers set for problems.

b) ProblemCompiler, which represents compilers used for this problem when no others
are specified. Instances of this are created when a new problem is uploaded
and set to values taken from DEFAULT_COMPILERS setting.

This change also increments the config version in settings to 34.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I7a3e0e6444211344fb08883169d1d509405e596b, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3239

(SIO-2253) Create new models for storing compiler info

Added two new many to one relations representing compilers associated
with different models:

a) ContestCompiler, which represents contest-wide compiler settings. This will allow
contests to locally override compilers set for problems.

b) ProblemCompiler, which represents compilers used for this problem when no others
are specified. Instances of this are created when a new problem is uploaded
and set to values taken from DEFAULT_COMPILERS setting.

This change also increments the config version in settings to 34.

Change-Id: I7a3e0e6444211344fb08883169d1d509405e596b




[SIO-2252] Add showing django messages in simpleui pages Created: 2019-05-25  Updated: 2020-03-3  Resolved: 2019-06-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-06-13 ]
Change oioioi~master~Id889698c24ad64b599fc686e4c9f58da690dc788, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3244

(SIO-2252) Add showing django messages in simpleui pages

Change-Id: Id889698c24ad64b599fc686e4c9f58da690dc788
Comment by Gerrit Gerrit [ 2019-06-13 ]
Change oioioi~master~Id889698c24ad64b599fc686e4c9f58da690dc788, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3244

(SIO-2252) Add showing django messages in simpleui pages

Change-Id: Id889698c24ad64b599fc686e4c9f58da690dc788
Comment by Gerrit Gerrit [ 2019-06-16 ]
Change oioioi~master~Id889698c24ad64b599fc686e4c9f58da690dc788, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3244

(SIO-2252) Add showing django messages in simpleui pages

Change-Id: Id889698c24ad64b599fc686e4c9f58da690dc788
Comment by Gerrit Gerrit [ 2019-06-16 ]
Change oioioi~master~Id889698c24ad64b599fc686e4c9f58da690dc788, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3244

(SIO-2252) Add showing django messages in simpleui pages

Change-Id: Id889698c24ad64b599fc686e4c9f58da690dc788




Improve notifications (SIO-2247)

[SIO-2251] Rework notifications menu into recent submissions menu Created: 2019-05-21  Updated: 2020-03-3  Resolved: 2019-06-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-06-10 ]
Change oioioi~master~I2789bb60d2c7fb50f1a79f94fb9a912936b3989e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3240

SIO-2251 Implement latest submissions endpoint

Note this version isn't probably safe and shows all submissions

Change-Id: I2789bb60d2c7fb50f1a79f94fb9a912936b3989e
Comment by Gerrit Gerrit [ 2019-06-10 ]
Change oioioi~master~I2789bb60d2c7fb50f1a79f94fb9a912936b3989e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3240

SIO-2251 Implement latest submissions endpoint

Note this version isn't probably safe and shows all submissions

Change-Id: I2789bb60d2c7fb50f1a79f94fb9a912936b3989e
Comment by Gerrit Gerrit [ 2019-06-11 ]
Change oioioi~master~I2789bb60d2c7fb50f1a79f94fb9a912936b3989e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3240

SIO-2251 Implement latest submissions endpoint

Returns html table of last 5 submissions.

Change-Id: I2789bb60d2c7fb50f1a79f94fb9a912936b3989e
Comment by Gerrit Gerrit [ 2019-06-11 ]
Change oioioi~master~I2789bb60d2c7fb50f1a79f94fb9a912936b3989e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3240

(SIO-2251) Implement latest submissions endpoint

Returns html table of last 5 submissions.

Change-Id: I2789bb60d2c7fb50f1a79f94fb9a912936b3989e
Comment by Gerrit Gerrit [ 2019-06-13 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-13 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2251) Add system notifications

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-18 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I4ca2e4921ab87bab00df87397ff8021d48cad8ac, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3261

(SIO-2247) Acknowledge notifications immediately

This change removes buffering of notifications on the notifications
server. The effect is that notifications will be silently dropped if
user is not connected at the time the notification is sent.

That will be fine once SIO-2251 is merged.

Change-Id: I4ca2e4921ab87bab00df87397ff8021d48cad8ac
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I4ca2e4921ab87bab00df87397ff8021d48cad8ac, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3261

(SIO-2247) Remove notifications buffering and acknowledgement

This change removes buffering of notifications on the notifications
server. The effect is that notifications will be silently dropped if
user is not connected at the time the notification is sent.

It makes all notifications volatile.

That will be fine once SIO-2251 is merged.

Change-Id: I4ca2e4921ab87bab00df87397ff8021d48cad8ac
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I612250262fc7e57ba4948f1c19775bae8ade7f1d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3262

(SIO-2251) Add notification kind field

It will allow to change elements of the interface according
to the notification kind.

Change-Id: I612250262fc7e57ba4948f1c19775bae8ade7f1d
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I612250262fc7e57ba4948f1c19775bae8ade7f1d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3262

(SIO-2251) Include type in notification

It will allow to change elements of the interface according
to this field.

Also improves documentation of send_notification function.

Change-Id: I612250262fc7e57ba4948f1c19775bae8ade7f1d
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 26
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I4ca2e4921ab87bab00df87397ff8021d48cad8ac, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3261

(SIO-2247) Remove notifications buffering and acknowledgement

This change removes buffering of notifications on the notifications
server. The effect is that notifications will be silently dropped if
user is not connected at the time the notification is sent.

It makes all notifications volatile.

That will be fine once SIO-2251 is merged.

Change-Id: I4ca2e4921ab87bab00df87397ff8021d48cad8ac
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Ie115a4cf63b9ea4032aebafbaf91e8a067484171, patchset 27
https://gerrit.sio2project.mimuw.edu.pl/3242

(SIO-2251) Replace notifications list with recent submissions list

Change-Id: Ie115a4cf63b9ea4032aebafbaf91e8a067484171




Improve notifications (SIO-2247)

[SIO-2250] Fix new public question notifications Created: 2019-05-21  Updated: 2019-05-21

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Zuzanna Opała Assignee: Zuzanna Opała
Resolution: Unresolved Votes: 0
Labels: None





Improve notifications (SIO-2247)

[SIO-2249] Add scores to notifications Created: 2019-05-21  Updated: 2019-06-25

Status: Open
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Zuzanna Opała Assignee: Zuzanna Opała
Resolution: Unresolved Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I1ee983744f9ddd54776b231260c07cc87fbf76c8, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3252

(SIO-2249) Add score to notifications

Change-Id: I1ee983744f9ddd54776b231260c07cc87fbf76c8
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I1ee983744f9ddd54776b231260c07cc87fbf76c8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3252

(SIO-2249) Add score to notifications

Change-Id: I1ee983744f9ddd54776b231260c07cc87fbf76c8
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I1ee983744f9ddd54776b231260c07cc87fbf76c8, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3252

(SIO-2249) Add score to notifications

Change-Id: I1ee983744f9ddd54776b231260c07cc87fbf76c8
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I1ee983744f9ddd54776b231260c07cc87fbf76c8, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3252

(SIO-2249) Add score to notifications

Change-Id: I1ee983744f9ddd54776b231260c07cc87fbf76c8
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I1ee983744f9ddd54776b231260c07cc87fbf76c8, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3252

(SIO-2249) Add score to notifications

Change-Id: I1ee983744f9ddd54776b231260c07cc87fbf76c8
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I1ee983744f9ddd54776b231260c07cc87fbf76c8, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3252

(SIO-2249) Add score to notifications

Change-Id: I1ee983744f9ddd54776b231260c07cc87fbf76c8
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I1ee983744f9ddd54776b231260c07cc87fbf76c8, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3252

(SIO-2249) Add score to notifications

Change-Id: I1ee983744f9ddd54776b231260c07cc87fbf76c8




Improve notifications (SIO-2247)

[SIO-2248] Use system notifications Created: 2019-05-21  Updated: 2020-03-3  Resolved: 2019-06-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-06-13 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-15 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a subtle refactor of the clientside translation system
to make use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a refactor of the clientside translation system to make
use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a refactor of the clientside translation system to make
use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a refactor of the clientside translation system to make
use of promises.

Notification actions are considered out of scope here, because they
require a service worker to be introduced.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a refactor of the clientside translation system to make
use of promises.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a refactor of the clientside translation system to make
use of promises.

Change-Id: I7b69714036f87aa614206618282d06608b884e09
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I7b69714036f87aa614206618282d06608b884e09, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/3243

(SIO-2248) Add system notifications

Included is also a refactor of the clientside translation system to make
use of promises.

Change-Id: I7b69714036f87aa614206618282d06608b884e09




[SIO-2247] Improve notifications Created: 2019-05-21  Updated: 2019-06-23

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Zuzanna Opała Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2248 Use system notifications Sub-task Closed Szymon Acedański  
SIO-2249 Add scores to notifications Sub-task Open Zuzanna Opała  
SIO-2250 Fix new public question notifications Sub-task New Zuzanna Opała  
SIO-2251 Rework notifications menu into recent... Sub-task Closed Szymon Acedański  

 Comments   
Comment by Zuzanna Opała [ 2019-05-21 ]
Some additional features which could be:
- notifications on new questions
- fixing errors caused by management command
Comment by Gerrit Gerrit [ 2019-06-19 ]
Change oioioi~master~Iae0f1de69e60f798a16e04471bfd74f6fecb71d8, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3251

(SIO-2247) Fix red minus sign randomly appearing on navbar

Actually it was the new messages badge, because the generic code for
creating navbar badges always created a badge, even if it was completely
empty.

Change-Id: Iae0f1de69e60f798a16e04471bfd74f6fecb71d8
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Iae0f1de69e60f798a16e04471bfd74f6fecb71d8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3251

(SIO-2247) Fix red minus sign randomly appearing on navbar

Actually it was the new messages badge, because the generic code for
creating navbar badges always created a badge, even if it was completely
empty.

Change-Id: Iae0f1de69e60f798a16e04471bfd74f6fecb71d8
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I4ca2e4921ab87bab00df87397ff8021d48cad8ac, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3261

(SIO-2247) Acknowledge notifications immediately

This change removes buffering of notifications on the notifications
server. The effect is that notifications will be silently dropped if
user is not connected at the time the notification is sent.

That will be fine once SIO-2251 is merged.

Change-Id: I4ca2e4921ab87bab00df87397ff8021d48cad8ac
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~I4ca2e4921ab87bab00df87397ff8021d48cad8ac, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3261

(SIO-2247) Remove notifications buffering and acknowledgement

This change removes buffering of notifications on the notifications
server. The effect is that notifications will be silently dropped if
user is not connected at the time the notification is sent.

It makes all notifications volatile.

That will be fine once SIO-2251 is merged.

Change-Id: I4ca2e4921ab87bab00df87397ff8021d48cad8ac
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I4ca2e4921ab87bab00df87397ff8021d48cad8ac, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3261

(SIO-2247) Remove notifications buffering and acknowledgement

This change removes buffering of notifications on the notifications
server. The effect is that notifications will be silently dropped if
user is not connected at the time the notification is sent.

It makes all notifications volatile.

That will be fine once SIO-2251 is merged.

Change-Id: I4ca2e4921ab87bab00df87397ff8021d48cad8ac




Create some useful API endpoints (SIO-2219)

[SIO-2246] API endpoint for solution submission Created: 2019-05-20  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Zuzanna Opała Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-05-20 ]
Change oioioi~master~Id2ce36d7a2fdca5b7598f4734b348e1fb2c36527, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3237

SIO-2246 Add API endpoints for submiting solutions

This commit adds API endpoints for submitting solution of problems
for both contest and problemset.

It is also first example of integration of existing SIO 2 functions
with the Django Rest Framework interface. It has proper autamaticly
generated documentation and can be used as reference for adding
descriptions to path parameters or optional post fields.

I am not sure if contest app is the best choice for those endpoints.

Change-Id: Id2ce36d7a2fdca5b7598f4734b348e1fb2c36527
Comment by Gerrit Gerrit [ 2019-05-20 ]
Change oioioi~master~Id2ce36d7a2fdca5b7598f4734b348e1fb2c36527, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3237

SIO-2246 Add API endpoints for submiting solutions

This commit adds API endpoints for submitting solution of problems
for both contest and problemset.

It is also first example of integration of existing SIO 2 functions
with the Django Rest Framework interface. It has proper autamaticly
generated documentation and can be used as reference for adding
descriptions to path parameters or optional post fields.

I am not sure if contest app is the best choice for those endpoints.

Change-Id: Id2ce36d7a2fdca5b7598f4734b348e1fb2c36527
Comment by Gerrit Gerrit [ 2019-05-25 ]
Change oioioi~master~Id2ce36d7a2fdca5b7598f4734b348e1fb2c36527, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3237

SIO-2246 Add API endpoints for submiting solutions

This commit adds API endpoints for submitting solution of problems
for both contest and problemset.

It is also first example of integration of existing SIO 2 functions
with the Django Rest Framework interface. It has proper autamaticly
generated documentation and can be used as reference for adding
descriptions to path parameters or optional post fields.

I am not sure if contest app is the best choice for those endpoints.

Change-Id: Id2ce36d7a2fdca5b7598f4734b348e1fb2c36527
Comment by Gerrit Gerrit [ 2019-05-25 ]
Change oioioi~master~Id2ce36d7a2fdca5b7598f4734b348e1fb2c36527, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3237

SIO-2246 Add API endpoints for submiting solutions

This commit adds API endpoints for submitting solution of problems
for both contest and problemset.

It is also first example of integration of existing SIO 2 functions
with the Django Rest Framework interface. It has proper autamaticly
generated documentation and can be used as reference for adding
descriptions to path parameters or optional post fields.

I am not sure if contest app is the best choice for those endpoints.

Change-Id: Id2ce36d7a2fdca5b7598f4734b348e1fb2c36527




[SIO-2245] Introduce new settings tab in problem site Created: 2019-05-14  Updated: 2020-03-3  Resolved: 2019-06-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Piotr Wojtczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Rework the design of the problem site and add a new tab - settings, for better problem management.

 Comments   
Comment by Gerrit Gerrit [ 2019-05-14 ]
Change oioioi~master~I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3231

(SIO-2245) Introduce new settings tab in problem site

This change involves creating a new tab for problem management, making it easier
for admin to navigate and laying grounds for tag user's proposals.

It also introduces some further changes to the problemsite's and problemset's layout.

Change-Id: I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98
Comment by Gerrit Gerrit [ 2019-05-18 ]
Change oioioi~master~I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3231

(SIO-2245) Introduce new settings tab in problem site

This change involves creating a new tab for problem management, making it easier
for admin to navigate and laying grounds for tag user's proposals.

It also introduces some further changes to the problemsite's and problemset's layout.

Change-Id: I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98
Comment by Gerrit Gerrit [ 2019-05-18 ]
Change oioioi~master~I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3231

(SIO-2245) Introduce new settings tab in problem site

This change involves creating a new tab for problem management, making it easier
for admin to navigate and laying grounds for tag user's proposals.

It also introduces some further changes to the problemsite's and problemset's layout.

Change-Id: I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98
Comment by Gerrit Gerrit [ 2019-05-18 ]
Change oioioi~master~I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3231

(SIO-2245) Introduce new settings tab in problem site

This change involves creating a new tab for problem management, making it easier
for admin to navigate and laying grounds for tag user's proposals.

It also introduces some further changes to the problemsite's and problemset's layout.

Change-Id: I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98
Comment by Gerrit Gerrit [ 2019-05-21 ]
Change oioioi~master~I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3231

(SIO-2245) Introduce new settings tab in problem site

This change involves creating a new tab for problem management, making it easier
for admin to navigate and laying grounds for tag user's proposals.

It also introduces some further changes to the problemsite's and problemset's layout.

Change-Id: I32dd01ca0e3fcb933f086093cd4279d8d1fb5d98




[SIO-2244] Migrate old tags on Szkopuł to new algorithm/origin tags Created: 2019-05-12  Updated: 2021-04-27  Resolved: 2021-03-23

Status: Resolved
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Jakub Bartmiński Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Blocks
is blocked by SIO-2314 Algorithm tags are not translatable Resolved

 Comments   
Comment by Gerrit Gerrit [ 2021-03-23 ]
Change oioioi~master~I7c0f0668ce0cc56335efcc7c6cb0b88338656956, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3636

(SIO-2244) Migrate old tags on Szkopul to new algorithm/origin tags

Implemented custom django-admin command for migrating old legacy tags
to new origin or algorithm tags.

Added a test case and mock files for testing purposes.

Change-Id: I7c0f0668ce0cc56335efcc7c6cb0b88338656956
Comment by Gerrit Gerrit [ 2021-03-23 ]
Change oioioi~master~I7c0f0668ce0cc56335efcc7c6cb0b88338656956, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3636

(SIO-2244) Migrate old tags on Szkopul to new algorithm/origin tags

Implemented custom django-admin command for migrating old legacy tags
to new origin or algorithm tags.

Added a test case and mock files for testing purposes.

Change-Id: I7c0f0668ce0cc56335efcc7c6cb0b88338656956
Comment by Gerrit Gerrit [ 2021-03-23 ]
Change oioioi~master~I7c0f0668ce0cc56335efcc7c6cb0b88338656956, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3636

(SIO-2244) Migrate old tags on Szkopul to new algorithm/origin tags

Implemented custom django-admin command for migrating old legacy tags
to new origin or algorithm tags.

Added a test case and mock files for testing purposes.

Change-Id: I7c0f0668ce0cc56335efcc7c6cb0b88338656956
Comment by Gerrit Gerrit [ 2021-03-23 ]
Change oioioi~master~I7c0f0668ce0cc56335efcc7c6cb0b88338656956, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3636

(SIO-2244) Migrate old tags on Szkopul to new algorithm/origin tags

Implemented custom django-admin command for migrating old legacy tags
to new origin or algorithm tags.

Added a test case and mock files for testing purposes.

Change-Id: I7c0f0668ce0cc56335efcc7c6cb0b88338656956
Comment by Gerrit Gerrit [ 2021-03-23 ]
Change oioioi~master~I7c0f0668ce0cc56335efcc7c6cb0b88338656956, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3636

(SIO-2244) Migrate old tags on Szkopul to new algorithm/origin tags

Implemented custom django-admin command for migrating old legacy tags
to new origin or algorithm tags.

Added a test case and mock files for testing purposes.

Change-Id: I7c0f0668ce0cc56335efcc7c6cb0b88338656956
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I6f61e35e476093241ee81270e90cd83155bfcacb, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3656

(fixes SIO-2244) Migrate old tags on Szkopul to new algorithm tags

Modify AlgorithmTag and AlgorithmTagLocalization fields
to accomodate for shorter algorithm names shortcuts
and longer translated names.

Change views to accomodate for AlgorithmTag and
AlgorithmTagLocalization fields modifications.

Implement custom django-admin command for migrating old legacy
algorithm tags to new origin or algorithm tags.

Add a test case and mock files for custom command testing purposes.

Change-Id: I6f61e35e476093241ee81270e90cd83155bfcacb
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I6f61e35e476093241ee81270e90cd83155bfcacb, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3656

(fixes SIO-2244) Migrate old tags on Szkopul to new algorithm tags

Modify AlgorithmTag and AlgorithmTagLocalization fields
to accomodate for shorter algorithm names shortcuts
and longer translated names.

Change views to accomodate for AlgorithmTag and
AlgorithmTagLocalization fields modifications.

Implement custom django-admin command for migrating old legacy
algorithm tags to new origin or algorithm tags.

Add a test case and mock files for custom command testing purposes.

Change-Id: I6f61e35e476093241ee81270e90cd83155bfcacb
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I6f61e35e476093241ee81270e90cd83155bfcacb, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3656

(fixes SIO-2244) Migrate old tags on Szkopul to new algorithm tags

Modify AlgorithmTag and AlgorithmTagLocalization fields
to accomodate for shorter algorithm names shortcuts
and longer translated names.

Change views to accomodate for AlgorithmTag and
AlgorithmTagLocalization fields modifications.

Implement custom django-admin command for migrating old legacy
algorithm tags to new algorithm tags.

Add a test case and mock files for custom command testing purposes.

Change-Id: I6f61e35e476093241ee81270e90cd83155bfcacb
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I6f61e35e476093241ee81270e90cd83155bfcacb, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3656

(fixes SIO-2244) Migrate old tags on Szkopul to new algorithm tags

Modify AlgorithmTag and AlgorithmTagLocalization fields
to accomodate for shorter algorithm names shortcuts
and longer translated names.

Change views to accomodate for AlgorithmTag and
AlgorithmTagLocalization fields modifications.

Implement custom django-admin command for migrating old legacy
algorithm tags to new algorithm tags.

Add a test case and mock files for custom command testing purposes.

Change-Id: I6f61e35e476093241ee81270e90cd83155bfcacb
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I6f61e35e476093241ee81270e90cd83155bfcacb, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3656

(fixes SIO-2244) Migrate old tags on Szkopul to new algorithm tags

Modify AlgorithmTag and AlgorithmTagLocalization fields
to accomodate for shorter algorithm names shortcuts
and longer translated names.

Change views to accomodate for AlgorithmTag and
AlgorithmTagLocalization fields modifications.

Implement custom django-admin command for migrating old legacy
algorithm tags to new algorithm tags.

Add a test case and mock files for custom command testing purposes.

Change-Id: I6f61e35e476093241ee81270e90cd83155bfcacb
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I6f61e35e476093241ee81270e90cd83155bfcacb, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3656

(fixes SIO-2244) Migrate old tags on Szkopul to new algorithm tags

Modify AlgorithmTag and AlgorithmTagLocalization fields
to accomodate for shorter algorithm names shortcuts
and longer translated names.

Change views to accomodate for AlgorithmTag and
AlgorithmTagLocalization fields modifications.

Implement custom django-admin command for migrating old legacy
algorithm tags to new algorithm tags.

Add a test case and mock files for custom command testing purposes.

Change-Id: I6f61e35e476093241ee81270e90cd83155bfcacb
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I6f61e35e476093241ee81270e90cd83155bfcacb, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3656

(fixes SIO-2244) Migrate old tags on Szkopul to new algorithm tags

Modify AlgorithmTag and AlgorithmTagLocalization fields
to accomodate for shorter algorithm names shortcuts
and longer translated names.

Change views to accomodate for AlgorithmTag and
AlgorithmTagLocalization fields modifications.

Implement custom django-admin command for migrating old legacy
algorithm tags to new algorithm tags.

Add a test case and mock files for custom command testing purposes.

Change-Id: I6f61e35e476093241ee81270e90cd83155bfcacb
Comment by Gerrit Gerrit [ 2021-04-13 ]
Change oioioi~master~I6f61e35e476093241ee81270e90cd83155bfcacb, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3656

(fixes SIO-2244) Migrate old tags on Szkopul to new algorithm tags

Modify AlgorithmTag and AlgorithmTagLocalization fields
to accomodate for shorter algorithm names shortcuts
and longer translated names.

Change views to accomodate for AlgorithmTag and
AlgorithmTagLocalization fields modifications.

Implement custom django-admin command for migrating old legacy
algorithm tags to new algorithm tags.

Add a test case and mock files for custom command testing purposes.

Change-Id: I6f61e35e476093241ee81270e90cd83155bfcacb
Comment by Gerrit Gerrit [ 2021-04-19 ]
Change oioioi~master~I1948468095862c2d485f8e7a41ca975b1c75523c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3666

(fixes SIO-2244) Migrate old tags on Szkopul to new origin tags

Implement custom django-admin command for migrating old legacy
origin tags to new origin tags.

Implement custom django-admin command for copying problem statements
from problem with no new origin tags added to corresponding problems
with new origin tags alreadt added.

Add tests and mock files for custom commands testing purposes.

Add files to be used during migration.

Change-Id: I1948468095862c2d485f8e7a41ca975b1c75523c
Comment by Gerrit Gerrit [ 2021-04-19 ]
Change oioioi~master~Ib15ead7c14bc3352957b5e1480b81b1d99532a24, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3667

(fixes SIO-2244) Change language codes from uppercase to lowercase

Change-Id: Ib15ead7c14bc3352957b5e1480b81b1d99532a24
Comment by Gerrit Gerrit [ 2021-04-20 ]
Change oioioi~master~Ib266fb809ccb18c660950edb5d08445bf827307e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3674

(fixes SIO-2244) Add languages when copying problems statements

Change-Id: Ib266fb809ccb18c660950edb5d08445bf827307e
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~master~Ifb5e19d8fbc02285c32a39d215874e4f6c9c03ef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3689

(SIO-2244) Handle multiple problem statements when copying them

Change-Id: Ifb5e19d8fbc02285c32a39d215874e4f6c9c03ef
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~master~Ifb5e19d8fbc02285c32a39d215874e4f6c9c03ef, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3689

(SIO-2244) Handle multiple problem statements when copying them

Change-Id: Ifb5e19d8fbc02285c32a39d215874e4f6c9c03ef
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~master~Ifb5e19d8fbc02285c32a39d215874e4f6c9c03ef, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3689

(SIO-2244) Handle multiple problem statements when copying them

Change-Id: Ifb5e19d8fbc02285c32a39d215874e4f6c9c03ef
Comment by Gerrit Gerrit [ 2021-04-27 ]
Change oioioi~master~Ifb5e19d8fbc02285c32a39d215874e4f6c9c03ef, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3689

(SIO-2244) Handle multiple problem statements when copying them

Change-Id: Ifb5e19d8fbc02285c32a39d215874e4f6c9c03ef




[SIO-2243] Construct Task Archive dynamically from OriginTags Created: 2019-05-12  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Jakub Bartmiński Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-05-18 ]
Change oioioi~master~I7f0bda8b5d4d5e0f9ce1c39b1f153c649d464fb7, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3234

(SIO-2243) Remodel OriginTags for new Task Archive

This change improves the system of OriginTags to work better with the
idea of a dynamically generated task archive.
The changed system works as follows:

There are three models describing a task's origin:
 - OriginTag - for general origin information, e.g. 'oi'
 - OriginMeta - category specifying the OriginTag, e.g. 'year'
 - OriginMetaValue - possible value for the OriginMeta e.g. '2011'

A complete 'tag' as it would appear for example in the problemset, is
a combination of 'tag_meta_metavalue', e.g. 'oi_year_2011'. For this
reason the models' values are validated to only contain lowercase
letters, numbers, and hyphens (no underscores).

Helper models of OriginTagThrough, OriginMetaThrough are used to store
m2m relationships of Problem-OriginTag and Problem-OriginMeta(+Value)

All three store additional localized values for displaying neatly to
users in the respective models with 'Localization' appended, i.e.
OriginTagLocalization, OriginMetaLocalization,
OriginMetaValueLocalization.
(This is needed because the values are stored in the database, not in
 the code, so it is impossible to localize then in the usual way)

To manage the models (and their localizations), three new admins are added -
one for each model. Another two inline admins are added to the Problem admin
for managing the m2m relationship.

Change-Id: I7f0bda8b5d4d5e0f9ce1c39b1f153c649d464fb7
Comment by Gerrit Gerrit [ 2019-05-18 ]
Change oioioi~master~Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3235

(SIO-2243) Display Task Archive dynamically

This changes uses the new OriginTags to display the Task Archive,
instead of just hardcoding all the problems in some page. After choosing
an OriginTag, all the problems tagged with it are displayed, grouped by
the tag's OriginMeta. Filtering for specific OriginMetaValues is also
possible.

Also changed two global links to link to the new Task Archive instead
of a global portal.

Change-Id: Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa
Comment by Gerrit Gerrit [ 2019-05-20 ]
Change oioioi~master~I7f0bda8b5d4d5e0f9ce1c39b1f153c649d464fb7, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3234

(SIO-2243) Remodel OriginTags for new Task Archive

This change improves the system of OriginTags to work better with the
idea of a dynamically generated task archive.
The changed system works as follows:

There are three models describing a task's origin:
 - OriginTag - for general origin information, e.g. 'oi'
 - OriginMeta - category specifying the OriginTag, e.g. 'year'
 - OriginMetaValue - possible value for the OriginMeta e.g. '2011'

A complete 'tag' as it would appear for example in the problemset, is
a combination of 'tag_meta_metavalue', e.g. 'oi_year_2011'. For this
reason the models' values are validated to only contain lowercase
letters, numbers, and hyphens (no underscores).

Helper models of OriginTagThrough, OriginMetaThrough are used to store
m2m relationships of Problem-OriginTag and Problem-OriginMeta(+Value)

All three store additional localized values for displaying neatly to
users in the respective models with 'Localization' appended, i.e.
OriginTagLocalization, OriginMetaLocalization,
OriginMetaValueLocalization.
(This is needed because the values are stored in the database, not in
 the code, so it is impossible to localize then in the usual way)

To manage the models (and their localizations), three new admins are added -
one for each model. Another two inline admins are added to the Problem admin
for managing the m2m relationship.

v2:
Made the new OriginTags display in the Problemset.
Updated problemset searching to work with the new system.
Updated and added tests.

Change-Id: I7f0bda8b5d4d5e0f9ce1c39b1f153c649d464fb7
Comment by Gerrit Gerrit [ 2019-05-21 ]
Change oioioi~master~Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3235

(SIO-2243) Display Task Archive dynamically

This changes uses the new OriginTags to display the Task Archive,
instead of just hardcoding all the problems in some page. After choosing
an OriginTag, all the problems tagged with it are displayed, grouped by
the tag's OriginMeta. Filtering for specific OriginMetaValues is also
possible.

Also changed two global links to link to the new Task Archive instead
of a global portal.

v2:
Refactored and split task_archive_tag_view into helper functions.
Added tests for the Task Archive and filtering.

Change-Id: Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa
Comment by Gerrit Gerrit [ 2019-05-21 ]
Change oioioi~master~Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3235

(SIO-2243) Display Task Archive dynamically

This changes uses the new OriginTags to display the Task Archive,
instead of just hardcoding all the problems in some page. After choosing
an OriginTag, all the problems tagged with it are displayed, grouped by
the tag's OriginMeta. Filtering for specific OriginMetaValues is also
possible.

Also changed two global links to link to the new Task Archive instead
of a global portal.

v2:
Refactored and split task_archive_tag_view into helper functions.
Added tests for the Task Archive and filtering.

Change-Id: Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa
Comment by Gerrit Gerrit [ 2019-06-16 ]
Change oioioi~master~I7f0bda8b5d4d5e0f9ce1c39b1f153c649d464fb7, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3234

(SIO-2243) Remodel OriginTags for new Task Archive

This change improves the system of OriginTags to work better with the
idea of a dynamically generated task archive.
The changed system works as follows:

There are three models describing a task's origin:
 - OriginTag - for general origin information, e.g. 'oi'
 - OriginInfoCategory - category specifying the OriginTag, e.g. 'year'
 - OriginInfoValue - allowed value for the category e.g. '2011'

A complete 'tag' as it would appear for example in the problemset, is
a combination of tag and value, e.g. 'oi_2011'. For this reason the
values are validated to only contain lowercase letters, numbers, and
hyphens (no underscores).
This also means that OriginInfoValues should be descriptive on their
own, without its category (i.e. for Round 1, 'r1' is good, '1' is bad)

All three store additional localized values for displaying neatly to
users in the respective Localization models - OriginTagLocalization,
OriginInfoCategoryLocalization, and OriginInfoValueLocalization.
(This is needed because the values are stored in the database, not in
 the code, so it is impossible to localize them in the usual way)

To manage the models (and their localizations), three new admins are added -
one for each model. Another two inline admins are added to the Problem admin
for managing the m2m relationship from the Problem side.

Search in the problemset is rebuilt to make use of the new tags -
see the `search_problems_in_problemset` as well as the
`init_search_selection` functions.

v2:
Made the new OriginTags display in the Problemset.
Updated problemset searching to work with the new system.
Updated and added tests.

v3:
Changed model names for better clarity.
Removed the custom m2m through models - the default admin works much
better with the default ones - slightly changed the FK and m2m hierarchy
to reflect this.
Completely rebuilt the Problemset search.
Changed old tests to accomodate this and added new tests and fixtures.

Change-Id: I7f0bda8b5d4d5e0f9ce1c39b1f153c649d464fb7
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I06459423e9441f0fd783e59702fac6f191531169, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3253

(SIO-2243) Remodel OriginTags for new Task Archive [1/5]

This change improves the system of OriginTags to work better with the
idea of a dynamically generated task archive.
The changed system works as follows:

There are three models describing a task's origin:
 - OriginTag - for general origin information, e.g. 'oi'
 - OriginInfoCategory - category specifying the OriginTag, e.g. 'year'
 - OriginInfoValue - allowed value for the category e.g. '2011'

A complete 'tag' as it would appear for example in the problemset, is
a combination of tag and value, e.g. 'oi_2011'. For this reason the
values are validated to only contain lowercase letters, numbers, and
hyphens (no underscores).
This also means that OriginInfoValues should be descriptive on their
own without the category (i.e. for Round 1, 'r1' is good, '1' is bad)

The models store additional localized values for displaying neatly to
users in their respective Localization models - OriginTagLocalization,
OriginInfoCategoryLocalization, and OriginInfoValueLocalization.
(This is needed because the values are stored in the database, not in
 the code, so it is impossible to localize them in the usual way)

v4:
Split into smaller changes

Change-Id: I06459423e9441f0fd783e59702fac6f191531169
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Id56421faf942230c0b8abdc1a5521c4e6130f296, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3254

(SIO-2243) Remodel OriginTags for new Task Archive [2/5]

Added three new admins to manage the models (and their localizations) -
one for each model. Another two inline admins are added to the Problem
admin for managing the m2m relationship from the Problem side. For
Localization classes the LocalizationFormset is added and used.

v4:
Split into smaller changes

Change-Id: Id56421faf942230c0b8abdc1a5521c4e6130f296
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3255

(SIO-2243) Remodel OriginTags for new Task Archive [3/5]

Added displaying the new OriginTags in the problemset.

v4:
Split into smaller changes

Change-Id: Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ida064249855de7f4bd65d69c4b4fe7768b9201e5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3256

(SIO-2243) Remodel OriginTags for new Task Archive [4/5]

Rebuilt the problemset search to make use of the new tags -
see the `search_problems_in_problemset` function.

The search hints will be readded in the next commit.

v4:
Split into smaller changes

Change-Id: Ida064249855de7f4bd65d69c4b4fe7768b9201e5
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I4df59c8712439cc6e0fdba241bfd55276d950b65, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3257

(SIO-2243) Remodel OriginTags for new Task Archive [5/5]

Added the search hints and their usage in the javascript typeahead,
complete with tests.

See the `init_search_selection` js function for details.

v4:
Split into smaller changes

Change-Id: I4df59c8712439cc6e0fdba241bfd55276d950b65
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ida064249855de7f4bd65d69c4b4fe7768b9201e5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3256

(SIO-2243) Remodel OriginTags for new Task Archive [4/5]

Rebuilt the problemset search to make use of the new tags -
see the `search_problems_in_problemset` function.

The search hints will be readded in the next commit.

v4:
Split into smaller changes

Change-Id: Ida064249855de7f4bd65d69c4b4fe7768b9201e5
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I4df59c8712439cc6e0fdba241bfd55276d950b65, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3257

(SIO-2243) Remodel OriginTags for new Task Archive [5/5]

Added the search hints and their usage in the javascript typeahead,
complete with tests.

See the `init_search_selection` js function for details.

v4:
Split into smaller changes

Change-Id: I4df59c8712439cc6e0fdba241bfd55276d950b65
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I06459423e9441f0fd783e59702fac6f191531169, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3253

(SIO-2243) Remodel OriginTags for new Task Archive [1/5]

This change improves the system of OriginTags to work better with the
idea of a dynamically generated task archive.
The changed system works as follows:

There are three models describing a task's origin:
 - OriginTag - for general origin information, e.g. 'oi'
 - OriginInfoCategory - category specifying the OriginTag, e.g. 'year'
 - OriginInfoValue - allowed value for the category e.g. '2011'

A complete 'tag' as it would appear for example in the problemset, is
a combination of tag and value, e.g. 'oi_2011'. For this reason the
values are validated to only contain lowercase letters, numbers, and
hyphens (no underscores).
This also means that OriginInfoValues should be descriptive on their
own without the category (i.e. for Round 1, 'r1' is good, '1' is bad)

The models store additional localized values for displaying neatly to
users in their respective Localization models - OriginTagLocalization,
OriginInfoCategoryLocalization, and OriginInfoValueLocalization.
(This is needed because the values are stored in the database, not in
 the code, so it is impossible to localize them in the usual way)

v4:
Split into smaller changes

Change-Id: I06459423e9441f0fd783e59702fac6f191531169
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Id56421faf942230c0b8abdc1a5521c4e6130f296, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3254

(SIO-2243) Remodel OriginTags for new Task Archive [2/5]

Added three new admins to manage the models (and their localizations) -
one for each model. Another two inline admins are added to the Problem
admin for managing the m2m relationship from the Problem side. For
Localization classes the LocalizationFormset is added and used.

v4:
Split into smaller changes

Change-Id: Id56421faf942230c0b8abdc1a5521c4e6130f296
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3255

(SIO-2243) Remodel OriginTags for new Task Archive [3/5]

Added displaying the new OriginTags in the problemset.

v4:
Split into smaller changes

Change-Id: Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ida064249855de7f4bd65d69c4b4fe7768b9201e5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3256

(SIO-2243) Remodel OriginTags for new Task Archive [4/5]

Rebuilt the problemset search to make use of the new tags -
see the `search_problems_in_problemset` function.

The search hints will be readded in the next commit.

v4:
Split into smaller changes

Change-Id: Ida064249855de7f4bd65d69c4b4fe7768b9201e5
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I4df59c8712439cc6e0fdba241bfd55276d950b65, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3257

(SIO-2243) Remodel OriginTags for new Task Archive [5/5]

Added the search hints and their usage in the javascript typeahead,
complete with tests.

See the `init_search_selection` js function for details.

v4:
Split into smaller changes

Change-Id: I4df59c8712439cc6e0fdba241bfd55276d950b65
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3255

(SIO-2243) Remodel OriginTags for new Task Archive [3/5]

Added displaying the new OriginTags in the problemset.

v4:
Split into smaller changes

Change-Id: Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3255

(SIO-2243) Remodel OriginTags for new Task Archive [3/5]

Displayed the new OriginTags in the problemset.

v4:
Split into smaller changes

Change-Id: Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ida064249855de7f4bd65d69c4b4fe7768b9201e5, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3256

(SIO-2243) Remodel OriginTags for new Task Archive [4/5]

Rebuilt the problemset search to make use of the new tags -
see the `search_problems_in_problemset` function.

The search hints will be readded in the next commit.

v4:
Split into smaller changes

Change-Id: Ida064249855de7f4bd65d69c4b4fe7768b9201e5
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I4df59c8712439cc6e0fdba241bfd55276d950b65, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3257

(SIO-2243) Remodel OriginTags for new Task Archive [5/5]

Added the search hints and their usage in the javascript typeahead,
complete with tests.

See the `init_search_selection` js function for details.

v4:
Split into smaller changes

Change-Id: I4df59c8712439cc6e0fdba241bfd55276d950b65
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3255

(SIO-2243) Remodel OriginTags for new Task Archive [3/5]

Added displaying the new OriginTags in the problemset

v4:
Split into smaller changes

Change-Id: Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ida064249855de7f4bd65d69c4b4fe7768b9201e5, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3256

(SIO-2243) Remodel OriginTags for new Task Archive [4/5]

Rebuilt the problemset search to make use of the new tags -
see the `search_problems_in_problemset` function.

The search hints will be readded in the next commit.

v4:
Split into smaller changes

Change-Id: Ida064249855de7f4bd65d69c4b4fe7768b9201e5
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I4df59c8712439cc6e0fdba241bfd55276d950b65, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3257

(SIO-2243) Remodel OriginTags for new Task Archive [5/5]

Added the search hints and their usage in the javascript typeahead,
complete with tests.

See the `init_search_selection` js function for details.

v4:
Split into smaller changes

Change-Id: I4df59c8712439cc6e0fdba241bfd55276d950b65
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I06459423e9441f0fd783e59702fac6f191531169, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3253

(SIO-2243) Remodel OriginTags

Part 1/5 of "Remodel OriginTags for new Task Archive"

Improved the system of OriginTags to work better with the idea of a
dynamically generated task archive. The changed system works as follows:

There are three models describing a task's origin:
 - OriginTag - for general origin information, e.g. 'oi'
 - OriginInfoCategory - category specifying the OriginTag, e.g. 'year'
 - OriginInfoValue - allowed value for the category e.g. '2011'

A complete 'tag' as it would appear for example in the problemset, is
a combination of tag and value, e.g. 'oi_2011'. For this reason the
values are validated to only contain lowercase letters, numbers, and
hyphens (no underscores).
This also means that OriginInfoValues should be descriptive on their
own without the category (i.e. for Round 1, 'r1' is good, '1' is bad)

The models store additional localized values for displaying neatly to
users in their respective Localization models - OriginTagLocalization,
OriginInfoCategoryLocalization, and OriginInfoValueLocalization.
(This is needed because the values are stored in the database, not in
 the code, so it is impossible to localize them in the usual way)

Change-Id: I06459423e9441f0fd783e59702fac6f191531169
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Id56421faf942230c0b8abdc1a5521c4e6130f296, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3254

(SIO-2243) Add admin for OriginTags and OriginInfo

Part 2/5 of "Remodel OriginTags for new Task Archive"

Added three new admins to manage the OriginTag, OriginInfoValue and
OriginInfoCategory models (and their respective Localization classes).
Another two inline admins are added to the Problem admin for managing
the m2m relationship from the Problem side, with a javascript script
to visually limit the number of sensible choices.

The Localization classes also use the new LocalizationFormset.

Change-Id: Id56421faf942230c0b8abdc1a5521c4e6130f296
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3255

(SIO-2243) Display new OriginTags in the Problemset

Part 3/5 of "Remodel OriginTags for new Task Archive"

Added displaying the new OriginTags and OriginInfoValues in the
Problemset. The OriginInfoValues are grouped by their parent tag, and
are displayed next to it with just their value shown.

For instance in the Problemset it may look something like this:

    [pa] [2011] [r1] [a]

for OriginTag 'pa' and OriginInfoValues 'pa_2011', 'pa_r1', 'pa_a'.

Change-Id: Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~Ida064249855de7f4bd65d69c4b4fe7768b9201e5, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3256

(SIO-2243) Rework the Problemset search

Part 4/5 of "Remodel OriginTags for new Task Archive"

Rebuilt the problemset search to make use of the new tags and generally
be more sensible, like using not using logical OR for every word - see
the `search_problems_in_problemset` function for details.

Removed the search hints, which will be readded in the next commit.

Replaced all of the old searching tests with ones that are a little
more compressed and less copy-paste'y.

Change-Id: Ida064249855de7f4bd65d69c4b4fe7768b9201e5
Comment by Gerrit Gerrit [ 2019-06-21 ]
Change oioioi~master~I4df59c8712439cc6e0fdba241bfd55276d950b65, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3257

(SIO-2243) Rework search hints for the Problemset

Part 5/5 of "Remodel OriginTags for new Task Archive"

Readded the search hints and their usage in the javascript typeahead
to work nicely with the new search and Origintags.

Also added tests for the search hints.

See the `init_search_selection` js function for details.

Change-Id: I4df59c8712439cc6e0fdba241bfd55276d950b65
Comment by Gerrit Gerrit [ 2019-06-22 ]
Change oioioi~master~Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3235

(SIO-2243) Display Task Archive dynamically

This changes uses the new OriginTags to display the Task Archive,
instead of just hardcoding all the problems in some page. After choosing
an OriginTag, all the problems tagged with it are displayed, grouped by
the tag's OriginInfoCategories. Filtering for specific OriginInfoValues
is also possible.

Also changed two global links to link to the new Task Archive instead
of a global portal.

v2:
Refactored and split task_archive_tag_view into helper functions.
Added tests for the Task Archive and filtering.

v3:
Changed visuals and function of filter buttons. Added tests.

Change-Id: Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3235

(SIO-2243) Display Task Archive dynamically

This changes uses the new OriginTags to display the Task Archive,
instead of just hardcoding all the problems in some page. After choosing
an OriginTag, all the problems tagged with it are displayed, grouped by
the tag's OriginInfoCategories. Filtering for specific OriginInfoValues
is also possible.

Also changed two global links to link to the new Task Archive instead
of a global portal.

v2:
Refactored and split task_archive_tag_view into helper functions.
Added tests for the Task Archive and filtering.

v3:
Changed visuals and function of filter buttons. Added tests.

Change-Id: Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3235

(SIO-2243) Display Task Archive dynamically

This changes uses the new OriginTags to display the Task Archive,
instead of just hardcoding all the problems in some page. After choosing
an OriginTag, all the problems tagged with it are displayed, grouped by
the tag's OriginInfoCategories. Filtering for specific OriginInfoValues
is also possible.

Also changed two global links to link to the new Task Archive instead
of a global portal.

v2:
Refactored and split task_archive_tag_view into helper functions.
Added tests for the Task Archive and filtering.

v3:
Changed visuals and function of filter buttons. Added tests.

Change-Id: Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I06459423e9441f0fd783e59702fac6f191531169, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3253

(SIO-2243) Remodel OriginTags

Part 1/5 of "Remodel OriginTags for new Task Archive"

Improved the system of OriginTags to work better with the idea of a
dynamically generated task archive. The changed system works as follows:

There are three models describing a task's origin:
 - OriginTag - for general origin information, e.g. 'oi'
 - OriginInfoCategory - category specifying the OriginTag, e.g. 'year'
 - OriginInfoValue - allowed value for the category e.g. '2011'

A complete 'tag' as it would appear for example in the problemset, is
a combination of tag and value, e.g. 'oi_2011'. For this reason the
values are validated to only contain lowercase letters, numbers, and
hyphens (no underscores).
This also means that OriginInfoValues should be descriptive on their
own without the category (i.e. for Round 1, 'r1' is good, '1' is bad)

The models store additional localized values for displaying neatly to
users in their respective Localization models - OriginTagLocalization,
OriginInfoCategoryLocalization, and OriginInfoValueLocalization.
(This is needed because the values are stored in the database, not in
 the code, so it is impossible to localize them in the usual way)

Change-Id: I06459423e9441f0fd783e59702fac6f191531169
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Id56421faf942230c0b8abdc1a5521c4e6130f296, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3254

(SIO-2243) Add admin for OriginTags and OriginInfo

Part 2/5 of "Remodel OriginTags for new Task Archive"

Added three new admins to manage the OriginTag, OriginInfoValue and
OriginInfoCategory models (and their respective Localization classes).
Another two inline admins are added to the Problem admin for managing
the m2m relationship from the Problem side, with a javascript script
to visually limit the number of sensible choices.

The Localization classes also use the new LocalizationFormset.

Change-Id: Id56421faf942230c0b8abdc1a5521c4e6130f296
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3255

(SIO-2243) Display new OriginTags in the Problemset

Part 3/5 of "Remodel OriginTags for new Task Archive"

Added displaying the new OriginTags and OriginInfoValues in the
Problemset. The OriginInfoValues are grouped by their parent tag, and
are displayed next to it with just their value shown.

For instance in the Problemset it may look something like this:

    [pa] [2011] [r1] [a]

for OriginTag 'pa' and OriginInfoValues 'pa_2011', 'pa_r1', 'pa_a'.

Change-Id: Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Ida064249855de7f4bd65d69c4b4fe7768b9201e5, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3256

(SIO-2243) Rework the Problemset search

Part 4/5 of "Remodel OriginTags for new Task Archive"

Rebuilt the problemset search to make use of the new tags and generally
be more sensible, like using not using logical OR for every word - see
the `search_problems_in_problemset` function for details.

Removed the search hints, which will be readded in the next commit.

Replaced all of the old searching tests with ones that are a little
more compressed and less copy-paste'y.

Change-Id: Ida064249855de7f4bd65d69c4b4fe7768b9201e5
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I4df59c8712439cc6e0fdba241bfd55276d950b65, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3257

(SIO-2243) Rework search hints for the Problemset

Part 5/5 of "Remodel OriginTags for new Task Archive"

Readded the search hints and their usage in the javascript typeahead
to work nicely with the new search and Origintags.

Also added tests for the search hints.

See the `init_search_selection` js function for details.

Change-Id: I4df59c8712439cc6e0fdba241bfd55276d950b65
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I06459423e9441f0fd783e59702fac6f191531169, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3253

(SIO-2243) Remodel OriginTags

Part 1/5 of "Remodel OriginTags for new Task Archive"

Improved the system of OriginTags to work better with the idea of a
dynamically generated task archive. The changed system works as follows:

There are three models describing a task's origin:
 - OriginTag - for general origin information, e.g. 'oi'
 - OriginInfoCategory - category specifying the OriginTag, e.g. 'year'
 - OriginInfoValue - allowed value for the category e.g. '2011'

A complete 'tag' as it would appear for example in the problemset, is
a combination of tag and value, e.g. 'oi_2011'. For this reason the
values are validated to only contain lowercase letters, numbers, and
hyphens (no underscores).
This also means that OriginInfoValues should be descriptive on their
own without the category (i.e. for Round 1, 'r1' is good, '1' is bad)

The models store additional localized values for displaying neatly to
users in their respective Localization models - OriginTagLocalization,
OriginInfoCategoryLocalization, and OriginInfoValueLocalization.
(This is needed because the values are stored in the database, not in
 the code, so it is impossible to localize them in the usual way)

Change-Id: I06459423e9441f0fd783e59702fac6f191531169
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Id56421faf942230c0b8abdc1a5521c4e6130f296, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3254

(SIO-2243) Add admin for OriginTags and OriginInfo

Part 2/5 of "Remodel OriginTags for new Task Archive"

Added three new admins to manage the OriginTag, OriginInfoValue and
OriginInfoCategory models (and their respective Localization classes).
Another two inline admins are added to the Problem admin for managing
the m2m relationship from the Problem side, with a javascript script
to visually limit the number of sensible choices.

The Localization classes also use the new LocalizationFormset.

Change-Id: Id56421faf942230c0b8abdc1a5521c4e6130f296
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3255

(SIO-2243) Display new OriginTags in the Problemset

Part 3/5 of "Remodel OriginTags for new Task Archive"

Added displaying the new OriginTags and OriginInfoValues in the
Problemset. The OriginInfoValues are grouped by their parent tag, and
are displayed next to it with just their value shown.

For instance in the Problemset it may look something like this:

    [pa] [2011] [r1] [a]

for OriginTag 'pa' and OriginInfoValues 'pa_2011', 'pa_r1', 'pa_a'.

Change-Id: Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~Ida064249855de7f4bd65d69c4b4fe7768b9201e5, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3256

(SIO-2243) Rework the Problemset search

Part 4/5 of "Remodel OriginTags for new Task Archive"

Rebuilt the problemset search to make use of the new tags and generally
be more sensible, like using not using logical OR for every word - see
the `search_problems_in_problemset` function for details.

Removed the search hints, which will be readded in the next commit.

Replaced all of the old searching tests with ones that are a little
more compressed and less copy-paste'y.

Change-Id: Ida064249855de7f4bd65d69c4b4fe7768b9201e5
Comment by Gerrit Gerrit [ 2019-06-23 ]
Change oioioi~master~I4df59c8712439cc6e0fdba241bfd55276d950b65, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3257

(SIO-2243) Rework search hints for the Problemset

Part 5/5 of "Remodel OriginTags for new Task Archive"

Readded the search hints and their usage in the javascript typeahead
to work nicely with the new search and Origintags.

Also added tests for the search hints.

See the `init_search_selection` js function for details.

Change-Id: I4df59c8712439cc6e0fdba241bfd55276d950b65
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I06459423e9441f0fd783e59702fac6f191531169, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3253

(SIO-2243) Remodel OriginTags

Part 1/5 of "Remodel OriginTags for new Task Archive"

Improved the system of OriginTags to work better with the idea of a
dynamically generated task archive. The changed system works as follows:

There are three models describing a task's origin:
 - OriginTag - for general origin information, e.g. 'oi'
 - OriginInfoCategory - category specifying the OriginTag, e.g. 'year'
 - OriginInfoValue - allowed value for the category e.g. '2011'

A complete 'tag' as it would appear for example in the problemset, is
a combination of tag and value, e.g. 'oi_2011'. For this reason the
values are validated to only contain lowercase letters, numbers, and
hyphens (no underscores).
This also means that OriginInfoValues should be descriptive on their
own without the category (i.e. for Round 1, 'r1' is good, '1' is bad)

The models store additional localized values for displaying neatly to
users in their respective Localization models - OriginTagLocalization,
OriginInfoCategoryLocalization, and OriginInfoValueLocalization.
(This is needed because the values are stored in the database, not in
 the code, so it is impossible to localize them in the usual way)

Change-Id: I06459423e9441f0fd783e59702fac6f191531169
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~Id56421faf942230c0b8abdc1a5521c4e6130f296, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3254

(SIO-2243) Add admin for OriginTags and OriginInfo

Part 2/5 of "Remodel OriginTags for new Task Archive"

Added three new admins to manage the OriginTag, OriginInfoValue and
OriginInfoCategory models (and their respective Localization classes).
Another two inline admins are added to the Problem admin for managing
the m2m relationship from the Problem side, with a javascript script
to visually limit the number of sensible choices.

The Localization classes also use the new LocalizationFormset.

Change-Id: Id56421faf942230c0b8abdc1a5521c4e6130f296
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3255

(SIO-2243) Display new OriginTags in the Problemset

Part 3/5 of "Remodel OriginTags for new Task Archive"

Added displaying the new OriginTags and OriginInfoValues in the
Problemset. The OriginInfoValues are grouped by their parent tag, and
are displayed next to it with just their value shown.

For instance in the Problemset it may look something like this:

    [pa] [2011] [r1] [a]

for OriginTag 'pa' and OriginInfoValues 'pa_2011', 'pa_r1', 'pa_a'.

Change-Id: Ifd46881d648b8f9cab4e7e0d370eb916f0a68b64
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~Ida064249855de7f4bd65d69c4b4fe7768b9201e5, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3256

(SIO-2243) Rework the Problemset search

Part 4/5 of "Remodel OriginTags for new Task Archive"

Rebuilt the problemset search to make use of the new tags and generally
be more sensible, like using not using logical OR for every word - see
the `search_problems_in_problemset` function for details.

Removed the search hints, which will be readded in the next commit.

Replaced all of the old searching tests with ones that are a little
more compressed and less copy-paste'y.

Change-Id: Ida064249855de7f4bd65d69c4b4fe7768b9201e5
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~I4df59c8712439cc6e0fdba241bfd55276d950b65, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3257

(SIO-2243) Rework search hints for the Problemset

Part 5/5 of "Remodel OriginTags for new Task Archive"

Readded the search hints and their usage in the javascript typeahead
to work nicely with the new search and Origintags.

Also added tests for the search hints.

See the `init_search_selection` js function for details.

Change-Id: I4df59c8712439cc6e0fdba241bfd55276d950b65
Comment by Gerrit Gerrit [ 2019-06-24 ]
Change oioioi~master~Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3235

(SIO-2243) Display Task Archive dynamically

This changes uses the new OriginTags to display the Task Archive,
instead of just hardcoding all the problems in some page. After choosing
an OriginTag, all the problems tagged with it are displayed, grouped by
the tag's OriginInfoCategories. Filtering for specific OriginInfoValues
is also possible.

Also changed two global links to link to the new Task Archive instead
of a global portal.

v2:
Refactored and split task_archive_tag_view into helper functions.
Added tests for the Task Archive and filtering.

v3:
Changed visuals and function of filter buttons. Added tests.

Change-Id: Ie87a3fbb534ae1fe56cb162b19cab4ed7f39aaaa




[SIO-2242] Display statistics in Problemset Created: 2019-05-12  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Jakub Bartmiński Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-05-12 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2242) Display statistics in Problemset

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.

v2:
 - Stopped creating ProblemStatistics on Problem post_create, accounted
   for null problem_statistics instead.
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

v3:
 - Made problemset columns proportional using bootstrap.
 - Fixed the loading symbol when adding problem to contest.
 - Refactored functions preparing the problemset problem pool.
 - Made the problemset preserve any get parameter on sorting, not just
   the query. Added a test for it.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-05-12 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2242) Display statistics in Problemset

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.

v2:
 - Stopped creating ProblemStatistics on Problem post_create, accounted
   for null problem_statistics instead.
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

v3:
 - Made problemset columns proportional using bootstrap.
 - Fixed the loading symbol when adding problem to contest.
 - Refactored functions preparing the problemset problem pool.
 - Made the problemset preserve any get parameter on sorting, not just
   the query. Added a test for it.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-05-13 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2242) Display statistics in Problemset

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.

v2:
 - Stopped creating ProblemStatistics on Problem post_create, accounted
   for null problem_statistics instead.
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

v3:
 - Made problemset columns proportional using bootstrap.
 - Fixed the loading symbol when adding problem to contest.
 - Refactored functions preparing the problemset problem pool.
 - Made the problemset preserve any get parameter on sorting, not just
   the query. Added a test for it.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-05-13 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2242) Display statistics in Problemset

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.

v2:
 - Stopped creating ProblemStatistics on Problem post_create, accounted
   for null problem_statistics instead.
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

v3:
 - Made problemset columns proportional using bootstrap.
 - Fixed the loading symbol when adding problem to contest.
 - Refactored functions preparing the problemset problem pool.
 - Made the problemset preserve any get parameter on sorting, not just
   the query. Added a test for it.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b




[SIO-2241] Add search to list view of teacher's usergroups Created: 2019-05-11  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Marek Żochowski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: groups, tag1





[SIO-2240] Clean up problemset's main layout Created: 2019-05-10  Updated: 2020-03-3  Resolved: 2019-05-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Piotr Wojtczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Make the main page of the problemset more appealing and easy to read.

 Comments   
Comment by Gerrit Gerrit [ 2019-05-10 ]
Change oioioi~master~I9030af78bd010708212545588bd6c9ba2136b9cf, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3225

(SIO-2240) Clean up problemset's main layout

This commit consists of a few small changes to the overall design:
1. Removed titles in problemset's subpages in favor of highlighted headers
2. Set navbar links to be the same ones that are on the main page
3. Removed upper pagination bar and spaced things out a little

Change-Id: I9030af78bd010708212545588bd6c9ba2136b9cf
Comment by Gerrit Gerrit [ 2019-05-11 ]
Change oioioi~master~I9030af78bd010708212545588bd6c9ba2136b9cf, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3225

(SIO-2240) Clean up problemset's main layout

This commit consists of a few small changes to the overall design:
1. Removed titles in problemset's subpages in favor of highlighted headers
2. Set navbar links to be the same ones that are on the main page
3. Removed upper pagination bar and spaced things out a little

Change-Id: I9030af78bd010708212545588bd6c9ba2136b9cf
Comment by Gerrit Gerrit [ 2019-05-11 ]
Change oioioi~master~I9030af78bd010708212545588bd6c9ba2136b9cf, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3225

(SIO-2240) Clean up problemset's main layout

This commit consists of a few small changes to the overall design:
1. Removed titles in problemset's subpages in favor of highlighted headers
2. Set navbar links to be the same ones that are on the main page
3. Removed upper pagination bar and spaced things out a little

The second one on the list also features a rework to the way the app handles navbar links.
Now it's a separate block in the main template with a new subtemplate that, using any MenuRegistry,
creates the navigation bar links.

Change-Id: I9030af78bd010708212545588bd6c9ba2136b9cf
Comment by Gerrit Gerrit [ 2019-05-11 ]
Change oioioi~master~I9030af78bd010708212545588bd6c9ba2136b9cf, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3225

(SIO-2240) Clean up problemset's main layout

This commit consists of a few small changes to the overall design:
1. Removed titles in problemset's subpages in favor of highlighted headers
2. Set navbar links to be the same ones that are on the main page
3. Removed upper pagination bar and spaced things out a little

The second one on the list also features a rework to the way the app handles navbar links.
Now it's a separate block in the main template with a new subtemplate that, using any MenuRegistry,
creates the navigation bar links.

Also removed the hardcoded Task Archive url.

Change-Id: I9030af78bd010708212545588bd6c9ba2136b9cf




[SIO-2239] Fix JS in members view in teacher app Created: 2019-05-10  Updated: 2020-03-3  Resolved: 2019-05-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
'Select all' and 'Select none' buttons are currently not working.

 Comments   
Comment by Gerrit Gerrit [ 2019-05-10 ]
Change oioioi~master~Ic4bf55d42b89eaaa887d0b7382d06d55eabdb3fe, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3223

(SIO-2239) Fix JS in members view in teacher app

Change-Id: Ic4bf55d42b89eaaa887d0b7382d06d55eabdb3fe




[SIO-2238] Add tests for download_sandboxes management command Created: 2019-05-9  Updated: 2021-06-24

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Michalina Sidor Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag1





[SIO-2237] Move su urls to noncontest_patterns Created: 2019-05-7  Updated: 2020-03-3  Resolved: 2019-05-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently, su url are in urlpatterns, which causes redirect when used on noncontest pages. Because redirect uses GET as a request method, such action throws 405 error response code. Move su urls to noncontest_patterns should fix this problem.

 Comments   
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~I974b159ba14246fa727d10083bfcdf5447641c9e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3222

(SIO-2237) Move su url to noncontest_patterns

Change-Id: I974b159ba14246fa727d10083bfcdf5447641c9e




[SIO-2236] Remove current_app argument from template related APIs Created: 2019-05-6  Updated: 2020-03-3  Resolved: 2019-05-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
In Django 1.10 current_app argument of template relared APIs was removed.
It should be provided in request.current_app instead.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.8/#current-app-argument-of-template-related-apis

 Comments   
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~Ibdfaf74db99695d31571535275789bc11e5782a4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3221

(SIO-2236) Remove current_app argument from template related APIs

Change-Id: Ibdfaf74db99695d31571535275789bc11e5782a4




Fix Django deprecation warnings on 1.10 (SIO-2155)

[SIO-2235] Fix test_portals.json fixture Created: 2019-05-1  Updated: 2020-03-3  Resolved: 2019-05-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
Direct assignment to many-to-many relation is deprecated in Django 1.10.
This breaks one of the portals' fixtures. Because we are not planning to upgrade Django any time soon, this issue is meant to address this deprecation only in the following fixture: oioioi/portals/fixtures/test_portals.json

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#direct-assignment-to-a-reverse-foreign-key-or-many-to-many-relation

 Comments   
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for warning generated by kombu package.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for warning generated by kombu package.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for 'on_delete' warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for 'on_delete' warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-2 ]
Change oioioi~master~Ic96d65f7ff9c79a8915e2ea0185252e589001492, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3213

(SIO-2235) Fix test_portals.json fixture

Change-Id: Ic96d65f7ff9c79a8915e2ea0185252e589001492
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef




Fix Django deprecation warnings on 1.10 (SIO-2155)

[SIO-2234] Change use of User.is_authenticated() and User.is_anonymous() methods Created: 2019-05-1  Updated: 2020-03-3  Resolved: 2019-05-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
From Django 1.10 the aforementioned methods are deprecated and converted into properties of AbstractBaseUser and AnonymousUser.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods

 Comments   
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for warning generated by kombu package.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for warning generated by kombu package.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for 'on_delete' warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for 'on_delete' warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-2 ]
Change oioioi~master~I396273bee783a75595a480595da236818ed56e40, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3212

(SIO-2234) Change use of User.is_authenticated() and User.is_anonymous() methods

Change-Id: I396273bee783a75595a480595da236818ed56e40
Comment by Gerrit Gerrit [ 2019-05-3 ]
Change oioioi~master~I396273bee783a75595a480595da236818ed56e40, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3212

(SIO-2234) Change use of User.is_authenticated() and User.is_anonymous() methods

Change-Id: I396273bee783a75595a480595da236818ed56e40
Comment by Gerrit Gerrit [ 2019-05-4 ]
Change oioioi~master~I396273bee783a75595a480595da236818ed56e40, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3212

(SIO-2234) Change use of User.is_authenticated() and User.is_anonymous() methods

Change-Id: I396273bee783a75595a480595da236818ed56e40




Fix Django deprecation warnings on 1.10 (SIO-2155)

[SIO-2233] Adapt old-style settings.MIDDLEWARE_CLASSES to the new version Created: 2019-05-1  Updated: 2020-03-3  Resolved: 2019-05-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Minor
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
In Django 1.10 "old-style" middleware that uses settings.MIDDLEWARE_CLASSES is deprecated. We must adapt it to the new style or use new MIDDLEWARE setting.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#id3 (12th dot)

 Comments   
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for warning generated by kombu package.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for warning generated by kombu package.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for 'on_delete' warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for 'on_delete' warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-2 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-2 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Added minimal version requirements for dj-pagination,
django-otp and django-debug-toolbar.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-9 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-9 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Added minimal version requirements for dj-pagination,
django-otp and django-debug-toolbar.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-10 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Added minimal version requirements for dj-pagination,
django-otp and django-debug-toolbar.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-12 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Added minimal version requirements for dj-pagination,
django-otp and django-debug-toolbar.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-13 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Added minimal version requirements for dj-pagination,
django-otp and django-debug-toolbar.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-13 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Added minimal version requirements for dj-pagination,
django-otp and django-debug-toolbar.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-14 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Added minimal version requirements for dj-pagination,
django-otp and django-debug-toolbar.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-17 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Added minimal version requirements for dj-pagination,
django-otp and django-debug-toolbar.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f
Comment by Gerrit Gerrit [ 2019-05-20 ]
Change oioioi~master~I4a66cb476e533bc76662d79c7beba6915b128b4f, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3214

(SIO-2233) Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Slighty new semantic of MIDDLEWARE changed behaviour of
SuFirstTimeRedirectionMiddleware, but it seems to
work in an acceptable way.

Fixed one test in oioioi/base.

Added minimal version requirements for dj-pagination,
django-otp and django-debug-toolbar.

Change-Id: I4a66cb476e533bc76662d79c7beba6915b128b4f




Fix Django deprecation warnings on 1.10 (SIO-2155)

[SIO-2232] Set the app_name attribute in urls modules strikes back Created: 2019-05-1  Updated: 2020-03-3  Resolved: 2019-05-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Minor
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
The same deprecation warnings were fixed in SIO-2162, but with the arrival of API they are back.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.9/#passing-a-3-tuple-or-an-app-name-to-include

 Comments   
Comment by Marek Żochowski [ 2019-05-1 ]
To fix this upgrade of django-rest-framework to version >= 3.7.1 is needed.
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~Ib77a76639046551fcff19e68a268f9d040c2f7ee, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3220

(SIO-2232) Set the app_name attribute in urls modules strikes back

This change upgrades djangorestframework to version 3.8.2

Change-Id: Ib77a76639046551fcff19e68a268f9d040c2f7ee
Comment by Gerrit Gerrit [ 2019-05-12 ]
Change oioioi~master~Ib77a76639046551fcff19e68a268f9d040c2f7ee, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3220

(SIO-2232) Set the app_name attribute in urls modules strikes back

This change upgrades djangorestframework to version 3.8.2

Change-Id: Ib77a76639046551fcff19e68a268f9d040c2f7ee




[SIO-2231] TypeError: exception() got an unexpected keyword argument 'extra' Created: 2019-05-1  Updated: 2020-03-3  Resolved: 2019-05-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None
Environment: Python 2.7.3


 Description   
When uploading a task package, and the package fails to upload, instead of a stacktrace you get "TypeError: exception() got an unexpected keyword argument 'extra'"

 Comments   
Comment by Wojciech Dubiel [ 2019-05-1 ]
This is because on older versions of Python 2.7, `logging.Logger.exception()` - which is used in `oioioi/problems/models.py` to report package upload failure - doesn't support the `extra` kwarg, unlike all the other logging methods. We use `extra={'omit_sentry': True}` so that exceptions caused by invalid problem packages don't show up in Sentry.

In Python 2.7.13, `exception()` accepts `extra` kwarg like all the other logging methods, so this problem doesn't occur.
Comment by Wojciech Dubiel [ 2019-05-1 ]
Resolved this as WontFix. If there's anyone affected who really can't update to newer python, maybe we should reopen this.




[SIO-2230] vagrant provisioning zeus.log path issues Created: 2019-04-6  Updated: 2020-03-3  Resolved: 2019-05-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jakub Bartmiński Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: vagrant


 Description   
I ran into a problem when trying to provision a new vagrant environment. It fails on multiple steps when running manage.py and the following error keeps appearing:

Unable to configure handler 'zeus_file': [Errno 2] No such file or directory: '/sio2/deployment/deployment/logs/zeus.log'

The path for some reason is obviously erroneous. The machine later boots up, but sio is not working. Creating an empty file under this path and manually downloading sandboxes circumvents this.

 Comments   
Comment by Marek Żochowski [ 2019-05-1 ]
This error was caused by the change in SIO-2192. During migration from optparse to argparse positional argument (deployment directory) of oioioi-create-config was left as given, instead of converting it to absolute path.
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I52a99d54b6c39f5b2c2303d9a78b02410f171678, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3210

(SIO-2230) Vagrant provisioning zeus.log path issues

Fixed problem with vagrant default settings configuration and
oioioi-create-config script.

Change-Id: I52a99d54b6c39f5b2c2303d9a78b02410f171678




Fix test failures on Django 1.10 (SIO-2225)

[SIO-2229] String 'y' is no longer treated as boolean True Created: 2019-04-5  Updated: 2020-03-3  Resolved: 2019-04-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
Example error:

______________ TestOpenParticipantsRegistration.test_contest_info ______________

self = <oioioi.participants.tests.TestOpenParticipantsRegistration testMethod=test_contest_info>

    def test_contest_info(self):
        contest = Contest.objects.get()
        user = User.objects.get(username='test_user')
        p = Participant(contest=contest, user=user)
        p.save()
> OpenRegistration(participant_id=p.id, **self.reg_data).save()

oioioi/participants/tests.py:252:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virtualenv/lib/python2.7/site-packages/django/db/models/base.py:796: in save
    force_update=force_update, update_fields=update_fields)
../virtualenv/lib/python2.7/site-packages/django/db/models/base.py:824: in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
../virtualenv/lib/python2.7/site-packages/django/db/models/base.py:908: in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
../virtualenv/lib/python2.7/site-packages/django/db/models/base.py:947: in _do_insert
    using=using, raw=raw)
../virtualenv/lib/python2.7/site-packages/django/db/models/manager.py:85: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
../virtualenv/lib/python2.7/site-packages/django/db/models/query.py:1045: in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
../virtualenv/lib/python2.7/site-packages/django/db/models/sql/compiler.py:1053: in execute_sql
    for sql, params in self.as_sql():
../virtualenv/lib/python2.7/site-packages/django/db/models/sql/compiler.py:1006: in as_sql
    for obj in self.query.objs
../virtualenv/lib/python2.7/site-packages/django/db/models/sql/compiler.py:945: in prepare_value
    value = field.get_db_prep_save(value, connection=self.connection)
../virtualenv/lib/python2.7/site-packages/django/db/models/fields/__init__.py:755: in get_db_prep_save
    prepared=False)
../virtualenv/lib/python2.7/site-packages/django/db/models/fields/__init__.py:747: in get_db_prep_value
    value = self.get_prep_value(value)
../virtualenv/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1025: in get_prep_value
    return self.to_python(value)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <django.db.models.fields.BooleanField: terms_accepted>, value = 'y'

    def to_python(self, value):
        if value in (True, False):
            # if value is 1 or 0 than it's equal to True or False, but we want
            # to return a true bool for semantic reasons.
            return bool(value)
        if value in ('t', 'True', '1'):
            return True
        if value in ('f', 'False', '0'):
            return False
        raise exceptions.ValidationError(
            self.error_messages['invalid'],
            code='invalid',
> params={'value': value},
        )
E ValidationError: [u"'y' value must be either True or False."]

../virtualenv/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1018: ValidationError

 Comments   
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602




Fix test failures on Django 1.10 (SIO-2225)

[SIO-2228] Update html strings in TestLoginChange Created: 2019-04-5  Updated: 2020-03-3  Resolved: 2019-04-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
Example issue:

self = <oioioi.base.tests.tests.TestLoginChange testMethod=test_can_change_login_from_invalid>

    def test_can_change_login_from_invalid(self):
        for l in self.invalid_logins:
            self.user.username = l
            self.user.save()
    
            response = self.client.get(self.url_edit_profile)
            # The html strings underneath may change with any django upgrade.
            self.assertIn('<input class="form-control" id="id_username" '
                    'maxlength="30" name="username" type="text" '
> 'value="%s" />' % l, response.content)
E AssertionError:

 Comments   
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602




Fix test failures on Django 1.10 (SIO-2225)

[SIO-2227] Some manage commands fail Created: 2019-04-5  Updated: 2020-03-3  Resolved: 2019-04-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
Following and similar issues:

    def test_import_users(self):
        user_count_before = User.objects.count()
        filename = os.path.join(basedir, 'files', 'users.csv')
        manager = import_users.Command()
> manager.run_from_argv(['manage.py', 'import_users', filename])

oioioi/base/tests/tests.py:753:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../virtualenv/lib/python2.7/site-packages/django/core/management/base.py:288: in run_from_argv
    options = parser.parse_args(argv[2:])
../virtualenv/lib/python2.7/site-packages/django/core/management/base.py:58: in parse_args
    return super(CommandParser, self).parse_args(args, namespace)
../../../../../.pyenv/versions/2.7.14/lib/python2.7/argparse.py:1704: in parse_args
    self.error(msg % ' '.join(argv))
../virtualenv/lib/python2.7/site-packages/django/core/management/base.py:62: in error
    super(CommandParser, self).error(message)
../../../../../.pyenv/versions/2.7.14/lib/python2.7/argparse.py:2374: in error
    self.exit(2, _('%s: error: %s\n') % (self.prog, message))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = CommandParser(prog=u'manage.py import_users', usage=None, description=u'Create...lass=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
status = 2
message = 'manage.py import_users: error: unrecognized arguments: /home/users/sio2devel/.hudson/jobs/oioioi-gerrit-unittests/workspace/ src/oioioi/base/tests/files/users.csv

 Comments   
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602




Fix test failures on Django 1.10 (SIO-2225)

[SIO-2226] Logout returns redirect now Created: 2019-04-5  Updated: 2020-03-3  Resolved: 2019-04-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
response = self.client.post(logout_url)
> self.assertEqual(200, response.status_code)
E AssertionError: 200 != 302

oioioi/base/tests/tests.py:112: AssertionError

 Comments   
Comment by Artur Puzio [ 2019-04-5 ]
Other example:

________________ TestMaintenanceMode.test_logged_user_redirect _________________

self = <oioioi.maintenancemode.tests.TestMaintenanceMode testMethod=test_logged_user_redirect>

    def test_logged_user_redirect(self):
        set_maintenance_mode(True, 'test message')
        self.assertTrue(self.client.login(username='test_user'))
        response = self.client.get('/', follow=True)
        self.assertRedirects(response, reverse('maintenance'))
        self.assertContains(response, 'test message')
        response = self.client.post(reverse('logout'), {
            'user': 'test_user',
            'backend': 'django.contrib.auth.backends.ModelBackend',
        })
> self.assertIn('been logged out', response.content)
E AssertionError: 'been logged out' not found in ''

oioioi/maintenancemode/tests.py:41: AssertionError
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602




[SIO-2225] Fix test failures on Django 1.10 Created: 2019-04-4  Updated: 2020-03-3  Resolved: 2019-05-27

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration

Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2226 Logout returns redirect now Sub-task Closed Szymon Acedański  
SIO-2227 Some manage commands fail Sub-task Closed Szymon Acedański  
SIO-2228 Update html strings in TestLoginChange Sub-task Closed Szymon Acedański  
SIO-2229 String 'y' is no longer treated as bo... Sub-task Closed Szymon Acedański  

 Description   
Relevant hudson report: https://hudson.sio2project.mimuw.edu.pl/job/oioioi-gerrit-unittests/6836/console




[SIO-2224] Investigate include('registration.urls') is deprecated warning Created: 2019-04-4  Updated: 2021-03-14

Status: Open
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Artur Puzio Assignee: Jakub Moliński
Resolution: Unresolved Votes: 0
Labels: None


 Description   
oioioi/base/tests/tests.py::TestFields::test_dotted_name_field
  /home/ert/PycharmProjects/oioioi/venv/lib/python2.7/site- packages/registration/urls.py:15: DeprecationWarning: include('registration.urls') is deprecated; use include('registration.backends.default.urls') instead.
    DeprecationWarning)





[SIO-2223] Investigate Argument <type 'str'> is not an unicode object warning Created: 2019-04-4  Updated: 2021-04-13  Resolved: 2021-04-13

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Artur Puzio Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
oioioi/pa/tests.py::TestPADivisions::test_prolem_upload
  /home/ert/PycharmProjects/oioioi/venv/lib/python2.7/site- packages/unidecode/__init__.py:46: RuntimeWarning: Argument <type 'str'> is not an unicode object. Passing an encoded string will likely have unexpected results.
    _warn_if_not_unicode(string)


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




Add groups (SIO-2213)

[SIO-2221] Add flow of users between contests and groups Created: 2019-04-2  Updated: 2020-03-3  Resolved: 2019-08-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups


 Description   
In this ticket we want to add ability to attach/detach groups to/from contest. We will also add easy way to convert current contest members into one new usergroup.

 Comments   
Comment by Gerrit Gerrit [ 2019-05-16 ]
Change oioioi~master~Ibf14268253ce4cd4c651febc16af367385188e81, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3232

(SIO-2221) Implement adding user group members to contest

Change-Id: Ibf14268253ce4cd4c651febc16af367385188e81
Comment by Gerrit Gerrit [ 2019-05-20 ]
Change oioioi~master~Ibf14268253ce4cd4c651febc16af367385188e81, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3232

(SIO-2221) Implement adding user group members to contest

Change-Id: Ibf14268253ce4cd4c651febc16af367385188e81
Comment by Gerrit Gerrit [ 2019-05-20 ]
Change oioioi~master~Ibf14268253ce4cd4c651febc16af367385188e81, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3232

(SIO-2221) Implement adding user group members to contest

Change-Id: Ibf14268253ce4cd4c651febc16af367385188e81
Comment by Gerrit Gerrit [ 2019-05-21 ]
Change oioioi~master~Ibf14268253ce4cd4c651febc16af367385188e81, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3232

(SIO-2221) Implement adding user group members to contest

Change-Id: Ibf14268253ce4cd4c651febc16af367385188e81
Comment by Zuzanna Opała [ 2019-05-21 ]
Tasks:
- simple ui
- relacja grupa-konkurs (wiele do wielu)
- można usuwać ownerów
- opcja stworzenia grupy z membersów
- nowy view pupilsów
- dodawanie do grupy powoduje dodanie do konkursów
- usuwanie z grupy pytanie o usuniecie z contestów
- edycja registration controller
- update grupy z contestu
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I1768cbc8b1a163edab383c2d1f437f083a71fbf0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3267

(SIO-2221) Add flow of users between contests and groups

Change-Id: I1768cbc8b1a163edab383c2d1f437f083a71fbf0
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I1768cbc8b1a163edab383c2d1f437f083a71fbf0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3267

(SIO-2221) Add flow of users between contests and groups

Change-Id: I1768cbc8b1a163edab383c2d1f437f083a71fbf0
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I1768cbc8b1a163edab383c2d1f437f083a71fbf0, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3267

(SIO-2221) Add flow of users between contests and groups

Change-Id: I1768cbc8b1a163edab383c2d1f437f083a71fbf0
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I1768cbc8b1a163edab383c2d1f437f083a71fbf0, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3267

(SIO-2221) Add flow of users between contests and groups

Change-Id: I1768cbc8b1a163edab383c2d1f437f083a71fbf0
Comment by Gerrit Gerrit [ 2019-06-25 ]
Change oioioi~master~I1768cbc8b1a163edab383c2d1f437f083a71fbf0, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3267

(SIO-2221) Add flow of users between contests and groups

Change-Id: I1768cbc8b1a163edab383c2d1f437f083a71fbf0
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I1768cbc8b1a163edab383c2d1f437f083a71fbf0, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3267

(SIO-2221) Add flow of users between contests and groups

Change-Id: I1768cbc8b1a163edab383c2d1f437f083a71fbf0
Comment by Gerrit Gerrit [ 2019-06-26 ]
Change oioioi~master~I1768cbc8b1a163edab383c2d1f437f083a71fbf0, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3267

(SIO-2221) Add flow of users between contests and groups

Change-Id: I1768cbc8b1a163edab383c2d1f437f083a71fbf0




[SIO-2220] Check if copying users from contest to contest works Created: 2019-04-2  Updated: 2020-03-3  Resolved: 2019-05-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups


 Description   
Currently in pupils tab in contest menu teachers can copy users from another contest (button "Add from other contest"). In this ticket one should check if such feature works.

 Comments   
Comment by Marek Żochowski [ 2019-05-4 ]
It seems that teacher can copy ALL pupils from another contest in which he has also teacher status. This feature does not overwrite, but adds missing pupils.




[SIO-2219] Create some useful API endpoints Created: 2019-04-2  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2246 API endpoint for solution submission Sub-task Resolved Wojciech Dubiel  
SIO-2267 API endpoint for uploading and reuplo... Sub-task Closed Szymon Acedański  

 Description   
Maybe also some developer guide

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2218] Add sharing your groups Created: 2019-04-2  Updated: 2020-03-3  Resolved: 2019-06-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups


 Description   
This feature should be implemented in the same manner as adding users to contest (by link).

 Comments   
Comment by Gerrit Gerrit [ 2019-05-12 ]
Change oioioi~master~Ida62777806290dff335ea49f528f64e62152be46, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3229

(SIO-2218) Add sharing your groups

WIP: lack of tests.

Change-Id: Ida62777806290dff335ea49f528f64e62152be46
Comment by Gerrit Gerrit [ 2019-05-12 ]
Change oioioi~master~Ida62777806290dff335ea49f528f64e62152be46, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3229

(SIO-2218) Add sharing your groups

Change-Id: Ida62777806290dff335ea49f528f64e62152be46
Comment by Gerrit Gerrit [ 2019-05-12 ]
Change oioioi~master~Ida62777806290dff335ea49f528f64e62152be46, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3229

(SIO-2218) Add sharing your groups

Change-Id: Ida62777806290dff335ea49f528f64e62152be46
Comment by Gerrit Gerrit [ 2019-05-12 ]
Change oioioi~master~Ida62777806290dff335ea49f528f64e62152be46, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3229

(SIO-2218) Add sharing your groups

Change-Id: Ida62777806290dff335ea49f528f64e62152be46
Comment by Gerrit Gerrit [ 2019-05-13 ]
Change oioioi~master~Ida62777806290dff335ea49f528f64e62152be46, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3229

(SIO-2218) Add sharing your groups

Fixed migration no. 2

Change-Id: Ida62777806290dff335ea49f528f64e62152be46
Comment by Marek Żochowski [ 2019-06-26 ]
Ta zmiana została zcommitowana wraz z https://jira.sio2project.mimuw.edu.pl/browse/SIO-2213 w commicie: https://gerrit.sio2project.mimuw.edu.pl/#/c/3219/




Add groups (SIO-2213)

[SIO-2217] Add detail view for group Created: 2019-04-2  Updated: 2020-03-3  Resolved: 2019-06-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups


 Description   
In this ticket we will add detail view for group and options to remove users from the group and add users by link (the same as adding users to contests).




Add groups (SIO-2213)

[SIO-2216] Create Group model Created: 2019-04-2  Updated: 2020-03-3  Resolved: 2019-04-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups





Add groups (SIO-2213)

[SIO-2215] Add creation and deletion of groups Created: 2019-04-2  Updated: 2020-03-3  Resolved: 2019-06-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups


 Description   
Only teachers and superadmins can add and erase groups.




Add groups (SIO-2213)

[SIO-2214] Add groups list view for teachers and superadmins Created: 2019-04-2  Updated: 2020-03-3  Resolved: 2019-06-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups





[SIO-2213] Add groups Created: 2019-04-2  Updated: 2020-03-3  Resolved: 2019-08-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: groups

Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2214 Add groups list view for teachers and... Sub-task Closed Szymon Acedański  
SIO-2215 Add creation and deletion of groups Sub-task Closed Szymon Acedański  
SIO-2216 Create Group model Sub-task Closed Szymon Acedański  
SIO-2217 Add detail view for group Sub-task Closed Szymon Acedański  
SIO-2221 Add flow of users between contests an... Sub-task Closed Szymon Acedański  
SIO-2254 Add link to usergroups list in simple... Sub-task Closed Szymon Acedański  
SIO-2270 Adjust teachers' pupils site to use u... Sub-task Closed Szymon Acedański  

 Description   
Add group of users that would enable teacher to add them easily to contests.

 Comments   
Comment by Marek Żochowski [ 2019-06-26 ]
Odpowiednia zmiana w gerricie, dotyczy następujących podzadań:

Add groups list view for teachers and superadmins
Add creation and deletion of groups
Create Group model
Add detail view for group

Oraz jest połączona ze zmianą: https://jira.sio2project.mimuw.edu.pl/browse/SIO-2218

Link do zmiany: https://gerrit.sio2project.mimuw.edu.pl/#/c/3219/




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2212] Remove AlterModelManagers from migrations Created: 2019-04-2  Updated: 2020-03-3  Resolved: 2019-04-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#backwards-incompatible-changes-in-1-10 (29th dot)

 Comments   
Comment by Gerrit Gerrit [ 2019-04-2 ]
Change oioioi~master~I0ce5caa6a64fafba843ece0466d32a5f717eb510, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3181

(SIO-2212) Remove AlterModelManagers migrations

Previously a migrations.AlterModelManagers was used to change
_base_manager attribute, but this attribute was removed on Django1.10
and such migration now errors. This migration never generated any SQL
query.

Change-Id: I0ce5caa6a64fafba843ece0466d32a5f717eb510
Comment by Gerrit Gerrit [ 2019-04-2 ]
Change oioioi~master~I0ce5caa6a64fafba843ece0466d32a5f717eb510, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3181

(SIO-2212) Remove AlterModelManagers migrations

Previously a migrations.AlterModelManagers was used to change
_base_manager attribute, but this attribute was removed on Django1.10
and such migration now errors. This migration never generated any SQL
query.

Change-Id: I0ce5caa6a64fafba843ece0466d32a5f717eb510




[SIO-2211] Even the admins cannot see codes of other people who submitted outside of contest Created: 2019-03-26  Updated: 2020-03-3  Resolved: 2019-12-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2019/20 Sprint 1

Type: Bug Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy, tag1

TAG Developer: Michał Niedziółka

 Description   
You can see the report, but when you click to see the source code, you get 403.

 Comments   
Comment by Gerrit Gerrit [ 2019-11-13 ]
Change oioioi~master~I1bf7f0518dd5cbeec944ef522e5618bb63ebe70b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3354

SIO-2211 Fix can_see_source in ProblemController

Change-Id: I1bf7f0518dd5cbeec944ef522e5618bb63ebe70b
Comment by Gerrit Gerrit [ 2019-11-18 ]
Change oioioi~master~I1bf7f0518dd5cbeec944ef522e5618bb63ebe70b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3354

SIO-2211 Fix can_see_source in ProblemController

Change-Id: I1bf7f0518dd5cbeec944ef522e5618bb63ebe70b
Comment by Gerrit Gerrit [ 2019-11-18 ]
Change oioioi~master~Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3355

SIO-2211 Fix can_see_source in ProblemController

Change-Id: Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51
Comment by Gerrit Gerrit [ 2019-12-2 ]
Change oioioi~master~Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3355

SIO-2211 Fix can_see_source in ProblemController

Change-Id: Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3355

SIO-2211 Fix can_see_source in ProblemController

Change-Id: Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51
Comment by Gerrit Gerrit [ 2019-12-4 ]
Change oioioi~master~Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3355

SIO-2211 Fix can_see_source in ProblemController

Change-Id: Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51
Comment by Gerrit Gerrit [ 2019-12-5 ]
Change oioioi~master~Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3355

SIO-2211 Fix can_see_source in ProblemController

Change-Id: Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51
Comment by Gerrit Gerrit [ 2019-12-9 ]
Change oioioi~master~Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3355

SIO-2211 Fix can_see_source in ProblemController

Change-Id: Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51
Comment by Gerrit Gerrit [ 2019-12-9 ]
Change oioioi~master~Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3355

SIO-2211 Fix can_see_source in ProblemController

Change-Id: Ic9f69b7dc4d8431067e6a92bd547cce27af9fd51




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2210] Replace SimpleTestCase.url with @override_settings Created: 2019-03-25  Updated: 2020-03-3  Resolved: 2019-03-28

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango110Warning: SimpleTestCase.urls is deprecated and will be removed in Django 1.10. Use @override_settings(ROOT_URLCONF=...) in TestParticipantsExclusiveContestsMiddlewareMixin instead.

This warning occurs in:
- oioioi/participants/tests.py
- oioioi/contests/tests/tests.py
- oioioi/contestexcl/tests.py

Docs: https://docs.djangoproject.com/en/2.1/releases/1.8/#django-test-simpletestcase-urls

 Comments   
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~Ifb32978c6d679d5203206c29521dfe04c067a055, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3172

(SIO-2210) Replace SimpleTestCase.url with @override_settings

Change-Id: Ifb32978c6d679d5203206c29521dfe04c067a055




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2209] Use DISABLE_PANELS config instead of INTERCEPT_REDIRECTS Created: 2019-03-24  Updated: 2020-03-3  Resolved: 2019-04-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
debug_toolbar: DeprecationWarning: INTERCEPT_REDIRECTS is deprecated. Please use the DISABLE_PANELS config in the DEBUG_TOOLBAR_CONFIG setting.

 Comments   
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I717513f28e93269b56af07b6dd12b85d42fe1f21, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3174

(SIO-2209) Remove django-debug-toolbar configuration override

INTERCEPT_REDIRECTS option is deprecated and awaiting removal
(for quite a long time actually). But even at the point it was
deprecated, the value used as a default by the package's maintainers
was consistent with our custom default. Therefore, no change to
django-debug-toolbar settings is required anymore.

Change-Id: I717513f28e93269b56af07b6dd12b85d42fe1f21
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I717513f28e93269b56af07b6dd12b85d42fe1f21, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3174

(SIO-2209) Remove django-debug-toolbar configuration override

INTERCEPT_REDIRECTS option is deprecated and awaiting removal
(for quite a long time actually). But even at the point it was
deprecated, the value used as a default by the package's maintainers
was consistent with our custom default. Therefore, no change to
django-debug-toolbar settings is required anymore.

Change-Id: I717513f28e93269b56af07b6dd12b85d42fe1f21




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2208] Remove usage of deprecated unoficial APIs Created: 2019-03-24  Updated: 2020-03-3  Resolved: 2019-04-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango110Warning: 'get_all_related_objects is an unofficial API that has been deprecated. You may be able to replace it with 'get_fields
RemovedInDjango110Warning: 'get_field_by_name is an unofficial API that has been deprecated. You may be able to replace it with 'get_field

 Comments   
Comment by Artur Puzio [ 2019-03-26 ]
https://docs.djangoproject.com/en/2.1/ref/models/meta/#migrating-old-meta-api
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I285a08058fbac686755a1af7d530498b8302821b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3173

(SIO-2208) Remove usage of deprecated _meta API

get_all_related_objects and get_field_by_name were considered unofficial
API and they were removed in Django 1.10.

Change-Id: I285a08058fbac686755a1af7d530498b8302821b
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I285a08058fbac686755a1af7d530498b8302821b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3173

(SIO-2208) Remove usage of deprecated _meta API

get_all_related_objects and get_field_by_name were considered unofficial
API and they were removed in Django 1.10.

Change-Id: I285a08058fbac686755a1af7d530498b8302821b




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2207] Always call render() with dict Created: 2019-03-24  Updated: 2020-03-3  Resolved: 2019-03-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango110Warning: render() must be called with a dict, not a Context.

 Comments   
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~I67eaac7e8d33c5fd3edf65682a6aa18c069beef2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3169

(SIO-2207) Call render with dict instead of Context

This fixes following warning:
    RemovedInDjango110Warning: render() must be called with a dict, not a Context.

Change-Id: I67eaac7e8d33c5fd3edf65682a6aa18c069beef2
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~I67eaac7e8d33c5fd3edf65682a6aa18c069beef2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3169

(SIO-2207) Call render with dict instead of Context

This fixes following warning:
    RemovedInDjango110Warning: render() must be called with a dict, not a Context.

Change-Id: I67eaac7e8d33c5fd3edf65682a6aa18c069beef2




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2206] Always pass callable to url() Created: 2019-03-24  Updated: 2020-03-3  Resolved: 2019-04-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got oioioi.contests.tests.tests.print_contest_id_view). Pass the callable instead.


 Comments   
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~Iebd76377e847396ab376bacd28320fb656dcc22c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3168

(SIO-2206) Pass callable to url() in tests

This fixes following warning:

Change-Id: Iebd76377e847396ab376bacd28320fb656dcc22c
RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got oioioi.contests.tests.tests.print_contest_id_view). Pass the callable instead.
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~Iebd76377e847396ab376bacd28320fb656dcc22c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3168

(SIO-2206) Pass callable to url() in tests

This fixes following warning:

Change-Id: Iebd76377e847396ab376bacd28320fb656dcc22c
RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got oioioi.contests.tests.tests.print_contest_id_view). Pass the callable instead.
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~Iebd76377e847396ab376bacd28320fb656dcc22c, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3168

(SIO-2206) Pass callable to url() in tests

This fixes following warning:

RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got oioioi.contests.tests.tests.print_contest_id_view). Pass the callable instead.

Change-Id: Iebd76377e847396ab376bacd28320fb656dcc22c
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~Iebd76377e847396ab376bacd28320fb656dcc22c, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3168

(SIO-2206) Pass callable to url() in tests

This fixes following warning:

RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got oioioi.contests.tests.tests.print_contest_id_view). Pass the callable instead.

Change-Id: Iebd76377e847396ab376bacd28320fb656dcc22c
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~Iebd76377e847396ab376bacd28320fb656dcc22c, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3168

(SIO-2206) Pass callable to url() in tests

This fixes following warning:

RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10 (got oioioi.contests.tests.tests.print_contest_id_view). Pass the callable instead.

Change-Id: Iebd76377e847396ab376bacd28320fb656dcc22c




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2205] Remove usage of reversing urls by dotted path Created: 2019-03-24  Updated: 2020-03-3  Resolved: 2019-04-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango110Warning: Reversing by dotted path is deprecated

We use reversing by dotted path only in oioioi.contests.current_contest.reverse

 Comments   
Comment by Artur Puzio [ 2019-03-24 ]
To jest problem. Nasza funkcja oioioi.contests.current_contest.reverse dostaje view i chce dostać dla niego ścieżkę. Nie widzę jak to łatwo zrobić jeśli view jest w namespacie.
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~Icd57dbe2dc69f0d0d11c57ddc2bcb2bc32695579, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3175

(SIO-2205)

Change-Id: Icd57dbe2dc69f0d0d11c57ddc2bcb2bc32695579
Comment by Gerrit Gerrit [ 2019-03-30 ]
Change oioioi~master~Icd57dbe2dc69f0d0d11c57ddc2bcb2bc32695579, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3175

(SIO-2205) Remove usage of reversing urls by dotted path

In addition we dropped support for reversing by a callable
in our custom reverse function (which overrides django's one).

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Icd57dbe2dc69f0d0d11c57ddc2bcb2bc32695579
Comment by Gerrit Gerrit [ 2019-04-2 ]
Change oioioi~master~Icd57dbe2dc69f0d0d11c57ddc2bcb2bc32695579, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3175

(SIO-2205) Remove usage of reversing urls by dotted path

In addition we dropped support for reversing by a callable
in our custom reverse function (which overrides django's one).

Removed missed occurrences in url tag.

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Icd57dbe2dc69f0d0d11c57ddc2bcb2bc32695579




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2204] Remove usage of django.conf.urls.patterns() Created: 2019-03-24  Updated: 2020-03-3  Resolved: 2019-03-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead.

 Comments   
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I09a3af9066e1ec0480cab414be5bbce5cafc3c6b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3157

(SIO-2204) Stop using patterns in urls tests

`patterns` is removed in Django 1.10.

Change-Id: I09a3af9066e1ec0480cab414be5bbce5cafc3c6b




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2203] Add support for the `max_length` argument in Storage.save() Created: 2019-03-24  Updated: 2020-03-3  Resolved: 2019-04-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango110Warning: Backwards compatibility for storage backends without support for the `max_length` argument in Storage.save() will be removed in Django 1.10.

 Comments   
Comment by Artur Puzio [ 2019-03-26 ]
https://docs.djangoproject.com/en/2.1/ref/files/storage/#django.core.files.storage.Storage.save
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I6d9a3769baae760349d9d7a827a1e6ed237442ca, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3171

(SIO-2203) Support max_length in FiletrackerStorage.save

This fixes following warning:
    RemovedInDjango110Warning: Backwards compatibility for storage backends without support for the `max_length` argument in Storage.save() will be removed in Django 1.10.

Change-Id: I6d9a3769baae760349d9d7a827a1e6ed237442ca
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I6d9a3769baae760349d9d7a827a1e6ed237442ca, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3171

(SIO-2203) Support max_length in FiletrackerStorage.save

This fixes following warning:
    RemovedInDjango110Warning: Backwards compatibility for storage backends without support for the `max_length` argument in Storage.save() will be removed in Django 1.10.

Change-Id: I6d9a3769baae760349d9d7a827a1e6ed237442ca
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~I6d9a3769baae760349d9d7a827a1e6ed237442ca, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3171

(SIO-2203) Support max_length in FiletrackerStorage.save

This fixes following warning:
    RemovedInDjango110Warning: Backwards compatibility for storage backends without support for the `max_length` argument in Storage.save() will be removed in Django 1.10.

Change-Id: I6d9a3769baae760349d9d7a827a1e6ed237442ca
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~I6d9a3769baae760349d9d7a827a1e6ed237442ca, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3171

(SIO-2203) Support max_length in FiletrackerStorage.save

This fixes following warning:
    RemovedInDjango110Warning: Backwards compatibility for storage backends without support for the `max_length` argument in Storage.save() will be removed in Django 1.10.

Change-Id: I6d9a3769baae760349d9d7a827a1e6ed237442ca
Comment by Gerrit Gerrit [ 2019-03-30 ]
Change oioioi~master~I6d9a3769baae760349d9d7a827a1e6ed237442ca, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3171

(SIO-2203) Support max_length in FiletrackerStorage.save

This fixes following warning:
    RemovedInDjango110Warning: Backwards compatibility for storage backends without support for the `max_length` argument in Storage.save() will be removed in Django 1.10.

Change-Id: I6d9a3769baae760349d9d7a827a1e6ed237442ca
Comment by Gerrit Gerrit [ 2019-04-2 ]
Change oioioi~master~I6d9a3769baae760349d9d7a827a1e6ed237442ca, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3171

(SIO-2203) Support max_length in FiletrackerStorage.save

This fixes following warning:
    RemovedInDjango110Warning: Backwards compatibility for storage backends without support for the `max_length` argument in Storage.save() will be removed in Django 1.10.

Change-Id: I6d9a3769baae760349d9d7a827a1e6ed237442ca




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2202] Remove usage of context_instance argument of render_to_string Created: 2019-03-24  Updated: 2020-03-3  Resolved: 2019-04-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango110Warning: The context_instance argument of render_to_string is deprecated.

 Comments   
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~I64ff313bab2a6190d05b74f6aa29f4d59dd68029, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3167

(SIO-2202) Remove context_instance argument of render_to_string

This fixes following warning:
    RemovedInDjango110Warning: The context_instance argument of render_to_string is deprecated.

Usage ofcontext_instance argument was replaced with
request and context arguments.

Change-Id: I64ff313bab2a6190d05b74f6aa29f4d59dd68029
Comment by Gerrit Gerrit [ 2019-03-25 ]
Change oioioi~master~I64ff313bab2a6190d05b74f6aa29f4d59dd68029, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3167

(SIO-2202) Remove context_instance argument of render_to_string

This fixes following warning:
    RemovedInDjango110Warning: The context_instance argument of render_to_string is deprecated.

Usage ofcontext_instance argument was replaced with
request and context arguments.

Change-Id: I64ff313bab2a6190d05b74f6aa29f4d59dd68029




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2201] django.core.context_processors -> django.template.context_processors Created: 2019-03-24  Updated: 2020-03-3  Resolved: 2019-04-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
"django.core.context_processors: Built-in template context processors have been moved to django.template.context_processors."

This change was introduced in Django 1.9, but for some reason import old name "django.core.context_processors" was removed in Django1.10

 Comments   
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~I14a429a926fb6302c0f377bf0184111d8a11e3fd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3165

(SIO-2201) django.core.context_processors was moved

In Django 1.9 django.core.context_processors was moved to
django.template.context_processors. For some reason the old name stopps
working only on Django1.10

Change-Id: I14a429a926fb6302c0f377bf0184111d8a11e3fd
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~I14a429a926fb6302c0f377bf0184111d8a11e3fd, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3165

(SIO-2201) django.core.context_processors was moved

In Django 1.9 django.core.context_processors was moved to
django.template.context_processors. For some reason the old name stopps
working only on Django1.10

Change-Id: I14a429a926fb6302c0f377bf0184111d8a11e3fd
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I14a429a926fb6302c0f377bf0184111d8a11e3fd, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3165

(SIO-2201) django.core.context_processors was moved

In Django 1.9 django.core.context_processors was moved to
django.template.context_processors. For some reason the old name stopps
working only on Django1.10

Change-Id: I14a429a926fb6302c0f377bf0184111d8a11e3fd




[SIO-2200] Clean up szkopul's main page Created: 2019-03-19  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wojciech Bączkowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Remove "Proceed to the default contest" menu for not logged in users and change default messages for both not logged in and logged in visitors to something more descriptive.


 Comments   
Comment by Gerrit Gerrit [ 2019-03-30 ]
Change oioioi~master~I7c2bb93f96451d50bafab7ea8a9a05d4ae0af2b0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3176

SIO-2200 Clean up szkopul's main page

Removed 'proceed to the default contest' menu. Changed logo and widened the content section margins by adding empty columns. Welcome message is a little larger now.

Change-Id: I7c2bb93f96451d50bafab7ea8a9a05d4ae0af2b0
Comment by Gerrit Gerrit [ 2019-03-31 ]
Change oioioi~master~I7c2bb93f96451d50bafab7ea8a9a05d4ae0af2b0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3176

SIO-2200 Clean up szkopul's main page

Removed 'proceed to the default contest' menu.
Changed logo and widened the content section margins by adding empty columns.
Welcome message is a little larger now.

Change-Id: I7c2bb93f96451d50bafab7ea8a9a05d4ae0af2b0




[SIO-2199] Create a dashboard for logged users' main page Created: 2019-03-19  Updated: 2020-03-3  Resolved: 2019-05-10

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Piotr Wojtczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Create a dashboard containing useful information (most probably contests and/or unfinished problems) in an accessible and clean way.

 Comments   
Comment by Gerrit Gerrit [ 2019-04-1 ]
Change oioioi~master~I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3177

(SIO-2199) - Create a dashboard for logged users' main page

Created a new main page for the logged users. It features a dashboard including recently looked at contests
and summarized submissions.

This also includes many minor tweaks to Szkopul's overall design.

Change-Id: I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e
Comment by Gerrit Gerrit [ 2019-04-2 ]
Change oioioi~master~I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3177

(SIO-2199) Create a dashboard for logged users' main page

Created a new main page for the logged users. It features a dashboard including recently looked at contests
and summarized submissions.

This also includes many minor tweaks to Szkopul's overall design.

Change-Id: I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3177

(SIO-2199) Create a dashboard for logged users' main page

Created a new main page for the logged users. It features a dashboard including recently looked at contests
and summarized submissions.

This also includes many minor tweaks to Szkopul's overall design.

Change-Id: I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3177

(SIO-2199) Create a dashboard for logged users' main page

Created a new main page for the logged users. It features a dashboard including recently looked at contests
and summarized submissions.

This also includes many minor tweaks to Szkopul's overall design.

Change-Id: I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3177

(SIO-2199) Create a dashboard for logged users' main page

Created a new main page for the logged users. It features a dashboard including recently looked at contests
and summarized submissions.

This also includes many minor tweaks to Szkopul's overall design.

Change-Id: I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3177

(SIO-2199) Create a dashboard for logged users' main page

Created a new main page for the logged users. It features a dashboard including recently looked at contests
and summarized submissions.

This also includes many minor tweaks to Szkopul's overall design.

Change-Id: I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e
Comment by Gerrit Gerrit [ 2019-04-10 ]
Change oioioi~master~I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3177

(SIO-2199) Create a dashboard for logged users' main page

Created a new main page for the logged users. It features a dashboard including recently looked at contests
and summarized submissions.

This also includes many minor tweaks to Szkopul's overall design.

Change-Id: I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e
Comment by Gerrit Gerrit [ 2019-04-16 ]
Change oioioi~master~I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3177

(SIO-2199) Create a dashboard for logged users' main page

Created a new main page for the logged users. It features a dashboard including recently looked at contests
and summarized submissions.

This also includes many minor tweaks to Szkopul's overall design.

Change-Id: I6b43dcb1507dad0db1a4fd92bc3f81f32ee88b8e
Comment by Piotr Wojtczak [ 2019-06-30 ]
Fixed word breaking https://gerrit.sio2project.mimuw.edu.pl/#/c/3192/
Comment by Piotr Wojtczak [ 2019-06-30 ]
Improved look on smaller screens https://gerrit.sio2project.mimuw.edu.pl/#/c/3203/




[SIO-2198] Bring google analytics back to life Created: 2019-03-19  Updated: 2020-03-3  Resolved: 2019-04-2

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Bug Priority: Minor
Reporter: Piotr Wojtczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Check why google analytics stopped gathering data and, if easily fixed, repair that.

 Comments   
Comment by Wojciech Bączkowski [ 2019-04-2 ]
The google_analytics_tracking_id was not set.
Fixing that seems to have done the trick.




[SIO-2197] Test TestBalloons::test_balloon_request_creation is unstable Created: 2019-03-14  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
As seen for example in: https://hudson.sio2project.mimuw.edu.pl/job/oioioi-nightly-unittests/1577 the test oioioi/balloons/tests.py::TestBalloons::test_balloon_request_creation is unstable. It should be adjusted to be stable.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2196] Add points to config.yml Created: 2019-03-14  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Points for the group tests is something that is known before uploading, but still has to be set later, manually, in the problem site. Can we have some API in config.yml to set those points in the package?

For example:
points {
  1: 15
  2: 15
  3: 30
  4: 40
}

 Comments   
Comment by Dominik Klemba [ 2019-03-14 ]
I support the idea, but also believe that there should be different file for points. Like ".points". Thanks to that, there will be possibility to add points generation to (for ex.) ingen and make some checks.
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I2b667cc18578c3a264e0e894062ace8b75339bbf, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3186

(SIO-2196) Implement problem statistics

This change introduces statistics calculated per-problem, as well as
per-user/problem. The statistics are cached using two helper models, and
every time a solution is submitted they are updated in constant time -
without any additional database polls. To ensure performance in
critical environments this mechanism can be disabled at will in the
settings. Any stale statistics can be recalculated with the relevant
management command. As of this change the statistics are not yet
displayed anywhere and can only be seen directly in the database.

Change-Id: I2b667cc18578c3a264e0e894062ace8b75339bbf
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I2b667cc18578c3a264e0e894062ace8b75339bbf, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3186

(SIO-2196) Implement problem statistics

This change introduces statistics calculated per-problem, as well as
per-user/problem. The statistics are cached using two helper models, and
every time a solution is submitted they are updated in constant time -
without any additional database polls. To ensure performance in
critical environments this mechanism can be disabled at will in the
settings. Any stale statistics can be recalculated with the relevant
management command. As of this change the statistics are not yet
displayed anywhere and can only be seen directly in the database.

Change-Id: I2b667cc18578c3a264e0e894062ace8b75339bbf
Comment by Bartosz Kostka [ 2020-04-9 ]
This is also done.




[SIO-2195] Prepare backend for displaying statistics about a problem. Created: 2019-03-13  Updated: 2020-03-3  Resolved: 2019-05-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Improvement Priority: Major
Reporter: Iwona Kotlarska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Jakub Bartmiński
TAG Reviewer: Iwona Kotlarska

 Comments   
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I2b667cc18578c3a264e0e894062ace8b75339bbf, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3186

(SIO-2195) Implement problem statistics

This change introduces statistics calculated per-problem, as well as
per-user/problem. The statistics are cached using two helper models, and
every time a solution is submitted they are updated in constant time -
without any additional database polls. To ensure performance in
critical environments this mechanism can be disabled at will in the
settings. Any stale statistics can be recalculated with the relevant
management command. As of this change the statistics are not yet
displayed anywhere and can only be seen directly in the database.

Change-Id: I2b667cc18578c3a264e0e894062ace8b75339bbf
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset, as well as in problem sites.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset, as well as in problem sites.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I2b667cc18578c3a264e0e894062ace8b75339bbf, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3186

(SIO-2195) Implement problem statistics

This change introduces statistics calculated per-problem, as well as
per-user/problem. The statistics are cached using two helper models, and
every time a solution is submitted they are updated in constant time -
without any additional database polls. To ensure performance in
critical environments this mechanism can be disabled at will in the
settings. Any stale statistics can be recalculated with the relevant
management command. As of this change the statistics are not yet
displayed anywhere and can only be seen directly in the database.

Change-Id: I2b667cc18578c3a264e0e894062ace8b75339bbf
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset, as well as in problem sites.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I2b667cc18578c3a264e0e894062ace8b75339bbf, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3186

(SIO-2195) Implement problem statistics

This change introduces statistics calculated per-problem, as well as
per-user/problem. The statistics are cached using two helper models, and
every time a solution is submitted they are updated in constant time -
without any additional database polls. To ensure performance in
critical environments this mechanism can be disabled at will in the
settings. Any stale statistics can be recalculated with the relevant
management command. As of this change the statistics are not yet
displayed anywhere and can only be seen directly in the database.

Change-Id: I2b667cc18578c3a264e0e894062ace8b75339bbf
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I2b667cc18578c3a264e0e894062ace8b75339bbf, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3186

(SIO-2195) Implement problem statistics

This change introduces statistics calculated per-problem, as well as
per-user/problem. The statistics are cached using two helper models, and
every time a solution is submitted they are updated in constant time -
without any additional database polls. To ensure performance in
critical environments this mechanism can be disabled at will in the
settings. Any stale statistics can be recalculated with the relevant
management command. As of this change the statistics are not yet
displayed anywhere and can only be seen directly in the database.

Change-Id: I2b667cc18578c3a264e0e894062ace8b75339bbf
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset, as well as in problem sites.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-04-10 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset, as well as in problem sites.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-04-15 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset, as well as in problem sites.
This is a very simple, but practical demonstration, which may be
upgraded in the future.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-04-25 ]
Change oioioi~master~I669e888ef3530c7cc9cce11eb013ce0594424db5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3202

(SIO-2195) Fix statistics

This changes fixes various bugs that unfortunately only became apparent
after trying the statistics on production problem/submission data.

The major problems that this addresses are:

 1. Null score_report.max_score on some older submissions as well as
    submissions imported from main. This is worked around by looking
    at tests for the problem instance and deriving max_score from there.

 2. Null submission.score and score_report.score on submissions to
    problems with no final tests, or on broken submissions. These
    are counted as submitted only.

 3. Submissions which have score > max_score, or max_score != 100.
    The score is now capped and scaled to be a percentage of max_score.

 4. Submissions with score_report.max_score correct or possible to
    calculate, but equal to 0. These are also counted as submitted only.

Added more tests to cover all 4 of these points.

Another problem was that the recalculate_statistis management command
turned out to be taking noticeably long to execute - about 3 hours on
250k valid submissions to 15k problems. After some experimenting, I
was unable to reduce this time substantially, so instead this change
ensures the management command running in the background does not
permanently block the database from normal usage, i.e. it should be
safe to leave it running in the background after enabling statistics.

Change-Id: I669e888ef3530c7cc9cce11eb013ce0594424db5
Comment by Gerrit Gerrit [ 2019-04-25 ]
Change oioioi~master~I669e888ef3530c7cc9cce11eb013ce0594424db5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3202

(SIO-2195) Fix statistics

This changes fixes various bugs that unfortunately only became apparent
after trying the statistics on production problem/submission data.

The major problems that this addresses are:

 1. Null score_report.max_score on some older submissions as well as
    submissions imported from main. This is worked around by looking
    at tests for the problem instance and deriving max_score from there.

 2. Null submission.score and score_report.score on submissions to
    problems with no final tests, or on broken submissions. These
    are counted as submitted only.

 3. Submissions which have score > max_score, or max_score != 100.
    The score is now capped and scaled to be a percentage of max_score.

 4. Submissions with score_report.max_score correct or possible to
    calculate, but equal to 0. These are also counted as submitted only.

Added more tests to cover all 4 of these points.

Another problem was that the recalculate_statistis management command
turned out to be taking noticeably long to execute - about 3 hours on
250k valid submissions to 15k problems. After some experimenting, I
was unable to reduce this time substantially, so instead this change
ensures the management command running in the background does not
permanently block the database from normal usage, i.e. it should be
safe to leave it running in the background after enabling statistics.

Change-Id: I669e888ef3530c7cc9cce11eb013ce0594424db5
Comment by Gerrit Gerrit [ 2019-04-28 ]
Change oioioi~master~I669e888ef3530c7cc9cce11eb013ce0594424db5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3202

(SIO-2195) Fix statistics

This changes fixes various bugs that unfortunately only became apparent
after trying the statistics on production problem/submission data.

The major problems that this addresses are:

 1. Null score_report.max_score on some older submissions as well as
    submissions imported from main. This is worked around by looking
    at tests for the problem instance and deriving max_score from there.

 2. Null submission.score and score_report.score on submissions to
    problems with no final tests, or on broken submissions. These
    are counted as submitted only.

 3. Submissions which have score > max_score, or max_score != 100.
    The score is now capped and scaled to be a percentage of max_score.

 4. Submissions with score_report.max_score correct or possible to
    calculate, but equal to 0. These are also counted as submitted only.

Added more tests to cover all 4 of these points.

Another problem was that the recalculate_statistis management command
turned out to be taking noticeably long to execute - about 3 hours on
250k valid submissions to 15k problems. After some experimenting, I
was unable to reduce this time substantially, so instead this change
ensures the management command running in the background does not
permanently block the database from normal usage, i.e. it should be
safe to leave it running in the background after enabling statistics.

Change-Id: I669e888ef3530c7cc9cce11eb013ce0594424db5
Comment by Gerrit Gerrit [ 2019-04-29 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.
This is a very simple, but practical demonstration, which may be
upgraded in the future.

v2:
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-04-29 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.
This is a very simple, but practical demonstration, which may be
upgraded in the future.

v2:
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-04-29 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.
This is a very simple, but practical demonstration, which may be
upgraded in the future.

v2:
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-04-29 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.
This is a very simple, but practical demonstration, which may be
upgraded in the future.

v2:
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-05-3 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.
This is a very simple, but practical demonstration, which may be
upgraded in the future.

v2:
 - Stopped creating ProblemStatistics on Problem post_create, accounted
   for null problem_statistics instead.
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-05-4 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.
This is a very simple, but practical demonstration, which may be
upgraded in the future.

v2:
 - Stopped creating ProblemStatistics on Problem post_create, accounted
   for null problem_statistics instead.
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-05-10 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.
This is a very simple, but practical demonstration, which may be
upgraded in the future.

v2:
 - Stopped creating ProblemStatistics on Problem post_create, accounted
   for null problem_statistics instead.
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

v3:
 - Made problemset columns proportional using bootstrap.
 - Fixed the loading symbol when adding problem to contest.
 - Refactored functions preparing the problemset problem pool.
 - Made the problemset preserve any get parameter on sorting, not just
   the query. Added a test for it.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Gerrit Gerrit [ 2019-05-11 ]
Change oioioi~master~Icf365352db8e04256e9d5dc73e5826052af5811b, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3187

(SIO-2195) Show statistics in Problemset and problem sites

This change adds a handful of stuff to display sortable statistics next
to problems in the Problemset.
This is a very simple, but practical demonstration, which may be
upgraded in the future.

v2:
 - Stopped creating ProblemStatistics on Problem post_create, accounted
   for null problem_statistics instead.
 - Moved the statistics columns to the right, renamed them, and made
   them smaller.
 - Changed the "solved" statistic to instead reflect a percentage of
   correct solutions.
 - Added tests.

v3:
 - Made problemset columns proportional using bootstrap.
 - Fixed the loading symbol when adding problem to contest.
 - Refactored functions preparing the problemset problem pool.
 - Made the problemset preserve any get parameter on sorting, not just
   the query. Added a test for it.

Change-Id: Icf365352db8e04256e9d5dc73e5826052af5811b
Comment by Jakub Bartmiński [ 2019-05-12 ]
This was actually resolved by https://gerrit.sio2project.mimuw.edu.pl/3202/

https://gerrit.sio2project.mimuw.edu.pl/3187 was moved to SIO-2242




[SIO-2194] Check whether tags preserve hierarchy from task archive. Created: 2019-03-13  Updated: 2020-03-3  Resolved: 2019-05-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Improvement Priority: Major
Reporter: Iwona Kotlarska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Jakub Bartmiński
TAG Reviewer: Iwona Kotlarska




[SIO-2193] Prepare backend for new tags design in problemset. Created: 2019-03-13  Updated: 2020-03-3  Resolved: 2019-06-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Improvement Priority: Major
Reporter: Iwona Kotlarska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3170

i(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in two tree-like structures. First is for easy
searching (things like "OI, etap I", and second is for preserving
        structure from task archive, which we plan to remove later.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-03-26 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3170

i(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in two tree-like structures. First is for easy
searching (things like "OI, etap I", and second is for preserving
        structure from task archive, which we plan to remove later).

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3170

i(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in two tree-like structures. First is for easy
searching (things like "OI, etap I", and second is for preserving
        structure from task archive, which we plan to remove later).

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in two tree-like structures. First is for easy
searching (things like "OI, etap I", and second is for preserving
        structure from task archive, which we plan to remove later).

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in two tree-like structures. First is for easy
searching (things like "OI, etap I", and second is for preserving
        structure from task archive, which we plan to remove later).

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-03-29 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in two tree-like structures. First is for easy
searching (things like "OI, etap I", and second is for preserving
        structure from task archive, which we plan to remove later).

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-1 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in two tree-like structures. First is for easy
searching (things like "OI, etap I", and second is for preserving
        structure from task archive, which we plan to remove later).

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-1 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching (things
like "OI, etap I"). They also have "display_depth" field, which is a
positive integer determining how deep a particular tag should be in task
archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-1 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching (things
like "OI, etap I"). They also have "display_depth" field, which is a
positive integer determining how deep a particular tag should be in task
archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching (things
like "OI, etap I"). They also have "display_depth" field, which is an
integer determining how deep a particular tag should be in task
archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching (things
like "OI, etap I"). They also have "display_depth" field, which is an
integer determining how deep a particular tag should be in task
archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching (things
like "OI, etap I"). They also have "display_depth" field, which is an
integer determining how deep a particular tag should be in task
archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching (things
like "OI, etap I"). They also have "display_depth" field, which is an
integer determining how deep a particular tag should be in task
archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching (things
like "OI, etap I"). They also have "display_depth" field, which is an
integer determining how deep a particular tag should be in task
archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags, algorithms
used tags (former tags) and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching (things
like "OI, etap I"). They also have "display_depth" field, which is an
integer determining how deep a particular tag should be in task
archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms used tags (former tags) and origin tags (to preserve
tree hierarchy from task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms used tags (former tags) and origin tags (to preserve
tree hierarchy from task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms used tags (former tags) and origin tags (to preserve
tree hierarchy from task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms used tags (former tags) and origin tags (to preserve
tree hierarchy from task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Currently existing tags are meant to turn into "algorithm tags" -
they should be used to say "this can be solved with Dijkstra".

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms tags and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms tags and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms tags and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms tags and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms tags and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 26
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms tags and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 27
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms tags and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 29
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms tags and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~I91328356ed0f9981519e90e70cf24d6b033bcab2, patchset 30
https://gerrit.sio2project.mimuw.edu.pl/3170

(SIO-2193) Split tags into three types.

We decided to use three main types of tags: difficulty tags,
algorithms tags and origin tags (to preserve tree hierarchy from
task archive).

Origin tags are formed in a tree-like structure for easy searching
(things like "OI, etap I"). They also have "display_depth" field,
which is an integer determining how deep a particular tag should be
in task archive hierarchy.

Change-Id: I91328356ed0f9981519e90e70cf24d6b033bcab2




[SIO-2192] Replace OptionParser with ArgumentParser Created: 2019-03-12  Updated: 2020-03-3  Resolved: 2019-03-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration

Issue Links:
Blocks
blocks SIO-2154 Increment Django version to 1.10 Closed

 Description   
This class is removed in Django 1.10.
Related warning:

RemovedInDjango110Warning: OptionParser usage for Django management commands is deprecated, use ArgumentParser instead

 Comments   
Comment by Gerrit Gerrit [ 2019-03-17 ]
Change oioioi~master~I96ff67a4f991d2b37b5ce0547491fc279de7ae0e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3160

(SIO-2192) Replace OptionParser with ArgumentParser

Change-Id: I96ff67a4f991d2b37b5ce0547491fc279de7ae0e
Comment by Gerrit Gerrit [ 2019-03-25 ]
Change oioioi~master~I96ff67a4f991d2b37b5ce0547491fc279de7ae0e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3160

(SIO-2192) Replace OptionParser with ArgumentParser

Added mutually exclusive group of arguments for submit.py.

Change-Id: I96ff67a4f991d2b37b5ce0547491fc279de7ae0e




[SIO-2191] Get rid of upgrade_package.tar and upgrade_to_17 Created: 2019-03-12  Updated: 2019-03-26  Resolved: 2019-03-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
This package and command were used to migrate to Django 1.7. They are no longer needed, so they should be removed.

 Comments   
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I68b460fc7196d9bccc4182eb6857e928a1a7cfbe, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3156

(SIO-2191) Remove legacy migration script

Migration from South database migrations to Django native database
migrations don't seem to be needed anymore, and the required code
clutters the repository.

Change-Id: I68b460fc7196d9bccc4182eb6857e928a1a7cfbe




[SIO-2190] Replace NoArgsCommand with BaseCommand Created: 2019-03-12  Updated: 2019-03-26  Resolved: 2019-03-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration

Issue Links:
Blocks
blocks SIO-2154 Increment Django version to 1.10 Closed

 Description   
This class is removed in Django 1.10.
Related warnings:

RemovedInDjango110Warning: NoArgsCommand class is deprecated and will be removed in Django 1.10. Use BaseCommand instead, which takes no arguments by default.


 Comments   
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I95213bbd37f1f7d56a83c8bf8cb61cfe9c115a87, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3158

(SIO-2190) Get rid of NoArgsCommand

Change-Id: I95213bbd37f1f7d56a83c8bf8cb61cfe9c115a87
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I95213bbd37f1f7d56a83c8bf8cb61cfe9c115a87, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3158

(SIO-2190) Get rid of NoArgsCommand

Change-Id: I95213bbd37f1f7d56a83c8bf8cb61cfe9c115a87
Comment by Gerrit Gerrit [ 2019-03-17 ]
Change oioioi~master~I95213bbd37f1f7d56a83c8bf8cb61cfe9c115a87, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3158

(SIO-2190) Replace NoArgsCommand with BaseCommand

Change-Id: I95213bbd37f1f7d56a83c8bf8cb61cfe9c115a87




[SIO-2189] Fix backwards incompatible changes in 1.10 after incrementing django version Created: 2019-03-11  Updated: 2020-03-3  Resolved: 2019-04-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration

Issue Links:
Blocks
is blocked by SIO-2154 Increment Django version to 1.10 Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2176 Find alternative for Field.get_prep_l... Sub-task Closed Szymon Acedański  
SIO-2179 Remove choices argument from Select/S... Sub-task Closed Szymon Acedański  
SIO-2186 django.forms.models.model_to_dict() r... Sub-task Closed Szymon Acedański  




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2188] Check if setting USE_L10N to True breaks date/time filters Created: 2019-03-11  Updated: 2019-03-26  Resolved: 2019-03-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: migration


 Description   
In Django 1.10 when USE_L10N is set to True, then current locale date/time formata are also use in filters when no format string is specified (instead of DATE_FORMAT and TIME_FORMAT constants from settings.py).

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (34th dot)

 Comments   
Comment by Artur Puzio [ 2019-03-24 ]
The "filters" mentioned in the Issue description are Django template system filters (the `{% ... %}` syntax used to call functions and use results in templates). The changed behavior affects formatting of date and time depending of locale (eg. Americans place day number between month and year)

Further we are setting USE_L10N to False. So this doesn't change anything.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2187] Check if OIOIOI relies on appending STATIC_ROOT at the end of the URL Created: 2019-03-11  Updated: 2019-03-26  Resolved: 2019-03-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: migration


 Description   
In Django 1.10 url concerning staticfiles are created differently. If we were relying on appending STATIC_ROOT at the end of the URL it will no longer work. Details can be found in the docs.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (33rd dot)

 Comments   
Comment by Artur Puzio [ 2019-03-24 ]
We do not relay on the behavior of simple appending of STATIC_ROOT. All usages are of form "{% static FILENAME %}"
Comment by Artur Puzio [ 2019-03-24 ]
We do not relay on the behavior of simple appending of STATIC_ROOT. All usages are of form "{% static FILENAME %}"




Fix backwards incompatible changes in 1.10 after incrementing django version (SIO-2189)

[SIO-2186] django.forms.models.model_to_dict() returns a queryset rather than a list of primary keys Created: 2019-03-11  Updated: 2020-03-3  Resolved: 2019-03-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Cannot Reproduce Votes: 0
Labels: migration


 Description   
Check if this new behaviour breaks anything (it is new only for ManyToManyFields).

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (32nd dot)

 Comments   
Comment by Michalina Sidor [ 2019-03-26 ]
Models we use this on don't have ManyToManyFields.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2185] Check if OIOIOI relies on AttributeError being thrown after access to deleted model field Created: 2019-03-11  Updated: 2019-03-26  Resolved: 2019-03-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: migration


 Description   
In Django 1.10 accessing a deleted field on a model instance reloads the field’s value instead of raising AttributeError.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (30th dot)

 Comments   
Comment by Marek Żochowski [ 2019-03-25 ]
This change does not affect our codebase.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2184] Find alternative for FileField get_directory_name() and get_filename() methods Created: 2019-03-11  Updated: 2019-03-26  Resolved: 2019-03-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
This methods became depreciated in Django 1.10.
Docs suggest some alternative.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (26th dot)

 Comments   
Comment by Marek Żochowski [ 2019-03-11 ]
We are not using such methods.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2183] Check if OIOIOI is using deferred fields Created: 2019-03-11  Updated: 2019-03-26  Resolved: 2019-03-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
From Django 1.10 models that use deferred fields should pass django.db.models.DEFERRED in __init__().

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (23rd dot)

 Comments   
Comment by Marek Żochowski [ 2019-03-17 ]
This change does not affect OIOIOI, because we are not using this feature.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2182] Think whether initialization of middleware classes during server start breaks anything Created: 2019-03-11  Updated: 2019-03-26  Resolved: 2019-03-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: migration


 Description   
Before Django 1.10 this classes were initialized during first request, now they are initialized during server start.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (18th dot)




[SIO-2181] Check if ModelBackend and RemoteUserBackend new inactive user treatment breaks anything Created: 2019-03-11  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: migration

Issue Links:
Blocks
is blocked by SIO-2154 Increment Django version to 1.10 Closed

 Description   
Default (ModelBackend) and RemoteUserBackend authentication backends now reject inactive users. I don't see any change compared to the current behaviour, but some of our classes derive from them, so is worth a look to check if it doesn't break anything (especially ipdnsauth tests).

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (14th dot)

 Comments   
Comment by Artur Puzio [ 2019-03-19 ]
su na niekatywnych użytowników potencjalnie się zepsuje.
Comment by Michalina Sidor [ 2019-03-20 ]
W tym momencie na sio2.mimuw.edu.pl su na nieaktywnego użytkownika powoduje wylogowanie admina
Comment by Michalina Sidor [ 2019-03-23 ]
I think this is best checked after we've incremented the Django version. Lack of ability of inactive users to login is intended behaviour.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2180] Replace Command.execute() with call_command() Created: 2019-03-11  Updated: 2019-03-26  Resolved: 2019-03-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (13th dot)

 Comments   
Comment by Marek Żochowski [ 2019-03-17 ]
OIOIOI doesn't execute command this way, so nothing needed to be changed.




Fix backwards incompatible changes in 1.10 after incrementing django version (SIO-2189)

[SIO-2179] Remove choices argument from Select/SelectMultiple widgets' render() and render_options() methods Created: 2019-03-11  Updated: 2020-03-3  Resolved: 2019-04-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
These arguments were removed from the aforementioned methods in Django 1.10. In the second case (render_options()) selected_choices are now the first positional argument (watch out for classes derived from django's Select and SelectMultiple).

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (11th dot)

 Comments   
Comment by Marek Żochowski [ 2019-03-11 ]
This ticket can be completed only after upgrade to Django 1.10 is done.
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 3 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates all relevant
dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets' render() and render_options() methods

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-3 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 4 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecetaed in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-6 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 4 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecetaed in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2178] Check if objects with close() method are used after being passed to HttpResponse Created: 2019-03-11  Updated: 2019-03-26  Resolved: 2019-03-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
In Django 1.10 such objects are closed immediately after being passed to HttpResponse.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#miscellaneous (5th dot)

 Comments   
Comment by Marek Żochowski [ 2019-03-17 ]
Such objects are not used after being passed to HttpResponse.




[SIO-2177] Fix backwards incompatible changes in 1.10 before incrementing django version Created: 2019-03-10  Updated: 2020-03-3  Resolved: 2019-04-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration

Issue Links:
Blocks
blocks SIO-2154 Increment Django version to 1.10 Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2170 Check if select_related() is used to ... Sub-task Closed Szymon Acedański  
SIO-2171 Check if _meta.get_fields() are calle... Sub-task Closed Szymon Acedański  
SIO-2172 Think whether increased max_length of... Sub-task Closed Szymon Acedański  
SIO-2173 Think whether we want runserver to wr... Sub-task Closed Szymon Acedański  
SIO-2174 Check if null assignment check for no... Sub-task Closed Szymon Acedański  
SIO-2178 Check if objects with close() method ... Sub-task Closed Szymon Acedański  
SIO-2180 Replace Command.execute() with call_c... Sub-task Closed Szymon Acedański  
SIO-2182 Think whether initialization of middl... Sub-task Closed Szymon Acedański  
SIO-2183 Check if OIOIOI is using deferred fields Sub-task Closed Szymon Acedański  
SIO-2184 Find alternative for FileField get_di... Sub-task Closed Szymon Acedański  
SIO-2185 Check if OIOIOI relies on AttributeEr... Sub-task Closed Szymon Acedański  
SIO-2187 Check if OIOIOI relies on appending S... Sub-task Closed Szymon Acedański  
SIO-2188 Check if setting USE_L10N to True bre... Sub-task Closed Szymon Acedański  
SIO-2201 django.core.context_processors -> dja... Sub-task Closed Szymon Acedański  
SIO-2212 Remove AlterModelManagers from migrat... Sub-task Closed Szymon Acedański  




Fix backwards incompatible changes in 1.10 after incrementing django version (SIO-2189)

[SIO-2176] Find alternative for Field.get_prep_lookup() and Field.get_db_prep_lookup() methods Created: 2019-03-10  Updated: 2020-03-3  Resolved: 2019-04-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
In Django 1.10 the aforementioned methods were removed.
Docs are suggesting some alternative.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#field-get-prep-lookup-and-field-get-db-prep-lookup-methods-are-removed

 Comments   
Comment by Artur Puzio [ 2019-03-19 ]
Jedno wystąpienie w FileTracker.


filetracker/fields.py: def get_prep_lookup(self, lookup_type, value):
filetracker/fields.py: return super(FileField, self).get_prep_lookup(lookup_type, value)

Do usunięcia nasza implementacja.
Comment by Michalina Sidor [ 2019-03-23 ]
Bardziej jest tak, że ten kod został wyekstrahowany do czegoś innego w django, i nie do końca jeszcze rozumiem do czego
Comment by Marek Żochowski [ 2019-03-25 ]
Z tego co rozumiem to teraz kod lookupów używa get_prep_value do konwersji otrzymanej wartości do tej zdatnej do użycia w zapytaniu bazodanowym. Jeżeli byśmy robili customowe lookupy to wtedy musielibyśmy przenieść tę logikę do nich, ale w obecnej sytuacji wystarczy tę funkcję usunąć (kod w get_prep_value jest ten sam).
Comment by Marek Żochowski [ 2019-03-25 ]
To wymaga zmiany kodu w sposób, który będzie niekompatybilny z 1.9, więc przerzucam to do https://jira.sio2project.mimuw.edu.pl/browse/SIO-2189.
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 3 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates all relevant
dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets' render() and render_options() methods

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-3 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 4 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecetaed in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-6 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 4 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecetaed in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602




[SIO-2175] Upgrade Cellery Created: 2019-03-10  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: migration


 Description   
We probably should also upgrade Cellery to latest version

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2174] Check if null assignment check for non-null foreign key fields is used Created: 2019-03-10  Updated: 2019-03-26  Resolved: 2019-03-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
In Django 1.10 this check is removed, so any solutions depending on it should be rewritten.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#removed-null-assignment-check-for-non-null-foreign-key-fields

 Comments   
Comment by Marek Żochowski [ 2019-03-12 ]
This change doesn't affect us.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2173] Think whether we want runserver to write its output to our logs. Created: 2019-03-10  Updated: 2019-03-26  Resolved: 2019-03-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Minor
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
From Django 1.10 runserver command (z manage.py) nie wyświetla outputu na stderr, tylko przesyła go do django server logger. Jeżeli aktualnie to nam nic nie psuje, to chętnie zostawiłbym tego ticketa, żeby w przyszłości sprawić aby ten output był faktycznie zapisywany do naszych logów (brakowało mi tej opcji).

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#runserver-output-goes-through-logging

 Comments   
Comment by Marek Żochowski [ 2019-03-12 ]
We are using supervisor's uwsgi instead of runserwer, so this change doesn't affect us.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2172] Think whether increased max_length of users' username is a problem Created: 2019-03-10  Updated: 2019-03-26  Resolved: 2019-03-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
In Django 1.10 max lenght of user's username was increased from 30 to 150.
It will probably cause problems with displaying such long strings, e.g top bar.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#abstractuser-username-max-length-increased-to-150

 Comments   
Comment by Marek Żochowski [ 2019-03-12 ]
This change shouldn't be a problem.




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2171] Check if _meta.get_fields() are called on proxy models Created: 2019-03-10  Updated: 2019-03-26  Resolved: 2019-03-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: migration


 Description   
The get_fields() method returned different reverse fields when called on a proxy model compared to its proxied concrete class. It was fixed in Django 1.10 by returning full set of fields pointing to a concrete class or one of its proxies in both cases.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#meta-get-fields-returns-consistent-reverse-fields-for-proxy-models

 Comments   
Comment by Michalina Sidor [ 2019-03-23 ]
I checked the occurences in [oi-hound](http://yuu.iscute.ovh/oi-hound/?q=get_fields&i=nope&files=%5C.py&repos=filetracker,oioioi,sioworkers) and verified that they return visually the same thing in Django 1.9 and Django 1.10




Fix backwards incompatible changes in 1.10 before incrementing django version (SIO-2177)

[SIO-2170] Check if select_related() is used to nested non-relation fields Created: 2019-03-10  Updated: 2019-03-26  Resolved: 2019-03-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
Before Django 1.10 select_related() didn't prohibit nested non-relation fields, but it will do so in 1.10. If we are exploiting this bug, we should find alternative solution.

Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#select-related-prohibits-non-relational-fields-for-nested-relations

 Comments   
Comment by Marek Żochowski [ 2019-03-12 ]
We are not affected by this change.




[SIO-2169] Understand consequences and enable SessionAuthenticationMiddleware Created: 2019-03-10  Updated: 2019-03-26  Resolved: 2019-03-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Cannot Reproduce Votes: 0
Labels: migration

Issue Links:
Blocks
blocks SIO-2154 Increment Django version to 1.10 Closed

 Description   
Session verification will become mandatory in Django 1.10. Please add 'django.contrib.auth.middleware.SessionAuthenticationMiddleware' to your MIDDLEWARE_CLASSES setting when you are ready to opt-in after reading the upgrade considerations in the 1.8 release notes.

Main part of this issue is understanding consequences for IP/DNS authentication of the SessionAuthenticationMiddleware

 Comments   
Comment by Artur Puzio [ 2019-03-10 ]
https://docs.djangoproject.com/en/2.1/topics/auth/default/#session-invalidation-on-password-change
Comment by Michalina Sidor [ 2019-03-26 ]
When logging in, a hash of user's password (user.get_session_auth_hash()) is saved in user's session and verified on each request.
Therefore, it should not break things for us in terms of ipdnsauth.




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2168] Set on_delete behaviour in fields other then ForeignKey Created: 2019-03-10  Updated: 2019-03-26  Resolved: 2019-03-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
OneToOneField, OneToOneBothHandsCascadingParticipantField, TreeForeignKey

 Comments   
Comment by Gerrit Gerrit [ 2019-03-10 ]
Change oioioi~master~I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3153

(SIO-2168) Set on_delete behaviour

This solved following warning

RemovedInDjango20Warning: on_delete will be a required arg for *** in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior.

Behaviour is set to the current default of CASCADE where undefined.

This commit doesn't introduce any difference in code logic.

Change-Id: I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3153

(SIO-2168) Set on_delete behaviour

This solved following warning

RemovedInDjango20Warning: on_delete will be a required arg for *** in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior.

Behaviour is set to the current default of CASCADE where undefined.

This commit doesn't introduce any difference in code logic.

Change-Id: I8439d40e0d5a6b16336a8f4ab4983f9e7fc52e08




[SIO-2167] Figure out why some tasks imported from main are missing Created: 2019-03-9  Updated: 2020-03-3  Resolved: 2019-06-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2018/19 Sprint 1

Type: Improvement Priority: Major
Reporter: Iwona Kotlarska Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
For example older OIGs

 Comments   
Comment by Bartosz Kostka [ 2019-03-14 ]
Right now, most of the problems missing are generally interactive problems (most of them have to be set manually). Right now, from the Polish Szkopuł, only 28 tasks are missing (mostly from the first edition of the Olympiad).
Comment by Bartosz Kostka [ 2019-05-5 ]
I'm happy to announce that all problems from the POI are currently on Szkopuł.
Comment by Iwona Kotlarska [ 2019-06-17 ]
It turned out that the issue was resolved anyway.




[SIO-2166] Talk to teachers in Staszic about possible improvements to problemset Created: 2019-03-9  Updated: 2019-03-26  Resolved: 2019-03-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2018/19 Sprint 1

Type: Improvement Priority: Major
Reporter: Iwona Kotlarska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None





[SIO-2165] Talk to students in Staszic about possible improvements to problemset Created: 2019-03-9  Updated: 2020-03-3  Resolved: 2019-05-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2018/19 Sprint 1

Type: Improvement Priority: Major
Reporter: Iwona Kotlarska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None





Increment Django version to 1.10 (SIO-2154)

[SIO-2164] Determine dependency versions for Django 1.10 Created: 2019-03-8  Updated: 2019-04-9  Resolved: 2019-03-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration

Attachments: Text File django10.patch    

 Comments   
Comment by Artur Puzio [ 2019-03-10 ]
To potencjalnie jest dobry patch
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 3 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates all relevant
dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets' render() and render_options() methods

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-3 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 4 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecetaed in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-6 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 4 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecetaed in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2163] Replace allow_tags attribute Created: 2019-03-8  Updated: 2019-03-26  Resolved: 2019-03-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango20Warning: Deprecated allow_tags attribute used on <bound method BalloonsDeliveryAccessDataInline.access_link of <oioioi.balloons.admin.BalloonsDeliveryAccessDataInline object at 0x7fec1781f0d0>>. Use django.utils.html.format_html(), format_html_join(), or django.utils.safestring.mark_safe() instead.

 Comments   
Comment by Gerrit Gerrit [ 2019-03-8 ]
Change oioioi~master~Id5fc5af180de6bd2c9d9caa83cc24991fd6ed459, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3151

(SIO-2163) Replace allow_tags attribute

This solves following type of warning:

RemovedInDjango20Warning: Deprecated allow_tags attribute used on <bound method BalloonsDeliveryAccessDataInline.access_link of <oioioi.balloons.admin.BalloonsDeliveryAccessDataInline object at 0x7fec1781f0d0>>. Use django.utils.html.format_html(), format_html_join(), or django.utils.safestring.mark_safe() instead.

allow_tags was replaced by using format_html where possible.
In some places no changes were introduced as allow_tags wasn't needed.

Change-Id: Id5fc5af180de6bd2c9d9caa83cc24991fd6ed459
Comment by Gerrit Gerrit [ 2019-03-9 ]
Change oioioi~master~Id5fc5af180de6bd2c9d9caa83cc24991fd6ed459, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3151

(SIO-2163) Replace allow_tags attribute

This solves following type of warning:

RemovedInDjango20Warning: Deprecated allow_tags attribute used on <bound method BalloonsDeliveryAccessDataInline.access_link of <oioioi.balloons.admin.BalloonsDeliveryAccessDataInline object at 0x7fec1781f0d0>>. Use django.utils.html.format_html(), format_html_join(), or django.utils.safestring.mark_safe() instead.

allow_tags was replaced by using format_html where possible.
In some places no changes were introduced as allow_tags wasn't needed.

Change-Id: Id5fc5af180de6bd2c9d9caa83cc24991fd6ed459
Comment by Gerrit Gerrit [ 2019-03-10 ]
Change oioioi~master~Id5fc5af180de6bd2c9d9caa83cc24991fd6ed459, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3151

(SIO-2163) Replace allow_tags attribute

This solves following type of warning:

RemovedInDjango20Warning: Deprecated allow_tags attribute used on <bound method BalloonsDeliveryAccessDataInline.access_link of <oioioi.balloons.admin.BalloonsDeliveryAccessDataInline object at 0x7fec1781f0d0>>. Use django.utils.html.format_html(), format_html_join(), or django.utils.safestring.mark_safe() instead.

allow_tags was replaced by using format_html where possible.
In some places no changes were introduced as allow_tags wasn't needed.

Change-Id: Id5fc5af180de6bd2c9d9caa83cc24991fd6ed459
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~Id5fc5af180de6bd2c9d9caa83cc24991fd6ed459, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3151

(SIO-2163) Replace allow_tags attribute

This solves following type of warning:

RemovedInDjango20Warning: Deprecated allow_tags attribute used on <bound method BalloonsDeliveryAccessDataInline.access_link of <oioioi.balloons.admin.BalloonsDeliveryAccessDataInline object at 0x7fec1781f0d0>>. Use django.utils.html.format_html(), format_html_join(), or django.utils.safestring.mark_safe() instead.

allow_tags was replaced by using format_html where possible.
In some places no changes were introduced as allow_tags wasn't needed.

Change-Id: Id5fc5af180de6bd2c9d9caa83cc24991fd6ed459




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2162] Set the app_name attribute in urls modules Created: 2019-03-7  Updated: 2019-03-26  Resolved: 2019-03-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango20Warning: Specifying a namespace in django.conf.urls.include() without providing an app_name is deprecated. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead.

 Comments   
Comment by Gerrit Gerrit [ 2019-03-8 ]
Change oioioi~master~I672dec638e1fd97e5d13eb251311845cc78bd6e7, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3149

(SIO-2162) Set the app_name in urls modules

Change-Id: I672dec638e1fd97e5d13eb251311845cc78bd6e7
Comment by Gerrit Gerrit [ 2019-03-8 ]
Change oioioi~master~I672dec638e1fd97e5d13eb251311845cc78bd6e7, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3149

(SIO-2162) Adjust deprecated usage of include

- Set the app_name in urls modules
- Pass tuple of (module, app_name) to include where needed

Change-Id: I672dec638e1fd97e5d13eb251311845cc78bd6e7
Comment by Gerrit Gerrit [ 2019-03-10 ]
Change oioioi~master~I672dec638e1fd97e5d13eb251311845cc78bd6e7, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3149

(SIO-2162) Adjust deprecated usage of include

- Set the app_name in urls modules
- Pass tuple of (module, app_name) to include where needed

Change-Id: I672dec638e1fd97e5d13eb251311845cc78bd6e7
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I672dec638e1fd97e5d13eb251311845cc78bd6e7, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3149

(SIO-2162) Adjust deprecated usage of include

- Set the app_name in urls modules
- Pass tuple of (module, app_name) to include where needed

Change-Id: I672dec638e1fd97e5d13eb251311845cc78bd6e7




Fix Python 3 tests (SIO-2157)

[SIO-2161] Fix invalid type of compiler_output and compilation_message Created: 2019-03-5  Updated: 2020-03-3  Resolved: 2019-05-27

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Michalina Sidor Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
When evaluating a submission on Python 3, serializing environ to JSON causes an error, because compiler_output and compilation_message are bytes and not str.

 Comments   
Comment by Gerrit Gerrit [ 2019-04-15 ]
Change sioworkers~master~I3ab2055334369dc645278ddea9d45f17136e23c9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3189

(SIO-2161) Change compiler_output type on Python 3

Change-Id: I3ab2055334369dc645278ddea9d45f17136e23c9




[SIO-2160] Enable submitservice module on Szkopul Created: 2019-03-5  Updated: 2020-03-3  Resolved: 2019-10-10

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: easy, tag1

Issue Links:
Relates
relates to SIO-2280 Add helper in submit view to api command New
is related to SIO-2280 Add helper in submit view to api command New

 Description   
... to allow submitting from terminal.

 Comments   
Comment by Zuzanna Opała [ 2019-10-10 ]
As there is an API now it is the better way to achieve the same goal so I've created new issue related to this one.




[SIO-2159] Define and enforce what names are allowed Created: 2019-03-5  Updated: 2020-03-3  Resolved: 2020-02-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy, tag1

TAG Developer: Franciszek Hnatów

 Description   
Specifying a strange name, e.g. long, full of Unicode chars, etc., may mare thinks like ranking unreadable.

 Comments   
Comment by Gerrit Gerrit [ 2020-01-16 ]
Change oioioi~master~Ia79092ba87cd4207247e65b73ec46fc9e18890a2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3386

SIO-2159 Define and enforce what names are allowed

Change-Id: Ia79092ba87cd4207247e65b73ec46fc9e18890a2
Comment by Gerrit Gerrit [ 2020-01-17 ]
Change oioioi~master~Ia79092ba87cd4207247e65b73ec46fc9e18890a2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3386

SIO-2159 Define and enforce what names are allowed

Change-Id: Ia79092ba87cd4207247e65b73ec46fc9e18890a2
Comment by Gerrit Gerrit [ 2020-01-17 ]
Change oioioi~master~Ia79092ba87cd4207247e65b73ec46fc9e18890a2, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3386

SIO-2159 Define and enforce what names are allowed

Change-Id: Ia79092ba87cd4207247e65b73ec46fc9e18890a2
Comment by Gerrit Gerrit [ 2020-01-17 ]
Change oioioi~master~Ia79092ba87cd4207247e65b73ec46fc9e18890a2, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3386

SIO-2159 Define and enforce what names are allowed

Change-Id: Ia79092ba87cd4207247e65b73ec46fc9e18890a2
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~Ia79092ba87cd4207247e65b73ec46fc9e18890a2, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3386

SIO-2159 Define and enforce what names are allowed

Change-Id: Ia79092ba87cd4207247e65b73ec46fc9e18890a2
Comment by Gerrit Gerrit [ 2020-01-22 ]
Change oioioi~master~Ia79092ba87cd4207247e65b73ec46fc9e18890a2, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3386

SIO-2159 Define and enforce what names are allowed

Change-Id: Ia79092ba87cd4207247e65b73ec46fc9e18890a2




Fix deprecation warnings found in tests for Django 1.9 (SIO-2153)

[SIO-2158] Set foreign key on_delete behaviour Created: 2019-03-5  Updated: 2019-03-26  Resolved: 2019-03-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: Michalina Sidor Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration


 Description   
RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.9/ref/models/fields/#django.db.models.ForeignKey.on_delete

 Comments   
Comment by Gerrit Gerrit [ 2019-03-8 ]
Change oioioi~master~Idbb720a4661be1387a5aea2d4a5cf9011d89cd82, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3150

(SIO-2158) Set ForeignKey on_delete behaviour

This solves following warning:

RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.9/ref/models/fields/#django.db.models.ForeignKey.on_delete

In few places on_delete was defined as models.SET_NULL by this commit,
as such behaviour seems intended from the context.

Change-Id: Idbb720a4661be1387a5aea2d4a5cf9011d89cd82
Comment by Gerrit Gerrit [ 2019-03-8 ]
Change oioioi~master~Idbb720a4661be1387a5aea2d4a5cf9011d89cd82, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3150

(SIO-2158) Set ForeignKey on_delete behaviour

This solves following warning:

RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.9/ref/models/fields/#django.db.models.ForeignKey.on_delete

Existing migrations were adjusted to include the default of
on_delete=models.CASCADE

In few places on_delete was defined as models.SET_NULL by this commit,
as such behaviour seems intended from the context. Relevant migrations
were added.

Change-Id: Idbb720a4661be1387a5aea2d4a5cf9011d89cd82
Comment by Gerrit Gerrit [ 2019-03-10 ]
Change oioioi~master~Idbb720a4661be1387a5aea2d4a5cf9011d89cd82, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3150

(SIO-2158) Set ForeignKey on_delete behaviour

This solves following warning:

RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.9/ref/models/fields/#django.db.models.ForeignKey.on_delete

Existing migrations were adjusted to include the default of
on_delete=models.CASCADE

In few places on_delete was defined as models.SET_NULL by this commit,
as such behaviour seems intended from the context. Relevant migrations
were added.

Change-Id: Idbb720a4661be1387a5aea2d4a5cf9011d89cd82
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~Idbb720a4661be1387a5aea2d4a5cf9011d89cd82, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3150

(SIO-2158) Set ForeignKey on_delete behaviour

This solves following warning:

RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.9/ref/models/fields/#django.db.models.ForeignKey.on_delete

Existing migrations were adjusted to include the default of
on_delete=models.CASCADE

In few places on_delete was defined as models.SET_NULL by this commit,
as such behaviour seems intended from the context. Relevant migrations
were added.

Change-Id: Idbb720a4661be1387a5aea2d4a5cf9011d89cd82




[SIO-2157] Fix Python 3 tests Created: 2019-03-5  Updated: 2021-03-22  Resolved: 2021-03-22

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Marek Żochowski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: migration

Issue Links:
Blocks
is blocked by SIO-2152 Fix Python 3 test execution Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2161 Fix invalid type of compiler_output a... Sub-task Closed Szymon Acedański  

 Comments   
Comment by Gerrit Gerrit [ 2019-03-5 ]
Change oioioi~master~Ib4b2ca1e765d77d30579eef5866047689869ec2c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3148

(SIO-2157) Add bytes decoding to oioioi.base tests

Also a few small cases of assertEquals => assertEqual due
to deprecation warnings

Change-Id: Ib4b2ca1e765d77d30579eef5866047689869ec2c
Comment by Gerrit Gerrit [ 2019-04-22 ]
Change oioioi~master~I0f1b354a2248986e6c7a1eabafab2394d5716dc0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3198

(SIO-2157) tests: Replace assertEquals with assertEqual

assertEquals is removed/deprecated in Python 3.

Change-Id: I0f1b354a2248986e6c7a1eabafab2394d5716dc0
Comment by Gerrit Gerrit [ 2019-04-22 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-22 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-23 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-23 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-29 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-29 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-29 ]
Change oioioi~master~Ia818b928db56d9f99e7279c8a4ad5051ab17a4fb, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3205

(SIO-2157) tests: Remove uses of assert_

assert_ is deprecated in Python 3, superseded by assertTrue.

Change-Id: Ia818b928db56d9f99e7279c8a4ad5051ab17a4fb
Comment by Gerrit Gerrit [ 2019-04-29 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ia818b928db56d9f99e7279c8a4ad5051ab17a4fb, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3205

(SIO-2157) tests: Remove uses of assert_

assert_ is deprecated in Python 3, superseded by assertTrue.

Change-Id: Ia818b928db56d9f99e7279c8a4ad5051ab17a4fb
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ia79e40277b357b320d0dcce458d83fe17e60bac1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3208

(SIO-2157) Correct uses of execute

Change-Id: Ia79e40277b357b320d0dcce458d83fe17e60bac1
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ia818b928db56d9f99e7279c8a4ad5051ab17a4fb, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3205

(SIO-2157) tests: Remove uses of assert_

assert_ is deprecated in Python 3, superseded by assertTrue.

Change-Id: Ia818b928db56d9f99e7279c8a4ad5051ab17a4fb
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ia79e40277b357b320d0dcce458d83fe17e60bac1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3208

(SIO-2157) Change expected behaviour of execute

`execute` now returns output as bytestring or bytestrings on both
Pythons and expects `input` argument to be a bytestring.

Change-Id: Ia79e40277b357b320d0dcce458d83fe17e60bac1
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ia79e40277b357b320d0dcce458d83fe17e60bac1, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3208

(SIO-2157) Change expected behaviour of execute

`execute` now returns output as bytestring or bytestrings on both
Pythons and expects `input` argument to be a bytestring.

Change-Id: Ia79e40277b357b320d0dcce458d83fe17e60bac1
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ia79e40277b357b320d0dcce458d83fe17e60bac1, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3208

(SIO-2157) Change expected behaviour of execute

`execute` now returns output as bytestring or bytestrings on both
Pythons and expects `input` argument to be a bytestring.

Change-Id: Ia79e40277b357b320d0dcce458d83fe17e60bac1
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ia79e40277b357b320d0dcce458d83fe17e60bac1, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3208

(SIO-2157) Change expected behaviour of execute

`execute` now returns output as bytestring or bytestrings on both
Pythons and expects `input` argument to be a bytestring.

Change-Id: Ia79e40277b357b320d0dcce458d83fe17e60bac1
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ia79e40277b357b320d0dcce458d83fe17e60bac1, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3208

(SIO-2157) Change expected behaviour of execute

`execute` now returns output as bytestring or bytestrings on both
Pythons and expects `input` argument to be a bytestring.

Change-Id: Ia79e40277b357b320d0dcce458d83fe17e60bac1
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-04-30 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-05-9 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-05-9 ]
Change oioioi~master~Idef892be1ca8eb270cbeef10e372f0f89558f1a3, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3200

(SIO-2157) tests: Replace assertIn with assertContains

assertIn and assertNotIn are used extensively for defining test cases.
Both these functions operate on sequences (strings or bytestrings in
this case).

Django provides its own extension, assertContains, which operates on a
response object and a text type string (unicode on py2, str on py3).

Using assertContains and assertNotContains provides a more semantic way
of expressing test cases, and has a useful side effect of increasing py3
compatibility.

It can also replace another type of test cases of the form:

        assertEqual(response.content.count(x) == y)

with:

        assertContains(response, x, count=y)

where `count=` is not even needed, but I think it increases readability.

Change-Id: Idef892be1ca8eb270cbeef10e372f0f89558f1a3
Comment by Gerrit Gerrit [ 2019-05-9 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-05-9 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix string type mismatches

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-05-11 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix many string type issues

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-05-11 ]
Change oioioi~master~I4a73355f0baec3d83f3c63376d46776ba3c8deb3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3227

(SIO-2157) tests: Use assertRegex in tests

assertRegex does not exist in Python 2.7, so a workaround is put in
oioioi.base.tests.TestCase that uses the old assertRegexpMatches which,
in turn, does not appear in Python 3.

Same for assertNotRegex{,pMatches}.

Change-Id: I4a73355f0baec3d83f3c63376d46776ba3c8deb3
Comment by Gerrit Gerrit [ 2019-05-11 ]
Change oioioi~master~I1ff202c5a2810270d7a4d9ed570578eebb7b6d2e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3228

(SIO-2157) tests: Fix many string type issues part 2

Change-Id: I1ff202c5a2810270d7a4d9ed570578eebb7b6d2e
Comment by Gerrit Gerrit [ 2019-05-11 ]
Change oioioi~master~I1ff202c5a2810270d7a4d9ed570578eebb7b6d2e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3228

(SIO-2157) tests: Fix many string type issues part 2

Change-Id: I1ff202c5a2810270d7a4d9ed570578eebb7b6d2e
Comment by Gerrit Gerrit [ 2019-05-13 ]
Change oioioi~master~Ic0fd1184daf648b274e795c466befae986f745e4, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3206

(SIO-2157) tests: Fix many string type issues

Change-Id: Ic0fd1184daf648b274e795c466befae986f745e4
Comment by Gerrit Gerrit [ 2019-05-13 ]
Change oioioi~master~I4a73355f0baec3d83f3c63376d46776ba3c8deb3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3227

(SIO-2157) tests: Use assertRegex in tests

assertRegex does not exist in Python 2.7, so a workaround is put in
oioioi.base.tests.TestCase that uses the old assertRegexpMatches which,
in turn, does not appear in Python 3.

Same for assertNotRegex{,pMatches}.

Change-Id: I4a73355f0baec3d83f3c63376d46776ba3c8deb3
Comment by Gerrit Gerrit [ 2019-05-13 ]
Change oioioi~master~I4a73355f0baec3d83f3c63376d46776ba3c8deb3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3227

(SIO-2157) tests: Use assertRegex in tests

assertRegex does not exist in Python 2.7, so a workaround is put in
oioioi.base.tests.TestCase that uses the old assertRegexpMatches which,
in turn, does not appear in Python 3.

Same for assertNotRegex{,pMatches}.

Change-Id: I4a73355f0baec3d83f3c63376d46776ba3c8deb3
Comment by Gerrit Gerrit [ 2019-05-13 ]
Change oioioi~master~I1ff202c5a2810270d7a4d9ed570578eebb7b6d2e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3228

(SIO-2157) tests: Fix many string type issues part 2

Change-Id: I1ff202c5a2810270d7a4d9ed570578eebb7b6d2e
Comment by Gerrit Gerrit [ 2019-05-14 ]
Change oioioi~master~I1ff202c5a2810270d7a4d9ed570578eebb7b6d2e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3228

(SIO-2157) tests: Fix many string type issues part 2

Change-Id: I1ff202c5a2810270d7a4d9ed570578eebb7b6d2e




[SIO-2156] Adding API base Created: 2019-03-5  Updated: 2020-03-3  Resolved: 2019-06-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
It would be cool to have sio2 REST API!

The goal of this task is to create API base - establish authentication method and define general schema for requests.
It is the first step in creating an API. It will allow adding new end points easily.

 Comments   
Comment by Gerrit Gerrit [ 2019-04-1 ]
Change oioioi~master~I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3178

(SIO-2156) Setup api base

This commit setups the API using django rest framework.
It also adds USE_API setting which allows to turn on and of
the API, sets up session and token authorization and
interactive documentation.

More information about the framework can be found on
its websire: django-rest-framework.org

Change-Id: I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3
Comment by Gerrit Gerrit [ 2019-04-1 ]
Change oioioi~master~I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3178

(SIO-2156) Setup api base

This commit setups the API using django rest framework.
It also adds USE_API setting which allows to turn on and of
the API, sets up session and token authorization and
interactive documentation.

More information about the framework can be found on
its websire: django-rest-framework.org

Change-Id: I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3
Comment by Gerrit Gerrit [ 2019-04-1 ]
Change oioioi~master~I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3178

(SIO-2156) Setup api base

This commit setups the API using django rest framework.
It also adds USE_API setting which allows to turn on and of
the API, sets up session and token authorization and
interactive documentation.

More information about the framework can be found on
its websire: django-rest-framework.org

Change-Id: I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3
Comment by Gerrit Gerrit [ 2019-04-1 ]
Change oioioi~master~I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3178

(SIO-2156) Setup api base

This commit setups the API using django rest framework.
It also adds USE_API setting which allows to turn on and of
the API, sets up session and token authorization and
interactive documentation.

More information about the framework can be found on
its websire: django-rest-framework.org

Change-Id: I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3
Comment by Gerrit Gerrit [ 2019-04-2 ]
Change oioioi~master~I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3178

(SIO-2156) Setup api base

This commit setups the API using DjangoRestFramework.
It also adds USE_API setting which allows to turn on and
off the API, sets up session, token authorization, and
interactive documentation.

More information about the framework can be found on
its website: http://django-rest-framework.org

Change-Id: I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3178

(SIO-2156) Setup api base

This commit setups the API using DjangoRestFramework.
It also adds USE_API setting which allows to turn on and
off the API, sets up session, token authorization, and
interactive documentation.

More information about the framework can be found on
its website: http://django-rest-framework.org

Change-Id: I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3178

(SIO-2156) Setup api base

This commit setups the API using DjangoRestFramework.
It also adds USE_API setting which allows to turn on and
off the API, sets up session, token authorization, and
interactive documentation.

More information about the framework can be found on
its website: http://django-rest-framework.org

Change-Id: I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3178

(SIO-2156) Setup api base

This commit setups the API using DjangoRestFramework.
It also adds USE_API setting which allows to turn on and
off the API, sets up session, token authorization, and
interactive documentation.

More information about the framework can be found on
its website: http://django-rest-framework.org

Change-Id: I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3
Comment by Gerrit Gerrit [ 2019-04-8 ]
Change oioioi~master~I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3178

(SIO-2156) Setup api base

This commit setups the API using DjangoRestFramework.
It also adds USE_API setting which allows to turn on and
off the API, sets up session, token authorization, and
interactive documentation.

More information about the framework can be found on
its website: http://django-rest-framework.org

Change-Id: I2aecd93e519ff1ef4055c9d9eb3e9a0c4d7c7af3




[SIO-2155] Fix Django deprecation warnings on 1.10 Created: 2019-03-5  Updated: 2021-03-22  Resolved: 2021-03-22

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Artur Puzio Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: migration

Issue Links:
Blocks
is blocked by SIO-2154 Increment Django version to 1.10 Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2232 Set the app_name attribute in urls mo... Sub-task Closed Szymon Acedański  
SIO-2233 Adapt old-style settings.MIDDLEWARE_C... Sub-task Closed Szymon Acedański  
SIO-2234 Change use of User.is_authenticated()... Sub-task Closed Szymon Acedański  
SIO-2235 Fix test_portals.json fixture Sub-task Closed Szymon Acedański  

 Comments   
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for warning generated by kombu package.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for warning generated by kombu package.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for 'on_delete' warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added exception for 'on_delete' warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-1 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2234 Change use of User.is_authenticated() and User.is_anonymous() methods
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-7 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version
SIO-2235 Fix test_portals.json fixture

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef
Comment by Gerrit Gerrit [ 2019-05-9 ]
Change oioioi~master~I5811b92c9294f2d87d61bc70d672dcaf4e5dacef, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3211

(no-ticket) Fix pytest.ini so that it treats all new deprecation warnings as errors

In the earlier similar commit class PendingDeprecationWarning was
not added to the list warning --> error (did not generated an error),
but it is now.
Additionally, new exceptions were added and appropriate
Jira issues were created:

SIO-2155 Set the app_name attribute in urls modules strikes back
SIO-2233 Adapt old-style settings.MIDDLEWARE_CLASSES to the new version

Added an exception for warnings generated by external packages.

Change-Id: I5811b92c9294f2d87d61bc70d672dcaf4e5dacef




[SIO-2154] Increment Django version to 1.10 Created: 2019-03-5  Updated: 2020-03-3  Resolved: 2019-04-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Michalina Sidor Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration

Issue Links:
Blocks
blocks SIO-2155 Fix Django deprecation warnings on 1.10 Resolved
blocks SIO-2181 Check if ModelBackend and RemoteUserB... Resolved
blocks SIO-2189 Fix backwards incompatible changes in... Closed
is blocked by SIO-2153 Fix deprecation warnings found in tes... Closed
is blocked by SIO-2169 Understand consequences and enable Se... Closed
is blocked by SIO-2177 Fix backwards incompatible changes in... Closed
is blocked by SIO-2190 Replace NoArgsCommand with BaseCommand Closed
is blocked by SIO-2192 Replace OptionParser with ArgumentParser Closed
Duplicate
is duplicated by SIO-1835 Support Django 1.10 Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2164 Determine dependency versions for Dja... Sub-task Closed Szymon Acedański  

 Comments   
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change incremenets Django version to 1.10 and updates all relevant
dependencies.

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change incremenets Django version to 1.10 and updates all relevant
dependencies.

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~I360c4b4f50c09ca49088484630f7a5b34213185c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3166

(SIO-2154) Django 1.10

This change incremenets Django version to 1.10 and updates all relevant
dependencies.

Change-Id: I360c4b4f50c09ca49088484630f7a5b34213185c
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change incremenets Django version to 1.10 and updates all relevant
dependencies.

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change incremenets Django version to 1.10 and updates all relevant
dependencies.

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change incremenets Django version to 1.10 and updates all relevant
dependencies.

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-03-27 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 3 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates all relevant
dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets' render() and render_options() methods

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-3 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 4 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecetaed in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-6 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of 4 sub-changes:

(SIO-2164) This change incremenets Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecetaed in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-7 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602
Comment by Gerrit Gerrit [ 2019-04-9 ]
Change oioioi~master~Ib3eb9aee66930be76dd884f4bcd7c7e238a26602, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/3163

(SIO-2154) Django 1.10

This change consists of multiple sub-changes targeting issues that
cannot be easily and cleanly patched in a backwards compatible manner:

(SIO-2164) This change increments Django version to 1.10 and updates
all relevant dependencies.

(SIO-2176) Find alternative for Field.get_prep_lookup() and
Field.get_db_prep_lookup() methods

The work done in get_prep_lookup is done in get_prep_value in our case,
so there is no need to change anything except the deletion of
get_prep_lookup.

(SIO-2179) Remove choices argument from Select/SelectMultiple widgets'
render() and render_options() methods

(no-ticket) Django1.10 compatible urls.reverse patching

Current urlresolver was deprecated in Django 1.10. Changes made by
Django project require patching in "reverse" in two modules now.

(SIO-2226) Fix tests for new logout behaviour

The behaviour has changed in Django 1.10 so that now the redirect is
done immediately on HTTP level. This patch modifies our tests to adapt
to this change.

(SIO-2227) Fix argument parsing in management commands

In an earlier patch, a switch was made from optparse to argparse for
management commands. However, it was not visible in the passed test
that all positional arguments have to be declared explicitly in parser.

(SIO-2228) Fix tests for new username field constraints

As of Django 1.10, the maximum length of a username is 150, and
username field is also required. Tests were adapted to accomodate
changes in generated HTML.

(SIO-2229) Fix tests for new string-to-boolean conversion

As of Django 1.10, 'y' is no longer recognized as a boolean-convertible
value. Tests were adapted to use 't' instead.

Co-authored-by: Michal Sidor <ms394731@students.mimuw.edu.pl>
Co-authored-by: Artur Puzio <ap395026@students.mimuw.edu.pl>

Change-Id: Ib3eb9aee66930be76dd884f4bcd7c7e238a26602




[SIO-2153] Fix deprecation warnings found in tests for Django 1.9 Created: 2019-03-5  Updated: 2020-03-3  Resolved: 2019-04-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: TAG 2018/19 Sprint 1

Type: Task Priority: Major
Reporter: Michalina Sidor Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration

Issue Links:
Blocks
blocks SIO-2154 Increment Django version to 1.10 Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-2158 Set foreign key on_delete behaviour Sub-task Closed Szymon Acedański  
SIO-2162 Set the app_name attribute in urls mo... Sub-task Closed Szymon Acedański  
SIO-2163 Replace allow_tags attribute Sub-task Closed Szymon Acedański  
SIO-2168 Set on_delete behaviour in fields oth... Sub-task Closed Szymon Acedański  
SIO-2202 Remove usage of context_instance argu... Sub-task Closed Szymon Acedański  
SIO-2203 Add support for the `max_length` argu... Sub-task Closed Szymon Acedański  
SIO-2204 Remove usage of django.conf.urls.patt... Sub-task Closed Szymon Acedański  
SIO-2205 Remove usage of reversing urls by dot... Sub-task Closed Szymon Acedański  
SIO-2206 Always pass callable to url() Sub-task Closed Szymon Acedański  
SIO-2207 Always call render() with dict Sub-task Closed Szymon Acedański  
SIO-2208 Remove usage of deprecated unoficial ... Sub-task Closed Szymon Acedański  
SIO-2209 Use DISABLE_PANELS config instead of ... Sub-task Closed Szymon Acedański  
SIO-2210 Replace SimpleTestCase.url with @over... Sub-task Closed Szymon Acedański  

 Comments   
Comment by Gerrit Gerrit [ 2019-03-5 ]
Change oioioi~master~Ia4386599357b247a588606fe76f27f7a83ddff96, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3147

(SIO-2153) Unpin filetracker version for Python 3

The filetracker version specified by requirements_py3.txt conflicts with
the version specified in setup.py.

Change-Id: Ia4386599357b247a588606fe76f27f7a83ddff96
Comment by Gerrit Gerrit [ 2019-03-8 ]
Change oioioi~master~Idee264e2a739acbe784291034821c689f0ef8e20, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3152

(SIO-2153) Fix all remaining warnings

Fixed warnings:

- oioioi/oioioi/maintenancemode/templatetags/get_maintenance_state.py:8: RemovedInDjango20Warning: assignment_tag() is deprecated. Use simple_tag() instead

- oioioi/oioioi/participants/utils.py:105,112: RemovedInDjango20Warning: Usage of field.rel has been deprecated. Use field.remote_field instead.

Change-Id: Idee264e2a739acbe784291034821c689f0ef8e20
Comment by Gerrit Gerrit [ 2019-03-9 ]
Change oioioi~master~Idee264e2a739acbe784291034821c689f0ef8e20, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3152

(SIO-2153) Fix all remaining warnings

Fixed warnings:

- oioioi/oioioi/maintenancemode/templatetags/get_maintenance_state.py:8: RemovedInDjango20Warning: assignment_tag() is deprecated. Use simple_tag() instead

- oioioi/oioioi/participants/utils.py:105,112: RemovedInDjango20Warning: Usage of field.rel has been deprecated. Use field.remote_field instead.

Change-Id: Idee264e2a739acbe784291034821c689f0ef8e20
Comment by Gerrit Gerrit [ 2019-03-10 ]
Change oioioi~master~Idee264e2a739acbe784291034821c689f0ef8e20, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3152

(SIO-2153) Fix all remaining warnings

Fixed warnings:

- oioioi/oioioi/maintenancemode/templatetags/get_maintenance_state.py:8: RemovedInDjango20Warning: assignment_tag() is deprecated. Use simple_tag() instead

- oioioi/oioioi/participants/utils.py:105,112: RemovedInDjango20Warning: Usage of field.rel has been deprecated. Use field.remote_field instead.

Change-Id: Idee264e2a739acbe784291034821c689f0ef8e20
Comment by Gerrit Gerrit [ 2019-03-10 ]
Change oioioi~master~Ic8560ef083bd9a15208e2ff506c9fc5470e9cc94, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3154

(SIO-2153) django.forms.extras.widgets -> django.forms.widgets

This fixes following warning:

Change-Id: Ic8560ef083bd9a15208e2ff506c9fc5470e9cc94
RemovedInDjango20Warning: django.forms.extras is deprecated. You can find SelectDateWidget in django.forms.widgets instead.
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~Idee264e2a739acbe784291034821c689f0ef8e20, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3152

(SIO-2153) Fix all remaining warnings

Fixed warnings:

- oioioi/oioioi/maintenancemode/templatetags/get_maintenance_state.py:8: RemovedInDjango20Warning: assignment_tag() is deprecated. Use simple_tag() instead

- oioioi/oioioi/participants/utils.py:105,112: RemovedInDjango20Warning: Usage of field.rel has been deprecated. Use field.remote_field instead.

Change-Id: Idee264e2a739acbe784291034821c689f0ef8e20
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~Ic8560ef083bd9a15208e2ff506c9fc5470e9cc94, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3154

(SIO-2153) django.forms.extras.widgets -> django.forms.widgets

This fixes following warning:

RemovedInDjango20Warning: django.forms.extras is deprecated. You can find SelectDateWidget in django.forms.widgets instead.

Change-Id: Ic8560ef083bd9a15208e2ff506c9fc5470e9cc94
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I09a3af9066e1ec0480cab414be5bbce5cafc3c6b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3157

(SIO-2153) Stop using patterns in urls tests

`patterns` is removed in Django 1.10.

Change-Id: I09a3af9066e1ec0480cab414be5bbce5cafc3c6b
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I6d1fa8d850ca9eb0aa59cc64dd76db6a62834e3f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3159

(SIO-2153) Remove uses of optparse in management commands

BaseCommand.option_list was removed in Django 1.10 and needs to be
replaced.

Change-Id: I6d1fa8d850ca9eb0aa59cc64dd76db6a62834e3f
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I6d1fa8d850ca9eb0aa59cc64dd76db6a62834e3f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3159

(SIO-2153) Remove uses of optparse in management commands

BaseCommand.option_list was removed in Django 1.10 and needs to be
replaced.

Change-Id: I6d1fa8d850ca9eb0aa59cc64dd76db6a62834e3f
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I09a3af9066e1ec0480cab414be5bbce5cafc3c6b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3157

(SIO-2153) Stop using patterns in urls tests

`patterns` is removed in Django 1.10.

Change-Id: I09a3af9066e1ec0480cab414be5bbce5cafc3c6b
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~I09a3af9066e1ec0480cab414be5bbce5cafc3c6b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3157

(SIO-2153) Stop using patterns in urls tests

`patterns` is removed in Django 1.10.

Change-Id: I09a3af9066e1ec0480cab414be5bbce5cafc3c6b
Comment by Gerrit Gerrit [ 2019-03-14 ]
Change oioioi~master~I09a3af9066e1ec0480cab414be5bbce5cafc3c6b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3157

(SIO-2153) Stop using patterns in urls tests

`patterns` is removed in Django 1.10.

Change-Id: I09a3af9066e1ec0480cab414be5bbce5cafc3c6b
Comment by Gerrit Gerrit [ 2019-03-18 ]
Change oioioi~master~I6d1fa8d850ca9eb0aa59cc64dd76db6a62834e3f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3159

(SIO-2153) Remove uses of optparse in management commands

BaseCommand.option_list was removed in Django 1.10 and needs to be
replaced.

Change-Id: I6d1fa8d850ca9eb0aa59cc64dd76db6a62834e3f
Comment by Artur Puzio [ 2019-03-24 ]
Okazuje się, że ktoś sprytnie umieścił "ignore::django.utils.deprecation.RemovedInDjango110Warning" w pytest.ini. To wyjaśnia dlaczego nie mieliśmy niektórych warningów.
Comment by Gerrit Gerrit [ 2019-04-4 ]
Change oioioi~master~I6068f3c262b0470a93dbe6d11c9919fe7e5f2be7, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3185

(SIO-2153) Treat deprecation warnings as errors

This change sets pytest to treat deprecation warnings to be treated
as errors. Some warnings are kept as only warnings (not errors) with
adequate description in pytest.ini

Change-Id: I6068f3c262b0470a93dbe6d11c9919fe7e5f2be7
Comment by Gerrit Gerrit [ 2019-04-4 ]
Change oioioi~master~I6068f3c262b0470a93dbe6d11c9919fe7e5f2be7, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3185

(SIO-2153) Treat deprecation warnings as errors

This change sets pytest to treat deprecation warnings to be treated
as errors. Some warnings are kept as only warnings (not errors) with
adequate description in pytest.ini

Change-Id: I6068f3c262b0470a93dbe6d11c9919fe7e5f2be7




[SIO-2152] Fix Python 3 test execution Created: 2019-03-5  Updated: 2019-03-26  Resolved: 2019-03-18

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2018/19 Sprint 1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Michalina Sidor Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: migration
Environment: gerrit

Issue Links:
Blocks
blocks SIO-2157 Fix Python 3 tests Resolved

 Description   
Currently test execution fail at installing requirements because filetracker is pinned to 1.x in requirements_py3.txt and to >=2.1 in setup.py

 Comments   
Comment by Gerrit Gerrit [ 2019-03-5 ]
Change oioioi~master~Ia4386599357b247a588606fe76f27f7a83ddff96, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3147

(SIO-2152) Unpin filetracker version for Python 3

The filetracker version specified by requirements_py3.txt conflicts with
the version specified in setup.py.

Change-Id: Ia4386599357b247a588606fe76f27f7a83ddff96
Comment by Gerrit Gerrit [ 2019-03-10 ]
Change oioioi~master~Iceb45073ea6f7cbb9639f79ab6bd666a410b14ed, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3155

(SIO-2152) TODO: find a good name for this

Change-Id: Iceb45073ea6f7cbb9639f79ab6bd666a410b14ed
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~Iceb45073ea6f7cbb9639f79ab6bd666a410b14ed, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3155

(SIO-2152) Remove bytestring annotation that breaks Python 3

Bytes aren't considered a string type on Python 3, leading
DottedClassField to believe it has already imported the referenced
superclass.

Change-Id: Iceb45073ea6f7cbb9639f79ab6bd666a410b14ed
Comment by Gerrit Gerrit [ 2019-03-12 ]
Change oioioi~master~Iceb45073ea6f7cbb9639f79ab6bd666a410b14ed, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3155

(SIO-2152) Remove bytestring annotation that breaks Python 3

Bytes aren't considered a string type on Python 3, leading
DottedClassField to believe it has already imported the referenced
superclass.

Change-Id: Iceb45073ea6f7cbb9639f79ab6bd666a410b14ed




[SIO-2151] Enabling forum in existing contests Created: 2019-03-5  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: master c8115e94ac2780431783397679af7947f08d48c7


 Description   
If you turn on forum module after creating a contests it's not possible to turn on forum in the contest through UI. (This may be solved by redesigning contest controller.)

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2150] Cannot search for first name + last name in list of all submits Created: 2019-02-19  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jakub Radoszewski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
1. I go to submissions from the 2nd stage of 26th POI:
https://sio2.mimuw.edu.pl/c/oi26-2/admin/contests/submission/
2. I try to search for a contestant by first name and last name, e.g.:
https://sio2.mimuw.edu.pl/c/oi26-2/admin/contests/submission/?q=pawe%C5%82+kroll
No submissions.
3. Then I search for last name only:
https://sio2.mimuw.edu.pl/c/oi26-2/admin/contests/submission/?q=kroll
There are submissions.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2149] Selenium tests for unauthorized user Created: 2019-02-16  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
It is quite common to forget about unauthorized user when making changes. It often results in some undetected errors.

It would be nice to have test in which we just go around and expect not triggering 500. We could do similar tests for authorized users as well.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2148] Add a way to export participants from a single region Created: 2019-02-11  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
At onsite contests, each region needs to import a list of participants, with their participant number and full name, to the database on the region's vpn gateway.

It'd be useful if such a list could be exported from SIO2 in CSV format, or maybe even inserted directly to the region's mysql database, the same way ipathsynch downloads user-ip mappings.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2147] Error in template Created: 2019-02-5  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Szkopul


 Description   
"./manage.py compress" succeeds with following warning:
```
Invalid template /var/lib/sio2/oioioi/oioioi/problems/templates/admin/problems/problem- reupload.html: Invalid filter: 'add_class'
```

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2146] "Send Feedback" dance Created: 2019-01-28  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Szkopul

Attachments: File tanczacy formularzszkopul-2019-01-27_20.20.33.webm    

 Description   
The "Send Feedback" form available after pushing "send feedback" button on the right side of szkopul.mimuw.edu.pl moves between two different positions on the screen making it hard to fill it and submit it. I attach a video demonstrating the issue.

Tested Browsers:
- Mozilla Firefox 65.0.2 (64 bits) on Arch Linux - form dancing as in video
- Chromium 72.0.3626.121 (64 bits) on Arch Linux - OK

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2145] Allow enabling "participants" app without "oi" app Created: 2019-01-26  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Szkopuł

Issue Links:
Relates
relates to SIO-1825 participants app depends on oi app mi... Resolved
relates to SIO-1789 Squash migrations / optimize test run... Resolved

 Description   
When you enable participants app without oi app you currently get following exception when migrating
```
django.db.migrations.exceptions.NodeNotFoundError: Migration participants.0004_auto_20160412_1718 dependencies reference nonexistent parent node (u'oi', u'0002_auto_20160412_1720')
```

Hotfix on Szkopul removes that dependency. This dependency was created, becouse "onsiteregistration" was previously part of "oi" app and was moved to "participants" app. Correct order of migrations is important to preserve data in that table if "oi" app is used.

 Comments   
Comment by Wojciech Dubiel [ 2019-03-24 ]
Potencjalnie związane z SIO-1825 i SIO-1789
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2144] "Export submissions" timing out with big archives Created: 2019-01-26  Updated: 2020-12-16

Status: Reopened
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Wojciech Dubiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-2392 Exportszu times out New

 Description   
When you try to export submissions, it will take a long time to generate an archive, and before OIOIOI starts sending it, it is likely that either a reverse proxy or the browser will time out.

One way to fix this would be to generate the archive asynchronously, and immediately send a response to the user stating that the archive will be available shortly. When the user refreshes the page, and the archive is already ready, the page will show a download link to the archive instead.

Another way could possibly be to start streaming the response while the archive is still being generated. Theoretically, tar should be capable of that. Not sure about Django.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.
Comment by Michalina Sidor [ 2020-04-27 ]
@kostka reports that this is still a desired feature
Comment by Michalina Sidor [ 2020-04-27 ]
About that, Django is definitely capable of streaming responses, there's a ridiculous/lovely hack recommended by the documentation https://docs.djangoproject.com/en/2.2/howto/outputting-csv/#streaming-csv-files




[SIO-2143] Fix CSS? in the problem list Created: 2019-01-26  Updated: 2019-03-26  Resolved: 2019-01-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screenshot from 2019-01-25 18.16.37.png    

 Comments   
Comment by Szymon Acedański [ 2019-01-26 ]
Already fixed in master




[SIO-2142] Add reason to Forum report Created: 2019-01-11  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Artur Puzio Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
We should require (and provide possibility) of specifying report reason when reporting forum posts. Multiple reports of one post (by different users) should also be allowed.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2141] Contest type not visible in settings Created: 2019-01-9  Updated: 2019-03-26  Resolved: 2019-01-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy


 Description   
During edition of contest settings contest's type is not visible.

 Comments   
Comment by Gerrit Gerrit [ 2019-01-10 ]
Change oioioi~master~I1180aad0f282abd1b195d34efa22221cfdfdea9b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3123

SIO-2141 Contest type not visible in settings

Fix displaying contest type in settings

Change-Id: I1180aad0f282abd1b195d34efa22221cfdfdea9b




[SIO-2140] It is hard for people not involved in sio2project to report bugs Created: 2018-12-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
First of all, nowhere on the JIRA homepage does it say that they need to create an account at accounts.sio2project.mimuw.edu.pl.
There's only login form, and a confusing
"Not a member? To request an account, please contact your JIRA administrators."
text.

Secondly, many fields in the new issue form can be easily filled wrong:
- the "affected version" field is used in a non-standard way, that is confusing to newcomers, and isn't explained anywhere
- in the "component" it's easy to accidentally pick "sio2project website" instead of "OIOIOI" if one doesn't know that "OIOIOI" is actually the name of sio2's web interface.

 Comments   
Comment by Artur Puzio [ 2019-01-12 ]
Maybe we should use some JIRA integration with Github? Everybody is familiar with creating issues on Github and probably has an account there already.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2139] Automatic deployment of contest tasks Created: 2018-12-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Dominik Klemba Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: easy
Environment: Web page.


 Description   
As the infrastructure used during the contest preparation phase may be based on git (for example, OI currently is), it would be nice to have automatic deployment.
My idea is to link the master branch in gitlab with SIO2, so that the contest always contains the latest content of the master branch. We want to avoid manual management of packages, as to avoid potential mistakes.

I believe that simplest realization is to create one "shareable" link per task to upload packages. Link works like "reupload package", so it cannot affect other tasks or create a new one.

API should be easy to connect with CI (like GitLab CI).
Access to CI may have more persons than to SIO contest!

Link revoking would be nice.

 Comments   
Comment by Artur Puzio [ 2019-01-7 ]
Hmm, I think the simplest solution would be to:
- Use Gitlab CI to build the package
- Have only one repository per task
- Submit the new package using a HTTP request.

So the process would be as follows:
Setup:
1. Create "CI" task on SIO2 instance. Copy the update URL and upload KEY.
2. Create repository with GitlabCI and our deployment CI config.
3. Put the URL and KEY to in Gitlab CI Variables.

Update behavior:
1. CI is trigger by new commit on master.
2. CI builds package.
3. CI pushes package by a HTTP request to SIO2
4. SIO2 updates the task
5. Rejudge is triggered on all submissions. (should it be triggered?)

We should also:
- limit changes to the task from SIO2 so an CI update won't undo changes (You should only make changes in repo)
- make the git commit hash visible on SIO2
Comment by Dominik Klemba [ 2019-01-7 ]
I agree with you.
We do have package building in SINOL3 OI-CI. We can handle everything from above from the CI's site.
And yes, we do have one repo per task. This is expected workflow with every git-based system.

> Submit the new package using a HTTP request.
We need specific link to do that.

> 5. Rejudge is triggered on all submissions. (should it be triggered?)
No, expected behavior should be same as with reupload package.

> - limit changes to the task from SIO2 so an CI update won't undo changes (You should only make changes in repo)
That would be amazing.

> - make the git commit hash visible on SIO2
Very good idea.

Thank you for your time.
Comment by Artur Puzio [ 2019-01-7 ]
OK, I will work on this after forum changes.
Comment by Dominik Klemba [ 2019-01-12 ]
Thank you very much. I will be grateful.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2137] Add button "Rejudge not needed" to the problem menu when needed_rejudge is set to true Created: 2018-12-14  Updated: 2021-01-8  Resolved: 2021-01-8

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag2


 Description   
In many occasions (such as fixing a typo in a statement) rejudge is not needed and right now there's no way to change that.

 Comments   
Comment by Artur Puzio [ 2019-02-5 ]
That's one of the functionalities of staszic oioioi "extras" app. https://github.com/InformatykaNaStart/staszic-sio2/tree/master/extras

We might consider reusing parts of that code.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.
Comment by Michalina Sidor [ 2020-04-27 ]
@kostka reports that this is still a desired feature
Comment by Gerrit Gerrit [ 2020-12-2 ]
Change oioioi~master~Ib298a8100de2d8b19be057806c76cffc49488ae8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3556

SIO-2137 Add button 'rejudge not needed' to problem actions

Change-Id: Ib298a8100de2d8b19be057806c76cffc49488ae8
Comment by Gerrit Gerrit [ 2020-12-2 ]
Change oioioi~master~Ib298a8100de2d8b19be057806c76cffc49488ae8, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3556

SIO-2137 Add button 'rejudge not needed' to problem actions

Change-Id: Ib298a8100de2d8b19be057806c76cffc49488ae8
Comment by Gerrit Gerrit [ 2020-12-9 ]
Change oioioi~master~Ib298a8100de2d8b19be057806c76cffc49488ae8, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3556

SIO-2137 Add button 'rejudge not needed' to problem actions

Change-Id: Ib298a8100de2d8b19be057806c76cffc49488ae8
Comment by Gerrit Gerrit [ 2020-12-9 ]
Change oioioi~master~Ib298a8100de2d8b19be057806c76cffc49488ae8, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3556

SIO-2137 Add button 'rejudge not needed' to problem actions

Change-Id: Ib298a8100de2d8b19be057806c76cffc49488ae8
Comment by Gerrit Gerrit [ 2020-12-15 ]
Change oioioi~master~Ib298a8100de2d8b19be057806c76cffc49488ae8, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3556

SIO-2137 Add button 'rejudge not needed' to problem actions

Change-Id: Ib298a8100de2d8b19be057806c76cffc49488ae8




[SIO-2136] When submitting a testrun, if the input file name ends with .zip, but is not a zip at all, a 500 error occurs. Created: 2018-12-13  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sentry Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: easy


 Description   
https://sentry.io/share/issue/7615199e8d7045588582f8077a5ecc5f/

{code}
BadZipfile: File is not a zip file
  File "oioioi/base/utils/archive.py", line 189, in __init__
    self._archive = zipfile.ZipFile(file)
  File "oioioi/base/utils/archive.py", line 66, in __init__
    self._archive = self._archive_cls(file, ext=ext)(file)
  File "oioioi/testrun/controllers.py", line 128, in validate_zip
    archive = Archive(file, '.zip')
  File "oioioi/contests/forms.py", line 234, in is_valid
    return forms.Form.is_valid(self)
  File "oioioi/testrun/views.py", line 30, in testrun_submit_view
    if form.is_valid():
...
(14 additional frame(s) were not displayed)

BadZipfile: File is not a zip file
{code}

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2135] Race condition in "1 NEW MESSAGE" navbar badge Created: 2018-12-12  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sentry Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
https://sentry.io/share/issue/e0420926c0074253a216e74dc64de221/

{code}
MultipleObjectsReturned: get() returned more than one Message -- it returned 2!
  File "oioioi/questions/processors.py", line 49, in navbar_messages_generator
    m = messages.get()
  File "oioioi/base/utils/__init__.py", line 353, in cacher
    request._cache[fn] = fn(request)
  File "oioioi/questions/processors.py", line 27, in get_messages
    response['messages'] = navbar_messages_generator(request)
  File "oioioi/status/utils.py", line 21, in get_status
    response = fun(request, response)
  File "oioioi/status/views.py", line 7, in get_status_view
    return get_status(request)
...
(5 additional frame(s) were not displayed)

MultipleObjectsReturned: get() returned more than one Message -- it returned 2!
{code}

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2134] Review items in contest admin menu Created: 2018-12-12  Updated: 2020-03-3  Resolved: 2019-04-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Some items in settings should be available to contest admins, like adding links to contest menu

 Comments   
Comment by Gerrit Gerrit [ 2019-01-13 ]
Change oioioi~master~Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3124

SIO-2134 Review options visible in contest admins

There are functions has_add(/change/delete)_premmission which
should be added to class representing item in admin.py wherever
to affect it visibility. They were missing in several places and
in others just returned True or checked premissions guaranted by
adding module to proper admin object.

Now the functions are added to super class and by default return
True as it is most common intention when adding an item to menu.

Change-Id: Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3
Comment by Gerrit Gerrit [ 2019-01-16 ]
Change oioioi~master~Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3124

SIO-2134 Review options visible in contest admins

There are functions has_add(/change/delete)_premmission which
should be added to class representing item in admin.py wherever
to affect it visibility. They were missing in several places and
in others just returned True or checked premissions guaranted by
adding module to proper admin object.

Now the functions are added to super class and by default return
True as it is most common intention when adding an item to menu.

Change-Id: Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3
Comment by Gerrit Gerrit [ 2019-01-16 ]
Change oioioi~master~Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3124

SIO-2134 Review options visible in contest admins

There are functions has_add(/change/delete)_premmission which
should be added to class representing item in admin.py wherever
to affect it visibility. They were missing in several places and
in others just returned True or checked premissions guaranted by
adding module to proper admin object.

Now the functions are added to super class and by default return
True as it is most common intention when adding an item to menu.

Change-Id: Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3
Comment by Gerrit Gerrit [ 2019-01-16 ]
Change oioioi~master~Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3124

SIO-2134 Review options visible in contest admins

There are functions has_add(/change/delete)_premmission which
should be added to class representing item in admin.py wherever
to affect it visibility. They were missing in several places and
in others just returned True or checked premissions guaranted by
adding module to proper admin object.

Now the functions are added to super class and by default return
True as it is most common intention when adding an item to menu.

Change-Id: Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3
Comment by Gerrit Gerrit [ 2019-01-22 ]
Change oioioi~master~Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3124

SIO-2134 Review options visible in contest admins

There are functions has_add(/change/delete)_premmission which
should be added to class representing item in admin.py wherever
to affect it visibility. They were missing in several places and
in others just returned True or checked premissions guaranted by
adding module to proper admin object.

Now the functions are added to super class and by default return
True as it is most common intention when adding an item to menu.

Change-Id: Iab9a8d4eedb242f618c2bbebcfda6af5d163a3d3




[SIO-2133] Block reporting forum posts that have already been reviewed Created: 2018-12-12  Updated: 2019-03-26  Resolved: 2019-01-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Improvement Priority: Minor
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy


 Description   
We want to avoid situations when post is reported, then reviewed by admins and reported again. However, this should be possible if author edits the post,
so report -> review -> edit -> report should be allowed.

 Comments   
Comment by Marek Żochowski [ 2019-01-21 ]
Because of the future change "SIO-2142 Add reason to Forum report" it would be better to just add a possibility for the admins to manually mark the given post as "good". When the author edits the post it should be automatically unmarked (as if it was written for the first time).
Comment by Gerrit Gerrit [ 2019-01-24 ]
Change oioioi~master~I17bd884bcfb393359665db30b853769c3d1b2111, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3131

SIO-2133 Block reporting forum posts that have already been reviewed

Add option to approve forum posts (it prevents them from being reported)

Change-Id: I17bd884bcfb393359665db30b853769c3d1b2111
Comment by Gerrit Gerrit [ 2019-01-24 ]
Change oioioi~master~I17bd884bcfb393359665db30b853769c3d1b2111, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3131

SIO-2133 Block reporting forum posts that have already been reviewed

Add option to approve forum posts (it prevents them from being reported)
Improve code segmentation

Change-Id: I17bd884bcfb393359665db30b853769c3d1b2111
Comment by Gerrit Gerrit [ 2019-01-27 ]
Change oioioi~master~I17bd884bcfb393359665db30b853769c3d1b2111, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3131

SIO-2133 Block reporting forum posts that have already been reviewed

Add option to approve forum posts (it prevents them from being reported)
Improve code segmentation
Change function name in models.py to better one and shorten
approval information displayed on post.
Add option to revoke approval of the post from the forum view.

Change-Id: I17bd884bcfb393359665db30b853769c3d1b2111




[SIO-2132] Change submission messages to be more readable Created: 2018-12-12  Updated: 2019-01-31  Resolved: 2019-01-31

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Piotr Wojtczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy

Issue Links:
Relates
is related to SIO-2131 Fix submission messages to display th... Closed

 Description   
Every message the user gets back in their submission report is now abreviated, such as INI_OK or CE. Meanings of those are not obvious to new users and thus they should be changed to something more understandable.

 Comments   
Comment by Piotr Wojtczak [ 2019-01-31 ]
Turned out the messages were in the code, but they had to be fixed (issue SIO-2131)




[SIO-2131] Fix submission messages to display the full name Created: 2018-12-7  Updated: 2019-01-31  Resolved: 2019-01-31

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy

Issue Links:
Relates
relates to SIO-2132 Change submission messages to be more... Closed

 Description   
We do stuff like this (in the order of execution):

    # ...
    submission_statuses.register('WA', _("Wrong Answer"))
    
    class TestReport(models.Model):
        status = EnumField(submission_statuses)
        # ...
    
    # in different file
    submission_statuses.register('MCE', _("Message Count Exceeded"))


Because of the way EnumField snapshots the registry at construction time,
TestReport.get_status_display will not be aware of MCE's display name.

As a result, Zeus statuses (MCE and MSE) display as "MCE"/"MSE" instead of their full name in the tests table on the submission report page.

Moreover, in the header of submission report page, and on the my submissions page, all statuses (except 'OK', 'ERR' and '?', as those are defined in contests/models.py) show as their acronym (eg. "WA") instead of their full name (i.e. "Wrong Answer")

This may have something to do with SIO-1600

 Comments   
Comment by Gerrit Gerrit [ 2019-01-28 ]
Change oioioi~master~I7a9d5b8e9dfc31c6898e67f6c251f594c99e6967, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3136

SIO-2131 Some submission statuses display as internal acronym instead of their full display name

It turned out that classes that used the submission_statuses registry referenced an early made copy.
Making those read only properties allowing fetching when accessed resolved the issue.

Change-Id: I7a9d5b8e9dfc31c6898e67f6c251f594c99e6967
Comment by Gerrit Gerrit [ 2019-01-28 ]
Change oioioi~master~I7a9d5b8e9dfc31c6898e67f6c251f594c99e6967, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3136

SIO-2131 Some submission statuses display as internal acronym instead of their full display name

It turned out that classes that used the submission_statuses registry referenced an early made copy.
Making those read only properties allowing fetching when accessed resolved the issue.

Change-Id: I7a9d5b8e9dfc31c6898e67f6c251f594c99e6967
Comment by Gerrit Gerrit [ 2019-01-30 ]
Change oioioi~master~I7a9d5b8e9dfc31c6898e67f6c251f594c99e6967, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3136

SIO-2131 Fix submission messages to display the full name

It turned out that classes that used the submission_statuses registry referenced an early made copy.
Making those read only properties allowing fetching when accessed resolved the issue.

Change-Id: I7a9d5b8e9dfc31c6898e67f6c251f594c99e6967




[SIO-2130] When a user changes their contest registration data, rankings are not updated Created: 2018-12-6  Updated: 2020-03-3  Resolved: 2019-01-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Iwona Kotlarska
Resolution: Fixed Votes: 0
Labels: easy

Issue Links:
Relates
relates to SIO-1896 Invalidate (regenerate) ranking after... Resolved

 Description   
When a user changes their registration data in a way that affects their public display name (eg. changes the anonymous option, or their real name), the rankings still display the old display name.
If the rankings aren't regenerated by someone's score changing, or by manually calling invalidate_contest from manage.py shell, the old name will stay in there forever.

 Comments   
Comment by Gerrit Gerrit [ 2019-01-15 ]
Change oioioi~master~I66e5e59bd62659beaec06521d5f4a470d1d14368, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3125

(SIO-2130) Update rankings after contest registration data change

When user changes their registration data, rankings were not updated.
Now they are marked as invalid for the rankingsraemon to recalculate.

Change-Id: I66e5e59bd62659beaec06521d5f4a470d1d14368
Comment by Gerrit Gerrit [ 2019-01-15 ]
Change oioioi~master~I66e5e59bd62659beaec06521d5f4a470d1d14368, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3125

(SIO-2130) Update rankings after contest registration data change

When user changes their registration data, rankings were not updated.
Now they are marked as invalid for the rankingsdaemon to recalculate.

Change-Id: I66e5e59bd62659beaec06521d5f4a470d1d14368
Comment by Gerrit Gerrit [ 2019-01-16 ]
Change oioioi~master~I66e5e59bd62659beaec06521d5f4a470d1d14368, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3125

(SIO-2130) Update rankings after contest registration data change

When user changes their registration data, rankings were not updated.
Now they are marked as invalid for the rankingsdaemon to recalculate.

Change-Id: I66e5e59bd62659beaec06521d5f4a470d1d14368
Comment by Gerrit Gerrit [ 2019-01-16 ]
Change oioioi~master~I66e5e59bd62659beaec06521d5f4a470d1d14368, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3125

(SIO-2130) Update rankings after contest registration data change

When user changes their registration data, rankings were not updated.
Now they are marked as invalid for the rankingsdaemon to recalculate.

Change-Id: I66e5e59bd62659beaec06521d5f4a470d1d14368
Comment by Gerrit Gerrit [ 2019-01-17 ]
Change oioioi~master~I66e5e59bd62659beaec06521d5f4a470d1d14368, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3125

(SIO-2130) Update rankings after contest registration data change

When user changes their registration data, rankings were not updated.
Now they are marked as invalid for the rankingsdaemon to recalculate.

Change-Id: I66e5e59bd62659beaec06521d5f4a470d1d14368




[SIO-2129] Publication date of announcements and questions replies doesn't work Created: 2018-12-4  Updated: 2019-03-26  Resolved: 2018-12-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy


 Description   
When replying to a question, or adding a public announcement, you can set a publication date.
However, this date seems to be ignored.
Even if you set it to some time in the future, participants will still be able to see the reply/announcement immediately after you post it.

 Comments   
Comment by Zuzanna Opała [ 2018-12-4 ]
It is strange issue because it seems that problem is on the frontend side - publication date does not appear in the post data. It's even stranger because corresponding input element have correctly set value.
Comment by Gerrit Gerrit [ 2018-12-6 ]
Change oioioi~master~Ide3e39cf0b6a8163f07ab4d8ebf87b5d01d2676c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3112

SIO-2129 Fix publication date

At some point publication date stopped working. It turned out that
our widget for date picking doesn't set correct name in the form
and value from input was actualy never send in the post data.

Change-Id: Ide3e39cf0b6a8163f07ab4d8ebf87b5d01d2676c




[SIO-2128] Forum category view breaks when there is thread without any posts Created: 2018-12-3  Updated: 2019-03-26  Resolved: 2019-02-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Zuzanna Opała Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy


 Description   
It can happen when all posts where deleted. Category view looks for author of last post in each thread and fails when there is thread with no last post.

 Comments   
Comment by Zuzanna Opała [ 2018-12-3 ]
Traceback (most recent call last):
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/core/ handlers/base.py", line 174, in get_response
    response = self.process_exception_by_middleware(e, request)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/core/ handlers/base.py", line 172, in get_response
    response = response.render()
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/response.py", line 160, in render
    self.content = self.rendered_content
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/response.py", line 137, in rendered_content
    content = template.render(context, self._request)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/backends/django.py", line 95, in render
    return self.template.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 206, in render
    return self._render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/test/ utils.py", line 92, in instrumented_test_render
    return self.nodelist.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 173, in render
    return compiled_parent._render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/test/ utils.py", line 92, in instrumented_test_render
    return self.nodelist.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 173, in render
    return compiled_parent._render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/test/ utils.py", line 92, in instrumented_test_render
    return self.nodelist.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 173, in render
    return compiled_parent._render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/test/ utils.py", line 92, in instrumented_test_render
    return self.nodelist.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 69, in render
    result = block.nodelist.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 69, in render
    result = block.nodelist.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/defaulttags.py", line 326, in render
    return nodelist.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 992, in render
    bit = node.render_annotated(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/defaulttags.py", line 220, in render
    nodelist.append(node.render_annotated(context))
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 959, in render_annotated
    return self.render(context)
  File "/media/data/sio2/oioioi/oioioi/contests/templatetags/get_user_name.py", line 25, in render
    'target_user': self.target_user.resolve(context),
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 850, in resolve
    value = self._resolve_lookup(context)
  File "/media/data/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 905, in _resolve_lookup
    (bit, current)) # missing attribute
VariableDoesNotExist: Failed lookup for key [author] in u'None'
Comment by Zuzanna Opała [ 2018-12-3 ]
Exact place:
In template /sio2/oioioi/oioioi/forum/templates/forum/category.html, error at line 66:
65 <small>
66 {% full_name t.last_post.author as author_link %}
67 {% blocktrans with date=t.last_post.add_date author=author_link last_id=t.last_post.id %}
68 <a href="{{ thread_link }}#forum-post-{{ last_id }}">{{ date }}</a>, by {{ author }}
69 {% endblocktrans %}
70 </small>
Comment by Gerrit Gerrit [ 2019-01-16 ]
Change oioioi~master~I7bf5464bba04d765d77e6196ef518240e802364f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3126

SIO-2128 Fix category view when thread is empty

Now the last post filed is empty in this case.

Change-Id: I7bf5464bba04d765d77e6196ef518240e802364f
Comment by Gerrit Gerrit [ 2019-01-16 ]
Change oioioi~master~I7bf5464bba04d765d77e6196ef518240e802364f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3126

SIO-2128 Fix category view when thread is empty

Now the last post filed is empty in this case.

Change-Id: I7bf5464bba04d765d77e6196ef518240e802364f




[SIO-2126] IntegrityError when removing a problem instance while it's being checked Created: 2018-11-26  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Michalina Sidor Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
https://sentry.io/share/issue/c6a8d258e06e4db9a9d62d7ced5bfa91/

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2125] Allow moderators to ban people on the contest forum Created: 2018-11-19  Updated: 2019-03-26  Resolved: 2019-01-28

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Next Sprint
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Some people cannot use the forum, so we'd like to be able to ban them from using it.

 Comments   
Comment by Gerrit Gerrit [ 2019-01-7 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-7 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-8 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-8 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-8 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-8 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-8 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-9 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-11 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests
- Fixed css class of Django messages with type error

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-11 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests
- Fixed css class of Django messages with type error

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Gerrit Gerrit [ 2019-01-16 ]
Change oioioi~master~I995e9c12bd1dbb6c48660d056ede9f30d1d381c6, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3122

(SIO-2125) Forum ban

- Implemented forum banning. Banned users can't interact with forum
including reporting posts.
- Refactored forum authorization checks
- Other refactoring
- Improved tests
- Fixed css class of Django messages with type error

Change-Id: I995e9c12bd1dbb6c48660d056ede9f30d1d381c6
Comment by Artur Puzio [ 2019-01-28 ]
Changes merged to master




[SIO-2124] Incorrect input archive for testrun causes System Error Created: 2018-11-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
In a contest with testruns enabled, a participant can send send their own code with their own input to be ran in our evaluation environment.

The specified input file can either be a raw input file, or a zip archive containing a single file with the input data.

If the archive contains multiple files and its extension is not .zip,
the form will not show an error about multiple files,
but workers will detect that there's more than one file, and trigger a SystemError.

The form should validate the archive in the same (or more strict) way than workers do.
Particularly, the method of detecting if something is a zip should be the same in oioioi and workers.
Another way to do it would be to have oioioi explicitely tell the workers if the input is the zip or not. (The workers would still validate if there's only one archive member and unpack it, but wouldn't try to detect if the input is a zip or not.)

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2123] null-sandbox has incorrect extension Created: 2018-11-9  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: easy


 Description   
As described in the documentation ( https://sioworkers.readthedocs.io/en/latest/#sandboxes ) null-sandbox.tar.gz has a .tar.gz extension, even though it's an uncompressed tar archive, which should have just .tar extension.

It's possible that this sandbox will fail to unpack because of it. We don't know for sure, because nobody uses this sandbox.

Still this should be fixed, eg. by renaming the sandbox to null-sandbox.tar, or by compressing it with gzip, so that it really is .tar.gz, and adjusting the documentation to reflect the change.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2122] Allow customization of 'terms accepted' field in OI's registration form from OIOIOI Created: 2018-11-8  Updated: 2019-03-26  Due: 2018-11-20  Resolved: 2019-01-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Improvement Priority: Minor
Reporter: Marek Żochowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy


 Description   
We want to add new option in contest settings that allows customization of the mentioned field by the contest admins in OIOIOI. It should be possible to add custom description and hyperlinks to contest's terms and conditions.

 Comments   
Comment by Gerrit Gerrit [ 2018-11-17 ]
Change oioioi~master~I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3100

SIO-2122 Allow customization of 'terms accepted' field in OI's registration form from OIOIOI

From now on it is possible for contests' admins to customize phrase asking
participants to accept contest's terms in custom registration form.
It is used in OI and PA type contests, so this functionality was added
only in the metioned ones.

Change-Id: I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36
Comment by Gerrit Gerrit [ 2018-11-20 ]
Change oioioi~master~I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3100

SIO-2122 Allow customization of 'terms accepted' field in OI's registration form from OIOIOI

From now on it is possible for contests' admins to customize phrase asking
participants to accept contest's terms in custom registration form.
It is used in OI and PA type contests, so this functionality was added
only in the metioned ones.

Change-Id: I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36
Comment by Gerrit Gerrit [ 2018-11-21 ]
Change oioioi~master~I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3100

SIO-2122 Allow customization of 'terms accepted' field in OI's registration form from OIOIOI

From now on it is possible for contests' admins to customize phrase asking
participants to accept contest's terms in custom registration form.
It is used in OI and PA type contests, so this functionality was added
only in the metioned ones.

Fixed problem with contests without custom phrase.

Change-Id: I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36
Comment by Gerrit Gerrit [ 2018-11-22 ]
Change oioioi~master~I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3100

SIO-2122 Allow customization of 'terms accepted' field in OI's registration form from OIOIOI

From now on it is possible for contests' admins to customize phrase asking
participants to accept contest's terms in custom registration form.
It is used in OI and PA type contests, so this functionality was added
only in the metioned ones.

Fixed problem with contests without custom phrase.
Added tests.

Change-Id: I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3100

SIO-2122 Allow customization of 'terms accepted' field in OI's registration form from OIOIOI

From now on it is possible for contests' admins to customize phrase asking
participants to accept contest's terms in custom registration form.
It is used in OI and PA type contests, so this functionality was added
only in the metioned ones.

Fixed problem with contests without custom phrase.
Added tests.

Change-Id: I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3100

SIO-2122 Allow customization of 'terms accepted' field in OI's registration form from OIOIOI

From now on it is possible for contests' admins to customize phrase asking
participants to accept contest's terms in custom registration form.
It is used in OI and PA type contests, so this functionality was added
only in the metioned ones.

Fixed problem with contests without custom phrase.
Added tests.

Change-Id: I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36
Comment by Gerrit Gerrit [ 2018-12-5 ]
Change oioioi~master~I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3100

SIO-2122 Allow customization of 'terms accepted' field in OI's registration form from OIOIOI

From now on it is possible for contests' admins to customize phrase asking
participants to accept contest's terms in custom registration form.
It is used in OI and PA type contests, so this functionality was added
only in the metioned ones.

Fixed problem with contests without custom phrase.
Added tests.
Additional fix concerning admin edit permisions.

Change-Id: I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36
Comment by Gerrit Gerrit [ 2018-12-10 ]
Change oioioi~master~I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3100

SIO-2122 Allow customization of 'terms accepted' field in OI's registration form from OIOIOI

From now on it is possible for contests' admins to customize phrase asking
participants to accept contest's terms in custom registration form.
It is used in OI and PA type contests, so this functionality was added
only in the metioned ones.

Fixed problem with contests without custom phrase.
Added tests concerning participant view.
Additional fix concerning admin edit permisions.
Added tests concerning admin view.

Change-Id: I7a5a415573f7521bc8b6f79ae497dfe14dbbbf36




[SIO-2121] Missing admin.css when editing problem instance Created: 2018-11-6  Updated: 2019-03-26  Resolved: 2018-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Jakub Bartmiński Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-2033 Tests table while editing probleminst... Closed
Relates
relates to SIO-2033 Tests table while editing probleminst... Closed

 Description   
Editing the problem instance page links to the nonexistent programs/admin.css stylesheet - 404 status can be seen in the network monitor in browser developer tools.
The file oioioi/oioioi/programs/admin.py seems to be at fault, with the nonexistent file link appearing in class Media within class TestInline

 Comments   
Comment by Gerrit Gerrit [ 2018-11-7 ]
Change oioioi~master~I0954cf35797512ce9a259d360e7119e38457d49f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3090

[SIO-2121] Drop broken link to programs/admin.css

The stylesheet file was deleted when switching to bootstrap 3:

7c275e6206b521567898ebc881cac12e47322b90

It would seem that this link should've been deleted along with it, since
now it only causes 404 errors on loading the edit problem instance page.

Change-Id: I0954cf35797512ce9a259d360e7119e38457d49f
Comment by Gerrit Gerrit [ 2018-11-8 ]
Change oioioi~master~I0954cf35797512ce9a259d360e7119e38457d49f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3090

[SIO-2121] Drop broken link to programs/admin.css

The stylesheet file was deleted when switching to bootstrap 3:

7c275e6206b521567898ebc881cac12e47322b90

It would seem that this link should've been deleted along with it, since
now it only causes 404 errors on loading the edit problem instance page.

Change-Id: I0954cf35797512ce9a259d360e7119e38457d49f




[SIO-2120] Task archive improvements Created: 2018-10-24  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Right now problems in task archive are set more or less manually (one have to create a new site, add problems by url and so on).

Can we have a more structured task archive, I mean:
- we can have a tree of contests (for example Contests > OI > XXI OI > II stage > First day), then problems can be attached to the corresponding nodes,
- then we can have cool URLs (people complain that the problem URLs are unnecessarily long, MAIN had way better URLs, for instance: main.edu.pl/archive/oi/12/nad/, if I remember correctly),
- then we can have some cool statistics (for example you have solved 95% of all tasks from OI).



 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2119] Dismissing report automatically hides the post on forum Created: 2018-10-24  Updated: 2019-03-26  Resolved: 2019-03-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Cannot Reproduce Votes: 0
Labels: None


 Comments   
Comment by Artur Puzio [ 2019-02-5 ]
I don't believe this still happens. Can you reproduce the issue?




[SIO-2118] Supervisor return a error code when use sandboxes. Created: 2018-09-2  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Kacper Omieliańczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Ubuntu 16.04 LTS, 1 GB RAM


 Description   
When I use sandboxes supervisor gives error return code 127 (commented two lines in settings.py: USE_UNSAFE_EXEC and USE_LOCAL_COMPILERS).

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2117] Crash workers, problem with filetracker and sioworkers Created: 2018-09-2  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, Filetracker
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Kacper Omieliańczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Ubuntu 16.04 LTS, 1 GB RAM


 Description   
I have a OIOIOI. I want to have a separate sioworker. I installed it according to the instructions on a separate server and set it up.

(SIOWORKER - supervisord-conf-vars.conf:)
(OIOIOI - a fragment of settings.py from filetracker:)

When in OIOIOI settings.py I set FILETRACKER_URL as it is then ordinary (I guess in OIOIOI) worker does not work and filetracker (even if I can not submit solution 502 Bad Gateway). Error of worker:
For when I set it to 127.0.0.1 or 0.0.0.0 (same port) then this second checker does not work and gives:

81.x.x.x - OIOIOI IP ADDRESS
80.x.x.x - SIOWORKER IP ADDRESS

Janek - OIOIOI\s name of server
Wacek - new sioworker's name of server.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2116] OIOIOI require Django 1.9, but django-otp require >= 1.11 Created: 2018-09-1  Updated: 2019-03-26  Resolved: 2018-10-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Kacper Omieliańczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: Ubuntu 16.04 LTS, 1GB RAM


 Description   
When I execute pip -r requirements.txt I got: https://pastebin.com/7bJ1PwTY.
And oioioi-create-config deployment: https://pastebin.com/iN4kAUYC.

(Error in built sioworkers, I will solve this problem by installing sioworker on another server)

 Comments   
Comment by Szymon Acedański [ 2018-09-1 ]
Nice, this one is way better.
What about preparing a pull request (on Github) which limits django-otp in setup.py to a compatible version?
Comment by Kacper Omieliańczyk [ 2018-09-1 ]
I create pull request on Github. I added to setup.py installation django-otp in version 0.3.4




[SIO-2115] SystemCheckError: Your URL pattern ... is invalid Created: 2018-09-1  Updated: 2018-09-1  Resolved: 2018-09-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Kacper Omieliańczyk Assignee: Szymon Acedański
Resolution: Incomplete Votes: 0
Labels: None
Environment: Ubuntu Server 16.04 LTS, 1 GB RAM, Django v. 1.11.15


 Description   
When I execute ./manage.py migrate I have:
https://pastebin.com/zBrYxiM8

 Comments   
Comment by Szymon Acedański [ 2018-09-1 ]
Artur, I tentatively assigned you to this one, as the logs contain a lot of two_factor, which was your change.
Comment by Szymon Acedański [ 2018-09-1 ]
OIOIOI requires Django 1.9 (https://github.com/sio2project/oioioi/blob/master/setup.py#L35)
Comment by Kacper Omieliańczyk [ 2018-09-1 ]
Ok, but then I have: https://jira.sio2project.mimuw.edu.pl/browse/SIO-2116
Comment by Artur Jamro [ 2018-09-1 ]
I don't have time to investigate it these days, but here's something that can help: https://gerrit.sio2project.mimuw.edu.pl/#/c/2946/ - my first comment explains some of login entry points. Maybe there are more comments like this one in that PR and these ones: https://gerrit.sio2project.mimuw.edu.pl/#/q/status:merged+2fa

I remember it wasn't obvious how I should solve problem with logging in and it required good understanding of the system and testing how different solutions work.




[SIO-2114] Problem-related controllers Created: 2018-08-19  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Right now, on Szkopuł, we can set only one global controller for judging the problems in the problemset (and task archive). The problem is that the problems come from different competitions and we need different controllers for them.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2113] Initial report is not available after the final report is available. Created: 2018-08-19  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Users cannot see the initial report (with sample tests) after the submission was graded on the final tests.
Ex: https://szkopul.edu.pl/s/822450

 Comments   
Comment by Gerrit Gerrit [ 2018-08-19 ]
Change oioioi~master~I9fe48f37ee6cf9edb35dbb56f1c56073c7a131ea, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3054

(SIO-2113) Make initial reports show up in out-of-contest submissions too

Looks like non-programming submissions don't have initial reports,
so initial reports are only made to be visible by the programs module
in programming contests.
However, they're not made visible in programming problems.

Fix this by overriding filter_visible_reports
in ProgrammingProblemController.

Change-Id: I9fe48f37ee6cf9edb35dbb56f1c56073c7a131ea
Comment by Gerrit Gerrit [ 2019-01-26 ]
Change oioioi~master~I9fe48f37ee6cf9edb35dbb56f1c56073c7a131ea, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3054

(SIO-2113) Make initial reports show up in out-of-contest submissions too

Looks like non-programming submissions don't have initial reports,
so initial reports are only made to be visible by the programs module
in programming contests.
However, they're not made visible in programming problems.

Fix this by overriding filter_visible_reports
in ProgrammingProblemController.

Change-Id: I9fe48f37ee6cf9edb35dbb56f1c56073c7a131ea
Comment by Gerrit Gerrit [ 2019-03-24 ]
Change oioioi~master~I9fe48f37ee6cf9edb35dbb56f1c56073c7a131ea, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3054

(SIO-2113) Make initial reports show up in out-of-contest submissions too

Looks like non-programming submissions don't have initial reports,
so initial reports are only made to be visible by the programs module
in programming contests.
However, they're not made visible in programming problems.

Fix this by overriding filter_visible_reports
in ProgrammingProblemController.

Change-Id: I9fe48f37ee6cf9edb35dbb56f1c56073c7a131ea
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2112] Display menu on mobile view in contests Created: 2018-06-5  Updated: 2019-03-26  Resolved: 2018-06-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olaf Łobożewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Contest menu is unavailable on mobile view right now.

 Comments   
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~Id6e3006ac17a80d0e4921a96947a0edb850a2de5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3043

(SIO-2112) Display menu on mobile view in contests

Contest menu is unavailable on mobile view right now.

Change-Id: Id6e3006ac17a80d0e4921a96947a0edb850a2de5




[SIO-2111] Add python 3 non-blocking tests to tests run on gerrit commit in oioioi Created: 2018-05-29  Updated: 2019-03-26  Resolved: 2018-05-29

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 3

Type: Improvement Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2090 Start making changes towards migratin... Closed
TAG Developer: Norbert Siwek

 Comments   
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change oioioi~master~I6f0b7c02a18af61ab421386a408644554af7bb46, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3022

(SIO-2111) Test change

Change-Id: I6f0b7c02a18af61ab421386a408644554af7bb46




[SIO-2110] Make filetracker compression adaptive Created: 2018-05-28  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Filetracker
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Pavel Senchanka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Right now, filetracker client and server compress all files, even in cases where this doesn't make sense:
1) for very small files, size after compression may be higher than before
2) for already compressed files (.zip, .gz), compressing them once more on the filetracker level makes no sense

Both client and server should be modified to support both compressed and not compressed files.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2109] Add python 3 tests to tests run on gerrit commit in sioworkers Created: 2018-05-22  Updated: 2019-03-26  Resolved: 2018-05-29

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 3

Type: Improvement Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2090 Start making changes towards migratin... Closed
TAG Developer: Norbert Siwek

 Description   
We want python 3 unit tests to be run on every gerrit commit.

 Comments   
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change sioworkers~master~I1588b1892c101299ae7cfa117fc8766b712b7341, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3021

(SIO-2109) TEST CHANGE

Change-Id: I1588b1892c101299ae7cfa117fc8766b712b7341
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change sioworkers~master~I1588b1892c101299ae7cfa117fc8766b712b7341, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3021

(SIO-2109) TEST CHANGE

Change-Id: I1588b1892c101299ae7cfa117fc8766b712b7341
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change sioworkers~master~Idfc775838955a2f088cced65f5efb8a30a9378cc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3024

(SIO-2109) Test failing

Change-Id: Idfc775838955a2f088cced65f5efb8a30a9378cc
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change sioworkers~master~Idfc775838955a2f088cced65f5efb8a30a9378cc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3024

(SIO-2109) Test failing

Change-Id: Idfc775838955a2f088cced65f5efb8a30a9378cc




[SIO-2108] Replace nose with pytest and integrate python 3 tests in sioworkers Created: 2018-05-22  Updated: 2019-03-26  Resolved: 2018-05-29

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 3

Type: Improvement Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2090 Start making changes towards migratin... Closed
TAG Developer: Norbert Siwek

 Description   
Replace nose with pytest as was done here:
https://jira.sio2project.mimuw.edu.pl/browse/SIO-2097

 Comments   
Comment by Gerrit Gerrit [ 2018-05-28 ]
Change sioworkers~master~Id154b05d8fc005a2c3568d9c1091496b634afcd6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3019

(SIO-2108) Replace nose with pytest and integrate tox

Replaces nose with pytest and made necessary adjustments for code to
work with pytest.

Integrated tox: tests are now run by calling `tox` in main directory.
There are both python2 and python3 tests run.

Change-Id: Id154b05d8fc005a2c3568d9c1091496b634afcd6
Comment by Gerrit Gerrit [ 2018-05-28 ]
Change sioworkers~master~Id154b05d8fc005a2c3568d9c1091496b634afcd6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3019

(SIO-2108) Replace nose with pytest and integrate tox

Replaces nose with pytest and made necessary adjustments for code to
work with pytest.

Integrated tox: tests are now run by calling `tox` in main directory.
There are both python2 and python3 tests run.

Change-Id: Id154b05d8fc005a2c3568d9c1091496b634afcd6
Comment by Gerrit Gerrit [ 2018-05-28 ]
Change sioworkers~master~Id154b05d8fc005a2c3568d9c1091496b634afcd6, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3019

(SIO-2108) Replace nose with pytest and integrate tox

Replaces nose with pytest and made necessary adjustments for code to
work with pytest.

Integrated tox: tests are now run by calling `tox` in main directory.
There are both python2 and python3 tests run.

Change-Id: Id154b05d8fc005a2c3568d9c1091496b634afcd6
Comment by Gerrit Gerrit [ 2018-05-28 ]
Change sioworkers~master~Idbb94033f3ac82d41d72d784df70d61d1ed62e6b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3020

(SIO-2108) Non-breaking change to ease transition to pytest

This change will smooth integration of pytest to the code base.

Change-Id: Idbb94033f3ac82d41d72d784df70d61d1ed62e6b
Comment by Gerrit Gerrit [ 2018-05-28 ]
Change sioworkers~master~Id154b05d8fc005a2c3568d9c1091496b634afcd6, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3019

(SIO-2108) Replace nose with pytest and integrate tox

Replaces nose with pytest and made necessary adjustments for code to
work with pytest.

Integrated tox: tests can now be run by calling `tox` in main directory.

This change is blocked by
https://gerrit.sio2project.mimuw.edu.pl/#/c/3020/

It is needed that the change above be merged to configure hudson to use
pytest.

Change-Id: Id154b05d8fc005a2c3568d9c1091496b634afcd6
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change sioworkers~master~Id154b05d8fc005a2c3568d9c1091496b634afcd6, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3019

(SIO-2108) Replace nose with pytest and integrate tox

Replaces nose with pytest and made necessary adjustments for code to
work with pytest.

Integrated tox: tests can now be run by calling `tox` in main directory.

TESTING NEW HUDSON SCRIPT

Change-Id: Id154b05d8fc005a2c3568d9c1091496b634afcd6
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change sioworkers~master~Id154b05d8fc005a2c3568d9c1091496b634afcd6, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3019

(SIO-2108) Replace nose with pytest and integrate tox

Replaces nose with pytest and made necessary adjustments for code to
work with pytest.

Integrated tox: tests can now be run by calling `tox` in main directory.

Modified README and done some final touches.

Change-Id: Id154b05d8fc005a2c3568d9c1091496b634afcd6
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change sioworkers~master~Id154b05d8fc005a2c3568d9c1091496b634afcd6, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3019

(SIO-2108) Replace nose with pytest and integrate tox

Replaces nose with pytest and made necessary adjustments for code to
work with pytest.

Integrated tox: tests can now be run by calling `tox` in main directory.

Modified README and done some final touches.

Change-Id: Id154b05d8fc005a2c3568d9c1091496b634afcd6
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change sioworkers~master~Id154b05d8fc005a2c3568d9c1091496b634afcd6, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3019

(SIO-2108) Replace nose with pytest and integrate tox

Replaces nose with pytest and made necessary adjustments for code to
work with pytest.

Integrated tox: tests can now be run by calling `tox` in main directory.

Modified README and done some final touches.

Change-Id: Id154b05d8fc005a2c3568d9c1091496b634afcd6




[SIO-2107] Add multiple language support for News Created: 2018-05-22  Updated: 2019-03-26  Resolved: 2018-06-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2017/18 Sprint 2
Fix Version/s: TAG 2017/18 Sprint 2

Type: Improvement Priority: Major
Reporter: Olaf Łobożewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Olaf Łobożewicz

 Description   
There should be a possibility to add different title/content versions of a News instance for each language supported by application.

 Comments   
Comment by Gerrit Gerrit [ 2018-05-22 ]
Change oioioi~master~If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3016

SIO-2107 Add multiple language support for News

Adding the possibility to create different title/content versions
of a News instance for each language supported by application.

Change-Id: If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5
Comment by Gerrit Gerrit [ 2018-05-22 ]
Change oioioi~master~If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3016

SIO-2107 Add multiple language support for News

Adding the possibility to create different title/content versions
of a News instance for each language supported by application.

Change-Id: If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5
Comment by Gerrit Gerrit [ 2018-05-24 ]
Change oioioi~master~If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3016

SIO-2107 Add multiple language support for News

Adding the possibility to create different title/content versions
of a News instance for each language supported by application.

Change-Id: If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5
Comment by Gerrit Gerrit [ 2018-05-24 ]
Change oioioi~master~If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3016

SIO-2107 Add multiple language support for News

Adding the possibility to create different title/content versions
of a News instance for each language supported by application.

Change-Id: If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5
Comment by Gerrit Gerrit [ 2018-05-25 ]
Change oioioi~master~If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3016

SIO-2107 Add multiple language support for News

Adding the possibility to create different title/content versions
of a News instance for each language supported by application.

Change-Id: If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5
Comment by Gerrit Gerrit [ 2018-05-25 ]
Change oioioi~master~If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3016

SIO-2107 Add multiple language support for News

Adding the possibility to create different title/content versions
of a News instance for each language supported by application.

Change-Id: If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change oioioi~master~If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3016

SIO-2107 Add multiple language support for News

Adding the possibility to create different title/content versions
of a News instance for each language supported by application.

Change-Id: If72cdae6c5d499114f7bde92dc0ea67ca0c08ae5




[SIO-2106] Config version check seems to have stopped working Created: 2018-05-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Usually if settings.py had wrong config version, manage.py threw a nice message.

However, lately I got:
```
Traceback (most recent call last):
  File "./manage.py", line 14, in <module>
    execute_from_command_line(sys.argv)
  File "/var/lib/sio2/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 353,
in execute_from_command_line
    utility.execute()
  File "/var/lib/sio2/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 327,
in execute
    django.setup()
  File "/var/lib/sio2/venv/local/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/var/lib/sio2/venv/local/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/var/lib/sio2/venv/local/lib/python2.7/site-packages/django/apps/config.py", line 202, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/var/lib/sio2/oioioi/oioioi/base/models.py", line 11, in <module>
    version_check()
  File "/var/lib/sio2/oioioi/oioioi/base/config_version_check.py", line 22, in version_check
    'href': GITHUB_LINK,
django.core.exceptions.ImproperlyConfigured: <exception str() failed>
```
which doesn't tell much about what happened.

It would be good to investigate if this issue happens on other installations of oioioi (tested on snag) and if that's the case - what causes that.

 Comments   
Comment by Artur Puzio [ 2018-11-14 ]
This doesn't seem to be a case any more. I get a proper error now:

```
django.core.exceptions.ImproperlyConfigured: The 'CONFIG_VERSION' in your custom deployment directory (25) does not match the 'INSTALLATION_CONFIG_VERSION' (26) in 'default_settings.py'. Please consult https://github.com/sio2project/oioioi/blob/master/UPGRADING.rst#changes-in-the-deployment-directory for the list of changes in the deployment directory.
```
or
```
django.core.exceptions.ImproperlyConfigured: The 'CONFIG_VERSION' in your custom deployment directory (asd) does not match the 'INSTALLATION_CONFIG_VERSION' (26) in 'default_settings.py'. Please consult https://github.com/sio2project/oioioi/blob/master/UPGRADING.rst#changes-in-the-deployment-directory for the list of changes in the deployment directory.
```
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2105] Replace 'no child nodes' in portal menu with a return button Created: 2018-05-8  Updated: 2019-03-26  Resolved: 2018-12-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Jakub Sieroń Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy


 Description   
In portal leaf (node without children) menu shows 'no child nodes'. This space could be used for return button.

 Comments   
Comment by Gerrit Gerrit [ 2018-11-12 ]
Change oioioi~master~Ic51d9bc0cb2e892154ad9d643f280edf0179bd2f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3091

(SIO-2105) Replace 'no child nodes' in menu with 'add menu items' button

Change-Id: Ic51d9bc0cb2e892154ad9d643f280edf0179bd2f
Comment by Gerrit Gerrit [ 2018-11-12 ]
Change oioioi~master~Ief592044b67269da94e468d1e60c60b6edf5ba87, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3092

(SIO-2105) Replace 'no child nodes' with 'add menu items' button, add translation to polish

Change-Id: Ief592044b67269da94e468d1e60c60b6edf5ba87
Comment by Gerrit Gerrit [ 2018-11-18 ]
Change oioioi~master~Ief592044b67269da94e468d1e60c60b6edf5ba87, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3092

(SIO-2105) Replace 'no child nodes' with 'add menu items' button, add translation to polish

Change-Id: Ief592044b67269da94e468d1e60c60b6edf5ba87
Comment by Gerrit Gerrit [ 2018-11-18 ]
Change oioioi~master~Ief592044b67269da94e468d1e60c60b6edf5ba87, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3092

(SIO-2105) Replace 'no child nodes' with 'add menu items' button, add translation to polish

Change-Id: Ief592044b67269da94e468d1e60c60b6edf5ba87
Comment by Gerrit Gerrit [ 2018-11-18 ]
Change oioioi~master~Ief592044b67269da94e468d1e60c60b6edf5ba87, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3092

(SIO-2105) Replace 'no child nodes' with 'add menu items' button, add translation to polish

Change-Id: Ief592044b67269da94e468d1e60c60b6edf5ba87
Comment by Gerrit Gerrit [ 2018-11-19 ]
Change oioioi~master~Ief592044b67269da94e468d1e60c60b6edf5ba87, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3092

(SIO-2105) Replace 'no child nodes' with 'add menu items' button, add translation to polish

Change-Id: Ief592044b67269da94e468d1e60c60b6edf5ba87
Comment by Gerrit Gerrit [ 2018-11-21 ]
Change oioioi~master~Ief592044b67269da94e468d1e60c60b6edf5ba87, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3092

(SIO-2105) Replace 'no child nodes' with 'add menu items' button, add translation to polish

Change-Id: Ief592044b67269da94e468d1e60c60b6edf5ba87
Comment by Gerrit Gerrit [ 2018-11-21 ]
Change oioioi~master~Ief592044b67269da94e468d1e60c60b6edf5ba87, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3092

(SIO-2105) Replace 'no child nodes' with 'add menu items' button, add translation to polish

Change-Id: Ief592044b67269da94e468d1e60c60b6edf5ba87
Comment by Gerrit Gerrit [ 2018-11-21 ]
Change oioioi~master~Ief592044b67269da94e468d1e60c60b6edf5ba87, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3092

(SIO-2105) Replace 'no child nodes' with 'add menu items' button, add translation to polish

Change-Id: Ief592044b67269da94e468d1e60c60b6edf5ba87




[SIO-2104] Fix OI Task Archive Created: 2018-05-8  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jakub Sieroń Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Problems with I OI: most OIs are it's children

 Comments   
Comment by Artur Puzio [ 2018-11-14 ]
To wygląda na naprawione (https://szkopul.edu.pl/p/default/problemset_eng/oi/1). Aczkolwiek możliwe, że należy otworzyć issue: "OI I w Task Archive nie zawiera zadań"
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2103] Adding tag 'quiz' for quizzes Created: 2018-05-8  Updated: 2018-05-15

Status: In Progress
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 2

Type: New Feature Priority: Major
Reporter: Jakub Sieroń Assignee: Anna Wiewiorowska
Resolution: Unresolved Votes: 0
Labels: None

TAG Developer: Anna Wiewiorowska

 Comments   
Comment by Gerrit Gerrit [ 2018-05-12 ]
Change oioioi~master~I739ed454341ae704eba09c0682d634614c222fa5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3001

SIO-2103 - Adding tag quiz for quizzes

Change-Id: I739ed454341ae704eba09c0682d634614c222fa5
Comment by Gerrit Gerrit [ 2018-05-15 ]
Change oioioi~master~I739ed454341ae704eba09c0682d634614c222fa5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3001

SIO-2103 - Adding tag quiz for quizzes

Change-Id: I739ed454341ae704eba09c0682d634614c222fa5




[SIO-2102] Quiz preview in problemset Created: 2018-05-8  Updated: 2018-05-14

Status: In Progress
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 3

Type: New Feature Priority: Major
Reporter: Jakub Sieroń Assignee: Anna Wiewiorowska
Resolution: Unresolved Votes: 0
Labels: None

TAG Developer: Anna Wiewiorowska

 Comments   
Comment by Gerrit Gerrit [ 2018-05-14 ]
Change oioioi~master~If88568049f7a276a5d13af87cea9b7c4450fba1a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3005

(SIO-2102) Quiz preview in problemset

Change-Id: If88568049f7a276a5d13af87cea9b7c4450fba1a
Comment by Gerrit Gerrit [ 2018-05-14 ]
Change oioioi~master~If88568049f7a276a5d13af87cea9b7c4450fba1a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3005

(SIO-2102) Quiz preview in problemset

Change-Id: If88568049f7a276a5d13af87cea9b7c4450fba1a




[SIO-2101] Create Portal's main page Created: 2018-05-8  Updated: 2019-03-26  Resolved: 2018-06-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 2, TAG 2017/18 Sprint 3

Type: New Feature Priority: Major
Reporter: Jakub Sieroń Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Jakub Sieroń

 Description   
Main page for displaying selected (promoted) portals.

 Comments   
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I9d556b9936ead050f65ec971fd1a1d733ff06f09, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3036

SIO-2101 Create Portal's main page

Change-Id: I9d556b9936ead050f65ec971fd1a1d733ff06f09
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-6 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-6 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-6 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-6 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-7 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-11 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-12 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-12 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-12 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-12 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-12 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-12 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-12 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c
Comment by Gerrit Gerrit [ 2018-06-13 ]
Change oioioi~master~I9e79a9da0641c8d6480070f2f821a3f652a9284c, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3039

SIO-2101 Create Portal's main page

Added portals main page
There can be more than one global portal now

Change-Id: I9e79a9da0641c8d6480070f2f821a3f652a9284c




[SIO-2100] MathJax and syntax highlighting support Created: 2018-05-8  Updated: 2019-03-26  Resolved: 2018-06-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 3

Type: New Feature Priority: Major
Reporter: Jakub Sieroń Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Jacek Olczyk

 Description   
In the whole of OIOIOI, one can use "$$...$$" to enter displayed math, and "\(...\)" for in-line math. Additionally, anything formatted as code (escaped with "```...```") will have its syntax highlighted (from SIO-2099).

 Comments   
Comment by Gerrit Gerrit [ 2018-05-15 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 Added MathJax parsing to portals

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-15 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 Added MathJax parsing to portals

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-15 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 Added MathJax parsing to portals

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-16 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-22 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-22 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-28 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I0c845ac4d7e458b6194a608a67900d253041adbb, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/3008

SIO-2100 MathJax and syntax highlighting support

Change-Id: I0c845ac4d7e458b6194a608a67900d253041adbb




[SIO-2099] Syntax highlighting in portals Created: 2018-05-8  Updated: 2018-05-16  Resolved: 2018-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 3

Type: New Feature Priority: Major
Reporter: Jakub Sieroń Assignee: Jacek Olczyk
Resolution: Duplicate Votes: 0
Labels: None

TAG Developer: Jacek Olczyk

 Description   
Add syntax highlighting to portal content.

 Comments   
Comment by Jacek Olczyk [ 2018-05-16 ]
This was moved to SIO-2100.




[SIO-2098] Pass sioworkers tests on both py2 and py3 using six Created: 2018-05-8  Updated: 2019-03-26  Resolved: 2018-05-28

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 2

Type: Improvement Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2090 Start making changes towards migratin... Closed
TAG Developer: Norbert Siwek

 Comments   
Comment by Gerrit Gerrit [ 2018-05-10 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

patch >= 1 Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-12 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-13 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3+
Fixing static and hudson errors.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-13 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3+
Fixing static and hudson errors.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-13 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3-5
Fixing static and hudson errors.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-14 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3-5
Fixing static and hudson errors.

-> Patch 6
Added missing README.md.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-15 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3-5
Fixing static and hudson errors.

-> Patch 6
Added missing README.md.

-> Patch 7
Fixed text formatting in README. Deleted unnecessary dependency 'enum'
when running on python 3. Added changes mentioned in code review.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-15 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3-5
Fixing static and hudson errors.

-> Patch 6
Added missing README.md.

-> Patch 7
Fixed text formatting in README. Deleted unnecessary dependency 'enum'
when running on python 3. Added changes mentioned in code review.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-21 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3-5
Fixing static and hudson errors.

-> Patch 6
Added missing README.md.

-> Patch 7
Fixed text formatting in README. Deleted unnecessary dependency 'enum'
when running on python 3. Added changes mentioned in code review.

-> Patch 9
Rebased. Twisted tests are now passing on both python2 and python3
although trial prints some strange not-test-related errors.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-21 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3-5
Fixing static and hudson errors.

-> Patch 6
Added missing README.md.

-> Patch 7
Fixed text formatting in README. Deleted unnecessary dependency 'enum'
when running on python 3. Added changes mentioned in code review.

-> Patch 9
Rebased. Twisted tests are now passing on both python2 and python3
although trial prints some strange not-test-related errors.

-> Patch 10
Rebased.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-21 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3-5
Fixing static and hudson errors.

-> Patch 6
Added missing README.md.

-> Patch 7
Fixed text formatting in README. Deleted unnecessary dependency 'enum'
when running on python 3. Added changes mentioned in code review.

-> Patch 9
Rebased. Twisted tests are now passing on both python2 and python3
although trial prints some strange not-test-related errors.

-> Patch 10-11
Rebased.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14
Comment by Gerrit Gerrit [ 2018-05-21 ]
Change sioworkers~master~I668861cf1a62e44991697d47ce224baead455e14, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3000

(SIO-2098) Porting sioworkers to six

The changes were made by running modernize and then making some manual
changes to the code.

-> Patch 1
Nosetests on both python 2 and python 3 pass with sandobex
enabled. Trial twisted tests on python 2 pass. On python 3 twisted
dependency is yet to be resolved.

-> Patch 2
Fixed installation scripts. Added README.md with instructions on
installing and testing on either python 2 and python 3.

-> Patch 3-5
Fixing static and hudson errors.

-> Patch 6
Added missing README.md.

-> Patch 7
Fixed text formatting in README. Deleted unnecessary dependency 'enum'
when running on python 3. Added changes mentioned in code review.

-> Patch 9
Rebased. Twisted tests are now passing on both python2 and python3
although trial prints some strange not-test-related errors.

-> Patch 10-12
Rebased.

Change-Id: I668861cf1a62e44991697d47ce224baead455e14




[SIO-2097] Change testing environment from nose to pytest Created: 2018-05-4  Updated: 2019-03-26  Resolved: 2018-05-27

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI, SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2017/18 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Rafał Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Rafał Pragacz

 Comments   
Comment by Gerrit Gerrit [ 2018-05-4 ]
Change oioioi~master~If7cf5a12fd8baf4ab9cd3cb05cdb6f458ad70e24, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2998

(no-ticket) Minor test fixes.

This is small part of SIO-2097 issue.

Change-Id: If7cf5a12fd8baf4ab9cd3cb05cdb6f458ad70e24
Comment by Gerrit Gerrit [ 2018-05-5 ]
Change oioioi~master~I49b83415934a0d21f70f441d142e9de4496c8409, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2999

(SIO-2097) Replace nose dependency with pytest

Enabled support of tox and pytest and removed nose dependency.
This is slightly related to migration to Python3, which some of nose plugins do not support

Change-Id: I49b83415934a0d21f70f441d142e9de4496c8409
Comment by Gerrit Gerrit [ 2018-05-5 ]
Change oioioi~master~I49b83415934a0d21f70f441d142e9de4496c8409, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2999

(SIO-2097) Replace nose dependency with pytest

Enabled support of tox and pytest and removed nose dependency.
This is slightly related to migration to Python3, which some of nose plugins do not support

Change-Id: I49b83415934a0d21f70f441d142e9de4496c8409
Comment by Gerrit Gerrit [ 2018-05-5 ]
Change oioioi~master~I49b83415934a0d21f70f441d142e9de4496c8409, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2999

(SIO-2097) Replace nose dependency with pytest

Enabled support of tox and pytest and removed nose dependency.
This is slightly related to migration to Python3, which some of nose plugins do not support

Change-Id: I49b83415934a0d21f70f441d142e9de4496c8409
Comment by Gerrit Gerrit [ 2018-05-8 ]
Change oioioi~master~I49b83415934a0d21f70f441d142e9de4496c8409, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2999

(SIO-2097) Replace nose dependency with pytest

Enabled support of tox and pytest and removed nose dependency.
This is slightly related to migration to Python3, which some of nose plugins do not support

Change-Id: I49b83415934a0d21f70f441d142e9de4496c8409
Comment by Gerrit Gerrit [ 2018-05-10 ]
Change oioioi~master~I49b83415934a0d21f70f441d142e9de4496c8409, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2999

(SIO-2097) Replace nose dependency with pytest

Enabled support of tox and pytest and removed nose dependency.
This is slightly related to migration to Python3, which some of nose plugins do not support

Change-Id: I49b83415934a0d21f70f441d142e9de4496c8409
Comment by Gerrit Gerrit [ 2018-05-11 ]
Change oioioi~master~I49b83415934a0d21f70f441d142e9de4496c8409, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2999

(SIO-2097) Replace nose dependency with pytest

Enabled support of tox and pytest and removed nose dependency.
This is slightly related to migration to Python3, which some of nose plugins do not support

Change-Id: I49b83415934a0d21f70f441d142e9de4496c8409




[SIO-2096] Problem instance select is visible when submitting a problem in the problemset Created: 2018-04-24  Updated: 2019-03-26  Resolved: 2018-06-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Radosław Waśko

 Comments   
Comment by Gerrit Gerrit [ 2018-04-24 ]
Change oioioi~master~Ibfff14d530a87337fec5fb8d8c80ab65a872899b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2992

(SIO-2096) Hide problem instance select when submitting from problemset.

Change-Id: Ibfff14d530a87337fec5fb8d8c80ab65a872899b
Comment by Gerrit Gerrit [ 2018-04-24 ]
Change oioioi~master~Ibfff14d530a87337fec5fb8d8c80ab65a872899b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2992

(SIO-2096) Hide problem select when submitting from problemset.

Change-Id: Ibfff14d530a87337fec5fb8d8c80ab65a872899b
Comment by Gerrit Gerrit [ 2018-04-24 ]
Change oioioi~master~Ibfff14d530a87337fec5fb8d8c80ab65a872899b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2992

(SIO-2096) Hide problem select when submitting from problemset.

Change-Id: Ibfff14d530a87337fec5fb8d8c80ab65a872899b
Comment by Gerrit Gerrit [ 2018-04-24 ]
Change oioioi~master~Ibfff14d530a87337fec5fb8d8c80ab65a872899b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2992

(SIO-2096) Hide problem select when submitting from problemset.

Change-Id: Ibfff14d530a87337fec5fb8d8c80ab65a872899b




[SIO-2095] Create new Selenium tests Created: 2018-04-23  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 2

Type: Improvement Priority: Major
Reporter: Anna Wiewiorowska Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Anna Wiewiorowska

 Comments   
Comment by Artur Puzio [ 2018-10-24 ]
This seems to be a duplicate of SIO-2016




[SIO-2094] Fix Selenium tests Jenkins build Created: 2018-04-23  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 2

Type: Bug Priority: Major
Reporter: Anna Wiewiorowska Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Anna Wiewiorowska

 Comments   
Comment by Gerrit Gerrit [ 2018-05-14 ]
Change oioioi~master~I5496434b003104d4d2d944b9acf5b35a2921fba8, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3006

(SIO-2094) Fix Selenium tests Jenkins build

Change-Id: I5496434b003104d4d2d944b9acf5b35a2921fba8
Comment by Gerrit Gerrit [ 2018-05-15 ]
Change oioioi~master~I5496434b003104d4d2d944b9acf5b35a2921fba8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3006

(SIO-2094) Fix Selenium tests Jenkins build

Change-Id: I5496434b003104d4d2d944b9acf5b35a2921fba8




[SIO-2093] Filetracker server doesn't support file deletion Created: 2018-04-17  Updated: 2019-03-26  Resolved: 2018-05-28

Status: Closed
Project: The SIO2 project
Component/s: Filetracker
Affects Version/s: TAG 2017/18 Sprint 2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Pavel Senchanka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Pavel Senchanka

 Description   
Filetracker client sends DELETE requests on `filetracker rm` command, but server doesn't handle them.




[SIO-2092] Naprawić iptables na szkopule Created: 2018-04-17  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Aktualne zasady iptables, po włączeniu ich powodują, że szkopuł przestaje działać (502 bad gateway), zapewne są zbyt restrykcyjne / nieaktualne.

W związku z tym internet musi być odblokowany, co warto byłoby zmienić.

Aktualne zasady są opisane w /etc/network/if-up.d/iptables

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2091] Streamline the translation process Created: 2018-04-17  Updated: 2019-03-26  Resolved: 2018-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2017/18 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Jacek Olczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
In the SIO2 Developer's Guide, elaborate on the process of introducing new translation strings and changing the old ones. Possibly also set up new systems for continuous integration of translations. Additionally, fix as many remaining translation errors as possible.

Update 24/04/2018:
Old translations fixed, Jenkins script working, translating guide updated, szkopuł deploy checklist updated

 Comments   
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2987

SIO-2091 Streamline the translation process

Change-Id: I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a
Comment by Gerrit Gerrit [ 2018-04-19 ]
Change oioioi~master~I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2987

SIO-2091 Streamline the translation process

Change-Id: I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a
Comment by Gerrit Gerrit [ 2018-04-19 ]
Change oioioi~master~I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2987

SIO-2091 Streamline the translation process

Change-Id: I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a
Comment by Gerrit Gerrit [ 2018-04-21 ]
Change oioioi~master~I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2987

SIO-2091 Streamline the translation process

Change-Id: I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a
Comment by Gerrit Gerrit [ 2018-04-21 ]
Change oioioi~master~I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2987

SIO-2091 Streamline the translation process

Change-Id: I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a
Comment by Gerrit Gerrit [ 2018-04-22 ]
Change oioioi~master~I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2987

SIO-2091 Streamline the translation process

Change-Id: I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a
Comment by Gerrit Gerrit [ 2018-04-22 ]
Change oioioi~master~I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2987

SIO-2091 Streamline the translation process

Change-Id: I004e5f6f4e4ff98d0ec4535aec392f3698bbd40a




[SIO-2090] Start making changes towards migrating to python3 Created: 2018-04-11  Updated: 2019-03-26  Resolved: 2018-05-29

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 2, TAG 2017/18 Sprint 3

Type: Improvement Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-2098 Pass sioworkers tests on both py2 and... Closed
is related to SIO-2108 Replace nose with pytest and integrat... Closed
is related to SIO-2109 Add python 3 tests to tests run on ge... Closed
is related to SIO-2111 Add python 3 non-blocking tests to te... Closed
TAG Developer: Norbert Siwek

 Description   
This tasks requires sioworkers to be changed so as to be able to run it in both python2 and python3. It is possible thanks to the six library (https://pypi.python.org/pypi/six).




[SIO-2089] Investigate feasibility of filetracker compression and deduplication Created: 2018-04-10  Updated: 2019-03-26  Resolved: 2018-06-5

Status: Closed
Project: The SIO2 project
Component/s: Filetracker
Affects Version/s: TAG 2017/18 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Pavel Senchanka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Investigate possible options of compressing filetracker contents (different compression algorithms, compression/decompression logic, etc.). Also check if Szkopuł filetracker contains a significant number of duplicate files.

 Comments   
Comment by Radosław Waśko [ 2018-04-17 ]
Used tools: https://gist.github.com/radeusgd/6119fa1528fc1fb0b1d26b287bd33db8

Gain (maybe slightly misleading...) is the ratio of size after compression / dedup to the original size - lower is better.

Deduplication (SHA):
('Highest count:', 14794 - there's a file that has 14794 exact instances)
('Total size:', 1101947332565)
('Dedup size:', 638640713188)
('Gain:', 57, '%')

Gzip compression (50% of data analyzed):
('Original size:', 589263912900)
('Compressed size:', 236547224239)
('Gain:', 40, '%')

Xz compression (slower, 30-40% analyzed):
('Original size:', 64855014576)
('Compressed size:', 19607237016)
('Gain:', 30, '%')
Comment by Radosław Waśko [ 2018-04-17 ]
Also it seems that filetracker DELETE doesn't work, so that executables and outputs of user submissions that are not needed are present on the server.

Eval folder takes up about 220GB of space and most likely can be deleted?




[SIO-2088] Add tests to filetracker Created: 2018-04-10  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: Filetracker
Affects Version/s: TAG 2017/18 Sprint 2
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Pavel Senchanka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Pavel Senchanka

 Description   
Filetracker should have some tests.




[SIO-2087] Move base module to Six and get the simplest form of website working on Python3 Created: 2018-04-10  Updated: 2019-03-26  Resolved: 2018-05-27

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI, SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2017/18 Sprint 2
Fix Version/s: TAG 2017/18 Sprint 2

Type: Improvement Priority: Major
Reporter: Rafał Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Rafał Pragacz

 Comments   
Comment by Gerrit Gerrit [ 2018-05-14 ]
Change oioioi~master~Ib63c209081c47a72fe15b10a553a9a2a433aec30, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3007

(SIO-2087) Start work on porting oioioi to six.

Ran modernize and made manual changes to preserve python2 stability.
You now can deploy and run oioioi in python3, although a lot more changes need
to be done in order to succesfully deploy it on py3, or even to pass tests.
This serves more as a non-breaking anything change that will allow further
work on this issue.

Change-Id: Ib63c209081c47a72fe15b10a553a9a2a433aec30
Comment by Gerrit Gerrit [ 2018-05-14 ]
Change oioioi~master~Ib63c209081c47a72fe15b10a553a9a2a433aec30, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3007

(SIO-2087) Start work on porting oioioi to six.

Ran modernize and made manual changes to preserve python2 stability.
You now can deploy and run oioioi in python3, although a lot more changes need
to be done in order to succesfully deploy it on py3, or even to pass tests.
This serves more as a non-breaking anything change that will allow further
work on this issue.

Change-Id: Ib63c209081c47a72fe15b10a553a9a2a433aec30
Comment by Gerrit Gerrit [ 2018-05-15 ]
Change oioioi~master~Ib63c209081c47a72fe15b10a553a9a2a433aec30, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3007

(SIO-2087) Start work on porting oioioi to six.

Ran modernize and made manual changes to preserve python2 stability.
You now can deploy and run oioioi in python3, although a lot more changes need
to be done in order to succesfully deploy it on py3, or even to pass tests.
This serves more as a non-breaking anything change that will allow further
work on this issue.

Change-Id: Ib63c209081c47a72fe15b10a553a9a2a433aec30
Comment by Gerrit Gerrit [ 2018-05-16 ]
Change oioioi~master~Ib63c209081c47a72fe15b10a553a9a2a433aec30, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3007

(SIO-2087) Start work on porting oioioi to six.

Ran modernize and made manual changes to preserve python2 stability.
You now can deploy and run oioioi in python3, although a lot more changes need
to be done in order to succesfully deploy it on py3, or even to pass tests.
This serves more as a non-breaking anything change that will allow further
work on this issue.

Change-Id: Ib63c209081c47a72fe15b10a553a9a2a433aec30
Comment by Gerrit Gerrit [ 2018-05-21 ]
Change oioioi~master~Ib63c209081c47a72fe15b10a553a9a2a433aec30, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3007

(SIO-2087) Start work on porting oioioi to six.

Ran modernize and made manual changes to preserve python2 stability.
You now can deploy and run oioioi in python3, although a lot more changes need
to be done in order to succesfully deploy it on py3, or even to pass tests.
This serves more as a non-breaking anything change that will allow further
work on this issue.

Change-Id: Ib63c209081c47a72fe15b10a553a9a2a433aec30
Comment by Gerrit Gerrit [ 2018-05-21 ]
Change oioioi~master~Ib63c209081c47a72fe15b10a553a9a2a433aec30, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3007

(SIO-2087) Start work on porting oioioi to six.

Ran modernize and made manual changes to preserve python2 stability.
You now can deploy and run oioioi in python3, although a lot more changes need
to be done in order to succesfully deploy it on py3, or even to pass tests.
This serves more as a non-breaking anything change that will allow further
work on this issue.

Change-Id: Ib63c209081c47a72fe15b10a553a9a2a433aec30




[SIO-2086] Contest Timeline labels don't display properly Created: 2018-04-10  Updated: 2019-03-26  Resolved: 2018-06-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Pavel Senchanka

 Description   
In Contest Administration -> Timeline, the text on the labels next to dates doesn't show up. There should be "start of round... ", "end ofrround ...", etc. but instead it's just empty colorful rectangles

 Comments   
Comment by Gerrit Gerrit [ 2018-05-28 ]
Change oioioi~master~Ia1d90ba22a46c8116e271b1d02cd37008fe46961, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3018

(SIO-2086) Fixed date title displaying in timeline view.

Change-Id: Ia1d90ba22a46c8116e271b1d02cd37008fe46961
Comment by Gerrit Gerrit [ 2018-05-28 ]
Change oioioi~master~Ia1d90ba22a46c8116e271b1d02cd37008fe46961, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3018

(SIO-2086) Fixed date title displaying in timeline view.

Change-Id: Ia1d90ba22a46c8116e271b1d02cd37008fe46961
Comment by Gerrit Gerrit [ 2018-05-28 ]
Change oioioi~master~Ia1d90ba22a46c8116e271b1d02cd37008fe46961, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3018

(SIO-2086) Fixed date title displaying in timeline view.

Change-Id: Ia1d90ba22a46c8116e271b1d02cd37008fe46961




[SIO-2085] Add different language version support for portals Created: 2018-03-20  Updated: 2019-03-26  Resolved: 2018-06-13

Status: Closed
Project: The SIO2 project
Component/s: Translations
Affects Version/s: TAG 2017/18 Sprint 1
Fix Version/s: TAG 2017/18 Sprint 3

Type: Improvement Priority: Major
Reporter: Jacek Olczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: Szkopuł portals


 Description   
Portal creators need to be able to add different versions for different langugages. This has to be non-mandatory, and the default language for a portal should be the language selected by the portal creator.

 Comments   
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-5 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-13 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296
Comment by Gerrit Gerrit [ 2018-06-13 ]
Change oioioi~master~I7913bcfd8ab9674ab037f115e7d6584e21882296, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3037

(SIO-2085) Add different language version support for portals

Portal creators need to be able to add different versions for
different langugages. This has to be non-mandatory, and the
default language for a portal should be the language selected
by the portal creator.

Change-Id: I7913bcfd8ab9674ab037f115e7d6584e21882296




[SIO-2084] Add test for vagrant file validity Created: 2018-03-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Sometimes we update Vagrantfile, so it works, but later someone forgets to update it alongside with his/her change, so I wanted to suggest a nightly test which does vagrant up from scratch[1] and after a while checks some simple scenarios[2].
[1] Deletes previous VM and creates a new one installing everything
[2] User registration, contest creation, submitting some code, etc and checking the HTTP answers if it is really what we want and not some 500s errors.

 Comments   
Comment by Gerrit Gerrit [ 2018-11-24 ]
Change oioioi~master~Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3104

(SIO-2084) Add test for checking whether oioioi is up and running

The test adds a contest, submits a problem and checks whether it is
checked correctly.

Change-Id: Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3104

(SIO-2084) Add test for checking whether oioioi is up and running

The test adds a contest, submits a problem and checks whether it is
checked correctly.

Change-Id: Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3104

(SIO-2084) Add test for checking whether oioioi is up and running

The test adds a contest, submits a problem and checks whether it is
checked correctly.

Change-Id: Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3104

(SIO-2084) Add test for checking whether oioioi is up and running

The test adds a contest, submits a problem and checks whether it is
checked correctly.

Change-Id: Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3104

(SIO-2084) Add test for checking whether oioioi is up and running

The test adds a contest, submits a problem and checks whether it is
checked correctly.

Change-Id: Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3104

(SIO-2084) Add test for checking whether oioioi is up and running

The test adds a contest, submits a problem and checks whether it is
checked correctly.

Change-Id: Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3104

(SIO-2084) Add test for checking whether oioioi is up and running

The test adds a contest, submits a problem and checks whether it is
checked correctly.

Change-Id: Ie78f48bd0b2f2dbeb050fb5f9724073ac5f7ac71
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2083] Displaying PDF files on site Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Improvement Priority: Major
Reporter: Rafał Pragacz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2072 Redesign mainpage and portals Closed
TAG Developer: Rafał Pragacz

 Description   
Embed PDF files in html instead of placing link to the file.

 Comments   
Comment by Gerrit Gerrit [ 2018-03-14 ]
Change oioioi~master~I1efc261c8e89a4429a5903a610e668d47c75c587, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2957

SIO-2083 Displaying PDF files on site

Added displaying of PDF files and providing the link only if browser cannot display the file.

Change-Id: I1efc261c8e89a4429a5903a610e668d47c75c587
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change oioioi~master~I1efc261c8e89a4429a5903a610e668d47c75c587, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2957

SIO-2083 Displaying PDF files on site

Added displaying of PDF files along with a link to open it.

Change-Id: I1efc261c8e89a4429a5903a610e668d47c75c587
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change oioioi~master~I1efc261c8e89a4429a5903a610e668d47c75c587, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2957

SIO-2083 Displaying PDF files on site

Added displaying of PDF files along with a link to open it.

Change-Id: I1efc261c8e89a4429a5903a610e668d47c75c587
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change oioioi~master~I1efc261c8e89a4429a5903a610e668d47c75c587, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2957

SIO-2083 Displaying PDF files on site

Added displaying of PDF files along with a link to open it.

Change-Id: I1efc261c8e89a4429a5903a610e668d47c75c587




[SIO-2082] Add breadcrumbs Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Improvement Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2072 Redesign mainpage and portals Closed
TAG Developer: Norbert Siwek

 Description   
Change clunky left navigation bar to breadcrumbs navigation.

 Comments   
Comment by Gerrit Gerrit [ 2018-03-30 ]
Change oioioi~master~I322c286915e1fe0755b56c6918f430d14a4565a1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2974

(SIO-2082) Improved portal navigation

I have added breadcrumbs and modified left menu navigation and navbar
menu nabigation on portals both on small and large devices.

Change-Id: I322c286915e1fe0755b56c6918f430d14a4565a1
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change oioioi~master~I322c286915e1fe0755b56c6918f430d14a4565a1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2974

(SIO-2082) Improved portal navigation

I have added breadcrumbs and modified left menu navigation and navbar
menu nabigation on portals both on small and large devices.

Change-Id: I322c286915e1fe0755b56c6918f430d14a4565a1
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I322c286915e1fe0755b56c6918f430d14a4565a1, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2974

(SIO-2082) Improved portal navigation

I have added breadcrumbs and modified left menu navigation and navbar
menu nabigation on portals both on small and large devices.

Change-Id: I322c286915e1fe0755b56c6918f430d14a4565a1




[SIO-2081] Problemset update Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-06-17

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Improvement Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2072 Redesign mainpage and portals Closed

 Description   
1. Make tags clickable.
2. Add adding date column.
3. Add sorting through columns.
4. Default sorting: tag, date.

 Comments   
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update THIS IS NOT FINAL COMMIT - just for code review Tags are now clickable Added search features

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-04-16 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update THIS IS NOT FINAL COMMIT - just for code review Tags are now clickable Added search features Added ascii_name to model Problems for improved searching Edited tests (still problems with them) Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-04-16 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update THIS IS NOT FINAL COMMIT - just for code review Tags are now clickable Added search features Added ascii_name to model Problems for improved searching Edited tests (still problems with them) Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update THIS IS NOT FINAL COMMIT - just for code review Tags are now clickable Added search features Added ascii_name to model Problems for improved searching Edited tests (still problems with them) Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update THIS IS NOT FINAL COMMIT - just for code review Tags are now clickable Added search features Added ascii_name to model Problems for improved searching Edited tests (still problems with them) Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-04-19 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update Tags are now clickable Added search features Added ascii_name to model Problems for improved searching Added tests Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-04-24 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update Tags are now clickable Added search features Added ascii_name to model Problems for improved searching Added tests Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-04-24 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update Tags are now clickable Added search features Added ascii_name to model Problems for improved searching Added tests Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-05-7 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update Tags are now clickable Added search features Added ascii_name to model Problems for improved searching Added tests Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-05-8 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update: Tags are now clickable, Added search features, Added ascii_name to model Problems for improved searching, Added tests Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f
Comment by Gerrit Gerrit [ 2018-05-8 ]
Change oioioi~master~Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2980

SIO-2081 Problemset update: Tags are now clickable, Added search features, Added ascii_name to model Problems for improved searching, Added tests Added new library (unidecode)

Change-Id: Ifed19f25d79ce5b6b21603dc4d4cba4e7fb14b2f




[SIO-2080] Uploading multiple-choice problem from text file Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-10-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: New Feature Priority: Major
Reporter: Anna Wiewiorowska Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

TAG Developer: Anna Wiewiorowska
TAG Reviewer: Radosław Waśko




[SIO-2079] Creating multiple-choice problem in teacher panel Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: New Feature Priority: Major
Reporter: Anna Wiewiorowska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Radosław Waśko
TAG Reviewer: Anna Wiewiorowska

 Comments   
Comment by Gerrit Gerrit [ 2018-04-4 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

THIS IS WORK IN PROGRESS - a basic prototype that barely works

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-5 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2975

(SIO-2079) Adding quizzes to admin panel

Change-Id: Id17489b92ecef7ae1ee2506fdc0c7fc4b09e51b4
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I84213987da62d29e7fee1fe85f2a90c291c7d6dd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2985

(SIO-2079) Fix non-superadmins not being able to edit quiz questions.

Change-Id: I84213987da62d29e7fee1fe85f2a90c291c7d6dd
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I84213987da62d29e7fee1fe85f2a90c291c7d6dd, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2985

(SIO-2079) Fix non-superadmins not being able to edit quiz questions.

Change-Id: I84213987da62d29e7fee1fe85f2a90c291c7d6dd
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I84213987da62d29e7fee1fe85f2a90c291c7d6dd, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2985

(SIO-2079) Fix non-superadmins not being able to edit quiz questions.

Change-Id: I84213987da62d29e7fee1fe85f2a90c291c7d6dd




[SIO-2078] Multiple-choice tests score calculation and report view Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: New Feature Priority: Major
Reporter: Anna Wiewiorowska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Anna Wiewiorowska
TAG Reviewer: Radosław Waśko

 Comments   
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3
Comment by Gerrit Gerrit [ 2018-04-12 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3
Comment by Gerrit Gerrit [ 2018-04-12 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3
Comment by Gerrit Gerrit [ 2018-04-12 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3
Comment by Gerrit Gerrit [ 2018-04-16 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2977

SIO-2078 Multiple-choice tests score calculation and report view

Change-Id: I9901cb74a21145fffbdf5a216fba5c8ee3f0aca3




[SIO-2077] Multiple-choice tests submission form Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: New Feature Priority: Major
Reporter: Anna Wiewiorowska Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Radosław Waśko
TAG Reviewer: Anna Wiewiorowska

 Description   
Dostosowanie systemu submission do różnych typów zadań.

 Comments   
Comment by Gerrit Gerrit [ 2018-03-19 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Currently also a very simple submission preview is included, to be
improved in another ticket.

This changeset doesn't include CSS for quizes (TODO).

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-19 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Currently also a very simple submission preview is included, to be
improved in another ticket.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-23 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change oioioi~master~Id13227db4ea8a7294f6817238e9d7e710705110f, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2961

SIO-2077 Adding a submission form for quizzes.

Implemented showing/hiding fields in submission form depending on
currently selected problem.

Change-Id: Id13227db4ea8a7294f6817238e9d7e710705110f




[SIO-2076] Translations fix Created: 2018-03-13  Updated: 2018-04-18  Resolved: 2018-04-18

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Bug Priority: Major
Reporter: Norbert Siwek Assignee: Jacek Olczyk
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2072 Redesign mainpage and portals Closed

 Description   
Fix wrong translations in current szkopul iteration. You have to browse through szkopul and find them all.

 Comments   
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-7 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-7 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-7 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-10 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-13 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I6d52bd1a5a0e3e1fbd00729b16286d69770c0679, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/2971

SIO-2076 Translations fix

Change-Id: I6d52bd1a5a0e3e1fbd00729b16286d69770c0679




[SIO-2075] Mainpage update Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-23

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Improvement Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Mainpage

Attachments: PNG File Screenshot_2018-03-13_13-32-26.png    
Issue Links:
Relates
relates to SIO-2072 Redesign mainpage and portals Closed

 Description   
In the current version, the main page is a portal. We want a mainpage to be a separate entity and to be designed as presented in picture.

 Comments   
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change oioioi~master~I7e6ef9406cfa44ee53a1e2039f08ac25a4ff2fde, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2976

SIO-2075 Mainpage update

In the current version, the main page is a portal. We want a mainpage to be a separate entity.

Change-Id: I7e6ef9406cfa44ee53a1e2039f08ac25a4ff2fde
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change oioioi~master~I7e6ef9406cfa44ee53a1e2039f08ac25a4ff2fde, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2976

SIO-2075 Mainpage update

In the current version, the main page is a portal. We want a mainpage to be a separate entity.

Change-Id: I7e6ef9406cfa44ee53a1e2039f08ac25a4ff2fde
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change oioioi~master~I7e6ef9406cfa44ee53a1e2039f08ac25a4ff2fde, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2976

SIO-2075 Mainpage update

In the current version, the main page is a portal. We want
a mainpage to be a separate entity.

Change-Id: I7e6ef9406cfa44ee53a1e2039f08ac25a4ff2fde
Comment by Gerrit Gerrit [ 2018-04-17 ]
Change oioioi~master~I7e6ef9406cfa44ee53a1e2039f08ac25a4ff2fde, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2976

SIO-2075 Mainpage update

In the current version, the main page is a portal. We want
a mainpage to be a separate entity.

Change-Id: I7e6ef9406cfa44ee53a1e2039f08ac25a4ff2fde




[SIO-2074] Create multiple-choice tests model Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: New Feature Priority: Major
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Anna Wiewiorowska
TAG Reviewer: Radosław Waśko

 Comments   
Comment by Gerrit Gerrit [ 2018-03-15 ]
Change oioioi~master~I64ee04ffc12937e7908cf845b0af290316e3ce1f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2959

SIO-2074 Create multiple-choice tests model

Base model for multiple-choice tests

Change-Id: I64ee04ffc12937e7908cf845b0af290316e3ce1f
Comment by Gerrit Gerrit [ 2018-03-15 ]
Change oioioi~master~I64ee04ffc12937e7908cf845b0af290316e3ce1f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2959

SIO-2074 Create multiple-choice tests model

Base model for multiple-choice tests

Change-Id: I64ee04ffc12937e7908cf845b0af290316e3ce1f
Comment by Gerrit Gerrit [ 2018-03-19 ]
Change oioioi~master~I64ee04ffc12937e7908cf845b0af290316e3ce1f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2959

SIO-2074 Create multiple-choice tests model

Base model for multiple-choice tests

Change-Id: I64ee04ffc12937e7908cf845b0af290316e3ce1f
Comment by Gerrit Gerrit [ 2018-03-19 ]
Change oioioi~master~I64ee04ffc12937e7908cf845b0af290316e3ce1f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2959

SIO-2074 Create multiple-choice tests model

Base model for multiple-choice tests

Change-Id: I64ee04ffc12937e7908cf845b0af290316e3ce1f
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change oioioi~master~I64ee04ffc12937e7908cf845b0af290316e3ce1f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2959

SIO-2074 Create multiple-choice tests model

Base model for multiple-choice tests

Change-Id: I64ee04ffc12937e7908cf845b0af290316e3ce1f




[SIO-2073] Set environ['required_ram'] for various worker jobs Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Improvement Priority: Major
Reporter: Pavel Senchanka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Part of SIO-1928.

Jobs should report the predicted amount of RAM that they need. This should probably be a new environ parameter ("required_ram" is proposed), but another part of this issue is investigating whether there is already some similar parameter, and if there is, whether it can be used for SIO-1928.

The list of all jobs can be found in `setup.py` of sioworkers package (`sio.jobs` list).

 Comments   
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-23 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-24 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-03-25 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler. This can be modified after deleting FifoScheduler, so to avoid doubling the default values here and in executors.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler. This can be modified after deleting FifoScheduler, so to avoid doubling the default values here and in executors.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-2 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-2 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler. This can be modified after deleting FifoScheduler, so to avoid doubling the default values here and in executors.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler. This can be modified after deleting FifoScheduler, so to avoid doubling the default values here and in executors.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler based on job type or given limits.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler based on job type or given limits.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler based on job type or given limits.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03




[SIO-2072] Redesign mainpage and portals Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-10-24

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1, TAG 2017/18 Sprint 2, TAG 2017/18 Sprint 3

Type: Improvement Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: Mainpage

Issue Links:
Relates
is related to SIO-2076 Translations fix Closed
is related to SIO-2075 Mainpage update Closed
is related to SIO-2081 Problemset update Closed
is related to SIO-2082 Add breadcrumbs Closed
is related to SIO-2083 Displaying PDF files on site Closed

 Description   
Google docs: https://docs.google.com/document/d/1kJHcBLvLpG1ebnCOeMVemxqWRaSks6IDUdwFdMq9Zvw/edit

Wstępne taski:
- odkopać komunikat startowy
- --------,,----------- newsfeed !!
- navbar - lista pozioma (bez rodzeństwa)
- wyświetlanie archiwalnych preferencji - kafelki (bez paska)
- ? wyszukiwanie portali ?
- zadanie -> wyświetlanie treści (w archiwum)
- tłumaczenie:
    - flagi
    - TaskArchive => portale wielojęzyczne
    - tłumaczenia słów
    - przejrzeć tłumaczenia
- przycisk powrotu do strony głównej
- “O stronie”
- Archiwum konkursu ( Problemset )
- wyszukiwanie domyślnie po nazwie i tagu
- klikanie tagu
- sortowanie po kolumnie
- dodanie daty wrzucenia zadania bazy
- ticket z minusem obok wiadomości w konkursie




[SIO-2071] Modify job schedulers to take into account RAM amount Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Improvement Priority: Major
Reporter: Pavel Senchanka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Pavel Senchanka

 Description   
Part of SIO-1928.

Right now various jobs are scheduled between workers using only WORKER_CONCURRENCY parameter. Existing schedulers should be modified to take into account WORKER_RAM parameter for workers and environ['required_ram'] for jobs.

 Comments   
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~Ib2ec3927534508be2a1897c037e2e1ef3b103b00, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2963

(SIO-2070) Added information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I98a55a89d2e22d6a0f1c7951895b712614f8c5f9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2964

(SIO-2070) Added information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I2682d5e9d385cad9847cf12d98ea5f32e6347ac5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2965

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I2e58cf62d7920bd73a9a6195e4301141b9c578a0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2966

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.

Change-Id: I2e58cf62d7920bd73a9a6195e4301141b9c578a0
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-23 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-25 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change sioworkers~master~I2e58cf62d7920bd73a9a6195e4301141b9c578a0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2966

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.

Change-Id: I2e58cf62d7920bd73a9a6195e4301141b9c578a0
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change sioworkers~master~I2e58cf62d7920bd73a9a6195e4301141b9c578a0, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2966

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.

Change-Id: I2e58cf62d7920bd73a9a6195e4301141b9c578a0
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change sioworkers~master~I2e58cf62d7920bd73a9a6195e4301141b9c578a0, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2966

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.

Change-Id: I2e58cf62d7920bd73a9a6195e4301141b9c578a0
Comment by Gerrit Gerrit [ 2018-04-2 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-2 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03




[SIO-2070] Add information about available RAM to worker config Created: 2018-03-13  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Improvement Priority: Major
Reporter: Pavel Senchanka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Norbert Siwek

 Description   
Part of SIO-1928.

Right now, the worker config defines WORKER_CONCURRENCY parameter which is calculated from both CPU number and (RAM / average RAM for a job). This parameter should be split into WORKER_CONCURRENCY that only depends on CPU count, and WORKER_RAM that declares the amount of RAM that can be used.

The default value should leave some RAM for OS usage.

 Comments   
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~Ib2ec3927534508be2a1897c037e2e1ef3b103b00, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2963

(SIO-2070) Added information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I98a55a89d2e22d6a0f1c7951895b712614f8c5f9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2964

(SIO-2070) Added information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I2682d5e9d385cad9847cf12d98ea5f32e6347ac5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2965

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I2e58cf62d7920bd73a9a6195e4301141b9c578a0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2966

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.

Change-Id: I2e58cf62d7920bd73a9a6195e4301141b9c578a0
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-23 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-25 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change sioworkers~master~I2e58cf62d7920bd73a9a6195e4301141b9c578a0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2966

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.

Change-Id: I2e58cf62d7920bd73a9a6195e4301141b9c578a0
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change sioworkers~master~I2e58cf62d7920bd73a9a6195e4301141b9c578a0, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2966

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.

Change-Id: I2e58cf62d7920bd73a9a6195e4301141b9c578a0
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change sioworkers~master~I2e58cf62d7920bd73a9a6195e4301141b9c578a0, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2966

(SIO-2070) Add information about available RAM to worker config

This change uses parts of SIO-2071 and shouldn't be run sepparately.

Change-Id: I2e58cf62d7920bd73a9a6195e4301141b9c578a0
Comment by Gerrit Gerrit [ 2018-04-2 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-2 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03




[SIO-2069] Upgrade to Django 2.0 Created: 2018-02-25  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: migration


 Description   
It requires Python 3.

Note: update python version check in default_settings.py.
Note: update dependencies like django-two-factor-auth to use latest supported version by Django 2.0.




[SIO-2068] Upgrade to Django 1.11 Created: 2018-02-25  Updated: 2021-03-22  Resolved: 2021-03-22

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Wojciech Dubiel
Resolution: Obsolete Votes: 0
Labels: migration


 Description   
Note: in default settings we should change required python version.
Note: update dependencies like django-two-factor-auth to use latest supported version by Django 1.11.




[SIO-2067] User session management. Created: 2018-02-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Use django-user-sessions (https://django-user-sessions.readthedocs.io/en/1.5.3/installation.html) to display list of user sessions with ability to terminate them. Example app here: https://example-two-factor-auth.herokuapp.com/ (src code here: https://github.com/Bouke/django-two-factor-auth/tree/master/example).

Another feature: add option to make sessions last until closing the web browser.

Note: use GeoIP2. If all sessions will originate from our internal network, please contact oi-admins to resolve this.

Note: preferably locate this option between "Two factor authentication" (order=150) and "Logout" (order=200) entries in user menu.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2066] Enforce 2FA for contest admins Created: 2018-02-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
For security reason, add to contest settings option "Contests admins must have 2FA enabled.". Otherwise, their contest admin privileges will be revoked until they enable 2FA. They should see message that they need to enable 2FA while having activated contest to which they have admin privileges (analogous to: https://gerrit.sio2project.mimuw.edu.pl/#/c/2953/3/oioioi/base/templates/base.html).

PS following the rule "sum(security mechanisms) = min(security mechanisms)", consider if effective superusers should have revoked privileges or not (I guess effective superusers shouldn't be an exception).

 Comments   
Comment by Artur Jamro [ 2018-02-25 ]
Blocked by https://gerrit.sio2project.mimuw.edu.pl/#/c/2946/ (state in the moment of writing this comment: waiting for reviews).
Comment by Szymon Acedański [ 2018-10-24 ]
The mentioned change is already in. What's the status of this ticket?
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2065] Scheduler: equal priority for user, not task. Created: 2018-02-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
During some contests (for example Potyczki Algorytmiczne), competitors have unlimited number of submissions. Some could think "I won't score this problem anyway, so I'll submit a lot of submissions just to fill submission queue and make other competitors wait longer for results". Therefore, scheduler should take into account who is owner of the submissions and give equal priority for each user, not for submission.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2064] Trivia module Created: 2018-02-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Trivial
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
liveranking module provides site with real time visualisations. During last Potyczki Algorytmiczne we came up with idea of adding trivia to it (quickly hacked version here: https://www.facebook.com/potyczki/photos/pcb.1873197056041937/1873195482708761/?type=3&theater). For each, let's say 7 updates of donuts, there is one extra with full screen trivia. Trivias should be added in contest administration menu.
Consult oi-admins if you want to have access to quickly hacked version of code that provides this feature.

PS we can add some configurable options to liveranking: for how long are displayed donuts, for how long are displayed trivias, after how many donuts updates we should display trivia.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2063] File compression in filetracker Created: 2018-02-25  Updated: 2019-03-26  Resolved: 2018-05-28

Status: Closed
Project: The SIO2 project
Component/s: Filetracker
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Szkopuł filetracker's database weights a lot (hundreds of GB). After compressing it with xz (LZMA2), the size is reduced 2-4 times AFAIR.

Objective is to store files in filetracker compressed with xz.
Extra objective: compare what occupies more space - compressed file or not compressed version of same file. Some directories gain weight from hundreds of MB to some GB - what is against logic since xz header is 10-100B I guess while the disk block size should be 4 kB (maybe there were a lot of empty files?).

 Comments   
Comment by Pavel Senchanka [ 2018-05-28 ]
This was implemented in filetracker 2.x, though gzip compression was used because of its native support by HTTP clients. See SIO-2089 for some preliminary stats.




[SIO-2062] Provide a way to inspect sioworkersd queue Created: 2018-02-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Sioworkersd keeps one or more queues of tasks, and groups of tasks, etc. in its internal state, which affects how the tasks are sent to workers and how the results are sent back to the requestor.

To ease debugging and monitoring performance of sioworkersd, it's useful for admins to be able to inspect that state. There's already a manage.py command for that: `manage.py worker queue`, but it doesn't provide any useful information.

The command calls `get_queue()` method of sioworkersd RPC API, which returns `unicode(scheduler)`. However, none of the schedulers implement __unicode__ in a meaningful way.
The PrioritizingScheduler tries to stringify its queues, but they themselves don't provide a meaningful __unicode__. The FIFOScheduler seems to have its __unicode__ reference an undefined vraiable (possibly broken during refactoring), but I haven't tested it.

Another thing to consider would be displaying the sioworkersd queue information in the worker management web interface of sio2.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2061] Allow upsolving Created: 2018-01-26  Updated: 2020-04-27

Status: Reopened
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Bartosz Kostka Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: PNG File Screenshot from 2018-01-26 12.43.20.png     PNG File Screenshot from 2018-01-26 12.43.40.png     PNG File Screenshot from 2018-01-26 12.43.59.png    

 Description   
During ONTAK camps, we have to create eternal contest so participants can submit their solution after the round ends. Adding possibility to submit solutions after the contest ends would solve this problem.

I hacked something similar. There is a new field with "upsolving" score in result models. I also created a new kind of submission, but I'm not sure if this is the best approach.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.
Comment by Michalina Sidor [ 2020-04-27 ]
@kostka reports that this is still a desired feature and I agree with him about this one




[SIO-2060] Generate tests only if needed Created: 2018-01-26  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
If the package has input generator, why don't we just generate tests if someone submits a solution to this problem? The tests can be cached for example for one day or something and then removed.

We have to be sure that generator is deterministic (generate tests twice during package processing), we can also keep md5 of tests if needed.

This should solve a lot of problems with memory.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.
Comment by Michalina Sidor [ 2020-04-27 ]
@kostka reports that this is still a desired feature
Comment by Szymon Acedański [ 2020-04-27 ]
This is technically not feasible in a reasonable effort.




[SIO-2059] In the model solutions table, show also memory limit and amount of points for each test. Created: 2018-01-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Model solutions view (for example https://szkopul.edu.pl/problem/22133/models), shows only the time limit.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2058] Allow to search by problem name in the problemset Created: 2018-01-25  Updated: 2019-03-26  Resolved: 2018-10-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Searching by tag is useless in most cases.




[SIO-2057] Creating a team in admin mode is causing an error if we add membership at the same time Created: 2018-01-25  Updated: 2019-03-26  Resolved: 2018-11-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screenshot from 2018-01-25 14.51.23.png    

 Description   
Just try to add a new team and add some members at the same time.
The following error should occur:

  File "/home/rno/sio2/venv/local/lib/python2.7/site-packages/django/forms/models.py", line 411, in validate_unique
    self.instance.validate_unique(exclude=exclude)
  File "/home/rno/sio2/oioioi/oioioi/teams/models.py", line 45, in validate_unique
    team__contest=self.team.contest) \
  File "/home/rno/sio2/venv/local/lib/python2.7/site-packages/django/db/models/ fields/related_descriptors.py", line 179, in __get__
    "%s has no %s." % (self.field.model.__name__, self.field.name)
RelatedObjectDoesNotExist: Team has no contest.

When we first add a team and then try to add its members, it works.

 Comments   
Comment by Artur Puzio [ 2018-11-14 ]
I confirm the issue.
Comment by Gerrit Gerrit [ 2018-11-14 ]
Change oioioi~master~Ibc94af0778963aa5313eb759d8432eb9fc7863f2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3095

SIO-2057 Fix adding Team members on team creation

We set team.contest in save_form instead of save_mode. This makes it set
earlier in the admin form saving process, so team.contest value is set
when TeamMembership.validate_unique is called.

Change-Id: Ibc94af0778963aa5313eb759d8432eb9fc7863f2




[SIO-2056] In ACM mode problem score has red label. Created: 2018-01-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Attachments: PNG File Screenshot from 2018-01-25 14.41.33.png    

 Description   
Instead of cool colorful labels with a number of points, in ACM contests, we have the red label with time and amount of bombs. Please change color to green at least.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2055] Add support for output-only tasks Created: 2018-01-17  Updated: 2021-05-18  Resolved: 2021-05-18

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2020/21 Summer Sprint 2

Type: Improvement Priority: Minor
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
There are several problems from international olympiads that use output-only format, i.e. contestant can submit only output files for given inputs (in zip format or txt). Right now SIO does not support such tasks.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.
Comment by Michalina Sidor [ 2020-04-27 ]
@kostka reports that this is still a desired feature
Comment by Gerrit Gerrit [ 2021-04-6 ]
Change sioworkers~master~Id28318b2ae7504fde2156bc1768aa98facdfdb67, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3650

SIO-2055 Add support for output-only tasks

Adds new compiler to sioworkers called "output". This compiler moves its
source code argument further as compiled binary, then there is new code in
executors/common.py that threats executables marked as "output" in a
special way as those are from "output" compiler and should be treated as
program invocation outputs instead of real executables. This mean that
instead of running the executable it is being moved as output file.

In every of those steps environ has to be filled with proper key value
pairs used by other parts of code to investigate compilation/execution
result, even though compilation/execution haven't happened.

New code in executors/common.py mentioned before affects only task
solution evaluation. ATM checkers and ingens are being runned by blindly
executing given executable (one of the reasons why python and java code
doesn't work for those), which could theoretically create possibility
of sending a package with arbitrary executable called "???ingen.txt".
This doesn't happen either way for current version of "oioioi" as
checkers and ingens sources are being send to compilers prefixed with
"default-", and no such compiler has been introduced for "output" sources.

Checkers and ingens should probably be runned through FileRunners. This
would both make "output" executables fail as there is no FileRunner for
them and would allow interpreted languages ingens and checkers. However
such change is not a topic of this ticket, so it is not introduced with
this commit.

To test the change reinstallation of sioworkers is advisable as changes
to "setup.py" don't propagate upon file modification.

To test with oioioi, every variable in settings that refers to
compilers/programming languages has to be filled with information about
"output" language and compiler.

Change-Id: Id28318b2ae7504fde2156bc1768aa98facdfdb67
Comment by Gerrit Gerrit [ 2021-04-6 ]
Change sioworkers~master~Id28318b2ae7504fde2156bc1768aa98facdfdb67, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3650

SIO-2055 Add support for output-only tasks

Adds new compiler to sioworkers called "output". This compiler moves its
source code argument further as compiled binary, then there is new code in
executors/common.py that threats executables marked as "output" in a
special way as those are from "output" compiler and should be treated as
program invocation outputs instead of real executables. This mean that
instead of running the executable it is being moved as output file.

In every of those steps environ has to be filled with proper key value
pairs used by other parts of code to investigate compilation/execution
result, even though compilation/execution haven't happened.

New code in executors/common.py mentioned before affects only task
solution evaluation. ATM checkers and ingens are being runned by blindly
executing given executable (one of the reasons why python and java code
doesn't work for those), which could theoretically create possibility
of sending a package with arbitrary executable called "???ingen.txt".
This doesn't happen either way for current version of "oioioi" as
checkers and ingens sources are being send to compilers prefixed with
"default-", and no such compiler has been introduced for "output" sources.

Checkers and ingens should probably be runned through FileRunners. This
would both make "output" executables fail as there is no FileRunner for
them and would allow interpreted languages ingens and checkers. However
such change is not a topic of this ticket, so it is not introduced with
this commit.

To test the change reinstallation of sioworkers is advisable as changes
to "setup.py" don't propagate upon file modification.

To test with oioioi, every variable in settings that refers to
compilers/programming languages has to be filled with information about
"output" language and compiler.

Change-Id: Id28318b2ae7504fde2156bc1768aa98facdfdb67
Comment by Gerrit Gerrit [ 2021-04-6 ]
Change sioworkers~master~Id28318b2ae7504fde2156bc1768aa98facdfdb67, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3650

SIO-2055 Add support for output-only tasks

Adds new compiler to sioworkers called "output". This compiler moves its
source code argument further as compiled binary, then there is new code in
executors/common.py that threats executables marked as "output" in a
special way as those are from "output" compiler and should be treated as
program invocation outputs instead of real executables. This mean that
instead of running the executable it is being moved as output file.

In every of those steps environ has to be filled with proper key value
pairs used by other parts of code to investigate compilation/execution
result, even though compilation/execution haven't happened.

New code in executors/common.py mentioned before affects only task
solution evaluation. ATM checkers and ingens are being runned by blindly
executing given executable (one of the reasons why python and java code
doesn't work for those), which could theoretically create possibility
of sending a package with arbitrary executable called "???ingen.txt".
This doesn't happen either way for current version of "oioioi" as
checkers and ingens sources are being send to compilers prefixed with
"default-", and no such compiler has been introduced for "output" sources.

Checkers and ingens should probably be runned through FileRunners. This
would both make "output" executables fail as there is no FileRunner for
them and would allow interpreted languages ingens and checkers. However
such change is not a topic of this ticket, so it is not introduced with
this commit.

To test the change reinstallation of sioworkers is advisable as changes
to "setup.py" don't propagate upon file modification.

To test with oioioi, every variable in settings that refers to
compilers/programming languages has to be filled with information about
"output" language and compiler.

Change-Id: Id28318b2ae7504fde2156bc1768aa98facdfdb67
Comment by Gerrit Gerrit [ 2021-04-7 ]
Change sioworkers~master~Id28318b2ae7504fde2156bc1768aa98facdfdb67, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3650

SIO-2055 Add support for output-only tasks

Adds new compiler to sioworkers called "output". This compiler moves its
source code argument further as compiled binary, then there is new code in
executors/common.py that threats executables marked as "output" in a
special way as those are from "output" compiler and should be treated as
program invocation outputs instead of real executables. This mean that
instead of running the executable it is being moved as output file.

In every of those steps environ has to be filled with proper key value
pairs used by other parts of code to investigate compilation/execution
result, even though compilation/execution haven't happened.

New code in executors/common.py mentioned before affects only task
solution evaluation. ATM checkers and ingens are being runned by blindly
executing given executable (one of the reasons why python and java code
doesn't work for those), which could theoretically create possibility
of sending a package with arbitrary executable called "???ingen.txt".
This doesn't happen either way for current version of "oioioi" as
checkers and ingens sources are being send to compilers prefixed with
"default-", and no such compiler has been introduced for "output" sources.

Checkers and ingens should probably be runned through FileRunners. This
would both make "output" executables fail as there is no FileRunner for
them and would allow interpreted languages ingens and checkers. However
such change is not a topic of this ticket, so it is not introduced with
this commit.

To test the change reinstallation of sioworkers is advisable as changes
to "setup.py" don't propagate upon file modification.

To test with oioioi, every variable in settings that refers to
compilers/programming languages has to be filled with information about
"output" language and compiler.

Change-Id: Id28318b2ae7504fde2156bc1768aa98facdfdb67
Comment by Gerrit Gerrit [ 2021-04-7 ]
Change sioworkers~master~Id28318b2ae7504fde2156bc1768aa98facdfdb67, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3650

SIO-2055 Add support for output-only tasks

Adds new compiler to sioworkers called "output". This compiler moves its
source code argument further as compiled binary, then there is new code in
executors/common.py that threats executables marked as "output" in a
special way as those are from "output" compiler and should be treated as
program invocation outputs instead of real executables. This mean that
instead of running the executable it is being moved as output file.

In every of those steps environ has to be filled with proper key value
pairs used by other parts of code to investigate compilation/execution
result, even though compilation/execution haven't happened.

New code in executors/common.py mentioned before affects only task
solution evaluation. In curent version of oioioi checkers and ingens
are being runned by blindly executing given executable
(one of the reasons why python and java code doesn't work for those),
which could theoretically create possibility of sending a package with
arbitrary executable called "???ingen.txt".

This doesn't happen either way for current version of "oioioi" as
checkers and ingens sources are being send to compilers prefixed with
"default-", and no such compiler has been introduced for "output" sources.

Checkers and ingens should probably be runned through FileRunners. This
would both make "output" executables fail as there is no FileRunner for
them and would allow interpreted languages ingens and checkers. However
such change is not a topic of this ticket, so it is not introduced with
this commit.

To test the change reinstallation of sioworkers is advisable as changes
to "setup.py" don't propagate upon file modification.

To test with oioioi, every variable in settings that refers to
compilers/programming languages has to be filled with information about
"output" language and compiler.

Change-Id: Id28318b2ae7504fde2156bc1768aa98facdfdb67
Comment by Gerrit Gerrit [ 2021-04-7 ]
Change sioworkers~master~Id28318b2ae7504fde2156bc1768aa98facdfdb67, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3650

SIO-2055 Add support for output-only tasks

Adds new compiler to sioworkers called "output". This compiler moves its
source code argument further as compiled binary, then there is new code in
executors/common.py that threats executables marked as "output" in a
special way as those are from "output" compiler and should be treated as
program invocation outputs instead of real executables. This mean that
instead of running the executable it is being moved as output file.

In every of those steps environ has to be filled with proper key value
pairs used by other parts of code to investigate compilation/execution
result, even though compilation/execution haven't happened.

New code in executors/common.py mentioned before affects only task
solution evaluation. In curent version of oioioi checkers and ingens
are being runned by blindly executing given executable
(one of the reasons why python and java code doesn't work for those),
which could theoretically create possibility of sending a package with
arbitrary executable called "???ingen.txt".

This doesn't happen either way for current version of "oioioi" as
checkers and ingens sources are being send to compilers prefixed with
"default-", and no such compiler has been introduced for "output" sources.

Checkers and ingens should probably be runned through FileRunners. This
would both make "output" executables fail as there is no FileRunner for
them and would allow interpreted languages ingens and checkers. However
such change is not a topic of this ticket, so it is not introduced with
this commit.

To test the change reinstallation of sioworkers is advisable as changes
to "setup.py" don't propagate upon file modification.

To test with oioioi, every variable in settings that refers to
compilers/programming languages has to be filled with information about
"output" language and compiler.

Change-Id: Id28318b2ae7504fde2156bc1768aa98facdfdb67
Comment by Gerrit Gerrit [ 2021-04-8 ]
Change sioworkers~master~Id28318b2ae7504fde2156bc1768aa98facdfdb67, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3650

SIO-2055 Add support for output-only tasks

Adds new compiler to sioworkers called "output". This compiler moves its
source code argument further as compiled binary, then there is new code in
executors/common.py that treats executables marked as "output" in a
special way as those are from "output" compiler and should be treated as
program invocation outputs instead of real executables. This means that
instead of running the executable it is being moved as output file.

In every of those steps environ has to be filled with proper key value
pairs used by other parts of code to investigate compilation/execution
result, even though compilation/execution haven't happened.

New code in executors/common.py mentioned before affects only task
solution evaluation. In current version of oioioi checkers and ingens
are being run by blindly executing given executable
(one of the reasons why python and java code doesn't work for those),
which could theoretically create possibility of sending a package with
arbitrary executable called "???ingen.txt".

This doesn't happen either way for current version of "oioioi" as
checkers and ingens sources are being send to compilers prefixed with
"default-", and no such compiler has been introduced for "output" sources.

Checkers and ingens should probably be run through FileRunners. This
would both make "output" executables fail as there is no FileRunner for
them and would allow interpreted languages ingens and checkers. However
such change is not a topic of this ticket, so it is not introduced with
this commit.

To test the change reinstallation of sioworkers is advisable as changes
to "setup.py" don't propagate upon file modification.

To test with oioioi, every variable in settings that refers to
compilers/programming languages has to be filled with information about
"output" language and compiler.

Change-Id: Id28318b2ae7504fde2156bc1768aa98facdfdb67
Comment by Gerrit Gerrit [ 2021-04-8 ]
Change sioworkers~master~Id28318b2ae7504fde2156bc1768aa98facdfdb67, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3650

SIO-2055 Add support for output-only tasks

Adds new compiler to sioworkers called "output-only". This compiler moves its
source code argument further as compiled binary, then there is new code in
executors/common.py that treats executables marked as "output" in a
special way as those are from "output" compiler and should be treated as
program invocation outputs instead of real executables. This means that
instead of running the executable it is being moved as output file.

In every of those steps environ has to be filled with proper key value
pairs used by other parts of code to investigate compilation/execution
result, even though compilation/execution haven't happened.

New code in executors/common.py mentioned before affects only task
solution evaluation. In current version of oioioi checkers and ingens
are being run by blindly executing given executable
(one of the reasons why python and java code doesn't work for those),
which could theoretically create possibility of sending a package with
arbitrary executable called "???ingen.txt".

This doesn't happen either way for current version of "oioioi" as
checkers and ingens sources are being send to compilers prefixed with
"default-", and no such compiler has been introduced for "output" sources.

Checkers and ingens should probably be run through FileRunners. This
would both make "output" executables fail as there is no FileRunner for
them and would allow interpreted languages ingens and checkers. However
such change is not a topic of this ticket, so it is not introduced with
this commit.

To test the change reinstallation of sioworkers is advisable as changes
to "setup.py" don't propagate upon file modification.

To test with oioioi, every variable in settings that refers to
compilers/programming languages has to be filled with information about
"output" language and compiler.

Change-Id: Id28318b2ae7504fde2156bc1768aa98facdfdb67
Comment by Gerrit Gerrit [ 2021-04-8 ]
Change sioworkers~master~Id28318b2ae7504fde2156bc1768aa98facdfdb67, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3650

SIO-2055 Add support for output-only tasks

Adds new compiler to sioworkers called "output-only". This compiler moves its
source code argument further as compiled binary, then there is new code in
executors/common.py that treats executables marked as "output-only" in a
special way as those are from "output-only" compiler and should be treated as
program invocation outputs instead of real executables. This means that
instead of running the executable it is being moved as output file.

In every of those steps environ has to be filled with proper key value
pairs used by other parts of code to investigate compilation/execution
result, even though compilation/execution haven't happened.

New code in executors/common.py mentioned before affects only task
solution evaluation. In current version of oioioi checkers and ingens
are being run by blindly executing given executable
(one of the reasons why python and java code doesn't work for those),
which could theoretically create possibility of sending a package with
arbitrary executable called "???ingen.txt".

This doesn't happen either way for current version of "oioioi" as
checkers and ingens sources are being send to compilers prefixed with
"default-", and no such compiler has been introduced for "output-only" sources.

Checkers and ingens should probably be run through FileRunners. This
would both make "output-only" executables fail as there is no FileRunner for
them and would allow interpreted languages ingens and checkers. However
such change is not a topic of this ticket, so it is not introduced with
this commit.

To test the change reinstallation of sioworkers is advisable as changes
to "setup.py" don't propagate upon file modification.

To test with oioioi, every variable in settings that refers to
compilers/programming languages has to be filled with information about
"output-only" language and compiler.

Change-Id: Id28318b2ae7504fde2156bc1768aa98facdfdb67
Comment by Gerrit Gerrit [ 2021-05-10 ]
Change oioioi~master~I284b16c9bbbd7af021827abea5f08fedbf4f57f5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3704

SIO-2055 Add support for Output-only

Adds Output-only to keys in settings. Introduces new meta data key for
every language: "type". This key can be set to "main" or "extra", the
later means that the language can only be enabled by listing it on
language whitelist for certain problem. An only language of this type is
"Output-only", as it would probably be used quite rarely and enabling it
on every problem by default might confuse some users (especially
considering fact, that problem has to be prepared in special way in
order to be solvable by output-only).

Change-Id: I284b16c9bbbd7af021827abea5f08fedbf4f57f5
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~master~I284b16c9bbbd7af021827abea5f08fedbf4f57f5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3704

SIO-2055 Add support for Output-only

Adds Output-only to keys in settings. Introduces new meta data key for
every language: "type". This key can be set to "main" or "extra", the
later means that the language can only be enabled by listing it on
language whitelist for certain problem. An only language of this type is
"Output-only", as it would probably be used quite rarely and enabling it
on every problem by default might confuse some users (especially
considering fact, that problem has to be prepared in special way in
order to be solvable by output-only).

Change-Id: I284b16c9bbbd7af021827abea5f08fedbf4f57f5
Comment by Gerrit Gerrit [ 2021-05-11 ]
Change oioioi~master~I284b16c9bbbd7af021827abea5f08fedbf4f57f5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3704

SIO-2055 Add support for Output-only

Adds Output-only to keys in settings. Introduces new meta data key for
every language: "type". This key can be set to "main" or "extra", the
later means that the language can only be enabled by listing it on
language whitelist for certain problem. An only language of this type is
"Output-only", as it would probably be used quite rarely and enabling it
on every problem by default might confuse some users (especially
considering fact, that problem has to be prepared in special way in
order to be solvable by output-only).

Change-Id: I284b16c9bbbd7af021827abea5f08fedbf4f57f5
Comment by Gerrit Gerrit [ 2021-05-15 ]
Change oioioi~master~I284b16c9bbbd7af021827abea5f08fedbf4f57f5, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3704

SIO-2055 Add support for Output-only

Adds Output-only to keys in settings. Introduces new meta data key for
every language: "type". This key can be set to "main" or "extra", the
later means that the language can only be enabled by listing it on
language whitelist for certain problem. An only language of this type is
"Output-only", as it would probably be used quite rarely and enabling it
on every problem by default might confuse some users (especially
considering fact, that problem has to be prepared in special way in
order to be solvable by output-only).

Change-Id: I284b16c9bbbd7af021827abea5f08fedbf4f57f5
Comment by Gerrit Gerrit [ 2021-05-18 ]
Change oioioi~master~I284b16c9bbbd7af021827abea5f08fedbf4f57f5, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3704

SIO-2055 Add support for Output-only

Adds Output-only to keys in settings. Introduces new meta data key for
every language: "type". This key can be set to "main" or "extra", the
later means that the language can only be enabled by listing it on
language whitelist for certain problem. An only language of this type is
"Output-only", as it would probably be used quite rarely and enabling it
on every problem by default might confuse some users (especially
considering fact, that problem has to be prepared in special way in
order to be solvable by output-only).

Change-Id: I284b16c9bbbd7af021827abea5f08fedbf4f57f5




[SIO-2054] Tags in problemset could be clickable and could search other problems with that tag Created: 2017-12-13  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2053] Wrong django-compressor version in setup.py Created: 2017-12-13  Updated: 2019-03-26  Resolved: 2018-01-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Norbert Siwek

 Description   
Is <1.6
currently 2.2 works in szkopul

 Comments   
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~Id2304242d0da2ae56ac726d91eb8e30e5aef86a1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2935

(SIO-2053) Fixed compressor version in setup.py

Change-Id: Id2304242d0da2ae56ac726d91eb8e30e5aef86a1




[SIO-2052] docker: ImproperlyConfigured: Application labels aren't unique Created: 2017-12-12  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Kacper Omieliańczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: OS: Ubuntu 16.04

Attachments: Text File aaa.txt    

 Description   
Hello,
I wanted to install OIOIOI using Docker. The first command went well. During the second call (docker build -t oioioi.) The error visible in Attachment popped up (aaa.txt). What to do?
Regards.
Sorry for my English.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2051] Fix static_check errors occuring after checkers update Created: 2017-11-28  Updated: 2019-03-26  Resolved: 2018-01-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Norbert Siwek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-1705 Update packages used by static checker Closed
TAG Developer: Norbert Siwek

 Comments   
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I55c3581f241f12637e5e38804c9a9020d8478e4d, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2928

SIO-2051 Fixed pep8 static_check errors after checkers update

Change-Id: I55c3581f241f12637e5e38804c9a9020d8478e4d
Comment by Gerrit Gerrit [ 2018-01-17 ]
Change oioioi~master~I2eb1c269b20ab0c9f7413c606393107a5ba6be5b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2939

[SIO-2051] Fixed jshint errors and updated .jshintrc and .jshintignore

Change-Id: I2eb1c269b20ab0c9f7413c606393107a5ba6be5b
Comment by Gerrit Gerrit [ 2018-01-17 ]
Change oioioi~master~Id9db8ebc31c39f4b7a636b50eabbae673c1c7ab9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2940

[SIO-2051] Fixed csslint errors and added .csslintrc config file

Change-Id: Id9db8ebc31c39f4b7a636b50eabbae673c1c7ab9
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I4291751889b69b8068cb165c354a6bd4933e502a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2962

(SIO-2051) Synchronize linters configuration with the one from oioioi repo





[SIO-2050] Submission limit should be visible in submission form Created: 2017-11-28  Updated: 2019-03-26  Resolved: 2018-11-28

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Pavel Senchanka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1859 More elaborate info on test run Resolved

 Description   
Right now there is no indication of submission limit on the submission page. If a user is not aware that the limit exists, and may be pretty strict, they might send a lot of "test" submissions, and hit the limit in a short time (see SIO-1679).

It would be nice to give a simple "X attempts left" indicator on the submission page.

 Comments   
Comment by Gerrit Gerrit [ 2018-11-19 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submissions limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-19 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submissions limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-19 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submissions limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-19 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submissions limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-20 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submission limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-20 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submission limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-20 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submission limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-20 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submission limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-21 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submission limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-23 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submission limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-23 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submission limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-27 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submission limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/3102

SIO-2050 Display submission limit informations

Change-Id: Ida9c49a896dc40badd8acb3f4750b7dc9279cbe9




[SIO-2049] Differentiate colours between "OK" and "Partially OK" Created: 2017-11-28  Updated: 2020-03-3  Resolved: 2020-03-3

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Jakub Radoszewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
relates to SIO-2291 Misc. UX improvements (meta-ticket) Open
TAG Developer: Przemysław Podleśny

 Description   
When the problem grader assigns only a fraction of points for a test, it is still displayed as "OK" with green background, which could be misleading. It would be better to write "Partially OK" or just "OK" with a different bg colour (say, yellow).

I mean, when the grader outputs:
"OK
some message
50"
then the program is assigned 50% of the points. It is a different situation from the one when it gets 100% of the points but still the only difference in the display is in the footnote to the test case. Some of the contestants find this situation confusing.

 Comments   
Comment by Gerrit Gerrit [ 2018-11-27 ]
Change oioioi~master~I0e3d821621277702dabadcca9a75f6fe66355f55, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3105

SIO-2049 Differentiate colours between "OK" and "Partially OK"

Changed the colors and messages of a submission based on the score. Scores less than maximum no longer
look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I0e3d821621277702dabadcca9a75f6fe66355f55
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3107

SIO-2049 Differentiate colours between "OK" and "Partially OK" Changed the colors and messages of a submission based on the score. Scores less than maximum no longer look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3107

SIO-2049 Differentiate colours between "OK" and "Partially OK" Changed the colors and messages of a submission based on the score. Scores less than maximum no longer look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3107

SIO-2049 Differentiate colours between "OK" and "Partially OK"

Changed the colors and messages of a submission based on the score. Scores less than maximum no longer
look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3107

SIO-2049 Differentiate colours between "OK" and "Partially OK"

Changed the colors and messages of a submission based on the score. Scores less than maximum no longer
look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45
Comment by Gerrit Gerrit [ 2018-11-28 ]
Change oioioi~master~I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3107

SIO-2049 Differentiate colours between "OK" and "Partially OK"

Changed the colors and messages of a submission based on the score. Scores less than maximum no longer
look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45
Comment by Gerrit Gerrit [ 2018-11-29 ]
Change oioioi~master~I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3107

SIO-2049 Differentiate colours between "OK" and "Partially OK"

Changed the colors and messages of a submission based on the score. Scores less than maximum no longer
look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45
Comment by Gerrit Gerrit [ 2018-11-30 ]
Change oioioi~master~I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3107

SIO-2049 Differentiate colours between "OK" and "Partially OK"

Changed the colors and messages of a submission based on the score. Scores less than maximum no longer
look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45
Comment by Gerrit Gerrit [ 2018-12-5 ]
Change oioioi~master~I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3107

SIO-2049 Differentiate colours between "OK" and "Partially OK"

Changed the colors and messages of a submission based on the score. Scores less than maximum no longer
look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45
Comment by Gerrit Gerrit [ 2018-12-5 ]
Change oioioi~master~I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3107

SIO-2049 Differentiate colours between "OK" and "Partially OK"

Changed the colors and messages of a submission based on the score. Scores less than maximum no longer
look the same as the max ones.

Also introduced some cosmetic changes to color pallete and gradients.

Change-Id: I810e8be3a8ad8b7e3b8475caa1cc8282f7c66c45
Comment by Piotr Wojtczak [ 2018-12-12 ]
Scores are now distinguishable by color.
Comment by Jakub Radoszewski [ 2019-02-19 ]
Poprawka nie weszła do SIO2. Podczas II etapu XXVI OI znów mieliśmy ten problem:
https://sio2.mimuw.edu.pl/c/oi26-2/s/312295/
Comment by Jakub Radoszewski [ 2019-12-2 ]
Halo, halo, dalej tego nie ma w SIO... Teraz już XXVII OI:
https://sio2.mimuw.edu.pl/c/oi27-1/s/344306/
Comment by Michalina Sidor [ 2019-12-5 ]
To ja może rozjaśnię, o co chodzi Jakubowi:

Wynik całego submita jest już rozróżnialny, natomiast jurorom zależy też na wynikach poszczególnych testów, żeby wynik testu na 20% punktów (takie zadania się pojawiają ostatnio, że 20% punktów jest za podanie częściowego poprawnego wyniku) lub taki gdzie nastąpił liniowy spadek punktów od czasu, żeby taki test nie był tak samo zielony jak test na którym submit dostał bezdyskusyjne 100%.

Ja widzę potrzebę modyfikacji oioioi/programs/models.py:TestReport i template'a z tejże paczki który te TestReporty renderuje. Można się zainspirować pracą Piotra, która jest na masterze w commicie f8e389259eddd0e41f14f6c1a1b131a4d6e9b859. Wydaje mi się, że największą trudnością tutaj jest to, że TestReport ma integerowy test_max_score ale Score'owy score i nie wiem jak to się zachowa dla Potyczek, gdzie score dla testu jest None – to wymaga zastanowienia i dobrego rozegrania.
Comment by Gerrit Gerrit [ 2020-01-19 ]
Change oioioi~master~I195ae2a7940083b53a6d77999b03ba051436703b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3390

(SIO-2049) Test report color differentiation between "OK" and "Partially OK"

Just like with the submission color, the test reports marked as "OK"
will now be highlighted with different shades of green, depending on
the fraction of the maximum score available for the test obtained
by the submission.

Test reports without defined maximum scores will always be highlighted
according only to their status, i.e. those of them that are marked
as "OK" will always receive the default, full shade of green.

Change-Id: I195ae2a7940083b53a6d77999b03ba051436703b
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~I195ae2a7940083b53a6d77999b03ba051436703b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3390

(SIO-2049) Test report color differentiation between "OK" and "Partially OK"

Just like with the submission color, the test reports marked as "OK"
will now be highlighted with different shades of green, depending on
the fraction of the maximum score available for the test obtained
by the submission.

Test reports without defined maximum scores will always be highlighted
according only to their status, i.e. those of them that are marked
as "OK" will always receive the default, full shade of green.

Change-Id: I195ae2a7940083b53a6d77999b03ba051436703b
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~I195ae2a7940083b53a6d77999b03ba051436703b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3390

(SIO-2049) Test report color differentiation between "OK" and "Partially OK"

Just like with the submission color, the test reports marked as "OK"
will now be highlighted with different shades of green, depending on
the fraction of the maximum score available for the test obtained
by the submission.

Test reports without defined maximum scores will always be highlighted
according only to their status, i.e. those of them that are marked
as "OK" will always receive the default, full shade of green.

Change-Id: I195ae2a7940083b53a6d77999b03ba051436703b
Comment by Gerrit Gerrit [ 2020-01-28 ]
Change oioioi~master~I195ae2a7940083b53a6d77999b03ba051436703b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3390

(SIO-2049) Test report color differentiation between "OK" and "Partially OK"

Just like with the submission color, the test reports marked as "OK"
will now be highlighted with different shades of green, depending on
the fraction of the maximum score available for the test obtained
by the submission.

Test reports without defined maximum scores will always be highlighted
according only to their status, i.e. those of them that are marked
as "OK" will always receive the default, full shade of green.

Change-Id: I195ae2a7940083b53a6d77999b03ba051436703b




[SIO-2048] Allow customizing the disqualification message Created: 2017-11-28  Updated: 2021-01-25  Resolved: 2021-01-25

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2020/21 Winter Sprint

Type: Improvement Priority: Major
Reporter: Wojciech Dubiel Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag2

Sprint: TAG 2020/21 Winter Sprint

 Description   
Right now, the disqualification message says something like "By the power of the contest rules you are going to be disqualified.", and it's hardcoded. This isn't 100% accurate, as the disqualification process depends on the rules of the specific contest.

Eg. for OI, the juree would like the messageay to say "According the the Organizational Principles of the Competition, the proposition to disqualify you will be presented to the Head Comitee". On some other contests, a different message may be appropriate.

There should be a way to change this message, preferably on a per-contest basis.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.
Comment by Wojciech Dubiel [ 2020-06-11 ]
We just had this problem again during OIJ finals.
Comment by Jakub Radoszewski [ 2021-01-15 ]
And again, during the first stage of OIJ
Comment by Gerrit Gerrit [ 2021-01-19 ]
Change oioioi~master~I4851f2f052b517d10977df2aed9618e56a090d15, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3584

SIO-2048 Allow customizing the disq message

Part of the message participant sees is fixed. This part says that
participant is disqualified and can use complaint forms to plea. This is
not accurate for some competitions and so there is need for ability to
customize the message.

New part to "Advanced" section of contest config is added, where the
message can be customized. Disqualification mixins ask for this custom
message and give those to templates renderers.

Change-Id: I4851f2f052b517d10977df2aed9618e56a090d15
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~I4851f2f052b517d10977df2aed9618e56a090d15, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3584

SIO-2048 Allow customizing the disq message

Part of the message participant sees is fixed. This part says that
participant is disqualified and can use complaint forms to plea. This is
not accurate for some competitions and so there is need for ability to
customize the message.

New part to "Advanced" section of contest config is added, where the
message can be customized. Disqualification mixins ask for this custom
message and give those to templates renderers.

Change-Id: I4851f2f052b517d10977df2aed9618e56a090d15
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~I4851f2f052b517d10977df2aed9618e56a090d15, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3584

SIO-2048 Allow customizing the disq message

Part of the message participant sees is fixed. This part says that
participant is disqualified and can use complaint forms to plea. This is
not accurate for some competitions and so there is need for ability to
customize the message.

New part to "Advanced" section of contest config is added, where the
message can be customized. Disqualification mixins ask for this custom
message and give those to templates renderers.

Change-Id: I4851f2f052b517d10977df2aed9618e56a090d15
Comment by Gerrit Gerrit [ 2021-01-20 ]
Change oioioi~master~I4851f2f052b517d10977df2aed9618e56a090d15, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3584

SIO-2048 Allow customizing the disq message

Part of the message participant sees is fixed. This part says that
participant is disqualified and can use complaint forms to plea. This is
not accurate for some competitions and so there is need for ability to
customize the message.

New part to "Advanced" section of contest config is added, where the
message can be customized. Disqualification mixins ask for this custom
message and give those to templates renderers.

Change-Id: I4851f2f052b517d10977df2aed9618e56a090d15
Comment by Gerrit Gerrit [ 2021-01-21 ]
Change oioioi~master~I4851f2f052b517d10977df2aed9618e56a090d15, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3584

SIO-2048 Allow customizing the disq message

Part of the message participant sees is fixed. This part says that
participant is disqualified and can use complaint forms to plea. This is
not accurate for some competitions and so there is need for ability to
customize the message.

New part to "Advanced" section of contest config is added, where the
message can be customized. Disqualification mixins ask for this custom
message and give those to templates renderers.

Change-Id: I4851f2f052b517d10977df2aed9618e56a090d15
Comment by Gerrit Gerrit [ 2021-01-22 ]
Change oioioi~master~I4851f2f052b517d10977df2aed9618e56a090d15, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3584

SIO-2048 Allow customizing the disq message

Part of the message participant sees is fixed. This part says that
participant is disqualified and can use complaint forms to plea. This is
not accurate for some competitions and so there is need for ability to
customize the message.

New part to "Advanced" section of contest config is added, where the
message can be customized. Disqualification mixins ask for this custom
message and give those to templates renderers.

Change-Id: I4851f2f052b517d10977df2aed9618e56a090d15




[SIO-2047] Add contribution guide Created: 2017-11-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Trivial
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Add CONTRIBUTING file to repo or section to README file with our guidelines how to contribute to this project. It should prevent people from sending pull requests via GitHub.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2046] Styling: problem packages table is not fully visible Created: 2017-11-23  Updated: 2020-03-3  Resolved: 2019-12-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Olaf Łobożewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Attachments: PNG File 1_table_covered.png     PNG File 2_content_hidden.png    

 Description   
There are two issues with a visibility of a problem packages list at /c/CONTEST_NAME/admin/problems/problempackage/

1. It's partially covered by a "Filter" column if the browser window isn't wide enough (e.g. it applies to laptops with a standard 1366x768 resolution, with the window maximized).

2. And on the other hand it's width is capped at a certain value with the table's content horizontally scrollable - even though all of it could fit with no "hidden overflow" on a wide enough screen (e.g. also standard fullHD monitor)

 Comments   
Comment by Gerrit Gerrit [ 2018-06-11 ]
Change oioioi~master~Ice05881c437511549d3dc7830cec617c469fc209, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3046

(SIO-2046) Styling: problem packages table is not fully visible

There are two issues with a visibility of a problem packages list
at /c/CONTEST_NAME/admin/problems/problempackage/

1. It's partially covered by a "Filter" column if the browser
window isn't wide enough (e.g. it applies to laptops with
a standard 1366x768 resolution, with the window maximized).

2. And on the other hand it's width is capped at a certain value
with the table's content horizontally scrollable - even though
all of it could fit with no "hidden overflow" on a wide enough
screen (e.g. also standard fullHD monitor)

Change-Id: Ice05881c437511549d3dc7830cec617c469fc209
Comment by Gerrit Gerrit [ 2018-06-28 ]
Change oioioi~master~Ice05881c437511549d3dc7830cec617c469fc209, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3046

(SIO-2046) Styling: problem packages table is not fully visible

There are two issues with a visibility of a problem packages list
at /c/CONTEST_NAME/admin/problems/problempackage/

1. It's partially covered by a "Filter" column if the browser
window isn't wide enough (e.g. it applies to laptops with
a standard 1366x768 resolution, with the window maximized).

2. And on the other hand it's width is capped at a certain value
with the table's content horizontally scrollable - even though
all of it could fit with no "hidden overflow" on a wide enough
screen (e.g. also standard fullHD monitor)

Change-Id: Ice05881c437511549d3dc7830cec617c469fc209




[SIO-2045] Page not found error after deleting a contest Created: 2017-11-22  Updated: 2019-03-26  Resolved: 2018-11-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy


 Description   
If you are viewing the admin page with an active contest (so that admin site is prefixed by the contest id in the URL) and you delete that contest, you get a 404 error afterwards instead of for example being taken into proper admin page without the contest prefix.

 Comments   
Comment by Andrzej Głuszak [ 2018-11-5 ]
If you try to delete current contest by going to
http://localhost:8000/c/--CONTEST-ID--/admin/contests/contest/--CONTEST-ID--/delete/
it is deleted and the current contest is switched to the next available without a 404. However, if you delete contest from
http://localhost:8000/c/--CONTEST-ID--/admin/contests/contest/ by selecting it from the list and clicking "delete selected contests" it indeed results in a 404 error.
Comment by Gerrit Gerrit [ 2018-11-18 ]
Change oioioi~master~Ie1be299d45e883181c9e4f2ec0d80ca554685b59, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3101

SIO-2045 Page not found error after deleting a contest

Redirect to contest-unprefixed url of contests list after calling delete_selected for contests

Change-Id: Ie1be299d45e883181c9e4f2ec0d80ca554685b59
Comment by Gerrit Gerrit [ 2018-11-20 ]
Change oioioi~master~Ie1be299d45e883181c9e4f2ec0d80ca554685b59, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3101

SIO-2045 Page not found error after deleting a contest

Redirect to contest-unprefixed url of contests list after calling delete_selected for contests

Change-Id: Ie1be299d45e883181c9e4f2ec0d80ca554685b59




[SIO-2044] [Zeus/PA] Allow Zeus problem ID edition Created: 2017-11-22  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Sometimes we need to rejudge submissions, but after getting access to new Zeus instance, the problems have new IDs in Zeus system and SIO2 allows us to specify these IDs only during uploading the tasks packages, so the only way to change them later is updating them manually in database via django shell or db shell.

We can also consider if we want to allow edition of Zeus system ID. Actually it can be easily hacked out by changing appropriate Zeus IP in settings.py. But adding this field to the form shouldn't require much work after adding the first field.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2043] Create JIRA addon that sets TAG Developer value if a person from 'TAG Developer' group is assigned Created: 2017-11-22  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Trivial
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2042] Allow setting separate limit for number of testruns. Created: 2017-11-21  Updated: 2019-03-26  Resolved: 2018-02-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Pavel Senchanka

 Description   
Currently, the number of testruns a participant can submit for a particular problem is limited by the probleminstance's submission limit. The same limit is used for regular submissions.

It would be nice to be able to set a different submission limit for testruns than for normal submits.

 Comments   
Comment by Gerrit Gerrit [ 2017-11-28 ]
Change oioioi~master~I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2924

(SIO-2042) Separated test runs limit from submissions limit.

Added a new configurable property 'test_runs_limit' associated
with problem instances. This allows configuring the limit for
each problem instance individually.

The implementation required some non-trivial changes in
ProblemInstanceAdmin and ProblemInstanceController:
they now support mixins.

Change-Id: I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5
Comment by Gerrit Gerrit [ 2017-11-28 ]
Change oioioi~master~I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2924

(SIO-2042) Separated test runs limit from submissions limit.

Added a new configurable property 'test_runs_limit' associated
with problem instances. This allows configuring the limit for
each problem instance individually.

The implementation required some non-trivial changes in
ProblemInstanceAdmin and ProblemInstanceController:
they now support mixins.

Change-Id: I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5
Comment by Gerrit Gerrit [ 2017-11-28 ]
Change oioioi~master~I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2924

(SIO-2042) Separated test runs limit from submissions limit.

Added a new configurable property 'test_runs_limit' associated
with problem instances. This allows configuring the limit for
each problem instance individually.

The implementation required some non-trivial changes in
ProblemInstanceAdmin and ProblemInstanceController:
they now support mixins.

Change-Id: I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2924

(SIO-2042) Separated test runs limit from submissions limit.

Added a new configurable property 'test_runs_limit' associated
with problem instances. This allows configuring the limit for
each problem instance individually.

Change-Id: I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2924

(SIO-2042) Separated test runs limit from submissions limit.

Added a new configurable property 'test_runs_limit' associated
with problem instances. This allows configuring the limit for
each problem instance individually.

Change-Id: I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5
Comment by Gerrit Gerrit [ 2017-12-16 ]
Change oioioi~master~I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2924

(SIO-2042) Separated test runs limit from submissions limit.

Added a new configurable property 'test_runs_limit' associated
with problem instances. This allows configuring the limit for
each problem instance individually.

Change-Id: I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5
Comment by Gerrit Gerrit [ 2017-12-16 ]
Change oioioi~master~I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2924

(SIO-2042) Separated test runs limit from submissions limit.

Added a new configurable property 'test_runs_limit' associated
with problem instances. This allows configuring the limit for
each problem instance individually.

Change-Id: I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5
Comment by Gerrit Gerrit [ 2017-12-16 ]
Change oioioi~master~I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2924

(SIO-2042) Separated test runs limit from submissions limit.

Added a new configurable property 'test_runs_limit' associated
with problem instances. This allows configuring the limit for
each problem instance individually.

Change-Id: I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5
Comment by Gerrit Gerrit [ 2017-12-16 ]
Change oioioi~master~I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2924

(SIO-2042) Separated test runs limit from submissions limit.

Added a new configurable property 'test_runs_limit' associated
with problem instances. This allows configuring the limit for
each problem instance individually.

Change-Id: I91d4d4a4dfe4a15c3a1442ad9352e8a1384d34b5




[SIO-2041] When uploading problem packages .tar.gz extension fails Created: 2017-11-18  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
It's because the archive unpacking recognises archive format by file extension, but because of usage of temporary filename it's getting only the part of the extension after the last dot, so something.tar.gz is recognised as ".gz" format which is not supported.

Simple solution: use ".tgz"
Better solution: make the file format hint consider extensions with multiple parts?

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2040] [Zeus/PA] Invalid validation of allowed languages Created: 2017-11-17  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
PA contest controllers allows C and C++ while Zeus problem controller allows only C++. On submission view you see both C and C++ (since it is PA contest and some problems allows both C and C++), but there is no later check if specific problem allows chosen language what can result in accepting submission in C for Zeus problem which is wrong behavior.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2039] su to inactive account logs you out Created: 2017-11-17  Updated: 2020-03-3  Resolved: 2019-06-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1


 Description   
Sometimes you want to su as some person and usually you know his/her name. Some people have multiple accounts with some of them being inactive and you don't know which are active and which aren't. So you just pick random one and... if you have tried to su as an inactive user, you will be logged out (I also got redirection loop sometime, when trying to su on some admin pages). There's no message about what happened.

1) There should be no redirection loops
2) You should get an error that chosen user is inactive (or even exclude him/her from search result). After getting an error, you should still be logged in as you.

 Comments   
Comment by Gerrit Gerrit [ 2018-06-11 ]
Change oioioi~master~I1bd7b780023646523ba8c3615eae31f4175b63ca, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3045

(SIO-2039) su to inactive account logs you out

Sometimes you want to su as some person and usually you know his/her name.
Some people have multiple accounts with some of them being inactive and
you don't know which are active and which aren't. So you just pick random
one and... if you have tried to su as an inactive user, you will be logged
out (I also got redirection loop sometime, when trying to su on some admin
pages). There's no message about what happened.

1) There should be no redirection loops
2) You should get an error that chosen user is inactive (or even exclude
him/her from search result). After getting an error, you should still be
logged in as you.

Change-Id: I1bd7b780023646523ba8c3615eae31f4175b63ca
Comment by Gerrit Gerrit [ 2019-06-4 ]
Change oioioi~master~I1bd7b780023646523ba8c3615eae31f4175b63ca, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3045

(SIO-2039) su to inactive account logs you out

Sometimes you want to su as some person and usually you know his/her name.
Some people have multiple accounts with some of them being inactive and
you don't know which are active and which aren't. So you just pick random
one and... if you have tried to su as an inactive user, you will be logged
out (I also got redirection loop sometime, when trying to su on some admin
pages). There's no message about what happened.

1) There should be no redirection loops
2) You should get an error that chosen user is inactive (or even exclude
him/her from search result). After getting an error, you should still be
logged in as you.

Change-Id: I1bd7b780023646523ba8c3615eae31f4175b63ca




[SIO-2038] 2FA Created: 2017-11-17  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Far Future
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Add 2 factor authentication to OIOIOI - use time based tokens. Later, we can also add U2F.

Moreover, add a new setting "enforce 2fa for superadmins" to settings.py (maybe add setting for contest admins privileges and also specific option in contest settings, too). With this option enabled, superadmins have full access if and only if they have enabled 2FA. Otherwise they have privileges of regular users.

I plan to work on this when I'll get some free time. If it isn't ready before March 2018, you can just ignore this sentence or ping me :)

 Comments   
Comment by Gerrit Gerrit [ 2018-02-22 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Gerrit Gerrit [ 2018-02-22 ]
Change oioioi~master~Iff1f5fb4ef3053c7f2defee3ff26853430792e1d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2947

SIO-2038 Yubikey support for 2FA.

Change-Id: Iff1f5fb4ef3053c7f2defee3ff26853430792e1d
Comment by Gerrit Gerrit [ 2018-02-22 ]
Change oioioi~master~Iff1f5fb4ef3053c7f2defee3ff26853430792e1d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2947

SIO-2038 Yubikey support for 2FA.

Change-Id: Iff1f5fb4ef3053c7f2defee3ff26853430792e1d
Comment by Gerrit Gerrit [ 2018-02-22 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Gerrit Gerrit [ 2018-02-22 ]
Change oioioi~master~Iff1f5fb4ef3053c7f2defee3ff26853430792e1d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2947

SIO-2038 Yubikey support for 2FA.

Change-Id: Iff1f5fb4ef3053c7f2defee3ff26853430792e1d
Comment by Gerrit Gerrit [ 2018-02-22 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Gerrit Gerrit [ 2018-02-22 ]
Change oioioi~master~Iff1f5fb4ef3053c7f2defee3ff26853430792e1d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2947

SIO-2038 Yubikey support for 2FA.

Change-Id: Iff1f5fb4ef3053c7f2defee3ff26853430792e1d
Comment by Gerrit Gerrit [ 2018-02-22 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Gerrit Gerrit [ 2018-02-23 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Gerrit Gerrit [ 2018-02-23 ]
Change oioioi~master~I781daac342ec541057ab59ab94a5c48f68297363, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2953

SIO-2038 Added option to make superusers use 2FA.

Change-Id: I781daac342ec541057ab59ab94a5c48f68297363
Comment by Gerrit Gerrit [ 2018-02-23 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Gerrit Gerrit [ 2018-02-23 ]
Change oioioi~master~I781daac342ec541057ab59ab94a5c48f68297363, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2953

SIO-2038 Added option to make superusers use 2FA.

Change-Id: I781daac342ec541057ab59ab94a5c48f68297363
Comment by Gerrit Gerrit [ 2018-02-23 ]
Change oioioi~master~I781daac342ec541057ab59ab94a5c48f68297363, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2953

SIO-2038 Added option to make superusers use 2FA.

Change-Id: I781daac342ec541057ab59ab94a5c48f68297363
Comment by Gerrit Gerrit [ 2018-02-25 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Gerrit Gerrit [ 2018-02-25 ]
Change oioioi~master~I781daac342ec541057ab59ab94a5c48f68297363, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2953

SIO-2038 Added option to make superusers use 2FA.

Change-Id: I781daac342ec541057ab59ab94a5c48f68297363
Comment by Gerrit Gerrit [ 2018-03-7 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Gerrit Gerrit [ 2018-03-8 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Gerrit Gerrit [ 2018-03-15 ]
Change oioioi~master~Ied39f660dd0ba6a84b8a9249e0489beecf2513fe, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2946

SIO-2038 Basic support for 2FA.

Change-Id: Ied39f660dd0ba6a84b8a9249e0489beecf2513fe
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2037] Use of caching template loaders in production env & update of the README Created: 2017-11-15  Updated: 2019-03-26  Resolved: 2018-01-31

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Olaf Łobożewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Use caching template loaders in production environment.

This issue is associated with the 449635a2 commit - whose changes in the settings.py.template were not reflected in the README. Make sure that they're included this time

 Comments   
Comment by Gerrit Gerrit [ 2017-11-15 ]
Change oioioi~master~I8aab5af9af6981224db5c20c819ab821ae5bf3ac, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2918

SIO-2037 Use of caching template loaders

Enable caching template loaders in production environment.
Update of the README.rst referencing both changes from this commit and the 449635a2 commit.

Change-Id: I8aab5af9af6981224db5c20c819ab821ae5bf3ac
Comment by Gerrit Gerrit [ 2017-11-19 ]
Change oioioi~master~I8aab5af9af6981224db5c20c819ab821ae5bf3ac, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2918

SIO-2037 Use of caching template loaders

Enable caching template loaders in production environment.
Update of the README.rst referencing both changes from this commit and the 449635a2 commit.

Change-Id: I8aab5af9af6981224db5c20c819ab821ae5bf3ac




[SIO-2036] Table for editing tests renders improperly Created: 2017-11-15  Updated: 2019-03-26  Resolved: 2018-11-28

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Jakub Radoszewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Duplicate
duplicates SIO-2033 Tests table while editing probleminst... Closed
Relates
is related to SIO-2027 Remove leftover grappelli CSS classes Closed

 Description   
The table for editing time limits, memory limits and points of tasks does not display as a table any more, but rather as a list:

https://szkopul.edu.pl/c/laboratorium-z-asd-20172018/admin/contests/probleminstance/40433/change/

 Comments   
Comment by Szymon Acedański [ 2017-11-15 ]
Inspiration: https://gerrit.sio2project.mimuw.edu.pl/#/c/2917/
Comment by Szymon Acedański [ 2017-11-15 ]
The "Moreover, the quick edit by "Shift-Enter" no longer works." was duplicate of SIO-2029, removed from this one.
Comment by Gerrit Gerrit [ 2017-11-15 ]
Change oioioi~master~I3c59710ba3e3d18471b6441e808033dcf62ac3e4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2917

(SIO-2036) [TEMPFIX] Fix tables in test limit edition form

Use table/tr/td instead of div in grappelli-style tables in tests_inline.html
so that they look sane now that we don't have Grappelli anymore.

Change-Id: I3c59710ba3e3d18471b6441e808033dcf62ac3e4
Comment by Jakub Bartmiński [ 2018-11-6 ]
The tables seem to be left as a mix of bootstrap doing its magic on regular html table tags combined with no longer existent "grp-*" classes, which I'm assuming are from grappelli, this should probably be fixed properly.
Comment by Jakub Bartmiński [ 2018-11-6 ]
Here it was temporarily changed patched without removing the old "grp-*" classes: afa65e6c5bb3021e865e6add81abbf9d9341bd4b
Comment by Jakub Bartmiński [ 2018-11-28 ]
Fixed properly with SIO-2027 (90cc440a5a0055b2cdabc38a6a1b8c42637e7854)




[SIO-2035] Require explaining the reason when reporting a forum post. Created: 2017-11-13  Updated: 2021-01-8  Resolved: 2021-01-8

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wojciech Dubiel Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag2


 Description   
Currently, reporting a forum post takes a single click on a link next to the post.
There's also no way to provide an explanation of why the post was reported.
This makes it very easy to accidentally report some posts, while making it hard for contest admins to go through the reports and decide which ones are legitimate and which are not.

Some users (participants and juree members alike) have been complaining about this:
https://sio2.mimuw.edu.pl/c/oi25-1/forum/62/654/

One way of solving it would be to make the "report" link redirect to a form where the user could fill in the reason for reporting the post, and confirm that they indeed want to make the report. The user could also go back if they clicked on the "report" link by accident.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.
Comment by Wojciech Dubiel [ 2020-04-27 ]
This is still a problem
Comment by Jakub Niściór [ 2020-11-18 ]
It is also worth to see the content of the forum post in the deletation/reporting confirmation view.
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~Ie46f511fb72d8f09282a2df5450eee6cc3da70cf, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3550

SIO-2035 Require explaining the reason when reporting a forum post.

Delete confirmation view: showing post formatted as post, not as plain text,
Added Report confirmation, updated tests.

Change-Id: Ie46f511fb72d8f09282a2df5450eee6cc3da70cf
Comment by Gerrit Gerrit [ 2020-11-25 ]
Change oioioi~master~Ie46f511fb72d8f09282a2df5450eee6cc3da70cf, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3550

SIO-2035 Require explaining the reason when reporting a forum post.

Delete confirmation view: showing post formatted as post, not as plain text,
Added Report confirmation, updated tests.

Change-Id: Ie46f511fb72d8f09282a2df5450eee6cc3da70cf
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~Ie46f511fb72d8f09282a2df5450eee6cc3da70cf, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3550

SIO-2035 Require explaining the reason when reporting a forum post.

Delete confirmation view: showing post formatted as post, not as plain text,
Added Report confirmation, updated tests.

Change-Id: Ie46f511fb72d8f09282a2df5450eee6cc3da70cf
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~Ie46f511fb72d8f09282a2df5450eee6cc3da70cf, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3550

SIO-2035 Require explaining the reason when reporting a forum post.

Delete confirmation view: showing post formatted as post, not as plain text,
Added Report confirmation, updated tests.

Change-Id: Ie46f511fb72d8f09282a2df5450eee6cc3da70cf
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~Ie46f511fb72d8f09282a2df5450eee6cc3da70cf, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3550

SIO-2035 Require explaining the reason when reporting a forum post.

Delete confirmation view: showing post formatted as post, not as plain text,
Added Report confirmation, updated tests.

Change-Id: Ie46f511fb72d8f09282a2df5450eee6cc3da70cf
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~Ie46f511fb72d8f09282a2df5450eee6cc3da70cf, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3550

SIO-2035 Require explaining the reason when reporting a forum post.

Delete confirmation view: showing post formatted as post, not as plain text,
Added Report confirmation, updated tests.

Change-Id: Ie46f511fb72d8f09282a2df5450eee6cc3da70cf
Comment by Gerrit Gerrit [ 2020-12-16 ]
Change oioioi~master~Ie46f511fb72d8f09282a2df5450eee6cc3da70cf, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3550

SIO-2035 Require explaining the reason when reporting a forum post.

Delete confirmation view: showing post formatted as post, not as plain text,
Added Report confirmation, updated tests.

Change-Id: Ie46f511fb72d8f09282a2df5450eee6cc3da70cf




[SIO-2034] Initial tests notifications display wrong task name. Created: 2017-11-12  Updated: 2017-11-12

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Next Sprint

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Steps to reproduce:
1. Submit a solution to task A
2. Submit a solution to task B
3. Wait for the notification counter to go up
4. Open the notifications

What you should see:
"Initial result for task B is ready"
"Initial result for task A is ready"

What you actually see:
"Initial result for task B is ready"
"Initial result for task B is ready"

This was originally reported on 25th OI forum https://sio2.mimuw.edu.pl/c/oi25-1/forum/62/647/




[SIO-2033] Tests table while editing probleminstance is oriented in a wrong way Created: 2017-11-8  Updated: 2019-03-26  Resolved: 2018-11-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: easy

Issue Links:
Duplicate
is duplicated by SIO-2036 Table for editing tests renders impro... Closed
is duplicated by SIO-2121 Missing admin.css when editing proble... Closed
Relates
is related to SIO-2121 Missing admin.css when editing proble... Closed

 Description   
Table describing test properties has each row's columns laid out vertically instead of horizontally which makes the table unreadable.

Also: admin.css is not found

(On SIO both of these features work, but they don't on szkopul)

 Comments   
Comment by Jakub Bartmiński [ 2018-11-6 ]
Duplicate of SIO-2036 (sans missing admin.css), closing this one because it had less activity.
Also opened new SIO-2121 for the missing admin.css




[SIO-2032] Problemset: tags rendered as html Created: 2017-11-8  Updated: 2019-03-26  Resolved: 2017-12-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Olaf Łobożewicz

 Description   
See https://szkopul.edu.pl/c/asdlab-2016/problemset/

 Comments   
Comment by Gerrit Gerrit [ 2017-11-23 ]
Change oioioi~master~I83d7e334542b1902619b68b4f39a2fa7d85bce14, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2923

SIO-2032 Problemset: tags rendered as html

Change-Id: I83d7e334542b1902619b68b4f39a2fa7d85bce14
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~I83d7e334542b1902619b68b4f39a2fa7d85bce14, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2923

SIO-2032 Problemset: tags rendered as html

Change-Id: I83d7e334542b1902619b68b4f39a2fa7d85bce14
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~I83d7e334542b1902619b68b4f39a2fa7d85bce14, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2923

SIO-2032 Problemset: tags rendered as html

Change-Id: I83d7e334542b1902619b68b4f39a2fa7d85bce14




[SIO-2031] Styling: date filter in admin takes too much space Created: 2017-10-18  Updated: 2019-03-26  Resolved: 2017-12-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Attachments: PNG File Screen Shot 2017-10-18 at 17.02.54.png    
TAG Developer: Jakub Sieroń

 Description   
See attachment.

 Comments   
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I60d39c26394a5e5f6224a827a2b6df4ed0b642e5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2930

SIO-2031 Styling: date filter in admin takes too much space

Added CSS add-on changing display style to in-line.

Change-Id: I60d39c26394a5e5f6224a827a2b6df4ed0b642e5




[SIO-2030] Styling: z-order of filter bar in admin Created: 2017-10-18  Updated: 2019-03-26  Resolved: 2017-12-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Attachments: PNG File Screen Shot 2017-10-18 at 17.01.56.png    
TAG Developer: Olaf Łobożewicz

 Description   
See attachment.

 Comments   
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~If4c9d3929b4b7590406f36c64bad173477260e44, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2926

SIO-2030 Styling: z-order of filter bar in admin

Change-Id: If4c9d3929b4b7590406f36c64bad173477260e44
Comment by Gerrit Gerrit [ 2017-12-10 ]
Change oioioi~master~If4c9d3929b4b7590406f36c64bad173477260e44, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2926

SIO-2030 Styling: z-order of filter bar in admin

Change-Id: If4c9d3929b4b7590406f36c64bad173477260e44




[SIO-2029] Copying values using "shift+enter" in the tests view is not working anymore. Created: 2017-10-15  Updated: 2020-12-4  Resolved: 2020-10-29

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Bartosz Kostka Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Olaf Łobożewicz

 Description   
Please try to copy value using 'shift+enter' as the description says:
https://sio2.mimuw.edu.pl/c/oi25-1/admin/contests/probleminstance/2025/change/

 Comments   
Comment by Gerrit Gerrit [ 2017-11-23 ]
Change oioioi~master~I6783ee16af90d1c68b6267bbe94fc33aecaadf02, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2922

SIO-2029 Copying values using "shift+enter" in the tests view.

Change-Id: I6783ee16af90d1c68b6267bbe94fc33aecaadf02
Comment by Wojciech Dubiel [ 2020-10-29 ]
It broke again
Comment by Gerrit Gerrit [ 2020-10-29 ]
Change oioioi~master~If3dc801547a00ddfd75753a93c8a1d3d5733b706, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3548

SIO-2029 Fix shift+enter copying in test editing view

When editing test limits and scores in a probleminstance,
shift+enter is supposed to copy the value from the current field
into all subsequent fields in the same column.

It broke again, when the inputs' type changed to number,
which means jQuery's input:text selector no longer finds them.
Fix this by explicitly matching the right type of input.

Change-Id: If3dc801547a00ddfd75753a93c8a1d3d5733b706




[SIO-2028] NoReverseMatch when trying to edit schools without selecting a contest Created: 2017-10-12  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Minor
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
https://sio2.mimuw.edu.pl/admin/oi/school/ doesn't work.
https://sio2.mimuw.edu.pl/c/oi25-test/admin/oi/school/ works.

Sentry issue:
https://sentry.io/the-sio2-project/oioioi/issues/348751630/

{code}
NoReverseMatch: Reverse for 'participants_participant_changelist' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
  File "oioioi/contests/current_contest.py", line 104, in reverse
    return django_reverse(name, *args, **kwargs)
  File "oioioi/oi/models.py", line 84, in get_participants_url
    url = reverse('oioioiadmin:participants_participant_changelist')
  File "oioioi/oi/admin.py", line 28, in participants_link
    return make_html_link(instance.get_participants_url(),
...
(43 additional frame(s) were not displayed)

NoReverseMatch: Reverse for 'participants_participant_changelist' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
{code}

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2027] Remove leftover grappelli CSS classes Created: 2017-10-11  Updated: 2019-03-26  Resolved: 2018-11-28

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy

Issue Links:
Relates
relates to SIO-2036 Table for editing tests renders impro... Closed

 Description   
There are some leftover `grp-*` CSS classes from Grappelli (which we stopped using when we moved to Django 1.9), mostly in `oioioi/programs/templates/programs/admin/tests_inline.html` but also in some other files.

Some things that are usually done with special HTML tags (eg. tables) were done with divs with special `grp-*` class, which doesn't work anymore, since Grappelli is no longer present. Other parts of styling may also be broken.

I guess it'll be necessary to find out what each of those classes did, and how to replace it with something that works with bootstrap.

 Comments   
Comment by Gerrit Gerrit [ 2018-11-16 ]
Change oioioi~master~I21647976cc073dd621fefceacd4ff364b3f0eac3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3099

[SIO-2027] Remove grappelli leftovers

Replaced leftover grappelli classes with bootstrap in the two templates
that were still using them, and simplified the tests_inline template.
Also removed two leftover grappelli files, since nothing should be using
them anymore.

Change-Id: I21647976cc073dd621fefceacd4ff364b3f0eac3
Comment by Gerrit Gerrit [ 2018-11-16 ]
Change oioioi~master~I21647976cc073dd621fefceacd4ff364b3f0eac3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3099

(SIO-2027) Remove grappelli leftovers

Replaced leftover grappelli classes with bootstrap in the two templates
that were still using them, and simplified the tests_inline template.
Also removed two leftover grappelli files, since nothing should be using
them anymore, and removed a reference to grappelli from another file.

Change-Id: I21647976cc073dd621fefceacd4ff364b3f0eac3




[SIO-2026] Default INSTALLED_APPS configuration is causing errors on start Created: 2017-10-11  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Pavel Senchanka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: Arch Linux x86_64

TAG Developer: Pavel Senchanka

 Description   
Default INSTALLED_APPS configuration is missing 'oioioi.prizes' and 'oioioi.workers' modules. The latter is required for sioworkersd to run, while the former is assumed to be loaded by Celery. Both of them cause an error on starting the services.

 Comments   
Comment by Gerrit Gerrit [ 2017-10-13 ]
Change oioioi~master~I44f4beddd41df92b064bb0ade2697cd2e4edd3e2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2903

SIO-2026 Fixed default app configuration to prevent service crashes.

Added 'oioioi.workers' to the list of applications installed by default,
and made 'oioioi.prizes' Celery configuration conditional on this
app actually being installed.

Change-Id: I44f4beddd41df92b064bb0ade2697cd2e4edd3e2
Comment by Gerrit Gerrit [ 2017-10-15 ]
Change oioioi~master~I44f4beddd41df92b064bb0ade2697cd2e4edd3e2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2903

SIO-2026 Fixed default app configuration to prevent service crashes.

Added 'oioioi.workers' to the list of applications installed by default,
and made 'oioioi.prizes' Celery configuration conditional on this
app actually being installed.

Change-Id: I44f4beddd41df92b064bb0ade2697cd2e4edd3e2
Comment by Gerrit Gerrit [ 2017-10-18 ]
Change oioioi~master~I44f4beddd41df92b064bb0ade2697cd2e4edd3e2, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2903

SIO-2026 Fixed default app configuration to prevent service crashes.

Added 'oioioi.workers' to the list of applications installed by default,
and made 'oioioi.prizes' Celery configuration conditional on this
app actually being installed.

Change-Id: I44f4beddd41df92b064bb0ade2697cd2e4edd3e2
Comment by Gerrit Gerrit [ 2017-10-18 ]
Change oioioi~master~I44f4beddd41df92b064bb0ade2697cd2e4edd3e2, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2903

SIO-2026 Fixed default app configuration to prevent service crashes.

Added 'oioioi.workers' to the list of applications installed by default,
and made 'oioioi.prizes' Celery configuration conditional on this
app actually being installed.

Change-Id: I44f4beddd41df92b064bb0ade2697cd2e4edd3e2
Comment by Gerrit Gerrit [ 2017-10-18 ]
Change oioioi~master~Iba6ca4dc0539adc5fb060c015b23d57eb486e18d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2904

(SIO-2026) Fixed the `prizes` fix, now it should work.

Change-Id: Iba6ca4dc0539adc5fb060c015b23d57eb486e18d
Comment by Szymon Acedański [ 2017-11-8 ]
Please mark as Resolved if it's done.




[SIO-2025] Make RUN_LOCAL_WORKERS do what it's supposed Created: 2017-10-11  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Radosław Waśko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Radosław Waśko

 Description   
Currently the RUN_LOCAL_WORKERS in settings.py does nothing.

The goal is to add sioworkers to the supervisord.conf if it's defined.

 Comments   
Comment by Gerrit Gerrit [ 2017-10-12 ]
Change oioioi~master~Ie234b3d383ef2a8103a80d384c42a4f450c1fab1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2902

SIO-2025 Added oioioiworker to supervisord.conf template Made RUN_LOCAL_WORKERS flag in settings enable local oioioiworker.

Change-Id: Ie234b3d383ef2a8103a80d384c42a4f450c1fab1
Comment by Gerrit Gerrit [ 2017-10-15 ]
Change oioioi~master~Ie234b3d383ef2a8103a80d384c42a4f450c1fab1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2902

SIO-2025 Added oioioiworker to supervisord.conf template Made RUN_LOCAL_WORKERS flag in settings enable local oioioiworker.

Change-Id: Ie234b3d383ef2a8103a80d384c42a4f450c1fab1




[SIO-2024] szkopul.edu.pl thinks it's example.com Created: 2017-10-4  Updated: 2017-11-8  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1


 Description   
Moi uczniowie zgłaszają mi, ze na szkopul.eu.pl nie działa dobrze
odzyskiwanie hasła.
Po kliknięciu na "nie pamiętasz hasła" i wpisaniu adresu mailowego
dostają odpowiedź zwrotną:

Piszemy do Ciebie w związku z Twoją prośbą o przypomnienie
hasła do konta w OIOIOI.

Użyj poniższego odnośnika i wpisz nowe hasło:

https://example.com/password/reset/confirm/NDE1Mg/4pz-01f6e714ce6a2f720f0c/

Twój login: Lucy

Zespół example.com

Oczywiście wystarczy zamienić example.com na szkopul.edu.pl
ale moi Uczniowie nie zawsze to wiedzą.

Pozdrawiam
Joanna Śmigielska


 Comments   
Comment by Tadeusz Dudkiewicz [ 2017-10-17 ]
W bazie po aktualizacji do django 1.9 powstał model SIte. Okazało się, że ma on pola .name i .domain, które miały wartość 'example.com'. Ręcznie zmieniłem na 'szkopul.edu.pl'.
Comment by Tadeusz Dudkiewicz [ 2017-10-17 ]
Ale z tego co widzę brakuje takiej opcji w deployment/settings.py i jakiegoś ustawiania Site.object.get_current().domain na jej podstawie.




[SIO-2023] Szkopuł doesn't warn about disabled JavaScript Created: 2017-10-3  Updated: 2019-06-21

Status: Open
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Marcin Mielniczuk Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: easy


 Description   
Last year OIOIOI was said to display a big warning that it can't run without JS. Now there's no such warning.




[SIO-2022] Final scores are displayed in the Problems tab before scores reveal/round end Created: 2017-09-20  Updated: 2017-11-8  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Krzysztof Gutkowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 1
Labels: None
Environment: OIOIOI rev 97f6e92

Attachments: PNG File problems.png     PNG File roundsettings.png    

 Description   
After submitting a solution, regular, non-admin users can see the final score in the Problems tab, even though the final report isn't visible for them when showing the specific submission.

This happens in both the Simple programming contest and in the Contest for teachers, haven't checked any other.

 Comments   
Comment by Wojciech Dubiel [ 2017-10-4 ]
I've confirmed this behavior on an OI-Online type contest, IMO the severity should be critical.
Comment by Gerrit Gerrit [ 2017-10-4 ]
Change oioioi~master~Ie309cf6fbb63afefcfea49118d4d9223acb9f324, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2896

(SIO-2022) Fix scores being displayed on problem list before reveal

Change-Id: Ie309cf6fbb63afefcfea49118d4d9223acb9f324
Comment by Gerrit Gerrit [ 2017-10-4 ]
Change oioioi~master~Ie309cf6fbb63afefcfea49118d4d9223acb9f324, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2896

(SIO-2022) Fix scores being displayed on problem list before reveal

Change-Id: Ie309cf6fbb63afefcfea49118d4d9223acb9f324
Comment by Gerrit Gerrit [ 2017-10-4 ]
Change oioioi~master~Ie309cf6fbb63afefcfea49118d4d9223acb9f324, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2896

(SIO-2022) Fix scores being displayed on problem list before reveal

Change-Id: Ie309cf6fbb63afefcfea49118d4d9223acb9f324
Comment by Gerrit Gerrit [ 2017-10-4 ]
Change oioioi~master~Ie309cf6fbb63afefcfea49118d4d9223acb9f324, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2896

(SIO-2022) Fix scores being displayed on problem list before reveal

Change-Id: Ie309cf6fbb63afefcfea49118d4d9223acb9f324
Comment by Gerrit Gerrit [ 2017-10-5 ]
Change oioioi~master~Ie309cf6fbb63afefcfea49118d4d9223acb9f324, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2896

(SIO-2022) Fix scores being displayed on problem list before reveal

Change-Id: Ie309cf6fbb63afefcfea49118d4d9223acb9f324




[SIO-2021] Problem packages/submits uploaded to an ACM style contest are stuck in the evaluation queue indefinitely Created: 2017-09-20  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Krzysztof Gutkowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Debian 8 (jessie), OIOIOI rev 97f6e92, sioworkers rev 4201aea

Attachments: PNG File evalqueue.png     PNG File model.png     PNG File package.png     PNG File submission.png     PNG File submissions.png    

 Description   
After processing a problem package, the submitted model solutions are stuck in the evaluation queue. The same happens to any submit created for the previously uploaded problem.

evalmgr.log: https://pastebin.com/5GrehNQf
sioworkersd.log: https://pastebin.com/ij1DZK6C
oioioiworker.log from the evaluation worker: https://pastebin.com/u94ggGhs

Included screenshots show:
* problem package list,
* package model solutions,
* evaluation queue,
* submissions list,
* specific submission.


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2020] Contests are sometimes created with empty controller_name Created: 2017-09-19  Updated: 2020-04-27

Status: Reopened
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Sometimes when a teacher is adding a contest, the contest is created with an empty `controller_name`, which causes `controller` to be None, which causes tons of AttributeErrors on 2/3 of pages, including the main portal / landing page.

Stacktrace from a sanity check I added to diagnose this issue:

https://sentry.io/the-sio2-project/szkopul/issues/351545304/

{code}
ValueError: Tried to save contest with empty controller
  File "oioioi/contests/models.py", line 79, in save
    raise ValueError("Tried to save contest with empty controller")
  File "oioioi/contests/forms.py", line 76, in save
    instance.save()
  File "oioioi/base/admin.py", line 333, in add_view
    return model_admin.add_view(request, form_url, extra_context)
...
(12 additional frame(s) were not displayed)

ValueError: Tried to save contest with empty controller
{code}

Probable cause:
If there are no rounds specified, this code saves the contest even if it's not supposed to (commit=False):
https://github.com/sio2project/oioioi/blob/master/oioioi/contests/forms.py#L73-L82

Git blame suggests it's been there since the very beginning, I have on idea why this issue didn't appear before.

 Comments   
Comment by Szymon Acedański [ 2017-09-19 ]
Yep, this code looks sketchy.

At least this round.save():

https://github.com/sio2project/oioioi/blob/master/oioioi/contests/forms.py#L79

Will save the contest even if SimpleContestForm.save is called with commit=False and there were no rounds, as there is no way to insert the new round into the database without inserting the contest first, as there is a foreign key configured.

Maybe something changed with the upgraded version of Django.
Comment by Wojciech Dubiel [ 2017-09-19 ]
Also, the `rounds` variable there is a queryset, and when adding a new contest it will always be empty, because the function changeform_view in django/contrib/admin/options.py saves the main form (which is about Contest in this case) before it saves formsets (which are about Rounds, etc)
Comment by Wojciech Dubiel [ 2017-09-19 ]
By the way, I removed my "sanity check", because it had kind of false-positives (maybe some other code is most of the time saving the contest with proper controller name later on), and it made it impossible for teachers to add contests at all.
Comment by Szymon Acedański [ 2017-11-8 ]
The last Sentry entry is dated Sep 19, 2017 9:19:23 PM UTC. It looks like the problem has been fixed. Please reopen if you know it isn't.
Comment by Wojciech Dubiel [ 2017-11-26 ]
I put the following tempfix in `Contest.save()`, that's why the issue is no longer happening on production.

{code}
    def save(self, *args, **kwargs):
        if not self.controller_name:
            self.controller_name = 'oioioi.teachers.controllers.TeacherContestController'
        super(Contest, self).save(*args, **kwargs)
{/code}
Comment by Artur Puzio [ 2019-01-7 ]
This issue was not updated in a year. Maybe it's not "Priority: critical"?
Comment by Wojciech Dubiel [ 2019-01-7 ]
Well, we have a tempfix so I'm changing it to major.
Still, the tempfix is very szkopul-specific and the contest creation code could use some refactor anyway.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.
Comment by Wojciech Dubiel [ 2020-04-27 ]
Still no proper fix. The workaround is szkopul-specific, and not in upstream.




[SIO-2019] Tests fields in the Change problem instance view don't appear as they should Created: 2017-09-17  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Krzysztof Gutkowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Commit 97f6e92, Debian stretch/Arch Linux

Attachments: PNG File sio.png    

 Description   
Steps to reproduce:
1. Upload a package in Contest Administration > Problems.
2. After it is processed, return to the Problems section and click Edit problem on the newly uploaded package.

The tests fields should be displayed in a table, like in previous versions of OIOIOI, but instead they are shown under each other, completely unstyled.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2018] Submissions imported from main links to PL version despite ENG set Created: 2017-09-1  Updated: 2019-03-26  Resolved: 2018-10-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Submissions imported from main.edu.pl to szkopul.edu.pl sometimes links to the polish problemset and never to the english one (https://szkopul.edu.pl/portal/problemset_eng).

 Comments   
Comment by Szymon Acedański [ 2018-10-24 ]
Main.edu.pl is no longer there.




[SIO-2017] Initial raport not shown for user in tasks archive on Szkopuł Created: 2017-08-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Sometimes, one can get perfect score, without passing initial tests: https://szkopul.edu.pl/s/547597/

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2016] Add more selenium tests Created: 2017-07-22  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Improvement Priority: Minor
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: easy


 Description   
We've recently added support for selenium tests in OIOIOI. They're great for testing integration, simulating real contests, users behaviour etc.
Right now there's only few tests so it would be nice to add some more. It's also a good way to learn about OIOIOI's components!
More details here: http://oioioi.readthedocs.io/en/latest/sections/misc.html#selenium-tests.

 Comments   
Comment by Andrzej Głuszak [ 2019-01-1 ]
Wymyśliliśmy z Filipem takie scenariusze:

1. OI stress - wysyłanie ciągle submit i ranking 100 pod rząd (więcej niż jedna osoba – da się w selenium?)

2. OI typowy - są trzy problemy, osoba się loguje, ściąga pdfy, wysyła do każdego zadania rozwiązanie, przechodzi do “moich zgłoszeń”

3. Pytania i ogłoszenia - osoba się loguje, zadaje pytanie na forum, wylogowuje się

4. Przełączanie kontestu – osoba się loguje, wysyła zadanie do jednego kontestu, zmienia kontest, wysyła w drugim konteście

5. Wysyłanie pliku i wklejanie kodu - wysyłamy rozwiązanie jako plik i poprzez wklejenie do pola tekstowego

6. Problemset – wyszukujemy “babcia” w problemsecie i bierzemy pierwsze zadanie z listy znalezionych, wysyłamy rozwiązanie

7. Zmiana hasła - logujemy się, zmieniamy hasło, wylogowujemy się, logujemy się z powrotem nowym hasłem1.
Comment by Szymon Acedański [ 2019-01-3 ]
Podobają mi się te propozycje.

Drobne uwagi:

Jeśli chodzi o priorytety, to ja bym je posortował mniej więcej tak: 2, 3, 7, 5, 6, 4, 1

Ad. 1. to chyba samo selenium nie za bardzo to obsługuje, a także ciężko na podstawie wyniku testu stwierdzić, czy jest dobrze (Kiedy należałoby uznać, że test przeszedł, zważywszy na to że np. obciążenie maszyny może się mocno zmieniać?)

Ad. 2. To dodałbym tutaj lub w osobnym teście rejestrację nowego konta (a zarazem będzie też dołączenie do konkursu typu OI polegające na wypełnieniu formularza z danymi uczestnika).
Comment by Andrzej Głuszak [ 2019-01-8 ]
przydałoby się zrobić jakiś preloadowany kontest i preloadowanego użytkownika, który byłby w bazie od razu po odpaleniu dockera, bo perspektywa ręcznego dodawania ich za każdym razem (tzn. przeklikiwania się przez wszystkie formularze nawet w testach, które służą sprawdzaniu czego innego) wydaje się przyka
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2015] Directories in supervisord.conf should be wrapped in "". Created: 2017-07-5  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
In supervisord.conf there are a lot of filesystem paths passed as arguments to services like:
  -c {{ settings.FILETRACKER_CACHE_ROOT }}
or
  {{ PROJECT_DIR }}/manage.py

They should be wrapped in "" (if it does work in supervisord.conf.template) as if they contained spaces they wouldn't be treated as one argument (such behaviour could result in serious damage e.g. overwriting important files).

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2014] Translate OIOIOI Created: 2017-06-13  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Translations
Affects Version/s: TAG 2016/17 Summer Sprint 3
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I4620f1b6c7c3ba986911c8f36ad195fb40938e6f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2872

SIO-2014 Fix untranslatable split in select-contest.html

Change-Id: I4620f1b6c7c3ba986911c8f36ad195fb40938e6f
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I4620f1b6c7c3ba986911c8f36ad195fb40938e6f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2872

SIO-2014 Fix untranslatable split in select-contest.html

Change-Id: I4620f1b6c7c3ba986911c8f36ad195fb40938e6f
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2013] Update Celery documentation Created: 2017-06-12  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change oioioi~master~Ibc94897c8e3e9c588b6006de4071f68f22079320, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2878

SIO-2013 Update Celery documentation

Change-Id: Ibc94897c8e3e9c588b6006de4071f68f22079320
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change oioioi~master~Ibc94897c8e3e9c588b6006de4071f68f22079320, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2878

SIO-2013 Update Celery documentation

Change-Id: Ibc94897c8e3e9c588b6006de4071f68f22079320
Comment by Gerrit Gerrit [ 2017-06-23 ]
Change oioioi~master~Ibc94897c8e3e9c588b6006de4071f68f22079320, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2878

SIO-2013 Update Celery documentation

Change-Id: Ibc94897c8e3e9c588b6006de4071f68f22079320
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2012] mailnotifyd doesn't send e-mails on Szkopuł Created: 2017-06-2  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Even though mailnotifyd was added today to the supervisord.conf file and started, it doesn't send e-mails to subscribed users.

Looking at the Django models, they are not marked as sent:

'mail_sent': False

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2011] Automatic tests randomly fail Created: 2017-05-30  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
There's a problem in the sinolpacks tests, probably because the encoding is broken and latex can't compile it.

 Comments   
Comment by Gerrit Gerrit [ 2017-05-30 ]
Change oioioi~master~I550d850f93f8b23d0305dd8d39edafb07569b36b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2860

(SIO-2011) Convert the test_huge_package.tgz problem statement to UTF-8

Change-Id: I550d850f93f8b23d0305dd8d39edafb07569b36b
Comment by Gerrit Gerrit [ 2017-06-2 ]
Change oioioi~master~I550d850f93f8b23d0305dd8d39edafb07569b36b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2860

SIO-2011 Convert the test_huge_package.tgz problem statement to UTF-8

Change-Id: I550d850f93f8b23d0305dd8d39edafb07569b36b
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I550d850f93f8b23d0305dd8d39edafb07569b36b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2860

SIO-2011 Convert the test_huge_package.tgz problem statement to UTF-8

Change-Id: I550d850f93f8b23d0305dd8d39edafb07569b36b
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2010] Document mixins Created: 2017-05-30  Updated: 2019-03-26  Resolved: 2017-06-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 3

Type: Improvement Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I86d27e1b6e7fa6f294a36984cfb6a7e44ae97351, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2870

SIO-2010 Document mixins

Change-Id: I86d27e1b6e7fa6f294a36984cfb6a7e44ae97351
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I86d27e1b6e7fa6f294a36984cfb6a7e44ae97351, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2870

SIO-2010 Document mixins

Change-Id: I86d27e1b6e7fa6f294a36984cfb6a7e44ae97351




[SIO-2009] Document sinolpack Created: 2017-05-30  Updated: 2019-03-26  Resolved: 2017-06-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 3

Type: Improvement Priority: Minor
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/99ed6648f94cedaf3d5996e6f6f34ca734ecb637

 Comments   
Comment by Gerrit Gerrit [ 2017-06-19 ]
Change oioioi~master~I560cd1fabd80e04754619098fe062256710e6ee9, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2876

SIO-2009 Document sinolpack

Change-Id: I560cd1fabd80e04754619098fe062256710e6ee9
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change oioioi~master~I560cd1fabd80e04754619098fe062256710e6ee9, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2876

SIO-2009 Document sinolpack

Change-Id: I560cd1fabd80e04754619098fe062256710e6ee9
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change oioioi~master~I560cd1fabd80e04754619098fe062256710e6ee9, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2876

SIO-2009 Document sinolpack

Change-Id: I560cd1fabd80e04754619098fe062256710e6ee9




[SIO-2008] Document sandboxes Created: 2017-05-30  Updated: 2019-03-26  Resolved: 2017-06-22

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 3

Type: Task Priority: Minor
Reporter: Przemysław Jakub Kozłowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://gerrit.sio2project.mimuw.edu.pl/2877
https://github.com/sio2project/sioworkers/commit/4201aea3485a3d07e52d0e629f8acf4dad3758d8

 Comments   
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change sioworkers~master~I7d75d64c7a53b7680049583ff4675a6c4d06a5aa, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2877

[WIP] SIO-2008 Document sandboxes

Change-Id: I7d75d64c7a53b7680049583ff4675a6c4d06a5aa
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change sioworkers~master~I7d75d64c7a53b7680049583ff4675a6c4d06a5aa, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2877

[WIP] SIO-2008 Document sandboxes

Change-Id: I7d75d64c7a53b7680049583ff4675a6c4d06a5aa
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change sioworkers~master~I7d75d64c7a53b7680049583ff4675a6c4d06a5aa, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2877

SIO-2008 Document sandboxes

Change-Id: I7d75d64c7a53b7680049583ff4675a6c4d06a5aa




[SIO-2007] Document evaluation engine Created: 2017-05-30  Updated: 2019-03-26  Due: 2017-06-12  Resolved: 2017-06-13

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 3

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2866

SIO-2007 Document evaluation engine

Change-Id: I6fe89f3211bf1c39b55257aba24f0a9c3caa0bf9




[SIO-2006] Document contest and problem controllers Created: 2017-05-30  Updated: 2019-03-26  Resolved: 2017-06-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 3

Type: Task Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-06-10 ]
Change oioioi~master~Ib19c226349cedc9dd7053ad6640fc1087b3f4f13, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2865

SIO-2006 Document contest and problem controllers

Change-Id: Ib19c226349cedc9dd7053ad6640fc1087b3f4f13
Comment by Gerrit Gerrit [ 2017-06-11 ]
Change oioioi~master~Ib19c226349cedc9dd7053ad6640fc1087b3f4f13, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2865

SIO-2006 Document contest and problem controllers

Change-Id: Ib19c226349cedc9dd7053ad6640fc1087b3f4f13
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ib19c226349cedc9dd7053ad6640fc1087b3f4f13, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2865

SIO-2006 Document contest and problem controllers

Change-Id: Ib19c226349cedc9dd7053ad6640fc1087b3f4f13
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ib19c226349cedc9dd7053ad6640fc1087b3f4f13, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2865

SIO-2006 Document contest and problem controllers

Change-Id: Ib19c226349cedc9dd7053ad6640fc1087b3f4f13
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ib19c226349cedc9dd7053ad6640fc1087b3f4f13, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2865

SIO-2006 Document contest and problem controllers

Change-Id: Ib19c226349cedc9dd7053ad6640fc1087b3f4f13




[SIO-2005] Support new programming languages Created: 2017-05-30  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Should be easier after solving SIO-2004.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-2004] seccomp for supervising processes Created: 2017-05-30  Updated: 2019-03-26  Resolved: 2019-03-24

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Use seccomp for supervising. Do it in the right way -- it is recommended to contact oi-admins.

It will be more secure and will allow us to run any process including solutions in many programming languages (i.a. rust, python, java, ...).

 Comments   
Comment by Wojciech Dubiel [ 2018-11-7 ]
Now that we have sio2jail, I guess this can be closed?
Comment by Wojciech Dubiel [ 2019-03-24 ]
Sio2jail does exactly that.




[SIO-2003] Faster oitimetool Created: 2017-05-30  Updated: 2019-03-26  Resolved: 2019-03-5

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Consider using perf: https://perf.wiki.kernel.org/index.php/Main_Page

Problems:
- Linux only
- Counts rep asm instruction as one (current oitimetool counts number of iterations of rep instructions)
- Note: if we will count rep instruction as one, we should change statute of Polish Olympiad in Informatics

Solves/improves:
- performance (perf is faster than pin)
- we can use newer kernels (pin requires some old one)

 Comments   
Comment by Artur Puzio [ 2019-03-5 ]
This was fixed by introducing sio2jail.




[SIO-2002] Moodle-like questions page Created: 2017-05-23  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Replace current feature that allows expanding questions in-place with a new view. It should display all questions as a tree with single step of recursion (like a view with single question).

 Comments   
Comment by Gerrit Gerrit [ 2017-05-24 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 [WIP] Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-24 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 [WIP] Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-25 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 [WIP] Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-25 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 [WIP] Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-25 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 [WIP] Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-25 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 [WIP] Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 [WIP] Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 [WIP] Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-30 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf
Comment by Gerrit Gerrit [ 2017-05-30 ]
Change oioioi~master~I7206bb5593202f90194ae6ab9785aea1b11eb9bf, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2848

SIO-2002 Moodle-like questions page

Change-Id: I7206bb5593202f90194ae6ab9785aea1b11eb9bf




[SIO-2001] Message type filter for questions Created: 2017-05-23  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Suggested by users.

 Comments   
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~If1ea7184824b7930c33c7c435ee208975bb7e820, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2845

SIO-2001 Message type filter for questions

Change-Id: If1ea7184824b7930c33c7c435ee208975bb7e820
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~If1ea7184824b7930c33c7c435ee208975bb7e820, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2845

SIO-2001 Message type filter for questions

Change-Id: If1ea7184824b7930c33c7c435ee208975bb7e820
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~If1ea7184824b7930c33c7c435ee208975bb7e820, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2845

SIO-2001 Message type filter for questions

Change-Id: If1ea7184824b7930c33c7c435ee208975bb7e820




[SIO-2000] Add "Show more" button to questions section in dashboard if some questions are not displayed there. Created: 2017-05-23  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Suggested by one of users.

 Comments   
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I27f7c6350869277d34e3d9ab65cd2280202ac4d2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2838

SIO-2000 Add "Show more" button to questions section in dashboard if some questions are not displayed there.

Change-Id: I27f7c6350869277d34e3d9ab65cd2280202ac4d2
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I27f7c6350869277d34e3d9ab65cd2280202ac4d2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2838

SIO-2000 "Show more" questions button on dashboard

Change-Id: I27f7c6350869277d34e3d9ab65cd2280202ac4d2
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I27f7c6350869277d34e3d9ab65cd2280202ac4d2, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2838

SIO-2000 "Show more" questions button on dashboard

Change-Id: I27f7c6350869277d34e3d9ab65cd2280202ac4d2




[SIO-1999] Public announcements should cite question and its author Created: 2017-05-22  Updated: 2019-03-26  Resolved: 2017-05-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
Suggested by one of users.

 Comments   
Comment by Gerrit Gerrit [ 2017-05-22 ]
Change oioioi~master~I2e57479d265df323bd401abd8ea3d40bd31e17e5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2835

SIO-1999 Public announcements should cite question and its author.

Change-Id: I2e57479d265df323bd401abd8ea3d40bd31e17e5
Comment by Szymon Acedański [ 2017-05-22 ]
No, never.
To odpowiadający potrzebuje kontrolować pełną treść tego, co widać. Nawet w formularzu odpowiedzi jest przycisk respond inline.

Na OI zawodnicy czasem zadają pytania, które nie nadają się do opublikowania nawet jeśli odpowiedź się nadaje.
Comment by Artur Jamro [ 2017-05-22 ]
Masz rację. Ale jestem przez to skonfundowany. Poczekam do jutra na TAG-a, aby ustalić co dokładnie mam zrobić tak, aby nie implementować czegoś bez sensu.




[SIO-1998] Update registration-redux to newer version. Created: 2017-05-20  Updated: 2017-10-4  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Task Priority: Minor
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None


 Description   
Update of django-registration-redux changes registration syntax.

 Comments   
Comment by Gerrit Gerrit [ 2017-05-20 ]
Change oioioi~master~Ib2528d1ac31c36281dbbb3e6f60b9a1ad22afce5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2834

SIO-1998 Update registration-redux to newer version.

Change-Id: Ib2528d1ac31c36281dbbb3e6f60b9a1ad22afce5




[SIO-1997] Add selenium tests and remove gamification. Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-06-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Task Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/04c5ccae81f866258479394014dc9d408758a9b0
https://github.com/sio2project/oioioi/commit/7133f74701001711c8ee79e69bcb5f98d931ad1d

 Comments   
Comment by Gerrit Gerrit [ 2017-05-16 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-17 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-19 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-19 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-19 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-19 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-20 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-20 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-22 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-22 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-25 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Removed gamification and upgraded registration backend.

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-25 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 - [Docker] Tests fixes

Removed gamification and upgraded registration backend.

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-27 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 Remove gamification.

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-27 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-28 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-28 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 Remove gamification.

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~I283cf67aeaf9662985deef497243f9b12307fe19, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2833

SIO-1997 Remove gamification.

Change-Id: I283cf67aeaf9662985deef497243f9b12307fe19
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-05-30 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-3 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-5 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-5 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-5 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-5 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-5 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-5 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 26
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 27
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 28
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 29
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 30
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 31
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 32
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4, patchset 33
https://gerrit.sio2project.mimuw.edu.pl/2847

SIO-1997 Selenium tests

Change-Id: Ibffa6ea5ddffab84ce7b4cd650f66157b6124be4
Comment by Tadeusz Dudkiewicz [ 2017-06-17 ]
Krótka instrukcja jak należy skonfigurować testy w hudsonie (na wypadek, gdyby testy się usunęły), znajduje się w docsach:
https://docs.google.com/document/d/1wO-Vi0CbTuRPKYmV0INbAKANGHg2k8KD3gEhXiGUH5M/edit?usp=sharing




[SIO-1996] DataError in contest with long id: value too long for type character varying(100) Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-06-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Sentry: OIOIOI-H, SZKOPUL-1E

Adding attachment to contest:

INSERT INTO "contests_contestattachment" ("contest_id", "description", "content", "round_id", "pub_date") VALUES ('mistrzostwa-wydzialu-mim-2017', 'Nieoficjalny ranking po rundzie 2', 'contests/mistrzostwa-wydzialu-mim-2017/ Mistrzostwa_WMIM_w_Programowaniu_- _Klasyfikacja_generalna.pdf@1490905112', 208, NULL) RETURNING "contests_contestattachment"."id"

Generating user output for test:

System Error
...
u'out_file': u'/eval/probne-warsztaty-grupa-pod/516396/urn:uuid:9c733e15-a580-4515-a7ed-40d8a0184699-0.out@1495800830'
...

https://gerrit.sio2project.mimuw.edu.pl/2854
https://github.com/sio2project/oioioi/commit/dfae768fc81d87869d2d22ac5a962b3ff1d0d99c

https://drive.google.com/open?id=1XRU7VhEbRhdZTeDbJMe3dAE4iiQCYhhCg8DS0WguCJg


 Comments   
Comment by Gerrit Gerrit [ 2017-05-30 ]
Change oioioi~master~I0cf527b69bafaf02535acb80afb0854808e696fe, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2854

[WIP] SIO-1996 DataError in contest with long id: value too long for type character varying(100)

https://code.djangoproject.com/ticket/25866

Change-Id: I0cf527b69bafaf02535acb80afb0854808e696fe
Comment by Gerrit Gerrit [ 2017-05-30 ]
Change oioioi~master~I0cf527b69bafaf02535acb80afb0854808e696fe, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2854

SIO-1996 DataError in contest with long id: value too long for type character varying(100)

Change-Id: I0cf527b69bafaf02535acb80afb0854808e696fe
Comment by Gerrit Gerrit [ 2017-05-30 ]
Change oioioi~master~I0cf527b69bafaf02535acb80afb0854808e696fe, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2854

SIO-1996 DataError in contest with long id: value too long for type character varying(100)

Change-Id: I0cf527b69bafaf02535acb80afb0854808e696fe




[SIO-1995] Region selection list in registration edit view should contain only regions from that contest Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-06-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://gerrit.sio2project.mimuw.edu.pl/2856
https://github.com/sio2project/oioioi/commit/bb4cca41f538912a9bcec84423c89c2c0fa7f042


https://drive.google.com/open?id=1XRU7VhEbRhdZTeDbJMe3dAE4iiQCYhhCg8DS0WguCJg

 Comments   
Comment by Gerrit Gerrit [ 2017-05-30 ]
Change oioioi~master~Ia02d0dc9301f21e729ade0141eeb6dc4ac5e697d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2856

SIO-1995 Region selection list in registration edit view should contain only regions from that contest

Change-Id: Ia02d0dc9301f21e729ade0141eeb6dc4ac5e697d




[SIO-1994] System administration -> all submissions should really show all submission even when CONTEST_MODE is set to "contest_if_possible" Created: 2017-05-16  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
oioioi/contests/middleware/CurrentContestMiddleware

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1993] Sharingcli should handle 500 error returned by external service (eg. main.edu.pl) Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-05-29

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Bug Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1981 Package processing errors shouldn't b... Closed

 Description   
Sentry: SZKOPUL-D




[SIO-1992] Incorrect null checking of recalc_in_progress in is_up_to_date in Ranking Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Bug Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Sentry: SZKOPUL-N

DoesNotExist: RankingRecalc
return not self.needs_recalculation and not self.recalc_in_progress

https://gerrit.sio2project.mimuw.edu.pl/2840
https://github.com/sio2project/oioioi/commit/d5c9b804e7e8118473caeb40e402c3517b646111

https://drive.google.com/open?id=1XRU7VhEbRhdZTeDbJMe3dAE4iiQCYhhCg8DS0WguCJg

 Comments   
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I5e0ff2063996457c66759ba446646416b893be55, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2840

SIO-1992 Incorrect null checking of recalc_in_progress in is_up_to_date in Ranking

Change-Id: I5e0ff2063996457c66759ba446646416b893be55
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I5e0ff2063996457c66759ba446646416b893be55, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2840

SIO-1992 Incorrect null checking of recalc_in_progress in is_up_to_date in Ranking

Change-Id: I5e0ff2063996457c66759ba446646416b893be55




[SIO-1991] Deleting submission while using Polish language causes UnicodeDecodeError Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1743 Deleting submissions sometimes fails ... Closed
is duplicated by SIO-1743 Deleting submissions sometimes fails ... Closed

 Description   
Sentry: SZKOPUL-C
return '%s: %s' % (capfirst(opts.verbose_name),
                        force_text(obj))

https://gerrit.sio2project.mimuw.edu.pl/2837
https://github.com/sio2project/oioioi/commit/e45f55aa312dc0ed332c93d52a10b376b8810e40

https://drive.google.com/open?id=1XRU7VhEbRhdZTeDbJMe3dAE4iiQCYhhCg8DS0WguCJg

 Comments   
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~Icc74ecface0b94584d2c96db2cc32d4fd9c58733, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2837

SIO-1991 Deleting submission while using Polish language causes UnicodeDecodeError

Change-Id: Icc74ecface0b94584d2c96db2cc32d4fd9c58733




[SIO-1990] Move allowed programming languages logic from configuration to contest and problem controllers. Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-05-16 ]
Change oioioi~master~I904aafbfe10267b472d46489051d2d6761d1e963, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2830

SIO-1990 Move allowed programming languages logic from configuration to contest and problem controllers.

Change-Id: I904aafbfe10267b472d46489051d2d6761d1e963
Comment by Gerrit Gerrit [ 2017-05-16 ]
Change oioioi~master~I904aafbfe10267b472d46489051d2d6761d1e963, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2830

SIO-1990 Move allowed programming languages logic from configuration to contest and problem controllers.

Change-Id: I904aafbfe10267b472d46489051d2d6761d1e963
Comment by Gerrit Gerrit [ 2017-05-16 ]
Change oioioi~master~I904aafbfe10267b472d46489051d2d6761d1e963, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2830

SIO-1990 Move allowed programming languages logic from configuration to contest and problem controllers.

Change-Id: I904aafbfe10267b472d46489051d2d6761d1e963




[SIO-1989] IntegrityError in programs_test table Created: 2017-05-16  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-1906 IntegrityError: update or delete on t... Resolved

 Description   
Sentry: SZKOPUL-A

 Comments   
Comment by Sentry [ 2017-05-30 ]
https://sentry.io/the-sio2-project/szkopul/issues/229869377/
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1988] Analyze and eventually fix filetracker: urllib2.URLError: Name or service not known Created: 2017-05-16  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-1981 Package processing errors shouldn't b... Closed
relates to SIO-1983 While unpacking packages there might ... Closed
is related to SIO-1981 Package processing errors shouldn't b... Closed
is related to SIO-1983 While unpacking packages there might ... Closed

 Description   
Sentry: SZKOPUL-R

 Comments   
Comment by Sentry [ 2017-05-30 ]
https://sentry.io/the-sio2-project/szkopul/issues/232455650/
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1987] TransactionManagementError in portals.show_node_view Created: 2017-05-16  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Sentry: SZKOPUL-16

 Comments   
Comment by Sentry [ 2017-05-30 ]
https://sentry.io/the-sio2-project/szkopul/issues/269542128/
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1986] Equality of max scores for tests in a group should be checked when setting Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2018-01-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Anna Wiewiorowska

 Description   
Sentry: SZKOPUL-M

 Comments   
Comment by Sentry [ 2017-05-30 ]
https://sentry.io/the-sio2-project/szkopul/issues/232085353/
Comment by Radosław Waśko [ 2017-11-22 ]
Mam takie pytanie trochę z ciekawości odnośnie tego issue: wygląda na to, że wynika on z redundancji w bazie danych (każdy test ma max_score oraz group i group -> max_score).

Ostatnio na TAGu uczymy się, by unikać takich sytuacji (i np. wydzielić do tego oddzielną relację).

Domyślam się, że istnieje jednak jakiś dobry powód, dla którego takie rozwiązanie nie zostało przyjęte. Ciekawi mnie jaki jest to powód?
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~If999da84df6195bf62c90694665362e52874602b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2933

SIO-1986 Equality of max scores for tests in a group

Change-Id: If999da84df6195bf62c90694665362e52874602b
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~If999da84df6195bf62c90694665362e52874602b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2933

SIO-1986 Equality of max scores for tests in a group

Change-Id: If999da84df6195bf62c90694665362e52874602b
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~If999da84df6195bf62c90694665362e52874602b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2933

SIO-1986 Equality of max scores for tests in a group

Change-Id: If999da84df6195bf62c90694665362e52874602b
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~If999da84df6195bf62c90694665362e52874602b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2933

SIO-1986 Equality of max scores for tests in a group

Change-Id: If999da84df6195bf62c90694665362e52874602b
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~If999da84df6195bf62c90694665362e52874602b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2933

SIO-1986 Equality of max scores for tests in a group

Change-Id: If999da84df6195bf62c90694665362e52874602b
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~If999da84df6195bf62c90694665362e52874602b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2933

SIO-1986 Equality of max scores for tests in a group

Change-Id: If999da84df6195bf62c90694665362e52874602b
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~If999da84df6195bf62c90694665362e52874602b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2933

SIO-1986 Equality of max scores for tests in a group

Change-Id: If999da84df6195bf62c90694665362e52874602b




[SIO-1985] Submission removal during judging causes SubmissionDoesNotExist Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-06-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-1254 Problem reupload causes evaluating su... Closed

 Description   
Sentry: SZKOPUL-W, SZKOPUL-X, OIOIOI-C, OIOIOI-S, OIOIOI-D, OIOIOI-9, OIOIOI-A


 Comments   
Comment by Gerrit Gerrit [ 2017-05-30 ]
Change oioioi~master~I1b7aa916264dd902a43194cd89b35b3414d53be2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2859

SIO-1985 Handle Submission.DoesNotExist in evalmgr processing

Change-Id: I1b7aa916264dd902a43194cd89b35b3414d53be2
Comment by Sentry [ 2017-05-30 ]
https://sentry.io/the-sio2-project/oioioi/issues/239238812/
Comment by Gerrit Gerrit [ 2017-05-31 ]
Change oioioi~master~I1b7aa916264dd902a43194cd89b35b3414d53be2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2859

SIO-1985 Handle Submission.DoesNotExist in evalmgr processing

Change-Id: I1b7aa916264dd902a43194cd89b35b3414d53be2
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I1b7aa916264dd902a43194cd89b35b3414d53be2, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2859

SIO-1985 Handle Submission.DoesNotExist in evalmgr processing

Change-Id: I1b7aa916264dd902a43194cd89b35b3414d53be2
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I1b7aa916264dd902a43194cd89b35b3414d53be2, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2859

SIO-1985 Handle Submission.DoesNotExist in evalmgr processing

Change-Id: I1b7aa916264dd902a43194cd89b35b3414d53be2
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I1b7aa916264dd902a43194cd89b35b3414d53be2, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2859

SIO-1985 Handle Submission.DoesNotExist in evalmgr processing

Change-Id: I1b7aa916264dd902a43194cd89b35b3414d53be2
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I1b7aa916264dd902a43194cd89b35b3414d53be2, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2859

SIO-1985 Handle Submission.DoesNotExist in evalmgr processing

Change-Id: I1b7aa916264dd902a43194cd89b35b3414d53be2
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I1b7aa916264dd902a43194cd89b35b3414d53be2, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2859

SIO-1985 Handle Submission.DoesNotExist in evalmgr processing

Change-Id: I1b7aa916264dd902a43194cd89b35b3414d53be2




[SIO-1984] Mainimporter sometimes throws "max retries while login" Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-06-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Sentry: SZKOPUL-6, SZKOPUL-7




[SIO-1983] While unpacking packages there might be thrown filetracker.FiletrackerError: File exists Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-05-29

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1981 Package processing errors shouldn't b... Closed
Relates
relates to SIO-1988 Analyze and eventually fix filetracke... Resolved
is related to SIO-1988 Analyze and eventually fix filetracke... Resolved

 Description   
Sentry: SZKOPUL-K




[SIO-1982] Simultaneous downloading of sandboxes causes "Binding not existing location" error Created: 2017-05-16  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Sentry: SZKOPUL-4, OIOIOI-M, OIOIOI-K

Reproduce: restart worker while there are many submissions to check

See comments.



 Comments   
Comment by Sentry [ 2017-05-30 ]
https://sentry.io/the-sio2-project/szkopul/issues/229508686/
Comment by Przemysław Jakub Kozłowski [ 2017-05-30 ]
https://sentry.io/the-sio2-project/oioioi/issues/249244795/
Comment by Przemysław Jakub Kozłowski [ 2017-05-30 ]
https://sentry.io/the-sio2-project/oioioi/issues/249244784/
Comment by Sentry [ 2017-05-30 ]
https://sentry.io/the-sio2-project/oioioi/issues/249244784/
Comment by Przemysław Jakub Kozłowski [ 2017-06-22 ]
This is probably caused by the fact that we are deleting the '.lock' file in a sandbox directory before we start downloading the sandbox. This bug is in sandbox.py file:
            logger.info("Downloading sandbox '%s' ...", name)

            if os.path.exists(path):
                rmtree(path)
Comment by Gerrit Gerrit [ 2017-06-28 ]
Change sioworkers~master~I27b1c6397b00d923df702da28d82def6953ccf19, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2881

SIO-1982 Simultaneous downloading of sandboxes causes "Binding not existing location" error

Change-Id: I27b1c6397b00d923df702da28d82def6953ccf19
Comment by Gerrit Gerrit [ 2017-06-28 ]
Change sioworkers~master~I27b1c6397b00d923df702da28d82def6953ccf19, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2881

SIO-1982 Simultaneous downloading of sandboxes causes "Binding not existing location" error

Change-Id: I27b1c6397b00d923df702da28d82def6953ccf19
Comment by Gerrit Gerrit [ 2018-03-15 ]
Change sioworkers~master~I7d75d64c7a53b7680039582ff4675a6c4d06a5aa, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2958

SIO-1982 Fix locking around sandbox use

Change-Id: I7d75d64c7a53b7680039582ff4675a6c4d06a5aa
Comment by Gerrit Gerrit [ 2018-03-15 ]
Change sioworkers~master~I7d75d64c7a53b7680039582ff4675a6c4d06a5aa, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2958

SIO-1982 Fix locking around sandbox use

Change-Id: I7d75d64c7a53b7680039582ff4675a6c4d06a5aa
Comment by Gerrit Gerrit [ 2018-03-15 ]
Change sioworkers~master~I7d75d64c7a53b7680039582ff4675a6c4d06a5aa, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2958

SIO-1982 Fix locking around sandbox use

Change-Id: I7d75d64c7a53b7680039582ff4675a6c4d06a5aa
Comment by Gerrit Gerrit [ 2018-03-15 ]
Change sioworkers~master~I7d75d64c7a53b7680039582ff4675a6c4d06a5aa, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2958

SIO-1982 Fix locking around sandbox use

Change-Id: I7d75d64c7a53b7680039582ff4675a6c4d06a5aa
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1981] Package processing errors shouldn't be logged to Sentry Created: 2017-05-16  Updated: 2019-03-26  Resolved: 2017-06-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Bug Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-1993 Sharingcli should handle 500 error re... Closed
is duplicated by SIO-1983 While unpacking packages there might ... Closed
Relates
relates to SIO-1988 Analyze and eventually fix filetracke... Resolved
is related to SIO-1988 Analyze and eventually fix filetracke... Resolved

 Description   
 - niektóre paczki powodują keyerror renv['collected_files'] (SZKOPUL-12)
 - błąd kompilacji (SZKOPUL-B, SZKOPUL-17, SZKOPUL-11, SZKOPUL-F, SZKOPUL-J, OIOIOI-6)
 - program weryfikujący outy się wywala (?)
 - zad duży ustawiony ram (SZKOPUL-Z, OIOIOI-V)
 - utf-8 0xff w configu (SZKOPUL-15)
 - NoBackend (SZKOPUL-Y, SZKOPUL-H)
 - No such file or directory: '/tmp/tmpBcZp_X/pod/prog'; przeanalizować (SZKOPUL-Q, SZKOPUL-G)
 - Brak outu lub inu testu (SZKOPUL-S, SZKOPUL-P)
 - ProblemPackageError Unrecognized test: szag0.in (SZKOPUL-10)
 - zły format archiwum (SZKOPUL-13)
 - brak pliku index.html (SZKOPUL-V)
 - Tried to replace problem 'zaklad' with 'odcinki'. For safety, changing problem short name is not possible (SZKOPUL-T)
- "cannot execute binary file ZLE!!!" (OIOIOI-P)
- OIOIOI-Q
- "while scanning for the next token found character '\t' that cannot start any token" (OIOIOI-T)
- OIOIOI-F
- Sharingcli 500 error returned by external service (eg. main.edu.pl) (SZKOPUL-D)
- While unpacking packages there might be thrown filetracker.FiletrackerError: File exists (SZKOPUL-K)

 Comments   
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~Ie83fa532023925971f099a706602adb446e6d2dd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2852

SIO-1981 Stop logging package processing errors to Sentry

Some changes are required to be applied to the logging config:
* Define filter:
    'filters': {
        'omit_sentry': {
            '()': 'oioioi.base.utils.log.OmitSentryFilter'
        },
    }
* Add the filter to the Sentry handler:
    'sentry': {
        'level': 'ERROR',
        'filters': ['omit_sentry'],
        'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',
    }

Change-Id: Ie83fa532023925971f099a706602adb446e6d2dd
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I75e76b3bc2746d1528971b9e428b4db29c9ae72a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2862

SIO-1981 Add information about Sentry to README

Change-Id: I75e76b3bc2746d1528971b9e428b4db29c9ae72a




[SIO-1980] Support for django 1.9 Created: 2017-05-11  Updated: 2019-03-26  Resolved: 2017-06-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1887 Upgrade Django to 1.9 Closed




[SIO-1979] Migrate to bootstrap 3 with sass Created: 2017-05-9  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c
Comment by Gerrit Gerrit [ 2017-05-11 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c
Comment by Gerrit Gerrit [ 2017-05-11 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c
Comment by Gerrit Gerrit [ 2017-05-13 ]
Change oioioi~master~Ib34fc7731c225ccea030e6d23504244d6dbf8b9c, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2823

SIO-1979 Migrate to bootstrap 3 with sass

Change-Id: Ib34fc7731c225ccea030e6d23504244d6dbf8b9c




[SIO-1978] [Bootstrap 3] Liveranking app Created: 2017-05-8  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-05-8 ]
Change oioioi~bootstrap~Iaa5b2018806d39cd7be0b51eebbea6b56298009d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2817

SIO-1978 Bootstrap 3 - Revert liveranking app stylesheets

Change-Id: Iaa5b2018806d39cd7be0b51eebbea6b56298009d
Comment by Gerrit Gerrit [ 2017-05-8 ]
Change oioioi~bootstrap~Iaa5b2018806d39cd7be0b51eebbea6b56298009d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2817

SIO-1978 Bootstrap 3 - Revert liveranking app stylesheets

Change-Id: Iaa5b2018806d39cd7be0b51eebbea6b56298009d




[SIO-1976] [Bootstrap] ACM Created: 2017-05-5  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/7c275e6206b521567898ebc881cac12e47322b90

 Comments   
Comment by Gerrit Gerrit [ 2017-05-6 ]
Change oioioi~bootstrap~I4a398d31ad0185a25521b7fd9d34c07b42e18f5a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2812

SIO-1976 - [Bootstrap] ACM

Change-Id: I4a398d31ad0185a25521b7fd9d34c07b42e18f5a
Comment by Gerrit Gerrit [ 2017-05-7 ]
Change oioioi~bootstrap~I4a398d31ad0185a25521b7fd9d34c07b42e18f5a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2812

SIO-1976 - [Bootstrap] ACM

Change-Id: I4a398d31ad0185a25521b7fd9d34c07b42e18f5a




[SIO-1975] Replace filename with download name in attachments view Created: 2017-04-25  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~bootstrap~Icfeef76b7e45587ff57edb726dd7f236d517cb41, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2809

SIO-1975 Replace filename with download name in attachments view

Change-Id: Icfeef76b7e45587ff57edb726dd7f236d517cb41




[SIO-1974] [Bootstrap] Balloons Created: 2017-04-25  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/7c275e6206b521567898ebc881cac12e47322b90

 Comments   
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~bootstrap~I40f4e84bd3e2bffaa7375062fe7eefcba74c9ce6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2808

SIO-1974 - [Bootstrap] Balloons

Change-Id: I40f4e84bd3e2bffaa7375062fe7eefcba74c9ce6
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~bootstrap~I40f4e84bd3e2bffaa7375062fe7eefcba74c9ce6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2808

SIO-1974 - [Bootstrap] Balloons

Change-Id: I40f4e84bd3e2bffaa7375062fe7eefcba74c9ce6




[SIO-1973] Contests - tabs on all views not only in dashboard Created: 2017-04-25  Updated: 2019-03-26  Resolved: 2017-05-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None





[SIO-1972] Bootstrap 3 - oireports app Created: 2017-04-23  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I7f76d50c280f660437a445727fe93120c9d7c3c6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2801

SIO-1972 Bootstrap 3 - oireports app

Change-Id: I7f76d50c280f660437a445727fe93120c9d7c3c6
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I7f76d50c280f660437a445727fe93120c9d7c3c6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2801

SIO-1972 Bootstrap 3 - oireports app

Change-Id: I7f76d50c280f660437a445727fe93120c9d7c3c6
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I7f76d50c280f660437a445727fe93120c9d7c3c6, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2801

SIO-1972 Bootstrap 3 - oireports app

Change-Id: I7f76d50c280f660437a445727fe93120c9d7c3c6




[SIO-1971] [Bootstrap 3] Teams app Created: 2017-04-23  Updated: 2019-03-26  Resolved: 2017-04-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: New Feature Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~Id1cc2a62cea014a7222477b200dd7e0d13562152, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2800

SIO-1971 - [Bootstrap 3] Teams app

Change-Id: Id1cc2a62cea014a7222477b200dd7e0d13562152
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~Id1cc2a62cea014a7222477b200dd7e0d13562152, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2800

SIO-1971 - [Bootstrap 3] Teams app

Change-Id: Id1cc2a62cea014a7222477b200dd7e0d13562152
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~Id1cc2a62cea014a7222477b200dd7e0d13562152, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2800

SIO-1971 - [Bootstrap 3] Teams app

Change-Id: Id1cc2a62cea014a7222477b200dd7e0d13562152
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~Id1cc2a62cea014a7222477b200dd7e0d13562152, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2800

SIO-1971 - [Bootstrap 3] Teams app

Change-Id: Id1cc2a62cea014a7222477b200dd7e0d13562152




[SIO-1970] Team size may overflow max team size Created: 2017-04-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Reaching max team size hides message with join code but the link is still valid and allows other people to join despite exceeding the limit.

Reproduction:
Create a team and save team join link and use the join link by more than MAX_TEAM_SIZE users.


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1969] Bootstrap 3 - workers app Created: 2017-04-23  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I4eea1135d2fb1e84a39445344bf8290c679df71b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2798

SIO-1969 Bootstrap 3 - workers app

Change-Id: I4eea1135d2fb1e84a39445344bf8290c679df71b
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I4eea1135d2fb1e84a39445344bf8290c679df71b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2798

SIO-1969 Bootstrap 3 - workers app

Change-Id: I4eea1135d2fb1e84a39445344bf8290c679df71b




[SIO-1968] Bootstrap 3 - oisubmit app Created: 2017-04-23  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I2f345e47c0a9b36c5efd81cf1256b5dcf8876994, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2797

SIO-1968 Bootstrap 3 - oisubmit app

Change-Id: I2f345e47c0a9b36c5efd81cf1256b5dcf8876994




[SIO-1967] Markdown on constest dashboard Created: 2017-04-22  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Currently markdown is used in newsfeed and portals, contests uses plain HTML. It can be easily integrated in contest dashboard and replace HTML for easier use.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1966] [Bootstrap] Publicsolutions Created: 2017-04-22  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/7c275e6206b521567898ebc881cac12e47322b90

 Comments   
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I8910fd53cd5557596adb06485696836b57e8abc2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2796

SIO-1966 [Bootstrap] Publicsolutions

Change-Id: I8910fd53cd5557596adb06485696836b57e8abc2
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I8910fd53cd5557596adb06485696836b57e8abc2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2796

SIO-1966 [Bootstrap] Publicsolutions

Change-Id: I8910fd53cd5557596adb06485696836b57e8abc2
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I8910fd53cd5557596adb06485696836b57e8abc2, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2796

SIO-1966 [Bootstrap] Publicsolutions

Change-Id: I8910fd53cd5557596adb06485696836b57e8abc2
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I8910fd53cd5557596adb06485696836b57e8abc2, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2796

SIO-1966 [Bootstrap] Publicsolutions

Change-Id: I8910fd53cd5557596adb06485696836b57e8abc2




[SIO-1965] Bootstrap 3 - mailsubmit app Created: 2017-04-22  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~Ieb30b24a84f18430e817a1fb4d2795ccbad814bc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2795

SIO-1965 Bootstrap 3 - mailsubmit app

Change-Id: Ieb30b24a84f18430e817a1fb4d2795ccbad814bc
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~Ieb30b24a84f18430e817a1fb4d2795ccbad814bc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2795

SIO-1965 Bootstrap 3 - mailsubmit app

Change-Id: Ieb30b24a84f18430e817a1fb4d2795ccbad814bc
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~Ieb30b24a84f18430e817a1fb4d2795ccbad814bc, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2795

SIO-1965 Bootstrap 3 - mailsubmit app

Change-Id: Ieb30b24a84f18430e817a1fb4d2795ccbad814bc




[SIO-1964] Bootstrap 3 - complaints app Created: 2017-04-22  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I7074cfa0f2178296fa30f02395bbb1aeaad91538, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2794

SIO-1964 Bootstrap 3 - complaints app

Change-Id: I7074cfa0f2178296fa30f02395bbb1aeaad91538
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I7074cfa0f2178296fa30f02395bbb1aeaad91538, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2794

SIO-1964 Bootstrap 3 - complaints app

Change-Id: I7074cfa0f2178296fa30f02395bbb1aeaad91538
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I7074cfa0f2178296fa30f02395bbb1aeaad91538, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2794

SIO-1964 Bootstrap 3 - complaints app

Change-Id: I7074cfa0f2178296fa30f02395bbb1aeaad91538




[SIO-1963] Bootstrap 3 - scoresreveal app Created: 2017-04-22  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Blocker
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I68bcf192180868206336b61bab2bd951a7bfe9a1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2793

SIO-1963 Bootstrap 3 - scoresreveal app

Change-Id: I68bcf192180868206336b61bab2bd951a7bfe9a1
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I68bcf192180868206336b61bab2bd951a7bfe9a1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2793

SIO-1963 Bootstrap 3 - scoresreveal app

Change-Id: I68bcf192180868206336b61bab2bd951a7bfe9a1
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I68bcf192180868206336b61bab2bd951a7bfe9a1, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2793

SIO-1963 Bootstrap 3 - scoresreveal app

Change-Id: I68bcf192180868206336b61bab2bd951a7bfe9a1




[SIO-1962] Bootstrap 3 - testrun app Created: 2017-04-22  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I7d2e1ccd00a791dd1d7965334d9706218645afb3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2792

SIO-1962 Bootstrap 3 - testrun app

Change-Id: I7d2e1ccd00a791dd1d7965334d9706218645afb3
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~I7d2e1ccd00a791dd1d7965334d9706218645afb3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2792

SIO-1962 Bootstrap 3 - testrun app

Change-Id: I7d2e1ccd00a791dd1d7965334d9706218645afb3
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~I7d2e1ccd00a791dd1d7965334d9706218645afb3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2792

SIO-1962 Bootstrap 3 - testrun app

Change-Id: I7d2e1ccd00a791dd1d7965334d9706218645afb3
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~I7d2e1ccd00a791dd1d7965334d9706218645afb3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2792

SIO-1962 Bootstrap 3 - testrun app

Change-Id: I7d2e1ccd00a791dd1d7965334d9706218645afb3




[SIO-1961] Bootstrap 3 - similarsubmits app Created: 2017-04-22  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I029157e1c79756096de5b77b1cad397d5ffa6749, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2790

SIO-1961 - Bootstrap 3 - similarsubmits app

Change-Id: I029157e1c79756096de5b77b1cad397d5ffa6749
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I029157e1c79756096de5b77b1cad397d5ffa6749, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2790

SIO-1961 Bootstrap 3 - similarsubmits app

Change-Id: I029157e1c79756096de5b77b1cad397d5ffa6749
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I029157e1c79756096de5b77b1cad397d5ffa6749, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2790

SIO-1961 Bootstrap 3 - similarsubmits app

Change-Id: I029157e1c79756096de5b77b1cad397d5ffa6749
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I029157e1c79756096de5b77b1cad397d5ffa6749, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2790

SIO-1961 Bootstrap 3 - similarsubmits app

Change-Id: I029157e1c79756096de5b77b1cad397d5ffa6749
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I029157e1c79756096de5b77b1cad397d5ffa6749, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2790

SIO-1961 Bootstrap 3 - similarsubmits app

Change-Id: I029157e1c79756096de5b77b1cad397d5ffa6749




[SIO-1960] Bootstrap 3 - printing app Created: 2017-04-21  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~Ib70ffeda51a3932f14cd373248f6b1f0cf40d4b2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2789

SIO-1960 Bootstrap 3 - printing app

Change-Id: Ib70ffeda51a3932f14cd373248f6b1f0cf40d4b2
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~Ib70ffeda51a3932f14cd373248f6b1f0cf40d4b2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2789

SIO-1960 Bootstrap 3 - printing app

Change-Id: Ib70ffeda51a3932f14cd373248f6b1f0cf40d4b2




[SIO-1959] Bootstrap 3 - participants app Created: 2017-04-21  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~Ie2fd7298244f3b92a9002e22295197cb4faf689e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2788

SIO-1959 Bootstrap 3 - participants app

Change-Id: Ie2fd7298244f3b92a9002e22295197cb4faf689e




[SIO-1958] Bootstrap 3 - oi app Created: 2017-04-21  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~Idf0886308667a2202e8f865e313cc667611456ca, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2787

SIO-1958 Bootstrap 3 - oi app

Change-Id: Idf0886308667a2202e8f865e313cc667611456ca
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~Idf0886308667a2202e8f865e313cc667611456ca, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2787

SIO-1958 Bootstrap 3 - oi app

Change-Id: Idf0886308667a2202e8f865e313cc667611456ca
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~Idf0886308667a2202e8f865e313cc667611456ca, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2787

SIO-1958 Bootstrap 3 - oi app

Change-Id: Idf0886308667a2202e8f865e313cc667611456ca
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~Idf0886308667a2202e8f865e313cc667611456ca, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2787

SIO-1958 Bootstrap 3 - oi app

Change-Id: Idf0886308667a2202e8f865e313cc667611456ca
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~Idf0886308667a2202e8f865e313cc667611456ca, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2787

SIO-1958 Bootstrap 3 - oi app

Change-Id: Idf0886308667a2202e8f865e313cc667611456ca
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~Idf0886308667a2202e8f865e313cc667611456ca, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2787

SIO-1958 Bootstrap 3 - oi app

Change-Id: Idf0886308667a2202e8f865e313cc667611456ca




[SIO-1957] Bootstrap 3 - contestlogo app Created: 2017-04-21  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I7bbf9e2b2392bbb2cc34d7c5bc8a06c0c96f8458, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2786

SIO-1957 Bootstrap 3 - contestlogo app

Change-Id: I7bbf9e2b2392bbb2cc34d7c5bc8a06c0c96f8458
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I7bbf9e2b2392bbb2cc34d7c5bc8a06c0c96f8458, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2786

SIO-1957 Bootstrap 3 - contestlogo app

Change-Id: I7bbf9e2b2392bbb2cc34d7c5bc8a06c0c96f8458
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I7bbf9e2b2392bbb2cc34d7c5bc8a06c0c96f8458, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2786

SIO-1957 Bootstrap 3 - contestlogo app

Change-Id: I7bbf9e2b2392bbb2cc34d7c5bc8a06c0c96f8458
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I7bbf9e2b2392bbb2cc34d7c5bc8a06c0c96f8458, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2786

SIO-1957 Bootstrap 3 - contestlogo app

Change-Id: I7bbf9e2b2392bbb2cc34d7c5bc8a06c0c96f8458




[SIO-1956] [Bootstrap 3] Contests Created: 2017-04-19  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/7c275e6206b521567898ebc881cac12e47322b90

 Comments   
Comment by Gerrit Gerrit [ 2017-04-19 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593

Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-05-8 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-05-8 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-05-8 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-05-8 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-05-8 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-05-8 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~bootstrap~Ie73909d740deb3642d4bb2fcc9d2fd29f887d593, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2784

SIO-1956 - [Bootstrap 3] Contests

Change-Id: Ie73909d740deb3642d4bb2fcc9d2fd29f887d593




[SIO-1955] [Bootstrap 3] Newsfeed Created: 2017-04-19  Updated: 2019-03-26  Resolved: 2017-04-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-19 ]
Change oioioi~bootstrap~I779545ba09acc4dfb4924cb96ce02dada17cc87f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2780

SIO-1955 Bootstrap 3 - newsfeed

Change-Id: I779545ba09acc4dfb4924cb96ce02dada17cc87f
Comment by Gerrit Gerrit [ 2017-04-20 ]
Change oioioi~bootstrap~I779545ba09acc4dfb4924cb96ce02dada17cc87f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2780

SIO-1955 Bootstrap 3 - newsfeed

Change-Id: I779545ba09acc4dfb4924cb96ce02dada17cc87f
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I779545ba09acc4dfb4924cb96ce02dada17cc87f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2780

SIO-1955 Bootstrap 3 - newsfeed

Change-Id: I779545ba09acc4dfb4924cb96ce02dada17cc87f




[SIO-1954] [Bootstrap 3] Portals app Created: 2017-04-18  Updated: 2019-03-26  Resolved: 2017-04-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I85c19b670312e388a5df7c0ca0318649c7fadbef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2791

SIO-1954 Bootstrap 3 - portals app

Change-Id: I85c19b670312e388a5df7c0ca0318649c7fadbef
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I85c19b670312e388a5df7c0ca0318649c7fadbef, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2791

SIO-1954 Bootstrap 3 - portals app

Change-Id: I85c19b670312e388a5df7c0ca0318649c7fadbef
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I85c19b670312e388a5df7c0ca0318649c7fadbef, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2791

SIO-1954 Bootstrap 3 - portals app

Change-Id: I85c19b670312e388a5df7c0ca0318649c7fadbef
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I85c19b670312e388a5df7c0ca0318649c7fadbef, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2791

SIO-1954 Bootstrap 3 - portals app

Change-Id: I85c19b670312e388a5df7c0ca0318649c7fadbef
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I85c19b670312e388a5df7c0ca0318649c7fadbef, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2791

SIO-1954 Bootstrap 3 - portals app

Change-Id: I85c19b670312e388a5df7c0ca0318649c7fadbef
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I85c19b670312e388a5df7c0ca0318649c7fadbef, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2791

SIO-1954 Bootstrap 3 - portals app

Change-Id: I85c19b670312e388a5df7c0ca0318649c7fadbef




[SIO-1953] Update gerrit Created: 2017-04-18  Updated: 2019-03-26  Resolved: 2017-04-18

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None





[SIO-1952] Add "input contest name" when deleting contest to avoid accidental removal Created: 2017-04-18  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1951] [Bootstrap 3] Notifications App Created: 2017-04-11  Updated: 2019-03-26  Resolved: 2017-04-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Bug Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I7f2b621a89b315d69db3bc285866c49067ea915f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2775

SIO-1951 Bootstrap 3 - notifications

Change-Id: I7f2b621a89b315d69db3bc285866c49067ea915f
Comment by Gerrit Gerrit [ 2017-04-15 ]
Change I7f2b621a89b315d69db3bc285866c49067ea915f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2775

SIO-1951 Bootstrap 3 - notifications

Change-Id: I7f2b621a89b315d69db3bc285866c49067ea915f




[SIO-1950] [Bootstrap 3] Problems app Created: 2017-04-11  Updated: 2019-03-26  Resolved: 2017-04-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Bug Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I511ef8691fbd6431c426cf6be00a4715ae902831, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2768

SIO-1950 Bootstrap 3 - problems

Change-Id: I511ef8691fbd6431c426cf6be00a4715ae902831
Comment by Gerrit Gerrit [ 2017-04-12 ]
Change I511ef8691fbd6431c426cf6be00a4715ae902831, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2768

SIO-1950 Bootstrap 3 - problems

Change-Id: I511ef8691fbd6431c426cf6be00a4715ae902831
Comment by Gerrit Gerrit [ 2017-04-13 ]
Change I511ef8691fbd6431c426cf6be00a4715ae902831, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2768

SIO-1950 Bootstrap 3 - problems

Change-Id: I511ef8691fbd6431c426cf6be00a4715ae902831




[SIO-1949] Bootstrap 3 - SimpleUI Created: 2017-04-11  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I3107c571254e2da7ff0233f2f4a637c2cfa11ac1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2771

SIO-1949 Bootstrap 3 - SimpleUI

Mainly converts old SimpleUI less files to Sass.

Change-Id: I3107c571254e2da7ff0233f2f4a637c2cfa11ac1




[SIO-1948] [Bootstrap 3] Program view Created: 2017-04-10  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/7c275e6206b521567898ebc881cac12e47322b90

 Comments   
Comment by Gerrit Gerrit [ 2017-04-19 ]
Change oioioi~bootstrap~I858e5517ff8ea6c2bfea3687b8c01c5929a8eb4f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2782

SIO-1948 [Bootstrap 3] Program and contests view

Change-Id: I858e5517ff8ea6c2bfea3687b8c01c5929a8eb4f
Comment by Gerrit Gerrit [ 2017-04-19 ]
Change oioioi~bootstrap~I858e5517ff8ea6c2bfea3687b8c01c5929a8eb4f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2782

SIO-1948 [Bootstrap 3] Program and contests view

Change-Id: I858e5517ff8ea6c2bfea3687b8c01c5929a8eb4f
Comment by Gerrit Gerrit [ 2017-04-19 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~bootstrap~I77d63cd51291be7d3b8021bae72718c4c238f71f, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2783

SIO-1948 [Bootstrap 3] Program view

Change-Id: I77d63cd51291be7d3b8021bae72718c4c238f71f




[SIO-1947] [Bootstrap 3] Teachers app Created: 2017-04-10  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-10 ]
Change I9045a0712d4fd852bf8106a9808c3d06b94b4811, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2767

SIO-1947 Bootstrap 3 - Teachers app

Replaces ZeroClipboard with clipboard.js which doesn't depend on Flash

Change-Id: I9045a0712d4fd852bf8106a9808c3d06b94b4811
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I9045a0712d4fd852bf8106a9808c3d06b94b4811, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2767

SIO-1947 Bootstrap 3 - Teachers app

Replaces ZeroClipboard with clipboard.js which doesn't depend on Flash

Change-Id: I9045a0712d4fd852bf8106a9808c3d06b94b4811
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I9045a0712d4fd852bf8106a9808c3d06b94b4811, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2767

SIO-1947 Bootstrap 3 - Teachers app

Replaces ZeroClipboard with clipboard.js which doesn't depend on Flash

Change-Id: I9045a0712d4fd852bf8106a9808c3d06b94b4811




[SIO-1946] [Bootstrap 3] Timeline app Created: 2017-04-10  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-10 ]
Change I216ea7c35e20715ea4c65655194dbc8094dc740f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2765

SIO-1946 Bootstrap 3 - Timeline app

Change-Id: I216ea7c35e20715ea4c65655194dbc8094dc740f
Comment by Gerrit Gerrit [ 2017-04-10 ]
Change I216ea7c35e20715ea4c65655194dbc8094dc740f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2765

SIO-1946 Bootstrap 3 - Timeline app

Change-Id: I216ea7c35e20715ea4c65655194dbc8094dc740f
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I216ea7c35e20715ea4c65655194dbc8094dc740f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2765

SIO-1946 Bootstrap 3 - Timeline app

Change-Id: I216ea7c35e20715ea4c65655194dbc8094dc740f
Comment by Gerrit Gerrit [ 2017-04-19 ]
Change oioioi~bootstrap~I216ea7c35e20715ea4c65655194dbc8094dc740f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2765

SIO-1946 Bootstrap 3 - Timeline app

Change-Id: I216ea7c35e20715ea4c65655194dbc8094dc740f
Comment by Gerrit Gerrit [ 2017-04-20 ]
Change oioioi~bootstrap~I216ea7c35e20715ea4c65655194dbc8094dc740f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2765

SIO-1946 Bootstrap 3 - Timeline app

Change-Id: I216ea7c35e20715ea4c65655194dbc8094dc740f




[SIO-1945] [Bootstrap 3] Forum view Created: 2017-04-9  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/7c275e6206b521567898ebc881cac12e47322b90

 Comments   
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2764

SIO-1945 [Bootstrap 3] Forum view

Change-Id: Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2764

SIO-1945 [Bootstrap 3] Forum view

Change-Id: Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2764

SIO-1945 [Bootstrap 3] Forum view

Change-Id: Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2764

SIO-1945 [Bootstrap 3] Forum view

Change-Id: Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2764

SIO-1945 [Bootstrap 3] Forum view

Change-Id: Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67
Comment by Gerrit Gerrit [ 2017-04-10 ]
Change Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2764

SIO-1945 [Bootstrap 3] Forum view

Change-Id: Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67
Comment by Gerrit Gerrit [ 2017-04-10 ]
Change Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2764

SIO-1945 [Bootstrap 3] Forum view

Change-Id: Ie7f4a8dbe772d9d424aa0bc6c70993b97e874d67




[SIO-1944] [Bootstrap 3] Workers view Created: 2017-04-8  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-8 ]
Change I86d8f95837e3f2ef3f87cd580791575bfd0fed28, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2762

SIO-1944 Bootstrap 3 - Workers view

Change-Id: I86d8f95837e3f2ef3f87cd580791575bfd0fed28
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I86d8f95837e3f2ef3f87cd580791575bfd0fed28, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2762

SIO-1944 Bootstrap 3 - Workers view

Change-Id: I86d8f95837e3f2ef3f87cd580791575bfd0fed28
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I86d8f95837e3f2ef3f87cd580791575bfd0fed28, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2762

SIO-1944 Bootstrap 3 - Workers view

Change-Id: I86d8f95837e3f2ef3f87cd580791575bfd0fed28




[SIO-1943] [Bootstrap 3] Maintenance view Created: 2017-04-8  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/7c275e6206b521567898ebc881cac12e47322b90

 Comments   
Comment by Gerrit Gerrit [ 2017-04-8 ]
Change Iaa4f4e999bd813b93fcb181e9a1df874952afb33, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2761

SIO-1943 [Bootstrap 3] Maintenance view

Change-Id: Iaa4f4e999bd813b93fcb181e9a1df874952afb33
Comment by Gerrit Gerrit [ 2017-04-8 ]
Change Iaa4f4e999bd813b93fcb181e9a1df874952afb33, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2761

SIO-1943 [Bootstrap 3] Maintenance view

Change-Id: Iaa4f4e999bd813b93fcb181e9a1df874952afb33
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I76c2a98a134a98cb22e5078bb851f35e08f0324b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2785

SIO-1943 [Bootstrap 3] Maintenance view

Change-Id: I76c2a98a134a98cb22e5078bb851f35e08f0324b
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I76c2a98a134a98cb22e5078bb851f35e08f0324b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2785

SIO-1943 [Bootstrap 3] Maintenance view

Change-Id: I76c2a98a134a98cb22e5078bb851f35e08f0324b
Comment by Gerrit Gerrit [ 2017-04-22 ]
Change oioioi~bootstrap~I76c2a98a134a98cb22e5078bb851f35e08f0324b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2785

SIO-1943 [Bootstrap 3] Maintenance view

Change-Id: I76c2a98a134a98cb22e5078bb851f35e08f0324b




[SIO-1942] [Bootstrap 3] Questions app overhaul Created: 2017-04-7  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change I653d4f93864c2547914dffd93e3b67c5c80d96f2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2760

SIO-1942 Bootstrap 3 - questions app overhaul

Change-Id: I653d4f93864c2547914dffd93e3b67c5c80d96f2
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change I653d4f93864c2547914dffd93e3b67c5c80d96f2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2760

SIO-1942 Bootstrap 3 - questions app overhaul

Change-Id: I653d4f93864c2547914dffd93e3b67c5c80d96f2
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change I653d4f93864c2547914dffd93e3b67c5c80d96f2, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2760

SIO-1942 Bootstrap 3 - questions app overhaul

Change-Id: I653d4f93864c2547914dffd93e3b67c5c80d96f2
Comment by Gerrit Gerrit [ 2017-04-8 ]
Change I653d4f93864c2547914dffd93e3b67c5c80d96f2, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2760

SIO-1942 Bootstrap 3 - questions app overhaul

Change-Id: I653d4f93864c2547914dffd93e3b67c5c80d96f2
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change I653d4f93864c2547914dffd93e3b67c5c80d96f2, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2760

SIO-1942 Bootstrap 3 - questions app overhaul

Change-Id: I653d4f93864c2547914dffd93e3b67c5c80d96f2
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I653d4f93864c2547914dffd93e3b67c5c80d96f2, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2760

SIO-1942 Bootstrap 3 - questions app overhaul

Change-Id: I653d4f93864c2547914dffd93e3b67c5c80d96f2
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I653d4f93864c2547914dffd93e3b67c5c80d96f2, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2760

SIO-1942 Bootstrap 3 - questions app overhaul

Change-Id: I653d4f93864c2547914dffd93e3b67c5c80d96f2




[SIO-1941] Generating empty tests Created: 2017-04-5  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Bug Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Sometimes outgen is not generating tests (outs are empty). Please compare with https://szkopul.edu.pl/admin/problems/mainprobleminstance/44179/change/
It might be related with some memory or stack limit.

 Comments   
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change oioioi~master~I19c24ccc3ecb3f3468a99529c6bf13e50674b037, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2969

(SIO-1941) Generating empty tests

It turned out that memory and time limits were not set while generating
outs. It resulted in segfaulting the benchmark program and producing
empty tests. This change should fix it.

Change-Id: I19c24ccc3ecb3f3468a99529c6bf13e50674b037
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change oioioi~master~I19c24ccc3ecb3f3468a99529c6bf13e50674b037, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2969

(SIO-1941) Generating empty tests

It turned out that memory and time limits were not set while generating
outs. It resulted in segfaulting the benchmark program and producing
empty tests overriding any existing sample outputs. This should fix it.

Change-Id: I19c24ccc3ecb3f3468a99529c6bf13e50674b037




[SIO-1940] [Bootstrap 3] Migrate ranking view Created: 2017-04-4  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/7c275e6206b521567898ebc881cac12e47322b90

 Comments   
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I29d42608fc954ef14a1f7a449523a542917bd413, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I29d42608fc954ef14a1f7a449523a542917bd413, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-14 ]
Change I29d42608fc954ef14a1f7a449523a542917bd413, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-14 ]
Change I29d42608fc954ef14a1f7a449523a542917bd413, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-20 ]
Change oioioi~bootstrap~I29d42608fc954ef14a1f7a449523a542917bd413, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-20 ]
Change oioioi~bootstrap~I29d42608fc954ef14a1f7a449523a542917bd413, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I29d42608fc954ef14a1f7a449523a542917bd413, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I29d42608fc954ef14a1f7a449523a542917bd413, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I29d42608fc954ef14a1f7a449523a542917bd413, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I29d42608fc954ef14a1f7a449523a542917bd413, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~bootstrap~I29d42608fc954ef14a1f7a449523a542917bd413, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2749

SIO-1940 [Bootstrap 3] Migrate ranking view

Change-Id: I29d42608fc954ef14a1f7a449523a542917bd413




[SIO-1939] [Bootstrap 3] Sharing cli app Created: 2017-04-4  Updated: 2019-03-26  Resolved: 2017-04-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: New Feature Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change Id428120b5cfcf270ce81fa646c2db0fef210a2e2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2744

SIO-1939 Bootstrap3 - sharingcli app

Change-Id: Id428120b5cfcf270ce81fa646c2db0fef210a2e2




[SIO-1938] [Bootstrap 3] Status app Created: 2017-04-4  Updated: 2019-03-26  Resolved: 2017-04-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: New Feature Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change Ie48381184255e8cad49e12ecab9b17e54b8380ed, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2743

SIO-1938 Bootstrap3 - status app

Change-Id: Ie48381184255e8cad49e12ecab9b17e54b8380ed
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change Ie48381184255e8cad49e12ecab9b17e54b8380ed, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2743

SIO-1938 Bootstrap3 - status app

Change-Id: Ie48381184255e8cad49e12ecab9b17e54b8380ed
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change Ie48381184255e8cad49e12ecab9b17e54b8380ed, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2743

SIO-1938 Bootstrap3 - status app

Change-Id: Ie48381184255e8cad49e12ecab9b17e54b8380ed




[SIO-1937] [Bootstrap 3] Dashboard Created: 2017-04-4  Updated: 2019-03-26  Resolved: 2017-04-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: New Feature Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Change dashboard app to work with bootstrap 3 and look nice

 Comments   
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I96d7ebb17c1e18bcded35a95de017f0ef63a939e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2742

[SIO-1937] Bootstrap3 - dashboard

Change-Id: I96d7ebb17c1e18bcded35a95de017f0ef63a939e
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I96d7ebb17c1e18bcded35a95de017f0ef63a939e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2742

SIO-1937 Bootstrap3 - dashboard

Change-Id: I96d7ebb17c1e18bcded35a95de017f0ef63a939e
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I96d7ebb17c1e18bcded35a95de017f0ef63a939e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2742

SIO-1937 Bootstrap3 - dashboard

Change-Id: I96d7ebb17c1e18bcded35a95de017f0ef63a939e
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I96d7ebb17c1e18bcded35a95de017f0ef63a939e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2742

SIO-1937 Bootstrap3 - dashboard

Change-Id: I96d7ebb17c1e18bcded35a95de017f0ef63a939e
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I96d7ebb17c1e18bcded35a95de017f0ef63a939e, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2742

SIO-1937 Bootstrap3 - dashboard

Change-Id: I96d7ebb17c1e18bcded35a95de017f0ef63a939e




[SIO-1936] [Bootstrap 3] Add flags in header to change language Created: 2017-04-4  Updated: 2019-03-26  Resolved: 2017-04-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: New Feature Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Additionally style classes .oioioi-navbar--admin-su and .oioioi-navbar--admin-time




[SIO-1935] Stop supporting sinol makefiles Created: 2017-03-29  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 1
Labels: None


 Description   
Sinol makefiles have been the first way to process package before moving that to workers. Now, it would be better if we just abandon sinol makefiles, describe one "API" for problem packages* and support only it.
* that one with sandboxes and workers.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1934] Global judging time results for problems Created: 2017-03-29  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Problem:
Upload a problem package. It will be judged with, let's say, cpu. Create contest which requires problems to be judged with vcpu. How do you set time limits for that contest without results of reference program (pol. wzorcówka) judged with vcpu?
We have global judging time results, so if you rejudge that problem, then the new results will overwrite the original ones.

Simple solution (have to be discussed yet):
- There should be set safe execution mode somewhere (e.g. in problem package) or globally in controller or settings.py. The option with information in problem package seems to be the best one.
- Add judging time results to each pair <contest, problem> and trigger judging reference program after attaching problem to contest. Don't touch global results - they are needed for solving public problems which aren't attached to any contest.
- Don't forget to fix setting environ['exec_mode'] to use problem_instance_controller in generate_base_environ.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1933] Celery 3.2 Pickle use explicitly or not at all Created: 2017-03-28  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Far Future
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: easy


 Description   
Starting from version 3.2 Celery will refuse to accept pickle by default.

The pickle serializer is a security concern as it may give attackers
the ability to execute any command. It's important to secure
your broker from unauthorized access when using pickle, so we think
that enabling pickle should require a deliberate action and not be
the default choice.

If you depend on pickle then you should set a setting to disable this
warning and to be sure that everything will continue working
when you upgrade to Celery 3.2::

    CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']

You must only enable the serializers that you will actually use.

  warnings.warn(CDeprecationWarning(W_PICKLE_DEPRECATED))

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1932] Divide processes output to stderr and stdout Created: 2017-03-28  Updated: 2019-03-26  Resolved: 2019-01-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI, SIO2 Project Website and Infrastructure
Affects Version/s: Far Future
Fix Version/s: Current Version

Type: Improvement Priority: Trivial
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy

Attachments: PNG File Screenshot from 2017-03-28 13-24-31.png    

 Description   
Currently output from processes stared by supervisor is merged into one file *.log. This is unfortunate because makes it hard to read their output. Decide if edit in oioioi/deployment/supervisord.conf.template and additional update in README aboute oioioi-create-config is worth it.

 Comments   
Comment by Gerrit Gerrit [ 2019-01-17 ]
Change oioioi~master~I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3127

SIO-1932 Consider dividing processes output to stderr and stdout

Divide output (stdout and stderr) to separate log files for each children of supervisor

Change-Id: I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f
Comment by Gerrit Gerrit [ 2019-01-17 ]
Change oioioi~master~I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3127

SIO-1932 Consider dividing processes output to stderr and stdout

Divide output (stdout and stderr) to separate log files for each children of supervisor
Change explanation in UPGRADING.rst to be more precise

Change-Id: I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f
Comment by Gerrit Gerrit [ 2019-01-17 ]
Change oioioi~master~I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3127

SIO-1932 Consider dividing processes output to stderr and stdout

Divide output (stdout and stderr) to separate log files for each children of supervisor
Change explanation in UPGRADING.rst to be more precise

Change-Id: I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f
Comment by Gerrit Gerrit [ 2019-01-26 ]
Change oioioi~master~I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3127

SIO-1932 Divide processes output to stderr and stdout

Divide output (stdout and stderr) to separate log files for each children of supervisor.
Change explanation in UPGRADING.rst to be more precise.

Change-Id: I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f
Comment by Gerrit Gerrit [ 2019-01-30 ]
Change oioioi~master~I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3127

SIO-1932 Divide processes output to stderr and stdout

Divide output (stdout and stderr) to separate log files for each children of supervisor.
Change explanation in UPGRADING.rst to be more precise.

Change-Id: I87a7d6f4d2e5dfb1e0a2542b397d5dbc9834e81f




[SIO-1931] [Bootstrap 3] Migrate login, registration, password reset views Created: 2017-03-28  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-03-29 ]
Change Ibce0b49d5190ce05473943079cb2af83f02356a3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2733

SIO-1931 [Bootstrap 3] Migrate login, registration, password reset views

Change-Id: Ibce0b49d5190ce05473943079cb2af83f02356a3
Comment by Gerrit Gerrit [ 2017-03-29 ]
Change Ibce0b49d5190ce05473943079cb2af83f02356a3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2733

SIO-1931 [Bootstrap 3] Migrate login, registration, password reset views

Change-Id: Ibce0b49d5190ce05473943079cb2af83f02356a3




[SIO-1930] Implement PrioritizingScheduler Created: 2017-03-27  Updated: 2019-03-26  Resolved: 2017-05-9

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Bug Priority: Minor
Reporter: Przemysław Jakub Kozłowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1918 Implement priorities for scheduled tasks Closed

 Description   
Take into account priorities (in PrioritizingScheduler) and cpu/vcpu mode.

https://gerrit.sio2project.mimuw.edu.pl/#/c/2736/
https://github.com/sio2project/sioworkers/commit/b3cc89573c3b29968d5f9356c09aca6dff879d2d

 Comments   
Comment by Gerrit Gerrit [ 2017-03-31 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-1 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-1 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-1 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-1 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-2 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-2 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-3 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-3 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-3 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 [WIP] Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-10 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 26
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-20 ]
Change sioworkers~master~I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 27
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-20 ]
Change sioworkers~master~I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 28
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change sioworkers~master~I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 29
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change sioworkers~master~I78b2d6ade32b450f486c59e9be231bb86e797219, patchset 30
https://gerrit.sio2project.mimuw.edu.pl/2736

SIO-1930 Implement PrioritizingScheduler

Change-Id: I78b2d6ade32b450f486c59e9be231bb86e797219




[SIO-1929] [Bootstrap 3] Responsive navbar Created: 2017-03-25  Updated: 2019-03-26  Resolved: 2017-04-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: New Feature Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Create responsive navbar.

 Comments   
Comment by Gerrit Gerrit [ 2017-03-25 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 Responsive navbar and refactored clocks.js to match new layout

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-25 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 Responsive navbar and refactored clocks.js to match new layout

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-25 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 Responsive navbar and refactored clocks.js to match new layout

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-25 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 Responsive navbar and refactored clocks.js to match new layout

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-25 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 Responsive navbar and refactored clocks.js to match new layout

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-25 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 Responsive navbar, refactored clocks.js to match new layout and more

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-26 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 Responsive navbar, refactored clocks.js to match new layout and more

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-26 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 New layout

Responsive navbar, menu and main container.
Refactor clocks.js to match new layout.

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change Ia2abcc785c047703bf297bdb3f5ec9af417da77c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2731

SIO-1929 New layout. Sticky Footer

Change-Id: Ia2abcc785c047703bf297bdb3f5ec9af417da77c
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change I24adc23e911f35be960d3e77db27fc9326f19a25, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2732

SIO-1929 New layout. Fixes for Bootstrap 3

* Change icon tags from 'i' to 'span' and classes from 'icon' to 'glyphicon'.
* Replace classes 'btn-small' and 'btn-large' with 'btn-sm' and 'bin-lg' respectively.
* Add 'label-default' class to every label that doesn't have any label style set.
* Replace 'label-important' with 'label-danger'.

Change-Id: I24adc23e911f35be960d3e77db27fc9326f19a25
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change I24adc23e911f35be960d3e77db27fc9326f19a25, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2732

SIO-1929 New layout. Fixes for Bootstrap 3

* Change icon tags from 'i' to 'span' and classes from 'icon' to 'glyphicon'.
* Add 'btn-default' class to every button that doesn't have any button style set.
* Replace classes 'btn-small' and 'btn-large' with 'btn-sm' and 'bin-lg' respectively.
* Add 'label-default' class to every label that doesn't have any label style set.
* Replace 'label-inverse' with 'label-default'
* Replace 'label-important' with 'label-danger'.

Change-Id: I24adc23e911f35be960d3e77db27fc9326f19a25
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 New layout

Responsive navbar, menu and main container.
Refactor clocks.js to match new layout.

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change Ia2abcc785c047703bf297bdb3f5ec9af417da77c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2731

SIO-1929 New layout. Sticky Footer

Change-Id: Ia2abcc785c047703bf297bdb3f5ec9af417da77c
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 New layout

Responsive navbar, menu and main container.
Refactor clocks.js to match new layout.

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change I24adc23e911f35be960d3e77db27fc9326f19a25, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2732

SIO-1929 New layout. Fixes for Bootstrap 3

* Change icon tags from 'i' to 'span' and classes from 'icon' to
  'glyphicon'.
* Add 'btn-default' class to every button that doesn't have any button
  style set.
* Replace classes 'btn-mini', 'btn-small' and 'btn-large' with
  'btn-xs', 'btn-sm' and 'bin-lg' respectively.
* Add role="button" to every element `a` that has 'btn' class.
* Add 'label-default' class to every label that doesn't have any label
  style set.
* Replace 'label-inverse' with 'label-default'
* Replace 'label-important' with 'label-danger'.

Change-Id: I24adc23e911f35be960d3e77db27fc9326f19a25
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 New layout

Responsive navbar, menu and main container.
Refactor clocks.js to match new layout.

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 New layout

Responsive navbar, menu and main container.
Refactor clocks.js to match new layout.

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 New layout

Responsive navbar, menu and main container.
Refactor clocks.js to match new layout.

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change Ia2abcc785c047703bf297bdb3f5ec9af417da77c, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2731

SIO-1929 New layout. Sticky Footer

Change-Id: Ia2abcc785c047703bf297bdb3f5ec9af417da77c
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I0f24d473d765a21ef4ba327c3aeb7c426a80a524, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2727

SIO-1929 New layout

Responsive navbar, menu and main container.
Refactor clocks.js to match new layout.

Change-Id: I0f24d473d765a21ef4ba327c3aeb7c426a80a524
Comment by Gerrit Gerrit [ 2017-04-3 ]
Change I4137d4334354f81f8886485a91aa479bb6fa1276, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2738

SIO-1929 New layout. Admin views

* Add new admin base template
* Add admin stylesheet
* Change name of 'content' block because of conflict with grappelli

Change-Id: I4137d4334354f81f8886485a91aa479bb6fa1276
Comment by Gerrit Gerrit [ 2017-04-3 ]
Change If18a8766c2ce2d95d9141351c605997f5ca3a357, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2739

SIO-1929 New layout. Form views

Change-Id: If18a8766c2ce2d95d9141351c605997f5ca3a357
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change Ia2abcc785c047703bf297bdb3f5ec9af417da77c, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2731

SIO-1929 New layout. Sticky Footer

Change-Id: Ia2abcc785c047703bf297bdb3f5ec9af417da77c
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I4137d4334354f81f8886485a91aa479bb6fa1276, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2738

SIO-1929 New layout. Admin views

* Add new admin base template
* Add admin stylesheet
* Change name of 'content' block because of conflict with grappelli

Change-Id: I4137d4334354f81f8886485a91aa479bb6fa1276
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I4137d4334354f81f8886485a91aa479bb6fa1276, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2738

SIO-1929 New layout. Admin views

* Add new admin base template
* Add admin stylesheet
* Change name of 'content' block because of conflict with grappelli
  and accordingly change 'main_content_style' to 'main-content-style'

Change-Id: I4137d4334354f81f8886485a91aa479bb6fa1276
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I24adc23e911f35be960d3e77db27fc9326f19a25, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2732

SIO-1929 New layout. Fixes for Bootstrap 3

* Change icon tags from 'i' to 'span' and classes from 'icon' to
  'glyphicon'.
* Add 'btn-default' class to every button that doesn't have any button
  style set.
* Replace classes 'btn-mini', 'btn-small' and 'btn-large' with
  'btn-xs', 'btn-sm' and 'bin-lg' respectively.
* Add role="button" to every element `a` that has 'btn' class.
* Add 'label-default' class to every label that doesn't have any label
  style set.
* Replace 'label-inverse' with 'label-default'
* Replace 'label-important' with 'label-danger'.

Change-Id: I24adc23e911f35be960d3e77db27fc9326f19a25
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I24adc23e911f35be960d3e77db27fc9326f19a25, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2732

SIO-1929 New layout. Fixes for Bootstrap 3

* Change icon tags from 'i' to 'span' and classes from 'icon' to
  'glyphicon'.
* Add 'btn-default' class to every button that doesn't have any button
  style set.
* Replace classes 'btn-mini', 'btn-small' and 'btn-large' with
  'btn-xs', 'btn-sm' and 'bin-lg' respectively.
* Add role="button" to every element `a` that has 'btn' class.
* Add 'label-default' class to every label that doesn't have any label
  style set.
* Replace 'label-inverse' with 'label-default'
* Replace 'label-important' with 'label-danger'.

Change-Id: I24adc23e911f35be960d3e77db27fc9326f19a25
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change Ica8170e47a081a537395bb0a13ede8762f761d09, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2752

SIO-1929 New layout. Corner icons

Replace absolute styled .corner-icons with .clearfix and float based
ones.

Change-Id: Ica8170e47a081a537395bb0a13ede8762f761d09
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change Ibe280a4afaeab56801d0c43092e3a6b1f5418371, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2754

SIO-1929 New layout. Replace .empty-space-filler with .text-center

The margin-top behaviour of .empty-space-filler isn't necessarily
needed in every place where it was used. It would be better to add
some spacing when reviewing a template individually.

Change-Id: Ibe280a4afaeab56801d0c43092e3a6b1f5418371
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change Ieb44650823901bb529264d5cece1aa87c4540631, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2758

SIO-1929 New layout. Some admin files cleanup

The removed files aren't used anywhere.

Change-Id: Ieb44650823901bb529264d5cece1aa87c4540631
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change Ica8170e47a081a537395bb0a13ede8762f761d09, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2752

SIO-1929 New layout. Corner icons

Replace absolute styled .corner-icons with .clearfix and float based
ones.

Change-Id: Ica8170e47a081a537395bb0a13ede8762f761d09
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change Ica8170e47a081a537395bb0a13ede8762f761d09, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2752

SIO-1929 New layout. Corner icons

Replace absolute styled .corner-icons with .clearfix and float based
ones.

Change-Id: Ica8170e47a081a537395bb0a13ede8762f761d09
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change Ieb44650823901bb529264d5cece1aa87c4540631, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2758

SIO-1929 New layout. Some admin files cleanup

The removed files aren't used anywhere.

Change-Id: Ieb44650823901bb529264d5cece1aa87c4540631
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change Ica8170e47a081a537395bb0a13ede8762f761d09, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2752

SIO-1929 New layout. Corner icons

Replace absolute styled .corner-icons with .clearfix and float based
ones.

Change-Id: Ica8170e47a081a537395bb0a13ede8762f761d09
Comment by Gerrit Gerrit [ 2017-04-8 ]
Change If18a8766c2ce2d95d9141351c605997f5ca3a357, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2739

SIO-1929 New layout. Form views

Change-Id: If18a8766c2ce2d95d9141351c605997f5ca3a357
Comment by Gerrit Gerrit [ 2017-04-8 ]
Change Ieb44650823901bb529264d5cece1aa87c4540631, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2758

SIO-1929 New layout. Some admin files cleanup

The removed files aren't used anywhere.

Change-Id: Ieb44650823901bb529264d5cece1aa87c4540631
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change Ica8170e47a081a537395bb0a13ede8762f761d09, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2752

SIO-1929 New layout. Corner icons

Replace absolute styled .corner-icons with .clearfix and float based
ones.

Change-Id: Ica8170e47a081a537395bb0a13ede8762f761d09
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change If18a8766c2ce2d95d9141351c605997f5ca3a357, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2739

SIO-1929 New layout. Form views

Change-Id: If18a8766c2ce2d95d9141351c605997f5ca3a357
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change Ica8170e47a081a537395bb0a13ede8762f761d09, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2752

SIO-1929 New layout. Corner icons

Replace absolute styled .corner-icons with .clearfix and float based
ones.

Change-Id: Ica8170e47a081a537395bb0a13ede8762f761d09
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change If18a8766c2ce2d95d9141351c605997f5ca3a357, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2739

SIO-1929 New layout. Form views

Change-Id: If18a8766c2ce2d95d9141351c605997f5ca3a357
Comment by Gerrit Gerrit [ 2017-04-13 ]
Change Ieb44650823901bb529264d5cece1aa87c4540631, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2758

SIO-1929 New layout. Some admin files cleanup

The removed files aren't used anywhere.

Change-Id: Ieb44650823901bb529264d5cece1aa87c4540631




[SIO-1928] Replace worker concurrency with RAM capacity. Created: 2017-03-25  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Motivation:
1) Now we have to predict how much RAM we should reserve for single jobs. If we choose 1G, then we are lowering our possible concurrency. If we choose 512M, then worker could potentially lack memory.
2) We have different configs for judging machines which vary only in concurrency.

What to do:
1) Replace concurrency in worker config with RAM capacity
2) OIOIOI should add to environ information how much RAM single job needs
3) Scheduler should operate on RAM capacities instead of concurrencies.
4) Split this task into smaller ones :)

Adnotation:
Don't forget about taking into account number of CPU cores. Currently used formula is min(# cpu cores * 1.5, (RAM minus a little bit for OS) / (max required mem per problem)). Obviously it is worth to discuss if and how this formula should be changed.

 Comments   
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-18 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-20 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-03-21 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-23 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-24 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-03-25 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-26 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler. This can be modified after deleting FifoScheduler, so to avoid doubling the default values here and in executors.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-03-27 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler. This can be modified after deleting FifoScheduler, so to avoid doubling the default values here and in executors.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-2 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-2 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler. This can be modified after deleting FifoScheduler, so to avoid doubling the default values here and in executors.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler. This can be modified after deleting FifoScheduler, so to avoid doubling the default values here and in executors.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler based on job type or given limits.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-3 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler based on job type or given limits.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-6 ]
Change sioworkers~master~I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2967

SIO-2073 Setting ram requirements for various worker jobs in prioritizing scheduler based on job type or given limits.

This commit is part of SIO-1928.

Change-Id: I7f795b81ee95793d89d5a7a3bf29f9bfb205ef89
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03
Comment by Gerrit Gerrit [ 2018-04-9 ]
Change sioworkers~master~I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2960

SIO-2071 Adapt sioworkersd to respect RAM limits.

This commit is a large part of the implementation of
SIO-1928. It modifies sioworkersd (mainly the default
PrioritizingScheduler) to recognize workers' total
RAM amounts and tasks' required RAM amount. The
core scheduling algorithm is kept the same, but
modified to account for RAM limits, which may have
some impact on the performance.

For these changes to be fully functional, it's also
necessary to implement SIO-2070 and SIO-2073.

Change-Id: I625f7e7303bd5f69a96bde1443f8d9c38ef2ef03




[SIO-1927] Remove outdated code from sioworkersd Created: 2017-03-22  Updated: 2019-03-26  Resolved: 2017-03-28

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1922 Distinguish cpu and vcpu in sioworkersd Closed
Relates
relates to SIO-1922 Distinguish cpu and vcpu in sioworkersd Closed

 Description   
- remove prioritizing scheduler
- remove tags
- remove exclusiveness and use (env['job_type'] == 'cpu-exec') instead

 Comments   
Comment by Gerrit Gerrit [ 2017-03-22 ]
Change Id4eb81217bd9e081a316172b30c60988644bddb1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2721

SIO-1927 Remove outdated code from sioworkersd

Change-Id: Id4eb81217bd9e081a316172b30c60988644bddb1
Comment by Gerrit Gerrit [ 2017-03-22 ]
Change If19429692e0f540484562f00129d733a04bf9575, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2722

SIO-1927 Remove outdated code from sioworkersd

Change-Id: If19429692e0f540484562f00129d733a04bf9575
Comment by Gerrit Gerrit [ 2017-03-22 ]
Change Id4eb81217bd9e081a316172b30c60988644bddb1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2721

SIO-1927 Remove outdated code from sioworkersd

Change-Id: Id4eb81217bd9e081a316172b30c60988644bddb1
Comment by Gerrit Gerrit [ 2017-03-22 ]
Change Id4eb81217bd9e081a316172b30c60988644bddb1, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2721

SIO-1927 Remove outdated code from sioworkersd

Change-Id: Id4eb81217bd9e081a316172b30c60988644bddb1
Comment by Gerrit Gerrit [ 2017-03-22 ]
Change Id4eb81217bd9e081a316172b30c60988644bddb1, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2721

SIO-1927 Remove outdated code from sioworkersd

Change-Id: Id4eb81217bd9e081a316172b30c60988644bddb1
Comment by Gerrit Gerrit [ 2017-03-23 ]
Change Id4eb81217bd9e081a316172b30c60988644bddb1, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2721

SIO-1927 Remove outdated code from sioworkersd

Change-Id: Id4eb81217bd9e081a316172b30c60988644bddb1
Comment by Gerrit Gerrit [ 2017-03-23 ]
Change If19429692e0f540484562f00129d733a04bf9575, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2722

SIO-1927 Remove outdated code from sioworkersd

Change-Id: If19429692e0f540484562f00129d733a04bf9575
Comment by Gerrit Gerrit [ 2017-03-23 ]
Change Id4eb81217bd9e081a316172b30c60988644bddb1, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2721

SIO-1927 Remove outdated code from sioworkersd

Change-Id: Id4eb81217bd9e081a316172b30c60988644bddb1
Comment by Gerrit Gerrit [ 2017-03-25 ]
Change Id4eb81217bd9e081a316172b30c60988644bddb1, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2721

SIO-1927 Remove outdated code from sioworkersd

Change-Id: Id4eb81217bd9e081a316172b30c60988644bddb1
Comment by Gerrit Gerrit [ 2017-03-25 ]
Change Id4eb81217bd9e081a316172b30c60988644bddb1, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2721

SIO-1927 Remove outdated code from sioworkersd

Change-Id: Id4eb81217bd9e081a316172b30c60988644bddb1
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change Id4eb81217bd9e081a316172b30c60988644bddb1, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2721

SIO-1927 Remove outdated code from sioworkersd

Change-Id: Id4eb81217bd9e081a316172b30c60988644bddb1




[SIO-1926] Installing requirements produces egg_info warnings Created: 2017-03-21  Updated: 2019-03-26  Resolved: 2018-10-11

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, OIOIOI
Affects Version/s: Current Version, TAG 2016/17 Summer Semester
Fix Version/s: Current Version, TAG 2016/17 Summer Semester

Type: Bug Priority: Minor
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
This also breaks the Dockerfile build as it later fails with:
IOError: [Errno 2] No such file or directory: '/tmp/pip-install-Sleu1m/sioworkers/setup.py'
Failed building wheel for sioworkers

oioioi:

pip2 install -v -r requirements.txt --user
Running setup.py (path:/tmp/pip-build-gHTyzR/sioworkers-1.3/setup.py) egg_info for package sioworkers-1.3 produced metadata for project name sioworkers. Fix your #egg=sioworkers-1.3 fragments.

pip3 install -v -r requirements_py3.txt --user
Running setup.py (path:/tmp/pip-build-ejhda9zq/supervisor-4.0.0.dev0/setup.py) egg_info for package supervisor-4.0.0.dev0 produced metadata for project name supervisor. Fix your #egg=supervisor-4.0.0.dev0 fragments.
Running setup.py (path:/tmp/pip-build-or9bj9rm/djsupervisor-0.4.0/setup.py) egg_info for package djsupervisor-0.4.0 produced metadata for project name django-supervisor. Fix your #egg=djsupervisor-0.4.0 fragments.
Running setup.py (path:/tmp/pip-build-or9bj9rm/filetracker-1.1.0/setup.py) egg_info for package filetracker-1.1.0 produced metadata for project name filetracker. Fix your #egg=filetracker-1.1.0 fragments.
Running setup.py (path:/tmp/pip-build-or9bj9rm/sioworkers-1.3/setup.py) egg_info for package sioworkers-1.3 produced metadata for project name sioworkers. Fix your #egg=sioworkers-1.3 fragments.

sioworkers:

pip3 install -v -r requirements_py3.txt --user
Running setup.py (path:/tmp/pip-build-j089pd0e/poster-0.8.1/setup.py) egg_info for package poster-0.8.1 produced metadata for project name poster. Fix your #egg=poster-0.8.1 fragments.

 Comments   
Comment by Jakub Bartmiński [ 2018-10-5 ]
Bumping to minor as per "minor loss of function" (https://jira.sio2project.mimuw.edu.pl/secure/ShowConstantsHelp.jspa?decorator=popup#PriorityLevels)
Comment by Gerrit Gerrit [ 2018-10-5 ]
Change oioioi~master~I735aec1f7cdddbce0ed676f62fe8d3eeb8450c06, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3079

SIO-1926 Fix requirements.txt version syntax

For some reason, the #egg=name-version syntax does not work as stated
in pip documentation, producing egg_info warnings and causing the
Dockerfile build to fail.
What seems to work as intended is #egg=name==version - running pip
install with verbose option confirms that it actually checks if the
downloaded package version is correct.

Change-Id: I735aec1f7cdddbce0ed676f62fe8d3eeb8450c06
Comment by Gerrit Gerrit [ 2018-10-5 ]
Change sioworkers~master~Ie68cc80da2942d8039fc3e4b7e09638a1a4153cc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3080

SIO-1926 Fix requirements.txt version syntax

For some reason, the #egg=name-version syntax does not work as stated
in pip documentation, producing egg_info warnings.
What seems to work as intended is #egg=name==version - running pip
install with verbose option confirms that it actually checks if the
downloaded package version is correct.

Change-Id: Ie68cc80da2942d8039fc3e4b7e09638a1a4153cc




[SIO-1925] Remove outdated things related to evalmgr. Created: 2017-03-20  Updated: 2019-03-26  Resolved: 2017-05-9

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers, OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Przemysław Jakub Kozłowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-1921 Remove spliteval Closed
is related to SIO-1921 Remove spliteval Closed

 Comments   
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~master~I8df4ee0961e4b18ecad48132240240c5c6dda42d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2799

SIO-1925 Remove outdated things related to evalmgr.

Change-Id: I8df4ee0961e4b18ecad48132240240c5c6dda42d
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~master~I8df4ee0961e4b18ecad48132240240c5c6dda42d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2799

SIO-1925 Remove outdated things related to evalmgr

Change-Id: I8df4ee0961e4b18ecad48132240240c5c6dda42d
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I8df4ee0961e4b18ecad48132240240c5c6dda42d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2799

SIO-1925 Remove outdated things related to evalmgr

Change-Id: I8df4ee0961e4b18ecad48132240240c5c6dda42d
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I8df4ee0961e4b18ecad48132240240c5c6dda42d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2799

SIO-1925 Remove outdated things related to evalmgr

Change-Id: I8df4ee0961e4b18ecad48132240240c5c6dda42d




[SIO-1924] OIOIOI queries /c/<contest name>/status/ every 10 seconds Created: 2017-03-14  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: New Feature Priority: Minor
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
[14/Mar/2017 14:32:48] "GET /c/aaaa/status/ HTTP/1.1" 200 433
[14/Mar/2017 14:32:58] "GET /c/aaaa/status/ HTTP/1.1" 200 433
[14/Mar/2017 14:33:09] "GET /c/aaaa/status/ HTTP/1.1" 200 433
[14/Mar/2017 14:33:19] "GET /c/aaaa/status/ HTTP/1.1" 200 433
[14/Mar/2017 14:33:29] "GET /c/aaaa/status/ HTTP/1.1" 200 433
[14/Mar/2017 14:33:40] "GET /c/aaaa/status/ HTTP/1.1" 200 433
[14/Mar/2017 14:33:50] "GET /c/aaaa/status/ HTTP/1.1" 200 433

Using a push protocol (an idle connection waiting for data from server) would be better, since an idle connection uses less power than an active one.


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1923] Update FIFOScheduler Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-04-4

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by SIO-1922 Distinguish cpu and vcpu in sioworkersd Closed

 Description   
Take into account cpu/vcpu mode in FIFOScheduler. Add assertions that will check if cpu task is send to valid worker.

 Comments   
Comment by Tadeusz Dudkiewicz [ 2017-04-4 ]
Resolved with SIO-1922 in https://gerrit.sio2project.mimuw.edu.pl/#/c/2714/.




[SIO-1922] Distinguish cpu and vcpu in sioworkersd Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-04-4

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1923 Update FIFOScheduler Closed
is blocked by SIO-1927 Remove outdated code from sioworkersd Closed
Relates
is related to SIO-1927 Remove outdated code from sioworkersd Closed

 Description   
Add to workers' config option to ALLOW_JUDGING_ON_CPU. Send that information to sioworkersd. Make it easy to use this information in scheduler. Add comment that this flag is taken into account only if safe exec mode is used.

 Comments   
Comment by Gerrit Gerrit [ 2017-03-19 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2714

(SIO-1922) [WIP] Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-19 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2715

(SIO-1922) Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running safe_exec
  jobs and some contest may create them

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-19 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2715

(SIO-1922) Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running safe_exec
  jobs and some contest may create them

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-19 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2714

(SIO-1922) [WIP] Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-19 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2715

(SIO-1922) Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running safe-exec
  jobs and some contests may create them

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-20 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2715

(SIO-1922) Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running safe-exec
  jobs and some contests may create them

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-20 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2714

(SIO-1922) Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-20 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2714

(SIO-1922) Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-20 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2715

SIO-1922 Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running safe-exec
  jobs and some contests may create them

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-20 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2714

(SIO-1922) Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-20 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-22 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2715

SIO-1922 Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running
  safe-exec jobs

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-22 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2715

SIO-1922 Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running
  safe-exec jobs

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-26 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-26 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2715

SIO-1922 Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running
  safe-exec jobs

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2715

SIO-1922 Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running
  safe-exec jobs

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2715

SIO-1922 Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running
  safe-exec jobs

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change Ie975fb66ab4c671d699724b4bd4e18b43ff07d14, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2715

SIO-1922 Distinguish cpu and vcpu in sioworkersd

* display warning if there are no workers capable of running
  safe-exec jobs

Change-Id: Ie975fb66ab4c671d699724b4bd4e18b43ff07d14
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef
Comment by Gerrit Gerrit [ 2017-03-29 ]
Change I982df1defa9fc695af74d3cedd1e13d846beb5ef, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2714

SIO-1922 Distinguish cpu and vcpu in sioworkersd

Change-Id: I982df1defa9fc695af74d3cedd1e13d846beb5ef




[SIO-1921] Remove spliteval Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-03-27

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by SIO-1916 Test efficiency of SQLite backend for... Closed
is blocked by SIO-1917 Choose efficient DB for sioworkersd a... Closed
is blocked by SIO-1918 Implement priorities for scheduled tasks Closed
is blocked by SIO-1919 Change the way evalmgr sends asynchro... Closed
is blocked by SIO-1920 Refactor evaluation queue. Closed
Relates
relates to SIO-1925 Remove outdated things related to eva... Closed
is related to SIO-1925 Remove outdated things related to eva... Closed

 Description   
https://gerrit.sio2project.mimuw.edu.pl/#/c/2717/
https://github.com/sio2project/oioioi/commit/b6f48b763faa4eff9c6763c9c1f13c202b9afc7d

 Comments   
Comment by Gerrit Gerrit [ 2017-03-20 ]
Change I0f4c30fee4fec44ed9735a96620903b81a32341a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2717

SIO-1921 Remove spliteval and related outdated things

Change-Id: I0f4c30fee4fec44ed9735a96620903b81a32341a
Comment by Gerrit Gerrit [ 2017-03-20 ]
Change I0f4c30fee4fec44ed9735a96620903b81a32341a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2717

SIO-1921 Remove spliteval

Change-Id: I0f4c30fee4fec44ed9735a96620903b81a32341a
Comment by Gerrit Gerrit [ 2017-03-22 ]
Change I0f4c30fee4fec44ed9735a96620903b81a32341a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2717

SIO-1921 Remove spliteval

Change-Id: I0f4c30fee4fec44ed9735a96620903b81a32341a




[SIO-1920] Refactor evaluation queue. Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1921 Remove spliteval Closed
is blocked by SIO-1919 Change the way evalmgr sends asynchro... Closed

 Description   
Get rid of celery task id, use task id from DB model, track id in evalmgr.




[SIO-1919] Change the way evalmgr sends asynchronous tasks. Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-05-9

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1920 Refactor evaluation queue. Closed
blocks SIO-1921 Remove spliteval Closed

 Description   
Get rid of postpone, unite way evalmgr sends async tasks to zeus / sioworkersd.

 Comments   
Comment by Gerrit Gerrit [ 2017-03-17 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2709

(SIO-1919) [WIP] Change the way evalmgr sends asynchronous tasks.

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-03-21 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 [WIP] Change the way evalmgr sends asynchronous tasks.

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-03-28 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 [WIP] Change the way evalmgr sends asynchronous tasks.

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-03-30 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-03-30 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-03-30 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-03-31 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-03-31 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-8 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~master~Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~master~Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-21 ]
Change oioioi~master~Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~master~Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 26
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~master~Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 27
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8
Comment by Gerrit Gerrit [ 2017-04-23 ]
Change oioioi~master~Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8, patchset 28
https://gerrit.sio2project.mimuw.edu.pl/2709

SIO-1919 Change the way evalmgr sends asynchronous tasks

Change-Id: Id99fbaea1127f4bcc51b5a383359d1e2bb4fe5f8




[SIO-1918] Implement priorities for scheduled tasks Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-05-9

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1921 Remove spliteval Closed
Relates
relates to SIO-1930 Implement PrioritizingScheduler Closed

 Description   
Add priorities properties for instances, contests and tests. Create some way of editing them. Include calculated priority in produced environment.

https://gerrit.sio2project.mimuw.edu.pl/#/c/2730/
https://github.com/sio2project/oioioi/commit/3f5a887060e179929a3ffafbb2540ae334a894d3

 Comments   
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 [WIP] Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-03-27 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 [WIP] Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-03-30 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 [WIP] Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-04-3 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-04-10 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-04-10 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-04-24 ]
Change oioioi~master~I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-04-25 ]
Change oioioi~master~I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I0e5efb58e84665bf8f89acfed4e26a1ebc966aec, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2730

SIO-1918 Implement priorities for scheduled tasks

Change-Id: I0e5efb58e84665bf8f89acfed4e26a1ebc966aec




[SIO-1917] Choose efficient DB for sioworkersd and implement backend for it Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1921 Remove spliteval Closed
is blocked by SIO-1916 Test efficiency of SQLite backend for... Closed

 Comments   
Comment by Gerrit Gerrit [ 2017-04-3 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 [WIP] Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 [WIP] Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 [WIP] Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-4 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 [WIP] Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 [WIP] Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 [WIP] Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-5 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-6 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-7 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change Ie74e89acbf0934e33b68ab81b503036f90ad98a1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2763

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: Ie74e89acbf0934e33b68ab81b503036f90ad98a1
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-9 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I276ddde7a174405459c25deec05f272465ef73ff, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2735

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: I276ddde7a174405459c25deec05f272465ef73ff
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change Ie74e89acbf0934e33b68ab81b503036f90ad98a1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2763

SIO-1917 Changed SQLite DB backend to Berkeley DB (bsddb).

Change-Id: Ie74e89acbf0934e33b68ab81b503036f90ad98a1




[SIO-1916] Test efficiency of SQLite backend for sioworkersd. Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-03-29

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1917 Choose efficient DB for sioworkersd a... Closed
blocks SIO-1921 Remove spliteval Closed

 Comments   
Comment by Artur Jamro [ 2017-03-29 ]
Related changes:
https://gerrit.sio2project.mimuw.edu.pl/#/c/2723/
https://gerrit.sio2project.mimuw.edu.pl/#/c/2724/
https://gerrit.sio2project.mimuw.edu.pl/#/c/2725/ (with note: add db.sync() after changes in database).

Test results:
To co jest teraz, 256 pingów z envem:
- poszło o: 2017-03-27 13:46:24.636091
- trwało do: 27/Mar/2017:13:47:25 +0200
- było to zachowanie, że najpierw wszystkie wysłał, potem wszystkie odebrał i
dopiero potem zwracał je do sio
- z jakiegoś powodu on z tego zrobił grupę??
To co jest teraz, 1024 pingów z envem:
- od 2017-03-27 13:49:31.116649
- do 27/Mar/2017:13:53:37 +020
- bardzo wolne wysyłanie (na początku)
- zużywa dużo dysku, mało procesora
- iftop nie pokazuje jakiegoś super dużego ruchu (poniżej 1mb)
Python dict, 1024 pingów:
- od 2017-03-27 13:57:26.401480
- do 27/Mar/2017:13:57:30 +0200
- nie ma tego efektu z opóźnionym zwracaniem (xd, wtf)
Python dict, 4096 pingów:
- od 2017-03-27 13:58:45.188083
- do 27/Mar/2017:13:59:03 +0200
- pojawia się duże zużycie cpu
- jest używany więcej niż jeden worker
BSDDB, 256 pingów:
- od 2017-03-27 14:02:21.931452
- do 27/Mar/2017:14:02:23 +0200
- sioworkersd.db powstało
- niestety to był run bez disc-synca
BSDDB, 256 pingów, z synciem:
- od 2017-03-27 14:08:20.803634
- do 27/Mar/2017:14:08:29 +0200
- tym razem baza danych powstała
BSDDB, 1024 pingi, z synciem:
- od 2017-03-27 14:09:53.111766
- do 27/Mar/2017:14:10:31 +0200
- tak jakby robiły się bardziej na bieżąco
BSDDB, 4096 pingów, z synciem:
- od 2017-03-27 14:11:55.774867
- do 27/Mar/2017:14:14:39 +0200
- ciągle, tak jakby robil się synchronicznie
- zużywa 2 workery xd
- małe cpu, też duże zużycie dysku
BSDDB, 2 x 2048, z synciem:
- od 2017-03-27 14:15:55.288522
- do 27/Mar/2017:14:19:01 +0200
- działa
- nawet czasem idą 4 workery (xd)




[SIO-1915] Upgrade Bootstrap version to 3 and remove all styles Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Task Priority: Major
Reporter: Paweł Koniarski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-03-18 ]
Change I78238aab0e5b3ac440fb6654d8d16ad9c48736de, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2710

SIO-1915 Upgrade Bootstrap version to 3 and remove all styles

Change-Id: I78238aab0e5b3ac440fb6654d8d16ad9c48736de




[SIO-1914] [Bootstrap 3] Migrate build, Vagrantfile and docs Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: New Feature Priority: Major
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://github.com/sio2project/oioioi/commit/7c275e6206b521567898ebc881cac12e47322b90

 Comments   
Comment by Gerrit Gerrit [ 2017-03-19 ]
Change I462aa629ee2a03668a3d03285c9e334283a18dab, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2713

SIO-1914 [Bootstrap 3] Migrate build, Vagrantfile and docs

Change-Id: I462aa629ee2a03668a3d03285c9e334283a18dab
Comment by Gerrit Gerrit [ 2017-03-19 ]
Change I5ed127693468fbe3556c262fca52eccbb01a85fd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2716

SIO-1914 [Bootstrap 3] Migrate build, Vagrantfile and docs

Change-Id: I5ed127693468fbe3556c262fca52eccbb01a85fd
Comment by Gerrit Gerrit [ 2017-03-19 ]
Change I5ed127693468fbe3556c262fca52eccbb01a85fd, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2716

SIO-1914 [Bootstrap 3] Migrate build, Vagrantfile and docs

Change-Id: I5ed127693468fbe3556c262fca52eccbb01a85fd
Comment by Gerrit Gerrit [ 2017-03-20 ]
Change I5ed127693468fbe3556c262fca52eccbb01a85fd, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2716

SIO-1914 [Bootstrap 3] Migrate build, Vagrantfile and docs

Change-Id: I5ed127693468fbe3556c262fca52eccbb01a85fd




[SIO-1913] [Bootstrap 3] Menu in navbar Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-04-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: New Feature Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None





[SIO-1912] E-mail notifications for questions Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: New Feature Priority: Major
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Attachments: File mail.diff    

 Comments   
Comment by Marcin Mielniczuk [ 2017-04-11 ]
I'm attaching the changes made so far.

Main problem with this patch set is that it doesn't handle delayed publishing of questions and doesn't support news at all. The recommended solution is to create a daemon which periodically checks the database for published messages no mail has been sent for yet.

The UI part should be mostly unchanged, barring the possible Bootstrap 3 changes.

Delayed publishing of messages is handled by OIOIOI by simply not displaying messages with pub_date in the future.
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py.

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-04-11 ]
Change I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 26
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 27
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 28
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 29
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 30
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 31
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-10 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 33
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-10 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 34
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-10 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 35
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-12 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 36
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-16 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 37
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-16 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 38
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-16 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 39
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-16 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 40
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-05-16 ]
Change oioioi~master~I18bbab3db346ff03d4407f4407994d7b56de3147, patchset 41
https://gerrit.sio2project.mimuw.edu.pl/2774

SIO-1912 Added support for e-mail notifications about questions and news

Moved the code handling the notifications for admins from models.py to mails.py

Change-Id: I18bbab3db346ff03d4407f4407994d7b56de3147
Comment by Gerrit Gerrit [ 2017-06-2 ]
Change oioioi~master~I7e7c0e05a008c42f55d065ece36f857386ac9dbd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2861

SIO-1912 Add the information to the README that supervisord.conf has been modified

Change-Id: I7e7c0e05a008c42f55d065ece36f857386ac9dbd
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I13c816c4792ac7732d51980fb3337a3ad56efc84, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2863

SIO-1912 Fix mail notifications not being sent

The datetime comparison did not pick up the entries with pub_date == None

Change-Id: I13c816c4792ac7732d51980fb3337a3ad56efc84
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I13c816c4792ac7732d51980fb3337a3ad56efc84, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2863

SIO-1912 Fix mail notifications not being sent

The datetime comparison did not pick up the entries with pub_date == None

Change-Id: I13c816c4792ac7732d51980fb3337a3ad56efc84
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I7e7c0e05a008c42f55d065ece36f857386ac9dbd, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2861

SIO-1912 Add the information to the README that supervisord.conf has been modified

Change-Id: I7e7c0e05a008c42f55d065ece36f857386ac9dbd
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I7e7c0e05a008c42f55d065ece36f857386ac9dbd, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2861

SIO-1912 Add the information to the README that supervisord.conf has been modified

Change-Id: I7e7c0e05a008c42f55d065ece36f857386ac9dbd
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I7e7c0e05a008c42f55d065ece36f857386ac9dbd, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2861

SIO-1912 Add the information to the README that supervisord.conf has been modified

Change-Id: I7e7c0e05a008c42f55d065ece36f857386ac9dbd
Comment by Gerrit Gerrit [ 2017-06-6 ]
Change oioioi~master~I7e7c0e05a008c42f55d065ece36f857386ac9dbd, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2861

SIO-1912 Add the information to the README that supervisord.conf has been modified

Change-Id: I7e7c0e05a008c42f55d065ece36f857386ac9dbd
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Always return the real message ID for e-mail notifications

Currently we always returned the top reference. It was a problem when a public reply was created and most users did not have the permissions to see the original message. (only the reply is public)
Still, returning instance.id will always work and may be useful, if we decide to, for example, scroll to the new message.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Always return the real message ID for e-mail notifications

Currently we always returned the top reference. It was a problem
when a public reply was created and most users did not have the
permissions to see the original message. (only the reply is public)

Still, returning instance.id will always work and may be useful,
if we decide to, for example, scroll to the new message.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Always return the real message ID for e-mail notifications

Currently we always returned the top reference. It was a problem
when a public reply was created and most users did not have the
permissions to see the original message. (only the reply is public)

Still, returning instance.id will always work and may be useful,
if we decide to, for example, scroll to the new message.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Always return the real message ID for e-mail notifications

Currently we always returned the top reference. It was a problem
when a public reply was created and most users did not have the
permissions to see the original message. (only the reply is public)

Still, returning instance.id will always work and may be useful,
if we decide to, for example, scroll to the new message.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~If296ece574d73ac66feb339ce52f5acedee13214, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2868

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: If296ece574d73ac66feb339ce52f5acedee13214
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-12 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Always return the real message ID for e-mail notifications

Currently we always returned the top reference. It was a problem
when a public reply was created and most users did not have the
permissions to see the original message. (only the reply is public)

Still, returning instance.id will always work and may be useful,
if we decide to, for example, scroll to the new message.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Always return the real message ID for e-mail notifications

Currently we always returned the top reference. It was a problem
when a public reply was created and most users did not have the
permissions to see the original message. (only the reply is public)

Still, returning instance.id will always work and may be useful,
if we decide to, for example, scroll to the new message.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Always return the real message ID for e-mail notifications

Currently we always returned the top reference. It was a problem
when a public reply was created and most users did not have the
permissions to see the original message. (only the reply is public)

Still, returning instance.id will always work and may be useful,
if we decide to, for example, scroll to the new message.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-13 ]
Change oioioi~master~Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2869

SIO-1912 Disable autoescaping in the mail body and subject

Change-Id: Ia90ca4f28afe1bfc38f2ba8c45c99dc4c0b0d853
Comment by Gerrit Gerrit [ 2017-06-14 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Always return the real message ID for e-mail notifications

Currently we always returned the top reference. It was a problem
when a public reply was created and most users did not have the
permissions to see the original message. (only the reply is public)

Still, returning instance.id will always work and may be useful,
if we decide to, for example, scroll to the new message.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0
Comment by Gerrit Gerrit [ 2017-06-14 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Always return the real message ID for e-mail notifications

Currently we always returned the top reference. It was a problem
when a public reply was created and most users did not have the
permissions to see the original message. (only the reply is public)

Still, returning instance.id will always work and may be useful,
if we decide to, for example, scroll to the new message.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0
Comment by Gerrit Gerrit [ 2017-06-14 ]
Change oioioi~master~Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2867

SIO-1912 Return the real message ID if the user is not allowed to see the top reference

Before this change we always returned the top reference. It was a problem
when a public reply was created and most users did not have the
permissions to see the original message. (only the reply is public)

It would be intuitive to return the real message ID always, but
it's false intution. Then only the message would be displayed and
the parent message - never, even if the user has rights to see it.

Thus, when sending e-mails we check if the user has permissions to
see the top reference and, if so, send it. Otherwise we return the
real message ID, to be on the safe side.

Change-Id: Id4b0777fb8aaa6f9d8e675a8b9d36ce887a50ea0




[SIO-1911] "Respond inline" works only once when trying to reply a question. Created: 2017-03-14  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
After clicking "respond inline", the button disappears. When the quotation is deleted there is no way to bring it back without reloading the page.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1910] Create integration tests for the infrastructure using docker Created: 2017-03-14  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2016/17 Summer Semester
Fix Version/s: TAG 2016/17 Summer Semester

Type: New Feature Priority: Major
Reporter: Szymon Pajzert Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None





[SIO-1909] Create Dockerfiles for database, django and sioworkers Created: 2017-03-14  Updated: 2019-03-26  Resolved: 2017-06-22

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: TAG 2016/17 Summer Sprint 1
Fix Version/s: TAG 2016/17 Summer Sprint 1

Type: Improvement Priority: Minor
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2017-04-10 ]
Change I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-04-13 ]
Change I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-04-17 ]
Change I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-9 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-15 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-15 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-15 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe
Comment by Gerrit Gerrit [ 2017-05-23 ]
Change oioioi~master~I25727d152cbfb1bc7443227fc424960fda43d4fe, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2766

SIO-1909 Dockerfile created

Change-Id: I25727d152cbfb1bc7443227fc424960fda43d4fe




[SIO-1908] Linter update - check if deadcode linter is in use Created: 2017-03-13  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
There are some parts of dead code in our infrastructure - look for Artur Jamro's mail "FileLocki i cache - trochę deadcode'u - dyskusja". Check if they are reported by lint check.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1907] Display score in problems list Created: 2017-03-9  Updated: 2019-03-26  Resolved: 2017-04-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently you have to look at rankings to see if the task has already been done or search on submissions list. Showing score on problems list will make users life easier.

 Comments   
Comment by Gerrit Gerrit [ 2017-03-9 ]
Change Ib3229364cbf84be38390e89668d8043ac9171901, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2701

(SIO-1907) Display score in problems list

Change-Id: Ib3229364cbf84be38390e89668d8043ac9171901
Comment by Gerrit Gerrit [ 2017-03-9 ]
Change Ib3229364cbf84be38390e89668d8043ac9171901, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2701

(SIO-1907) Display score in problems list

Change-Id: Ib3229364cbf84be38390e89668d8043ac9171901
Comment by Gerrit Gerrit [ 2017-03-13 ]
Change Ib3229364cbf84be38390e89668d8043ac9171901, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2701

(SIO-1907) Display score in problems list

Change-Id: Ib3229364cbf84be38390e89668d8043ac9171901
Comment by Gerrit Gerrit [ 2017-03-14 ]
Change Ib3229364cbf84be38390e89668d8043ac9171901, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2701

(SIO-1907) Display score in problems list

Change-Id: Ib3229364cbf84be38390e89668d8043ac9171901




[SIO-1906] IntegrityError: update or delete on table "programs_test" violates foreign key constraint "test_id_refs_id_4c930b... Created: 2017-03-6  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sentry Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1989 IntegrityError in programs_test table Resolved

 Description   
https://sentry.io/the-sio2-project/szkopul/issues/229869377/

{code}
IntegrityError: update or delete on table "programs_test" violates foreign key constraint "test_id_refs_id_4c930bac06ff6a23" on table "programs_testreport"
DETAIL: Key (id)=(451179) is still referenced from table "programs_testreport".

(2 additional frame(s) were not displayed)
...
  File "django/db/transaction.py", line 225, in __exit__
    connection.commit()
  File "django/db/backends/base/base.py", line 173, in commit
    self._commit()
  File "django/db/backends/base/base.py", line 142, in _commit
    return self.connection.commit()
  File "django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "django/db/backends/base/base.py", line 142, in _commit
    return self.connection.commit()

IntegrityError: update or delete on table "programs_test" violates foreign key constraint "test_id_refs_id_4c930bac06ff6a23" on table "programs_testreport"
DETAIL: Key (id)=(451179) is still referenced from table "programs_testreport".

{code}

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1905] Resize event loop in problemset menu Created: 2017-03-5  Updated: 2019-03-26  Resolved: 2017-04-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None
Environment: Firefox 51.0.1


 Description   
When you open https://szkopul.edu.pl/portal/problemset/oi
it hangs and then Firefox asks if you want to stop the script.

Looks like if there's so many contests on the list on the left, that they don't fit on the screen, a window resize event loops itself infinitely.

https://github.com/sio2project/oioioi/blob/8381ec427f6b1b8ab9548770cbe4297136e8e909/oioioi/base/static/js/menu.js#L75-L79

The condidtions in the while loops look like they will keep adding and removing the last visible element.

recalculate_menu is called on the resize event, so if it adds or removes any HTML element, a new resize event might be triggerd

https://stackoverflow.com/questions/22313398/prevent-an-infinite-loop-on-window-resize#22313507

 Comments   
Comment by Mikołaj Walczak [ 2017-03-9 ]
The problem is not with resize event but with recalculate_menu function itself. Different scenarios to make website freeze after removing `$(window).resize(recalculate_menu)`.

1) Change the viewport to be less than menu height the site, reload the page.
2) Load page when menu doesnt exceed viewport height, then resize window to be smaller than the menu and call `recalculate_menu()` through the console.
Comment by Mikołaj Walczak [ 2017-03-9 ]
It loops forever!

```
while (can_hide() && last_visible_end() > cut_y)
            hide_last();
```




[SIO-1904] Create test scorer for BOI type contest Created: 2017-03-3  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Attachments: Text File discrete_test_scorer_for_BOI.patch    

 Description   
Attached commit from sio2.mimuw.edu.pl which hadn't been reviewed. We don't know if it will be useful. Currently, there are no contests in the database that use this controller (BOIOnsiteContestController).

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1903] Add option for hiding these ugly buttons on dashboard. Created: 2017-03-2  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
On sio2.mimuw.edu.pl these buttons ["Problems", "Submit", "Ranking'] (added by top_links_fragment in oioioi/dashboard/views.py) are disabled in a hacky way, consider adding 'official' method.

 Comments   
Comment by Szymon Acedański [ 2017-03-2 ]
Hmm, can't we just officially remove them?
Comment by Artur Jamro [ 2017-03-3 ]
I and Tadek think that this is a good idea. All of these buttons are listed on the left sided menu.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1902] Rethink test editing / problem reupload workflow Created: 2017-02-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
After "main problem instances" were introduced, the "right" workflow of editing tests is not intuitive enough, there are also some problems with permissions.
Before the change, the workflow went like this:
1. upload a problem
2. edit tests (e.g. change TL from default 10s to 2s)
3. oops, the problem needs reuploading
4. click the "reupload" action in the ProblemInstance list
5. hooray! the tests TL wasn't reset (still 2s after reupload)

Now it goes like this:
1. upload a problem
2. edit tests, but beware, if you choose "Edit problem" action from the ProblemInstance list, they will be reset after reuploading
3. instead, you should go to problem site, edit tests there (for the main problem instance) and the click "Reset tests limits" action in the ProblemInstance list - this will keep the limits after reupload
4. oops, the problem needs reuploading
5. you have to go to main problem site and reupload the problem - this also isn't obvious, but maybe admins can guess it

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1901] Allow ignoring the "problem needs rejudging" notification for a chosen problem Created: 2017-02-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
It would be nice to have some option for ignoring the notification. Sometimes a reuploaded problem does not need rejudging (e.g. because only the problem statement was changed). In such a case an admin may be tempted to rejudge it anyway just to get rid of an annoying red notification.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1900] Problems with access to model solutions of main problem instance Created: 2017-02-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
I haven't investigated what can cause the problem and whether it is a part of a bigger one, but as far as I understand, even superusers don't have permission to see submission to a main problem instance. This is visible when you upload a problem, then go to it's site, click show model solutions and click the solution's name at the top of the table - you'll get 403.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1899] Add custom categories for announcements Created: 2017-02-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Currently announcements are tied to a round or a task. Sometimes it would be handy to make general (e.g. technical) announcements. One possible solution for an admin is to add a round with an appropriate name (say "Contest", "General" or "Final results") but it's rather hacky.


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1898] Round deletion causes deletion of corresponging announcements without a warning Created: 2017-02-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
During PA 2016 I removed a round in contest settings panel (by clicking "X" in a round admin inline) and then realised that some tied announcements disappeared. I don't remember seeing a message "The deletion of Round XYZ" will cause deletion of following objects".

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1897] Publicsolutions should not be visible during a trial round Created: 2017-02-23  Updated: 2017-02-23

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: For the OI Team

Type: Bug Priority: Major
Reporter: Bartosz Tarnawski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Apparently the PAContestController logic during PA 2016 decided that publicsolutions should be visible from the very beginning of the trial round (they wouldn't be visible during 'real' rounds, though). This was interpreted as a dangerous bug by some contestants.




[SIO-1896] Invalidate (regenerate) ranking after results publishing or disqualification Created: 2017-02-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-2130 When a user changes their contest reg... Closed
is related to SIO-1687 Improve ranking caching Closed

 Description   
Current ranking is not invalidated (regenerated) when public results in a contest results become visible. This is interpreted as a delay / bug by contestants. Example: say that public results of a round are scheduled on 11 am, a contestant refreshes a site at 11:01 and expects to see a full ranking of the round. However, this will not happen before the ranking gets regenerated (for example when some new submission gets judged).

Another situation which does not trigger ranking invalidation but should is when some contestant becomes disqualified (and should disappear from the ranking)

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1895] "Export submissions" is not fully English Created: 2017-02-18  Updated: 2019-03-26  Resolved: 2018-10-28

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Jakub Radoszewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
The following link:
https://szkopul.edu.pl/c/asdlab-2016/export_submissions/
in the English locale reads:

"Here you can export submissions from this contest to an archive in szubrawcy-compatible format. Please note that this feature is optimized for OI and may not work as well for other contest types.

For large contests building the archive may take a while. Please be patient.
Wybierz rundę
Tylko ostatnie zgłoszenia"

 Comments   
Comment by Gerrit Gerrit [ 2018-08-16 ]
Change oioioi~master~Ie6fe0ac16801cbef9eb954f691cec8a42a8df4ae, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3052

(SIO-1895) Fix mixed translation of "Export submissions"

Change-Id: Ie6fe0ac16801cbef9eb954f691cec8a42a8df4ae
Comment by Gerrit Gerrit [ 2018-08-16 ]
Change oioioi~master~Ie6fe0ac16801cbef9eb954f691cec8a42a8df4ae, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3052

(SIO-1895) Fix mixed translation of "Export submissions"

Change-Id: Ie6fe0ac16801cbef9eb954f691cec8a42a8df4ae
Comment by Gerrit Gerrit [ 2018-08-16 ]
Change oioioi~master~Ie6fe0ac16801cbef9eb954f691cec8a42a8df4ae, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3052

(SIO-1895) Fix mixed translation of "Export submissions"

Change-Id: Ie6fe0ac16801cbef9eb954f691cec8a42a8df4ae
Comment by Gerrit Gerrit [ 2018-08-16 ]
Change oioioi~master~Ie6fe0ac16801cbef9eb954f691cec8a42a8df4ae, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3052

(SIO-1895) Fix mixed translation of exportszu and similarsubmits

Change-Id: Ie6fe0ac16801cbef9eb954f691cec8a42a8df4ae
Comment by Michalina Sidor [ 2018-10-28 ]
merged in https://gerrit.sio2project.mimuw.edu.pl/#/c/3052/




[SIO-1894] Model solutions are judged with different options Created: 2017-02-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Obsolete Votes: 1
Labels: None


 Description   
- first time after upload (when judging is automatic) - probably on real cpu
- after rejudging they have different time - like from vcpu

 Comments   
Comment by Wojciech Dubiel [ 2018-08-18 ]
I recently tried to reproduce it, but looks like this doesn't happen anymore?
Maybe the sio2jail-related changes accidentally fixed it?
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1893] Some random bug in output generator Created: 2017-02-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
https://sio2.mimuw.edu.pl/c/oi24-2/s/172639/

Traceback (most recent call last):
  File "/home/oioioi/sio2/oioioi/oioioi/evalmgr/__init__.py", line 194, in evalmgr_job
    env = _run_phase(env, phase)
  File "/home/oioioi/sio2/oioioi/oioioi/evalmgr/__init__.py", line 96, in _run_phase
    env = handler_func(env, **kwargs)
  File "/home/oioioi/sio2/oioioi/oioioi/programs/handlers.py", line 401, in grade_submission
    score, max_score, status = fun(group_results)
  File "/home/oioioi/sio2/oioioi/oioioi/programs/utils.py", line 22, in sum_score_aggregator
    score = sum(scores[1:], scores[0])
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1892] oisubmit returns 500 when there is no problem in a contest Created: 2017-02-13  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
When there is a contest CONTEST without any problems (?), and one tries: "https://sio2.mimuw.edu.pl/c/CONTEST/oisubmit/" he gets this:

Traceback (most recent call last):
  File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/core/ handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
    return func(*args, **kwargs)
  File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/views/ decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/home/oioioi/sio2/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/oioioi/sio2/oioioi/oioioi/oisubmit/views.py", line 93, in oisubmit_view
    form = OISubmitSubmissionForm(request)
  File "/home/oioioi/sio2/oioioi/oioioi/oisubmit/forms.py", line 13, in __init__
    super(OISubmitSubmissionForm, self).__init__(request, *args, **kwargs)
  File "/home/oioioi/sio2/oioioi/oioioi/contests/forms.py", line 112, in __init__
    .filter(contest=contest)[0]
  File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 201, in __getitem__
    return list(qs)[0]
IndexError: list index out of range

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1891] Complaints configurations - allow adding many time periods Created: 2017-02-13  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2017-02-13 ]
Really? When was this feature missing? We never had more than one complaints period per competition stage before.
Comment by Artur Jamro [ 2017-02-13 ]
The rules of olympiad have changed. Now, we are allowing users to log in after each round for a specific period of time to let them check their score instead of printing paper reports. Also, complaints can be made right after the round has finished and before leaving the lab room by participants. Thus, if we still have only one long complaints period, then participants can see option for making a complaint when they log in after round to check their score what is misleading and confusing.
Comment by Szymon Acedański [ 2017-02-13 ]
I would be cautious about letting users complain online in these periods during the competition, as it does not involve local staff, which I think is important. I would suggest to at least ask Jakub if this is fine with him, if this wasn't done yet. :)
Comment by Artur Jamro [ 2017-02-13 ]
I am not sure whether he was the person that has told me about that changes of the rules, but I will ask him. I guess he is aware of that.
Comment by Jakub Radoszewski [ 2017-02-14 ]
The complaints period for contestants in SIO2 is still one: it starts on Thursday at 8 pm.

As for the complaints that can be filed immediately after the end of the competition, still in the labs, they will be handled just as in the previous years: the Local Committee will send an e-mail to oi-reklamacje <oi-reklamacje@dasie.mimuw.edu.pl> with all the details.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1890] Exclusiveness configs - allow adding many time periods Created: 2017-02-13  Updated: 2019-03-26  Resolved: 2019-01-31

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Relates
relates to SIO-1607 ForceIPDNSAuth middleware is still ac... Closed

 Comments   
Comment by Gerrit Gerrit [ 2019-01-28 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be nice to have a confirmation dialog instead of a warning, but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets).
This could be done in javascript, but it would be impossible to test it
and as such it could be dangerous to rely on it working properly.

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
TODO: tests
TODO: breaks a test, why even?
Comment by Gerrit Gerrit [ 2019-01-29 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning, but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
TODO: tests
Comment by Gerrit Gerrit [ 2019-01-30 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning, but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
TODO: tests
Comment by Gerrit Gerrit [ 2019-01-30 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning, but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
TODO: tests
Comment by Gerrit Gerrit [ 2019-01-30 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning, but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
TODO: tests
Comment by Gerrit Gerrit [ 2019-01-30 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning, but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
TODO: tests
Comment by Gerrit Gerrit [ 2019-01-30 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning, but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
TODO: tests
Comment by Gerrit Gerrit [ 2019-01-30 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Added the following tests testing this functionality:
- oioioi/contestexcl/tests.py
  - class TestExclusiveContestsAdmin:
    - test_exclusiveness_multiple_on
    - test_exclusiveness_multiple_off
    - test_exclusiveness_multiple_mixed_on_off
    - test_exclusiveness_round_warning
    - test_exclusiveness_round_warning_multiple_configs
  - class TestExclusiveContests:
    - test_exclusive_contest_multiple_configs

And also refactored other contestexcl tests to avoid repeating code

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
Comment by Gerrit Gerrit [ 2019-01-30 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Added the following tests testing this functionality:
- oioioi/contestexcl/tests.py
  - class TestExclusiveContestsAdmin:
    - test_exclusiveness_multiple_on
    - test_exclusiveness_multiple_off
    - test_exclusiveness_multiple_mixed_on_off
    - test_exclusiveness_round_warning
    - test_exclusiveness_round_warning_multiple_configs
  - class TestExclusiveContests:
    - test_exclusive_contest_multiple_configs

And also refactored other contestexcl tests to avoid repeating code

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
Comment by Gerrit Gerrit [ 2019-01-31 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Added the following tests testing this functionality:
- oioioi/contestexcl/tests.py
  - class TestExclusiveContestsAdmin:
    - test_exclusiveness_multiple_on
    - test_exclusiveness_multiple_off
    - test_exclusiveness_multiple_mixed_on_off
    - test_exclusiveness_round_warning
    - test_exclusiveness_round_warning_multiple_configs
  - class TestExclusiveContests:
    - test_exclusive_contest_multiple_configs

And also refactored other contestexcl tests to avoid repeating code

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef
Comment by Gerrit Gerrit [ 2019-01-31 ]
Change oioioi~master~I493c27f3edfde16fdd80781819e7dcfc06dc51ef, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/3137

(SIO-1890) Allow multiple exclusiveness configs

This change should allow to define more than one exclusiveness config.
Also displays a warning when a round is set not to be exclusive.

It would be safer to have a confirmation dialog instead of a warning but
since exclusiveness configs covering every round can change both with
changes to rounds and configs themselves, Django admin makes it
difficult (you can't easily cross-validate different formsets, and in
save_formset it's too late to raise validation errors).
This could be done in javascript, but it would be impossible to test it
and as such it could be unsafe to rely on it working properly.

Added the following tests testing this functionality:
- oioioi/contestexcl/tests.py
  - class TestExclusiveContestsAdmin:
    - test_exclusiveness_multiple_on
    - test_exclusiveness_multiple_off
    - test_exclusiveness_multiple_mixed_on_off
    - test_exclusiveness_round_warning
    - test_exclusiveness_round_warning_multiple_configs
  - class TestExclusiveContests:
    - test_exclusive_contest_multiple_configs

And also refactored other contestexcl tests to avoid repeating code

Change-Id: I493c27f3edfde16fdd80781819e7dcfc06dc51ef




[SIO-1889] Can't remove worker Created: 2017-02-2  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Attachments: PNG File 2017-02-02-191944_1600x900_scrot.png    

 Description   
 Removing a worker in the worker list fails with a stacktrace.

```
Internal Server Error: /c/oi21-2/workers/
Traceback (most recent call last):
  File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/core/ handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
    return func(*args, **kwargs)
  File "/home/oioioi/sio2/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/oioioi/sio2/oioioi/oioioi/workers/views.py", line 62, in show_info_about_workers
    del_worker(selected)
  File "/home/oioioi/sio2/oioioi/oioioi/workers/views.py", line 30, in del_worker
    server.forget_worker(i)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1587, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1306, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1482, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 794, in close
    raise Fault(**self._stack[0])
Fault: <Fault 8001: 'procedure forget_worker not found'>
```

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1888] download config.yml Created: 2017-01-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Far Future
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
It will be nice if there would be option to download config.yml file with time and memory limit set online. In general, such file might be added to package and later, doing reupload limits won't have to be set manually.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1887] Upgrade Django to 1.9 Created: 2016-12-21  Updated: 2019-03-26  Resolved: 2017-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 3

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by SIO-1830 Upgrade django-registration dependency Closed
is blocked by SIO-1980 Support for django 1.9 Closed
is blocked by SIO-1885 Support Django 1.9 (or at least prepa... Closed
Duplicate
duplicates SIO-1885 Support Django 1.9 (or at least prepa... Closed
is duplicated by SIO-1885 Support Django 1.9 (or at least prepa... Closed

 Comments   
Comment by Gerrit Gerrit [ 2017-06-17 ]
Change oioioi~master~I48352ca98a439d4857ebc0c5f91307fb963c9fdc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2875

SIO-1887 Upgrade Django to 1.9

Change-Id: I48352ca98a439d4857ebc0c5f91307fb963c9fdc
Comment by Gerrit Gerrit [ 2017-06-20 ]
Change oioioi~master~I48352ca98a439d4857ebc0c5f91307fb963c9fdc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2875

SIO-1887 Upgrade Django to 1.9

Change-Id: I48352ca98a439d4857ebc0c5f91307fb963c9fdc
Comment by Gerrit Gerrit [ 2017-06-20 ]
Change oioioi~master~I48352ca98a439d4857ebc0c5f91307fb963c9fdc, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2875

SIO-1887 Upgrade Django to 1.9

Change-Id: I48352ca98a439d4857ebc0c5f91307fb963c9fdc
Comment by Gerrit Gerrit [ 2017-06-21 ]
Change oioioi~master~I48352ca98a439d4857ebc0c5f91307fb963c9fdc, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2875

SIO-1887 Upgrade Django to 1.9

Change-Id: I48352ca98a439d4857ebc0c5f91307fb963c9fdc
Comment by Gerrit Gerrit [ 2017-06-21 ]
Change oioioi~master~I48352ca98a439d4857ebc0c5f91307fb963c9fdc, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2875

SIO-1887 Upgrade Django to 1.9

Change-Id: I48352ca98a439d4857ebc0c5f91307fb963c9fdc
Comment by Gerrit Gerrit [ 2017-06-21 ]
Change oioioi~master~I48352ca98a439d4857ebc0c5f91307fb963c9fdc, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2875

SIO-1887 Upgrade Django to 1.9

Change-Id: I48352ca98a439d4857ebc0c5f91307fb963c9fdc
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change oioioi~master~I48352ca98a439d4857ebc0c5f91307fb963c9fdc, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2875

SIO-1887 Upgrade Django to 1.9

Change-Id: I48352ca98a439d4857ebc0c5f91307fb963c9fdc
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change oioioi~master~I48352ca98a439d4857ebc0c5f91307fb963c9fdc, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2875

SIO-1887 Upgrade Django to 1.9

Change-Id: I48352ca98a439d4857ebc0c5f91307fb963c9fdc
Comment by Gerrit Gerrit [ 2017-06-22 ]
Change oioioi~master~I48352ca98a439d4857ebc0c5f91307fb963c9fdc, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2875

SIO-1887 Upgrade Django to 1.9

Change-Id: I48352ca98a439d4857ebc0c5f91307fb963c9fdc




[SIO-1886] Add explicit app_label for model classes Created: 2016-12-13  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1885 Support Django 1.9 (or at least prepa... Closed

 Description   
Example error message during makemigrations:

RemovedInDjango19Warning: Model class oioioi.newsfeed.models.News doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1885] Support Django 1.9 (or at least prepare for it) Created: 2016-12-13  Updated: 2019-03-26  Resolved: 2017-06-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1887 Upgrade Django to 1.9 Closed
is blocked by SIO-1886 Add explicit app_label for model classes Resolved
Duplicate
duplicates SIO-1887 Upgrade Django to 1.9 Closed
is duplicated by SIO-1887 Upgrade Django to 1.9 Closed

 Description   
1) python2.7/site-packages/django/db/models/fields/__init__.py:1414:
RuntimeWarning: DateTimeField TaskMeta.date_done received a naive datetime (2017-03-21 00:00:00) while time zone support is active.
  RuntimeWarning)


2) python2.7/site-packages/django/core/management/base.py:260:
RemovedInDjango19Warning: "requires_model_validation" is deprecated in favor of "requires_system_checks".
  RemovedInDjango19Warning)




[SIO-1884] Poor page titles Created: 2016-12-7  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Przemysław Jakub Kozłowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Pages in the admin panel have poor page titles like "Select problem instance to change - OIOIOI Admin" on page that is problem list. By the way you can't even select problems on that page.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1883] Number of questions is still visible in upper right corner in maintenance mode. Created: 2016-12-7  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Przemysław Jakub Kozłowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
When maintenance mode is enabled, users are still able to see number of unread questions in the upper right corner.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1882] Make sure that SIO2 has correct MAX_MEMORY_LIMIT_FOR_TEST in settings.py Created: 2016-12-5  Updated: 2019-03-26  Resolved: 2016-12-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: For the OI Team

Type: Bug Priority: Critical
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1881 Szkopul doesn't accept memory limits ... Closed

 Comments   
Comment by Przemysław Jakub Kozłowski [ 2016-12-7 ]
I set this variable in settings.py on sio2.mimuw.edu.pl a few months ago: MAX_MEMORY_LIMIT_FOR_TEST = 520 * 1024. This causes that the memory limit 515MB is accepted, but 516 MB is not.

The memory limit is automatically detected from the content of the task using the formula:
"return (value + (value + 31) / 32) * 1000".

Could I ask for a more detailed explanation of the problem?
Comment by Szymon Acedański [ 2016-12-14 ]
Just check. :)




[SIO-1881] Szkopul doesn't accept memory limits 256 MB Created: 2016-12-5  Updated: 2019-03-26  Resolved: 2016-12-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Next Sprint

Type: Bug Priority: Minor
Reporter: Jakub Radoszewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-1882 Make sure that SIO2 has correct MAX_M... Closed

 Description   
When I am trying to add a problem package with memory limit 256 MB stated in the task statement, I receive an error informing that "Memory limit mustn't be greater than 262144KiB".

 Comments   
Comment by Szymon Acedański [ 2016-12-5 ]
Good catch.

The SIO2 part was moved to another ticket.




[SIO-1880] Problem packages not available for download by admin Created: 2016-12-1  Updated: 2019-03-26  Resolved: 2017-01-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 2

Type: Bug Priority: Major
Reporter: Jakub Radoszewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
It used to be the case that in the admin view in OI I could download problem packages (for example, to be able to update them). This feature seems to be no longer available, but it was very useful. I miss it!

 Comments   
Comment by Przemysław Jakub Kozłowski [ 2016-12-7 ]
Super admin can download problem packages: Left menu -> System Administration -> Problem packages -> Package file.
Comment by Jakub Radoszewski [ 2016-12-8 ]
Well, yes, but for me it would make sense if I could download the problem package if I'm simply administrating a single contest (like I do in https://szkopul.edu.pl/c/asdlab-2016 under a teacher's account).
Comment by Gerrit Gerrit [ 2016-12-15 ]
Change I2df43c8e31303617761a3bdc05f8b5f716fba7ef, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2675

SIO-1880 Add possibility to download problem packages from problem instances view and problemset

Change-Id: I2df43c8e31303617761a3bdc05f8b5f716fba7ef
Comment by Gerrit Gerrit [ 2016-12-19 ]
Change I2df43c8e31303617761a3bdc05f8b5f716fba7ef, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2675

SIO-1880 Add possibility to download problem packages from problem instances view and problemset

Change-Id: I2df43c8e31303617761a3bdc05f8b5f716fba7ef




[SIO-1879] The ellipsis on the questions page for admin view does not work Created: 2016-12-1  Updated: 2019-03-26  Resolved: 2017-03-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 2

Type: Bug Priority: Major
Reporter: Jakub Radoszewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
This is a feature that seems to have worked before.

In the admin view for questions in OI24_1:

https://sio2.mimuw.edu.pl/c/oi24-1/questions

I have 4 pages of questions. On the top of the page I see:
<< 1 ... 4 >>
where I can only click on "4" (the last page) or ">>" (the next page). If I click on ">>", I get to page 2, but the ellipsis does not unwind to "2 3".

Actually the ideal interface is for the ellipsis to be like:
1 2 ... 4 if on page 1
1 2 3 4 on pages 2 and 3 (no ellipsis)
1 2 ... 4 on page 4
Or even if there are just a few options (like, at most 5), all the options should be visible.

 Comments   
Comment by Gerrit Gerrit [ 2016-12-7 ]
Change Icee4d5b403aa1ae374b27e926037afa6550bce6b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2668

SIO-1879 The ellipsis on the questions page for admin view does not work

Limit of pages displayed around current page increased.

Change-Id: Icee4d5b403aa1ae374b27e926037afa6550bce6b
Comment by Gerrit Gerrit [ 2016-12-7 ]
Change Icee4d5b403aa1ae374b27e926037afa6550bce6b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2668

SIO-1879 The ellipsis on the questions page for admin view does not work

Limit of pages displayed around current page increased.

Change-Id: Icee4d5b403aa1ae374b27e926037afa6550bce6b




[SIO-1878] Worker disconnects after trying to send too long result_string in environ. Created: 2016-11-30  Updated: 2019-03-26  Resolved: 2017-02-2

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Sometimes worker can include the first line of output in resulting environ which is sent back to sioworkersd. It's length is unlimited, so the connection may possibly fail when it's too long.

 Comments   
Comment by Gerrit Gerrit [ 2016-12-3 ]
Change Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2663

SIO-1878 Limit result_string's length.

Change-Id: Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f
Comment by Gerrit Gerrit [ 2016-12-3 ]
Change Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2663

SIO-1878 Limit result_string's length.

Change-Id: Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f
Comment by Gerrit Gerrit [ 2016-12-10 ]
Change Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2663

SIO-1878 Limit result_string's length.

Change-Id: Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f
Comment by Gerrit Gerrit [ 2016-12-10 ]
Change Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2663

SIO-1878 Limit result_string's length.

Change-Id: Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f
Comment by Gerrit Gerrit [ 2016-12-10 ]
Change Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2663

SIO-1878 Limit result_string's length.

Change-Id: Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f
Comment by Gerrit Gerrit [ 2016-12-10 ]
Change Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2663

SIO-1878 Limit result_string's length.

Change-Id: Iaa06ec1ab7ba6463b807d30697a1c875d6bf427f




[SIO-1877] All submissions in evaluation queue have status "In progress". Created: 2016-11-30  Updated: 2019-03-26  Resolved: 2017-03-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Next Sprint
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Przemysław Jakub Kozłowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Submissions in evaluation queue have status "In progress" even after the end of judging. They aren't removed from the queue.

 Comments   
Comment by Gerrit Gerrit [ 2017-02-24 ]
Change I737d864f5be165dcd68c2c990d34662d01ccfabf, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2688

(SIO-1877) Fix submitsqueue losing track of job IDs

* add a new type of handler: job_id_changed_handler,
  which is called whenever evalmgr receives an env cointaining
  a previous job_id
* make submitsqueue use the job_id_changed_handler instead of
  the postpone_handler

Change-Id: I737d864f5be165dcd68c2c990d34662d01ccfabf
Comment by Gerrit Gerrit [ 2017-03-5 ]
Change I737d864f5be165dcd68c2c990d34662d01ccfabf, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2688

(SIO-1877) Fix submitsqueue losing track of job IDs

Use `postpone` instead of `evalmgr_job.delay` in receive_from_workers
for adding env back into evalmgr queue, like Zeus does.

This way, the postpone handler of submitsqueue will be run,
and it will know the new celery task id.

Change-Id: I737d864f5be165dcd68c2c990d34662d01ccfabf
Comment by Gerrit Gerrit [ 2017-03-5 ]
Change I737d864f5be165dcd68c2c990d34662d01ccfabf, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2688

(SIO-1877) Fix submitsqueue losing track of job IDs

Use `postpone` instead of `evalmgr_job.delay` in receive_from_workers
for adding env back into evalmgr queue, like Zeus does.

This way, the postpone handler of submitsqueue will be run,
and it will know the new celery task id.

Change-Id: I737d864f5be165dcd68c2c990d34662d01ccfabf
Comment by Gerrit Gerrit [ 2017-03-5 ]
Change I737d864f5be165dcd68c2c990d34662d01ccfabf, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2688

(SIO-1877) Fix submitsqueue losing track of job IDs

Use `postpone` instead of `evalmgr_job.delay` in receive_from_workers
for adding env back into evalmgr queue, like Zeus does.

This way, the postpone handler of submitsqueue will be run,
and it will know the new celery task id.

Change-Id: I737d864f5be165dcd68c2c990d34662d01ccfabf
Comment by Wojciech Dubiel [ 2017-03-22 ]
The referenced gerrit change (temp)fixed this AFAIK.
Dunno why the issue didn't close automagically.
Comment by Szymon Acedański [ 2017-03-22 ]
The resolving of a ticket is not completely automagical. It requires someone to reply in Gerrit with a comment containing "#RESOLVE".




[SIO-1876] Redirect loop: http://oioioi.mimuw.edu.pl/c/oi24-1/admin/contests/submission/?user__username=karateka333 Created: 2016-11-30  Updated: 2018-08-17  Resolved: 2018-08-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Bug Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Cannot Reproduce Votes: 0
Labels: None

Attachments: PNG File Screen Shot 2016-11-30 at 12.49.11.png    
Issue Links:
Relates
relates to SIO-1874 oioioi.mimuw.edu.pl should always red... Closed

 Description   
When not logged in initially.

 Comments   
Comment by Mikołaj Walczak [ 2016-11-30 ]
How to reproduce
1. Log out
2. go to http://oioioi.mimuw.edu.pl/c/oi24-1/admin/contests/submission/?user__username=karateka333
3. log in
4. LOOP
Comment by Michalina Sidor [ 2018-08-16 ]
Cannot reproduce it now.




[SIO-1875] oi-reklamacje should properly use https:// links in emails Created: 2016-11-30  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1874 oioioi.mimuw.edu.pl should always red... Closed

 Description   
The e-mail that is sent via "Reklamacje" sometimes starts like:

"Cześć,

otrzymaliśmy następującą reklamację:

Konkurs: XXIV Olimpiada Informatyczna — I etap
Użytkownik: Jadwiga Agnieszka Czyżewska (jadwiga21)
Uczestnictwo: Aktywny (druga szkoły ponadgimnazjalnej, XIV Liceum Ogólnokształcące im. Stanisława Staszica, Warszawa)
Zgłoszenia: http://sio2.mimuw.edu.pl/c/oi24-1/admin/contests/submission/?user__username=jadwiga21
"

and sometimes like:

"Cześć,

otrzymaliśmy następującą reklamację:

Konkurs: XXIV Olimpiada Informatyczna — I etap
Użytkownik: Jakub Pyka (karateka333)
Uczestnictwo: Aktywny (trzecia szkoły ponadgimnazjalnej, Akademickie Liceum Ogólnokształcące Politechniki Wrocławskiej, Wrocław)
Zgłoszenia: http://oioioi.mimuw.edu.pl/c/oi24-1/admin/contests/submission/?user__username=karateka333
"

In the latter case, the link sent as "Zgłoszenia" is incorrect (it starts with oioioi not sio2) and leads nowhere. I haven't been able to spot a pattern of when exactly this happens.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1874] oioioi.mimuw.edu.pl should always redirect to sio2.mimuw.edu.pl Created: 2016-11-29  Updated: 2019-03-26  Resolved: 2016-12-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: For the OI Team

Type: Bug Priority: Major
Reporter: Jakub Radoszewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-1875 oi-reklamacje should properly use htt... Resolved
is related to SIO-1876 Redirect loop: http://oioioi.mimuw.ed... Closed

 Description   
The e-mail that is sent via "Reklamacje" sometimes starts like:

"Cześć,

otrzymaliśmy następującą reklamację:

Konkurs: XXIV Olimpiada Informatyczna — I etap
Użytkownik: Jadwiga Agnieszka Czyżewska (jadwiga21)
Uczestnictwo: Aktywny (druga szkoły ponadgimnazjalnej, XIV Liceum Ogólnokształcące im. Stanisława Staszica, Warszawa)
Zgłoszenia: http://sio2.mimuw.edu.pl/c/oi24-1/admin/contests/submission/?user__username=jadwiga21
"

and sometimes like:

"Cześć,

otrzymaliśmy następującą reklamację:

Konkurs: XXIV Olimpiada Informatyczna — I etap
Użytkownik: Jakub Pyka (karateka333)
Uczestnictwo: Aktywny (trzecia szkoły ponadgimnazjalnej, Akademickie Liceum Ogólnokształcące Politechniki Wrocławskiej, Wrocław)
Zgłoszenia: http://oioioi.mimuw.edu.pl/c/oi24-1/admin/contests/submission/?user__username=karateka333
"

In the latter case, the link sent as "Zgłoszenia" is incorrect (it starts with oioioi not sio2) and leads nowhere. I haven't been able to spot a pattern of when exactly this happens.

 Comments   
Comment by Maciej Matraszek [ 2016-11-29 ]
The OI's SIO2 instance is accessible both under sio2.* and oioioi.*: the link depends on the address used by the requester. The second link works for me, but the sessions are separate between those two domains, so you might need to log in there as well.
All in all, it's good that this issue raises your concerns and I believe we should remove the oioioi.* alias.




[SIO-1873] Visual discrimination of rounds in the problems view Created: 2016-11-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Improvement Priority: Major
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Currently, in the problems view, all available problems are shown as a list. It takes a while to find out, which of them are current.

We could color the pending ones or add a small progress bar indicating time remaining to the end of the submission for a single problem.

 Comments   
Comment by Mikołaj Walczak [ 2017-02-12 ]
Probably a duplicate of SIO-1534
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1872] Guest additions version mismatch in Vagrant Created: 2016-11-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Bug Priority: Minor
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Arch Linux, vbox 5.1


 Description   
{code:title=log}
> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 8001 (guest) => 8001 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: password
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.36
    default: VirtualBox Version: 5.1
==> default: Mounting shared folders...
    default: /sio2/oioioi => /home/marcin/proj/mimuw/oioioi
{code}

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1871] Typo in hidden post, it hurts my eyes Created: 2016-11-22  Updated: 2019-03-26  Resolved: 2016-11-22

Status: Closed
Project: The SIO2 project
Component/s: Translations
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
oioioi/oioioi/locale/pl/LC_MESSAGES/django.po:2656
msgid "This post was hidden by the contest administrator"
msgstr "Wiadomość został ukryty przez administratora."

 Comments   
Comment by Paweł Koniarski [ 2016-11-22 ]
Fixed in Transifex




[SIO-1870] Multiple ValidationErrors are raised when submitting too big files Created: 2016-11-20  Updated: 2019-03-26  Resolved: 2017-01-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
If a file is too big, one ValidationError (the correct one) is about that fact. But there also appears another error: "You either have to upload a file or paste the source" (or something similar)

Found when fixing SIO-1836

 Comments   
Comment by Marcin Mielniczuk [ 2016-11-30 ]
The pdb backtrace shows that both errors origin from:

  /sio2/venv/local/lib/python2.7/site-packages/django/forms/forms.py(393)full_clean()
    391
    392 self._clean_fields()
    393 self._clean_form()
    394 self._post_clean()

"You either have to upload a file or paste the source" comes from line 393, but the file size is check in 392
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change If1375c19156afc2f7bbc925f847bca705d37be1d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2674

SIO-1870 Prevent multiple ValidationErrors being thrown when file size limit is exceeded

Change-Id: If1375c19156afc2f7bbc925f847bca705d37be1d
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change If1375c19156afc2f7bbc925f847bca705d37be1d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2674

SIO-1870 Prevent multiple ValidationErrors being thrown when file size limit is exceeded

Change-Id: If1375c19156afc2f7bbc925f847bca705d37be1d




[SIO-1869] The submission page raises two ValidationErrors Created: 2016-11-16  Updated: 2019-03-26  Resolved: 2016-11-30

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None


 Description   
If the file is too big, there's an error that it's too big. But there's an additional error telling the user that they need to either upload a file or paste code.

 Comments   
Comment by Marcin Mielniczuk [ 2016-11-30 ]
Duplicate of SIO-1870




[SIO-1868] Add worker name to worker stacktraces Created: 2016-11-15  Updated: 2019-03-26  Resolved: 2017-02-2

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 2

Type: Improvement Priority: Major
Reporter: Wojciech Dubiel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
When judging a task results in an exception in the worker, the stacktrace is sent back, and included in the sio2 system error details. However, it doesn't specify, from which worker the exception comes.

The worker (or the daemon to which it reports exceptions) should include the worker's name in the error message.

It would be really useful to know which worker generated the exception, especially in cases like MemoryError, NoSpaceOnDevice, etc.

 Comments   
Comment by Gerrit Gerrit [ 2016-12-5 ]
Change I293765d07b37511fa25f110965cb843d09aa9377, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2665

SIO-1868 Add worker name to remote stracktraces.

Change-Id: I293765d07b37511fa25f110965cb843d09aa9377
Comment by Gerrit Gerrit [ 2016-12-7 ]
Change I293765d07b37511fa25f110965cb843d09aa9377, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2665

SIO-1868 Add worker name to remote stracktraces.

Change-Id: I293765d07b37511fa25f110965cb843d09aa9377
Comment by Gerrit Gerrit [ 2016-12-7 ]
Change I293765d07b37511fa25f110965cb843d09aa9377, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2665

SIO-1868 Add worker name to remote stracktraces.

Change-Id: I293765d07b37511fa25f110965cb843d09aa9377
Comment by Gerrit Gerrit [ 2016-12-7 ]
Change I293765d07b37511fa25f110965cb843d09aa9377, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2665

SIO-1868 Add worker name to remote stracktraces.

Change-Id: I293765d07b37511fa25f110965cb843d09aa9377
Comment by Gerrit Gerrit [ 2016-12-10 ]
Change I293765d07b37511fa25f110965cb843d09aa9377, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2665

SIO-1868 Add worker name to remote stracktraces.

Change-Id: I293765d07b37511fa25f110965cb843d09aa9377




[SIO-1867] Mail submission admin view is not filtered to the current contest Created: 2016-11-15  Updated: 2019-03-26  Resolved: 2017-01-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 2

Type: Bug Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: ease


 Description   
The mail submission admin view shows submissions from other contests as well.
I suppose this method:
https://github.com/sio2project/oioioi/blob/master/oioioi/mailsubmit/admin.py#L95
should be named "get_queryset", not just "queryset".

 Comments   
Comment by Gerrit Gerrit [ 2016-12-19 ]
Change I56d8743ba030dddc7429be77a8923188e5c3444a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2678

SIO-1867 Mail submission admin view is not filtered to the current contest

Change-Id: I56d8743ba030dddc7429be77a8923188e5c3444a




[SIO-1866] Allow temporarily blocking submitting tasks Created: 2016-11-14  Updated: 2020-12-16

Status: Reopened
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Wojciech Dubiel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tag2


 Description   
When performing maintenance/troubleshooting it would be useful to be able to temporarily prevent participants from submitting solutions for evaluation, without putting the whole site in maintenance mode.

Alternatively, a way to suspend judging of all submissions on all problems (except submissions sent by admins) would also do the trick in most cases.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1865] Countdown translations are broken Created: 2016-11-11  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
This commit:
https://github.com/sio2project/oioioi/commit/0a750aa57857b91bd968888bb5ec08b608440dc2
introduces two issues to the countdown translations:
* it splits strings into multiple lines, which is known to not work well with translations facility;
* it uses ngettext to translate a string without quantity in line 32 (?!) .


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1864] Update Celery dependency to 4.0.0 Created: 2016-11-9  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Szymon Pajzert Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
Consider updating to Celery 4.0.0 when it's stable.

It uses changed API, but as the first step we could remove django-celery wrapper, unnecessary from Celery 3.1.




[SIO-1863] Enable marking judging machines to be allowed/disallowed to judge in CPU mode Created: 2016-11-2  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Semester

Type: Improvement Priority: Minor
Reporter: Artur Jamro Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
If you want to connect some instances of SIO2 to sioworkersd and one of these instances wants to judge tasks in CPU mode, then we can't use all judging machines that we have, because they have different CPUs. If we can mark each of judging machines that it is allowed (or disallowed) to judge in CPU mode, then we can use all judging machines and some of them would be used only in VCPU mode.

 Comments   
Comment by Maciej Matraszek [ 2016-11-21 ]
Moreover, judging in CPU mode must be exclusive: only one task may run on a multicore machine, to prevent interferation. To achieve this, we need a proper read-write-style locking mechanism.
Comment by Artur Jamro [ 2017-05-30 ]
Solved by introducing Prioritizing Scheduler (SIO-1930).




[SIO-1862] "Find my place" button should display error message when user is not present in ranking Created: 2016-11-2  Updated: 2019-03-26  Resolved: 2016-11-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2016/17 Sprint 1
Fix Version/s: TAG 2016/17 Sprint 1

Type: Bug Priority: Minor
Reporter: Adrian Naruszko Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
This error message seems to exists in rankings view code but is not displayed.

 Comments   
Comment by Gerrit Gerrit [ 2016-11-14 ]
Change Ieb1290a4b1c2cc644073f298a553593f93a9b0c3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2652

SIO-1862 "Find my place" button should display error message when user is not present in ranking

Click on "Find my place" displays an error message when user is not in the ranking.

Change-Id: Ieb1290a4b1c2cc644073f298a553593f93a9b0c3
Comment by Gerrit Gerrit [ 2016-11-14 ]
Change Ieb1290a4b1c2cc644073f298a553593f93a9b0c3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2652

SIO-1862 "Find my place" button should display error message when user is not present in ranking

Click on "Find my place" displays an error message when user is not in the ranking.
Trailing whitespaces removed, long lines divided.

Change-Id: Ieb1290a4b1c2cc644073f298a553593f93a9b0c3
Comment by Gerrit Gerrit [ 2016-11-14 ]
Change Ieb1290a4b1c2cc644073f298a553593f93a9b0c3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2652

SIO-1862 "Find my place" button should display error message when user is not present in ranking

Click on "Find my place" displays an error message when user is not in the ranking.
Trailing whitespaces removed, long lines divided #2.

Change-Id: Ieb1290a4b1c2cc644073f298a553593f93a9b0c3
Comment by Gerrit Gerrit [ 2016-11-14 ]
Change Ieb1290a4b1c2cc644073f298a553593f93a9b0c3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2652

SIO-1862 "Find my place" button should display error message when user is not present in ranking

Click on "Find my place" displays an error message when user is not in the ranking.
Trailing whitespaces removed, long lines divided #2.
Import moved, typo fixed.

Change-Id: Ieb1290a4b1c2cc644073f298a553593f93a9b0c3
Comment by Gerrit Gerrit [ 2016-11-14 ]
Change Ieb1290a4b1c2cc644073f298a553593f93a9b0c3, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2652

SIO-1862 "Find my place" button should display error message when user is not present in ranking

Click on "Find my place" displays an error message when user is not in the ranking.
Trailing whitespaces removed, long lines divided #2.
Import moved, typo fixed.
Empty line removed.

Change-Id: Ieb1290a4b1c2cc644073f298a553593f93a9b0c3
Comment by Gerrit Gerrit [ 2016-11-14 ]
Change Ieb1290a4b1c2cc644073f298a553593f93a9b0c3, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2652

SIO-1862 "Find my place" button should display error message when user is not present in ranking

Click on "Find my place" displays an error message when user is not in the ranking.
Trailing whitespaces removed, long lines divided #2.
Import moved, typo fixed #2.
Empty line removed.

Change-Id: Ieb1290a4b1c2cc644073f298a553593f93a9b0c3
Comment by Gerrit Gerrit [ 2016-11-20 ]
Change Ieb1290a4b1c2cc644073f298a553593f93a9b0c3, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2652

SIO-1862 "Find my place" button should display error message when user is not present in ranking

Click on "Find my place" displays an error message when user is not in the ranking.
Improved tests checking errors count.

Change-Id: Ieb1290a4b1c2cc644073f298a553593f93a9b0c3
Comment by Gerrit Gerrit [ 2016-11-20 ]
Change Ieb1290a4b1c2cc644073f298a553593f93a9b0c3, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2652

SIO-1862 "Find my place" button should display error message when user is not present in ranking

Click on "Find my place" displays an error message when user is not in the ranking.
Improved tests checking errors count.
Trailing whitespaces removed.

Change-Id: Ieb1290a4b1c2cc644073f298a553593f93a9b0c3
Comment by Gerrit Gerrit [ 2016-11-23 ]
Change Ieb1290a4b1c2cc644073f298a553593f93a9b0c3, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2652

SIO-1862 "Find my place" button should display error message when user is not present in ranking

Click on "Find my place" displays an error message when user is not in the ranking.
Improved tests checking errors count.
Trailing whitespaces removed.

Change-Id: Ieb1290a4b1c2cc644073f298a553593f93a9b0c3




[SIO-1861] Update static analysis in gerrit Created: 2016-11-2  Updated: 2019-03-26  Resolved: 2016-11-2

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Cannot Reproduce Votes: 0
Labels: easy, to-be-discussed
Environment: Gerrit, Jenkins


 Description   
Static analysis is not sufficient in many cases, forcing code reviewers to unnecessarily point out simple mistakes - too long line, white-spaces at the end of the line.

Solution is to add new rules for STATIC. It can be solved during some administration jobs.




[SIO-1860] sio2.mimuw.edu.pl should migrate from SHA1 Created: 2016-11-2  Updated: 2019-03-26  Resolved: 2016-12-21

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 1

Type: Bug Priority: Minor
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: Firefox 49, Arch Linux


 Description   
From the web console:

This site makes use of a SHA-1 Certificate; it’s recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.

https://developer.mozilla.org/en-US/docs/Web/Security/Weak_Signature_Algorithm




[SIO-1859] More elaborate info on test run Created: 2016-11-2  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: For the OI Team

Type: Improvement Priority: Major
Reporter: Jakub Radoszewski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-2050 Submission limit should be visible in... Closed

 Description   
Proszę o zmianę treści komunikatu:

Maksymalna wielkość wejścia to 100 KiB albo 50 KiB zzipowane. Pamiętaj, że uruchomienie próbne nie sprawdza poprawności wejścia ani wyjścia programu.

na:

Maksymalna wielkość wejścia to 100 KiB albo 50 KiB zzipowane. Pamiętaj, że uruchomienie próbne nie jest zgłoszeniem rozwiązania do sprawdzenia oraz nie sprawdza poprawności wejścia ani wyjścia programu. Komunikat "Brak błędu" oznacza jedynie, że zmieścił się w wyznaczonym limicie czasu i limicie pamięci takim jak w danym zadaniu. Odpowiedź wygenerowaną przez program można pobrać / podejrzeć po wejściu w szczegóły zgłoszenia.

Byłoby jeszcze sympatyczniej, gdyby system automatycznie podawał, ile jeszcze uruchomień próbnych do danego zadania mi zostało.

 Comments   
Comment by Zuzanna Opała [ 2018-10-24 ]
Oba wspominają o wyświetlaniu limitu zgłoszeń / ile zgłoszeń zostało
Comment by Gerrit Gerrit [ 2018-12-5 ]
Change oioioi~master~I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3110

SIO-1859 Add more elaborate info about test run

Change-Id: I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c
Comment by Gerrit Gerrit [ 2018-12-5 ]
Change oioioi~master~I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3110

SIO-1859 part I: Display number of test runs left

Change-Id: I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c
Comment by Gerrit Gerrit [ 2018-12-5 ]
Change oioioi~master~I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3110

SIO-1859 part I: Display number of test runs left

Change-Id: I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c
Comment by Gerrit Gerrit [ 2018-12-5 ]
Change oioioi~master~I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3110

SIO-1859 part I: Display number of test runs left

Change-Id: I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c
Comment by Gerrit Gerrit [ 2019-01-5 ]
Change oioioi~master~I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3110

SIO-1859 part I: Display number of test runs left

Change-Id: I7e8ab0f60218816b8081fd034cb62ddfcf8dd75c




[SIO-1858] Update Vagrantfile Created: 2016-10-26  Updated: 2019-03-26  Resolved: 2016-11-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Tadeusz Dudkiewicz Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Update Vagrantfile, so it will work with current version of sio2 (and with new workers).

 Comments   
Comment by Gerrit Gerrit [ 2016-10-26 ]
Change I2acad3dcd41b1f9ab9dfd74babc6449df34c9cdc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2641

SIO-1858 Update Vagrantfile

New, working version of Vagrantfile. To use it, simple clone oioioi and
run `vagrant up` in project's root directory (where Vagrantfile already
is present).

Change-Id: I2acad3dcd41b1f9ab9dfd74babc6449df34c9cdc
Comment by Gerrit Gerrit [ 2016-10-27 ]
Change I2acad3dcd41b1f9ab9dfd74babc6449df34c9cdc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2641

SIO-1858 Update Vagrantfile

Change-Id: I2acad3dcd41b1f9ab9dfd74babc6449df34c9cdc
Comment by Gerrit Gerrit [ 2016-11-2 ]
Change I2acad3dcd41b1f9ab9dfd74babc6449df34c9cdc, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2641

SIO-1858 Update Vagrantfile

* port can be speciefied with environment variable, like
  `OIOIO_PORT=4242 vagrant up`

Change-Id: I2acad3dcd41b1f9ab9dfd74babc6449df34c9cdc




[SIO-1857] Change README to take into account vagrant and changes in infrastructure Created: 2016-10-26  Updated: 2019-03-26  Resolved: 2016-11-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 1

Type: Bug Priority: Major
Reporter: Szymon Pajzert Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: Installation process


 Description   
Information in README is obsolete

 Comments   
Comment by Gerrit Gerrit [ 2016-10-26 ]
Change I581baa755f23d960d0753a3d101fc8c1e784f0c5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2640

SIO-1857 Change README to take into account vagrant and changes in infrastructure

Added simple installation information

Change-Id: I581baa755f23d960d0753a3d101fc8c1e784f0c5
Comment by Gerrit Gerrit [ 2016-11-8 ]
Change I581baa755f23d960d0753a3d101fc8c1e784f0c5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2640

SIO-1857 Change README to take into account vagrant and changes in infrastructure

Added simple installation information

Change-Id: I581baa755f23d960d0753a3d101fc8c1e784f0c5
Comment by Gerrit Gerrit [ 2016-11-8 ]
Change I581baa755f23d960d0753a3d101fc8c1e784f0c5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2640

SIO-1857 Change README to take into account vagrant and changes in infrastructure

Added simple installation information

Change-Id: I581baa755f23d960d0753a3d101fc8c1e784f0c5
Comment by Gerrit Gerrit [ 2016-11-8 ]
Change I581baa755f23d960d0753a3d101fc8c1e784f0c5, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2640

SIO-1857 Change README to take into account vagrant and changes in infrastructure

Added simple installation information

Change-Id: I581baa755f23d960d0753a3d101fc8c1e784f0c5
Comment by Gerrit Gerrit [ 2016-11-8 ]
Change I581baa755f23d960d0753a3d101fc8c1e784f0c5, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2640

SIO-1857 Change README to take into account vagrant and changes in infrastructure

Added simple installation information

Change-Id: I581baa755f23d960d0753a3d101fc8c1e784f0c5




[SIO-1855] A lot of requests: GET /status/ Created: 2016-10-20  Updated: 2019-03-26  Resolved: 2016-11-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 1

Type: Bug Priority: Critical
Reporter: Przemysław Jakub Kozłowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
After entering a certain page, a web browser sends following requests very fast:
"GET /status/ HTTP/1.1" 302 5 "https://sio2.mimuw.edu.pl/register/complete/"

This causes that nginx logs take up a lot of disk space.

Repro:
1. Log in as administrator.
2. Enter page: https://sio2.mimuw.edu.pl/register/
After some time (about 10 seconds), a web browser starts sending requests very fast.

Maybe the problem also occurs on other pages (for example https://sio2.mimuw.edu.pl/register/complete/).

 Comments   
Comment by Szymon Acedański [ 2016-10-20 ]
Please provide a repro, so that whoever gets assigned to this issue is able to see the problem himself.
Comment by Przemysław Jakub Kozłowski [ 2016-10-20 ]
I have provided a repro.
Comment by Szymon Acedański [ 2016-10-20 ]
Thx.
Comment by Gerrit Gerrit [ 2016-11-2 ]
Change I90506cf710e2e2b13d1d894593d1051f3f96d64d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2642

SIO-1855 A lot of requests: GET /status/

Add timeout of 3s between failed promises

Change-Id: I90506cf710e2e2b13d1d894593d1051f3f96d64d
Comment by Gerrit Gerrit [ 2016-11-2 ]
Change I90506cf710e2e2b13d1d894593d1051f3f96d64d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2642

SIO-1855 A lot of requests: GET /status/

Add timeout of 3s between failed promises

Change-Id: I90506cf710e2e2b13d1d894593d1051f3f96d64d
Comment by Gerrit Gerrit [ 2016-11-6 ]
Change I90506cf710e2e2b13d1d894593d1051f3f96d64d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2642

SIO-1855 A lot of requests: GET /status/

Add timeout of 3s between failed promises

Change-Id: I90506cf710e2e2b13d1d894593d1051f3f96d64d
Comment by Mikołaj Walczak [ 2016-11-30 ]
https://docs.djangoproject.com/en/1.10/ref/settings/#secure-proxy-ssl-header




[SIO-1854] IntegrityError when removing a contest after disabling gamification Created: 2016-10-19  Updated: 2019-03-26  Resolved: 2016-11-27

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 1

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Duplicate
is duplicated by SIO-1849 Deleting contests does not work Closed

 Description   
Internal Server Error: /c/2a_rozne/admin/contests/contest/2a_rozne/delete/
Traceback (most recent call last):
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
    return func(*args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/transaction.py", line 225, in __exit__
    connection.commit()
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/ backends/base/base.py", line 173, in commit
    self._commit()
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/ backends/base/base.py", line 142, in _commit
    return self.connection.commit()
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/ backends/base/base.py", line 142, in _commit
    return self.connection.commit()
IntegrityError: update or delete on table "problems_problem" violates foreign key constraint "gamification_problem_id_6c405b0a31bad73a_fk_problems_problem_id" on table "gamification_problemdifficulty"
DETAIL: Key (id)=(11080) is still referenced from table "gamification_problemdifficulty".

The solution is to add ON CASCADE DELETE in the Django models for gamification.

 Comments   
Comment by Szymon Acedański [ 2016-11-2 ]
I think it's actually better to drop gamification altogether and fix the IntegrityError in the production by hand.
Comment by Gerrit Gerrit [ 2016-11-20 ]
Change I984f4264272dd4bd48c829a0aa741384659d1dda, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2654

SIO-1854 IntegrityError when removing a contest after disabling gamification

Change-Id: I984f4264272dd4bd48c829a0aa741384659d1dda
Comment by Gerrit Gerrit [ 2016-11-20 ]
Change I984f4264272dd4bd48c829a0aa741384659d1dda, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2654

SIO-1854 IntegrityError when removing a contest after disabling gamification

Change-Id: I984f4264272dd4bd48c829a0aa741384659d1dda
Comment by Gerrit Gerrit [ 2016-11-20 ]
Change I984f4264272dd4bd48c829a0aa741384659d1dda, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2654

SIO-1854 IntegrityError when removing a contest after disabling gamification

Change-Id: I984f4264272dd4bd48c829a0aa741384659d1dda
Comment by Gerrit Gerrit [ 2016-11-20 ]
Change I984f4264272dd4bd48c829a0aa741384659d1dda, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2654

SIO-1854 IntegrityError when removing a contest after disabling gamification

Change-Id: I984f4264272dd4bd48c829a0aa741384659d1dda
Comment by Gerrit Gerrit [ 2016-11-21 ]
Change I984f4264272dd4bd48c829a0aa741384659d1dda, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2654

SIO-1854 IntegrityError when removing a contest after disabling gamification

Change-Id: I984f4264272dd4bd48c829a0aa741384659d1dda
Comment by Gerrit Gerrit [ 2016-11-21 ]
Change I984f4264272dd4bd48c829a0aa741384659d1dda, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2654

SIO-1854 IntegrityError when removing a contest after disabling gamification

Change-Id: I984f4264272dd4bd48c829a0aa741384659d1dda
Comment by Szymon Pajzert [ 2016-11-27 ]
Using query below I found all foreign keys in gamification app. Then I changed their constraints in a similar manner:

ALTER TABLE gamification_friendshiprequest DROP CONSTRAINT ga_recipient_id_6aa97b97fddd3897_fk_gamification_friendproxy_id;
ALTER TABLE gamification_friendshiprequest ADD CONSTRAINT ga_recipient_id_6aa97b97fddd3897_fk_gamification_friendproxy_id
FOREIGN KEY(recipient_id) REFERENCES gamification_friendproxy(id) ON DELETE CASCADE;

I did this for 9 constraints:
 gamification_cachedexp_user_id_61c4fabafae25fee_fk_auth_user_id in gamification_cachedexperiencesourceid(user_id)
 gamification_cachedexpe_user_id_595952a5cc2b64c_fk_auth_user_id in gamification_cachedexperiencesourcetotal(user_id)
 gamification_friendpro_user_id_5dcb59a46d383d73_fk_auth_user_id in gamification_friendproxy(user_id)
 gamification_codeshari_user_id_53e21a9acebbf9cf_fk_auth_user_id in gamification_codesharingsettings(user_id)
 gamification_problem_id_6c405b0a31bad73a_fk_problems_problem_id in gamification_problemdifficulty(problem_id)
 D74f9b12b6df791a0be19d26bb443c15 in gamification_friendproxy_friends(to_friendproxy_id)
 ga_recipient_id_6aa97b97fddd3897_fk_gamification_friendproxy_id in gamification_friendshiprequest(recipient_id)
 gamif_sender_id_72727873c24c92fe_fk_gamification_friendproxy_id in gamification_friendshiprequest(sender_id)
 D192f4a50771c6dc4f935b1766f00956 in gamification_friendproxy_friends(from_friendproxy_id)


Here's SQL query

SELECT
    tc.constraint_name, tc.table_name, kcu.column_name,
    ccu.table_name AS foreign_table_name,
    ccu.column_name AS foreign_column_name
FROM
    information_schema.table_constraints AS tc
    JOIN information_schema.key_column_usage AS kcu
      ON tc.constraint_name = kcu.constraint_name
    JOIN information_schema.constraint_column_usage AS ccu
      ON ccu.constraint_name = tc.constraint_name
WHERE constraint_type = 'FOREIGN KEY' AND tc.table_name like 'gamification_%';




[SIO-1853] Number of submissions in Szkopuł in inherited for tasks incorrectly Created: 2016-10-19  Updated: 2019-03-26  Resolved: 2016-11-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 1

Type: Bug Priority: Major
Reporter: Jakub Radoszewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
In the contest: https://szkopul.edu.pl/c/asdlab-2016/contest-dashboard/ the bound on the number of submissions per task is globally set to 100. If I add a new task, however, the number of submissions for it is automatically set to 10. So I have to remember to set this number to 100 in the edit page of the task each time I add it.

 Comments   
Comment by Jakub Radoszewski [ 2016-11-2 ]
Czy ktoś to w ogóle przeczytał?




[SIO-1852] NoReverseMatch at / u'djdt' is not a registered namespace Created: 2016-10-12  Updated: 2019-03-26  Resolved: 2016-10-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Mikołaj Walczak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
DjDT reverses url before models are loaded in urls.py

 Comments   
Comment by Gerrit Gerrit [ 2016-10-12 ]
Change Ia389734b0abf045394408a7edb019c94b3ce894d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2633

SIO-1852 NoReverseMatch at / u'djdt' is not a registered namespace

Fixed DjDT models being loaded in urls.py

Change-Id: Ia389734b0abf045394408a7edb019c94b3ce894d
Comment by Gerrit Gerrit [ 2016-10-12 ]
Change Ia389734b0abf045394408a7edb019c94b3ce894d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2633

SIO-1852 NoReverseMatch at / u'djdt' is not a registered namespace

Fixed DjDT models not being loaded in urls.py

Change-Id: Ia389734b0abf045394408a7edb019c94b3ce894d




[SIO-1851] Our JIRA should strip the comments from e-mail Created: 2016-10-12  Updated: 2019-03-26  Resolved: 2016-11-3

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
If you get a mail from JIRA and reply to it, most mail clients will quote the message. This polls the discussion.

We can configure this that way: https://confluence.atlassian.com/adminjiraserver071/creating-issues-and-comments-from-email-802592933.html

 Comments   
Comment by Marcin Mielniczuk [ 2016-11-3 ]
Done in the JIRA admin panel, 3rd Nov 2016




[SIO-1850] Szkopuł: disk full Created: 2016-10-11  Updated: 2019-03-26  Resolved: 2017-01-25

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 1

Type: Bug Priority: Critical
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-1749 Judging: exceptions.OSError: [Errno 3... Closed

 Description   
The judging machines frequently run out of disk space and require manual interventions. This should be automated.

 Comments   
Comment by Gerrit Gerrit [ 2016-12-20 ]
Change I594d0d8e165ad709f566e496de2ed444dbce14b8, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2679

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Added example supervisord config for running both sioworkersd and ftcachecleanerd.

Change-Id: I594d0d8e165ad709f566e496de2ed444dbce14b8
Comment by Gerrit Gerrit [ 2016-12-21 ]
Change I594d0d8e165ad709f566e496de2ed444dbce14b8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2679

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Added example supervisord config for running both sioworkersd and filetracker-cache-cleaner.

Change-Id: I594d0d8e165ad709f566e496de2ed444dbce14b8
Comment by Gerrit Gerrit [ 2016-12-22 ]
Change I594d0d8e165ad709f566e496de2ed444dbce14b8, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2679

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Added example supervisord config for running both sioworkersd and filetracker-cache-cleaner.

Change-Id: I594d0d8e165ad709f566e496de2ed444dbce14b8
Comment by Gerrit Gerrit [ 2016-12-22 ]
Change I594d0d8e165ad709f566e496de2ed444dbce14b8, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2679

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Added example supervisord config for running both sioworkersd and filetracker-cache-cleaner.

Change-Id: I594d0d8e165ad709f566e496de2ed444dbce14b8
Comment by Gerrit Gerrit [ 2016-12-22 ]
Change I594d0d8e165ad709f566e496de2ed444dbce14b8, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2679

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Added example supervisord config for running both sioworkersd and filetracker-cache-cleaner.

Change-Id: I594d0d8e165ad709f566e496de2ed444dbce14b8
Comment by Gerrit Gerrit [ 2016-12-22 ]
Change I594d0d8e165ad709f566e496de2ed444dbce14b8, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2679

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Added example supervisord config for running both sioworkersd and filetracker-cache-cleaner.

Change-Id: I594d0d8e165ad709f566e496de2ed444dbce14b8
Comment by Gerrit Gerrit [ 2016-12-22 ]
Change I594d0d8e165ad709f566e496de2ed444dbce14b8, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2679

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Added example supervisord config for running both sioworkersd and filetracker-cache-cleaner.

Change-Id: I594d0d8e165ad709f566e496de2ed444dbce14b8
Comment by Gerrit Gerrit [ 2017-01-13 ]
Change I594d0d8e165ad709f566e496de2ed444dbce14b8, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2679

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Added example supervisord config for running both sioworkersd and filetracker-cache-cleaner.

Change-Id: I594d0d8e165ad709f566e496de2ed444dbce14b8
Comment by Gerrit Gerrit [ 2017-01-22 ]
Change Ib235ad800eadefecc258de5931872c91a3b66098, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2683

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Updated README.rst with information about setting up the judging machines.

Change-Id: Ib235ad800eadefecc258de5931872c91a3b66098
Comment by Gerrit Gerrit [ 2017-01-23 ]
Change If63974ab2b5ba0b5f680c13167e09e346c64c26a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2684

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Improved supervisor.sh to source venv and can be run from different directories.

Change-Id: If63974ab2b5ba0b5f680c13167e09e346c64c26a
Comment by Gerrit Gerrit [ 2017-01-23 ]
Change If63974ab2b5ba0b5f680c13167e09e346c64c26a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2684

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Improved supervisor.sh to source venv and can be run from different directories.

Change-Id: If63974ab2b5ba0b5f680c13167e09e346c64c26a
Comment by Gerrit Gerrit [ 2017-01-23 ]
Change Ib235ad800eadefecc258de5931872c91a3b66098, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2683

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Updated README.rst with information about setting up the judging machines.

Change-Id: Ib235ad800eadefecc258de5931872c91a3b66098
Comment by Gerrit Gerrit [ 2017-01-23 ]
Change If63974ab2b5ba0b5f680c13167e09e346c64c26a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2684

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Improved supervisor.sh to source venv and can be run from different directories.

Change-Id: If63974ab2b5ba0b5f680c13167e09e346c64c26a
Comment by Gerrit Gerrit [ 2017-01-23 ]
Change Ib235ad800eadefecc258de5931872c91a3b66098, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2683

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Updated README.rst with information about setting up the judging machines.

Change-Id: Ib235ad800eadefecc258de5931872c91a3b66098
Comment by Gerrit Gerrit [ 2017-01-23 ]
Change If63974ab2b5ba0b5f680c13167e09e346c64c26a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2684

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Improved supervisor.sh to source venv and can be run from different directories.

Change-Id: If63974ab2b5ba0b5f680c13167e09e346c64c26a
Comment by Gerrit Gerrit [ 2017-01-23 ]
Change I985f6f8697674c9568a96834c537ef4f3cf5e896, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2685

(SIO-1850) Implemented daemon for cleaning file trackers cache.

Fixed formatting in README.rst.

Change-Id: I985f6f8697674c9568a96834c537ef4f3cf5e896




[SIO-1849] Deleting contests does not work Created: 2016-10-10  Updated: 2019-03-26  Resolved: 2016-11-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1854 IntegrityError when removing a contes... Closed

 Description   
Internal Server Error: /c/oap-konkurs-druz-gim-dziewczenta/admin/contests/contest/oap-konkurs- druz-gim-dziewczenta/delete/
Traceback (most recent call last):
 File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ core/handlers/base.py", line 132, in get_response
   response = wrapped_callback(request, *callback_args, **callback_kwargs)
 File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
   return func(*args, **kwargs)
 File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/transaction.py", line 225, in __exit__
   connection.commit()
 File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 173, in commit
   self._commit()
 File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 142, in _commit
   return self.connection.commit()
 File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/utils.py", line 98, in __exit__
   six.reraise(dj_exc_type, dj_exc_value, traceback)
 File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 142, in _commit
   return self.connection.commit()
IntegrityError: update or delete on table "problems_problem" violates foreign key constraint "gamification_problem_id_6c405b0a31bad73a_fk_problems_problem_id" on table "gamification_problemdifficulty"
DETAIL: Key (id)=(13625) is still referenced from table "gamification_problemdifficulty".




[SIO-1848] SIO2 JIRA should support smart commits & replying from e-mail Created: 2016-10-9  Updated: 2019-03-26  Resolved: 2016-10-12

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Both are supported by the JIRA software.

It's a PITA to have to visit the JIRA website every time you want to reply to an issue.
https://confluence.atlassian.com/adminjiraserver071/creating-issues-and-comments-from-email-802592933.html

And it'd be really handy to close issues from commits:
https://confluence.atlassian.com/fisheye/using-smart-commits-298976812.html


 Comments   
Comment by Marcin Mielniczuk [ 2016-10-12 ]
Ok, replying from e-mail works. Will test the smart commits when I push a new change and reopen if needed




[SIO-1847] Pylint compatiblity issues Created: 2016-10-7  Updated: 2019-03-26  Resolved: 2016-11-30

Status: Closed
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None
Environment: Arch Linux


 Description   
On my Arch I have pylint 1.6.4, which generates many warnings:

{code}
$ pylint sio/compilers/test/test_compilers.py
************* Module test_compilers
sio/compilers/test/test_compilers.py 300 W0511 TODO: Do not run slow tests by default
sio/compilers/test/test_compilers.py 283 C0326 No space allowed after bracket
    nasty_loopers = [ '/nasty-%s' % (s,) for s in nasty_loopers]
                    ^
sio/compilers/test/test_compilers.py 324 W0311 Bad indentation. Found 12 spaces, expected 8
sio/compilers/test/test_compilers.py 11 W0611 Unused DEFAULT_COMPILER_TIME_LIMIT imported from sio.compilers.common
sio/compilers/test/test_compilers.py 11 W0611 Unused DEFAULT_COMPILER_MEM_LIMIT imported from sio.compilers.common
sio/compilers/test/test_compilers.py 11 C0412 Imports from package sio are not grouped
{code}

These are probably new warnings, which have been added since 1.3.1

 Comments   
Comment by Szymon Acedański [ 2016-10-8 ]
Did you use the provided .pylintrc from the repo?
Comment by Marcin Mielniczuk [ 2016-10-9 ]
I didn't modify the .pylintrc cloned from the repo.
Comment by Marcin Mielniczuk [ 2016-11-30 ]
Duplicate of SIO-1845




[SIO-1846] Upgrade gcc Created: 2016-10-5  Updated: 2018-08-17

Status: New
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Semester

Type: Improvement Priority: Major
Reporter: Marcin Mielniczuk Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None

Attachments: Zip Archive compiler-sandboxes.zip    
Issue Links:
Blocks
blocks SIO-1843 Use c11 standard Closed

 Description   
gcc 4.8.2 is ancient, even Debian Jessie uses a newer version.

Once we've implemented this, we can fox SIO-1843 and add c11 support.

 Comments   
Comment by Maciej Matraszek [ 2016-10-6 ]
The attached archive contains a rudimentary tutorial and files used to build the current packages. In short, one needs to select necessary .deb packages and unpack them, possibly pruning the docs.

Also, remember that sioworkers will patch binary files found in the archive with compilers. This should be disabled for statically compiled executables with an ".elf_patcher_blacklist" file. For a reference, check the fpc compiler sandbox: "~/.sio-sandboxes/compiler-fpc.2_4_4/.elf_patcher_blacklist"
Comment by Wojciech Dubiel [ 2018-08-16 ]
>gcc 4.8.2 is ancient,
The 4.8.x series had a last release in 2015. If you coinsider that ancient, then guess what? Half the computers in MIMUW computer lab are ancient.

>even Debian Jessie uses a newer version.
just barely newer. It uses 4.9, and it still has 4.8 available.

Also, you say it like Debian Jessie was an old distro, while
- it's still supported
- was the latest Debian stable at the moment you wrote the ticket

That being said, teqwve recently made a gcc 6.3 package for sioworkers, so as soon as we somehow get gcc 6.3 running on contestant's workstation image for onsite contests (which is Debian 8 based), we'll be able to globally switch to 6.3.

Assistance of someone familiar with building gcc from source, and/or developing debian packages, is very welcome.
Comment by Maciej Matraszek [ 2018-08-17 ]
czw., 16.08.2018, 21:24 użytkownik Wojciech Dubiel (JIRA) <

I considered it ancient like two years ago. ;) And I guess that Chrome in
labs is still not updated by now...



Debian stable is too stable for some :), especially when it comes to modern
language features requested by the contestants.




I think, the last time, we did it the other way around - we took the
compiler from contestants' system image and made it work on grading
machines.
Building Debian packages without any new dependencies is (was?) pretty easy
- just take the template, update package name and conflicts and you're done.


Comment by Wojciech Dubiel [ 2018-08-17 ]
We took GCC 6.3 from Debian 9, so we need to either update oizaw from deb8 to deb9, or backport gcc 6.3 to deb8.
The problem with the latter is you need to configure the package build scripts in such a way that the resulting package can be installed side-by-side with the old compilers.




[SIO-1845] .pylintrc uses depracated pylint options Created: 2016-10-5  Updated: 2019-03-26  Resolved: 2016-11-16

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 1

Type: Bug Priority: Minor
Reporter: Marcin Mielniczuk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
The following warnings are shown by pylint

This option 'required-attributes' will be removed in Pylint 2.0
This option 'ignore-iface-methods' will be removed in Pylint 2.0

 Comments   
Comment by Gerrit Gerrit [ 2016-11-10 ]
Change Ia998f2ae7aa20f853ae84294d5b0b5723948f68d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2650

SIO-1845 Removed the deprecated attributes from .pylintrc

Change-Id: Ia998f2ae7aa20f853ae84294d5b0b5723948f68d




[SIO-1844] Document updating translations Created: 2016-10-5  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Attachments: PNG File Screen Shot 2016-10-05 at 13.31.38.png    

 Description   
I think this may be another section in our README.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1843] Use c11 standard Created: 2016-10-4  Updated: 2019-03-26  Resolved: 2018-12-12

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by SIO-1846 Upgrade gcc New

 Description   
Just add -std=c11 to https://github.com/sio2project/sioworkers/blob/master/sio/compilers/gcc.py#L7 , create a simple test and push it through review.

 Comments   
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change I63dc062f7fc8d749402b64fd77d200d3882c4335, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2624

SIO-1843 use c11 standard

Change-Id: I63dc062f7fc8d749402b64fd77d200d3882c4335
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change I39a91fa48e31460ebc685aff3960f9cb53fe604f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2627

SIO-1843 Use gnu99 instead of c11.

Change-Id: I39a91fa48e31460ebc685aff3960f9cb53fe604f
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change I63dc062f7fc8d749402b64fd77d200d3882c4335, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2624

SIO-1843 use the gnu99 standard

Change-Id: I63dc062f7fc8d749402b64fd77d200d3882c4335
Comment by Maciej Matraszek [ 2016-10-7 ]
Regarding the recent commit: files in the sioworkers/tree/master/sio/compilers/test/sources directory are not magically compiled. Please add an entry here: https://github.com/sio2project/sioworkers/blob/master/sio/compilers/test/test_compilers.py#L118
Comment by Marcin Mielniczuk [ 2016-10-8 ]
Thanks, a patch set is awaiting in gerrit





[SIO-1842] Ellipsis in an inline image in CSS -- breaks admin pages Created: 2016-10-3  Updated: 2020-03-3  Resolved: 2016-10-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Maciej Matraszek Assignee: Mikołaj Walczak
Resolution: Fixed Votes: 0
Labels: easy, tag1
Environment: Production deployment (sio2.mimuw.edu.pl)


 Description   
A recent fix to admin stylesheets introduced a strange piece of code:
At
https://github.com/sio2project/oioioi/commit/7bfcfbced8fc28345a160bbc8ecff6b9509385d3#diff-c22ed5025698002d37660dcf8ddb173bR150
:
background-image: url('data:image/ svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi… pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');

Yes, it has an ellipsis in the middle! It breaks the JS/CSS compression on oioioi deployments, and therefore breaks admin pages.

 Comments   
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change Iefab6cefd65ebc79f33e625b16d2ebc90eeda291, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2623

SIO-1842 Ellipsis in an inline image in CSS -- breaks admin pages

removed unnecessery styles (gradient and -webkit-gradient is supported by all browsers no need for extra inline svg)

Change-Id: Iefab6cefd65ebc79f33e625b16d2ebc90eeda291
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change Iefab6cefd65ebc79f33e625b16d2ebc90eeda291, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2623

SIO-1842 Ellipsis in an inline image in CSS -- breaks admin pages

removed unnecessery styles (gradient and -webkit-gradient is supported by all
browsers no need for extra inline svg)

Change-Id: Iefab6cefd65ebc79f33e625b16d2ebc90eeda291




[SIO-1841] Fix formatting in README Created: 2016-09-21  Updated: 2019-03-26  Resolved: 2016-10-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy, tag1

Attachments: PNG File Screen Shot 2016-09-21 at 23.34.02.png    

 Description   
See attachment.

 Comments   
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change I0945b80cb2d7ca0c252ccd8b3c2c47a01a048d07, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2625

SIO-1841 Fix formatting in README

Change-Id: I0945b80cb2d7ca0c252ccd8b3c2c47a01a048d07
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change I0945b80cb2d7ca0c252ccd8b3c2c47a01a048d07, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2625

SIO-1841 Fix formatting in README

Change-Id: I0945b80cb2d7ca0c252ccd8b3c2c47a01a048d07




[SIO-1840] Fix problemset top bar styling Created: 2016-09-16  Updated: 2019-03-26  Resolved: 2016-10-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy, tag1

Attachments: PNG File Screen Shot 2016-09-16 at 14.08.11.png    

 Description   
There's a lot of empty space and inadvertent wrapping, see the screenshot.

 Comments   
Comment by Gerrit Gerrit [ 2016-10-6 ]
Change I69180bd3d900b1481cf9f64db3206c405a81ac34, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2630

SIO-1840 Fix problemset top bar styling

allow bar use all available space, slighlty better

Change-Id: I69180bd3d900b1481cf9f64db3206c405a81ac34




[SIO-1839] Make problemset URLs not contest-dependent Created: 2016-09-16  Updated: 2019-03-26  Resolved: 2017-11-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: easy, tag1

TAG Developer: Radosław Waśko

 Comments   
Comment by Radosław Waśko [ 2017-11-22 ]
Works as intended.




[SIO-1838] Use django's import_string instead custom function Created: 2016-08-12  Updated: 2019-03-26  Resolved: 2016-10-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy, tag1


 Description   
oioioi.base.utils __init__.py get_object_by_dotted_name

to

https://docs.djangoproject.com/en/1.8/ref/utils/#module-django.utils.module_loading

 Comments   
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change Ib9ae21563aa9668e7071acf1eeebc35f497ab171, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2628

SIO-1838 Use django's import_string instead custom function

Change-Id: Ib9ae21563aa9668e7071acf1eeebc35f497ab171
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change Ib9ae21563aa9668e7071acf1eeebc35f497ab171, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2628

SIO-1838 Use django's import_string instead custom function

Change-Id: Ib9ae21563aa9668e7071acf1eeebc35f497ab171
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change Ib9ae21563aa9668e7071acf1eeebc35f497ab171, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2628

SIO-1838 Use django's import_string instead custom function

Change-Id: Ib9ae21563aa9668e7071acf1eeebc35f497ab171




[SIO-1837] Update node.js installation instruction in README.rst Created: 2016-08-4  Updated: 2019-03-26  Resolved: 2016-10-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: easy


 Description   
The README says:
You'll also need lessc (a LESS compiler, minimum version 1.7.0). First you need to install node.js with npm as described in their documentation

This instruction can be improved in two ways:
1. The hyperlink under "their documentation" is outdated
2. It is worth mentioning that at least on some systems (eg. Debian Stretch, installation via apt-get install nodejs) one has to make a soft link called bin/node pointing at bin/nodejs. This is because SIO expects to find a binary called "node", not "nodejs".

 Comments   
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change I01f3d1b979e095a636d0851b7cb9582db7d0a49c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2629

SIO-1837 Update node.js installation instruction in README.rst

Outdated link replaced, added information about creating softlink.

Change-Id: I01f3d1b979e095a636d0851b7cb9582db7d0a49c
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change I01f3d1b979e095a636d0851b7cb9582db7d0a49c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2629

SIO-1837 Update node.js installation instruction in README.rst

Outdated link replaced, added information about creating softlink.

Change-Id: I01f3d1b979e095a636d0851b7cb9582db7d0a49c
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change I01f3d1b979e095a636d0851b7cb9582db7d0a49c, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2629

SIO-1837 Update node.js installation instruction in README.rst

Outdated link replaced, added information about creating softlink.
Changed SIO to OIOIOI. End line spaces removed.

Change-Id: I01f3d1b979e095a636d0851b7cb9582db7d0a49c




[SIO-1836] Source size is not checked when submitting through paste/drag-and-drop Created: 2016-08-4  Updated: 2019-03-26  Resolved: 2016-12-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 1

Type: Bug Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
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.

 Comments   
Comment by Gerrit Gerrit [ 2016-11-20 ]
Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2653

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

Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
Comment by Gerrit Gerrit [ 2016-11-23 ]
Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2653

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

Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
Comment by Gerrit Gerrit [ 2016-11-23 ]
Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2653

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

Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b




[SIO-1835] Support Django 1.10 Created: 2016-07-16  Updated: 2019-03-5  Resolved: 2019-03-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Semester

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-2154 Increment Django version to 1.10 Closed

 Description   
It should dramatically improve the performance of running a small subset of tests (database creation).




[SIO-1834] Contests not sorted in contest list view Created: 2016-07-13  Updated: 2019-03-26  Resolved: 2017-01-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 2

Type: Bug Priority: Major
Reporter: Marek Sokołowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1


 Description   
SIO2 stopped to sort contests by their creation time in constest list view (e.g. https://sio2.mimuw.edu.pl/c/ontak2016/contest/ - contests are clearly randomly shuffled, probably ordered by their hashes).

The plausible reason is commit 4cb62fe (https://github.com/sio2project/oioioi/commit/4cb62fedfd4a5ec0cd83cf62b9b468e4481ba71f ); in oioioi/contests/utils.py, set() was introduced, which implies no particular order of its elements.

 Comments   
Comment by Gerrit Gerrit [ 2016-12-18 ]
Change I45e2b7f4653d2a8fee6285960171eaff6db38409, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2677

SIO-1834 Contests not sorted in contest list view

Change-Id: I45e2b7f4653d2a8fee6285960171eaff6db38409
Comment by Gerrit Gerrit [ 2016-12-19 ]
Change I45e2b7f4653d2a8fee6285960171eaff6db38409, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2677

SIO-1834 Contests not sorted in contest list view

Change-Id: I45e2b7f4653d2a8fee6285960171eaff6db38409




[SIO-1833] Sane error reporting (including client side) Created: 2016-07-4  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
https://github.com/getsentry/sentry

 Comments   
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change I0127fb9b3c0364d77cf04c96509fba66700303a5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2673

SIO-1833 Error reporting to Sentry

No logging example, because I want to first tweak that on the server.

Even then I'm not sure if it will be general enough to include that.

Change-Id: I0127fb9b3c0364d77cf04c96509fba66700303a5
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change I0127fb9b3c0364d77cf04c96509fba66700303a5, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2673

SIO-1833 Error reporting to Sentry

No logging example, because I want to first tweak that on the server.

Even then I'm not sure if it will be general enough to include that.

Change-Id: I0127fb9b3c0364d77cf04c96509fba66700303a5
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change I0127fb9b3c0364d77cf04c96509fba66700303a5, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2673

SIO-1833 Error reporting to Sentry

No logging example, because I want to first tweak that on the server.

Even then I'm not sure if it will be general enough to include that.

Change-Id: I0127fb9b3c0364d77cf04c96509fba66700303a5
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1832] Manual (emergency) ranking handling Created: 2016-06-20  Updated: 2019-03-26  Resolved: 2019-01-29

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
It could be very useful to let admin manually control rankings to some extent, for handling boundary cases and bugs (so if something goes wrong with the ranking during the competition it can be fixed without much thought, let alone waiting for fix):

Ideas:
- Button to invalidate ranking.
- Command to flush (delete) all rankings - it is safe, it is only a cache layer. They will get regenerated when the next request comes.
- Command to invalidate a single ranking or all rankings in contests.

 Comments   
Comment by Gerrit Gerrit [ 2019-01-27 ]
Change oioioi~master~I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3134

(SIO-1832) Add button for invalidating ranking

It lets admin manually control the ranking and nvalidate it in case
something goes wrong during the constest.

Change-Id: I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d
Comment by Gerrit Gerrit [ 2019-01-27 ]
Change oioioi~master~I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3134

(SIO-1832) Add button for invalidating ranking

It lets admin manually control the ranking and nvalidate it in case
something goes wrong during the constest.

Change-Id: I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d
Comment by Gerrit Gerrit [ 2019-01-28 ]
Change oioioi~master~I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/3134

(SIO-1832) Add button for invalidating ranking

It lets admin manually control the ranking and nvalidate it in case
something goes wrong during the constest.

Change-Id: I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d
Comment by Gerrit Gerrit [ 2019-01-28 ]
Change oioioi~master~I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/3134

(SIO-1832) Add button for invalidating ranking

It lets admin manually control the ranking and invalidate it in case
something goes wrong during the constest.

Change-Id: I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d
Comment by Gerrit Gerrit [ 2019-01-28 ]
Change oioioi~master~I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/3134

(SIO-1832) Add button for invalidating ranking

It lets admin manually control the ranking and invalidate it in case
something goes wrong during the constest.

Change-Id: I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d
Comment by Gerrit Gerrit [ 2019-01-28 ]
Change oioioi~master~I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/3134

(SIO-1832) Add button for invalidating ranking

It lets admin manually control the ranking and invalidate it in case
something goes wrong during the constest.

Change-Id: I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d
Comment by Gerrit Gerrit [ 2019-01-29 ]
Change oioioi~master~I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/3134

(SIO-1832) Add button for invalidating ranking

It lets admin manually control the ranking and invalidate it in case
something goes wrong during the constest.

Change-Id: I0b5ef6cffb70b0e66c4c17d81d7af7c83f0bef7d




[SIO-1831] Write report on how we optimized SIO2 + hints for future Created: 2016-06-20  Updated: 2016-11-2  Resolved: 2016-10-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

TAG Developer: Stanisław Barzowski

 Description   
https://docs.google.com/document/d/1TjjGEbGECaYgKUcP_9lzjQA3fQ0W8LEG8f-abBShC8s/edit?usp=sharing




[SIO-1830] Upgrade django-registration dependency Created: 2016-06-20  Updated: 2019-03-26  Resolved: 2017-06-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Sprint 2

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1887 Upgrade Django to 1.9 Closed
Relates
relates to SIO-1720 Support Django 1.8 Closed

 Description   
https://github.com/sio2project/oioioi/commit/2a31c464c9e38354539e6c64c919247e08165a18

 Comments   
Comment by Stanisław Barzowski [ 2016-06-20 ]
Some partially done version https://gerrit.sio2project.mimuw.edu.pl/#/c/2566/
Comment by Gerrit Gerrit [ 2017-05-27 ]
Change oioioi~master~I646e23c6019a11507599d67ef9fc8af3710f23f6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2849

SIO-1830 Upgrade django-registration dependency

Change-Id: I646e23c6019a11507599d67ef9fc8af3710f23f6
Comment by Gerrit Gerrit [ 2017-05-27 ]
Change oioioi~master~I646e23c6019a11507599d67ef9fc8af3710f23f6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2849

SIO-1830 Upgrade django-registration dependency

Change-Id: I646e23c6019a11507599d67ef9fc8af3710f23f6
Comment by Gerrit Gerrit [ 2017-05-29 ]
Change oioioi~master~I646e23c6019a11507599d67ef9fc8af3710f23f6, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2849

SIO-1830 Upgrade django-registration dependency

Change-Id: I646e23c6019a11507599d67ef9fc8af3710f23f6




[SIO-1829] Add formatting to newsfeed Created: 2016-06-17  Updated: 2019-03-26  Resolved: 2016-06-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
As for now, raw string with news content is passed into template, which doesn't support formatting.

 Comments   
Comment by Gerrit Gerrit [ 2016-06-17 ]
Change Ib63b52533e940216ccfdb8d81130e4140619959a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2602

SIO-1829 Add formatting to newsfeed

Change-Id: Ib63b52533e940216ccfdb8d81130e4140619959a
Comment by Gerrit Gerrit [ 2016-06-17 ]
Change Ib63b52533e940216ccfdb8d81130e4140619959a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2602

SIO-1829 Add formatting to newsfeed

Change-Id: Ib63b52533e940216ccfdb8d81130e4140619959a




[SIO-1828] Implement teacher dashboard Created: 2016-06-16  Updated: 2019-03-26  Resolved: 2016-06-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Mateusz Śmiech Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1787 Implement new teachers interface Closed
TAG Developer: Mateusz Śmiech
TAG Reviewer: Michał Łazowik

 Comments   
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change Ibbe5b6b03dce35142bbe6a9863666e70cadb6305, patchset 44
https://gerrit.sio2project.mimuw.edu.pl/2583

SIO-1828 Adding the main dashboard.

Change-Id: Ibbe5b6b03dce35142bbe6a9863666e70cadb6305
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change Ibbe5b6b03dce35142bbe6a9863666e70cadb6305, patchset 45
https://gerrit.sio2project.mimuw.edu.pl/2583

SIO-1828 Adding the main dashboard.

Change-Id: Ibbe5b6b03dce35142bbe6a9863666e70cadb6305
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change Ibbe5b6b03dce35142bbe6a9863666e70cadb6305, patchset 46
https://gerrit.sio2project.mimuw.edu.pl/2583

SIO-1828 Adding the main dashboard.

Change-Id: Ibbe5b6b03dce35142bbe6a9863666e70cadb6305
Comment by Gerrit Gerrit [ 2016-06-20 ]
Change Ibbe5b6b03dce35142bbe6a9863666e70cadb6305, patchset 47
https://gerrit.sio2project.mimuw.edu.pl/2583

SIO-1828 Adding the main dashboard.

Change-Id: Ibbe5b6b03dce35142bbe6a9863666e70cadb6305
Comment by Gerrit Gerrit [ 2016-06-20 ]
Change Ibbe5b6b03dce35142bbe6a9863666e70cadb6305, patchset 48
https://gerrit.sio2project.mimuw.edu.pl/2583

SIO-1828 Adding the main dashboard.

Change-Id: Ibbe5b6b03dce35142bbe6a9863666e70cadb6305
Comment by Gerrit Gerrit [ 2016-06-20 ]
Change Ibbe5b6b03dce35142bbe6a9863666e70cadb6305, patchset 49
https://gerrit.sio2project.mimuw.edu.pl/2583

SIO-1828 Adding the main dashboard.

Change-Id: Ibbe5b6b03dce35142bbe6a9863666e70cadb6305
Comment by Gerrit Gerrit [ 2016-06-20 ]
Change Ibbe5b6b03dce35142bbe6a9863666e70cadb6305, patchset 50
https://gerrit.sio2project.mimuw.edu.pl/2583

SIO-1828 Adding the main dashboard.

Change-Id: Ibbe5b6b03dce35142bbe6a9863666e70cadb6305




[SIO-1827] Implement new problem settings Created: 2016-06-16  Updated: 2019-03-26  Resolved: 2016-06-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Mateusz Śmiech Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1787 Implement new teachers interface Closed
TAG Developer: Mateusz Śmiech
TAG Reviewer: Michał Łazowik

 Comments   
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4, patchset 30
https://gerrit.sio2project.mimuw.edu.pl/2594

SIO-1827 Adding new problem settings view.

Change-Id: I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4, patchset 31
https://gerrit.sio2project.mimuw.edu.pl/2594

SIO-1827 Adding new problem settings view.

Change-Id: I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4, patchset 32
https://gerrit.sio2project.mimuw.edu.pl/2594

SIO-1827 Adding new problem settings view.

Change-Id: I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4, patchset 33
https://gerrit.sio2project.mimuw.edu.pl/2594

SIO-1827 Adding new problem settings view.

Change-Id: I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4, patchset 34
https://gerrit.sio2project.mimuw.edu.pl/2594

SIO-1827 Adding new problem settings view.

Change-Id: I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4
Comment by Gerrit Gerrit [ 2016-06-20 ]
Change I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4, patchset 35
https://gerrit.sio2project.mimuw.edu.pl/2594

SIO-1827 Adding new problem settings view.

Change-Id: I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4
Comment by Gerrit Gerrit [ 2016-06-20 ]
Change I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4, patchset 36
https://gerrit.sio2project.mimuw.edu.pl/2594

SIO-1827 Adding new problem settings view.

Change-Id: I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4
Comment by Gerrit Gerrit [ 2016-06-20 ]
Change I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4, patchset 37
https://gerrit.sio2project.mimuw.edu.pl/2594

SIO-1827 Adding new problem settings view.

Change-Id: I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4
Comment by Gerrit Gerrit [ 2016-06-20 ]
Change I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4, patchset 38
https://gerrit.sio2project.mimuw.edu.pl/2594

SIO-1827 Adding new problem settings view.

Change-Id: I347e090e0ccbb20bab5b0f9f124d9f0bc537abb4




[SIO-1826] Implement teacher dashboard Created: 2016-06-16  Updated: 2019-03-26  Resolved: 2016-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Mateusz Śmiech Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None





[SIO-1825] participants app depends on oi app migration Created: 2016-06-14  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-2145 Allow enabling "participants" app wit... Resolved

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1824] Portals app depends on teachers app Created: 2016-06-14  Updated: 2019-03-26  Resolved: 2017-01-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 2

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
It seems wrong. Why is it like that?

 Comments   
Comment by Marcin Mielniczuk [ 2016-12-5 ]
in oioioi/portals/templates/portals/widgets/contest_selection.html, if the user is teacher, they are provided the possibility to create a new contest in the contest selection widget

Maybe we should move it to oioioi/contests?
But I have an impression that ContestSelectionWidget is never used (maybe wrong)
Comment by Szymon Acedański [ 2016-12-7 ]
I suppose it's used on the homepage of Szkopuł.
Maybe this widget should be moved to teachers then?
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change I998d56736d44a291c0aa695236e8c9feea0c2651, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2671

SIO-1824 Move the ContestSelectionWidget to oioioi.teachers

Change-Id: I998d56736d44a291c0aa695236e8c9feea0c2651
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change I998d56736d44a291c0aa695236e8c9feea0c2651, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2671

SIO-1824 Move the ContestSelectionWidget to oioioi.teachers

Change-Id: I998d56736d44a291c0aa695236e8c9feea0c2651
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change I998d56736d44a291c0aa695236e8c9feea0c2651, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2671

SIO-1824 Move the ContestSelectionWidget to oioioi.teachers

Change-Id: I998d56736d44a291c0aa695236e8c9feea0c2651




[SIO-1823] Multilingual tasks Created: 2016-06-7  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Improvement Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
We are in need to use multilingual tasks descriptions for Czech-Polish-Slovak Preparation Camp. It would be nice feature to implement, especially with CEOI in Poland on the horizon. I know that in BOI we printed all tasks in all languages, but common - even IOI is paperless now, and it's better for environment.

 Comments   
Comment by Gerrit Gerrit [ 2018-05-29 ]
Change oioioi~master~I85f642ff5382f7da449621877809ce103fb98cff, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/3027

(SIO-1823) Backend for enabling multilingual problem statements

This change allows to upload multiple problem statements with one package.
By default allowed addition languages are endings -pl and -en, but they can be
adjusted in settings.py.
Note that this change does not allow to browse these files at will just yet.
However, if we switch to english version of the site, it will open english
version of problem statement.

Change-Id: I85f642ff5382f7da449621877809ce103fb98cff
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1822] ProblemsetSource: Problem added multiple times when user multiclicks Submit Created: 2016-06-7  Updated: 2019-03-26  Resolved: 2016-06-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1770 New UX for adding problems from probl... Closed

 Description   
When user presses Submit button in "Add from problemset" tab during problem upload, post request is being sent multiple times which causes problem to be uploaded multiple times. It's a problem when, for example, connection is slow - then user might naturally multiclick, but we probably would want to add problem one time then.




[SIO-1821] Improve pupils/teachers view Created: 2016-06-7  Updated: 2019-03-26  Resolved: 2016-06-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Improvement Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Comments   
Comment by Gerrit Gerrit [ 2016-06-7 ]
Change Id12d35ce5ccaa5773fd52510a844d37df078193a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2579

SIO-1821 Improve pupils/teachers views

Change-Id: Id12d35ce5ccaa5773fd52510a844d37df078193a
Comment by Gerrit Gerrit [ 2016-06-7 ]
Change Id12d35ce5ccaa5773fd52510a844d37df078193a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2579

SIO-1821 Improve pupils/teachers views

Change-Id: Id12d35ce5ccaa5773fd52510a844d37df078193a
Comment by Gerrit Gerrit [ 2016-06-7 ]
Change Id12d35ce5ccaa5773fd52510a844d37df078193a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2579

SIO-1821 Improve pupils/teachers views

Change-Id: Id12d35ce5ccaa5773fd52510a844d37df078193a




[SIO-1820] Create docs for finishing task uploading to Szkopuł Created: 2016-06-7  Updated: 2019-03-26  Resolved: 2016-06-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Major
Reporter: Wojciech Jabłoński Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1


 Description   
1) Make list of tasks that are not uploaded + instructions how to manually upload them
2) Make list of tasks that are not correctly uploaded (or tool which lists them) + same instructions

 Comments   
Comment by Wojciech Jabłoński [ 2016-06-18 ]
https://docs.google.com/document/d/14xpJzJ5FB6wXIWDsxM1JsIERPlR8GNUFdLV8preGK5A/edit




[SIO-1819] Tool for getting tasks without 100-points ModelSolution Created: 2016-05-25  Updated: 2019-03-26  Resolved: 2016-06-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Bug Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1


 Comments   
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2584

SIO-1819 Getting tasks without 100-points ModelSolution.

Added ./manage.py command for showing problems that don't
have model solution with 100 points.

Change-Id: I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2584

SIO-1819 Getting tasks without 100-points ModelSolution.

Added ./manage.py command for showing problems that don't
have model solution with 100 points.

Change-Id: I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2584

SIO-1819 Getting tasks without 100-points ModelSolution.

Added ./manage.py command for showing problems that don't
have model solution with 100 points.

Change-Id: I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2584

SIO-1819 Getting tasks without max-scored ModelSolution.

Added ./manage.py command for showing problems that don't
have model solution with max score.

Change-Id: I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2584

SIO-1819 Getting tasks without max-scored ModelSolution.

Added ./manage.py command for showing problems that don't
have model solution with max score.

Change-Id: I0a0e0f383ddf6acca5a5fb22a6d509139a74ed79
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change Id1f7c2ddefeb52538520759109dd0e43a438e363, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2601

(SIO-1819) Fixed lack-of-unicode error.

I forgot that we use unicode in problems' names.

Change-Id: Id1f7c2ddefeb52538520759109dd0e43a438e363




[SIO-1818] Make "add to contest" option in problemset Created: 2016-05-18  Updated: 2019-03-26  Resolved: 2016-06-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1770 New UX for adding problems from probl... Closed

 Description   
Current "Add to problemset" option in "Add problem" is broken and the possible solution is to reverse the logic - choose contest from problemset instead of choosing problem to add from contest.

 Comments   
Comment by Gerrit Gerrit [ 2016-05-18 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-18 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-18 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-18 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-18 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-18 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-18 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-18 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-19 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-19 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-20 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca
Comment by Gerrit Gerrit [ 2016-05-20 ]
Change I7b4943cae223de7c1ec48de1f566dc3b921c64ca, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2571

SIO-1818 Make "add to contest" option in problemset

Change-Id: I7b4943cae223de7c1ec48de1f566dc3b921c64ca




[SIO-1817] Implement contest dashboard Created: 2016-05-16  Updated: 2019-03-26  Due: 2016-05-18  Resolved: 2016-06-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Bug Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1787 Implement new teachers interface Closed
is blocked by SIO-1802 Contest landing page mockup Closed
TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Comments   
Comment by Michał Łazowik [ 2016-06-16 ]
https://gerrit.sio2project.mimuw.edu.pl/#/c/2565/




[SIO-1816] Fix caching templates only when Debug=False Created: 2016-05-16  Updated: 2019-03-26  Resolved: 2016-06-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Bug Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Description   
Currently we always cache them, because the if in default_settings is obviously taking a Debug from default_settings, not settings.

By the way we might want to migrate TEMPLATE_* settings to TEMPLATES.

https://docs.djangoproject.com/en/1.9/ref/templates/upgrading/

 Comments   
Comment by Gerrit Gerrit [ 2016-06-7 ]
Change I65f161114bda7733cc01464a8d6aafb933999d4e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2580

SIO-1816 Do not lie.

Change-Id: I65f161114bda7733cc01464a8d6aafb933999d4e
Comment by Gerrit Gerrit [ 2016-06-7 ]
Change I65f161114bda7733cc01464a8d6aafb933999d4e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2580

SIO-1816 Fix caching templates setting

Change-Id: I65f161114bda7733cc01464a8d6aafb933999d4e
Comment by Gerrit Gerrit [ 2016-06-7 ]
Change I65f161114bda7733cc01464a8d6aafb933999d4e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2580

SIO-1816 Fix caching templates setting

Change-Id: I65f161114bda7733cc01464a8d6aafb933999d4e




[SIO-1815] Create a site on which admins will be able to manage all submissions Created: 2016-05-12  Updated: 2019-03-26  Resolved: 2016-06-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Improvement Priority: Major
Reporter: Piotr Wiśniewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 1
Labels: T1


 Description   
Admins beg for this functionality

 Comments   
Comment by Gerrit Gerrit [ 2016-06-4 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-4 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-4 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-6 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-10 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-10 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-10 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-10 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-10 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-10 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-10 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2578

(SIO-1815) Create a site on which admins will be able to manage all submissions

Modified SubmissionAdmin to be able to work without contest in url.
Also modified mix-ins to adjust them to the new functionality.
Added new entry to admin menu which redirects to the same view as
'Submissions' in contest admin menu but without contest in url.

Change-Id: Ic1d5f46fadc722f2a15ae8c67ca91af9ee5b121f




[SIO-1814] Make checker sandboxing more lenient Created: 2016-05-12  Updated: 2017-11-15  Due: 2016-05-14

Status: Reopened
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Semester

Type: Bug Priority: Major
Reporter: Michał Łazowik Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1780 Make teacher permissions secure Resolved
TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Description   
Preferably run it under proot, like ingen & inwer (if performance in proot is good enough, as checkers are run with each submission judging).

If not, add a flag to supervisor that allows more syscalls (fseek, gettimeofday etc.).

 Comments   
Comment by Michał Łazowik [ 2016-05-16 ]
Supervisors benchmark:
(compare 5 * 10^6 small ints)

(#run, sample tests, full tests)

PRoot:
#1: 10.017385179s, 11.391354969s
#2: 10.226155055s, 10.930424845s

No sandboxing:
#1: 9.381381731s, 10.999184434s
#2: 9.18131602s, 10.264128036s

Supervisor:
#1: 11.412477519s, 12.920478417s
#2: 10.469766335s, 12.542908907s
Comment by Gerrit Gerrit [ 2016-05-16 ]
Change I36944a0849a4a4a163be29f9f80e8467a6156497, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2564

SIO-1814 Use PRoot for checker sandboxing

It's also used for ingen and does not block syscalls that might be useful
in checkers, but should be forbidden in solutions (most notably seek).

Change-Id: I36944a0849a4a4a163be29f9f80e8467a6156497
Comment by Gerrit Gerrit [ 2016-05-16 ]
Change I36944a0849a4a4a163be29f9f80e8467a6156497, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2564

SIO-1814 Use PRoot for checker sandboxing

It's also used for ingen and does not block syscalls that might be useful
in checkers, but should be forbidden in solutions (most notably seek).

Change-Id: I36944a0849a4a4a163be29f9f80e8467a6156497
Comment by Gerrit Gerrit [ 2016-05-16 ]
Change I36944a0849a4a4a163be29f9f80e8467a6156497, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2564

SIO-1814 Use PRoot for checker sandboxing

It's also used for ingen and does not block syscalls that might be useful
in checkers, but should be forbidden in solutions (most notably seek).

Change-Id: I36944a0849a4a4a163be29f9f80e8467a6156497
Comment by Michał Łazowik [ 2016-06-20 ]
Sandboxing turned on on Szkopuł.
Comment by Michał Łazowik [ 2016-06-20 ]
Aaaand disabled on Szkopuł. Still causes problems.
Comment by Michał Łazowik [ 2016-06-20 ]
Submission that breaks it: https://szkopul.edu.pl/s/247518/ from problem: https://szkopul.edu.pl/c/warsztaty-dla-gimnazjalistow/problemset/problem/wTy-sxQCIKry0Ml-6RvM0L78/site/?key=statement




[SIO-1812] Switch to oitimetool on szkopuł Created: 2016-05-11  Updated: 2019-03-26  Resolved: 2016-06-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Bug Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1

Issue Links:
Blocks
is blocked by SIO-1797 Check for anomalies in szkopuł/oitime... Closed

 Description   
We should enable oitimetool on szkopuł after updating timelimits.

It needs:
- a change in settings of sio2 instance.
- (maybe) an update of workers
- a message on the top of the site about switching times and possible problems with it. We don't want to write spam e-mails about this.

 Comments   
Comment by Sebastian Jaszczur [ 2016-05-30 ]
As we don't plan to update any timelimits for now (SIO-1819) - I don't think there is anything blocking this.




[SIO-1811] Refactor permission cache Created: 2016-05-4  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Improvement Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: T2


 Description   
Currently all our backends append custom fields to User objects. It'd be better to make them use a single dict in these objects (e.g. permission_cache).

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1810] Report printing mockup Created: 2016-04-24  Updated: 2019-03-26  Resolved: 2016-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Minor
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Mateusz Śmiech
TAG Reviewer: Michał Łazowik




[SIO-1809] Forum mockups Created: 2016-04-24  Updated: 2019-03-26  Resolved: 2016-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Mateusz Śmiech
TAG Reviewer: Michał Łazowik




[SIO-1808] Submissions list mockup Created: 2016-04-24  Updated: 2019-03-26  Due: 2016-05-4  Resolved: 2016-05-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech




[SIO-1807] Mockup for adding teachers & contestants to a contest Created: 2016-04-24  Updated: 2019-03-26  Due: 2016-05-4  Resolved: 2016-05-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T3

Attachments: Text File Uczestnicy A.bmml     PNG File Uczestnicy A.png     Text File Uczestnicy B.bmml     PNG File Uczestnicy B.png    
Issue Links:
Blocks
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Comments   
Comment by Michał Łazowik [ 2016-05-11 ]
Not really needed, just fix what we have now.




[SIO-1806] Task settings mockup Created: 2016-04-24  Updated: 2019-03-26  Resolved: 2016-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Mateusz Śmiech
TAG Reviewer: Michał Łazowik




[SIO-1805] Mockup for adding tasks Created: 2016-04-24  Updated: 2019-03-26  Due: 2016-05-4  Resolved: 2016-05-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Attachments: Text File Adding a problem A.bmml     PNG File Adding a problem A.png    
Issue Links:
Blocks
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech




[SIO-1804] Contest settings mockup Created: 2016-04-24  Updated: 2019-03-26  Due: 2016-05-4  Resolved: 2016-11-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Description   
Apart from what is there now, include also prolonging rounds for specific contestants.




[SIO-1803] Mockup for creating a contest Created: 2016-04-24  Updated: 2019-03-26  Resolved: 2016-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Attachments: Text File 2016-05-11 10.14 Ekran 1.bmml     PNG File 2016-05-11 10.14 Ekran 1.png     Text File 2016-05-11 10.41A 2.bmml     PNG File 2016-05-11 10.41A 2.png     Text File 2016-05-11 10.58 B 2.bmml     PNG File 2016-05-11 10.58 B 2.png    
Issue Links:
Blocks
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Mateusz Śmiech
TAG Reviewer: Michał Łazowik

 Description   
What is there now:
 * name
 * id
 * start date
 * end date
 * results publication date
 * type

What do we want? Probably some easy and fast way to create a simple contest with adding tasks along the way

 Comments   
Comment by Mateusz Śmiech [ 2016-05-11 ]




[SIO-1802] Contest landing page mockup Created: 2016-04-24  Updated: 2019-03-26  Due: 2016-04-29  Resolved: 2016-05-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Attachments: Text File Contest dashboard A.bmml     PNG File Contest dashboard A.png     Text File Contest dashboard B.bmml     PNG File Contest dashboard B.png    
Issue Links:
Blocks
blocks SIO-1817 Implement contest dashboard Closed
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech




[SIO-1801] Teachers landing page mockup Created: 2016-04-24  Updated: 2019-03-26  Resolved: 2016-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Attachments: Text File A.bmml     PNG File A.png    
Issue Links:
Blocks
blocks SIO-1786 Design new teachers interface Closed
TAG Developer: Mateusz Śmiech
TAG Reviewer: Michał Łazowik

 Description   
Should view a few contests with latest useful information about them

 Comments   
Comment by Mateusz Śmiech [ 2016-05-11 ]




[SIO-1800] Deploy problemset portal Created: 2016-04-20  Updated: 2019-03-26  Resolved: 2016-05-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Critical
Reporter: Wojciech Jabłoński Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
* Finalize scrapping tasks from MAIN
* Add miscleanous data about contests from MAIN to Szkopuł (round numbers etc)
* Deploy portal tree on Szkopuł


 Comments   
Comment by Wojciech Jabłoński [ 2016-05-25 ]
https://szkopul.edu.pl/portal/problemset




[SIO-1799] Use oioioi.base.tests.TestCase everywhere Created: 2016-04-20  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
We have our own TestCase subclass with some additional goodies (assertNumQueriesLessThan at the time of writing). We should use it everywhere to reduce confusion.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1798] Setting for running checkers in sandbox Created: 2016-04-14  Updated: 2019-03-26  Resolved: 2016-04-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1780 Make teacher permissions secure Resolved
TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Comments   
Comment by Gerrit Gerrit [ 2016-04-14 ]
Change I76d23a52214de21c8c8d9e8300e88c299798a090, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2542

SIO-1798 Checkers in sandbox option (experimental)

Change-Id: I76d23a52214de21c8c8d9e8300e88c299798a090




[SIO-1797] Check for anomalies in szkopuł/oitimetool running times Created: 2016-04-13  Updated: 2019-03-26  Resolved: 2016-05-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1

Attachments: File chart.py     PNG File oitimetool_times2.png     File oitimrunner.py    
Issue Links:
Blocks
blocks SIO-1812 Switch to oitimetool on szkopuł Closed

 Description   
Need to check all public problems available in problemset for anomalies in szkopuł/oitimetool running times ratio.
Especially I expect some problems to have longer running times on szkopuł than oitimetool, but most of them should have ratio around 1:1.

Analysis of small sample (9 solutions/problems): SIO-1754

The goal is to identify problems which timelimits should be scaled with something else than 1 and compute better ratio for them.
Another goal is to generate chart like in SIO-1754 .

 Comments   
Comment by Sebastian Jaszczur [ 2016-05-25 ]
After analysis of most of problems (around 600) indicates that maximum of 22 problems would cause problems after scaling timelimits 1:1. That's around 3%.
It's worth noticing that 17 problems have similar problems already (but it's not the subset of previous problems; they share 5 elements).

From those 22 problems:
2 were some kind of bugs and oitimetool gave time of around 20 minutes when timelimit (and original runtime) was around few seconds. I don't know why this has happened, though.
15 of them would lose max 3 points.
3 of them would lose 5-6 points.
1 would lose around 14 points.
1 would lose around 23 points.

So generally it's not so bad and with Accek we've agreed on scaling timelimits 1:1, as it's fairly OK and it's effortless. To those few problems that may lose some points - we will create a tool for searching for them, probably available from manage.py. Ticket: SIO-1819
Comment by Sebastian Jaszczur [ 2016-06-8 ]
Raw scripts used to generate results and chart.




[SIO-1796] Extend portal's ProblemTable widget Created: 2016-04-11  Updated: 2019-03-26  Resolved: 2016-05-18

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Wojciech Jabłoński Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Sebastian Jaszczur

 Description   
User should be able to see how how many points he's scored right in the ProblemTable widget.
Also, there should be a configurable header other than "Problem name"

 Comments   
Comment by Gerrit Gerrit [ 2016-05-6 ]
Change Iad51df6ed6cbbdeb7238fb456907e1667c4fc657, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2554

(SIO-1796) Points and headers added to problemtable widget

Points earned on main problem instance are displayed next to problem.

Header of the problemtable is customizable with syntax:
[[ProblemTable:Header|task1;task2;...]]
Old syntax is still supported though with default table header.

Change-Id: Iad51df6ed6cbbdeb7238fb456907e1667c4fc657
Comment by Gerrit Gerrit [ 2016-05-7 ]
Change I85fbb1ffcc17c60f419452e9e568b9a2b96541cc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2555

(no-ticket) slightly refine portal generation tools.

1) Create portal as a child of root instead of root itself
2) Add support for multiple problemtables with headers
   (headers were added in SIO-1796)

Change-Id: I85fbb1ffcc17c60f419452e9e568b9a2b96541cc
Comment by Gerrit Gerrit [ 2016-05-7 ]
Change I85fbb1ffcc17c60f419452e9e568b9a2b96541cc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2555

(no-ticket) slightly refine portal generation tools.

1) Create portal as a child of root instead of root itself
2) Add support for multiple problemtables with headers
   (headers were added in SIO-1796)

Change-Id: I85fbb1ffcc17c60f419452e9e568b9a2b96541cc
Comment by Gerrit Gerrit [ 2016-05-7 ]
Change I85fbb1ffcc17c60f419452e9e568b9a2b96541cc, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2555

(no-ticket) slightly refine portal generation tools.

1) Create portal as a child of root instead of root itself
2) Add support for multiple problemtables with headers
   (headers were added in SIO-1796)

Change-Id: I85fbb1ffcc17c60f419452e9e568b9a2b96541cc
Comment by Gerrit Gerrit [ 2016-05-7 ]
Change Iad51df6ed6cbbdeb7238fb456907e1667c4fc657, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2554

(SIO-1796) Points and headers added to problemtable widget

Points earned on main problem instance are displayed next to problem.

Header of the problemtable is customizable with syntax:
[[ProblemTable:Header|task1;task2;...]]
Old syntax is still supported though with default table header.

Change-Id: Iad51df6ed6cbbdeb7238fb456907e1667c4fc657
Comment by Gerrit Gerrit [ 2016-05-7 ]
Change I85fbb1ffcc17c60f419452e9e568b9a2b96541cc, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2555

(no-ticket) slightly refine portal generation tools.

1) Create portal as a child of root instead of root itself
2) Add support for multiple problemtables with headers
   (headers were added in SIO-1796)

Change-Id: I85fbb1ffcc17c60f419452e9e568b9a2b96541cc
Comment by Gerrit Gerrit [ 2016-05-7 ]
Change Iad51df6ed6cbbdeb7238fb456907e1667c4fc657, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2554

(SIO-1796) Points and headers added to problemtable widget

Points earned on main problem instance are displayed next to problem.

Header of the problemtable is customizable with syntax:
[[ProblemTable:Header|task1;task2;...]]
Old syntax is still supported though with default table header.

Change-Id: Iad51df6ed6cbbdeb7238fb456907e1667c4fc657
Comment by Gerrit Gerrit [ 2016-05-7 ]
Change I85fbb1ffcc17c60f419452e9e568b9a2b96541cc, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2555

(no-ticket) slightly refine portal generation tools.

1) Create portal as a child of root instead of root itself
2) Add support for multiple problemtables with headers
   (headers were added in SIO-1796)

Change-Id: I85fbb1ffcc17c60f419452e9e568b9a2b96541cc
Comment by Gerrit Gerrit [ 2016-05-7 ]
Change Iad51df6ed6cbbdeb7238fb456907e1667c4fc657, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2554

(SIO-1796) Points and headers added to problemtable widget

Points earned on main problem instance are displayed next to problem.

Header of the problemtable is customizable with syntax:
[[ProblemTable:Header|task1;task2;...]]
Old syntax is still supported though with default table header.

Fixed tests that passed None instead of more proper request object.

Change-Id: Iad51df6ed6cbbdeb7238fb456907e1667c4fc657
Comment by Gerrit Gerrit [ 2016-05-8 ]
Change I85fbb1ffcc17c60f419452e9e568b9a2b96541cc, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2555

(no-ticket) slightly refine portal generation tools.

1) Create portal as a child of root instead of root itself
2) Add support for multiple problemtables with headers
   (headers were added in SIO-1796)

Change-Id: I85fbb1ffcc17c60f419452e9e568b9a2b96541cc
Comment by Gerrit Gerrit [ 2016-05-9 ]
Change Iad51df6ed6cbbdeb7238fb456907e1667c4fc657, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2554

(SIO-1796) Points and headers added to problemtable widget

Points earned on main problem instance are displayed next to problem.

Header of the problemtable is customizable with syntax:
[[ProblemTable:Header|task1;task2;...]]
Old syntax is still supported though with default table header.

Fixed tests that passed None instead of more proper request object.

Change-Id: Iad51df6ed6cbbdeb7238fb456907e1667c4fc657
Comment by Gerrit Gerrit [ 2016-05-9 ]
Change I85fbb1ffcc17c60f419452e9e568b9a2b96541cc, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2555

(no-ticket) slightly refine portal generation tools.

1) Create portal as a child of root instead of root itself
2) Add support for multiple problemtables with headers
   (headers were added in SIO-1796)

Change-Id: I85fbb1ffcc17c60f419452e9e568b9a2b96541cc
Comment by Gerrit Gerrit [ 2016-05-10 ]
Change Iad51df6ed6cbbdeb7238fb456907e1667c4fc657, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2554

(SIO-1796) Points and headers added to problemtable widget

Points earned on main problem instance are displayed next to problem.

Header of the problemtable is customizable with syntax:
[[ProblemTable:Header|task1;task2;...]]
Old syntax is still supported though with default table header.

Fixed tests that passed None instead of more proper request object.

Change-Id: Iad51df6ed6cbbdeb7238fb456907e1667c4fc657
Comment by Gerrit Gerrit [ 2016-05-10 ]
Change I85fbb1ffcc17c60f419452e9e568b9a2b96541cc, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2555

(no-ticket) slightly refine portal generation tools.

1) Create portal as a child of root instead of root itself
2) Add support for multiple problemtables with headers
   (headers were added in SIO-1796)

Change-Id: I85fbb1ffcc17c60f419452e9e568b9a2b96541cc
Comment by Gerrit Gerrit [ 2016-05-10 ]
Change Iad51df6ed6cbbdeb7238fb456907e1667c4fc657, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2554

(SIO-1796) Points and headers added to problemtable widget

Points earned on main problem instance are displayed next to problem.

Header of the problemtable is customizable with syntax:
[[ProblemTable:Header|task1;task2;...]]
Old syntax is still supported though with default table header.

Fixed tests that passed None instead of more proper request object.

Change-Id: Iad51df6ed6cbbdeb7238fb456907e1667c4fc657
Comment by Gerrit Gerrit [ 2016-05-11 ]
Change Iad51df6ed6cbbdeb7238fb456907e1667c4fc657, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2554

(SIO-1796) Points and headers added to problemtable widget

Points earned on main problem instance are displayed next to problem.

Header of the problemtable is customizable with syntax:
[[ProblemTable:Header|task1;task2;...]]
Old syntax is still supported though with default table header.

Fixed tests that passed None instead of more proper request object.

Change-Id: Iad51df6ed6cbbdeb7238fb456907e1667c4fc657
Comment by Gerrit Gerrit [ 2016-05-11 ]
Change I85fbb1ffcc17c60f419452e9e568b9a2b96541cc, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2555

(no-ticket) slightly refine portal generation tools.

1) Create portal as a child of root instead of root itself
2) Add support for multiple problemtables with headers
   (headers were added in SIO-1796)

Change-Id: I85fbb1ffcc17c60f419452e9e568b9a2b96541cc




[SIO-1795] Portal tree menu positioning broken Created: 2016-04-11  Updated: 2019-03-26  Resolved: 2016-11-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Jabłoński Assignee: Szymon Acedański
Resolution: Cannot Reproduce Votes: 0
Labels: None

Attachments: PNG File Screenshot_20160411_004231.png    

 Description   
If you hover over siblings' menu in portal tree with sufficiently many entries, it won't be fully visible. An example attached.

 Comments   
Comment by Wojciech Jabłoński [ 2016-11-30 ]
Has been fixed in june 2016 as one of WWW exam tickets.




[SIO-1794] Site name breaks on login page Created: 2016-04-6  Updated: 2019-03-26  Resolved: 2017-01-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 2

Type: Bug Priority: Minor
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screen Shot 2016-04-06 at 16.52.40.png    

 Description   
Register and all other pages work, but if somebody tries to login, the default "OIOIOI" site name changes to "localhost:8000" for me.

 Comments   
Comment by Marcin Mielniczuk [ 2016-11-30 ]
The same happens after logout
Comment by Gerrit Gerrit [ 2016-12-2 ]
Change Iefc6886acdbd3165c94886ab0012948a90478443, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2661

SIO-1794 Fix site_name on login and logout views

Add site_name as extra_context to these views because by default they get the site_name from Django Sites framework (if used) or default to request.META['SERVER_NAME'].

Change-Id: Iefc6886acdbd3165c94886ab0012948a90478443
Comment by Gerrit Gerrit [ 2016-12-2 ]
Change Iefc6886acdbd3165c94886ab0012948a90478443, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2661

SIO-1794 Fix site_name on login and logout views

Add site_name as extra_context to these views because by default they get the site_name from Django Sites framework (if used) or default to request.META['SERVER_NAME'].

Change-Id: Iefc6886acdbd3165c94886ab0012948a90478443




[SIO-1793] Add CPU profiling instructions to README Created: 2016-04-6  Updated: 2019-03-26  Resolved: 2016-11-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T2


 Description   
I want to wait with it until we have more experience with profiling.

In the meantime ask me (Stanisław Barzowski)




[SIO-1792] Some packages from main.edu.pl have empty outs Created: 2016-04-6  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Golden solutions to some problems don't work, because expected outputs are empty files. Examples:
https://szkopul.edu.pl/c/test-paczek/s/334212/
https://szkopul.edu.pl/c/test-paczek/s/334213/

Probably something crashed during output generations. The packages should be removed (and reuploaded).

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1791] Check if package uploading is safe Created: 2016-03-30  Updated: 2019-03-26  Resolved: 2016-05-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1780 Make teacher permissions secure Resolved

 Description   
E.g. if model solutions are compiled and run in sandbox, if latex is *not* compiled etc.

 Comments   
Comment by Michał Łazowik [ 2016-04-6 ]
Input generator, even though it writes files by design, did not write to /tmp.
But checker did :(




[SIO-1790] Global time & memory limits Created: 2016-03-30  Updated: 2019-03-26  Resolved: 2016-04-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1780 Make teacher permissions secure Resolved
TAG Developer: Mateusz Śmiech
TAG Reviewer: Michał Łazowik

 Comments   
Comment by Mateusz Śmiech [ 2016-04-6 ]
256MB na pamięć
30min na sumę czasów na wszystkich testach
Comment by Gerrit Gerrit [ 2016-04-17 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce
Comment by Gerrit Gerrit [ 2016-04-17 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce
Comment by Gerrit Gerrit [ 2016-04-17 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce
Comment by Gerrit Gerrit [ 2016-04-19 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce
Comment by Gerrit Gerrit [ 2016-04-19 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I77c81dc242c45e80b13965fa3e1528cca944ddce, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2544

SIO-1790 Global time & memory limits

Adding global time and memory limits for tests.
They're enforced in forms and probleminstance creation, not
by checkers.

Change-Id: I77c81dc242c45e80b13965fa3e1528cca944ddce




[SIO-1789] Squash migrations / optimize test running Created: 2016-03-29  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: T2

Issue Links:
Relates
is related to SIO-2145 Allow enabling "participants" app wit... Resolved

 Description   
We can speed up the tests significantly by squashing migrations. In django there is a mechanism that seems to solve this properly.

https://docs.djangoproject.com/en/1.9/topics/migrations/#squashing-migrations

 Comments   
Comment by Adam Paszke [ 2016-03-29 ]
+10000 for this one. At each test run 30s is spent on rendering models.
Comment by Stanisław Barzowski [ 2016-03-30 ]
Sadly, it's not going well. There aren't that many migrations, but they are very complicated and require manual interventions.
Comment by Stanisław Barzowski [ 2016-03-30 ]
I squashed some migrations and it doesn't seem to help much.

Maybe instead we should focus on reusing the db between test runs (for development).
Comment by Adam Paszke [ 2016-03-30 ]
We're using an in-memory database, and as far as I remember there's no feature that can dump and reuse it.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




Check whether a user can be a teacher in certain contests while being a normal participant in others (SIO-1784)

[SIO-1788] Check whether link allowing to join a contest as a teacher differs from the one allowing user to join as a regular user Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-03-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Sub-task Priority: Minor
Reporter: Mateusz Śmiech Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Comments   
Comment by Michał Łazowik [ 2016-03-23 ]
It does.




[SIO-1787] Implement new teachers interface Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-11-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1785 Teachers UX Closed
is blocked by SIO-1817 Implement contest dashboard Closed
is blocked by SIO-1827 Implement new problem settings Closed
is blocked by SIO-1828 Implement teacher dashboard Closed

 Comments   
Comment by Gerrit Gerrit [ 2016-06-16 ]
Change Ibbe5b6b03dce35142bbe6a9863666e70cadb6305, patchset 43
https://gerrit.sio2project.mimuw.edu.pl/2583

SIO-1787 Adding the main dashboard.

Change-Id: Ibbe5b6b03dce35142bbe6a9863666e70cadb6305




[SIO-1786] Design new teachers interface Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-11-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1785 Teachers UX Closed
is blocked by SIO-1801 Teachers landing page mockup Closed
is blocked by SIO-1802 Contest landing page mockup Closed
is blocked by SIO-1803 Mockup for creating a contest Closed
is blocked by SIO-1804 Contest settings mockup Closed
is blocked by SIO-1805 Mockup for adding tasks Closed
is blocked by SIO-1806 Task settings mockup Closed
is blocked by SIO-1807 Mockup for adding teachers & contesta... Closed
is blocked by SIO-1808 Submissions list mockup Closed
is blocked by SIO-1809 Forum mockups Closed
is blocked by SIO-1810 Report printing mockup Closed




[SIO-1785] Teachers UX Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-11-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
is blocked by SIO-1787 Implement new teachers interface Closed
is blocked by SIO-1782 Identify all tasks that teachers can do Closed
is blocked by SIO-1783 Identify stories for all tasks that t... Closed
is blocked by SIO-1786 Design new teachers interface Closed




[SIO-1784] Check whether a user can be a teacher in certain contests while being a normal participant in others Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-03-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Mateusz Śmiech Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Sub-Tasks:
Key
Summary
Type
Status
Assignee
SIO-1788 Check whether link allowing to join a... Sub-task Closed Szymon Acedański  

 Comments   
Comment by Michał Łazowik [ 2016-03-30 ]
Yes, they can.




[SIO-1783] Identify stories for all tasks that teachers can do Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-04-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1785 Teachers UX Closed
Duplicate
duplicates SIO-1782 Identify all tasks that teachers can do Closed
TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Comments   
Comment by Michał Łazowik [ 2016-04-20 ]
Not much interesting here, marking as duplicate.




[SIO-1782] Identify all tasks that teachers can do Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-04-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

Issue Links:
Blocks
blocks SIO-1785 Teachers UX Closed
Duplicate
is duplicated by SIO-1783 Identify stories for all tasks that t... Closed
TAG Developer: Mateusz Śmiech
TAG Reviewer: Michał Łazowik

 Comments   
Comment by Michał Łazowik [ 2016-04-20 ]
https://docs.google.com/document/d/1puVnRs_cBm9ayAkfD3EbZ3xpBB93UijJ1pLHrKmqF64/edit




[SIO-1781] Create convenient solution for connecting checker to sio2 instance Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Piotr Wiśniewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1


 Description   
It should be easy to connect already working checker to another sio2 instance

 Comments   
Comment by Gerrit Gerrit [ 2016-05-10 ]
Change I30ad2c08e1ff1e4d004fbc6c2e038b6d24b58be4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2557

(SIO-1781) Create convenient solution for connecting checker to sio2 instance

Change-Id: I30ad2c08e1ff1e4d004fbc6c2e038b6d24b58be4
Comment by Gerrit Gerrit [ 2016-05-10 ]
Change Ib94eee06de76153a1e73a6a4196a1f8220f816c4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2558

(SIO-1781) Create convenient solution for connecting checker to sio2 instance

Url on which extern worker can access filetracker server is now added
to the environ. The url can be set in settings.

Change-Id: Ib94eee06de76153a1e73a6a4196a1f8220f816c4
Comment by Gerrit Gerrit [ 2016-05-10 ]
Change Ib94eee06de76153a1e73a6a4196a1f8220f816c4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2558

(SIO-1781) Create convenient solution for connecting checker to sio2 instance

Url on which extern worker can access filetracker server is now added
to the environ. The url can be set in settings.

Change-Id: Ib94eee06de76153a1e73a6a4196a1f8220f816c4
Comment by Gerrit Gerrit [ 2016-05-10 ]
Change Ib94eee06de76153a1e73a6a4196a1f8220f816c4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2558

(SIO-1781) Create convenient solution for connecting checker to sio2 instance

Url on which extern worker can access filetracker server is now added
to the environ. The url can be set in settings.

Change-Id: Ib94eee06de76153a1e73a6a4196a1f8220f816c4
Comment by Gerrit Gerrit [ 2016-05-10 ]
Change I30ad2c08e1ff1e4d004fbc6c2e038b6d24b58be4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2557

(SIO-1781) Create convenient solution for connecting checker to sio2 instance

When running 'run(environ)' thread local variable (filetracker client)
is set according to filetracker url sent in environ. Clients are cached
in gloabl dictionary.
Change-Id: I30ad2c08e1ff1e4d004fbc6c2e038b6d24b58be4
Comment by Gerrit Gerrit [ 2016-05-10 ]
Change Ib94eee06de76153a1e73a6a4196a1f8220f816c4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2558

(SIO-1781) Create convenient solution for connecting checker to sio2 instance

Url on which extern worker can access filetracker server is now added
to the environ. The url can be set in settings.

Change-Id: Ib94eee06de76153a1e73a6a4196a1f8220f816c4
Comment by Gerrit Gerrit [ 2016-05-11 ]
Change I30ad2c08e1ff1e4d004fbc6c2e038b6d24b58be4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2557

(SIO-1781) Create convenient solution for connecting checker to sio2 instance

When running 'run(environ)' thread local variable (filetracker client)
is set according to filetracker url sent in environ. Clients are cached
in gloabl dictionary. The removed code in celery/worker.py is no longer
needed beacuse filetracker url is sent with environ.
Change-Id: I30ad2c08e1ff1e4d004fbc6c2e038b6d24b58be4




[SIO-1780] Make teacher permissions secure Created: 2016-03-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Major
Reporter: Mateusz Śmiech Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by SIO-1814 Make checker sandboxing more lenient Reopened
is blocked by SIO-1790 Global time & memory limits Closed
is blocked by SIO-1798 Setting for running checkers in sandbox Closed
is blocked by SIO-1791 Check if package uploading is safe Closed

 Description   
Students are to be allowed to ask for teacher permissions, so that they can run contests while taking part in others. We have to make sure that giving these permissions are safe enough to be given to untrusted users.

 Comments   
Comment by Michał Łazowik [ 2016-03-30 ]
They are not. See blocking tasks.
Comment by Gerrit Gerrit [ 2016-05-14 ]
Change I6925252509f9e79caa7e81c2f3c24b2001e1ee82, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2563

SIO-1780 Unmark dashboard message as safe html

We plan to give teacher permissions to regular users, we cannot trust that they
will not use this for XSS.

We might want to enable markdown in that field.

Change-Id: I6925252509f9e79caa7e81c2f3c24b2001e1ee82
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1779] Connect different instances of sio2 to common checkers Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-06-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Piotr Wiśniewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1


 Description   
After creating solution for sharing checkers we should use it in szkopul and other instances

 Comments   
Comment by Piotr Wiśniewski [ 2016-06-20 ]
sio2.mimuw.edu.pl was updated and seems to work




[SIO-1778] Contact teachers Created: 2016-03-23  Updated: 2016-11-2  Resolved: 2016-04-27

Status: Closed
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Minor
Reporter: Mateusz Śmiech Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T3

TAG Reviewer: Michał Łazowik

 Description   
We should contact teacher in order to get acquainted with their use cases and suggestions about teacher's UX.

 Comments   
Comment by Mateusz Śmiech [ 2016-03-30 ]
Wysłałem maile do:

Joanna Koza - yaninka@o2.pl - ZS nr 37 w Warszawie
Joanna Lenart - jlenart@kopernik.edu.pl - ZS nr 117 w Warszawie
Renata Żelazek - renata.zelazek@zamoyski.edu.pl - XVIII LO w Warszawie
Katarzyna Kowalska - kasia.kowalska3@gmail.com - ZS nr 84 w Warszawie
Joanna Śmigielska - jsmigiel@staszic.waw.pl - Staszic

Mam jeszcze dwie osoby, z którymi będę się kontaktował osobiście.
Comment by Wojciech Jabłoński [ 2016-04-5 ]
Kasia Kowalska to też Staszic. Plus jest na wydziale, na pierwszym roku infy. Zaciągnąć ją?
Comment by Mateusz Śmiech [ 2016-06-20 ]
Byłem umówiony na spotkanie z panią Śmigielską, ale zostało ono odwołane na moment przed planowanym rozpoczęciem (info dla potomnych).




[SIO-1777] Create tools for semi-automatic creation of problemset portal Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-05-31

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1

Attachments: GZip Archive problem_tree.tar.gz    
TAG Reviewer: Sebastian Jaszczur

 Description   
Create portal templates that will provide a way to semi-automatically create user-friendly portals.

Problemset portal should look, more or less, like main.edu.pl - it should have contests divided into editions. Adding new contest or new edition shouldn't require any changes in oioioi code.

 Comments   
Comment by Sebastian Jaszczur [ 2016-04-13 ]
Tak jak przejrzałem portale i (pobieżnie) skrypt (ale on i tak jest jednorazowy) - to wygląda to dobrze, trzeba tylko będzie placeholdery wypełnić. A na pewno wygląda lepiej niż obecny problemset.

Przydałoby się tylko, żeby po kliknięciu w zadanie wciąż można było widzieć menu po lewej stronie - tak samo jak na mainie jest. Da się to zrobić w ramach portali? Bo wydaje się to bardzo wygodne - szczególnie, żeby nie było wrażenia przenoszenia użytkownika w zupełnie nowe miejsce.

(poza tym, oczywiste notki - dziwi mnie, że nie ma niektórych edycji, np. ONTAK-2012 mimo istnienia ONTAK-2013 i ONTAK-2011; ale na mainie też nie ma zadań z tego, więc "nie nasza wina", ale można by zapytać kogoś co tam się stało. Ew. olać. Chyba, że już coś o tym wiadomo?)
(no i przydałoby się menu portali poprawić, ale to inny issue)
Comment by Wojciech Jabłoński [ 2016-04-13 ]
Placeholdery są do dopisania, jak stwierdzimy że skrypt itp. działa to się tym zajmę (albo spróbuję oddelegować, he he)

Po kliknięciu w zadanie wyświetla się view zadania zamiast portalu - nie wiem, czy da się to łatwo naprawić. Raczej nie.

Niektórych zadań nie ma, bo nie zostały wrzucone przez Patryka. Czekam, jak będą to dogeneruję. Niektórych zadań w ogóle nie ma na Mainie, ale to jest już całkowicie inny issue.

Menu portali dostało ticketa.
Comment by Gerrit Gerrit [ 2016-04-13 ]
Change Idb5744581650935131f726c0ee66bf3dceb4c43b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2543

(SIO-1777) Create tools for semi-automatic problemset portal creation

Two commands were added to manage.py that generate problemset
portal from apropriate raw list of tasks. The raw task list
from MAIN has also been added to the repo.

Change-Id: Idb5744581650935131f726c0ee66bf3dceb4c43b
Comment by Gerrit Gerrit [ 2016-04-13 ]
Change Idb5744581650935131f726c0ee66bf3dceb4c43b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2543

(SIO-1777) Create tools for semi-automatic problemset portal creation

Two commands were added to manage.py that generate problemset
portal from apropriate raw list of tasks. The raw task list
from MAIN has also been added to the repo.

Change-Id: Idb5744581650935131f726c0ee66bf3dceb4c43b
Comment by Gerrit Gerrit [ 2016-04-16 ]
Change Idb5744581650935131f726c0ee66bf3dceb4c43b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2543

SIO-1777 Create tools for semi-automatic problemset portal creation

Two commands were added to manage.py that generate problemset
portal from apropriate raw list of tasks. The raw task list
from MAIN has also been added to the repo.

Change-Id: Idb5744581650935131f726c0ee66bf3dceb4c43b
Comment by Gerrit Gerrit [ 2016-04-16 ]
Change Idb5744581650935131f726c0ee66bf3dceb4c43b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2543

SIO-1777 Create tools for semi-automatic problemset portal creation

Two commands were added to manage.py that generate problemset
portal from apropriate raw list of tasks. The raw task list
from MAIN has also been added to the repo.

Change-Id: Idb5744581650935131f726c0ee66bf3dceb4c43b
Comment by Gerrit Gerrit [ 2016-04-16 ]
Change Idb5744581650935131f726c0ee66bf3dceb4c43b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2543

SIO-1777 Create tools for semi-automatic problemset portal creation

Two commands were added to manage.py that generate problemset
portal from apropriate raw list of tasks. The raw task list
from MAIN has also been added to the repo.

Change-Id: Idb5744581650935131f726c0ee66bf3dceb4c43b
Comment by Wojciech Jabłoński [ 2016-04-17 ]
https://docs.google.com/document/d/1P5MVCaGTD-Br5Qof_wC71QpQvIf2fcaFGO0NAJEQYvQ/edit

Szkic instrukcji obsługi. Review?
Comment by Gerrit Gerrit [ 2016-04-17 ]
Change Idb5744581650935131f726c0ee66bf3dceb4c43b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2543

SIO-1777 Create tools for semi-automatic problemset portal creation

Two commands were added to manage.py that generate problemset
portal from apropriate raw list of tasks. The raw task list
from MAIN has also been added to the repo.

Change-Id: Idb5744581650935131f726c0ee66bf3dceb4c43b
Comment by Gerrit Gerrit [ 2016-04-17 ]
Change Idb5744581650935131f726c0ee66bf3dceb4c43b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2543

SIO-1777 Create tools for semi-automatic problemset portal creation

Two commands were added to manage.py that generate problemset
portal from apropriate raw list of tasks. The raw task list
from MAIN has also been added to the repo.

Change-Id: Idb5744581650935131f726c0ee66bf3dceb4c43b
Comment by Szymon Acedański [ 2016-04-20 ]
Please don't resolve until committed and deployed.
Comment by Wojciech Jabłoński [ 2016-04-20 ]
I wanted to create another issue with deployment task. And I have merged the change with master (shouldn't I?)
Comment by Sebastian Jaszczur [ 2016-05-30 ]
Is it done?




[SIO-1776] Turn off downloading problems from Main on Szkopuł Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-06-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1


 Description   
As we don't ghave all the tasks already moved to problemset from main there are two possible solutions:
- (harder, but better) turn off that option for normal users, but keep it for superusers
- (easier, but it should be enough) move it further, so it won't be a default option

Also we can write a message about this together on the top of the site, together with message about switching checkers.

Probably it's blocked by SIO-1770.

 Comments   
Comment by Wojciech Jabłoński [ 2016-06-7 ]
Moved to back. Will reopen if turning of for normal users is needed.




[SIO-1775] Fixing the unknown Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-11-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T2


 Description   
There is obviously a lot of unknown with perf optimization. We expect to spend some time on things that aren't dreamt in our philosophy.




[SIO-1774] Backup and restore Szkopul Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T2

Issue Links:
Blocks
blocks SIO-1759 Remove duplicate files on szkopul Closed
is blocked by SIO-1753 Create backup prototype Closed
is blocked by SIO-1763 Setup external backup machine Closed
is blocked by SIO-1768 Make backup production ready Closed
TAG Reviewer: Stanisław Barzowski

 Description   
After backup prototype is implemented and tested, we need to make sure Szkopul will work when restored using it. (Especially before doing potentially destructive duplicate removing).




[SIO-1773] DB optimization Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-06-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

TAG Developer: Adam Paszke
TAG Reviewer: Adam Paszke

 Description   
Optimize DB queries. Especially cases where we make O(n) queries or we get a lot of data to use only a small part. May require refactoring or solving things differently (like changing rules of which contests to display).

 Comments   
Comment by Gerrit Gerrit [ 2016-04-28 ]
Change I246941ec374b0af929be7db746c431ebd86466ea, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2551

SIO-1773 Optimize visible_contest database queries

Reduce number of queries from linear in contest
count to linear in number of RegistrationController
subclasses.

Change-Id: I246941ec374b0af929be7db746c431ebd86466ea
Comment by Gerrit Gerrit [ 2016-04-28 ]
Change I246941ec374b0af929be7db746c431ebd86466ea, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2551

SIO-1773 Optimize visible_contest database queries

Reduce number of queries from linear in contest
count to linear in number of RegistrationController
subclasses.

Change-Id: I246941ec374b0af929be7db746c431ebd86466ea
Comment by Gerrit Gerrit [ 2016-04-28 ]
Change I246941ec374b0af929be7db746c431ebd86466ea, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2551

SIO-1773 Optimize visible_contest database queries

Reduce number of queries from linear in contest
count to linear in number of RegistrationController
subclasses.

Change-Id: I246941ec374b0af929be7db746c431ebd86466ea
Comment by Gerrit Gerrit [ 2016-04-28 ]
Change I51d85ef0a0993b0173a4d08e9ad02380c8c28a21, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2552

SIO-1773 Add teacher's permission caching

This query has been repeated ~7x with each request

Change-Id: I51d85ef0a0993b0173a4d08e9ad02380c8c28a21
Comment by Gerrit Gerrit [ 2016-04-28 ]
Change I51d85ef0a0993b0173a4d08e9ad02380c8c28a21, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2552

SIO-1773 Add teacher's permission caching

This query has been repeated ~7x with each request

Change-Id: I51d85ef0a0993b0173a4d08e9ad02380c8c28a21
Comment by Gerrit Gerrit [ 2016-04-28 ]
Change I246941ec374b0af929be7db746c431ebd86466ea, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2551

SIO-1773 Optimize visible_contest database queries

Reduce number of queries from linear in contest
count to linear in number of RegistrationController
subclasses.

Change-Id: I246941ec374b0af929be7db746c431ebd86466ea
Comment by Gerrit Gerrit [ 2016-04-28 ]
Change I246941ec374b0af929be7db746c431ebd86466ea, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2551

SIO-1773 Optimize visible_contest database queries

Reduce number of queries from linear in contest
count to linear in number of RegistrationController
subclasses.

Change-Id: I246941ec374b0af929be7db746c431ebd86466ea
Comment by Gerrit Gerrit [ 2016-04-29 ]
Change I246941ec374b0af929be7db746c431ebd86466ea, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2551

SIO-1773 Optimize visible_contest database queries

Reduce number of queries from linear in contest
count to linear in number of RegistrationController
subclasses.

Change-Id: I246941ec374b0af929be7db746c431ebd86466ea
Comment by Gerrit Gerrit [ 2016-04-29 ]
Change I246941ec374b0af929be7db746c431ebd86466ea, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2551

SIO-1773 Optimize visible_contest database queries

Reduce number of queries from linear in contest
count to linear in number of RegistrationController
subclasses.

Change-Id: I246941ec374b0af929be7db746c431ebd86466ea
Comment by Gerrit Gerrit [ 2016-05-4 ]
Change I024574a164e7c4ec5668df05dd0bcf02eec8e8c6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2553

SIO-1773 Simplify queries in visible_contests

Otherwise Postgres doesn't optimize complex queries, so it's in
fact faster to do several simple ones, rather than a big complex one.

Change-Id: I024574a164e7c4ec5668df05dd0bcf02eec8e8c6
Comment by Gerrit Gerrit [ 2016-05-4 ]
Change I024574a164e7c4ec5668df05dd0bcf02eec8e8c6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2553

SIO-1773 Simplify queries in visible_contests

Otherwise Postgres doesn't optimize complex queries, so it's in
fact faster to do several simple ones, rather than a big complex one.

Change-Id: I024574a164e7c4ec5668df05dd0bcf02eec8e8c6
Comment by Gerrit Gerrit [ 2016-06-1 ]
Change I80e314753764b1f2719c48be1b8f8343b018864d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2574

SIO-1773 Cache global messages

Change-Id: I80e314753764b1f2719c48be1b8f8343b018864d




[SIO-1772] Check if and how can we run shared sioworkers Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1


 Description   
Using current infrastructure and without changing (too much) someone should try to run shared workers.
It may or may not work, of course, but it should help to localise major problems.




[SIO-1771] Static Files Performance Analysis Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-05-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version, TAG 2015/16

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

TAG Developer: Adam Paszke
TAG Reviewer: Pawel Golinski

 Description   
Understand how .

Document interesting findings. Optimize if there is an easy way or there is a lot to gain. Alternatively add issues for future if there is no low-hanging fruit.

 Comments   
Comment by Gerrit Gerrit [ 2016-05-11 ]
Change Iec4573234580b30dd384af51cca995cb100b1614, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2559

SIO-1771 Prepare templates for offline static compression

Change-Id: Iec4573234580b30dd384af51cca995cb100b1614




[SIO-1770] New UX for adding problems from problemset Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-06-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Improvement Priority: Major
Reporter: Piotr Wiśniewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1

Issue Links:
Duplicate
is duplicated by SIO-1818 Make "add to contest" option in probl... Closed
Relates
relates to SIO-1822 ProblemsetSource: Problem added multi... Closed

 Description   
We want teachers to use new UX instead of adding problems from main.edu.pl

 Comments   
Comment by Wojciech Jabłoński [ 2016-05-31 ]
done?
https://szkopul.edu.pl/portal/problemset
Comment by Sebastian Jaszczur [ 2016-06-1 ]
Nope, I don't think it's done.

Let's say I want to add a new problem. I go to "contest administration" -> "problems" -> "add a problem" -> "add from problemset".
And I see old UX. I think new UX should be available from there to mark this ticket as done.

@quinor Will you do this?
Comment by Sebastian Jaszczur [ 2016-06-1 ]
OK, Accek told us that Paweł is doing that, is that right?
Anyway, I assigned this ticket to you, Paweł.
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-10 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-11 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-11 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-11 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a
Comment by Gerrit Gerrit [ 2016-06-20 ]
Change Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2582

SIO-1770 New UX for adding problems from problemset

Change-Id: Ieaaf89c6a0415d0c73d22f719ae1f507ee38b43a




[SIO-1769] Consider rate limiting requests Created: 2016-03-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Improvement Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: T2


 Description   
It's pretty tricky, so it will need some planning first.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1768] Make backup production ready Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-11-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T2

Issue Links:
Blocks
blocks SIO-1774 Backup and restore Szkopul Closed
is blocked by SIO-1753 Create backup prototype Closed
is blocked by SIO-1763 Setup external backup machine Closed
TAG Reviewer: Adam Paszke

 Description   
Backup mechanism implemented after first two sprints will need to be polished, connected to database, integrated into django, etc...

 Comments   
Comment by Szymon Acedański [ 2016-11-2 ]
Unfortunately, this was not possible at this time due to no way to provision the configuration to the externally administered Amanda backup.




[SIO-1767] Update limits in problemset for oitimetool Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-05-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Piotr Wiśniewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1
Environment: Szkopul


 Description   
Maybe also for problems in general

 Comments   
Comment by Stanisław Barzowski [ 2016-03-23 ]
I don't think 'Actualise' means what you think it means.
Comment by Sebastian Jaszczur [ 2016-05-25 ]
I've made an analysis (here: SIO-1797 ) that indicates scaling will be done only to few problems. The tool for detecting those will be created: SIO-1819




[SIO-1766] Ranking performance measurement Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-04-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

Issue Links:
Relates
is related to SIO-1687 Improve ranking caching Closed
TAG Reviewer: Stanisław Barzowski

 Description   
Understand how it works and where are the bottlenecks. Think of some ways of improving it (probably a big change).

 Comments   
Comment by Pawel Golinski [ 2016-04-13 ]
Document with ranking writeup https://docs.google.com/document/d/1o-z0f5A5CpjFG5huquSUxtb-e-PBhr_t3P_GW0_830I/edit?usp=sharing




[SIO-1765] Check if there are no unnecessary HTTP requests Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-04-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

TAG Developer: Adam Paszke
TAG Reviewer: Pawel Golinski

 Comments   
Comment by Adam Paszke [ 2016-04-6 ]
Nothing serious found.
Comment by Gerrit Gerrit [ 2016-05-11 ]
Change Iefbe89337c85b44d6244e71e70157b8dd7c511d3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2560

SIO-1765 Cache translation responses in notification app

Change-Id: Iefbe89337c85b44d6244e71e70157b8dd7c511d3
Comment by Gerrit Gerrit [ 2016-05-11 ]
Change Iefbe89337c85b44d6244e71e70157b8dd7c511d3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2560

SIO-1765 Cache translation responses in notification app

Change-Id: Iefbe89337c85b44d6244e71e70157b8dd7c511d3
Comment by Gerrit Gerrit [ 2016-05-12 ]
Change Iefbe89337c85b44d6244e71e70157b8dd7c511d3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2560

SIO-1765 Cache translation responses in notification app

Change-Id: Iefbe89337c85b44d6244e71e70157b8dd7c511d3
Comment by Gerrit Gerrit [ 2016-05-12 ]
Change Iefbe89337c85b44d6244e71e70157b8dd7c511d3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2560

SIO-1765 Cache translation responses in notification app

Change-Id: Iefbe89337c85b44d6244e71e70157b8dd7c511d3
Comment by Gerrit Gerrit [ 2016-05-12 ]
Change Iefbe89337c85b44d6244e71e70157b8dd7c511d3, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2560

SIO-1765 Cache translation responses in notification app

Change-Id: Iefbe89337c85b44d6244e71e70157b8dd7c511d3




[SIO-1764] Consider moving to HTTP2 Created: 2016-03-23  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Improvement Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: T2


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1763] Setup external backup machine Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-04-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T2

Issue Links:
Blocks
blocks SIO-1768 Make backup production ready Closed
blocks SIO-1774 Backup and restore Szkopul Closed
Relates
is related to SIO-1753 Create backup prototype Closed
TAG Reviewer: Stanisław Barzowski

 Description   
Some external machine (hard drive, remote server?) needs to be setup, which will serve as backup data storage.

 Comments   
Comment by Pawel Golinski [ 2016-04-13 ]
We'll use Amanda client, so no need to setup any external machines.




[SIO-1762] Add SQL request count to tests Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-06-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

TAG Developer: Stanisław Barzowski
TAG Reviewer: Adam Paszke

 Description   
Let's make sure that some pages don't run too many requests.

 Comments   
Comment by Gerrit Gerrit [ 2016-04-13 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-13 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-23 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490
Comment by Gerrit Gerrit [ 2016-04-27 ]
Change I26ef773ce25cdade20e78c9edf2a20d619640490, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2541

SIO-1762 Add SQL request count to tests

That should be enough for a start. If it makes sense, adding checks to more tests is easy and can be done gradually.

Change-Id: I26ef773ce25cdade20e78c9edf2a20d619640490




[SIO-1761] Django CPU profiling - fixes #2 Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-06-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T2

Issue Links:
Blocks
is blocked by SIO-1756 Django CPU profiling (setup) Closed
is blocked by SIO-1760 Django CPU profiling - fixes #1 Closed
TAG Reviewer: Pawel Golinski

 Description   
Less attractive fixes.

 Comments   
Comment by Stanisław Barzowski [ 2016-06-15 ]
After extensive testing we've concluded that problem lies elsewhere.




[SIO-1760] Django CPU profiling - fixes #1 Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-06-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T2

Issue Links:
Blocks
blocks SIO-1761 Django CPU profiling - fixes #2 Closed
is blocked by SIO-1756 Django CPU profiling (setup) Closed
TAG Developer: Stanisław Barzowski
TAG Reviewer: Stanisław Barzowski

 Description   
Fix most important / easiest to fix performance problems.

 Comments   
Comment by Gerrit Gerrit [ 2016-04-6 ]
Change If2546763b4aff7bdef08ed7015546e0ef8afc7d1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2537

(SIO-1760) Use common styles and scripts cache properly

Change-Id: If2546763b4aff7bdef08ed7015546e0ef8afc7d1
Comment by Stanisław Barzowski [ 2016-06-15 ]
After extensive testing we've concluded that problem lies elsewhere.




[SIO-1759] Remove duplicate files on szkopul Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Critical
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: T2

Issue Links:
Blocks
is blocked by SIO-1753 Create backup prototype Closed
is blocked by SIO-1774 Backup and restore Szkopul Closed
TAG Reviewer: Stanisław Barzowski

 Comments   
Comment by Pawel Golinski [ 2016-06-16 ]
Ze względu na zależność filetrackera od timestampów, plan hardlinkowania duplikatów do jednego pliku się nie powiódł (Szkopuł wybuchł).

Dla przyszłych pokoleń - problem wymaga rozwiązania bardziej skomplikowanego niż hardlinki (usunąć zależność filetrackera od timestampów?).




[SIO-1758] Change scheduler policy to FIFO Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-05-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Bug Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

TAG Reviewer: Adam Paszke




[SIO-1757] Install SSL on Szkopuł Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-03-23

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Critical
Reporter: Mateusz Śmiech Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T3

TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Description   
Szkopuł should use SSL.




[SIO-1756] Django CPU profiling (setup) Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-04-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

Issue Links:
Blocks
blocks SIO-1760 Django CPU profiling - fixes #1 Closed
blocks SIO-1761 Django CPU profiling - fixes #2 Closed
TAG Developer: Stanisław Barzowski
TAG Reviewer: Adam Paszke

 Description   
Find a good way to do it. Possibly more than one.

Document it somewhere (README, confluence?)

Ask Maciek Dębski about previous attempts.


 Comments   
Comment by Stanisław Barzowski [ 2016-04-4 ]
IMO the most promising approaches:

Very simple, no additional dependencies, some custom code: https://gun.io/blog/fast-as-fuck-django-part-1-using-a-profiler/

This package seems very well maintained:
https://pypi.python.org/pypi/yet-another-django-profiler/
Comment by Stanisław Barzowski [ 2016-04-6 ]
yet-another-django-profiler seems awesome. It is very simple to use and just works. It is deployed to Szkopuł.

I have added a separate task for documentation. I want to wait with it until we have more experience. We will be able to add some hints about the best way to use it etc. The official docs for yet-another-django-profiler are very good, too.




[SIO-1755] Write load testing script Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-05-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

TAG Reviewer: Pawel Golinski

 Description   
At least a version that requests main page.

(Bonus) If there is enough time, also a version that signs in and requests some possibly demanding pages.

 Comments   
Comment by Gerrit Gerrit [ 2016-04-19 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2545

(SIO-1755) Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc
Comment by Gerrit Gerrit [ 2016-04-19 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2545

SIO-1755 Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2545

SIO-1755 Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2545

SIO-1755 Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2545

SIO-1755 Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2545

SIO-1755 Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2545

SIO-1755 Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2545

SIO-1755 Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2545

SIO-1755 Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc
Comment by Gerrit Gerrit [ 2016-04-20 ]
Change Iea262048dfc4b972de009e2d3ccf9714028989cc, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2545

SIO-1755 Add load testing script

Also, move all test scripts to a separate directory

Change-Id: Iea262048dfc4b972de009e2d3ccf9714028989cc




[SIO-1754] Compare timelimits on main.edu.pl and oitimetool Created: 2016-03-23  Updated: 2019-03-26  Resolved: 2016-04-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T1

Attachments: PNG File runnigtimechart.png    
TAG Reviewer: Piotr Wiśniewski

 Description   
Create Google Doc with comparison of execution times of few solutions/problems under oitimetool and under standard main.edu.pl checker.

 Comments   
Comment by Sebastian Jaszczur [ 2016-04-13 ]
I won't create a doc; comment here, along with attachment (runnigtimechart.png) should be enough.

I've run (manually) 9 different solutions for different problems on all problems' tests. It looks promising - timelimits will probably stay the same (see the line "y = x"). But I've encountered one solution (for problem Kurierzy) when szkopuł showed much larger running times than oitimetool - but relationship is still linear. Probably in this problem cache is more important (and oitimetool assumes infinite cache).

It's worth noticing that even if we'd apply y=x scaling to Kurierzy problem - we'd effectively make tests easier. That means that still every golden solution will pass - and we'd have problems only with sub-optimal solutions getting too many points. But that's relatively small problem and it could be even acceptable to leave scaling as y=x.

We'll create a script for running one golden solution from every public problem just to check how many anomalies are out there. But it seems like linear scaling will be OK (or, really - no scaling at all). But that's another ticket.
Comment by Piotr Wiśniewski [ 2016-04-13 ]
+1




[SIO-1753] Create backup prototype Created: 2016-03-16  Updated: 2019-03-26  Resolved: 2016-05-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: New Feature Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

Issue Links:
Blocks
blocks SIO-1768 Make backup production ready Closed
blocks SIO-1759 Remove duplicate files on szkopul Closed
blocks SIO-1774 Backup and restore Szkopul Closed
Relates
relates to SIO-1763 Setup external backup machine Closed
TAG Reviewer: Adam Paszke

 Description   
We need some backup mechanism - this will implement a prototype one, that can save and restore entire Szkopul status.

 Comments   
Comment by Gerrit Gerrit [ 2016-05-13 ]
Change I5c1101467398cf3633cd223be0bb7b019e07698a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2562

SIO-1753 Create backup prototype

Change-Id: I5c1101467398cf3633cd223be0bb7b019e07698a
Comment by Gerrit Gerrit [ 2016-05-13 ]
Change I5c1101467398cf3633cd223be0bb7b019e07698a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2562

SIO-1753 Create backup prototype

Change-Id: I5c1101467398cf3633cd223be0bb7b019e07698a
Comment by Gerrit Gerrit [ 2016-05-13 ]
Change I5c1101467398cf3633cd223be0bb7b019e07698a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2562

SIO-1753 Create backup prototype

Change-Id: I5c1101467398cf3633cd223be0bb7b019e07698a
Comment by Pawel Golinski [ 2016-06-20 ]
https://docs.google.com/document/d/1WtDi25nhjyNFNwEa_VNKMdyv8Fudl9z_9dXppKKsNJI/edit?usp=sharing




[SIO-1752] Database usage analysis Created: 2016-03-16  Updated: 2019-03-26  Resolved: 2016-04-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Task Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

TAG Developer: Stanisław Barzowski
TAG Reviewer: Adam Paszke

 Description   
Identify ineffiecient db usage. Take a look what queries are made on the most common pages.

Try to add slow query logging for Szkopuł.

Research possibilities of improving it.

 Comments   
Comment by Stanisław Barzowski [ 2016-03-23 ]
Slow query logging added 23-03-2016.




[SIO-1751] Fix slow tests and reenable nightly testing Created: 2016-03-16  Updated: 2019-03-26  Resolved: 2016-04-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Bug Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

Issue Links:
Duplicate
is duplicated by SIO-1742 Nightly tests don't pass. Closed
TAG Developer: Adam Paszke
TAG Reviewer: Stanisław Barzowski

 Comments   
Comment by Gerrit Gerrit [ 2016-03-29 ]
Change I15bfe637168359c6e14d9c135da83e3d48234239, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2534

(SIO-1751) Fix sinolpack tests

Some requests have been force-redirected to a contest url,
while they shouldn't be.

Change-Id: I15bfe637168359c6e14d9c135da83e3d48234239




[SIO-1750] Rejudge management script Created: 2016-03-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Probably most desired functionality would be to rejudge all submissions with system error status from given time.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1749] Judging: exceptions.OSError: [Errno 31] Too many links: '/home/users/sio2/.filetracker-store/locks/eval/325750' Created: 2016-03-14  Updated: 2019-03-26  Resolved: 2016-11-9

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1850 Szkopuł: disk full Closed




[SIO-1748] Add tests to newsfeed Created: 2016-03-13  Updated: 2019-03-26  Resolved: 2016-03-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Newsfeed is untested. That's really bad.

 Comments   
Comment by Gerrit Gerrit [ 2016-03-15 ]
Change I344e196e45d55092042e06a00173793e8ad00631, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2533

SIO-1748 Add tests to newsfeed

Change-Id: I344e196e45d55092042e06a00173793e8ad00631
Comment by Gerrit Gerrit [ 2016-03-15 ]
Change I344e196e45d55092042e06a00173793e8ad00631, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2533

SIO-1748 Add tests to newsfeed

Change-Id: I344e196e45d55092042e06a00173793e8ad00631
Comment by Gerrit Gerrit [ 2016-03-16 ]
Change I344e196e45d55092042e06a00173793e8ad00631, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2533

SIO-1748 Add tests to newsfeed

Change-Id: I344e196e45d55092042e06a00173793e8ad00631




[SIO-1747] We should start using SSL on szkopuł. Created: 2016-03-8  Updated: 2019-03-26  Resolved: 2016-11-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
It would be nice to use any SSL encryption on szkopuł. I'm not sure if we should use https://letsencrypt.org/ or something that we'd have to pay for - but anything will be better than nothing. So I'd go with letsencrypt.org .




[SIO-1746] Change the select_contest_view Created: 2016-03-5  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
The list of contests (at least @sio2.mimuw) is quite too long. The simplest solution is to add pagination. The more complex (and maybe needed in future) is to add something like archive. Only actual (whatever it means) contests could be visible in the select contest view, the rest may be hidden under archive button (like "Show all contests" link).

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1745] Deleting permissions from users doesn't work. Created: 2016-02-23  Updated: 2019-03-26  Resolved: 2016-02-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Wojciech Jabłoński Assignee: Szymon Acedański
Resolution: Cannot Reproduce Votes: 0
Labels: None

Attachments: Text File error.txt    

 Description   
When trying to delete any permission from user with two permissions on "Contest rights" admin panel, internal server error occurs. Stack trace in attached file

 Comments   
Comment by Szymon Acedański [ 2016-02-23 ]
Could you please paste the full stack trace?

On Tue, Feb 23, 2016, 13:32 Wojciech Jabłoński (JIRA) <
sio2-jira@dasie.mimuw.edu.pl> wrote:

> Wojciech Jabłoński
> <https://jira.sio2project.mimuw.edu.pl/secure/ViewProfile.jspa?name=quinor>
> *created* an issue
>
> The SIO2 project <https://jira.sio2project.mimuw.edu.pl/browse/SIO> / [image:
> Bug] <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1745> SIO-1745
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1745>
> Deleting permissions from users doesn't work.
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1745>
> Issue Type: [image: Bug] Bug
> Affects Versions: Current Version
> Assignee: Unassigned
> Attachments: error.txt
> Components: OIOIOI
> Created: 2016-02-23 13:31
> Priority: [image: Critical] Critical
> Reporter: Wojciech Jabłoński
> <https://jira.sio2project.mimuw.edu.pl/secure/ViewProfile.jspa?name=quinor>
> When trying to delete any permission from user with two permissions on
> "Contest rights" admin panel, internal server error occurs.
>
> TypeError at /c/testcontest/admin/contests/contestpermission/
> each_context() takes exactly 1 argument (2 given)
> Request Method: POST
> Request URL:
> http://localhost:8000/c/testcontest/admin/contests/contestpermission/
> Django Version: 1.7.11
> Exception Type: TypeError
> Exception Value:
> each_context() takes exactly 1 argument (2 given)
> Exception Location:
> /home/quinor/Dropbox/kody/SIO2/sio2/oioioi/oioioi/base/admin.py in
> delete_selected, line 180
> Python Executable: /home/quinor/Dropbox/kody/SIO2/sio2/venv/bin/python2
> Python Version: 2.7.11
> Python Path:
> ['/home/quinor/Dropbox/kody/SIO2/sio2/deployment',
> '/home/quinor/Dropbox/kody/SIO2/sio2/deployment',
> '/home/quinor/Dropbox/kody/SIO2/sio2/deployment',
> '/home/quinor/Dropbox/kody/SIO2/sio2/oioioi',
> '/home/quinor/Dropbox/kody/SIO2/sio2/deployment',
> '/home/quinor/Dropbox/kody/SIO2/sio2/venv/lib/python27.zip',
> '/home/quinor/Dropbox/kody/SIO2/sio2/venv/lib/python2.7',
> '/home/quinor/Dropbox/kody/SIO2/sio2/venv/lib/python2.7/plat-linux2',
> '/home/quinor/Dropbox/kody/SIO2/sio2/venv/lib/python2.7/lib-tk',
> '/home/quinor/Dropbox/kody/SIO2/sio2/venv/lib/python2.7/lib-old',
> '/home/quinor/Dropbox/kody/SIO2/sio2/venv/lib/python2.7/lib-dynload',
> '/usr/lib64/python2.7',
> '/usr/lib/python2.7/plat-linux2',
> '/usr/lib64/python2.7/lib-tk',
> '/usr/lib/python2.7/lib-tk',
> '/home/quinor/Dropbox/kody/SIO2/sio2/venv/lib/python2.7/site-packages']
> Server time: Tue, 23 Feb 2016 12:26:41 +0000
>
> INSTALLED_APPS
> ('oioioi.participants',
> 'oioioi.oi',
> 'oioioi.contestexcl',
> 'oioioi.printing',
> 'oioioi.oireports',
> 'oioioi.statistics',
> 'oioioi.filetracker',
> 'oioioi.contests',
> 'oioioi.problems',
> 'oioioi.programs',
> 'oioioi.sinolpack',
> 'oioioi.questions',
> 'oioioi.rankings',
> 'oioioi.sioworkers',
> 'oioioi.jotform',
> 'oioioi.analytics',
> 'oioioi.celery',
> 'oioioi.status',
> 'oioioi.su',
> 'oioioi.clock',
> 'oioioi.dashboard',
> 'oioioi.base',
> 'oioioi.maintenancemode',
> 'djcelery',
> 'kombu.transport.django',
> 'djsupervisor',
> 'registration',
> 'grappelli',
> 'django_nose',
> 'django_extensions',
> 'debug_toolbar',
> 'compressor',
> 'linaro_django_pagination',
> 'mptt',
> 'overextends',
> 'django.contrib.admin',
> 'django.contrib.admindocs',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.messages',
> 'django.contrib.staticfiles')
>
> [image: Add Comment]
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1745#add-comment> Add
> Comment
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1745#add-comment>
>
> This message was sent by Atlassian JIRA (v6.1#6144-sha1:2e50328)
> [image: Atlassian logo]
>
Comment by Wojciech Jabłoński [ 2016-02-23 ]
it should be in attachment, what exactly is missing?
Comment by Wojciech Jabłoński [ 2016-02-23 ]
Issue caused by not-entirely-updated working environment.




[SIO-1744] Eval handlers should truncate responses from checkers Created: 2016-02-18  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: tag-2sem


 Description   
Traceback (most recent call last):
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/evalmgr/__init__.py", line 194, in evalmgr_job
    env = _run_phase(env, phase)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/evalmgr/__init__.py", line 96, in _run_phase
    env = handler_func(env, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
    return func(*args, **kwargs)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/programs/handlers.py", line 502, in make_report
    test_report.save()
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 734, in save
    force_update=force_update, update_fields=update_fields)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 762, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/ models/base.py", line 846, in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/ models/base.py", line 885, in _do_insert
    using=using, raw=raw)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/ models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 920, in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/ models/sql/compiler.py", line 974, in execute_sql
    cursor.execute(sql, params)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
DataError: value too long for type character varying(255)

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1743] Deleting submissions sometimes fails with UnicodeDecodeError Created: 2016-02-18  Updated: 2019-03-26  Resolved: 2017-06-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag-2sem

Issue Links:
Duplicate
duplicates SIO-1991 Deleting submission while using Polis... Closed
is duplicated by SIO-1991 Deleting submission while using Polis... Closed

 Description   
Internal Server Error: /c/matura3bc-staly/admin/contests/submission/
Traceback (most recent call last):
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
    return func(*args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ contrib/admin/options.py", line 618, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ contrib/admin/sites.py", line 233, in inner
    return view(request, *args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/utils/decorators.py", line 34, in _wrapper
    return bound_func(*args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ utils/decorators.py", line 30, in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ contrib/admin/options.py", line 1592, in changelist_view
    response = self.response_action(request, queryset=cl.get_queryset(request))
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ contrib/admin/options.py", line 1335, in response_action
    response = func(self, request, queryset)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/base/admin.py", line 148, in delete_selected
    collect_deleted_objects(modeladmin, request, queryset)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/base/admin.py", line 240, in collect_deleted_objects
    to_delete = collector.nested(format_callback)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ contrib/admin/utils.py", line 213, in nested
    roots.extend(self._nested(root, seen, format_callback))
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ contrib/admin/utils.py", line 198, in _nested
    ret = [format_callback(obj)]
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/base/admin.py", line 237, in format_callback
    force_text(obj))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 2: ordinal not in range(128)

<WSGIRequest
path:/c/matura3bc-staly/admin/contests/submission/,
GET:<QueryDict: {u'user': [u'3922']}>,
POST:<QueryDict: {u'action': [u'delete_selected'], u'_selected_action': [u'297076', u'297074'], u'csrfmiddlewaretoken': [u'hefqQaJBvHr1YEhaa3XHNzMAUQcAe4ii'], u'select_across': [u'0']}>,




[SIO-1742] Nightly tests don't pass. Created: 2016-02-8  Updated: 2019-03-26  Resolved: 2016-03-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: tag-2sem

Issue Links:
Duplicate
duplicates SIO-1751 Fix slow tests and reenable nightly t... Closed

 Description   
We didn't run nightly tests in a long time and even when we did we were skipping slow tests - so obviously slow tests (especially in sinolpack) broke during that time. I think they will run every night now, but they are still failing.




[SIO-1741] Szkopuł: receive-from-workers: Address already in use Created: 2016-02-6  Updated: 2019-03-26  Resolved: 2016-02-6

Status: Closed
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File log.txt    

 Description   
After 6/Feb/2016 00:04:47 receive from workers went down. I think that then it tried to restart itself, but failed due to "[Errno 98] Address already in use"

 Comments   
Comment by Gerrit Gerrit [ 2016-02-6 ]
Change I265a8c8cb98b7778049e8dd439508392a5438d42, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2522

(SIO-1741) Set SO_REUSEADDR in receive_from_workers

Change-Id: I265a8c8cb98b7778049e8dd439508392a5438d42
Comment by Gerrit Gerrit [ 2016-02-6 ]
Change I265a8c8cb98b7778049e8dd439508392a5438d42, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2522

(SIO-1741) Set SO_REUSEADDR in receive_from_workers

Change-Id: I265a8c8cb98b7778049e8dd439508392a5438d42




[SIO-1740] Slow query in gamification makes it unusable on Szkopuł Created: 2016-02-5  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None

Attachments: PNG File Screen Shot 2016-02-05 at 01.10.54.png     PNG File Screen Shot 2016-02-05 at 01.11.09.png    

 Description   
The inefficient query itself causes >1s page load times on Szkopuł.
gamification has been disabled on Szkopuł because of this, too.

 Comments   
Comment by Szymon Acedański [ 2017-11-8 ]
Gamification no longer exists.




[SIO-1739] Global message cannot be empty Created: 2016-02-4  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
I cannot save global message without text, even if I checked of its visibility (and even despite global message is empty by default).

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1738] Add logging on crash to notification server Created: 2016-02-4  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
What we found uncommitted on szkopul: https://gerrit.sio2project.mimuw.edu.pl/#/c/2518/

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1737] ./test_parallel.py may freeze the machine (no repro) Created: 2016-02-2  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
At some point every time I ran test_parallel.py I got my machine non-responsive. Completely no responsive. No ssh, no nothing. Stuck at one of the first tests. Second ssh session with top stopped sending updates too. The only thing I could do was hard reboot it. The VM seemed to have plenty of resources. And I went through this at least three times, then focused on some other issue, and now the problem is mysteriously gone.

It happened with the code of patchset 11 here: https://gerrit.sio2project.mimuw.edu.pl/#/c/2501/

I don't expect fix or any investigation. After all it could've been something wrong with my configuration. I leave this note so that if the problem arises again we'll have more context.

 Comments   
Comment by Stanisław Barzowski [ 2016-02-4 ]
Happened again today. This time I wanted to stop the test, pressed Ctrl-C and this was the last thing my VM did before forcing power off.
Comment by Michał Łazowik [ 2016-02-5 ]
This also happens to me sometimes. At least once it was a kernel panic: http://wklej.org/hash/8b021ba6036/
Comment by Szymon Acedański [ 2017-11-8 ]
Doesn't look like a bug in OIOIOI...




[SIO-1736] Bad Vagrantfile configuration Created: 2016-02-2  Updated: 2019-03-26  Resolved: 2016-03-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI, SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Using the new version of Vagrantfile I get this error:
MacUlandia:oioioi uland$ vagrant up
/Users/uland/Uw/TAG/sio2/oioioi/Vagrantfile:24:in `block in <top (required)>': undefined method `include?' for nil:NilClass (NoMethodError)
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/v2/loader.rb:37:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/v2/loader.rb:37:in `load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader.rb:113:in `block (2 levels) in load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader.rb:107:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader.rb:107:in `block in load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader.rb:104:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader.rb:104:in `load'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/vagrantfile.rb:28:in `initialize'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:740:in `new'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:740:in `vagrantfile'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:486:in `host'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:208:in `block in action_runner'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:33:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:33:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:473:in `hook'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:722:in `unload'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant:177:in `ensure in <main>'
from /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant:177:in `<main>'

Something is wrong with the facter plugin we need for checking architecture. Probably it is configuration related, still needs to be fixed/documented.

 Comments   
Comment by Sebastian Jaszczur [ 2016-02-2 ]
Probably I'll just revert most of my previous commit. I'll leave just a default "ubuntu/trusty64" and a comment that it may cause problems on AMD processor.
Comment by Adam Paszke [ 2016-02-2 ]
Same problem here.




[SIO-1735] Add proper LaTeX dependenciees Created: 2016-02-1  Updated: 2019-03-26  Resolved: 2017-12-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Jakub Sieroń

 Description   
By installing only what is listed I get errors in the tests.

I installed texlive-latex-extra and texlive-fonts-recommended and now it seems to work.

 Comments   
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~I0fff050aeaaa2fb85dbbd6b02b8be86bf002b33a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2929

SIO-1735 Add proper LaTeX dependenciees

Added packages instalation instruction to Readme.

Tests passed with packages and crashed (fail or error) without:
oioioi.oireports.tests:TestReportViews:
test_pdf_report_view (error)
oioioi.mailsubmit.tests:TestMailSubmission:
test_accepting_mailsubmissions (error)
test_mailsubmit_permissions (error)
test_simple_mailsubmission (error)
oioioi.sinolpack.tests:TestSinolPackageInContest:
test_upload_and_download_package_safe (fail)
test_upload_and_download_package_unsafe (fail)

Change-Id: I0fff050aeaaa2fb85dbbd6b02b8be86bf002b33a
Comment by Gerrit Gerrit [ 2017-12-10 ]
Change oioioi~master~I60d39c26394a5e5f6224a827a2b6df4ed0b642e5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2930

SIO-1735

Added CSS add-on changing display style to in-line.

Change-Id: I60d39c26394a5e5f6224a827a2b6df4ed0b642e5




[SIO-1734] Do something about lengthy database creation Created: 2016-02-1  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
When running tests, database creation seems to take forever. It is extremely annoying with anything resembling red-green-refactor workflow.

I suggest to do one or both:
- Make it possible (and documented how) to reuse the database between test runs.
- Flatten old migrations - currently with every test run we go through the whole history of migrations which of course takes forever.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1733] Vagrantfile should check if one has enough cores and RAM Created: 2016-01-31  Updated: 2019-03-26  Resolved: 2016-05-25

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
Currently it has 4 cpus and 2GB of RAM hardcoded. These are all available resources on older computers.

 Comments   
Comment by Stanisław Barzowski [ 2016-02-1 ]
Seems not worth it. We have to choose some default. And I prefer having to occasionally adjust simple settings, that I can really understand and change to my needs than having sometimes-working automagic. Configuring supervisord with django templates, anyone?
Comment by Adam Paszke [ 2016-02-1 ]
We're already installing a package that checks the system architecture (there is a bug on AMD processors when running in 64 bit mode), so it's just a matter of adding a couple of lines. It can be done in no time.
Comment by Sebastian Jaszczur [ 2016-05-25 ]
Doing it would require checking hardware on any host OS what is generally hard and I think it's not worth it.




[SIO-1732] Szkopuł should make automatic backups of its database Created: 2016-01-31  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Improvement Priority: Critical
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 1
Labels: None


 Comments   
Comment by Artur Jamro [ 2017-05-30 ]
Solved by oi-admins.




[SIO-1731] sioworkersd: Scheduler should schedule the tasks more or less in the order they are coming Created: 2016-01-30  Updated: 2019-03-26  Resolved: 2017-05-30

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag-2sem


 Description   
From the ASD-exam feedback.

Currently the judging order seems random. I suppose the jobs are taken from a set/map or so...

 Comments   
Comment by Bartosz Stebel [ 2016-01-31 ]
A simple workaround for Szkopuł would be to switch to FIFOScheduler (change the import in twisted/plugins/sioworkers_plugin.py:17) - it isn't using priorities anyway and there is only one worker.
Comment by Artur Jamro [ 2017-05-30 ]
I think it is solved by new Prioritizing Scheduler (SIO-1930).




[SIO-1730] Make warning more visible with tests Created: 2016-01-28  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Our test reports don't show warnings. We should keep track of them and eliminate them. One very important kind of warning is DeprecationWarning, which would make upgrades much less painful.




[SIO-1729] Update pylint profile Created: 2016-01-27  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
When I run pylint with our config I get:

Warning: option profile is obsolete and it is slated for removal in Pylint 1.6.
Warning: option zope is obsolete and it is slated for removal in Pylint 1.6.
Warning: option required-attributes is obsolete and it is slated for removal in Pylint 1.6.
Warning: option ignore-iface-methods is obsolete and it is slated for removal in Pylint 1.6.


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1728] Notifications: the whole notification should be clickable, not only the text Created: 2016-01-27  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
1) users might think that notifications are not clickable
2) easier clicking

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1727] Update portals YouTube widget to support new API Created: 2015-12-14  Updated: 2019-03-26  Resolved: 2015-12-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
We should use embed player, as otherwise YouTube prevents SIO2 from playing the movie.

 Comments   
Comment by Gerrit Gerrit [ 2015-12-14 ]
Change I39077adda21ccaf83c4619bf24070afe3d524e62, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2492

SIO-1727 Update portals YouTube widget to support new API

Now using embed YouTube player

Change-Id: I39077adda21ccaf83c4619bf24070afe3d524e62
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change I39077adda21ccaf83c4619bf24070afe3d524e62, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2492

SIO-1727 Update portals YouTube widget to support new API

Now using embed YouTube player

Change-Id: I39077adda21ccaf83c4619bf24070afe3d524e62
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change I39077adda21ccaf83c4619bf24070afe3d524e62, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2492

SIO-1727 Update portals YouTube widget to support new API

Now using embed YouTube player

Change-Id: I39077adda21ccaf83c4619bf24070afe3d524e62




[SIO-1726] Proceed to default contest button visible when not logged in Created: 2015-12-10  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Piotr Wiśniewski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Szkopul


 Description   
(Szkopul) Once when I was logged in to account with teacher's permissions and then logged out, I was still able to see the button. Refreshed with cache disabled, didn't disappear. I can't reproduce it.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1725] Szkopuł: Improve home page for anonymous users Created: 2015-12-10  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: szkopuł

TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Description   
Make it more welcoming, explain what is the purpose of the project.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1724] Global message Created: 2015-12-10  Updated: 2019-03-26  Resolved: 2016-02-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Michał Łazowik
TAG Reviewer: Mateusz Śmiech

 Description   
Allow setting a global message (e.g. informing that there are some problems with checking solutions) for everyone.

 Comments   
Comment by Gerrit Gerrit [ 2016-01-30 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-01-31 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-01-31 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-01-31 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-01-31 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change I384af246b6978efe4fae301d6895305b3eb56742, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2510

SIO-1724 Global message

Change-Id: I384af246b6978efe4fae301d6895305b3eb56742




[SIO-1723] Add global news feed Created: 2015-12-10  Updated: 2019-03-26  Resolved: 2016-02-3

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Pawel Golinski

 Description   
There should be a feature, that would allow webpage admins to send news about new features, changes, etc. to all users (some kind of news feed).

 Comments   
Comment by Gerrit Gerrit [ 2016-01-17 ]
Change I1a84dba229173273b47efe3eab67e9618957f2ca, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2500

SIO-1723 Add global news feed

Implemented newsfeed app, which adds newsfeed functionality
alongside with widgets that can be used in portals.

Change-Id: I1a84dba229173273b47efe3eab67e9618957f2ca
Comment by Gerrit Gerrit [ 2016-01-17 ]
Change I1a84dba229173273b47efe3eab67e9618957f2ca, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2500

SIO-1723 Add global news feed

Implemented newsfeed app, which adds newsfeed functionality
alongside with widgets that can be used in portals.

Change-Id: I1a84dba229173273b47efe3eab67e9618957f2ca
Comment by Gerrit Gerrit [ 2016-01-20 ]
Change I1a84dba229173273b47efe3eab67e9618957f2ca, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2500

SIO-1723 Add global news feed

Implemented newsfeed app, which adds newsfeed functionality
alongside with widgets that can be used in portals.

Change-Id: I1a84dba229173273b47efe3eab67e9618957f2ca
Comment by Gerrit Gerrit [ 2016-01-21 ]
Change I1a84dba229173273b47efe3eab67e9618957f2ca, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2500

SIO-1723 Add global news feed

Implemented newsfeed app, which adds newsfeed functionality
alongside with widgets that can be used in portals.

Change-Id: I1a84dba229173273b47efe3eab67e9618957f2ca
Comment by Gerrit Gerrit [ 2016-01-21 ]
Change I1a84dba229173273b47efe3eab67e9618957f2ca, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2500

SIO-1723 Add global news feed

Implemented newsfeed app, which adds newsfeed functionality
alongside with widgets that can be used in portals.

Change-Id: I1a84dba229173273b47efe3eab67e9618957f2ca
Comment by Gerrit Gerrit [ 2016-01-31 ]
Change I1a84dba229173273b47efe3eab67e9618957f2ca, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2500

SIO-1723 Add global news feed

Implemented newsfeed app, which adds newsfeed functionality
alongside with widgets that can be used in portals.

Change-Id: I1a84dba229173273b47efe3eab67e9618957f2ca
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change I1a84dba229173273b47efe3eab67e9618957f2ca, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2500

SIO-1723 Add global news feed

Implemented newsfeed app, which adds newsfeed functionality
alongside with widgets that can be used in portals.

Change-Id: I1a84dba229173273b47efe3eab67e9618957f2ca
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change I1a84dba229173273b47efe3eab67e9618957f2ca, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2500

SIO-1723 Add global news feed

Implemented newsfeed app, which adds newsfeed functionality
alongside with widgets that can be used in portals.

Change-Id: I1a84dba229173273b47efe3eab67e9618957f2ca
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I1a84dba229173273b47efe3eab67e9618957f2ca, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2500

SIO-1723 Add global news feed

Implemented newsfeed app, which adds newsfeed functionality
alongside with widgets that can be used in portals.

Change-Id: I1a84dba229173273b47efe3eab67e9618957f2ca




[SIO-1722] Package upload: checkers don't work Created: 2015-12-10  Updated: 2019-03-26  Resolved: 2016-02-18

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1713 Files in "prog" in package are not vi... Closed
TAG Developer: Sebastian Jaszczur

 Description   
1. W zadaniu:

http:// szkopul.edu.pl/c/asdlab-2015/admin/problems/problem/13315/? came_from=%2Fc%2Fasdlab-2015%2Fadmin%2Fcontests%2Fprobleminstance%2F

mimo paru prób nie wykrywa pliku parchk.cpp i nie podpina go do zadania,
Przez to zadanie nie jest praktycznie oceniane (natura zadania wymaga sprawdzaczek wyjścia).

 Comments   
Comment by Szymon Acedański [ 2015-12-10 ]
I think this is related: https://gerrit.sio2project.mimuw.edu.pl/#/c/2424/
Comment by Maciej Matraszek [ 2015-12-17 ]
I'm raising the priority to critical, as we had yet another report from ASD-lab managers.

Last time I've resolved an issue with package by fiddling with raw database models, and I'm really not… inclined to go though it again.
Comment by Sebastian Jaszczur [ 2016-01-26 ]
Jeśli chodzi o punkt 3 - wysyłając jakąś paczkę z kodem w Pascalu nic się u mnie nie wywala.

(Pierwszy punkt jest wciąż istniejącym bugiem, drugi prawdopodobnie też).
Comment by Szymon Acedański [ 2016-01-28 ]
Punkt 2 działa. Usuwam.
Comment by Szymon Acedański [ 2016-01-28 ]
Problem 1 wciąż istnieje: http://szkopul.edu.pl/c/konkurs-acnauczyciela/s/307719/
Comment by Szymon Acedański [ 2016-01-28 ]
Problem 3 (kompilacja rozwiązań w Pascalu) nie istnieje: http://szkopul.edu.pl/c/konkurs-acnauczyciela/s/307727/
Usuwam.
Comment by Szymon Acedański [ 2016-01-28 ]
Maćku, pamiętasz, co musiałeś poprawiać na ASD w bazie? Sebastian na pewno byłby ciekawy. :)
Comment by Maciej Matraszek [ 2016-01-28 ]
Po 1. to ścieżkę do checkera, po 2. jakiś test się nie podlinkowywał w nowej wersji po reuploadzie, po resztę nie pamiętam :)
Comment by Sebastian Jaszczur [ 2016-02-4 ]
Cofnąłem sioworkers przed https://gerrit.sio2project.mimuw.edu.pl/#/c/2424/ i problem dalej występował.
Comment by Gerrit Gerrit [ 2016-02-6 ]
Change I69a2571f51b9b324e6471e7ecfa17363e47e0da6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2523

SIO-1722 Package upload: checkers don't work

Checkers couldn't be detected, because they were removed right after
saving them to database.

Change-Id: I69a2571f51b9b324e6471e7ecfa17363e47e0da6
Comment by Gerrit Gerrit [ 2016-02-7 ]
Change I69a2571f51b9b324e6471e7ecfa17363e47e0da6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2523

SIO-1722 Package upload: checkers don't work

Checkers couldn't be detected, because they were removed right after
saving them to database.

Change-Id: I69a2571f51b9b324e6471e7ecfa17363e47e0da6
Comment by Szymon Acedański [ 2016-02-18 ]
Czy to jest już na Szkopule? Jak mniemam jest. Jak tak, to zamknij proszę! :)
Comment by Patryk Czajka [ 2016-02-18 ]
Czy to znaczy, że będę mógł wrzucić pozostałe paczki :)?
On Feb 18, 2016 15:46, "Szymon Acedański (JIRA)" <
sio2-jira@dasie.mimuw.edu.pl> wrote:

> Szymon Acedański
> <https://jira.sio2project.mimuw.edu.pl/secure/ViewProfile.jspa?name=accek>
> *commented* on an issue
>
> Re: Package upload: checkers don't work
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1722>
> Czy to jest już na Szkopule? Jak mniemam jest. Jak tak, to zamknij proszę!
> :)
> [image: Add Comment]
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1722#add-comment> Add
> Comment
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1722#add-comment>
>
>
> The SIO2 project <https://jira.sio2project.mimuw.edu.pl/browse/SIO> / [image:
> Bug] <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1722> SIO-1722
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1722>
> Package upload: checkers don't work
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1722>
> 1. W zadaniu:
>
>
> http:// szkopul.edu.pl/c/asdlab-2015/admin/problems/problem/13315/? came_from=%2Fc%2Fasdlab-2015%2Fadmin%2Fcontests%2Fprobleminstance%2F
>
> mimo paru prób nie wykrywa pliku parchk.cpp i nie podpina go do zadania,
> Przez to zadanie nie jest praktycznie oceniane (natura zadania wymaga
> sprawdzaczek wyjścia).
> This message was sent by Atlassian JIRA (v6.1#6144-sha1:2e50328)
> [image: Atlassian logo]
>
Comment by Sebastian Jaszczur [ 2016-02-18 ]
Tak, już jest. Zamykam.
Comment by Szymon Acedański [ 2016-02-18 ]
Tak jest, Patryku. Próbuj.
Comment by Szymon Acedański [ 2016-02-18 ]
Spróbuj też ominąć egzamin z ASD.




[SIO-1721] Maintenance mode for admins Created: 2015-12-10  Updated: 2019-03-26  Resolved: 2016-02-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Piotr Wiśniewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Piotr Wiśniewski

 Description   
Admins should be able to enable "Maintenance Mode" in which they have access to service but another users don't have. Information for users should be shown when the mode is enabled

 Comments   
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2503

[SIO-1721] Maintenance mode for admins

Added logic of maintenance mode.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-01-31 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2503

[SIO-1721] Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2503

[SIO-1721] Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change I80d7020fe0cf768c09d6dd1cdd3699c070698dd3, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2503

SIO-1721 Maintenance mode for admins

Added maintenance mode - logic and button for admins.

Change-Id: I80d7020fe0cf768c09d6dd1cdd3699c070698dd3




[SIO-1720] Support Django 1.8 Created: 2015-12-10  Updated: 2019-03-26  Resolved: 2016-03-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1830 Upgrade django-registration dependency Closed
TAG Developer: Stanisław Barzowski
TAG Reviewer: Michał Łazowik

 Description   
(note: the issue was originally named "Support Django 1.9 (or at least 1.8)")

 Comments   
Comment by Gerrit Gerrit [ 2016-01-21 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

* Still no gamification tests
* It is likely that there is still some old order-dependence
  in the tests, because some tests started working without
  any related change.
* We'll go with plan minimum and Django 1.8. Some of our dependencies
  seem not to support Django 1.9 yet (django-linaro-pagination for example).

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

We'll go with plan minimum and Django 1.8. Some of our dependencies
seem not to support Django 1.9 yet (django-linaro-pagination for example).

This commit consists of many small fixes/refactors needed for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8) WIP

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-4 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 26
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 27
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.9 (or at least 1.8)

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 28
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.8

We'll go with plan minimum and Django 1.8. Some
of our dependencies seem not to support Django 1.9 yet.

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-5 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 29
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.8

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954
Comment by Gerrit Gerrit [ 2016-02-6 ]
Change Ic7555f5701572eac316111c62d2f9360916a2954, patchset 30
https://gerrit.sio2project.mimuw.edu.pl/2501

SIO-1720 Support Django 1.8

This commit consists of many small fixes/refactors needed
for upgrading.

Change-Id: Ic7555f5701572eac316111c62d2f9360916a2954




[SIO-1719] Error should be shown when TeacherAuthBackend is not enabled when module 'teachers' is enabled Created: 2015-12-10  Updated: 2019-03-26  Resolved: 2017-12-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Piotr Wiśniewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Norbert Siwek

 Description   
Error like "Improperly configured module teacher" should be shown when module 'teachers' is enabled and 'oioioi.teachers.auth.TeacherAuthBackend' is not enabled.

 Comments   
Comment by Gerrit Gerrit [ 2017-12-12 ]
Change oioioi~master~Iea8fc57585ad8283038383676259f8cb596886d1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2932

(SIO-1719) Added assertion for checking if TeacherAuthBackend is enabled

Change-Id: Iea8fc57585ad8283038383676259f8cb596886d1
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~Iea8fc57585ad8283038383676259f8cb596886d1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2932

(SIO-1719) Added assertion for checking if TeacherAuthBackend is enabled

Change-Id: Iea8fc57585ad8283038383676259f8cb596886d1




[SIO-1718] Prepare documentation for new, undocumented modules Created: 2015-12-10  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Current documentation for certain new modules (e.g. "teachers") is undetailed. We should research how they work, and write a small document containing this information.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1717] Investigate why django-compressor 1.6 fails to generate admin css files Created: 2015-12-5  Updated: 2019-03-26  Resolved: 2017-06-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None





[SIO-1716] Replace submit by submission Created: 2015-12-3  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Naming convention - we should replace every old "submit" by "submission".

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1715] Increase usability of problemset Created: 2015-11-26  Updated: 2020-03-3  Resolved: 2019-06-17

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Major
Reporter: Patryk Czajka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-11-26 ]
Change I82c6d059eb857dc3fbae3b3c679c0ee48b882780, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2481

SIO-1715 Increase usability of problemset part 1

1. Sort problem list in Problemset lexicography

Change-Id: I82c6d059eb857dc3fbae3b3c679c0ee48b882780
Comment by Gerrit Gerrit [ 2015-11-26 ]
Change I82c6d059eb857dc3fbae3b3c679c0ee48b882780, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2481

SIO-1715 Increase usability of problemset part 1

1. Sort problem list in Problemset lexicography
2. Better navigation in Problemset
(2h)
Change-Id: I82c6d059eb857dc3fbae3b3c679c0ee48b882780
Comment by Gerrit Gerrit [ 2015-11-26 ]
Change I82c6d059eb857dc3fbae3b3c679c0ee48b882780, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2481

SIO-1715 Increase usability of problemset part 1

1. Sort problem list in Problemset lexicography
2. Better navigation in Problemset
(2h)
Change-Id: I82c6d059eb857dc3fbae3b3c679c0ee48b882780
Comment by Gerrit Gerrit [ 2015-11-27 ]
Change I82c6d059eb857dc3fbae3b3c679c0ee48b882780, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2481

SIO-1715 Increase usability of problemset part 1

1. Sort problem list in Problemset lexicography
2. Better navigation in Problemset
3. More intuitive adding from Problemset
(3h)
Change-Id: I82c6d059eb857dc3fbae3b3c679c0ee48b882780
Comment by Gerrit Gerrit [ 2015-11-30 ]
Change I82c6d059eb857dc3fbae3b3c679c0ee48b882780, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2481

SIO-1715 Increase usability of problemset part 1

1. Sort problem list in Problemset lexicography
2. Better navigation in Problemset
3. More intuitive interface for adding problems from Problemset
(3h)
Change-Id: I82c6d059eb857dc3fbae3b3c679c0ee48b882780
Comment by Gerrit Gerrit [ 2015-11-30 ]
Change I82c6d059eb857dc3fbae3b3c679c0ee48b882780, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2481

SIO-1715 Increase usability of problemset part 1

1. Sort problem list in Problemset lexicography
2. Better navigation in Problemset
3. More intuitive interface for adding problems from Problemset
(3h)
Change-Id: I82c6d059eb857dc3fbae3b3c679c0ee48b882780
Comment by Gerrit Gerrit [ 2015-12-3 ]
Change I82c6d059eb857dc3fbae3b3c679c0ee48b882780, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2481

SIO-1715 Increase usability of problemset part 1

1. Sort problem list in Problemset lexicography
2. Better navigation in Problemset
3. More intuitive interface for adding problems from Problemset
(5h)
Change-Id: I82c6d059eb857dc3fbae3b3c679c0ee48b882780
Comment by Gerrit Gerrit [ 2015-12-8 ]
Change I82c6d059eb857dc3fbae3b3c679c0ee48b882780, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2481

SIO-1715 Increase usability of problemset part 1

1. Sort problem list in Problemset lexicography
2. Better navigation in Problemset
3. More intuitive interface for adding problems from Problemset
(5h)
Change-Id: I82c6d059eb857dc3fbae3b3c679c0ee48b882780
Comment by Gerrit Gerrit [ 2015-12-16 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
(3h)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Gerrit Gerrit [ 2015-12-16 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
(3h)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Gerrit Gerrit [ 2015-12-16 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
(3h)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Gerrit Gerrit [ 2016-01-12 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
2. Added possibility of attaching problem to another contest from
admin:probleminstance site
(6h+)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Gerrit Gerrit [ 2016-01-12 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
2. Added possibility of attaching problem to another contest from
admin:probleminstance site
(9h)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Gerrit Gerrit [ 2016-01-15 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
2. Added possibility of attaching problem to another contest from
admin:probleminstance site
(9h)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
2. Added possibility of attaching problem to another contest from
admin:probleminstance site
(9h)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
2. Added possibility of attaching problem to another contest from
admin:probleminstance site
(9h)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
2. Added possibility of attaching problem to another contest from
admin:probleminstance site
(9h)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change Idfd2c9201bb80bd398c72c72707be77e8036a24d, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2493

SIO-1715 Increase usability of problemset part 2

1. Added possibility of resetting tests limits from Problemset
2. Added possibility of attaching problem to another contest from
admin:probleminstance site
(9h)
Change-Id: Idfd2c9201bb80bd398c72c72707be77e8036a24d
Comment by Szymon Acedański [ 2016-11-9 ]
Should this be closed?




[SIO-1714] Using memcached breaks rankings Created: 2015-11-26  Updated: 2019-03-26  Resolved: 2016-02-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: Linux vagrant-ubuntu-trusty-64 3.13.0-65-generic #106-Ubuntu SMP Fri Oct 2 22:08:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

memcached VERSION 1.4.14 (Ubuntu)
python-memcached==1.57

Attachments: File ranking.tiff     Text File ranking.txt    
TAG Developer: Michał Łazowik

 Description   
Enabling memcached causes rankings to be returned as encoded html. See attachments.

 Comments   
Comment by Gerrit Gerrit [ 2015-12-10 ]
<tu był link do złej zmiany, pomyliłem id w commit msg>
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I0de5501134ab47e82bad77b36332b55187d0ff6a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2515

SIO-1714 Fix ranking caching

Even when SafeString is put into cache, out comes plain string. This causes
django to escape it when putting it into template.

This change makes sure that it is marked safe after pulling it out of cache.

Change-Id: I0de5501134ab47e82bad77b36332b55187d0ff6a
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I0de5501134ab47e82bad77b36332b55187d0ff6a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2515

SIO-1714 Fix ranking caching

Even when SafeString is put into cache, out comes plain string. This causes
django to escape it when putting it into template.

This change makes sure that it is marked safe after pulling it out of cache.

Change-Id: I0de5501134ab47e82bad77b36332b55187d0ff6a
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I0de5501134ab47e82bad77b36332b55187d0ff6a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2515

SIO-1714 Do not escape cached ranking html

Even when SafeString is put into cache, out comes plain string. This causes
django to escape it when putting it into template.

This change makes sure that it is marked safe after pulling it out of cache.

Change-Id: I0de5501134ab47e82bad77b36332b55187d0ff6a
Comment by Gerrit Gerrit [ 2016-02-1 ]
Change I0de5501134ab47e82bad77b36332b55187d0ff6a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2515

SIO-1714 Do not escape cached ranking html

Even when SafeString is put into cache, out comes plain string. This causes
django to escape it when putting it into template.

This change makes sure that it is marked safe after pulling it out of cache.

Change-Id: I0de5501134ab47e82bad77b36332b55187d0ff6a




[SIO-1713] Files in "prog" in package are not visable for ingen Created: 2015-11-22  Updated: 2019-03-26  Resolved: 2015-12-10

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Patryk Czajka Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: tag1
Environment: Szkopuł

Issue Links:
Relates
relates to SIO-1722 Package upload: checkers don't work Closed

 Description   
Pliki w "prog" przestały być widoczne przy kompilacji ingena. Paczki, które do tej pory działały kończą z takim błędem:

Traceback (most recent call last):
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/problems/models.py", line 300, in manager
    yield None
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/problems/unpackmgr.py", line 39, in unpackmgr_job
    env = backend.unpack(env)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/sinolpack/package.py", line 801, in unpack
    package.package_file.name).unpack(env, package)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/sinolpack/package.py", line 701, in unpack
    self.process_package()
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/sinolpack/package.py", line 655, in process_package
    self._generate_tests()
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/sinolpack/package.py", line 510, in _generate_tests
    collected_ins = self._make_ins(re_string)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/sinolpack/package.py", line 357, in _make_ins
    env = self._find_and_compile('ingen')
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/sinolpack/package.py", line 349, in _find_and_compile
    renv = self._compile(source, name, extension, out_name)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/sinolpack/package.py", line 312, in _compile
    'filename': filename, 'output': compilation_message})
ProblemPackageError: Compilation of file /tmp/tmpgmalnk/wil/prog/wilingen.cpp failed. Compiler output: /home/users/sio2/tmp/sioworkers_0NpBuC/a.cpp:13:16: fatal error: oi.h: No such file or directory
 #include "oi.h"
                ^
compilation terminated.

 Comments   
Comment by Szymon Acedański [ 2015-11-22 ]
I think it's only with USE_SINOLPACK_MAKEFILES = False.

A workaround is to inline included files in the ingen source.
Comment by Szymon Acedański [ 2015-11-22 ]
Side note: U_S_M = False is intended to be secure against users who are contest admins. As a matter of policy we prefer less functionality over any security issues here. So this needs to be evaluated when deciding how to fix this.

There is another ticket, which proposes to make U_S_M per user.




[SIO-1712] Sometimes less is not processed Created: 2015-11-21  Updated: 2019-03-26  Resolved: 2017-06-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Sometimes oioioi decides just not to precompile less files. This leads to almost no css and completely unusable site.

I have no idea what is the cause, I had this problem before, but it disappeared as mysteriously as it started.

EDIT: This kind of situation seems to arise when oioioi is in the PYTHONPATH, but pip doesn't see it. Running pip install -e . in oioioi directory seems to fix the problem. Note that this is completely quiet, there are no log messages about this whatsoever. I was completely clueless until I tried offline precompiling which finished with some unknown failure. I still have no idea what could have caused this situation.

While this is configuration issue, it may be worth investigating further and adding troubleshooting info in the README.

 Comments   
Comment by Szymon Acedański [ 2015-11-21 ]
Are you able to provide a reproducible scenario for it? What did you exactly do, what was the outcome and what was the unknown failure?
Comment by Michał Łazowik [ 2016-01-30 ]
"which finished with some unknown failure"

Has the failure been something like FileError while looking for imports?
Comment by Stanisław Barzowski [ 2016-01-30 ]
IIRC it was something internal (for the less processor), somehow import related. I don't have reproducible scenario for that and I didn't save the error at a time, sorry. If I see this problem again I'll try to give more info.
Comment by Michał Łazowik [ 2016-01-30 ]
I think this could be related: https://gerrit.sio2project.mimuw.edu.pl/#/c/2508/




[SIO-1711] Contest spontaneously changes type to Teacher's contest Created: 2015-11-20  Updated: 2019-03-26  Resolved: 2016-03-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Mateusz Śmiech
TAG Reviewer: Sebastian Jaszczur

 Description   
After further investigation it seems that whenever non-admin user saves contest it changes its type to Teacher's Contest (possibly breaking everything). It doesn't even have to be a teacher. Of course only when teachers module is enabled.

I have absolutely no idea what was the intent of such behaviour. This is wrong on so many levels.


 Comments   
Comment by Gerrit Gerrit [ 2016-01-27 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-01-27 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-01-27 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-01-27 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189
Comment by Gerrit Gerrit [ 2016-02-2 ]
Change I5493b38602ed98b79cae3c6e6c57030bf391e189, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2502

SIO-1711 Contest spontaneously changes type to Teacher's contest

Adding default value for contest.controller_name.

Change-Id: I5493b38602ed98b79cae3c6e6c57030bf391e189




[SIO-1710] Links to "my submissions" in ranking are at wrong positions. Created: 2015-11-19  Updated: 2019-03-26  Resolved: 2015-12-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Michał Łazowik
TAG Reviewer: Sebastian Jaszczur

 Description   
They are cashed with rankings, so they appear on the user who hit the cache invalidation.

 Comments   
Comment by Gerrit Gerrit [ 2015-12-10 ]
Change Ied08a349981e2f8b711cf6453071228bfca15987, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2491

(SIO-1710) Links to submissions in ranking in js

That way we can bypass the limitations of cache.

Change-Id: Ied08a349981e2f8b711cf6453071228bfca15987
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change Ied08a349981e2f8b711cf6453071228bfca15987, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2491

(SIO-1710) Links to submissions in ranking in js

That way we can bypass the limitations of cache.

Change-Id: Ied08a349981e2f8b711cf6453071228bfca15987
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change Ied08a349981e2f8b711cf6453071228bfca15987, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2491

(SIO-1710) Links to submissions in ranking in js

That way we can bypass the limitations of cache.

Change-Id: Ied08a349981e2f8b711cf6453071228bfca15987




[SIO-1709] Notification server crashes Created: 2015-11-19  Updated: 2019-03-26  Resolved: 2016-01-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Adam Paszke
TAG Reviewer: Michał Łazowik

 Description   
Notification server on szpokul.edu.pl regularly crashes.

 Comments   
Comment by Gerrit Gerrit [ 2015-12-5 ]
Change Ib1a48eee23c45a6115b0e240f90f8593a30fceea, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2487

SIO-1709 Notification server can now handle rabbitmq disconnects properly

After rabbitmq closes the connection the notification server will now
attempt to reconnect in 30s intervals.
Also, updated all dependencies to newer versions.

Change-Id: Ib1a48eee23c45a6115b0e240f90f8593a30fceea
Comment by Gerrit Gerrit [ 2015-12-11 ]
Change Ib1a48eee23c45a6115b0e240f90f8593a30fceea, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2487

SIO-1709 Notification server can now handle rabbitmq disconnects properly

After rabbitmq closes connection the notification server will now
attempt to reconnect in 30s intervals.
Also, updated all dependencies to newer versions.

Change-Id: Ib1a48eee23c45a6115b0e240f90f8593a30fceea
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change Ib1a48eee23c45a6115b0e240f90f8593a30fceea, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2487

SIO-1709 Notification server can now handle rabbitmq disconnects properly

After rabbitmq closes connection the notification server will now
attempt to reconnect in 30s intervals.
Also, updated all dependencies to newer versions.

Change-Id: Ib1a48eee23c45a6115b0e240f90f8593a30fceea




[SIO-1708] Gamification: solving problems from ASD doesn't give exp Created: 2015-11-19  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Sebastian Jaszczur Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
I heard that solving problems from ASD doesn't give experience. I think those solutions should be appropriately rewarded.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1707] Gamification: code sharing setting in profile is not saved Created: 2015-11-19  Updated: 2019-03-26  Resolved: 2016-01-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Sebastian Jaszczur
TAG Reviewer: Mateusz Śmiech

 Description   
Changing "Whether to allow your friends to see your problem solutions" has no effect upon save.

 Comments   
Comment by Gerrit Gerrit [ 2015-11-25 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-11-26 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-3 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-10 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-10 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-10 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-10 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-10 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-10 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-10 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-16 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-16 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change I2d1a8f0ec13bc0e2e3631da4220667c913746128, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2480

SIO-1707 Gamification: code sharing setting in profile is not saved

The local function was hold with weak reference, so it could be
garbage collected before sending signal.

Change-Id: I2d1a8f0ec13bc0e2e3631da4220667c913746128




[SIO-1706] Add support for status requests in status module Created: 2015-11-14  Updated: 2019-03-26  Resolved: 2015-11-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently the status module emits 'updateStatus' event every 5 minutes and if an object need an immediate 'updateStatus' there is no way to request it. I think it would be useful to add some way to force earlier status update (e.g. that would solve this problem https://jira.sio2project.mimuw.edu.pl/browse/SIO-1573 )

 Comments   
Comment by Gerrit Gerrit [ 2015-11-14 ]
Change I08d88c843317f5e62985fe13e248c9b1e79b899e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2474

SIO-1706 Add support for status requests in status module

The new 'updateStaatusRequest' event uses Promise API.

Change-Id: I08d88c843317f5e62985fe13e248c9b1e79b899e
Comment by Gerrit Gerrit [ 2015-11-14 ]
Change I08d88c843317f5e62985fe13e248c9b1e79b899e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2474

SIO-1706 Add support for status requests in status module

The new 'updateStaatusRequest' event uses Promise API.

Change-Id: I08d88c843317f5e62985fe13e248c9b1e79b899e
Comment by Gerrit Gerrit [ 2015-11-14 ]
Change I08d88c843317f5e62985fe13e248c9b1e79b899e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2474

SIO-1706 Add support for status requests in status module

The new 'updateStatusRequest' event uses Promise API.

Change-Id: I08d88c843317f5e62985fe13e248c9b1e79b899e
Comment by Gerrit Gerrit [ 2015-11-15 ]
Change I08d88c843317f5e62985fe13e248c9b1e79b899e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2474

SIO-1706 Add support for status requests in status module

The new 'updateStatusRequest' event uses jQuery's Deferred API.

Change-Id: I08d88c843317f5e62985fe13e248c9b1e79b899e
Comment by Gerrit Gerrit [ 2015-11-15 ]
Change I08d88c843317f5e62985fe13e248c9b1e79b899e, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2474

SIO-1706 Add support for status requests in status module

The new 'updateStatusRequest' event uses jQuery's Deferred API.

Change-Id: I08d88c843317f5e62985fe13e248c9b1e79b899e
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change I08d88c843317f5e62985fe13e248c9b1e79b899e, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2474

SIO-1706 Add support for status requests in status module

The new 'updateStatusRequest' event uses jQuery's Deferred API.

Change-Id: I08d88c843317f5e62985fe13e248c9b1e79b899e
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change I08d88c843317f5e62985fe13e248c9b1e79b899e, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2474

SIO-1706 Add support for status requests in status module

The new 'updateStatusRequest' event uses jQuery's Deferred API.

Change-Id: I08d88c843317f5e62985fe13e248c9b1e79b899e




[SIO-1705] Update packages used by static checker Created: 2015-11-12  Updated: 2019-03-26  Resolved: 2018-03-30

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

Issue Links:
Relates
is related to SIO-2051 Fix static_check errors occuring afte... Closed
TAG Developer: Norbert Siwek

 Comments   
Comment by Gerrit Gerrit [ 2017-12-14 ]
Change oioioi~master~I87d6888c99d037f808d72e62bf6e9d293f9239dd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2936

(SIO-1705) [TEST COMMIT] [TESTING NEW PEP8]

Change-Id: I87d6888c99d037f808d72e62bf6e9d293f9239dd




[SIO-1704] Custom ModelAdmin class doesn't check related objects permissions Created: 2015-11-8  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Obsolete Votes: 1
Labels: None


 Description   
OIOIOI's ModelAdmin overrides delete_view() implementation. It's very similar to that of Django, but it only checks delete permissions of the object being deleted. If a delete cascade occurs there can be an object that is protected or shouldn't be deleted anyway.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1703] DjangoUnicodeDecodeError with non-utf8-encoded HTML problem statements Created: 2015-11-6  Updated: 2019-03-26  Resolved: 2016-01-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Piotr Wiśniewski

 Description   
Internal Server Error: /c/informatyka-2b/p/wek/16402/
Traceback (most recent call last):
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ core/handlers/base.py", line 137, in get_response
    response = response.render()
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/response.py", line 103, in render
    self.content = self.rendered_content
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/response.py", line 80, in rendered_content
    content = template.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 148, in render
    return self._render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ test/utils.py", line 88, in instrumented_test_render
    return self.nodelist.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
    bit = self.render_node(node, context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 858, in render_node
    return node.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/loader_tags.py", line 126, in render
    return compiled_parent._render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ test/utils.py", line 88, in instrumented_test_render
    return self.nodelist.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
    bit = self.render_node(node, context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 858, in render_node
    return node.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/loader_tags.py", line 126, in render
    return compiled_parent._render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ test/utils.py", line 88, in instrumented_test_render
    return self.nodelist.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
    bit = self.render_node(node, context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 858, in render_node
    return node.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/loader_tags.py", line 65, in render
    result = block.nodelist.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
    bit = self.render_node(node, context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 858, in render_node
    return node.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/loader_tags.py", line 65, in render
    result = block.nodelist.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
    bit = self.render_node(node, context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 858, in render_node
    return node.render(context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 904, in render
    return render_value_in_context(output, context)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 881, in render_value_in_context
    value = force_text(value)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/utils/encoding.py", line 95, in force_text
    raise DjangoUnicodeDecodeError(s, *e.args)
DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0xea in position 37: invalid continuation byte. You passed in '<div>\n<h1>Wektory</h1>\n<h3>Limit pami\xeaci: 64 MB</h3>\n<p>Mamy dane n wsp\xf3\xb3rz\xeadnych wektor\xf3w (b\xead\xb9ce liczbami ca\xb3kowitymi z zakresu [-500;500]) w formacie: x y (pierwsza_wsp\xf3\xb3rz\xeadna odst\xeap druga_wsp\xf3\xb3rz\xeadna). </p>\n<p>Napisz program, kt\xf3ry wypisze na standardowe wyj\x9ccie list\xea wektor\xf3w r\xf3wnoleg\xb3ych do osi OX lub OY oraz w ostatnim wierszu ich liczb\xea.</p>\n<h3>Przyk\xb3ad: </h3>\n<p>Dla danych wej\x9cciowych:</p>\n<pre>5\n0 1\n2 2\n4 4\n5 0\n10 10\nPoprawn\xb9 odpowiedzi\xb9 jest:\n0 1\n5 0\n2\n</pre>\n\n' (<class 'django.utils.safestring.SafeBytes'>)


 Comments   
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change I797374534264046665d0925dbb44d0be364285ee, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2494

SIO-1703 DjangoUnicodeDecodeError with non-utf8-encoded HTML problem statements

Checking if index.html in zip file with problem statement in html is
utf8 encoded. If it's not ProblemPackageError is raised.

Change-Id: I797374534264046665d0925dbb44d0be364285ee
Comment by Gerrit Gerrit [ 2016-01-10 ]
Change I797374534264046665d0925dbb44d0be364285ee, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2494

SIO-1703 DjangoUnicodeDecodeError with non-utf8-encoded HTML problem statements

Checking if index.html in zip file with problem statement in html is
utf8 or iso8859-2 encoded. If it's iso8859-2 encoded it is translated to
utf8. Otherwise ProblemPackageError is raised.

Change-Id: I797374534264046665d0925dbb44d0be364285ee
Comment by Gerrit Gerrit [ 2016-01-10 ]
Change I797374534264046665d0925dbb44d0be364285ee, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2494

SIO-1703 DjangoUnicodeDecodeError with non-utf8-encoded HTML problem statements

Checking if index.html in zip file with problem statement in html is
utf8 or iso8859-2 encoded. If it's iso8859-2 encoded it is translated to
utf8. Otherwise ProblemPackageError is raised.

Change-Id: I797374534264046665d0925dbb44d0be364285ee




[SIO-1702] Include user email in Participants' data Created: 2015-11-6  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Maybe someone came to the conclusion that this piece of information is unnecessary / too sensitive? In my opinion it is no more sensitive than phone number and it may definitely be useful.

 Comments   
Comment by Szymon Acedański [ 2015-11-6 ]
Seems plausible, but definitely we don't want contest admins of any contest to access users' emails (see teachers @ szkopul.edu.pl).

Implementation note: seems like RegistrationController should decide.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1701] Password restoring should warn user when there is no account with provided email Created: 2015-11-5  Updated: 2019-03-26  Resolved: 2015-11-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently even if there is no account matching provided email a message is shown stating that the password restoration email has been sent.

 Comments   
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I1a0f57ec61016c0042b17ea02ac79880c471062c, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2469

(SIO-1701) Warn if email does not exist on password reset

Change-Id: I1a0f57ec61016c0042b17ea02ac79880c471062c
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I1a0f57ec61016c0042b17ea02ac79880c471062c, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2469

(SIO-1701) Warn if email does not exist on password reset

Change-Id: I1a0f57ec61016c0042b17ea02ac79880c471062c
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I1a0f57ec61016c0042b17ea02ac79880c471062c, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2469

(SIO-1701) Warn if email does not exist on password reset

Change-Id: I1a0f57ec61016c0042b17ea02ac79880c471062c
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I1a0f57ec61016c0042b17ea02ac79880c471062c, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2469

(SIO-1701) Warn if email does not exist on password reset

Change-Id: I1a0f57ec61016c0042b17ea02ac79880c471062c
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I1a0f57ec61016c0042b17ea02ac79880c471062c, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2469

(SIO-1701) Warn if email does not exist on password reset

Change-Id: I1a0f57ec61016c0042b17ea02ac79880c471062c




[SIO-1700]  Task uploading and judging should log (much) more aggressively. Created: 2015-11-5  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
These actions often fail due to improper configuration, sometimes in strange ways. Often unrelated to the SIO itself, but rabbitmq or some network stuff.

It is kind of thing that requires lots of debugging by the admin. And often there are no relevant logs.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1699] 403 Forbidden after login Created: 2015-11-5  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
I got 403 Forbidden after logging in. Moreover I had admin permissions. It isn't a big problem, but confusing for sure.

No repro for now, but login process IMO should now allow any redirection to error by design.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1698] Contestexcl should disable gamification sharing Created: 2015-10-25  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
And I think it's a good idea to rename a lot of it to something like on-site contests or maybe even merge with contests.

 Comments   
Comment by Stanisław Barzowski [ 2015-10-28 ]
But contests are already God-Objects

Maybe gamification should just be enabled explicitly on the per-contest basis? Global changes in contests behaviour is always ugly... on-site or not.
Comment by Szymon Acedański [ 2017-11-8 ]
Gamification is gone.




[SIO-1697] Contest admins cannot see problem package reupload status Created: 2015-10-19  Updated: 2019-03-26  Resolved: 2016-01-7

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1
Environment: Szkopuł

TAG Developer: Pawel Golinski
TAG Reviewer: Piotr Wiśniewski

 Description   
If a contest admin (e.g. a teacher) chooses to reupload a problem package, the package won't be connected to any contest.
Contest admins have a separate view for packages status – it shows only packages uploaded to the current contest, therefore the reuploaded one will be missing there.

It's really misleading as the uploader cannot check for errors during the package processing process.

 Comments   
Comment by Gerrit Gerrit [ 2015-12-6 ]
Change I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2488

SIO-1697 - Contest admins cannot see problem package reupload status

Change-Id: I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1
Comment by Gerrit Gerrit [ 2015-12-8 ]
Change I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2488

SIO-1697 - Contest admins cannot see problem package reupload status

Change-Id: I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1
Comment by Gerrit Gerrit [ 2015-12-8 ]
Change I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2488

SIO-1697 - Contest admins cannot see problem package reupload status

Change-Id: I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1
Comment by Gerrit Gerrit [ 2015-12-8 ]
Change I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2488

SIO-1697 - Contest admins cannot see problem package reupload status

Change-Id: I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2488

SIO-1697 - Contest admins cannot see problem package reupload status

Change-Id: I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2488

SIO-1697 - Contest admins cannot see problem package reupload status

Change-Id: I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2488

SIO-1697 Contest admins cannot see problem package reupload status

Change-Id: I9cb64738796d1a805e9a344e8ddc3f7a4f5e72a1




[SIO-1696] import_users unicode error on non-ascii db error. Created: 2015-10-18  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
When there is non-ascii character in db error message the command crashes failing to encode this character as ascii and confusing the hell out of user.

It seems like db error message is of unicode type and we treat is as str and some .encode('utf-8') will fix the problem.

 Comments   
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change Id4c559916e27e4cecac0278338b7e32f30051277, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2477

SIO-1696 import_users unicode error on non-ascii db error.

Fix the problem by decoding all the messages as utf-8.

Change-Id: Id4c559916e27e4cecac0278338b7e32f30051277
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change Id4c559916e27e4cecac0278338b7e32f30051277, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2477

SIO-1696 import_users unicode error on non-ascii db error.

Fix the problem by decoding all the messages as utf-8.

Change-Id: Id4c559916e27e4cecac0278338b7e32f30051277
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change Id4c559916e27e4cecac0278338b7e32f30051277, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2477

SIO-1696 import_users unicode error on non-ascii db error.

Fix the problem by decoding all the messages as utf-8.

Change-Id: Id4c559916e27e4cecac0278338b7e32f30051277




[SIO-1695] DoesNotExist: FriendshipRequest matching query does not exist. Created: 2015-10-16  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Maybe it's when someone accepts a request multiple times.
It shouldn't end with a 500 Internal Server Error anyways.

 Comments   
Comment by Szymon Acedański [ 2015-11-19 ]
Internal Server Error: /c/informatyka-2b/profile/rweq4231/accept_request
Traceback (most recent call last):
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/transaction.py", line 394, in inner
    return func(*args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ views/decorators/http.py", line 41, in inner
    return func(request, *args, **kwargs)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/gamification/views.py", line 131, in accept_friendship_request_view
    return friend_action(request, username, 'accept_friendship_request')
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/gamification/views.py", line 108, in friend_action
    friendship_request = friends.request_from(other_user)
  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/gamification/friends.py", line 132, in request_from
    return self.requests_for_me.get(sender__user=sender)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/ models/manager.py", line 92, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 357, in get
    self.model._meta.object_name)
DoesNotExist: FriendshipRequest matching query does not exist.
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change Iab6702d26e91790b9eb147ecc6cc268ef712049e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2479

SIO-1695 Check if a friendship request exists before accepting it

Change-Id: Iab6702d26e91790b9eb147ecc6cc268ef712049e




[SIO-1694] Introduce more filters in the publicsolutions module Created: 2015-10-15  Updated: 2019-03-26  Resolved: 2017-02-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1545 publicsolutions: order by name, score... Closed

 Description   
Introduce filtering: by author, by score, by language...




[SIO-1693] Rethink the question author field in the "Questions & news" view Created: 2015-10-15  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
It would be useful to see the author of the original question, not only the author of the response.

 Comments   
Comment by Szymon Acedański [ 2017-11-8 ]
Admins now see the original author too.




[SIO-1692] Fix the solutions_must_be_public in PAContestController Created: 2015-10-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
It should look like:

def solutions_must_be_public(self, qs):
         return qs.filter(user__isnull=False, user__is_superuser=False,
                          submissionreport__userresultforproblem__isnull=False)

or with some further modification, in order to publish the last solutions only.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1691] Rethink the time computation method for Java submissions Created: 2015-10-15  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Currently the runtime of solutions written in Java is decreased by some estimate of time spent on input reading. This estimate is based on the assumption that the contestants use unbuffered input. However, it is possible to enable buffered reading, the contestants using this technique may get 0s execution time for maxtests with large inputs.




[SIO-1690] Allow assigning more than 1 point for a test group in a PAScore Created: 2015-10-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
According to the rules of Algorithmic Engagements (Potyczki Algorytmiczne) each passed test group is worth 1 point. However, it would be sometimes useful to assign 2 or more points to a group. Then the official rules could be changed to give the problemsetters more flexibility.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1689] Let ctimes and countdown bar provide the name of the round for which the countdown is performed. Created: 2015-10-15  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
The contestants see the text message like "... before the start of the round" but it could be useful for them to learn that this refers to "Round 5", especially when there are many active rounds at the same time.

 Comments   
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I8de107a6eb9834532c27938818b7d2185541d86b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2470

SIO-1689 Let timer provide current round name.

Change-Id: I8de107a6eb9834532c27938818b7d2185541d86b
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I8de107a6eb9834532c27938818b7d2185541d86b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2470

SIO-1689 Let timer provide current round name.

Change-Id: I8de107a6eb9834532c27938818b7d2185541d86b
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I8de107a6eb9834532c27938818b7d2185541d86b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2470

SIO-1689 Let timer provide current round name.

Change-Id: I8de107a6eb9834532c27938818b7d2185541d86b
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I8de107a6eb9834532c27938818b7d2185541d86b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2470

SIO-1689 Let timer provide current round name

Change-Id: I8de107a6eb9834532c27938818b7d2185541d86b




[SIO-1688] Let contest admin see which user marked a post as "Reported" Created: 2015-10-15  Updated: 2019-03-26  Resolved: 2015-12-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Mateusz Śmiech
TAG Reviewer: Stanisław Barzowski

 Description   
We have encountered some "report scammer(s)" who reported every post in the forum.

 Comments   
Comment by Gerrit Gerrit [ 2015-12-3 ]
Change I3170b0f4ecb9313d0d7ac576ff725306a06f6b06, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2483

SIO-1688 Let contest admin see which user marked a post as "Reported"

Adding the reported_by field field to forum posts allowing admins
to see which user has reported a post.

Change-Id: I3170b0f4ecb9313d0d7ac576ff725306a06f6b06
Comment by Gerrit Gerrit [ 2015-12-3 ]
Change I3170b0f4ecb9313d0d7ac576ff725306a06f6b06, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2483

SIO-1688 Let contest admin see which user marked a post as "Reported"

Adding the reported_by field field to forum posts allowing admins
to see which user has reported a post.

Change-Id: I3170b0f4ecb9313d0d7ac576ff725306a06f6b06
Comment by Gerrit Gerrit [ 2015-12-9 ]
Change I3170b0f4ecb9313d0d7ac576ff725306a06f6b06, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2483

SIO-1688 Let contest admin see which user marked a post as "Reported"

Adding the reported_by field field to forum posts allowing admins
to see which user has reported a post.

Change-Id: I3170b0f4ecb9313d0d7ac576ff725306a06f6b06
Comment by Gerrit Gerrit [ 2015-12-9 ]
Change I3170b0f4ecb9313d0d7ac576ff725306a06f6b06, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2483

SIO-1688 Let contest admin see which user marked a post as "Reported"

Adding the reported_by field field to forum posts allowing admins
to see which user has reported a post.

Change-Id: I3170b0f4ecb9313d0d7ac576ff725306a06f6b06




[SIO-1687] Improve ranking caching Created: 2015-10-15  Updated: 2019-03-26  Resolved: 2016-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2015/16

Type: Improvement Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: T2

Issue Links:
Relates
relates to SIO-1896 Invalidate (regenerate) ranking after... Resolved
relates to SIO-1766 Ranking performance measurement Closed
is related to SIO-1253 Make scores in ranking clickable Closed
is related to SIO-1401 Add ranking caching Closed
TAG Developer: Adam Paszke
TAG Reviewer: Stanisław Barzowski

 Description   
(Probably a lot of work. Solving it reasonably likely requires drastic changes).

The current ranking caching strategy is not suitable for contest with many (e.g > 1000) users. It takes around 30s to generate such a ranking and the current RANKING_CACHE_TIMEOUT is set to 30s. Increasing this constant will not solve the problem, as the ranking gets invalidated every time some new solution is judged.

One of the possible solution could be introducing ranking_cache_timeout in the contest controller, for example 30 mins for contests with many users and 30s for ACM style contests. It is also worth considering to cache rankings separately for contest admins and regular contestants.

This issue is related to displaying links to "my submissions" in the ranking view. Apparently they get broken when the ranking caching with large timeout is enabled. Maybe this feature should be disabled.

 Comments   
Comment by Gerrit Gerrit [ 2016-06-1 ]
Change I4264927896fda177f52420976e5b1a5c4d7bb722, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2576

SIO-1687 Prepare rankings app for integration with rankingsd

Change-Id: I4264927896fda177f52420976e5b1a5c4d7bb722
Comment by Gerrit Gerrit [ 2016-06-1 ]
Change I4264927896fda177f52420976e5b1a5c4d7bb722, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2576

SIO-1687 Prepare rankings app for integration with rankingsd

Change-Id: I4264927896fda177f52420976e5b1a5c4d7bb722
Comment by Gerrit Gerrit [ 2016-06-4 ]
Change I4264927896fda177f52420976e5b1a5c4d7bb722, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2576

SIO-1687 Prepare rankings app for integration with rankingsd

Change-Id: I4264927896fda177f52420976e5b1a5c4d7bb722
Comment by Gerrit Gerrit [ 2016-06-7 ]
Change I4264927896fda177f52420976e5b1a5c4d7bb722, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2576

SIO-1687 Prepare rankings app for integration with rankingsd

Change-Id: I4264927896fda177f52420976e5b1a5c4d7bb722
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-8 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-9 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-9 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-10 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-14 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-14 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-14 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-14 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-14 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-14 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change I65361d0b737276f851c985287f4a5595cd444b60, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/2577

SIO-1687 rankingsd implementation

Change-Id: I65361d0b737276f851c985287f4a5595cd444b60
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff
Comment by Gerrit Gerrit [ 2016-06-15 ]
Change Iac9ed7674b91e050fab5ba632fd7b889366773ff, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2581

SIO-1687 Integrate rankingd and refactor rankings module

Change-Id: Iac9ed7674b91e050fab5ba632fd7b889366773ff




[SIO-1686] 400 Bad Request on SU to superuser. Created: 2015-10-14  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
I get 400 Bad Request when I try to switch user to another superuser.

Maybe it is by design, but the message should be more friendly then.

 Comments   
Comment by Stanisław Barzowski [ 2015-11-19 ]
I am not sure about the original reason for not allowing SU to superuser, but this is clearly intentional. And I find it reasonable - it may lead to problems with tracking what is done by whom. So I guess it is here to stay.

If someone could provide actual hard arguments for why it is necessary, that would be nice.
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change I869aec07b62c3b89afe625d7f58fbbdebacb2e20, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2476

SIO-1686 Bad Request on SU to superuser.

Add friendlier message in case of SU to superuser (which is still not allowed).

Change-Id: I869aec07b62c3b89afe625d7f58fbbdebacb2e20
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change I869aec07b62c3b89afe625d7f58fbbdebacb2e20, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2476

SIO-1686 Bad Request on SU to superuser.

Add friendlier message in case of SU to superuser (which is still not allowed).

Change-Id: I869aec07b62c3b89afe625d7f58fbbdebacb2e20
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change I869aec07b62c3b89afe625d7f58fbbdebacb2e20, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2476

SIO-1686 Bad Request on SU to superuser.

Add friendlier message in case of SU to superuser (which is still not allowed).

Change-Id: I869aec07b62c3b89afe625d7f58fbbdebacb2e20
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change I869aec07b62c3b89afe625d7f58fbbdebacb2e20, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2476

SIO-1686 Bad Request on SU to superuser.

Add friendlier message in case of SU to superuser (which is still not allowed).

Change-Id: I869aec07b62c3b89afe625d7f58fbbdebacb2e20
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change I869aec07b62c3b89afe625d7f58fbbdebacb2e20, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2476

SIO-1686 Bad Request on SU to superuser.

Add friendlier message in case of SU to superuser (which is still not allowed).

Change-Id: I869aec07b62c3b89afe625d7f58fbbdebacb2e20
Comment by Gerrit Gerrit [ 2015-11-19 ]
Change I869aec07b62c3b89afe625d7f58fbbdebacb2e20, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2476

SIO-1686 Bad Request on SU to superuser.

Add friendlier message in case of SU to superuser (which is still not allowed).

Change-Id: I869aec07b62c3b89afe625d7f58fbbdebacb2e20




[SIO-1685] Teachers cannot delete submissions in their contests Created: 2015-10-13  Updated: 2019-03-26  Resolved: 2015-11-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
I suppose it's the same for contest admins.



 Comments   
Comment by Gerrit Gerrit [ 2015-11-8 ]
Change Iecc285ebd015a33d31671f89361477fae58ae986, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2465

(SIO-1685) Contest admins can now delete submissions

This commit replaces the default delete_selected action in ModelAdmin

Change-Id: Iecc285ebd015a33d31671f89361477fae58ae986
Comment by Gerrit Gerrit [ 2015-11-8 ]
Change Iecc285ebd015a33d31671f89361477fae58ae986, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2465

SIO-1685 Contest admins can now delete submissions

This commit replaces the default delete_selected action handler in ModelAdmin

Change-Id: Iecc285ebd015a33d31671f89361477fae58ae986
Comment by Gerrit Gerrit [ 2015-11-8 ]
Change Iecc285ebd015a33d31671f89361477fae58ae986, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2465

SIO-1685 Contest admins can now delete submissions

This commit replaces the default delete_selected action handler in ModelAdmin

Change-Id: Iecc285ebd015a33d31671f89361477fae58ae986
Comment by Gerrit Gerrit [ 2015-11-9 ]
Change Iecc285ebd015a33d31671f89361477fae58ae986, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2465

SIO-1685 Contest admins can now delete submissions

This commit replaces the default delete_selected action handler in ModelAdmin

Change-Id: Iecc285ebd015a33d31671f89361477fae58ae986
Comment by Gerrit Gerrit [ 2015-11-9 ]
Change Iecc285ebd015a33d31671f89361477fae58ae986, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2465

SIO-1685 Contest admins can now delete submissions

This commit replaces the default delete_selected action handler in ModelAdmin

Change-Id: Iecc285ebd015a33d31671f89361477fae58ae986




[SIO-1684] Fix counterintuitive task reuploading etc. Created: 2015-10-9  Updated: 2019-03-26  Resolved: 2017-12-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Jacek Olczyk

 Description   
Some operations are available only from problem site. Now there are three administrative pages from task and what can be done with which seems random (at least for people uninvolved with development).

For example:
re-uploading package
downloading tests

We should make a coherent mental model for problems!

 Comments   
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~I580146a955d9ed1c795decf69d40a9aea11e4afd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2927

SIO-1684 - Fix counterintuitive task reuploading etc.

Added intuitive task reuploading

Change-Id: I580146a955d9ed1c795decf69d40a9aea11e4afd
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~I580146a955d9ed1c795decf69d40a9aea11e4afd, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2927

SIO-1684 - Fix counterintuitive task reuploading etc.

Added intuitive task reuploading

Change-Id: I580146a955d9ed1c795decf69d40a9aea11e4afd
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~I580146a955d9ed1c795decf69d40a9aea11e4afd, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2927

SIO-1684 - Fix counterintuitive task reuploading etc.

Added intuitive task reuploading

Change-Id: I580146a955d9ed1c795decf69d40a9aea11e4afd
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~I580146a955d9ed1c795decf69d40a9aea11e4afd, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2927

SIO-1684 - Fix counterintuitive task reuploading etc.

Added intuitive task reuploading

Change-Id: I580146a955d9ed1c795decf69d40a9aea11e4afd
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~I580146a955d9ed1c795decf69d40a9aea11e4afd, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2927

SIO-1684 - Fix counterintuitive task reuploading etc.

Added intuitive task reuploading

Change-Id: I580146a955d9ed1c795decf69d40a9aea11e4afd
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~I580146a955d9ed1c795decf69d40a9aea11e4afd, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2927

SIO-1684 - Fix counterintuitive task reuploading etc.

Added intuitive task reuploading

Change-Id: I580146a955d9ed1c795decf69d40a9aea11e4afd




[SIO-1683] Fix linaro-django-pagination dependecy during building Created: 2015-10-8  Updated: 2019-03-26  Resolved: 2015-10-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Our script can't find linaro-django-pagination package which causes error during building.

 Comments   
Comment by Gerrit Gerrit [ 2015-10-8 ]
Change I3d57b848f0035aaaed461cccabfe70a2756e3396, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2453

SIO-1683 Fix linaro-django-pagination dependecy during building

Added github link to our linaro-django-pagination mirror.

Change-Id: I3d57b848f0035aaaed461cccabfe70a2756e3396
Comment by Gerrit Gerrit [ 2015-10-8 ]
Change Ic64a35ce45d8aa5afefac02f8e81279b5ffb7aed, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2455

SIO-1683 Fix linaro-django-pagination dependecy during building

Added github link to our linaro-django-pagination mirror.

Change-Id: Ic64a35ce45d8aa5afefac02f8e81279b5ffb7aed




[SIO-1682] Worker RPC implementation doesn't remove call from pending after timeout Created: 2015-10-8  Updated: 2019-03-26  Resolved: 2015-11-12

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bartosz Stebel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by SIO-1681 sioworkersd doesn't handle timeouts o... Resolved

 Description   
sio.protocol.rpc.WorkerRpc._timeout will errback the Deferred, but the entry in self.pendingCalls is not deleted. If a reply actually comes later, callback() on line 71 will raise AlreadyCalledError, which will cause the connection to be dropped.

This ironically makes SIO-1681 slightly better, so that one has to be fixed first.

 Comments   
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I8bbbd5e61a3b8c242cc30249b115089c0f1a71b9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2468

SIO-1682 Worker RPC implementation doesn't remove call from pending after timeout

Change-Id: I8bbbd5e61a3b8c242cc30249b115089c0f1a71b9




[SIO-1681] sioworkersd doesn't handle timeouts or network errors properly Created: 2015-10-8  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Bartosz Stebel Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1682 Worker RPC implementation doesn't rem... Closed

 Description   
The worker cannot cancel a running task, because Python/Twisted threads suck. This itself is not a big problem, but this limitation is basically ignored by sioworkersd, which can result in various strange errors.

What exactly happens:
* sioworkersd receives a task and schedules it on spr2g1
* (sioworkersd) 16:41:51+0200 [-] Running urn:uuid:36f2612b-1334-4b7a-92c1-f69da96a3036 on spr2g1
* worker receives task and starts executing
* (worker) 16:41:51+0200 [-] running urn:uuid:36f2612b-1334-4b7a-92c1-f69da96a3036, exclusive: True
* TASK_TIMEOUT (15) minutes pass, the remote call to run in sioworkersd/manager.py:118 times out on rpc layer.
    note: this could as well be a network failure, the outcome would be pretty much the same.
* (sioworkersd) 16:56:51+0200 [-] Task urn:uuid:36f2612b-1334-4b7a-92c1-f69da96a3036 finished.
* At this point sioworkersd considers the task failed, but finished. The task finished, so the worker must not be executing it anymore, so the scheduler will schedule more tasks to it.
This is of course not true in reality and worker is still executing the first task - all subsequent tasks sent to it will try to execute concurrently with it. If we are not using oitimetool, they will fail exclusivity checks - this worker becomes basically useless.
* (worker) 17:09:10+0200 [-] urn:uuid:36f2612b-1334-4b7a-92c1-f69da96a3036 done.
* Worker finally finishes executing the first task. This causes an exception on sioworkers side, because of SIO-1682, which actually improves the situation - sioworkersd will drop the worker and close connection.
* (worker) 17:09:13+0200 [-] Starting factory <sio.protocol.worker.WorkerFactory instance at 0xb75dd34c>
* Worker reconnects, everything is back to normal.


 Comments   
Comment by Gerrit Gerrit [ 2015-11-11 ]
Change Ifce26ab32dc4a06ed348885015a466f8ca5c0843, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2466

SIO-1681 (partial) sioworkersd doesn't handle timeouts or network errors properly

work in progress - not tested
This is not a complete fix - while it should stop all exclusivity errors
from appearing, a runaway (executing very long or just frozen somehow)
task will still block its worker until it finishes.

Change-Id: Ifce26ab32dc4a06ed348885015a466f8ca5c0843
Comment by Gerrit Gerrit [ 2015-11-11 ]
Change Ifce26ab32dc4a06ed348885015a466f8ca5c0843, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2466

SIO-1681 (partial) sioworkersd doesn't handle timeouts or network errors properly

This is not a complete fix - while it should stop all exclusivity errors
from appearing, a runaway (executing very long or just frozen somehow)
task will still block its worker until it finishes.

Change-Id: Ifce26ab32dc4a06ed348885015a466f8ca5c0843
Comment by Gerrit Gerrit [ 2015-11-11 ]
Change Ifce26ab32dc4a06ed348885015a466f8ca5c0843, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2466

SIO-1681 (partial) sioworkersd doesn't handle timeouts or network errors properly

This is not a complete fix - while it should stop all exclusivity errors
from appearing, a runaway (executing very long or just frozen somehow)
task will still block its worker until it finishes.

Change-Id: Ifce26ab32dc4a06ed348885015a466f8ca5c0843
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change Ifce26ab32dc4a06ed348885015a466f8ca5c0843, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2466

SIO-1681 (partial) sioworkersd doesn't handle timeouts or network errors properly

This is not a complete fix - while it should stop all exclusivity errors
from appearing, a runaway (executing very long or just frozen somehow)
task will still block its worker until it finishes.

Change-Id: Ifce26ab32dc4a06ed348885015a466f8ca5c0843
Comment by Szymon Acedański [ 2016-11-9 ]
Should this be closed?
Comment by Bartosz Stebel [ 2016-12-8 ]
Well, not really - back when I did this I planned to finish this properly...
The problem is as mentioned in the last commit message, example: if a worker receives a job that will take five hours to execute (because somebody didn't set limits or something), that worker is effectively unavailable for those five hours, unless somebody kills it manually. This does not impact accuracy in any way (it was fixed in that previous commit), just can cause a slowdown/deadlock.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1678] Prizes controller for Potyczki Algorytmiczne (AE) Created: 2015-10-5  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
After each round, we randomly select 5 contestants who got at least one point in the round, and award them with t-shirts. Prizes framework is created exactly for such cases, but we still need a controller implementing the rules.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1677] ReadTheDocs does not compile Created: 2015-10-1  Updated: 2019-03-26  Resolved: 2015-11-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
https://readthedocs.org/projects/oioioi/builds/3366515/

 Comments   
Comment by Adam Paszke [ 2015-11-5 ]
Last build (a day ago) has passed.




[SIO-1676] No motivational squirrels in the project Created: 2015-10-1  Updated: 2019-03-26  Resolved: 2015-10-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Adam Paszke Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: Everywhere


 Description   
There are no motivational squirrel photos, which can have a negative effect on maintainers' performance.

 Comments   
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I20500b883fc05d09bea9f575abf5972e631c6e31, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2444

SIO-1676 No motivational squirrels in the project

Added a 'ship it!' squirrel photo

Change-Id: I20500b883fc05d09bea9f575abf5972e631c6e31
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I20500b883fc05d09bea9f575abf5972e631c6e31, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2444

SIO-1676 No motivational squirrels in the project

Added a flipped 'ship it!' squirrel photo

Change-Id: I20500b883fc05d09bea9f575abf5972e631c6e31




[SIO-1675] No kitten folder Created: 2015-10-1  Updated: 2015-10-1  Resolved: 2015-10-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Critical
Reporter: Pawel Golinski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None

Attachments: PNG File Zrzut ekranu z 2015-10-01 11-10-09.png    

 Description   
There should be a folder with images of kittens so that developers could relax if they are stuck on something.

 Comments   
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change Ib17da2d1592f87e1b92332a1ee0a860cba8d9964, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2443

SIO-1675 - No kitten folder

Added folder with kittens.

Change-Id: Ib17da2d1592f87e1b92332a1ee0a860cba8d9964
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change Ib17da2d1592f87e1b92332a1ee0a860cba8d9964, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2443

SIO-1675 - No kitten folder

Added folder with kittens.

Change-Id: Ib17da2d1592f87e1b92332a1ee0a860cba8d9964
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change Ib17da2d1592f87e1b92332a1ee0a860cba8d9964, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2443

SIO-1675 - No kitten folder

Added folder with kittens.

Change-Id: Ib17da2d1592f87e1b92332a1ee0a860cba8d9964
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change Ib17da2d1592f87e1b92332a1ee0a860cba8d9964, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2443

SIO-1675 - No kittens folder

Added folder with kittens.

Change-Id: Ib17da2d1592f87e1b92332a1ee0a860cba8d9964
Comment by Pawel Golinski [ 2015-10-1 ]
:(((((((((((




[SIO-1674] The word 'Applications' in README should start with lowercase letter. Created: 2015-10-1  Updated: 2019-03-26  Resolved: 2015-10-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Piotr Wiśniewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
In README we have a sentence like "OIOIOI is a set of Django Applications, so you need to create a folder with Django settings and other deployment configuration". It's important for the word 'Applications" to start with lowercase letter.

 Comments   
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change If81630d546120a1958c13fe8c97c917fbfb81d10, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2448

SIO-1674 The word 'Applications' in README should start with lowercase letter.

Changed word 'Applications' to 'applications'

Change-Id: If81630d546120a1958c13fe8c97c917fbfb81d10
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change If81630d546120a1958c13fe8c97c917fbfb81d10, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2448

SIO-1674 The word 'Applications' in README should start with lowercase letter.

Changed word 'Applications' to 'applications'

Change-Id: If81630d546120a1958c13fe8c97c917fbfb81d10




[SIO-1673] There is not enough nyan cat in the code Created: 2015-10-1  Updated: 2019-03-26  Resolved: 2015-10-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Blocker
Reporter: Michał Łazowik Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░░░░░░░░░
░░░░░░░░▄▀░░░░░░░░░░░░▄░░░░░░░▀▄░░░░░░░
░░░░░░░░█░░▄░░░░▄░░░░░░░░░░░░░░█░░░░░░░
░░░░░░░░█░░░░░░░░░░░░▄█▄▄░░▄░░░█░▄▄▄░░░
░▄▄▄▄▄░░█░░░░░░▀░░░░▀█░░▀▄░░░░░█▀▀░██░░
░██▄▀██▄█░░░▄░░░░░░░██░░░░▀▀▀▀▀░░░░██░░
░░▀██▄▀██░░░░░░░░▀░██▀░░░░░░░░░░░░░▀██░
░░░░▀████░▀░░░░▄░░░██░░░▄█░░░░▄░▄█░░██░
░░░░░░░▀█░░░░▄░░░░░██░░░░▄░░░▄░░▄░░░██░
░░░░░░░▄█▄░░░░░░░░░░░▀▄░░▀▀▀▀▀▀▀▀░░▄▀░░
░░░░░░█▀▀█████████▀▀▀▀████████████▀░░░░
░░░░░░████▀░░███▀░░░░░░▀███░░▀██▀░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

 Comments   
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I1532432a2caf280a46dc74a25fe5f65372350882, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2446

SIO-1673 Add more nyan

Change-Id: I1532432a2caf280a46dc74a25fe5f65372350882
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I1532432a2caf280a46dc74a25fe5f65372350882, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2446

SIO-1673 Add more nyan

Change-Id: I1532432a2caf280a46dc74a25fe5f65372350882
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I1532432a2caf280a46dc74a25fe5f65372350882, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2446

SIO-1673 Add more nyan

Change-Id: I1532432a2caf280a46dc74a25fe5f65372350882
Comment by Michał Łazowik [ 2015-10-1 ]
Pls be serious.
.
.
.
.
.
.
.
.
.
.
.
.
~=[,,_,,]:3




[SIO-1672] Remove all the code! Created: 2015-10-1  Updated: 2019-03-26  Resolved: 2015-10-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Wojciech Jabłoński Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
There is too much code in project. Let's remove big chunk of it!

 Comments   
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I50e4f31b816cb91760a846ebf1ed8e53dd347ec2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2445

(SIO-1672) I've just removed a bunch of certainly unneeded code

Change-Id: I50e4f31b816cb91760a846ebf1ed8e53dd347ec2




[SIO-1671] Devlist is missing in the repo root Created: 2015-10-1  Updated: 2015-10-1  Resolved: 2015-10-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: New Feature Priority: Minor
Reporter: Mateusz Śmiech Assignee: Mateusz Śmiech
Resolution: Fixed Votes: 0
Labels: None
Environment: all


 Description   
There should be a file containing name of all developers so that future generations know the awesome guys who were before them.

 Comments   
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I5302e02e4984b370d476742f0e551deb026a8308, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2442

SIO-1671 Devlist is missing in the repo root

Adding a devlist file containing my name.

Change-Id: I5302e02e4984b370d476742f0e551deb026a8308
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I5302e02e4984b370d476742f0e551deb026a8308, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2442

SIO-1671 Devlist is missing in the repo root

Adding a devlist file containing my name.

Change-Id: I5302e02e4984b370d476742f0e551deb026a8308
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I6afaf9d9133abe1a5d7b15930949b7535b81d47f, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2449

Revert "SIO-1671 Devlist is missing in the repo root"

This reverts commit d2d12a402097fa398d63bdfd85f03fda52a300e2.

Change-Id: I6afaf9d9133abe1a5d7b15930949b7535b81d47f




[SIO-1670] Three dashes in README.rst - markdown is not LaTeX! (test issue) Created: 2015-10-1  Updated: 2019-03-26  Resolved: 2015-11-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
"SIO2 is a free platform for carrying out algorithmic contests and OIOIOI is its main component --- the web interface."

This LaTeXism makes no sense in markdown.

(Test issue)

 Comments   
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I143649c792cb798111cc7bc53aca1a67b18618dd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2447

SIO-1670 Three dashes in README.rst - markdown is not LaTeX!

Change three dashes to one unicode em dash.

Change-Id: I143649c792cb798111cc7bc53aca1a67b18618dd
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I143649c792cb798111cc7bc53aca1a67b18618dd, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2447

SIO-1670 Three dashes in README.rst - markdown is not LaTeX!

Change three dashes to one unicode em dash.

Now also many lines are shorter.

Change-Id: I143649c792cb798111cc7bc53aca1a67b18618dd
Comment by Gerrit Gerrit [ 2015-10-1 ]
Change I143649c792cb798111cc7bc53aca1a67b18618dd, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2447

SIO-1670 Three dashes in README.rst - markdown is not LaTeX!

Change three dashes to one unicode em dash.

Change-Id: I143649c792cb798111cc7bc53aca1a67b18618dd
Comment by Gerrit Gerrit [ 2015-10-8 ]
Change I143649c792cb798111cc7bc53aca1a67b18618dd, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2447

SIO-1670 Three dashes in README.rst - markdown is not LaTeX!

Change three dashes to one unicode em dash.

Change-Id: I143649c792cb798111cc7bc53aca1a67b18618dd




[SIO-1669] Both client's and server's time zones are used in the clock Created: 2015-09-28  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Paweł Kura Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Windows 8.1, Google Chrome 45
Android 5.1.1, Google Chrome 45

Attachments: GIF File clock.gif    

 Description   
After refreshing SIO2 the clock uses the server's time zone for a fraction of a second, then changes to the client's time zone.

GIF attached, The server time is 05:26 and the client time is 20:26.

It happens in Google Chrome 45 for Windows 8.1 and Android but it doesn't happen in Firefox 41 and IE 11.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1668] Report view (tests download) breaks when changing tests Created: 2015-09-26  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
The "test downloading at report view" feature for admins breaks report view, when if the tests were changed.
It's caused by using "test" field of TestResult model – in this case this field is set to NULL.

traceback:

  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/contests/current_contest.py", line 95, in reverse
    return django_reverse(name, *args, **kwargs)
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ core/urlresolvers.py", line 551, in reverse
    return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ core/urlresolvers.py", line 468, in _reverse_with_prefix
    (lookup_view_s, args, kwargs, len(patterns), patterns))
NoReverseMatch: Reverse for 'download_output_file' with arguments '()' and keyword arguments '{u'test_id': ''}' not found. 1 pattern(s) tried: ['tests/(?P<test_id>\\d+)/out/$']

 Comments   
Comment by Gerrit Gerrit [ 2015-09-26 ]
Change I444a9a5efac633457bf0509d978337dfb86358dc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2439

(SIO-1668) Quickfix broken report view when tests are not available

Change-Id: I444a9a5efac633457bf0509d978337dfb86358dc




[SIO-1667] Add viewed submission to the table with other submissions Created: 2015-09-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Paweł Kura Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Attachments: PNG File submissions.PNG    

 Description   
In "My submissions" change "Other submissions for this problem" into "All submissions for this problem". When viewing submission details it would be nice to see the current submission along with other submissions in the table on the bottom of the page. With such solution it's easier to determine whether the solution is the newest one or the first one that resulted in good answer etc. Comparing dates isn't comfortable. Maybe highlighting the row with current submission would make it even better.

Picture attached for clarification.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1666] Admin of the contest or the teacher is unable to disable exclusiveness Created: 2015-09-22  Updated: 2019-03-26  Resolved: 2016-04-10

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bartosz Kostka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screen Shot 2015-12-10 at 10.12.43.png    
TAG Developer: Wojciech Jabłoński

 Description   
As a teacher or as an admin in contest I cannot disable exclusiveness configuration. It is possible to set it by "Add another exclusiveness config", but then I am unable to change the dates nor disable it.

I was changing it using timeline once, but as a teacher, I don't have such access (there is no timeline at all), so it would be nice to be able to change it in settings.

 Comments   
Comment by Szymon Acedański [ 2015-12-10 ]
We want to:

Hide the exclusiveness config box altogether to non-superadmins, iff there is no exclusiveness config object created or if it is disabled.

If there is, it should be displayed read-only to non-superadmins, what is already the case, but non-superadmins should be able to disable it (but not re-enable it). An appropriate note should be displayed to non-superadmins in this case (like in the attachment).

The rationale is that we don't want contest admins to be able to turn off someone the access to the entire service.
Comment by Gerrit Gerrit [ 2016-02-18 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-02-25 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-02-29 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-03-3 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-03-3 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-03-3 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-03-3 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-03-3 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-04-6 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Tests added. One fixture slightly changed (so it don't conflict with other one)

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-04-6 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Tests added. One fixture slightly changed (so it don't conflict with other one)

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e
Comment by Gerrit Gerrit [ 2016-04-6 ]
Change Iec891c7ad01820e70ee918ab1a02cb1ce41e448e, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2531

(SIO-1666) Enable admin of the contest to disable exclusiveness

Contest admins now don't see exclusiveness settings if not necessary and can
disable it (but not enable again) when needed. Apropriate tooltip added.

Tests added. One fixture slightly changed (so it don't conflict with other one)

Change-Id: Iec891c7ad01820e70ee918ab1a02cb1ce41e448e




[SIO-1665] Szkopuł: students should not see each other's solutions with gamification Created: 2015-09-22  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
Teachers should be able to somehow disallow their students sharing their solutions via gamification. Details TBD.

 Comments   
Comment by Szymon Acedański [ 2017-11-8 ]
Gamification is gone.




[SIO-1664] Typo in "Zmień konkurs" Created: 2015-07-10  Updated: 2019-03-26  Resolved: 2015-11-12

Status: Closed
Project: The SIO2 project
Component/s: Translations
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Piotr Surowiec Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Contact email is listed as "Emoil kontaktowy" in "Zmień konkurs".
Line 1411 in 'oioioi/locale/pl/LC_MESSAGES/django.po'.

 Comments   
Comment by Gerrit Gerrit [ 2015-11-5 ]
Change I24e9a2b7e5e6eae5b11421cc60e4d79186aefa29, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2462

SIO-1664 Fixed typo in oioioi/locale/pl/LC_MESSAGES/django.po:1411

Change-Id: I24e9a2b7e5e6eae5b11421cc60e4d79186aefa29
Comment by Gerrit Gerrit [ 2015-11-5 ]
Change I24e9a2b7e5e6eae5b11421cc60e4d79186aefa29, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2462

SIO-1664 Fixed typo in oioioi/locale/pl/LC_MESSAGES/django.po:1411 SIO-1601 Fixed typo in oioioi/teams/forms.py:37

Change-Id: I24e9a2b7e5e6eae5b11421cc60e4d79186aefa29
Comment by Wojciech Jabłoński [ 2015-11-12 ]
Dodane do serwera tłumaczeń.




[SIO-1663] Set tests point values by config.yml Created: 2015-07-6  Updated: 2019-03-26  Resolved: 2017-12-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Patryk Czajka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Radosław Waśko

 Description   
"fajnie byłoby, żeby w config.yml dało się zapisać rozkład punktów w poszczególnych grupach testów"

 Comments   
Comment by Radosław Waśko [ 2017-11-8 ]
group_scores:
   1: 50
   2: 50
etc.

Jeżeli są podane punkty dla jakichkolwiek testów, to muszą być podane dla wszystkich testów (inaczej rzuci błąd)
Comment by Gerrit Gerrit [ 2017-11-18 ]
Change oioioi~master~Ie121dd42ccd118462f37dfbe34e0daebd320af6a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2919

SIO-1663 Adding loading scores from problem package.

Change-Id: Ie121dd42ccd118462f37dfbe34e0daebd320af6a
Comment by Gerrit Gerrit [ 2017-11-18 ]
Change oioioi~master~Ie121dd42ccd118462f37dfbe34e0daebd320af6a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2919

SIO-1663 Adding loading scores from problem package.

Change-Id: Ie121dd42ccd118462f37dfbe34e0daebd320af6a
Comment by Gerrit Gerrit [ 2017-11-22 ]
Change oioioi~master~Ie121dd42ccd118462f37dfbe34e0daebd320af6a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2919

SIO-1663 Adding loading scores from problem package.

Change-Id: Ie121dd42ccd118462f37dfbe34e0daebd320af6a
Comment by Gerrit Gerrit [ 2017-11-23 ]
Change oioioi~master~Ie121dd42ccd118462f37dfbe34e0daebd320af6a, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2919

SIO-1663 Adding loading scores from problem package.

Change-Id: Ie121dd42ccd118462f37dfbe34e0daebd320af6a
Comment by Gerrit Gerrit [ 2017-12-10 ]
Change oioioi~master~Ie121dd42ccd118462f37dfbe34e0daebd320af6a, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2919

SIO-1663 Adding loading scores from problem package.

Also fixed addproblem command crashing if adding problem failed
and added a "nothrow" version for testing.

Change-Id: Ie121dd42ccd118462f37dfbe34e0daebd320af6a
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~Id30dfe28cfca29f278a232d53edf73be7aebdb41, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2934

SIO-1663 Fixing wrong text interpolation to work with translations.

Change-Id: Id30dfe28cfca29f278a232d53edf73be7aebdb41
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~Id30dfe28cfca29f278a232d53edf73be7aebdb41, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2934

SIO-1663 Fixing wrong text interpolation to work with translations.

Change-Id: Id30dfe28cfca29f278a232d53edf73be7aebdb41




[SIO-1662] Strange submission error Created: 2015-06-16  Updated: 2019-03-26  Resolved: 2015-11-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Some of my users reported temporary inability to submit.

Also got an seemingly related error report:
Internal Server Error: /c/konkurs-przedobozowy2/submit/
Traceback (most recent call last):
  File "/home/sio/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/sio/venv/local/lib/python2.7/site-packages/django/db/transaction.py", line 394, in inner
    return func(*args, **kwargs)
  File "/home/sio/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/sio/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/sio/oioioi/oioioi/contests/views.py", line 134, in submit_view
    form = SubmissionForm(request, request.POST, request.FILES)
  File "/home/sio/oioioi/oioioi/contests/forms.py", line 141, in __init__
    controller.adjust_submission_form(request, self, problem_instance)
  File "/home/sio/oioioi/oioioi/programs/controllers.py", line 661, in adjust_submission_form
    .adjust_submission_form(request, form, problem_instance)
  File "/home/sio/oioioi/oioioi/programs/controllers.py", line 466, in adjust_submission_form
    controller.parse_language_by_extension(ext)
TypeError: parse_language_by_extension() takes exactly 3 arguments (2 given)




[SIO-1661] CMS: Add markdown editor for panel code Created: 2015-06-16  Updated: 2019-03-26  Resolved: 2015-10-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Kuba Czerpak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1649 CMS: Create panel markdown editor Closed

 Comments   
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change I311d27e73001c3365649dc8a5dc1a9003f660607, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2378

SIO-1661 CMS: Add markdown editor for panel code

Change-Id: I311d27e73001c3365649dc8a5dc1a9003f660607
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I311d27e73001c3365649dc8a5dc1a9003f660607, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2378

SIO-1661 CMS: Add markdown editor for panel code

Change-Id: I311d27e73001c3365649dc8a5dc1a9003f660607
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I311d27e73001c3365649dc8a5dc1a9003f660607, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2378

SIO-1661 CMS: Add markdown editor for panel code

Change-Id: I311d27e73001c3365649dc8a5dc1a9003f660607
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I311d27e73001c3365649dc8a5dc1a9003f660607, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2378

SIO-1661 CMS: Add markdown editor for panel code

Change-Id: I311d27e73001c3365649dc8a5dc1a9003f660607
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I311d27e73001c3365649dc8a5dc1a9003f660607, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2378

SIO-1661 CMS: Add markdown editor for panel code

Change-Id: I311d27e73001c3365649dc8a5dc1a9003f660607
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I311d27e73001c3365649dc8a5dc1a9003f660607, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2378

SIO-1661 CMS: Add markdown editor for panel code

Change-Id: I311d27e73001c3365649dc8a5dc1a9003f660607
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I311d27e73001c3365649dc8a5dc1a9003f660607, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2378

SIO-1661 CMS: Add markdown editor for panel code

Change-Id: I311d27e73001c3365649dc8a5dc1a9003f660607
Comment by Gerrit Gerrit [ 2015-06-24 ]
Change I311d27e73001c3365649dc8a5dc1a9003f660607, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2378

SIO-1661 CMS: Add markdown editor for panel code

Change-Id: I311d27e73001c3365649dc8a5dc1a9003f660607
Comment by Gerrit Gerrit [ 2016-02-3 ]
Change I311d27e73001c3365649dc8a5dc1a9003f660607, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2378

SIO-1661 CMS: Add markdown editor for panel code

Change-Id: I311d27e73001c3365649dc8a5dc1a9003f660607




[SIO-1660] Deleting users breaks "Participants data" Created: 2015-06-15  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Got an error like that on viewing participants data:
Traceback (most recent call last):
  File "/home/sio/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/sio/venv/local/lib/python2.7/site-packages/django/db/transaction.py", line 394, in inner
    return func(*args, **kwargs)
  File "/home/sio/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/sio/oioioi/oioioi/participants/views.py", line 63, in participants_data
    Participant.objects.filter(contest=request.contest))
  File "/home/sio/oioioi/oioioi/participants/utils.py", line 112, in serialize_participants_data
    for key in map(key_name, _fold_registration_models_tree(participant)):
  File "/home/sio/oioioi/oioioi/participants/utils.py", line 84, in _fold_registration_models_tree
    for field in current._meta.fields:
AttributeError: 'NoneType' object has no attribute '_meta'

I found out the the participant that breaks it is marked as "Account deleted". Also she had no school chosen and that was the None on which _meta was requested, resulting in Exception.

 Comments   
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change I93fe43a8a6b551073d260977be0a4c52acedc429, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2380

SIO-1660 Fix crash after participating user deleted account

By registering as a participant in a contest and then deleting his
account user would deny admin's access to "Participant's Data" view

Change-Id: I93fe43a8a6b551073d260977be0a4c52acedc429
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change I93fe43a8a6b551073d260977be0a4c52acedc429, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2380

SIO-1660 Fix crash after participating user deleted account

By registering as a participant in a contest and then deleting his
account user would deny admin's access to "Participant's Data" view

Change-Id: I93fe43a8a6b551073d260977be0a4c52acedc429
Comment by Gerrit Gerrit [ 2015-06-17 ]
Change I93fe43a8a6b551073d260977be0a4c52acedc429, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2380

SIO-1660 Fix crash after participating user deleted account

By registering as a participant in a contest and then deleting his
account user would deny admin's access to "Participant's Data" view

Change-Id: I93fe43a8a6b551073d260977be0a4c52acedc429
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I93fe43a8a6b551073d260977be0a4c52acedc429, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2380

SIO-1660 Fix crash after participating user deleted account

Registering as a participant in a contest and then deleting his
account user would deny admin's access to "Participant's Data" view

Change-Id: I93fe43a8a6b551073d260977be0a4c52acedc429




[SIO-1659] Unicode problem, oi-online registration Created: 2015-06-11  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
It seems like oi-online registration doesn't like Polish chars...

Got email with the error. (But users manage to register somehow...)

Internal Server Error: /oi/cities/
Traceback (most recent call last):
  File "/home/sio/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 87, in get_response
    response = middleware_method(request)
  File "/home/sio/oioioi/oioioi/contests/middleware.py", line 145, in process_request
    new_path += '?' + urllib.urlencode(request.GET)
  File "/usr/lib/python2.7/urllib.py", line 1312, in urlencode
    v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u015b' in position 0: ordinal not in range(128)

Request repr():
<WSGIRequest
path:/oi/cities/,
GET:<QueryDict: {u'province': [u'\u015bl\u0105skie']}>,
POST:<QueryDict: {}>,
COOKIES:{'csrftoken': 'HkRYtNbCPGGviGff0yBiSU3cYx8r5xbs',
 'sessionid': 'ukvkb2itkh1u35ajc8xb38mt0z92dr4s'},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': '',
 'DOCUMENT_ROOT': '/home/sio2',
 'HTTP_ACCEPT': '*/*',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
 'HTTP_ACCEPT_LANGUAGE': 'pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'csrftoken=HkRYtNbCPGGviGff0yBiSU3cYx8r5xbs; sessionid=ukvkb2itkh1u35ajc8xb38mt0z92dr4s',
 'HTTP_DNT': '1',
 'HTTP_HOST': 'sio.barzowski.com',
 'HTTP_REFERER': 'http://sio.barzowski.com/c/konkurs-przedobozowy2/register/&#39;,
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Dragon/36.7.0.8 Chrome/36.0.1985.97 Safari/537.36',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH_INFO': u'/oi/cities/',
 'QUERY_STRING': 'province=%C5%9Bl%C4%85skie',
 'REMOTE_ADDR': '188.33.90.183',
 'REMOTE_PORT': '50224',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/oi/cities/?province=%C5%9Bl%C4%85skie',
 u'SCRIPT_NAME': u'',
 'SERVER_NAME': 'localhost',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'UWSGI_SCHEME': 'http',
 'uwsgi.node': 'sio2',
 'uwsgi.version': '2.0.9',
 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x31b89c0>,
 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
 'wsgi.input': <uwsgi._Input object at 0x41a6bd0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

 Comments   
Comment by Gerrit Gerrit [ 2015-06-17 ]
Change Iddbbb796a1cf3b2719957be1ef533b4b1a7174ff, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2385

SIO-1659 Fix redirect in contests middleware when using unicode characters in GET parameters.

Change-Id: Iddbbb796a1cf3b2719957be1ef533b4b1a7174ff




[SIO-1658] OI-Online breaks system-level registration Created: 2015-06-11  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
(Version tested: 5a4e5130e8aa387a1dbc4093693354776db96cab)

After adding contest of OI-Online type, it is no longer possible to register (to the system). The user is redirected to the login page as he tries to register.

Steps:
- Take clean SIO2.
- Registration works!
- Add oi-online contest.
- Registration redirects to login page.
- Remove previously added contest.
- Registration works.

Update: It doesn't seem to be related with particular contest type. Note that I didn't run into this issue first time I played with registration today and I am pretty sure I have had some contests there... Strange.



 Comments   
Comment by Gerrit Gerrit [ 2015-06-17 ]
Change I594b32c58b31cc8d49ac6138a27c115ada9aed0f, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2383

SIO-1658 Fix registration

The user is no longer being redirected to login page when trying to
register.

Change-Id: I594b32c58b31cc8d49ac6138a27c115ada9aed0f
Comment by Kamil Braun [ 2015-06-17 ]
I'm gonna replace Gerrit.
https://gerrit.sio2project.mimuw.edu.pl/2383
already pushed to master.




[SIO-1657] Django-registration-redux API change Created: 2015-06-6  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-06-6 ]
Change I635610341ef5fc085f2a6a27af4e84ead8c40e8e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2368

(SIO-1657) Workaround API changes in django-registration-redux

Change-Id: I635610341ef5fc085f2a6a27af4e84ead8c40e8e




[SIO-1656] Upload problems to Problemset and add problems from problemset Created: 2015-05-30  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Critical
Reporter: Patryk Czajka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-05-30 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-1 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-1 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-1 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-2 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-2 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-2 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-4 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-6 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-6 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-11 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-12 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67
Comment by Gerrit Gerrit [ 2015-06-13 ]
Change Ie8298136ca9969ce1f3ce7afbab638a89971cf67, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2358

(SIO-1656) Upload problems to Problemset and add problems from problemset

Change-Id: Ie8298136ca9969ce1f3ce7afbab638a89971cf67




[SIO-1655] Logo for contest observers is too large Created: 2015-04-30  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Attachments: PNG File Screen Shot 2015-04-30 at 15.26.08.png    

 Description   
See attachment.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1654] Global portals Created: 2015-04-29  Updated: 2019-03-26  Resolved: 2015-05-30

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Kozakowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently every portal is assigned to a user. An option for admins to create a global portal is needed as well.

 Comments   
Comment by Gerrit Gerrit [ 2015-05-21 ]
Change Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2350

SIO-1654 Global portals

Change-Id: Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500
Comment by Gerrit Gerrit [ 2015-05-21 ]
Change Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2350

SIO-1654 Global portals

Change-Id: Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500
Comment by Gerrit Gerrit [ 2015-05-21 ]
Change Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2350

SIO-1654 Global portals

Change-Id: Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500
Comment by Gerrit Gerrit [ 2015-05-21 ]
Change Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2350

SIO-1654 Global portals

Change-Id: Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2350

SIO-1654 Global portals

Change-Id: Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500
Comment by Gerrit Gerrit [ 2015-05-28 ]
Change Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2350

SIO-1654 Global portals

Change-Id: Ic1a1c7b6c7c0e383eee93e467d8b350ebacb7500




[SIO-1653] Model solutions view does not select latest report Created: 2015-04-29  Updated: 2019-03-26  Resolved: 2015-04-29

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
The code for filtering TestReports and GroupReports should either limit them to latest submission report, or at least sort so that it gets overriden correctly in group_results/test_results dict.

oioioi/programs/admin.py:model_solution_view

 Comments   
Comment by Gerrit Gerrit [ 2015-04-29 ]
Change Ie4b6664f63fb09fed286ead5c6c6939e8a7d5dd9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2319

SIO-1653 Model solutions view does not select latest report

Change-Id: Ie4b6664f63fb09fed286ead5c6c6939e8a7d5dd9
Comment by Gerrit Gerrit [ 2015-04-29 ]
Change Ie4b6664f63fb09fed286ead5c6c6939e8a7d5dd9, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2319

SIO-1653 Model solutions view does not select latest report

Change-Id: Ie4b6664f63fb09fed286ead5c6c6939e8a7d5dd9




[SIO-1652] Extending Experience API Created: 2015-04-20  Updated: 2019-03-26  Resolved: 2015-05-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
We want to create Experience object not only by user, but also by LVL, Exp pair. That allows us for eg. to easily calculate "what lvl will be user when we add 200 exp to his"

 Comments   
Comment by Gerrit Gerrit [ 2015-04-21 ]
Change I7c7a133bdecfdb87585dcd12bdfe27eb0d394e28, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2288

SIO-1652 Experience now can be created from a lvl/exp pair

Change-Id: I7c7a133bdecfdb87585dcd12bdfe27eb0d394e28
Comment by Gerrit Gerrit [ 2015-04-25 ]
Change I7c7a133bdecfdb87585dcd12bdfe27eb0d394e28, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2288

SIO-1652 Experience now can be created from a lvl/exp pair

Change-Id: I7c7a133bdecfdb87585dcd12bdfe27eb0d394e28
Comment by Gerrit Gerrit [ 2015-05-7 ]
Change I7c7a133bdecfdb87585dcd12bdfe27eb0d394e28, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2288

SIO-1652 Experience now can be created from a lvl/exp pair

Change-Id: I7c7a133bdecfdb87585dcd12bdfe27eb0d394e28




[SIO-1651] Enable sending submissions to main_problem_instance. Write submission form. Created: 2015-04-15  Updated: 2019-03-26  Resolved: 2015-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Major
Reporter: Patryk Czajka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2344

SIO-1651 Write submission form.

Change-Id: I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2344

SIO-1651 Write submission form.

Change-Id: I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab
Comment by Gerrit Gerrit [ 2015-05-16 ]
Change I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2344

SIO-1651 Write submission form.

Change-Id: I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab
Comment by Gerrit Gerrit [ 2015-05-16 ]
Change I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2344

SIO-1651 Write submission form.

Change-Id: I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab
Comment by Gerrit Gerrit [ 2015-05-16 ]
Change I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2344

SIO-1651 Write submission form.

Change-Id: I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab
Comment by Gerrit Gerrit [ 2015-05-16 ]
Change I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2344

SIO-1651 Write submission form.

Change-Id: I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab
Comment by Gerrit Gerrit [ 2015-05-16 ]
Change I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2344

SIO-1651 Write submission form.

Change-Id: I8f2ad94414fca3f4b5e1d124856a64ee8e29c0ab




[SIO-1650] Edit controllers to enable sending submissions without contest Created: 2015-04-15  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Critical
Reporter: Patryk Czajka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-05-22 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-05-25 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-05-28 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-05-28 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-05-28 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-05-28 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-05-30 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-05-30 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-05-30 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 25
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 26
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Gerrit Gerrit [ 2015-06-4 ]
Change I994dde515d43ff971cf9c8a75c6257948f192d98, patchset 27
https://gerrit.sio2project.mimuw.edu.pl/2349

[SIO-1650] Enable sending submissions without contest - swapping roles of problem and contest controller

Change-Id: I994dde515d43ff971cf9c8a75c6257948f192d98
Comment by Szymon Acedański [ 2015-10-15 ]
Hmm, what's it about? It it already done?




[SIO-1649] CMS: Create panel markdown editor Created: 2015-04-15  Updated: 2019-03-26  Resolved: 2016-11-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Kuba Czerpak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-1661 CMS: Add markdown editor for panel code Closed




[SIO-1648] sioworkersd - task execution & async API Created: 2015-04-15  Updated: 2019-03-26  Resolved: 2015-10-8

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Minor
Reporter: Bartosz Stebel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-04-30 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

<WIP>

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-1 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

<WIP>

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-5 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

<WIP>

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-5 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

<WIP>

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-5 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-6 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-6 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

<WIP>

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-6 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-8 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

<WIP>

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-8 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-10 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

for now use this to manually install txjsonrpc:
pip install git+git://github.com/oubiwann/txjsonrpc

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-11 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

for now use this to manually install txjsonrpc:
pip install git+git://github.com/oubiwann/txjsonrpc

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

for now use this to manually install txjsonrpc:
pip install git+git://github.com/oubiwann/txjsonrpc

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I4061e888f949adec8718a21a954e2ae0b0a7c793, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2330

SIO-1648 - sioworkersd - task execution & async API

for now use this to manually install txjsonrpc:
pip install git+git://github.com/oubiwann/txjsonrpc

Change-Id: I4061e888f949adec8718a21a954e2ae0b0a7c793
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

for now use this to manually install txjsonrpc:
pip install git+git://github.com/oubiwann/txjsonrpc

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

for now use this to manually install txjsonrpc:
pip install git+git://github.com/oubiwann/txjsonrpc

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

for now use this to manually install txjsonrpc:
pip install git+git://github.com/oubiwann/txjsonrpc

TODO: missing tests, some error handling

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests, some error handling

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests, some error handling

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests, some error handling

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests, some error handling

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests, some error handling

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-12 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-12 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-12 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 20
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 21
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 22
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 23
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change I57d683662a9abfc780e497fc49dec2293c498dfc, patchset 24
https://gerrit.sio2project.mimuw.edu.pl/2340

SIO-1648 - task execution, move sioworkersd

TODO: missing tests

Change-Id: I57d683662a9abfc780e497fc49dec2293c498dfc




[SIO-1647] Modify evalmgr for sioworkersd Created: 2015-04-15  Updated: 2019-03-26  Resolved: 2015-06-22

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Minor
Reporter: Bartosz Stebel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-04-29 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 -- Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-04-30 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-11 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-11 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-11 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-12 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-12 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7
Comment by Gerrit Gerrit [ 2015-06-12 ]
Change I4accd59b67bd033580318540dcf1bbab093943a7, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2326

SIO-1647 Modify evalmgr for sioworkersd

Change-Id: I4accd59b67bd033580318540dcf1bbab093943a7




[SIO-1646] Create navigation for the user portals Created: 2015-04-15  Updated: 2019-03-26  Resolved: 2015-05-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Kozakowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Currently there is no way for the user to navigate a portal other than typing URLs manually. A multilevel menu on the left needs to be created, as well as a navigation bar at the top.

 Comments   
Comment by Gerrit Gerrit [ 2015-04-28 ]
Change I3a56dda9b3fc24039ced55c03b4c94f7b272770e, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2313

SIO-1646 Create navigation for the user portals

Change-Id: I3a56dda9b3fc24039ced55c03b4c94f7b272770e
Comment by Gerrit Gerrit [ 2015-04-28 ]
Change I3a56dda9b3fc24039ced55c03b4c94f7b272770e, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2313

SIO-1646 Create navigation for the user portals

Change-Id: I3a56dda9b3fc24039ced55c03b4c94f7b272770e
Comment by Gerrit Gerrit [ 2015-04-28 ]
Change I3a56dda9b3fc24039ced55c03b4c94f7b272770e, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2313

SIO-1646 Create navigation for the user portals

Change-Id: I3a56dda9b3fc24039ced55c03b4c94f7b272770e
Comment by Gerrit Gerrit [ 2015-04-28 ]
Change I3a56dda9b3fc24039ced55c03b4c94f7b272770e, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2313

SIO-1646 Create navigation for the user portals

Change-Id: I3a56dda9b3fc24039ced55c03b4c94f7b272770e
Comment by Gerrit Gerrit [ 2015-04-28 ]
Change I3a56dda9b3fc24039ced55c03b4c94f7b272770e, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2313

SIO-1646 Create navigation for the user portals

Change-Id: I3a56dda9b3fc24039ced55c03b4c94f7b272770e
Comment by Gerrit Gerrit [ 2015-05-1 ]
Change I3a56dda9b3fc24039ced55c03b4c94f7b272770e, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2313

SIO-1646 Create navigation for the user portals

Change-Id: I3a56dda9b3fc24039ced55c03b4c94f7b272770e
Comment by Gerrit Gerrit [ 2015-05-6 ]
Change I3a56dda9b3fc24039ced55c03b4c94f7b272770e, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2313

SIO-1646 Create navigation for the user portals

Change-Id: I3a56dda9b3fc24039ced55c03b4c94f7b272770e
Comment by Gerrit Gerrit [ 2015-05-6 ]
Change I3a56dda9b3fc24039ced55c03b4c94f7b272770e, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2313

SIO-1646 Create navigation for the user portals

Change-Id: I3a56dda9b3fc24039ced55c03b4c94f7b272770e
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I3a56dda9b3fc24039ced55c03b4c94f7b272770e, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2313

SIO-1646 Create navigation for the user portals

Change-Id: I3a56dda9b3fc24039ced55c03b4c94f7b272770e




[SIO-1645] Can't add problems to contest with more than one round Created: 2015-04-9  Updated: 2019-03-26  Resolved: 2015-04-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Stanisław Barzowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Always when adding a problem to the contest with more than one round.

500 — Ojej, tożto wystąpił straszny błąd!

Traceback (most recent call last):
  File "/home/sio/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/sio/oioioi/oioioi/problems/views.py", line 92, in add_or_update_problem_view
    existing_problem=existing_problem)
  File "/home/sio/oioioi/oioioi/problems/problem_sources.py", line 164, in view
    form = self.make_form(request, contest, existing_problem)
  File "/home/sio/oioioi/oioioi/problems/problem_sources.py", line 209, in make_form
    return PackageUploadForm(contest, existing_problem)
  File "/home/sio/oioioi/oioioi/problems/forms.py", line 17, in __init__
    self.fields.insert(0, 'round_id', forms.ChoiceField(choices,
AttributeError: 'OrderedDict' object has no attribute 'insert'
Admini już o nim wiedzą. Na pewno się ucieszą.

It seems to be associated with upgrade to Django 1.7.

 Comments   
Comment by Maciej Dębski [ 2015-04-15 ]
Form.fields used to be list in <=1.5, now is a ordereddict.
Comment by Maciej Dębski [ 2015-04-15 ]
Fixed in:
commit 1bb2b37c6312ba10dd919c56ce7250a1de2e3ce1
Author: Marek Sommer <ms347247@students.mimuw.edu.pl>
Date: Tue Apr 7 21:36:05 2015 +0200

    (no-ticket) Fix form for uploading a package.
    
    Problem came out when there was more than one round.
Comment by Stanisław Barzowski [ 2015-04-21 ]
Fix confirmed.




[SIO-1644] Admin page for managing workers Created: 2015-03-25  Updated: 2019-03-26  Resolved: 2015-04-22

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Minor
Reporter: Bartosz Stebel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ie2e2a296318b73a36a50502137efd8f780369f57, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2290

SIO-1644 Admin page for managing workers

Change-Id: Ie2e2a296318b73a36a50502137efd8f780369f57
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ie2e2a296318b73a36a50502137efd8f780369f57, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2290

SIO-1644 Admin page for managing workers

Change-Id: Ie2e2a296318b73a36a50502137efd8f780369f57
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ie2e2a296318b73a36a50502137efd8f780369f57, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2290

SIO-1644 Admin page for managing workers

Change-Id: Ie2e2a296318b73a36a50502137efd8f780369f57
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ie2e2a296318b73a36a50502137efd8f780369f57, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2290

SIO-1644 Admin page for managing workers

Change-Id: Ie2e2a296318b73a36a50502137efd8f780369f57
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ie2e2a296318b73a36a50502137efd8f780369f57, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2290

SIO-1644 Admin page for managing workers

Change-Id: Ie2e2a296318b73a36a50502137efd8f780369f57
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ie2e2a296318b73a36a50502137efd8f780369f57, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2290

SIO-1644 Admin page for managing workers

Change-Id: Ie2e2a296318b73a36a50502137efd8f780369f57
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ie2e2a296318b73a36a50502137efd8f780369f57, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2290

SIO-1644 Admin page for managing workers

Change-Id: Ie2e2a296318b73a36a50502137efd8f780369f57
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ie2e2a296318b73a36a50502137efd8f780369f57, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2290

SIO-1644 Admin page for managing workers

Change-Id: Ie2e2a296318b73a36a50502137efd8f780369f57
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ie2e2a296318b73a36a50502137efd8f780369f57, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2290

SIO-1644 Admin page for managing workers

Change-Id: Ie2e2a296318b73a36a50502137efd8f780369f57




[SIO-1643] Replace sio.celery in sioworkers with new protocol Created: 2015-03-25  Updated: 2019-03-26  Resolved: 2015-04-22

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Bartosz Stebel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-04-8 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

<work in progress>

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-8 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

<work in progress>

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-8 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

<work in progress>

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-8 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

<work in progress>

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

<work in progress>

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

<work in progress>

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

<work in progress>

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-16 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad
Comment by Gerrit Gerrit [ 2015-04-21 ]
Change Ife1ec2a9859f882de2b6f8757cb7d57deab472ad, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2275

SIO-1643 Replace sio.celery in sioworkers with new protocol

Change-Id: Ife1ec2a9859f882de2b6f8757cb7d57deab472ad




[SIO-1642] sioworkersd - basic implementation & protocol Created: 2015-03-25  Updated: 2019-03-26  Resolved: 2015-04-22

Status: Closed
Project: The SIO2 project
Component/s: Evaluation Engine / Workers
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Bartosz Stebel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-04-8 ]
Change I5a0d3e6ac2d2b79278667d897d81cfbec756dd55, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2274

SIO-1642 sioworkersd - basic implementation & protocol

<work in progress>

Change-Id: I5a0d3e6ac2d2b79278667d897d81cfbec756dd55
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I5a0d3e6ac2d2b79278667d897d81cfbec756dd55, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2274

SIO-1642 sioworkersd - basic implementation & protocol

<work in progress>

Change-Id: I5a0d3e6ac2d2b79278667d897d81cfbec756dd55
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I5a0d3e6ac2d2b79278667d897d81cfbec756dd55, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2274

SIO-1642 sioworkersd - basic implementation & protocol

This change is very short, as most of the server is
implemented in sio.protocol.rpc

Change-Id: I5a0d3e6ac2d2b79278667d897d81cfbec756dd55
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I5a0d3e6ac2d2b79278667d897d81cfbec756dd55, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2274

SIO-1642 sioworkersd - basic implementation & protocol

This change is very short, as most of the server is
implemented in sio.protocol.rpc

Change-Id: I5a0d3e6ac2d2b79278667d897d81cfbec756dd55




[SIO-1641] Contest-free side of SIO2. Created: 2015-03-25  Updated: 2019-03-26  Resolved: 2015-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Kamil Braun Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
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.

 Comments   
Comment by Gerrit Gerrit [ 2015-05-12 ]
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
Comment by Gerrit Gerrit [ 2015-05-13 ]
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
Comment by Gerrit Gerrit [ 2015-05-14 ]
Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2343

SIO-1641 Current Contests

needs tests

Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
Comment by Gerrit Gerrit [ 2015-05-14 ]
Change Iea9640060b9b580ae0bd76aafd987522e9fcddb6, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2343

SIO-1641 Current Contests

needs tests

Change-Id: Iea9640060b9b580ae0bd76aafd987522e9fcddb6
Comment by Gerrit Gerrit [ 2015-05-15 ]
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
Comment by Gerrit Gerrit [ 2015-05-15 ]
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
Comment by Gerrit Gerrit [ 2015-05-15 ]
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
Comment by Gerrit Gerrit [ 2015-05-15 ]
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




[SIO-1640] CMS connection (showing percentage completed) Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-05-13  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification


 Comments   
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change Id07e73992db54f86edfdbb2f495c9a5c69765142, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2375

(SIO-1640) CMS connection (showing percentage completed)

Change-Id: Id07e73992db54f86edfdbb2f495c9a5c69765142
Comment by Gerrit Gerrit [ 2015-06-22 ]
Change Id07e73992db54f86edfdbb2f495c9a5c69765142, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2375

(SIO-1640) CMS connection (showing percentage completed)

Change-Id: Id07e73992db54f86edfdbb2f495c9a5c69765142
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change Id07e73992db54f86edfdbb2f495c9a5c69765142, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2375

(SIO-1640) CMS connection (showing percentage completed)

Change-Id: Id07e73992db54f86edfdbb2f495c9a5c69765142
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change Id07e73992db54f86edfdbb2f495c9a5c69765142, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2375

(SIO-1640) CMS connection (showing percentage completed)

Change-Id: Id07e73992db54f86edfdbb2f495c9a5c69765142
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change Id07e73992db54f86edfdbb2f495c9a5c69765142, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2375

(SIO-1640) CMS connection (showing percentage completed)

Change-Id: Id07e73992db54f86edfdbb2f495c9a5c69765142




[SIO-1639] Tags in task db connection (so we can see hard / medium / easy per task) Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-05-13  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: Gamification


 Comments   
Comment by Piotr Dulikowski [ 2015-06-23 ]
A change adding possibility to set problem difficulty in package configuration was uploaded. This issue is no longer neccessary




[SIO-1638] Task Adding GUI - Gamification Created: 2015-03-25  Updated: 2019-03-26  Due: 2014-05-13  Resolved: 2015-06-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
Allowing admin adding new tasks to the system to choose difficulty of the task.
Blocked by Task DB

 Comments   
Comment by Olaf Tomalka [ 2015-05-24 ]
TODO: Where to put documentation of new sinolpack config.yaml option: difficulty
Comment by Gerrit Gerrit [ 2015-05-24 ]
Change I45b5936fd370236f1993f2b6feb9c952798d9690, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2353

(SIO-1638) Sinolpack creators can now set difficulty

Change-Id: I45b5936fd370236f1993f2b6feb9c952798d9690
Comment by Gerrit Gerrit [ 2015-05-24 ]
Change I45b5936fd370236f1993f2b6feb9c952798d9690, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2353

(SIO-1638) Sinolpack creators can now set difficulty

Change-Id: I45b5936fd370236f1993f2b6feb9c952798d9690
Comment by Gerrit Gerrit [ 2015-05-26 ]
Change I45b5936fd370236f1993f2b6feb9c952798d9690, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2353

(SIO-1638) Sinolpack creators can now set difficulty

Change-Id: I45b5936fd370236f1993f2b6feb9c952798d9690
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I45b5936fd370236f1993f2b6feb9c952798d9690, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2353

(SIO-1638) Sinolpack creators can now set difficulty

Change-Id: I45b5936fd370236f1993f2b6feb9c952798d9690
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I45b5936fd370236f1993f2b6feb9c952798d9690, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2353

(SIO-1638) Sinolpack creators can now set difficulty

Change-Id: I45b5936fd370236f1993f2b6feb9c952798d9690




[SIO-1637] Callbacks to actually add experience -> to submission, rejudge and stuff Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-05-13  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification


 Comments   
Comment by Gerrit Gerrit [ 2015-06-14 ]
Change Iceda53dec2532bc3b3e48fd50873378c57ed3e91, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2372

(SIO-1637) Callbacks to actually add experience

Change-Id: Iceda53dec2532bc3b3e48fd50873378c57ed3e91
Comment by Gerrit Gerrit [ 2015-06-14 ]
Change Iceda53dec2532bc3b3e48fd50873378c57ed3e91, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2372

(SIO-1637) Callbacks to actually add experience

Change-Id: Iceda53dec2532bc3b3e48fd50873378c57ed3e91
Comment by Gerrit Gerrit [ 2015-06-14 ]
Change Iceda53dec2532bc3b3e48fd50873378c57ed3e91, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2372

(SIO-1637) Callbacks to actually add experience

Change-Id: Iceda53dec2532bc3b3e48fd50873378c57ed3e91
Comment by Gerrit Gerrit [ 2015-06-15 ]
Change Iceda53dec2532bc3b3e48fd50873378c57ed3e91, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2372

(SIO-1637) Callbacks to actually add experience

Change-Id: Iceda53dec2532bc3b3e48fd50873378c57ed3e91
Comment by Gerrit Gerrit [ 2015-06-15 ]
Change Iceda53dec2532bc3b3e48fd50873378c57ed3e91, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2372

(SIO-1637) Callbacks to actually add experience

Change-Id: Iceda53dec2532bc3b3e48fd50873378c57ed3e91
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change Iceda53dec2532bc3b3e48fd50873378c57ed3e91, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2372

(SIO-1637) Callbacks to actually add experience

Change-Id: Iceda53dec2532bc3b3e48fd50873378c57ed3e91
Comment by Gerrit Gerrit [ 2015-06-22 ]
Change Iceda53dec2532bc3b3e48fd50873378c57ed3e91, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2372

(SIO-1637) Callbacks to actually add experience

Change-Id: Iceda53dec2532bc3b3e48fd50873378c57ed3e91
Comment by Gerrit Gerrit [ 2015-06-23 ]
Change Iceda53dec2532bc3b3e48fd50873378c57ed3e91, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2372

(SIO-1637) Callbacks to actually add experience

Change-Id: Iceda53dec2532bc3b3e48fd50873378c57ed3e91




[SIO-1636] Miniprofile GUI Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-05-13  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
blocks SIO-1631 Task Suggestion GUI Closed

 Comments   
Comment by Gerrit Gerrit [ 2015-05-31 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7
Comment by Gerrit Gerrit [ 2015-05-31 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7
Comment by Gerrit Gerrit [ 2015-06-4 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7
Comment by Gerrit Gerrit [ 2015-06-10 ]
Change If812e954fc521f753b4f1efe75e215dc1d6e7ba7, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2360

SIO-1636 Miniprofile GUI

Change-Id: If812e954fc521f753b4f1efe75e215dc1d6e7ba7




[SIO-1635] Submissions - Gamification GUI Created: 2015-03-25  Updated: 2019-03-26  Due: 2014-05-13  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
is blocked by SIO-1616 Global problem sites. Closed
TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
Show near submit button how much exp will that task actually give you.
Blocked by CMS

 Comments   
Comment by Olaf Tomalka [ 2015-05-20 ]
Kamil Braun will be helping with front end, back end still by Olaf
Comment by Gerrit Gerrit [ 2015-05-24 ]
Change I614c3cdc8ab70db6cde8dd13bb148039f8f80b91, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2354

SIO-1635 Submissions - Gamification GUI

TODO: indicator backend
Create a small indicator which shows how much experience
submitting a solution will give.
Add an API that allows to override a template from a different
application but at the same time reuse its code by extending it.

Change-Id: I614c3cdc8ab70db6cde8dd13bb148039f8f80b91
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I614c3cdc8ab70db6cde8dd13bb148039f8f80b91, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2354

SIO-1635 Submissions - Gamification GUI

TODO: indicator backend
Create a small indicator which shows how much experience
submitting a solution will give.
Add an API that allows to override a template from a different
application but at the same time reuse its code by extending it.

Change-Id: I614c3cdc8ab70db6cde8dd13bb148039f8f80b91
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I614c3cdc8ab70db6cde8dd13bb148039f8f80b91, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2354

SIO-1635 Submissions - Gamification GUI

TODO: indicator backend
Create a small indicator which shows how much experience
submitting a solution will give.
Add an API that allows to override a template from a different
application but at the same time reuse its code by extending it.

Change-Id: I614c3cdc8ab70db6cde8dd13bb148039f8f80b91
Comment by Gerrit Gerrit [ 2015-06-11 ]
Change I614c3cdc8ab70db6cde8dd13bb148039f8f80b91, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2354

SIO-1635 Submissions - Gamification GUI

Create a small indicator which shows how much experience
submitting a solution will give.
Add an API that allows to override a template from a different
application but at the same time reuse its code by extending it.

Change-Id: I614c3cdc8ab70db6cde8dd13bb148039f8f80b91
Comment by Gerrit Gerrit [ 2015-06-15 ]
Change I614c3cdc8ab70db6cde8dd13bb148039f8f80b91, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2354

SIO-1635 Submissions - Gamification GUI

Create a small indicator which shows how much experience
submitting a solution will give.

Change-Id: I614c3cdc8ab70db6cde8dd13bb148039f8f80b91
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change I614c3cdc8ab70db6cde8dd13bb148039f8f80b91, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2354

SIO-1635 Submissions - Gamification GUI

Create a small indicator which shows how much experience
submitting a solution will give.

Change-Id: I614c3cdc8ab70db6cde8dd13bb148039f8f80b91
Comment by Gerrit Gerrit [ 2015-06-16 ]
Change I614c3cdc8ab70db6cde8dd13bb148039f8f80b91, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2354

SIO-1635 Submissions - Gamification GUI

Create a small indicator which shows how much experience
submitting a solution will give.

Change-Id: I614c3cdc8ab70db6cde8dd13bb148039f8f80b91
Comment by Gerrit Gerrit [ 2015-06-19 ]
Change I614c3cdc8ab70db6cde8dd13bb148039f8f80b91, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2354

SIO-1635 Submissions - Gamification GUI

Create a small indicator which shows how much experience
submitting a solution will give.

Change-Id: I614c3cdc8ab70db6cde8dd13bb148039f8f80b91
Comment by Gerrit Gerrit [ 2015-06-19 ]
Change I614c3cdc8ab70db6cde8dd13bb148039f8f80b91, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2354

SIO-1635 Submissions - Gamification GUI

Create a small indicator which shows how much experience
submitting a solution will give.

Change-Id: I614c3cdc8ab70db6cde8dd13bb148039f8f80b91




[SIO-1634] Code sharing GUI Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-22  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification


 Comments   
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I0b6ddd94b2d942d862548688df1331244b4e8b18, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2345

SIO-1634 Code sharing GUI

Change-Id: I0b6ddd94b2d942d862548688df1331244b4e8b18
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I0b6ddd94b2d942d862548688df1331244b4e8b18, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2345

SIO-1634 Code sharing GUI

Change-Id: I0b6ddd94b2d942d862548688df1331244b4e8b18




[SIO-1633] Friends notifications Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-22  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification


 Comments   
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2347

SIO-1633 Friends notifications

Change-Id: I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2347

SIO-1633 Friends notifications

Change-Id: I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0
Comment by Gerrit Gerrit [ 2015-05-20 ]
Change I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2347

SIO-1633 Friends notifications

Change-Id: I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0
Comment by Gerrit Gerrit [ 2015-05-20 ]
Change I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2347

SIO-1633 Friends notifications

Change-Id: I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0
Comment by Gerrit Gerrit [ 2015-05-31 ]
Change I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2347

SIO-1633 Friends notifications

Change-Id: I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2347

SIO-1633 Friends notifications

Change-Id: I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0
Comment by Gerrit Gerrit [ 2015-06-4 ]
Change I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2347

SIO-1633 Friends notifications

Change-Id: I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0
Comment by Gerrit Gerrit [ 2015-06-5 ]
Change I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2347

SIO-1633 Friends notifications

Change-Id: I4b89d93380e4cadddfd3bb7bfa7e8e6716cf38f0




[SIO-1632] Friends GUI Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-22  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification


 Comments   
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-05-20 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-05-30 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-05-30 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-05-31 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-06-4 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339
Comment by Gerrit Gerrit [ 2015-06-5 ]
Change Ic7ba75803a94c750a5b089578c22d09f8f255339, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2346

SIO-1632 Friends GUI

Change-Id: Ic7ba75803a94c750a5b089578c22d09f8f255339




[SIO-1631] Task Suggestion GUI Created: 2015-03-25  Updated: 2019-03-26  Due: 2014-05-13  Resolved: 2015-06-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
is blocked by SIO-1626 Task Suggestion Controller Closed
is blocked by SIO-1636 Miniprofile GUI Closed
TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
A new widget in mini-profile to allow suggestion of new tasks todo for user

 Comments   
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change Ifa1ec66ad0d5d5ad97eb53197308ea2a0c76fcbd, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2365

SIO-1631 A problem is now suggested in miniprofile

Change-Id: Ifa1ec66ad0d5d5ad97eb53197308ea2a0c76fcbd
Comment by Gerrit Gerrit [ 2015-06-4 ]
Change Ifa1ec66ad0d5d5ad97eb53197308ea2a0c76fcbd, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2365

SIO-1631 A problem is now suggested in miniprofile

Change-Id: Ifa1ec66ad0d5d5ad97eb53197308ea2a0c76fcbd
Comment by Gerrit Gerrit [ 2015-06-11 ]
Change Ifa1ec66ad0d5d5ad97eb53197308ea2a0c76fcbd, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2365

SIO-1631 A problem is now suggested in miniprofile

Change-Id: Ifa1ec66ad0d5d5ad97eb53197308ea2a0c76fcbd




[SIO-1630] Profile GUI Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-8  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification


 Comments   
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change Id0d780ade5798cc802e0614ce7673d428d3b6594, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2285

SIO-1630 Profile GUI

Change-Id: Id0d780ade5798cc802e0614ce7673d428d3b6594
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change Id0d780ade5798cc802e0614ce7673d428d3b6594, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2285

SIO-1630 Profile GUI

Change-Id: Id0d780ade5798cc802e0614ce7673d428d3b6594
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change Id0d780ade5798cc802e0614ce7673d428d3b6594, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2285

SIO-1630 Profile GUI

Change-Id: Id0d780ade5798cc802e0614ce7673d428d3b6594
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Id0d780ade5798cc802e0614ce7673d428d3b6594, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2285

SIO-1630 Profile GUI

Change-Id: Id0d780ade5798cc802e0614ce7673d428d3b6594
Comment by Gerrit Gerrit [ 2015-04-23 ]
Change Id0d780ade5798cc802e0614ce7673d428d3b6594, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2285

SIO-1630 Profile GUI

Change-Id: Id0d780ade5798cc802e0614ce7673d428d3b6594




[SIO-1629] Create template for ProblemSet site. Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-8  Resolved: 2015-11-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Marek Sommer Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: ProblemSet





[SIO-1628] Suggestion Controller IMPL Created: 2015-03-25  Updated: 2019-03-26  Due: 2014-05-13  Resolved: 2015-06-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
is blocked by SIO-1626 Task Suggestion Controller Closed
TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
See API Ticket

 Comments   
Comment by Gerrit Gerrit [ 2015-05-27 ]
Change I2b5bcc3634b23ff037e5b08d825b462f932abdb9, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2356

(SIO-1628) SuggestionController now has an implementation

Change-Id: I2b5bcc3634b23ff037e5b08d825b462f932abdb9
Comment by Gerrit Gerrit [ 2015-06-3 ]
Change I2b5bcc3634b23ff037e5b08d825b462f932abdb9, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2356

(SIO-1628) SuggestionController now has an implementation

Change-Id: I2b5bcc3634b23ff037e5b08d825b462f932abdb9




[SIO-1627] Friends IMPL Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-8  Resolved: 2015-04-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification


 Comments   
Comment by Gerrit Gerrit [ 2015-04-11 ]
Change I1b4e31cf2abb065751151a574dae3d364132f799, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2277

SIO-1627 Friends IMPL

Change-Id: I1b4e31cf2abb065751151a574dae3d364132f799
Comment by Gerrit Gerrit [ 2015-04-13 ]
Change I1b4e31cf2abb065751151a574dae3d364132f799, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2277

SIO-1627 Friends IMPL

Change-Id: I1b4e31cf2abb065751151a574dae3d364132f799




[SIO-1626] Task Suggestion Controller Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-22  Resolved: 2015-05-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
blocks SIO-1628 Suggestion Controller IMPL Closed
blocks SIO-1631 Task Suggestion GUI Closed
TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
An abstract controller that allows modules to suggest new tasks to do for a user based on some criteria

 Comments   
Comment by Gerrit Gerrit [ 2015-04-20 ]
Change Ifa2f8f763b3ddf0e1d696f72a2817b0046578949, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2287

SIO-1626 Added an abstract task suggestion controller

Change-Id: Ifa2f8f763b3ddf0e1d696f72a2817b0046578949
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change Ifa2f8f763b3ddf0e1d696f72a2817b0046578949, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2287

SIO-1626 Added an abstract task suggestion controller

Change-Id: Ifa2f8f763b3ddf0e1d696f72a2817b0046578949
Comment by Gerrit Gerrit [ 2015-04-24 ]
Change Ifa2f8f763b3ddf0e1d696f72a2817b0046578949, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2287

SIO-1626 Added an abstract task suggestion controller

Change-Id: Ifa2f8f763b3ddf0e1d696f72a2817b0046578949




[SIO-1625] Code Sharing IMPL Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-22  Resolved: 2015-05-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
is blocked by SIO-1623 Code Sharing API Closed
is blocked by SIO-1624 Extending Preferences / Profile panel Closed
TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
See API ticket

 Comments   
Comment by Gerrit Gerrit [ 2015-04-27 ]
Change I63b1a3fd247e5b680f771b43ea69ea788e834994, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2310

SIO-1625 Added Code Sharing implementation

Change-Id: I63b1a3fd247e5b680f771b43ea69ea788e834994
Comment by Gerrit Gerrit [ 2015-04-27 ]
Change I63b1a3fd247e5b680f771b43ea69ea788e834994, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2310

SIO-1625 Added Code Sharing implementation

Change-Id: I63b1a3fd247e5b680f771b43ea69ea788e834994
Comment by Gerrit Gerrit [ 2015-04-27 ]
Change I63b1a3fd247e5b680f771b43ea69ea788e834994, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2310

SIO-1625 Added Code Sharing implementation

Change-Id: I63b1a3fd247e5b680f771b43ea69ea788e834994
Comment by Gerrit Gerrit [ 2015-04-27 ]
Change I63b1a3fd247e5b680f771b43ea69ea788e834994, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2310

SIO-1625 Added Code Sharing implementation

Change-Id: I63b1a3fd247e5b680f771b43ea69ea788e834994
Comment by Gerrit Gerrit [ 2015-05-7 ]
Change I63b1a3fd247e5b680f771b43ea69ea788e834994, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2310

SIO-1625 Added Code Sharing implementation

Change-Id: I63b1a3fd247e5b680f771b43ea69ea788e834994
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I63b1a3fd247e5b680f771b43ea69ea788e834994, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2310

SIO-1625 Added Code Sharing implementation

Change-Id: I63b1a3fd247e5b680f771b43ea69ea788e834994
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I63b1a3fd247e5b680f771b43ea69ea788e834994, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2310

SIO-1625 Added Code Sharing implementation

Change-Id: I63b1a3fd247e5b680f771b43ea69ea788e834994
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I63b1a3fd247e5b680f771b43ea69ea788e834994, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2310

SIO-1625 Added Code Sharing implementation

Change-Id: I63b1a3fd247e5b680f771b43ea69ea788e834994
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I63b1a3fd247e5b680f771b43ea69ea788e834994, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2310

SIO-1625 Added Code Sharing implementation

Change-Id: I63b1a3fd247e5b680f771b43ea69ea788e834994




[SIO-1624] Extending Preferences / Profile panel Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-22  Resolved: 2015-05-13

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
blocks SIO-1625 Code Sharing IMPL Closed
TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
Allowing modules to add new options to global user preferences interface and saving them in DB.

 Comments   
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I7355acc494763a88d848a5df73d56b4548dac0aa, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2291

SIO-1624 User preferences can be extended by apps

Change-Id: I7355acc494763a88d848a5df73d56b4548dac0aa
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I7355acc494763a88d848a5df73d56b4548dac0aa, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2291

SIO-1624 User preferences can be extended by apps

Change-Id: I7355acc494763a88d848a5df73d56b4548dac0aa
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I7355acc494763a88d848a5df73d56b4548dac0aa, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2291

SIO-1624 User preferences can be extended by apps

Change-Id: I7355acc494763a88d848a5df73d56b4548dac0aa
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I7355acc494763a88d848a5df73d56b4548dac0aa, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2291

SIO-1624 User preferences can be extended by apps

Change-Id: I7355acc494763a88d848a5df73d56b4548dac0aa
Comment by Gerrit Gerrit [ 2015-04-26 ]
Change I7355acc494763a88d848a5df73d56b4548dac0aa, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2291

SIO-1624 User preferences can be extended by apps

Change-Id: I7355acc494763a88d848a5df73d56b4548dac0aa




[SIO-1623] Code Sharing API Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-8  Resolved: 2015-04-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
blocks SIO-1625 Code Sharing IMPL Closed
TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
Whether that friend has allowed to give you code, enabling / disabling code sharing

 Comments   
Comment by Gerrit Gerrit [ 2015-04-4 ]
Change I0031af9f18ba40c48712c693894d046cf31434af, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2269

SIO-1623 Created Code Sharing API

Change-Id: I0031af9f18ba40c48712c693894d046cf31434af
Comment by Gerrit Gerrit [ 2015-04-7 ]
Change I0031af9f18ba40c48712c693894d046cf31434af, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2269

SIO-1623 Created Code Sharing API

Change-Id: I0031af9f18ba40c48712c693894d046cf31434af




[SIO-1621] Assign "Test" to "ProblemInstance" instead of "Problem" Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-8  Resolved: 2015-05-5

Status: Closed
Project: The SIO2 project
Component/s: Zzz! / None of the above / I really don't know
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Marek Sommer Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: ProblemSet


 Comments   
Comment by Gerrit Gerrit [ 2015-04-12 ]
Change I66ea44d594ee411063a816e40c0e532ba121b9a5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2279

(SIO-1621) Assign "Test" to "ProblemInstance" instead of "Problem"

Create main_problem_instance.

Change-Id: I66ea44d594ee411063a816e40c0e532ba121b9a5
Comment by Gerrit Gerrit [ 2015-04-12 ]
Change I66ea44d594ee411063a816e40c0e532ba121b9a5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2279

SIO-1621 Assign "Test" to "ProblemInstance" instead of "Problem"

Create main_problem_instance.

Change-Id: I66ea44d594ee411063a816e40c0e532ba121b9a5
Comment by Gerrit Gerrit [ 2015-04-20 ]
Change I66ea44d594ee411063a816e40c0e532ba121b9a5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2279

SIO-1621 Assign "Test" to "ProblemInstance" instead of "Problem"

Create main_problem_instance.

Change-Id: I66ea44d594ee411063a816e40c0e532ba121b9a5
Comment by Gerrit Gerrit [ 2015-04-20 ]
Change I66ea44d594ee411063a816e40c0e532ba121b9a5, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2279

SIO-1621 Assign "Test" to "ProblemInstance" instead of "Problem"

Create main_problem_instance.

Change-Id: I66ea44d594ee411063a816e40c0e532ba121b9a5
Comment by Gerrit Gerrit [ 2015-04-23 ]
Change I66ea44d594ee411063a816e40c0e532ba121b9a5, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2279

SIO-1621 Assign "Test" to "ProblemInstance" instead of "Problem"

Create main_problem_instance.

Change-Id: I66ea44d594ee411063a816e40c0e532ba121b9a5
Comment by Gerrit Gerrit [ 2015-04-30 ]
Change I66ea44d594ee411063a816e40c0e532ba121b9a5, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2279

SIO-1621 Assign "Test" to "ProblemInstance" instead of "Problem"

Create main_problem_instance.

Change-Id: I66ea44d594ee411063a816e40c0e532ba121b9a5
Comment by Gerrit Gerrit [ 2015-05-5 ]
Change I66ea44d594ee411063a816e40c0e532ba121b9a5, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2279

SIO-1621 Assign "Test" to "ProblemInstance" instead of "Problem"

Create main_problem_instance.

Change-Id: I66ea44d594ee411063a816e40c0e532ba121b9a5




[SIO-1620] Experience IMPL Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-8  Resolved: 2015-04-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
is blocked by SIO-1619 Experience API Closed
TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
Actually implementing the experience API, database connections and stuff yo

 Comments   
Comment by Gerrit Gerrit [ 2015-04-6 ]
Change I1109756fc5a10cf733bebbf11dd057372c72ed12, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2270

SIO-1620 Added Experience Module implementation Tests and migrations are included

Also an abstract ExperienceSource was added that allows easy caching of
values by some integer key in the database, it should greatly help when
doing submission grading callbacks and probably in possible future
ExperienceSources

Change-Id: I1109756fc5a10cf733bebbf11dd057372c72ed12




[SIO-1619] Experience API Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-8  Resolved: 2015-04-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification

Issue Links:
Blocks
blocks SIO-1620 Experience IMPL Closed
TAG Developer: Olaf Tomalka
TAG Reviewer: Piotr Dulikowski

 Description   
Adding experience, removing experience, getting level and experience, getting required experience
Per user




[SIO-1618] CMS: Markdown Panel/Widget Rendering API with basic widgets Created: 2015-03-25  Updated: 2019-03-26  Resolved: 2015-10-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Kuba Czerpak Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-05-13 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-05-20 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-05-20 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-05-20 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-05-20 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Gerrit Gerrit [ 2015-05-20 ]
Change I3c2cf583cecfe7867c43e5bb841b96d8873cdd61, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2292

SIO-1618 CMS: Markdown Panel/Widget Rendering API with basic widgets

Change-Id: I3c2cf583cecfe7867c43e5bb841b96d8873cdd61
Comment by Maciej Dębski [ 2015-07-1 ]
close?




[SIO-1617] Friends API Created: 2015-03-25  Updated: 2019-03-26  Due: 2015-04-8  Resolved: 2015-04-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Dulikowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: Gamification


 Comments   
Comment by Gerrit Gerrit [ 2015-04-7 ]
Change I1fca7df620eeb0c9fd6c575c4ad1f191c10b5ed3, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2273

SIO-1617 Friends API

Change-Id: I1fca7df620eeb0c9fd6c575c4ad1f191c10b5ed3
Comment by Gerrit Gerrit [ 2015-04-7 ]
Change I1fca7df620eeb0c9fd6c575c4ad1f191c10b5ed3, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2273

SIO-1617 Friends API

Change-Id: I1fca7df620eeb0c9fd6c575c4ad1f191c10b5ed3
Comment by Gerrit Gerrit [ 2015-04-8 ]
Change I1fca7df620eeb0c9fd6c575c4ad1f191c10b5ed3, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2273

SIO-1617 Friends API

Change-Id: I1fca7df620eeb0c9fd6c575c4ad1f191c10b5ed3




[SIO-1616] Global problem sites. Created: 2015-03-25  Updated: 2019-03-26  Resolved: 2015-06-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Kamil Braun Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1635 Submissions - Gamification GUI Closed

 Description   
In the near future it will be possible to solve problems not connected to any contest (global problems). The user needs a place to read the problem's contents, see his submission list and submit solutions. A special site needs to be created for this purpose.

For now, since the (global) Problem Database hasn't been created yet, the site should render existing problems (which belong to contests) but it shouldn't allow sending submissions. It should be trivial to modify the site in the near future so it interacts with the Problem Database correctly and allows sending submissions.

The site should also provide an API for extension (so external modules, like the Gamification module, could add its own code to the site).

Create the necessary view(s), template(s) and url pattern(s).

 Comments   
Comment by Gerrit Gerrit [ 2015-04-7 ]
Change I77d4832b92ff5c06065a70f99af8ce30c5e883bc, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2271

SIO-1616 Global problem sites

There are no tests yet, but you can code review
the rest of it.

Change-Id: I77d4832b92ff5c06065a70f99af8ce30c5e883bc
Comment by Gerrit Gerrit [ 2015-04-7 ]
Change I77d4832b92ff5c06065a70f99af8ce30c5e883bc, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2271

SIO-1616 Global problem sites

There are no tests yet, but you can code review
the rest of it.

Change-Id: I77d4832b92ff5c06065a70f99af8ce30c5e883bc
Comment by Gerrit Gerrit [ 2015-04-10 ]
Change I77d4832b92ff5c06065a70f99af8ce30c5e883bc, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2271

SIO-1616 Global problem sites

Change-Id: I77d4832b92ff5c06065a70f99af8ce30c5e883bc
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change I77d4832b92ff5c06065a70f99af8ce30c5e883bc, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2271

SIO-1616 Global problem sites

Change-Id: I77d4832b92ff5c06065a70f99af8ce30c5e883bc
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change I77d4832b92ff5c06065a70f99af8ce30c5e883bc, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2271

SIO-1616 Global problem sites

Change-Id: I77d4832b92ff5c06065a70f99af8ce30c5e883bc




[SIO-1615] Create CMS node hierarchy with editing facilities Created: 2015-03-25  Updated: 2019-03-26  Resolved: 2015-04-28

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Piotr Kozakowski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Piotr Kozakowski
TAG Reviewer: Kuba Czerpak

 Comments   
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-14 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-15 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-21 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-21 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-21 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211
Comment by Gerrit Gerrit [ 2015-04-22 ]
Change I62ee2bbc2b6fcf936db6afaaca39d843c9951211, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2280

SIO-1615 Create CMS node hierarchy with editing facilities

Change-Id: I62ee2bbc2b6fcf936db6afaaca39d843c9951211




[SIO-1614] Jenkins script for publishing sioworkers to PIP Created: 2015-03-18  Updated: 2020-12-16

Status: In Progress
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Szymon Acedański Assignee: Szymon Czyżmański
Resolution: Unresolved Votes: 0
Labels: tag1


 Comments   
Comment by Wojciech Dubiel [ 2020-12-16 ]
Blocked by too old openssl on ripper.
We'll need to wait until we migrate jenkins to a more up-to-date machine.




[SIO-1613] During first migration superuser is not created Created: 2015-03-4  Updated: 2019-03-26  Resolved: 2017-11-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
Before, on Django 1.6 / 1.5, when doing first migration I would be asked to provide a superuser, right now not, and have to explicitly create him using ./manage.py createsuperuser

 Comments   
Comment by Szymon Acedański [ 2017-11-8 ]
It's ok, Django's policies changed and we have updated the README.




[SIO-1612] user info page: add information about disqualifications Created: 2015-02-23  Updated: 2019-03-26  Resolved: 2017-12-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1

TAG Developer: Rafał Pragacz

 Description   
Add some notes about disqualifications to the user info page.
Something like DisqualificationsController.render_disqualification().

 Comments   
Comment by Gerrit Gerrit [ 2017-11-28 ]
Change oioioi~master~If141735d29f8387ed36ace72d01691f703deb398, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2925

SIO-1612 user info page - information about disqualifications

Change-Id: If141735d29f8387ed36ace72d01691f703deb398
Comment by Gerrit Gerrit [ 2017-12-5 ]
Change oioioi~master~If141735d29f8387ed36ace72d01691f703deb398, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2925

SIO-1612 user info page - information about disqualifications

Change-Id: If141735d29f8387ed36ace72d01691f703deb398
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~If141735d29f8387ed36ace72d01691f703deb398, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2925

SIO-1612 user info page - information about disqualifications

Change-Id: If141735d29f8387ed36ace72d01691f703deb398
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~If141735d29f8387ed36ace72d01691f703deb398, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2925

SIO-1612 user info page - information about disqualifications

Change-Id: If141735d29f8387ed36ace72d01691f703deb398
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~If141735d29f8387ed36ace72d01691f703deb398, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2925

SIO-1612 user info page - information about disqualifications

Change-Id: If141735d29f8387ed36ace72d01691f703deb398
Comment by Gerrit Gerrit [ 2017-12-6 ]
Change oioioi~master~If141735d29f8387ed36ace72d01691f703deb398, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2925

SIO-1612 user info page - information about disqualifications

Change-Id: If141735d29f8387ed36ace72d01691f703deb398
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~If141735d29f8387ed36ace72d01691f703deb398, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2925

SIO-1612 user info page - information about disqualifications

Change-Id: If141735d29f8387ed36ace72d01691f703deb398
Comment by Gerrit Gerrit [ 2017-12-13 ]
Change oioioi~master~If141735d29f8387ed36ace72d01691f703deb398, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2925

SIO-1612 user info page - information about disqualifications

Change-Id: If141735d29f8387ed36ace72d01691f703deb398




[SIO-1611] Create tests for similarsubmits Created: 2015-02-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1610] What happened to language change icons? Created: 2015-02-21  Updated: 2019-03-26  Resolved: 2015-02-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
They used to be on the right side, as on
https://sio2.staszic.waw.pl
but are no longer there on
https://sio2.mimuw.edu.pl

 Comments   
Comment by Szymon Acedański [ 2015-02-21 ]
Hmm, it has nothing to do with SIO2 code, they're disabled in settings on sio2.




[SIO-1609] Allow to view ranking basing on hidden reports instead of normal ones. Created: 2015-02-19  Updated: 2019-03-26  Resolved: 2015-05-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Improvement Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
This may be needed for jury to check e. g. what would happen if tests are changed.

Main problem is that rankings are all based on UserResultForProblem which is unique for (user, problem_instance).

 Comments   
Comment by Gerrit Gerrit [ 2015-04-30 ]
Change I9e058facce062882e9c52f63a3082b84c903142b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2329

SIO-1609 Command for displaying diffs between active and hidden results

Change-Id: I9e058facce062882e9c52f63a3082b84c903142b
Comment by Gerrit Gerrit [ 2015-04-30 ]
Change I9e058facce062882e9c52f63a3082b84c903142b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2329

SIO-1609 Command for displaying diffs between active and hidden results

Change-Id: I9e058facce062882e9c52f63a3082b84c903142b
Comment by Gerrit Gerrit [ 2015-04-30 ]
Change I9e058facce062882e9c52f63a3082b84c903142b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2329

SIO-1609 Command for displaying diffs between active and hidden results

Change-Id: I9e058facce062882e9c52f63a3082b84c903142b
Comment by Gerrit Gerrit [ 2015-04-30 ]
Change I9e058facce062882e9c52f63a3082b84c903142b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2329

SIO-1609 Command for displaying diffs between active and hidden results

Change-Id: I9e058facce062882e9c52f63a3082b84c903142b
Comment by Maciej Dębski [ 2015-05-1 ]
Added command to display diffs, that's even better then ranking.




[SIO-1608] participants_data: export user e-mail and id too Created: 2015-02-16  Updated: 2019-03-26  Resolved: 2016-04-10

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Wojciech Jabłoński
TAG Reviewer: Pawel Golinski

 Description   
Add user's id and e-mail to the list of exported columns.
ID – because username may change
e-mail – requested by our secretary



 Comments   
Comment by Szymon Acedański [ 2015-11-19 ]
e-mail for OI contest only; we don't want teachers to see participants' emails.
Comment by Wojciech Jabłoński [ 2016-02-23 ]
How to check whether contest is OI-type?
Comment by Maciej Matraszek [ 2016-02-23 ]
Check if the contest controller is derived from OI contest controller.

On Tue, 23 Feb 2016, 15:30 Wojciech Jabłoński (JIRA) <
sio2-jira@dasie.mimuw.edu.pl> wrote:

>
> [
> https:// jira.sio2project.mimuw.edu.pl/browse/SIO-1608? page=com.atlassian.jira.plugin.system.issuetabpanels:comment- tabpanel&focusedCommentId=21873#comment-21873
> ]
>
> Wojciech Jabłoński commented on SIO-1608:
> -----------------------------------------
>
> How to check whether contest is OI-type?
>
> > participants_data: export user e-mail and id too
> > ------------------------------------------------
> >
> > Key: SIO-1608
> > URL:
> https://jira.sio2project.mimuw.edu.pl/browse/SIO-1608
> > Project: The SIO2 project
> > Issue Type: Improvement
> > Components: OIOIOI
> > Affects Versions: Current Version
> > Reporter: Maciej Matraszek
> > Assignee: Wojciech Jabłoński
> >
> > Add user's id and e-mail to the list of exported columns.
> > ID – because username may change
> > e-mail – requested by our secretary
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.1#6144)
>
Comment by Gerrit Gerrit [ 2016-02-25 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) ID is now always included and email conditionally on participants_data export

When you export data by "contest/participants_data" endpoint more information is included:
* user ID no matter what
* user email, but only if it's OI contest (due to personal info protection)

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8
Comment by Gerrit Gerrit [ 2016-02-25 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) ID is now always included and email conditionally on participants_data export

When you export data by "contest/participants_data" endpoint more information is included:
* user ID no matter what
* user email, but only if it's OI contest (due to personal info protection)

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8
Comment by Gerrit Gerrit [ 2016-02-29 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) include ID and email on participants_data export

When you export data by "contest/participants_data" endpoint more information
is included:
* user ID no matter what
* user email, but only if it's OI contest (due to personal info protection)

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8
Comment by Gerrit Gerrit [ 2016-02-29 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) include ID and email on participants_data export

When you export data by "contest/participants_data" endpoint more information
is included:
* user ID no matter what
* user email, but only if it's OI contest (due to personal info protection)

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8
Comment by Gerrit Gerrit [ 2016-03-3 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) include ID and email on participants_data export

When you export data by "contest/participants_data" endpoint more information
is included:
* user ID no matter what
* user email, but only if it's OI contest (due to personal info protection)

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8
Comment by Gerrit Gerrit [ 2016-03-12 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) include ID and email on participants_data export

When you export data by "contest/participants_data" endpoint more information
is included:
* user ID no matter what
* user email, but only if it's OI contest (due to personal info protection)

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8
Comment by Gerrit Gerrit [ 2016-03-30 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) include ID and email on participants_data export

When you export data by "contest/participants_data" endpoint more information
is included:
* user ID no matter what
* user email, but only if it's OI contest (due to personal info protection)

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8
Comment by Gerrit Gerrit [ 2016-04-6 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) include ID and email on participants_data export

When you export data by "contest/participants_data" endpoint more information
is included:
* user ID no matter what
* user email, but only if controller declared special flag (due to personal
  info protection)

Added tests too.

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8
Comment by Gerrit Gerrit [ 2016-04-6 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) include ID and email on participants_data export

When you export data by "contest/participants_data" endpoint more information
is included:
* user ID no matter what
* user email, but only if controller declared special flag (due to personal
  info protection)

Added tests too.

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8
Comment by Gerrit Gerrit [ 2016-04-6 ]
Change I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2532

(SIO-1608) include ID and email on participants_data export

When you export data by "contest/participants_data" endpoint more information
is included:
* user ID no matter what
* user email, but only if controller declared special flag (due to personal
  info protection)

Added tests too.

Change-Id: I2bc287f3aa8352fa5ac0c475f02ab15c1b3686b8




[SIO-1607] ForceIPDNSAuth middleware is still active after end of contest exclusiveness Created: 2015-02-13  Updated: 2019-03-26  Resolved: 2019-01-31

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1890 Exclusiveness configs - allow adding ... Closed

 Description   
When you set up a contest of onsite-type, like OI Onsite, the ForceIPDNSAuth middleware will require that the user is authenticated through his/her IP or DNS. But It will behave this way as long as the middleware is included in settings.py, but the intended behavior is to block access only to ongoing contests. This forces (pun intended :P) the admins to comment and uncomment the middleware in the settings.py file.

I suppose that coupling this middleware with contest-exclusiveness would work as expected, but this idea has to be verified.

 Comments   
Comment by Wojciech Dubiel [ 2018-12-20 ]
Regarding coupling this middleware to contest-exclusiveness - looks like this is already implemented:
https://github.com/sio2project/oioioi/commit/c6bd1d70b3f476fe8538696257727a9f4b8c7719

And it turnede out to be a bad idea.

We want to allow users to log in with password in the time between rounds, so that they can check their results.
Right now, this requires disabling exclusiveness, after each round, and reenabling it for the next round.
Either this should be decoupled, or multiple exclusiveness configs should be allowd (see
SIO-1890 )
Comment by Jakub Bartmiński [ 2019-01-31 ]
ForceIPDNSAuth had already been coupled with contestexcl at some point in the past, and as per Wojtek's suggestion I added the option of multiple contestexcl configs, which should resolve the issue for now. Reopen if need be.




[SIO-1606] Do not display used time if TLE in reports (xml and pdf) Created: 2015-02-12  Updated: 2015-11-12  Resolved: 2015-11-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Major
Reporter: Maciej Dębski Assignee: Mateusz Śmiech
Resolution: Fixed Votes: 0
Labels: tag1


 Comments   
Comment by Gerrit Gerrit [ 2015-11-11 ]
Change I0a75f357d7567b230194e30cada1f2cd38ee3e64, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2467

SIO-1606 Do not display used time if TLE in reports (xml and pdf)

If TLE has occurred, both PDF and XML OI reports will now show "-,--"
under the "used time" column.

Change-Id: I0a75f357d7567b230194e30cada1f2cd38ee3e64




[SIO-1605] Show # of tests in model solutions view Created: 2015-02-12  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Maciej Dębski [ 2015-02-12 ]
and sum of time limits
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1604] It's really hard to select some non-trivial subset of tests for package Created: 2015-02-11  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Attachments: PNG File s.png    

 Description   
try selecting 1*, 3*, 5*, ...

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1603] Update django-nose to fix deprecation warnings Created: 2015-02-10  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
/home/mdebski/oioioi/venv/local/lib/python2.7/site-packages/django/test/ _doctest.py:59: RemovedInDjango18Warning: The django.test._doctest module is deprecated; use the doctest module from the Python standard library instead.
  RemovedInDjango18Warning)

/home/mdebski/oioioi/venv/local/lib/python2.7/site-packages/django/test/ simple.py:27: RemovedInDjango18Warning: The django.test.simple module and DjangoTestSuiteRunner are deprecated; use django.test.runner.DiscoverRunner instead.
  RemovedInDjango18Warning)

 Comments   
Comment by Kamil Braun [ 2015-02-17 ]
AFAIK these warnings come from one of the packages we use, there isn't much we can do about it.
Comment by Gerrit Gerrit [ 2015-02-17 ]
Change Ic467396891b9df35a362870539cd3c859b5ab2ed, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2263

SIO-1603 Update django-nose to fix deprecation warnings

Change-Id: Ic467396891b9df35a362870539cd3c859b5ab2ed




[SIO-1602] Problem translated to problem in PL (for example "Dodaj problem Zeus'a" :D) Created: 2015-02-10  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: Translations
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: easy


 Comments   
Comment by Maciej Matraszek [ 2016-10-3 ]
Also: „zostało 13 dni 10 godzin 59 minut 31 sekund. dni do początek Runda 1.”
Seems, like the translator did not check the context of translated phrases…

This should be fixed before beginning of the OI contest.
Comment by Gerrit Gerrit [ 2016-10-5 ]
Change Ief7cf45a59664cf3c98ad41797f23126588884a6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2626

SIO-1602 Problem translated to problem in PL (for example "Dodaj problem Zeus'a" :D)

Removed unnecessary dot in polish locale.

Change-Id: Ief7cf45a59664cf3c98ad41797f23126588884a6
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1601] Literówka w angielskim tłumaczeniu Created: 2015-02-9  Updated: 2019-03-26  Resolved: 2015-11-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
W teams/forms.py:37 jest: "There already exists_a_ team with that login"

 Comments   
Comment by Gerrit Gerrit [ 2015-11-5 ]
Change I24e9a2b7e5e6eae5b11421cc60e4d79186aefa29, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2462

SIO-1664 Fixed typo in oioioi/locale/pl/LC_MESSAGES/django.po:1411 SIO-1601 Fixed typo in oioioi/teams/forms.py:37

Change-Id: I24e9a2b7e5e6eae5b11421cc60e4d79186aefa29
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I24e9a2b7e5e6eae5b11421cc60e4d79186aefa29, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2462

SIO-1601 Fixed typo in oioioi/teams/forms.py:37

Change-Id: I24e9a2b7e5e6eae5b11421cc60e4d79186aefa29




[SIO-1600] Django 1.7 migrations serialize choices for EnumFields Created: 2015-02-9  Updated: 2019-03-26  Resolved: 2017-03-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 2

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
And these choices actually depend on the set of configured apps. We should not serialize the choices and create database fields which do not limit the content of these fields.

I suppose we need a custom EnumField.

 Comments   
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change I363b0d323236f24ca10d8e778a614e6a3991c1d0, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2672

SIO-1600 Django 1.7 migrations serialize choices for EnumFields

Change-Id: I363b0d323236f24ca10d8e778a614e6a3991c1d0
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change I363b0d323236f24ca10d8e778a614e6a3991c1d0, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2672

SIO-1600 Django 1.7 migrations serialize choices for EnumFields

Change-Id: I363b0d323236f24ca10d8e778a614e6a3991c1d0
Comment by Gerrit Gerrit [ 2016-12-14 ]
Change I363b0d323236f24ca10d8e778a614e6a3991c1d0, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2672

SIO-1600 Django 1.7 migrations serialize choices for EnumFields

Change-Id: I363b0d323236f24ca10d8e778a614e6a3991c1d0




[SIO-1599] Add tests for livedata module Created: 2015-02-9  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1598] mailsubmit: Add HTML fragment to user's info page Created: 2015-02-9  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1597] Upgrade to Django 1.7 fails on mysql Created: 2015-01-14  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
More info: Kamil Braun

 Comments   
Comment by Gerrit Gerrit [ 2015-01-14 ]
Change If72197bbe8c5f919656402a57581b620d03050e2, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2253

(SIO-1597) Fix the Django 1.7 upgrade script

This commit includes two fixes. First, the 'mysql-python' pip package
is installed in the temporary virtualenv created when running the script
for MySQL users. Second, ./manage.py migrate is fixed for the SQLite database
when checking if upgrade is needed.

Change-Id: If72197bbe8c5f919656402a57581b620d03050e2
Comment by Gerrit Gerrit [ 2015-01-14 ]
Change If72197bbe8c5f919656402a57581b620d03050e2, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2253

(SIO-1597) Fix the Django 1.7 upgrade script

This commit includes two fixes. First, the 'mysql-python' pip package
is installed in the temporary virtualenv created when running the script
for MySQL users. Second, ./manage.py migrate is fixed for the SQLite database
when checking if upgrade is needed.

Change-Id: If72197bbe8c5f919656402a57581b620d03050e2
Comment by Gerrit Gerrit [ 2015-01-14 ]
Change If72197bbe8c5f919656402a57581b620d03050e2, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2253

(SIO-1597) Fix the Django 1.7 upgrade script

This commit includes two fixes. First, the 'mysql-python' pip package
is installed in the temporary virtualenv created when running the script
for MySQL users. Second, ./manage.py migrate is fixed for the SQLite database
when checking if upgrade is needed.

Change-Id: If72197bbe8c5f919656402a57581b620d03050e2
Comment by Gerrit Gerrit [ 2015-01-22 ]
Change If72197bbe8c5f919656402a57581b620d03050e2, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2253

SIO-1597 Fix the Django 1.7 upgrade script

This commit includes two fixes. First, the 'mysql-python' pip package
is installed in the temporary virtualenv created when running the script
for MySQL users. Second, ./manage.py migrate is fixed for the SQLite database
when checking if upgrade is needed.

Change-Id: If72197bbe8c5f919656402a57581b620d03050e2




[SIO-1596] Upgrade to Django 1.7 fails when not using postgresql Created: 2015-01-14  Updated: 2019-03-26  Resolved: 2017-06-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Upgrade to 1.7 fails due to pip trying to install psycopg2 when no postgresql is installed, things blow up.

 Comments   
Comment by Kamil Braun [ 2015-01-14 ]
Not true, things just go along. There is an error when the psycopg2 fails to be installed, but then pip just continues running.
Changed to Improvement/Trivial, because this might be somehow fixed, but it's not really necessary.




[SIO-1595] Non-deterministic test on sioworkers Created: 2014-12-23  Updated: 2019-03-26  Resolved: 2015-11-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1594 Non deterministic test in sioworkers Closed

 Description   
https://hudson.sio2project.mimuw.edu.pl/job/sioworkers-gerrit-unittests/147/console
This test is non-deterministic, when run on origin/master it can fail as often as pass.




[SIO-1594] Non deterministic test in sioworkers Created: 2014-12-17  Updated: 2019-03-26  Resolved: 2015-11-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-1595 Non-deterministic test on sioworkers Closed

 Description   
test_executors.test_common_time_limiting is not deterministic - on origin/master it can sometimes fail and sometimes pass.




[SIO-1593] Explain exit code 127 Created: 2014-12-17  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
When program gets killed by ulimit program returns 127, oioioi should explain what's exit code 127, seeing only this number during programming helps little.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1592] "Could not find output of time program." on testrun Created: 2014-11-30  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: VirtualBox Linux Mint 17 Qiana, 64-bit. Cinnamon - converted to awesome

Attachments: Text File Cookie_clicker_alpha.cpp     Zip Archive dsa.zip    

 Description   
When sending attached files as code and input during testrun submit

Traceback (most recent call last):
  File "/media/sf_Coding/Szkola/TAG/oioioi/oioioi/evalmgr/__init__.py", line 191, in evalmgr_job
    env = _run_phase(env, phase)
  File "/media/sf_Coding/Szkola/TAG/oioioi/oioioi/evalmgr/__init__.py", line 95, in _run_phase
    env = handler_func(env, **kwargs)
  File "/media/sf_Coding/Szkola/TAG/oioioi/oioioi/programs/handlers.py", line 62, in decorated
    return fn(env, **kwargs)
  File "/media/sf_Coding/Szkola/TAG/oioioi/oioioi/programs/handlers.py", line 202, in run_tests
    jobs = run_sioworkers_jobs(jobs, **extra_args)
  File "/media/sf_Coding/Szkola/TAG/oioioi/oioioi/sioworkers/jobs.py", line 14, in run_sioworkers_jobs
    return _get_backend().run_jobs(dict_of_jobs, **kwargs)
  File "/media/sf_Coding/Szkola/TAG/oioioi/oioioi/sioworkers/backends.py", line 46, in run_jobs
    results[key] = async_job.get()
  File "/home/ritave/SIO2/venv/local/lib/python2.7/site-packages/celery/result.py", line 175, in get
    raise self.backend.exception_to_python(meta['result'])
RuntimeError: Could not find output of time program. Captured output: Killed

The next step in the recipe was:

[u'grade_submission', u'oioioi.testrun.handlers.grade_submission']
The final evaluation environment (with recipe and error_handlers removed for readability) was:

{ u'check_outputs': False,
    u'compilation_message': u'',
    u'compilation_result': u'OK',
    u'compilation_result_size_limit': 10485760,
    u'compiled_file': u'/eval/asd/4/dcbde716-450f-4f47-89a3-d5e969cc0bec-exe@1417377645',
    u'compiler': u'system-cpp',
    u'contest_id': u'asd',
    u'eval_dir': u'/eval/asd/4',
    u'exec_mode': u'unsafe',
    u'extra_args': { },
    u'extra_files': { },
    u'is_rejudge': False,
    u'job_id': u'dcbde716-450f-4f47-89a3-d5e969cc0bec',
    u'language': u'cpp',
    u'problem_id': 3,
    u'problem_instance_id': 2,
    u'report_kinds': [u'TESTRUN'],
    u'round_id': 1,
    u'save_outputs': True,
    u'source_file': u'/submissions/asd/4.cpp@1417377642',
    u'submission_id': 4,
    u'submission_kind': u'TESTRUN',
    u'submission_owner': u'admin',
    u'tests': { u'test': { u'exec_mem_limit': 100,
                               u'exec_time_limit': 10,
                               u'in_file': u'/testruns/asd/4/in@1417377642',
                               u'name': u'test',
                               u'out_file': u'/testruns/asd/4/dcbde716-450f-4f47-89a3-d5e969cc0bec-out'}}}

 Comments   
Comment by Olaf Tomalka [ 2014-11-30 ]
Changing problem package to oioioi/sinolpack/files/test_simple_package.zip fixed the problem. I suspect older one had no input files
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1591] Allow running tests concurently Created: 2014-11-26  Updated: 2019-03-26  Resolved: 2016-01-31

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Adam Paszke

 Description   
We have 8 cores nowadays, let's make it run a bit faster than 1990s would we?

 Comments   
Comment by Gerrit Gerrit [ 2016-01-7 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-7 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-7 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-7 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-7 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-7 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-7 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-7 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-7 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-18 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.
Also, this commit lowers the number of users used in a slow ranking test.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-26 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.
Also, this commit lowers the number of users used in a slow ranking test.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87
Comment by Gerrit Gerrit [ 2016-01-28 ]
Change I7d86d90389ddf3ceb8cf16232fd084fd6b799b87, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2499

SIO-1591 Add a parallel test runner

test_parallel.py launches a specified number of processes that run
OIOIOI tests in parallel.
Also, this commit lowers the number of users used in a slow ranking test.

Change-Id: I7d86d90389ddf3ceb8cf16232fd084fd6b799b87




[SIO-1590] Compress files in filetracker behind the scenes Created: 2014-11-26  Updated: 2019-03-26  Resolved: 2018-05-28

Status: Closed
Project: The SIO2 project
Component/s: Filetracker
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
We could use some lightweight file compression in file tracker to compress bigger files (say, bigger than x mb) invisibly behind the scenes and unpack them when downloading. Smaller bandwith, smaller disk space requirements




[SIO-1589] Test run submit page doesn't show acceptable languages Created: 2014-11-24  Updated: 2019-03-26  Resolved: 2014-12-28

Status: Closed
Project: The SIO2 project
Component/s: Translations
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
http://i.imgur.com/sKoe6h6.png

 Comments   
Comment by Gerrit Gerrit [ 2014-12-1 ]
Change Ic0e1270b70a9894034713273cc3754b8402b664b, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2238

SIO-1217 Server now accepts testrun inputs packed as .zip files SIO-1589 Testrun now shows acceptable languages

Change-Id: Ic0e1270b70a9894034713273cc3754b8402b664b
Comment by Gerrit Gerrit [ 2014-12-1 ]
Change Ic0e1270b70a9894034713273cc3754b8402b664b, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2238

SIO-1217 Server now accepts testrun inputs packed as .zip files SIO-1589 Testrun now shows acceptable languages

Change-Id: Ic0e1270b70a9894034713273cc3754b8402b664b
Comment by Gerrit Gerrit [ 2014-12-7 ]
Change Ic0e1270b70a9894034713273cc3754b8402b664b, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2238

SIO-1217 SIO-1589 Server now accepts testrun inputs packed as .zip files

Archives are validated for safety as well as maximum file sizes compressed / decompressed.
base/util/archive.py now can return total uncompressed archive file size

Change-Id: Ic0e1270b70a9894034713273cc3754b8402b664b
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ic0e1270b70a9894034713273cc3754b8402b664b, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2238

SIO-1217 SIO-1589 Server now accepts testrun inputs packed as .zip files

Archives are validated for safety as well as maximum file sizes compressed / decompressed.
base/util/archive.py now can return total uncompressed archive file size

Change-Id: Ic0e1270b70a9894034713273cc3754b8402b664b
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ic0e1270b70a9894034713273cc3754b8402b664b, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2238

SIO-1217 SIO-1589 Server now accepts testrun inputs packed as .zip files

Archives are validated for safety as well as maximum file sizes compressed / decompressed.
base/util/archive.py now can return total uncompressed archive file size

Change-Id: Ic0e1270b70a9894034713273cc3754b8402b664b
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ic0e1270b70a9894034713273cc3754b8402b664b, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2238

SIO-1217 SIO-1589 Server now accepts testrun inputs packed as .zip files

Archives are validated for safety as well as maximum file sizes compressed / decompressed.
base/util/archive.py now can return total uncompressed archive file size
When viewing testrun submissions, user won't be able to preview input if it's in zip -> we don't wanna extract it on server

Change-Id: Ic0e1270b70a9894034713273cc3754b8402b664b
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ic0e1270b70a9894034713273cc3754b8402b664b, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2238

SIO-1217 SIO-1589 Server now accepts testrun inputs packed as .zip files

Archives are validated for safety as well as maximum file sizes compressed / decompressed.
base/util/archive.py now can return total uncompressed archive file size
When viewing testrun submissions, user won't be able to preview input if it's in zip -> we don't wanna extract it on server

Change-Id: Ic0e1270b70a9894034713273cc3754b8402b664b
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ic0e1270b70a9894034713273cc3754b8402b664b, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2238

SIO-1217 SIO-1589 Server now accepts testrun inputs packed as .zip files

Archives are validated for safety as well as maximum file sizes compressed / decompressed.
base/util/archive.py now can return total uncompressed archive file size
When viewing testrun submissions, user won't be able to preview input if it's in zip -> we don't wanna extract it on server

Change-Id: Ic0e1270b70a9894034713273cc3754b8402b664b
Comment by Gerrit Gerrit [ 2014-12-23 ]
Change Ic0e1270b70a9894034713273cc3754b8402b664b, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2238

SIO-1217 SIO-1589 Server now accepts testrun inputs packed as .zip files

Archives are validated for safety as well as maximum file sizes compressed / decompressed.
base/util/archive.py now can return total uncompressed archive file size
When viewing testrun submissions, user won't be able to preview input if it's in zip -> we don't wanna extract it on server

Change-Id: Ic0e1270b70a9894034713273cc3754b8402b664b




[SIO-1588] Allow for user registration without mail confirmation Created: 2014-11-24  Updated: 2019-03-26  Resolved: 2014-12-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Piotr Kozakowski
TAG Reviewer: Marek Sommer

 Comments   
Comment by Gerrit Gerrit [ 2014-11-30 ]
Change I97f64ef40d9f45946c004cb205603dfe2febf98d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2237

SIO-1588 Allow for user registration without mail confirmation

Change-Id: I97f64ef40d9f45946c004cb205603dfe2febf98d
Comment by Gerrit Gerrit [ 2014-12-3 ]
Change I97f64ef40d9f45946c004cb205603dfe2febf98d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2237

SIO-1588 Allow for user registration without mail confirmation

Change-Id: I97f64ef40d9f45946c004cb205603dfe2febf98d
Comment by Gerrit Gerrit [ 2014-12-10 ]
Change I97f64ef40d9f45946c004cb205603dfe2febf98d, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2237

SIO-1588 Allow for user registration without mail confirmation

Change-Id: I97f64ef40d9f45946c004cb205603dfe2febf98d
Comment by Gerrit Gerrit [ 2014-12-11 ]
Change I97f64ef40d9f45946c004cb205603dfe2febf98d, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2237

SIO-1588 Allow for user registration without mail confirmation

Change-Id: I97f64ef40d9f45946c004cb205603dfe2febf98d




[SIO-1587] "Permission Denied" when doing "su" from an admin-only page Created: 2014-11-19  Updated: 2019-03-26  Resolved: 2015-01-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Reviewer: Piotr Kozakowski

 Description   
After using "su" the user is redirected back to the page it performed the "su" action from. Frequently this is some admin view, which the user has no access to. Very frequently the admin sees the permission denied error after doing su. Instead it should be redirected to the contest dashboard in this case (or maybe simply always).

 Comments   
Comment by Gerrit Gerrit [ 2014-11-28 ]
Change I02c61135ba5bdf00145a6964361b9449595f0d24, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2236

SIO-1587 "Permission Denied" when doing "su" from an admin-only page

Change-Id: I02c61135ba5bdf00145a6964361b9449595f0d24
Comment by Gerrit Gerrit [ 2014-12-7 ]
Change I72e85acec281be319fe90896ebffabe24cbf679d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2240

SIO-1587 "Permission Denied" when doing "su" from an admin-only page

Change-Id: I72e85acec281be319fe90896ebffabe24cbf679d
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change I72e85acec281be319fe90896ebffabe24cbf679d, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2240

SIO-1587 "Permission Denied" when doing "su" from an admin-only page

Change-Id: I72e85acec281be319fe90896ebffabe24cbf679d




[SIO-1585] The e-mail notification about new question should be in system default language rather then in asker's current language. Created: 2014-11-12  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Rafał Stefański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1584] Switch to a JSON based serializer for serializing sessions Created: 2014-11-10  Updated: 2019-03-26  Resolved: 2014-12-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Minor
Reporter: Kamil Braun Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Reviewer: Kamil Braun

 Description   
The session serializer should be set to a JSON based serializer (which also allows to serialize datetimes) for security and future compatibility. More information:
https://docs.djangoproject.com/en/1.7/topics/http/sessions/#session-serialization

 Comments   
Comment by Gerrit Gerrit [ 2014-12-9 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17
Comment by Gerrit Gerrit [ 2014-12-9 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

<WIP>

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17
Comment by Gerrit Gerrit [ 2014-12-10 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17
Comment by Gerrit Gerrit [ 2014-12-10 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17
Comment by Gerrit Gerrit [ 2014-12-20 ]
Change If2c175b1e4d7a07a080bed1bd863c795767a3a17, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2242

SIO-1584 Switch to a JSON based serializer for serializing sessions

Change-Id: If2c175b1e4d7a07a080bed1bd863c795767a3a17




[SIO-1583] Refactor unpackmgr to run asynchronously with sioworkers Created: 2014-11-10  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Kamil Braun Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
In Celery 3.2 it won't be possible for a Celery task (in particular, unpackmgr_job) to block and wait for a result coming from another task (that is, call get(); in this case, unpackmgr_job waits for sioworkers to finish). If Celery 3.2 is going to be used, the unpack manager needs to be rewritten.

 Comments   
Comment by Gerrit Gerrit [ 2014-11-10 ]
Change I0c94bb7771090a38999ee89e08dda3208570b217, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2226

SIO-1344 Upgrade to Django 1.6

---
Update requirements

Upgrading to Django 1.6.
Grappelli 2.4.4 is not compatible with Django 1.6. Upgrading to 2.5.5.
Django-registration is no longer being supported nor is it compatible
with Django 1.6. Upgrading to django-registration-redux, a maintained
fork of django-registration.

---
Remove django-output-validator

Django-output-validator is not compatible with Django 1.6 and needs
to be removed.

---
Fix metaclass conflict in oioioi/base/admin.py's ModelAdmin

The class inheritance graph has changed in Django 1.6 compared to Django 1.5.
In particular, class BaseModelAdmin in django.conrib.admin.options.py now inherits
from six.with_metaclass(RenameBaseModelAdminMethods), while previously it inherited
from six.with_metaclass(forms.MediaDefiningClass). As a result, ModelAdmin's metaclass
ModelAdminMeta was no longer a subclass of metaclasses of all ModelAdmin's bases.

---
Upgrade to grappelli 2.5.5

---
Set STATIC_ROOT to '' during testing

Empty string ('') was the default value of STATIC_ROOT in Django 1.5.
In django 1.6, this value changed to None. The test settings file
relies on this value being equal to ''.

---
Set default to False for BooleanFields without defaults

In Django 1.5, if the programmer hasn't provided a default value
for a BooleanField, it was set to False. In Django 1.6 it is set
to None instead. Because of that, every BooleanField's default
value must be now explicitly set to False.
https://docs.djangoproject.com/en/1.6/releases/1.6/#booleanfield-no-longer-defaults-to-false

---
Upgrade to the new transaction APIs

The transaction management model has changed in Django 1.6,
and the old APIs were deprecated:
https://docs.djangoproject.com/en/1.6/releases/1.6/#new-transaction-management-model

---
Add a 'load time zone tables when using MySQL' step into README

Django 1.6 introduced time zone support for day, month, and week_day
lookups when UZE_TZ is True. This requires time zone definitions
in the database. Additional step needs to be taken when using MySQL.
https://docs.djangoproject.com/en/1.6/releases/1.6/#time-zone-aware-day-month-and-week-day-lookups

---
Change uidb36 parameter to uidb64 in templates

Before 1.6, Django used base 36 encoding of the User primary key in the password
reset views and URLs. These views have been modified to take a uidb64 parameter
instead of uidb36. Templates reversing this view needed to be modified accordingly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#django-contrib-auth-password-reset-uses-base-64-encoding-of-user-pk

---
Adjust to a WSGIRequest bugfix

There was a bug in Django 1.5 where a WSGIRequest instance didn't have
a resolver_match field if not explicitly set from outside. Now it defaults
to None. Code relying on previous behavior needed to be fixed.
https://github.com/django/django/commit/48ce167d895b7e2a9d00884a4a8679851fa890af

---
Explicitly silence some NoReverseMatch exceptions

In Django 1.5, when a NoReverseMatch exception was raised from a method
when rendering a template, it was silenced and the method returned
"(None)". It is no longer being silenced in Django 1.6, so we must
do it explicitly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#miscellaneous

---
Expecting 400 status code instead of SuspiciousOperation exception in tests

Since Django 1.6, when a SuspiciousOperation reaches the WSGI handler,
a handler400 mechanism and default view are used to return
a HttpResponseBadRequest, when previously this resulted in
an InternalServerError. Some tests needed to be changed accordingly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#minor-features

---
Fix a translation bug in django/contrib/auth by overriding the translation

---
Change has_auto_field to needs_explicit_pk_field in templates

In a Django 1.6 update the function has_auto_field has been renamed
to needs_explicit_pk_field. This caused TabularInline and StackedInline
to render incorrectly. Some templates needed to be changed accordingly.
https://github.com/django/django/commit/3aad955ea8db1592fad0012155eaa25b72e50dc5

---
Set the RabbitMQ broker as the default one

There was is a potential deadlock in the unpackmgr_job Celery task,
and since upgrading to Django 1.6, when using the Django database
as a broker, the deadlock actually takes place. A temporary "solution"
to this problem is to force users to use RabbitMQ as the default broker.
https://jira.sio2project.mimuw.edu.pl/browse/SIO-1583

---
Update the developer documentation

---
Set session serializer to PickleSerializer

The default session serializer was changed in Django 1.6 to JSONSerializer
for security reasons. For backwards compatibility it is set to
PickleSerializer, the previous default. This needs to be changed in
near future.
https://docs.djangoproject.com/en/1.6/releases/1.6/#default-session-serialization-switched-to-json

Change-Id: I0c94bb7771090a38999ee89e08dda3208570b217
Comment by Gerrit Gerrit [ 2014-11-10 ]
Change I0c94bb7771090a38999ee89e08dda3208570b217, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2226

SIO-1344 Upgrade to Django 1.6

---
Update requirements

Upgrading to Django 1.6.
Grappelli 2.4.4 is not compatible with Django 1.6. Upgrading to 2.5.5.
Django-registration is no longer being supported nor is it compatible
with Django 1.6. Upgrading to django-registration-redux, a maintained
fork of django-registration.

---
Remove django-output-validator

Django-output-validator is not compatible with Django 1.6 and needs
to be removed.

---
Fix metaclass conflict in oioioi/base/admin.py's ModelAdmin

The class inheritance graph has changed in Django 1.6 compared to Django 1.5.
In particular, class BaseModelAdmin in django.conrib.admin.options.py now inherits
from six.with_metaclass(RenameBaseModelAdminMethods), while previously it inherited
from six.with_metaclass(forms.MediaDefiningClass). As a result, ModelAdmin's metaclass
ModelAdminMeta was no longer a subclass of metaclasses of all ModelAdmin's bases.

---
Upgrade to grappelli 2.5.5

---
Set STATIC_ROOT to '' during testing

Empty string ('') was the default value of STATIC_ROOT in Django 1.5.
In django 1.6, this value changed to None. The test settings file
relies on this value being equal to ''.

---
Set default to False for BooleanFields without defaults

In Django 1.5, if the programmer hasn't provided a default value
for a BooleanField, it was set to False. In Django 1.6 it is set
to None instead. Because of that, every BooleanField's default
value must be now explicitly set to False.
https://docs.djangoproject.com/en/1.6/releases/1.6/#booleanfield-no-longer-defaults-to-false

---
Upgrade to the new transaction APIs

The transaction management model has changed in Django 1.6,
and the old APIs were deprecated:
https://docs.djangoproject.com/en/1.6/releases/1.6/#new-transaction-management-model

---
Add a 'load time zone tables when using MySQL' step into README

Django 1.6 introduced time zone support for day, month, and week_day
lookups when UZE_TZ is True. This requires time zone definitions
in the database. Additional step needs to be taken when using MySQL.
https://docs.djangoproject.com/en/1.6/releases/1.6/#time-zone-aware-day-month-and-week-day-lookups

---
Change uidb36 parameter to uidb64 in templates

Before 1.6, Django used base 36 encoding of the User primary key in the password
reset views and URLs. These views have been modified to take a uidb64 parameter
instead of uidb36. Templates reversing this view needed to be modified accordingly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#django-contrib-auth-password-reset-uses-base-64-encoding-of-user-pk

---
Adjust to a WSGIRequest bugfix

There was a bug in Django 1.5 where a WSGIRequest instance didn't have
a resolver_match field if not explicitly set from outside. Now it defaults
to None. Code relying on previous behavior needed to be fixed.
https://github.com/django/django/commit/48ce167d895b7e2a9d00884a4a8679851fa890af

---
Explicitly silence some NoReverseMatch exceptions

In Django 1.5, when a NoReverseMatch exception was raised from a method
when rendering a template, it was silenced and the method returned
"(None)". It is no longer being silenced in Django 1.6, so we must
do it explicitly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#miscellaneous

---
Expecting 400 status code instead of SuspiciousOperation exception in tests

Since Django 1.6, when a SuspiciousOperation reaches the WSGI handler,
a handler400 mechanism and default view are used to return
a HttpResponseBadRequest, when previously this resulted in
an InternalServerError. Some tests needed to be changed accordingly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#minor-features

---
Fix a translation bug in django/contrib/auth by overriding the translation

---
Change has_auto_field to needs_explicit_pk_field in templates

In a Django 1.6 update the function has_auto_field has been renamed
to needs_explicit_pk_field. This caused TabularInline and StackedInline
to render incorrectly. Some templates needed to be changed accordingly.
https://github.com/django/django/commit/3aad955ea8db1592fad0012155eaa25b72e50dc5

---
Set the RabbitMQ broker as the default one

There was is a potential deadlock in the unpackmgr_job Celery task,
and since upgrading to Django 1.6, when using the Django database
as a broker, the deadlock actually takes place. A temporary "solution"
to this problem is to force users to use RabbitMQ as the default broker.
https://jira.sio2project.mimuw.edu.pl/browse/SIO-1583

---
Update the developer documentation

---
Set session serializer to PickleSerializer

The default session serializer was changed in Django 1.6 to JSONSerializer
for security reasons. For backwards compatibility it is set to
PickleSerializer, the previous default. This needs to be changed in
near future.
https://docs.djangoproject.com/en/1.6/releases/1.6/#default-session-serialization-switched-to-json

Change-Id: I0c94bb7771090a38999ee89e08dda3208570b217
Comment by Gerrit Gerrit [ 2014-11-10 ]
Change I0c94bb7771090a38999ee89e08dda3208570b217, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2226

SIO-1344 Upgrade to Django 1.6

---
Update requirements

Upgrading to Django 1.6.
Grappelli 2.4.4 is not compatible with Django 1.6. Upgrading to 2.5.5.
Django-registration is no longer being supported nor is it compatible
with Django 1.6. Upgrading to django-registration-redux, a maintained
fork of django-registration.

---
Remove django-output-validator

Django-output-validator is not compatible with Django 1.6 and needs
to be removed.

---
Fix metaclass conflict in oioioi/base/admin.py's ModelAdmin

The class inheritance graph has changed in Django 1.6 compared to Django 1.5.
In particular, class BaseModelAdmin in django.conrib.admin.options.py now inherits
from six.with_metaclass(RenameBaseModelAdminMethods), while previously it inherited
from six.with_metaclass(forms.MediaDefiningClass). As a result, ModelAdmin's metaclass
ModelAdminMeta was no longer a subclass of metaclasses of all ModelAdmin's bases.

---
Upgrade to grappelli 2.5.5

---
Set STATIC_ROOT to '' during testing

Empty string ('') was the default value of STATIC_ROOT in Django 1.5.
In django 1.6, this value changed to None. The test settings file
relies on this value being equal to ''.

---
Set default to False for BooleanFields without defaults

In Django 1.5, if the programmer hasn't provided a default value
for a BooleanField, it was set to False. In Django 1.6 it is set
to None instead. Because of that, every BooleanField's default
value must be now explicitly set to False.
https://docs.djangoproject.com/en/1.6/releases/1.6/#booleanfield-no-longer-defaults-to-false

---
Upgrade to the new transaction APIs

The transaction management model has changed in Django 1.6,
and the old APIs were deprecated:
https://docs.djangoproject.com/en/1.6/releases/1.6/#new-transaction-management-model

---
Add a 'load time zone tables when using MySQL' step into README

Django 1.6 introduced time zone support for day, month, and week_day
lookups when UZE_TZ is True. This requires time zone definitions
in the database. Additional step needs to be taken when using MySQL.
https://docs.djangoproject.com/en/1.6/releases/1.6/#time-zone-aware-day-month-and-week-day-lookups

---
Change uidb36 parameter to uidb64 in templates

Before 1.6, Django used base 36 encoding of the User primary key in the password
reset views and URLs. These views have been modified to take a uidb64 parameter
instead of uidb36. Templates reversing this view needed to be modified accordingly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#django-contrib-auth-password-reset-uses-base-64-encoding-of-user-pk

---
Adjust to a WSGIRequest bugfix

There was a bug in Django 1.5 where a WSGIRequest instance didn't have
a resolver_match field if not explicitly set from outside. Now it defaults
to None. Code relying on previous behavior needed to be fixed.
https://github.com/django/django/commit/48ce167d895b7e2a9d00884a4a8679851fa890af

---
Explicitly silence some NoReverseMatch exceptions

In Django 1.5, when a NoReverseMatch exception was raised from a method
when rendering a template, it was silenced and the method returned
"(None)". It is no longer being silenced in Django 1.6, so we must
do it explicitly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#miscellaneous

---
Expecting 400 status code instead of SuspiciousOperation exception in tests

Since Django 1.6, when a SuspiciousOperation reaches the WSGI handler,
a handler400 mechanism and default view are used to return
a HttpResponseBadRequest, when previously this resulted in
an InternalServerError. Some tests needed to be changed accordingly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#minor-features

---
Fix a translation bug in django/contrib/auth by overriding the translation

---
Change has_auto_field to needs_explicit_pk_field in templates

In a Django 1.6 update the function has_auto_field has been renamed
to needs_explicit_pk_field. This caused TabularInline and StackedInline
to render incorrectly. Some templates needed to be changed accordingly.
https://github.com/django/django/commit/3aad955ea8db1592fad0012155eaa25b72e50dc5

---
Set the RabbitMQ broker as the default one

There was is a potential deadlock in the unpackmgr_job Celery task,
and since upgrading to Django 1.6, when using the Django database
as a broker, the deadlock actually takes place. A temporary "solution"
to this problem is to force users to use RabbitMQ as the default broker.
https://jira.sio2project.mimuw.edu.pl/browse/SIO-1583

---
Update the developer documentation

---
Set session serializer to PickleSerializer

The default session serializer was changed in Django 1.6 to JSONSerializer
for security reasons. For backwards compatibility it is set to
PickleSerializer, the previous default. This needs to be changed in
near future.
https://docs.djangoproject.com/en/1.6/releases/1.6/#default-session-serialization-switched-to-json

Change-Id: I0c94bb7771090a38999ee89e08dda3208570b217
Comment by Gerrit Gerrit [ 2014-11-10 ]
Change I0c94bb7771090a38999ee89e08dda3208570b217, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2226

SIO-1344 Upgrade to Django 1.6

---
Update requirements

Upgrading to Django 1.6.
Grappelli 2.4.4 is not compatible with Django 1.6. Upgrading to 2.5.5.
Django-registration is no longer being supported nor is it compatible
with Django 1.6. Upgrading to django-registration-redux, a maintained
fork of django-registration.

---
Remove django-output-validator

Django-output-validator is not compatible with Django 1.6 and needs
to be removed.

---
Fix metaclass conflict in oioioi/base/admin.py's ModelAdmin

The class inheritance graph has changed in Django 1.6 compared to Django 1.5.
In particular, class BaseModelAdmin in django.conrib.admin.options.py now inherits
from six.with_metaclass(RenameBaseModelAdminMethods), while previously it inherited
from six.with_metaclass(forms.MediaDefiningClass). As a result, ModelAdmin's metaclass
ModelAdminMeta was no longer a subclass of metaclasses of all ModelAdmin's bases.

---
Upgrade to grappelli 2.5.5

---
Set STATIC_ROOT to '' during testing

Empty string ('') was the default value of STATIC_ROOT in Django 1.5.
In django 1.6, this value changed to None. The test settings file
relies on this value being equal to ''.

---
Set default to False for BooleanFields without defaults

In Django 1.5, if the programmer hasn't provided a default value
for a BooleanField, it was set to False. In Django 1.6 it is set
to None instead. Because of that, every BooleanField's default
value must be now explicitly set to False.
https://docs.djangoproject.com/en/1.6/releases/1.6/#booleanfield-no-longer-defaults-to-false

---
Upgrade to the new transaction APIs

The transaction management model has changed in Django 1.6,
and the old APIs were deprecated:
https://docs.djangoproject.com/en/1.6/releases/1.6/#new-transaction-management-model

---
Change uidb36 parameter to uidb64 in templates

Before 1.6, Django used base 36 encoding of the User primary key in the password
reset views and URLs. These views have been modified to take a uidb64 parameter
instead of uidb36. Templates reversing this view needed to be modified accordingly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#django-contrib-auth-password-reset-uses-base-64-encoding-of-user-pk

---
Adjust to a WSGIRequest bugfix

There was a bug in Django 1.5 where a WSGIRequest instance didn't have
a resolver_match field if not explicitly set from outside. Now it defaults
to None. Code relying on previous behavior needed to be fixed.
https://github.com/django/django/commit/48ce167d895b7e2a9d00884a4a8679851fa890af

---
Explicitly silence some NoReverseMatch exceptions

In Django 1.5, when a NoReverseMatch exception was raised from a method
when rendering a template, it was silenced and the method returned
"(None)". It is no longer being silenced in Django 1.6, so we must
do it explicitly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#miscellaneous

---
Expecting 400 status code instead of SuspiciousOperation exception in tests

Since Django 1.6, when a SuspiciousOperation reaches the WSGI handler,
a handler400 mechanism and default view are used to return
a HttpResponseBadRequest, when previously this resulted in
an InternalServerError. Some tests needed to be changed accordingly.
https://docs.djangoproject.com/en/1.6/releases/1.6/#minor-features

---
Fix a translation bug in django/contrib/auth by overriding the translation

---
Change has_auto_field to needs_explicit_pk_field in templates

In a Django 1.6 update the function has_auto_field has been renamed
to needs_explicit_pk_field. This caused TabularInline and StackedInline
to render incorrectly. Some templates needed to be changed accordingly.
https://github.com/django/django/commit/3aad955ea8db1592fad0012155eaa25b72e50dc5

---
Set the RabbitMQ broker as the default one

There was is a potential deadlock in the unpackmgr_job Celery task,
and since upgrading to Django 1.6, when using the Django database
as a broker, the deadlock actually takes place. A temporary "solution"
to this problem is to force users to use RabbitMQ as the default broker.
https://jira.sio2project.mimuw.edu.pl/browse/SIO-1583

---
Update the developer documentation

---
Set session serializer to PickleSerializer

The default session serializer was changed in Django 1.6 to JSONSerializer
for security reasons. For backwards compatibility it is set to
PickleSerializer, the previous default. This needs to be changed in
near future.
https://docs.djangoproject.com/en/1.6/releases/1.6/#default-session-serialization-switched-to-json

Change-Id: I0c94bb7771090a38999ee89e08dda3208570b217




[SIO-1582] lessc: NameError: #grid > .core > .span is undefined Created: 2014-11-9  Updated: 2019-03-26  Resolved: 2015-01-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Reviewer: Marek Sommer

 Description   
https://github.com/sio2project/oioioi/issues/14

 Comments   
Comment by Olaf Tomalka [ 2014-11-10 ]
Seems like missing lessc compiler, did you follow installation process from here http://lesscss.org/#using-less and can start lessc in your command line?
Comment by Marcin Parafiniuk [ 2014-11-18 ]
I have the same problem.
Here's what I get after trying to manually compile said file with less: http://students.mimuw.edu.pl/~mp347235/less.png
It's a VM, ubuntu server. I followed all the instructions at https://github.com/sio2project/oioioi.
Comment by Szymon Acedański [ 2014-11-26 ]
So it seems that this problem happens with lessc 2 or newer. Workaround is to install less 1.*
Comment by Gerrit Gerrit [ 2014-12-16 ]
Change I1abead7a8ce6c8af998bcdd1a76e9dc3dc534f47, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2245

SIO-1581 Improve documentation on installing lessc/node

I'm assuming SIO-1582 will be resolved before this is merged,
so we don't need to mention those less-2.* problems.
TODO: maybe try nodeenv?

Change-Id: I1abead7a8ce6c8af998bcdd1a76e9dc3dc534f47
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change I776d9624a7fd8351a01612e744624ab7429a8465, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2248

SIO-1582 lessc: NameError: #grid > .core > .span is undefined

Change-Id: I776d9624a7fd8351a01612e744624ab7429a8465
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Idf170f9f1d5ed4a8990e4f46be123d93b29e4bd4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2249

SIO-1582 lessc: NameError: #grid > .core > .span is undefined

Change-Id: Idf170f9f1d5ed4a8990e4f46be123d93b29e4bd4
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Idf170f9f1d5ed4a8990e4f46be123d93b29e4bd4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2249

SIO-1582 lessc: NameError: #grid > .core > .span is undefined

Change-Id: Idf170f9f1d5ed4a8990e4f46be123d93b29e4bd4
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Idf170f9f1d5ed4a8990e4f46be123d93b29e4bd4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2249

SIO-1582 lessc: NameError: #grid > .core > .span is undefined

Change-Id: Idf170f9f1d5ed4a8990e4f46be123d93b29e4bd4
Comment by Gerrit Gerrit [ 2014-12-22 ]
Change Idf170f9f1d5ed4a8990e4f46be123d93b29e4bd4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2249

SIO-1582 lessc: NameError: #grid > .core > .span is undefined

Change-Id: Idf170f9f1d5ed4a8990e4f46be123d93b29e4bd4




[SIO-1581] Improve documentation on installing lessc/node Created: 2014-11-5  Updated: 2019-03-26  Resolved: 2014-12-20

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Bug Priority: Minor
Reporter: Bartosz Stebel Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Reviewer: Kuba Czerpak

 Description   
The current readme on Github links to a pastebin http://pastebin.com/u8nSj0yS which is out of date (npm is included in node now) and should be in our repo, not externally on pastebin.


 Comments   
Comment by Gerrit Gerrit [ 2014-12-14 ]
Change I1abead7a8ce6c8af998bcdd1a76e9dc3dc534f47, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2245

SIO-1581 Improve documentation on installing lessc/node

Change-Id: I1abead7a8ce6c8af998bcdd1a76e9dc3dc534f47
TODO: maybe try nodeenv?
Comment by Gerrit Gerrit [ 2014-12-16 ]
Change I1abead7a8ce6c8af998bcdd1a76e9dc3dc534f47, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2245

SIO-1581 Improve documentation on installing lessc/node

I'm assuming SIO-1582 will be resolved before this is merged,
so we don't need to mention those less-2.* problems.
TODO: maybe try nodeenv?

Change-Id: I1abead7a8ce6c8af998bcdd1a76e9dc3dc534f47




[SIO-1580] Support Django 1.7 Created: 2014-11-5  Updated: 2019-03-26  Resolved: 2014-12-20

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Reviewer: Patryk Czajka

 Comments   
Comment by Gerrit Gerrit [ 2014-12-12 ]
Change I7d8200a078f1abab26a0dfe957a13c30ccb44bc8, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2243

SIO-1580 Upgrade to Django 1.7

---
Fix and update documentation

This commit fixes a small bug in the documentation and updates
it to match the new Django version.
https://docs.djangoproject.com/en/1.7/releases/1.7/

---
Add deconstruct methods to custom Field classes where necessary

The schema migration system in Django 1.7 needs to know how to serialize
model fields before putting them into the database. The new deconstruct
method is added for this purpose similarly to South's introspection rules.
https://docs.djangoproject.com/en/1.7/releases/1.7/#new-method-on-field-subclasses

---
Update setup.py to account for new packages' versions

Updates Django to 1.7 and Grappelli to 2.6.x.

---
Remove South

South is a schema and data migration system for older Django versions.
Django 1.7 received its own migration system based on South, thus it is
not needed anymore nor is Django 1.7 supported by South.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Add new migration files

The new migration system is incompatible with the previous South format.
All migrations needed to be generated from scratch.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Rename the queryset method to get_queryset

Django 1.6 provided a new API for getting QuerySets from managers
and deprecated the old one. This change switches to the new API
and removes lots of deprecation warnings.
https://docs.djangoproject.com/en/1.7/releases/1.6/#get-query-set-and-similar-methods-renamed-to-get-queryset

---
Explicitly specify the Meta.fields attribute in ModelForms

Django 1.8 will require to explicitly provide the Meta.fields attribute
in ModelForms for security reasons and this generates deprecation warnings
which is fixed by this commit.
https://docs.djangoproject.com/en/1.7/releases/1.6/#modelform-without-fields-or-exclude

---
Change how ModelForms accesses the model instance provided in kwargs

Previously in some situations when there was no model instance provided
to the ModelForm constructor, the 'instance' key didn't exist at all
in the constructor's kwargs. A change in Django internals modifies this
behavior and this commit accounts for that.
https://github.com/django/django/commit/390001ce52802a7fa1fceeabfb646e6b32911fb9

---
Change how the Form.fields container is modified in some places

The Form.fields attribute was changed to be an OrderedDict instead
of a SortedDict in Django 1.7. Some come relied on the fields attribute
to provide an insert method, which OrderedDict doesn't have. This commit
uses a different way to insert into fields.
https://docs.djangoproject.com/en/1.7/releases/1.7/#django-utils-datastructures-sorteddict

---
Remove duplicated apps in test_settings.py

There were some applications that were listed twice in INSTALLED_APPS:
once in default_settings.py and once in test_settings.py. This caused
the new application registry to raise exceptions. These duplicates
are now removed.
https://docs.djangoproject.com/en/1.7/releases/1.7/#app-registry-consistency

---
Change the removed mimetype argument to content_type, its replacement

The 'mimetype' argument provided to some functions and methods was replaced
with the 'content_type' argument. This commit accounts for that.
https://docs.djangoproject.com/en/1.7/releases/1.7/#features-removed-in-1-7

---
Fix tests by providing necessary fixtures

Previously some tests had unfilled dependencies in the database
- models were loaded that depended on other models which weren't.
For some reason Django 1.6 didn't complain. Django 1.7 in such case
throws exceptions saying that constraints aren't met. This commit
splits some fixtures and fixes tests by loading the necessary ones.

---
Decorate models whose names start with 'Test' with the 'nottest' decorator

The test runner treats every name that starts with 'Test' as a potential test
to run. That includes model classes. This caused the new Django 1.7 app registry
to raise errors during testing. This change fixes it by decorating these model
classes with the 'nottest' decorator.

---
Replace oioioi's DefaultCache with Django's FileBasedCache

DefaultCache was created to patch a security issue existing in Django's
FileBasedCache. This issue is now fixed and DefaultCache is not needed
anymore.

---
Clear template cache in some tests

Some tests were dependent on a particular order in which tests were
being run. The order changed in Django 1.7 and this caused the cache
to provide wrong results. The cache needed to be cleared in some tests.

---
Postpone translations until after modules are loaded

Django can't run any translations before all modules are loaded.
Previously, translating at import time didn't cause an error and
it was a bug that couldn't be easly identified. With the new app
registry provided by Django 1.7 translating (e. g. calling ugettext)
before the app registry is ready raises an exception. This commit
fixes some places where this happened.
https://docs.djangoproject.com/en/1.7/ref/applications/#applications-troubleshooting

---
Remove the to_python method in ColorField and use default_validators instead

For some reason, during database migration, Django 1.7 creates model instances
and operates on them for internal purposes. During these operations, the to_python
method is being called. Since the ProblemBalloonsConfig model uses ColorField
and doesn't provide a default, ColorField's to_python method threw a ValidationError
as None is not a valid ColorField value. This change moves the validation process
outside of to_python by providing a proper validator in the default_validators field.

---
Monkey patch Django's ModelAdmin to fix a bug in model add/change views

There is a critical bug in Django described in this ticket:
https://code.djangoproject.com/ticket/23934
This commit monkey patches Django and applies the patch provided
in the ticket. The patch will need to be removed after Django 1.7.2
is released.

Change-Id: I7d8200a078f1abab26a0dfe957a13c30ccb44bc8
Comment by Gerrit Gerrit [ 2014-12-12 ]
Change I7d8200a078f1abab26a0dfe957a13c30ccb44bc8, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2243

SIO-1580 Upgrade to Django 1.7

---
Fix and update documentation

This commit fixes a small bug in the documentation and updates
it to match the new Django version.
https://docs.djangoproject.com/en/1.7/releases/1.7/

---
Add deconstruct methods to custom Field classes where necessary

The schema migration system in Django 1.7 needs to know how to serialize
model fields before putting them into the database. The new deconstruct
method is added for this purpose similarly to South's introspection rules.
https://docs.djangoproject.com/en/1.7/releases/1.7/#new-method-on-field-subclasses

---
Update setup.py to account for new packages' versions

Updates Django to 1.7 and Grappelli to 2.6.x.

---
Remove South

South is a schema and data migration system for older Django versions.
Django 1.7 received its own migration system based on South, thus it is
not needed anymore nor is Django 1.7 supported by South.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Add new migration files

The new migration system is incompatible with the previous South format.
All migrations needed to be generated from scratch.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Rename the queryset method to get_queryset

Django 1.6 provided a new API for getting QuerySets from managers
and deprecated the old one. This change switches to the new API
and removes lots of deprecation warnings.
https://docs.djangoproject.com/en/1.7/releases/1.6/#get-query-set-and-similar-methods-renamed-to-get-queryset

---
Explicitly specify the Meta.fields attribute in ModelForms

Django 1.8 will require to explicitly provide the Meta.fields attribute
in ModelForms for security reasons and this generates deprecation warnings
which is fixed by this commit.
https://docs.djangoproject.com/en/1.7/releases/1.6/#modelform-without-fields-or-exclude

---
Change how ModelForms accesses the model instance provided in kwargs

Previously in some situations when there was no model instance provided
to the ModelForm constructor, the 'instance' key didn't exist at all
in the constructor's kwargs. A change in Django internals modifies this
behavior and this commit accounts for that.
https://github.com/django/django/commit/390001ce52802a7fa1fceeabfb646e6b32911fb9

---
Change how the Form.fields container is modified in some places

The Form.fields attribute was changed to be an OrderedDict instead
of a SortedDict in Django 1.7. Some come relied on the fields attribute
to provide an insert method, which OrderedDict doesn't have. This commit
uses a different way to insert into fields.
https://docs.djangoproject.com/en/1.7/releases/1.7/#django-utils-datastructures-sorteddict

---
Remove duplicated apps in test_settings.py

There were some applications that were listed twice in INSTALLED_APPS:
once in default_settings.py and once in test_settings.py. This caused
the new application registry to raise exceptions. These duplicates
are now removed.
https://docs.djangoproject.com/en/1.7/releases/1.7/#app-registry-consistency

---
Change the removed mimetype argument to content_type, its replacement

The 'mimetype' argument provided to some functions and methods was replaced
with the 'content_type' argument. This commit accounts for that.
https://docs.djangoproject.com/en/1.7/releases/1.7/#features-removed-in-1-7

---
Fix tests by providing necessary fixtures

Previously some tests had unfilled dependencies in the database
- models were loaded that depended on other models which weren't.
For some reason Django 1.6 didn't complain. Django 1.7 in such case
throws exceptions saying that constraints aren't met. This commit
splits some fixtures and fixes tests by loading the necessary ones.

---
Decorate models whose names start with 'Test' with the 'nottest' decorator

The test runner treats every name that starts with 'Test' as a potential test
to run. That includes model classes. This caused the new Django 1.7 app registry
to raise errors during testing. This change fixes it by decorating these model
classes with the 'nottest' decorator.

---
Replace oioioi's DefaultCache with Django's FileBasedCache

DefaultCache was created to patch a security issue existing in Django's
FileBasedCache. This issue is now fixed and DefaultCache is not needed
anymore.

---
Clear template cache in some tests

Some tests were dependent on a particular order in which tests were
being run. The order changed in Django 1.7 and this caused the cache
to provide wrong results. The cache needed to be cleared in some tests.

---
Postpone translations until after modules are loaded

Django can't run any translations before all modules are loaded.
Previously, translating at import time didn't cause an error and
it was a bug that couldn't be easly identified. With the new app
registry provided by Django 1.7 translating (e. g. calling ugettext)
before the app registry is ready raises an exception. This commit
fixes some places where this happened.
https://docs.djangoproject.com/en/1.7/ref/applications/#applications-troubleshooting

---
Remove the to_python method in ColorField and use default_validators instead

For some reason, during database migration, Django 1.7 creates model instances
and operates on them for internal purposes. During these operations, the to_python
method is being called. Since the ProblemBalloonsConfig model uses ColorField
and doesn't provide a default, ColorField's to_python method threw a ValidationError
as None is not a valid ColorField value. This change moves the validation process
outside of to_python by providing a proper validator in the default_validators field.

---
Monkey patch Django's ModelAdmin to fix a bug in model add/change views

There is a critical bug in Django described in this ticket:
https://code.djangoproject.com/ticket/23934
This commit monkey patches Django and applies the patch provided
in the ticket. The patch will need to be removed after Django 1.7.2
is released.

---
Fix the overriden syncdb management command

The new syncdb command, unlike the old one, receives arguments
and the overriden version now accounts for that by defining
the proper method.

Change-Id: I7d8200a078f1abab26a0dfe957a13c30ccb44bc8
Comment by Gerrit Gerrit [ 2014-12-12 ]
Change I7d8200a078f1abab26a0dfe957a13c30ccb44bc8, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2243

SIO-1580 Upgrade to Django 1.7

---
Fix and update documentation

This commit fixes a small bug in the documentation and updates
it to match the new Django version.
https://docs.djangoproject.com/en/1.7/releases/1.7/

---
Add deconstruct methods to custom Field classes where necessary

The schema migration system in Django 1.7 needs to know how to serialize
model fields before putting them into the database. The new deconstruct
method is added for this purpose similarly to South's introspection rules.
https://docs.djangoproject.com/en/1.7/releases/1.7/#new-method-on-field-subclasses

---
Update setup.py to account for new packages' versions

Updates Django to 1.7 and Grappelli to 2.6.x.

---
Remove South

South is a schema and data migration system for older Django versions.
Django 1.7 received its own migration system based on South, thus it is
not needed anymore nor is Django 1.7 supported by South.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Add new migration files

The new migration system is incompatible with the previous South format.
All migrations needed to be generated from scratch.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Rename the queryset method to get_queryset

Django 1.6 provided a new API for getting QuerySets from managers
and deprecated the old one. This change switches to the new API
and removes lots of deprecation warnings.
https://docs.djangoproject.com/en/1.7/releases/1.6/#get-query-set-and-similar-methods-renamed-to-get-queryset

---
Explicitly specify the Meta.fields attribute in ModelForms

Django 1.8 will require to explicitly provide the Meta.fields attribute
in ModelForms for security reasons and this generates deprecation warnings
which is fixed by this commit.
https://docs.djangoproject.com/en/1.7/releases/1.6/#modelform-without-fields-or-exclude

---
Change how ModelForms accesses the model instance provided in kwargs

Previously in some situations when there was no model instance provided
to the ModelForm constructor, the 'instance' key didn't exist at all
in the constructor's kwargs. A change in Django internals modifies this
behavior and this commit accounts for that.
https://github.com/django/django/commit/390001ce52802a7fa1fceeabfb646e6b32911fb9

---
Change how the Form.fields container is modified in some places

The Form.fields attribute was changed to be an OrderedDict instead
of a SortedDict in Django 1.7. Some come relied on the fields attribute
to provide an insert method, which OrderedDict doesn't have. This commit
uses a different way to insert into fields.
https://docs.djangoproject.com/en/1.7/releases/1.7/#django-utils-datastructures-sorteddict

---
Remove duplicated apps in test_settings.py

There were some applications that were listed twice in INSTALLED_APPS:
once in default_settings.py and once in test_settings.py. This caused
the new application registry to raise exceptions. These duplicates
are now removed.
https://docs.djangoproject.com/en/1.7/releases/1.7/#app-registry-consistency

---
Change the removed mimetype argument to content_type, its replacement

The 'mimetype' argument provided to some functions and methods was replaced
with the 'content_type' argument. This commit accounts for that.
https://docs.djangoproject.com/en/1.7/releases/1.7/#features-removed-in-1-7

---
Fix tests by providing necessary fixtures

Previously some tests had unfilled dependencies in the database
- models were loaded that depended on other models which weren't.
For some reason Django 1.6 didn't complain. Django 1.7 in such case
throws exceptions saying that constraints aren't met. This commit
splits some fixtures and fixes tests by loading the necessary ones.

---
Decorate models whose names start with 'Test' with the 'nottest' decorator

The test runner treats every name that starts with 'Test' as a potential test
to run. That includes model classes. This caused the new Django 1.7 app registry
to raise errors during testing. This change fixes it by decorating these model
classes with the 'nottest' decorator.

---
Replace oioioi's DefaultCache with Django's FileBasedCache

DefaultCache was created to patch a security issue existing in Django's
FileBasedCache. This issue is now fixed and DefaultCache is not needed
anymore.

---
Clear template cache in some tests

Some tests were dependent on a particular order in which tests were
being run. The order changed in Django 1.7 and this caused the cache
to provide wrong results. The cache needed to be cleared in some tests.

---
Postpone translations until after modules are loaded

Django can't run any translations before all modules are loaded.
Previously, translating at import time didn't cause an error and
it was a bug that couldn't be easly identified. With the new app
registry provided by Django 1.7 translating (e. g. calling ugettext)
before the app registry is ready raises an exception. This commit
fixes some places where this happened.
https://docs.djangoproject.com/en/1.7/ref/applications/#applications-troubleshooting

---
Remove the to_python method in ColorField and use default_validators instead

For some reason, during database migration, Django 1.7 creates model instances
and operates on them for internal purposes. During these operations, the to_python
method is being called. Since the ProblemBalloonsConfig model uses ColorField
and doesn't provide a default, ColorField's to_python method threw a ValidationError
as None is not a valid ColorField value. This change moves the validation process
outside of to_python by providing a proper validator in the default_validators field.

---
Monkey patch Django's ModelAdmin to fix a bug in model add/change views

There is a critical bug in Django described in this ticket:
https://code.djangoproject.com/ticket/23934
This commit monkey patches Django and applies the patch provided
in the ticket. The patch will need to be removed after Django 1.7.2
is released.

---
Fix the overriden syncdb management command

The new syncdb command, unlike the old one, receives arguments
and the overriden version now accounts for that by defining
the proper method.

Change-Id: I7d8200a078f1abab26a0dfe957a13c30ccb44bc8
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change I7d8200a078f1abab26a0dfe957a13c30ccb44bc8, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2243

SIO-1580 Upgrade to Django 1.7

---
Fix and update documentation

This commit fixes a small bug in the documentation and updates
it to match the new Django version.
https://docs.djangoproject.com/en/1.7/releases/1.7/

---
Add deconstruct methods to custom Field classes where necessary

The schema migration system in Django 1.7 needs to know how to serialize
model fields before putting them into the database. The new deconstruct
method is added for this purpose similarly to South's introspection rules.
https://docs.djangoproject.com/en/1.7/releases/1.7/#new-method-on-field-subclasses

---
Update setup.py to account for new packages' versions

Updates Django to 1.7 and Grappelli to 2.6.x.

---
Remove South

South is a schema and data migration system for older Django versions.
Django 1.7 received its own migration system based on South, thus it is
not needed anymore nor is Django 1.7 supported by South.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Add new migration files

The new migration system is incompatible with the previous South format.
All migrations needed to be generated from scratch.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Rename the queryset method to get_queryset

Django 1.6 provided a new API for getting QuerySets from managers
and deprecated the old one. This change switches to the new API
and removes lots of deprecation warnings.
https://docs.djangoproject.com/en/1.7/releases/1.6/#get-query-set-and-similar-methods-renamed-to-get-queryset

---
Explicitly specify the Meta.fields attribute in ModelForms

Django 1.8 will require to explicitly provide the Meta.fields attribute
in ModelForms for security reasons and this generates deprecation warnings
which is fixed by this commit.
https://docs.djangoproject.com/en/1.7/releases/1.6/#modelform-without-fields-or-exclude

---
Change how ModelForms accesses the model instance provided in kwargs

Previously in some situations when there was no model instance provided
to the ModelForm constructor, the 'instance' key didn't exist at all
in the constructor's kwargs. A change in Django internals modifies this
behavior and this commit accounts for that.
https://github.com/django/django/commit/390001ce52802a7fa1fceeabfb646e6b32911fb9

---
Change how the Form.fields container is modified in some places

The Form.fields attribute was changed to be an OrderedDict instead
of a SortedDict in Django 1.7. Some come relied on the fields attribute
to provide an insert method, which OrderedDict doesn't have. This commit
uses a different way to insert into fields.
https://docs.djangoproject.com/en/1.7/releases/1.7/#django-utils-datastructures-sorteddict

---
Remove duplicated apps in test_settings.py

There were some applications that were listed twice in INSTALLED_APPS:
once in default_settings.py and once in test_settings.py. This caused
the new application registry to raise exceptions. These duplicates
are now removed.
https://docs.djangoproject.com/en/1.7/releases/1.7/#app-registry-consistency

---
Change the removed mimetype argument to content_type, its replacement

The 'mimetype' argument provided to some functions and methods was replaced
with the 'content_type' argument. This commit accounts for that.
https://docs.djangoproject.com/en/1.7/releases/1.7/#features-removed-in-1-7

---
Fix tests by providing necessary fixtures

Previously some tests had unfilled dependencies in the database
- models were loaded that depended on other models which weren't.
For some reason Django 1.6 didn't complain. Django 1.7 in such case
throws exceptions saying that constraints aren't met. This commit
splits some fixtures and fixes tests by loading the necessary ones.

---
Decorate models whose names start with 'Test' with the 'nottest' decorator

The test runner treats every name that starts with 'Test' as a potential test
to run. That includes model classes. This caused the new Django 1.7 app registry
to raise errors during testing. This change fixes it by decorating these model
classes with the 'nottest' decorator.

---
Replace oioioi's DefaultCache with Django's FileBasedCache

DefaultCache was created to patch a security issue existing in Django's
FileBasedCache. This issue is now fixed and DefaultCache is not needed
anymore.

---
Clear template cache in some tests

Some tests were dependent on a particular order in which tests were
being run. The order changed in Django 1.7 and this caused the cache
to provide wrong results. The cache needed to be cleared in some tests.

---
Postpone translations until after modules are loaded

Django can't run any translations before all modules are loaded.
Previously, translating at import time didn't cause an error and
it was a bug that couldn't be easly identified. With the new app
registry provided by Django 1.7 translating (e. g. calling ugettext)
before the app registry is ready raises an exception. This commit
fixes some places where this happened.
https://docs.djangoproject.com/en/1.7/ref/applications/#applications-troubleshooting

---
Remove the to_python method in ColorField and use default_validators instead

For some reason, during database migration, Django 1.7 creates model instances
and operates on them for internal purposes. During these operations, the to_python
method is being called. Since the ProblemBalloonsConfig model uses ColorField
and doesn't provide a default, ColorField's to_python method threw a ValidationError
as None is not a valid ColorField value. This change moves the validation process
outside of to_python by providing a proper validator in the default_validators field.

---
Monkey patch Django's ModelAdmin to fix a bug in model add/change views

There is a critical bug in Django described in this ticket:
https://code.djangoproject.com/ticket/23934
This commit monkey patches Django and applies the patch provided
in the ticket. The patch will need to be removed after Django 1.7.2
is released.

---
Move from the syncdb command to the migrate command

The new migrate command does everything the previous combination
of syncdb + migrate did. The syncdb command is now an alias for migrate
and is deprecated. This commit changes the overriden syncdb command
by renaming and fixing it appropriately and updates the documentation.

---
Add tools to aid upgrading from old versions of OIOIOI

Because of the new Django 1.7 migration system that replaces the old
South migration system, upgrading from previous versions of OIOIOI which
were based on the old system becomes a non-trivial process if user wants
to keep his old database. This commit adds a new ./manage.py command
that does exactly that in typical cases, adds auxilary files
and documents the process for advanced users.

Change-Id: I7d8200a078f1abab26a0dfe957a13c30ccb44bc8
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change I7d8200a078f1abab26a0dfe957a13c30ccb44bc8, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2243

SIO-1580 Upgrade to Django 1.7

---
Fix and update documentation

This commit fixes a small bug in the documentation and updates
it to match the new Django version.
https://docs.djangoproject.com/en/1.7/releases/1.7/

---
Add deconstruct methods to custom Field classes where necessary

The schema migration system in Django 1.7 needs to know how to serialize
model fields before putting them into the database. The new deconstruct
method is added for this purpose similarly to South's introspection rules.
https://docs.djangoproject.com/en/1.7/releases/1.7/#new-method-on-field-subclasses

---
Update setup.py to account for new packages' versions

Updates Django to 1.7 and Grappelli to 2.6.x.

---
Remove South

South is a schema and data migration system for older Django versions.
Django 1.7 received its own migration system based on South, thus it is
not needed anymore nor is Django 1.7 supported by South.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Add new migration files

The new migration system is incompatible with the previous South format.
All migrations needed to be generated from scratch.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Rename the queryset method to get_queryset

Django 1.6 provided a new API for getting QuerySets from managers
and deprecated the old one. This change switches to the new API
and removes lots of deprecation warnings.
https://docs.djangoproject.com/en/1.7/releases/1.6/#get-query-set-and-similar-methods-renamed-to-get-queryset

---
Explicitly specify the Meta.fields attribute in ModelForms

Django 1.8 will require to explicitly provide the Meta.fields attribute
in ModelForms for security reasons and this generates deprecation warnings
which is fixed by this commit.
https://docs.djangoproject.com/en/1.7/releases/1.6/#modelform-without-fields-or-exclude

---
Change how ModelForms accesses the model instance provided in kwargs

Previously in some situations when there was no model instance provided
to the ModelForm constructor, the 'instance' key didn't exist at all
in the constructor's kwargs. A change in Django internals modifies this
behavior and this commit accounts for that.
https://github.com/django/django/commit/390001ce52802a7fa1fceeabfb646e6b32911fb9

---
Change how the Form.fields container is modified in some places

The Form.fields attribute was changed to be an OrderedDict instead
of a SortedDict in Django 1.7. Some come relied on the fields attribute
to provide an insert method, which OrderedDict doesn't have. This commit
uses a different way to insert into fields.
https://docs.djangoproject.com/en/1.7/releases/1.7/#django-utils-datastructures-sorteddict

---
Remove duplicated apps in test_settings.py

There were some applications that were listed twice in INSTALLED_APPS:
once in default_settings.py and once in test_settings.py. This caused
the new application registry to raise exceptions. These duplicates
are now removed.
https://docs.djangoproject.com/en/1.7/releases/1.7/#app-registry-consistency

---
Change the removed mimetype argument to content_type, its replacement

The 'mimetype' argument provided to some functions and methods was replaced
with the 'content_type' argument. This commit accounts for that.
https://docs.djangoproject.com/en/1.7/releases/1.7/#features-removed-in-1-7

---
Fix tests by providing necessary fixtures

Previously some tests had unfilled dependencies in the database
- models were loaded that depended on other models which weren't.
For some reason Django 1.6 didn't complain. Django 1.7 in such case
throws exceptions saying that constraints aren't met. This commit
splits some fixtures and fixes tests by loading the necessary ones.

---
Decorate models whose names start with 'Test' with the 'nottest' decorator

The test runner treats every name that starts with 'Test' as a potential test
to run. That includes model classes. This caused the new Django 1.7 app registry
to raise errors during testing. This change fixes it by decorating these model
classes with the 'nottest' decorator.

---
Replace oioioi's DefaultCache with Django's FileBasedCache

DefaultCache was created to patch a security issue existing in Django's
FileBasedCache. This issue is now fixed and DefaultCache is not needed
anymore.

---
Clear template cache in some tests

Some tests were dependent on a particular order in which tests were
being run. The order changed in Django 1.7 and this caused the cache
to provide wrong results. The cache needed to be cleared in some tests.

---
Postpone translations until after modules are loaded

Django can't run any translations before all modules are loaded.
Previously, translating at import time didn't cause an error and
it was a bug that couldn't be easly identified. With the new app
registry provided by Django 1.7 translating (e. g. calling ugettext)
before the app registry is ready raises an exception. This commit
fixes some places where this happened.
https://docs.djangoproject.com/en/1.7/ref/applications/#applications-troubleshooting

---
Remove the to_python method in ColorField and use default_validators instead

For some reason, during database migration, Django 1.7 creates model instances
and operates on them for internal purposes. During these operations, the to_python
method is being called. Since the ProblemBalloonsConfig model uses ColorField
and doesn't provide a default, ColorField's to_python method threw a ValidationError
as None is not a valid ColorField value. This change moves the validation process
outside of to_python by providing a proper validator in the default_validators field.

---
Monkey patch Django's ModelAdmin to fix a bug in model add/change views

There is a critical bug in Django described in this ticket:
https://code.djangoproject.com/ticket/23934
This commit monkey patches Django and applies the patch provided
in the ticket. The patch will need to be removed after Django 1.7.2
is released.

---
Move from the syncdb command to the migrate command

The new migrate command does everything the previous combination
of syncdb + migrate did. The syncdb command is now an alias for migrate
and is deprecated. This commit changes the overriden syncdb command
by renaming and fixing it appropriately and updates the documentation.

---
Add tools to aid upgrading from old versions of OIOIOI

Because of the new Django 1.7 migration system that replaces the old
South migration system, upgrading from previous versions of OIOIOI which
were based on the old system becomes a non-trivial process if user wants
to keep his old database. This commit adds a new ./manage.py command
that does exactly that in typical cases, adds auxilary files
and documents the process for advanced users.

Change-Id: I7d8200a078f1abab26a0dfe957a13c30ccb44bc8
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change I7d8200a078f1abab26a0dfe957a13c30ccb44bc8, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2243

SIO-1580 Upgrade to Django 1.7

---
Fix and update documentation

This commit fixes a small bug in the documentation and updates
it to match the new Django version.
https://docs.djangoproject.com/en/1.7/releases/1.7/

---
Add deconstruct methods to custom Field classes where necessary

The schema migration system in Django 1.7 needs to know how to serialize
model fields before putting them into the database. The new deconstruct
method is added for this purpose similarly to South's introspection rules.
https://docs.djangoproject.com/en/1.7/releases/1.7/#new-method-on-field-subclasses

---
Update setup.py to account for new packages' versions

Updates Django to 1.7 and Grappelli to 2.6.x.

---
Remove South

South is a schema and data migration system for older Django versions.
Django 1.7 received its own migration system based on South, thus it is
not needed anymore nor is Django 1.7 supported by South.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Add new migration files

The new migration system is incompatible with the previous South format.
All migrations needed to be generated from scratch.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Rename the queryset method to get_queryset

Django 1.6 provided a new API for getting QuerySets from managers
and deprecated the old one. This change switches to the new API
and removes lots of deprecation warnings.
https://docs.djangoproject.com/en/1.7/releases/1.6/#get-query-set-and-similar-methods-renamed-to-get-queryset

---
Explicitly specify the Meta.fields attribute in ModelForms

Django 1.8 will require to explicitly provide the Meta.fields attribute
in ModelForms for security reasons and this generates deprecation warnings
which is fixed by this commit.
https://docs.djangoproject.com/en/1.7/releases/1.6/#modelform-without-fields-or-exclude

---
Change how ModelForms accesses the model instance provided in kwargs

Previously in some situations when there was no model instance provided
to the ModelForm constructor, the 'instance' key didn't exist at all
in the constructor's kwargs. A change in Django internals modifies this
behavior and this commit accounts for that.
https://github.com/django/django/commit/390001ce52802a7fa1fceeabfb646e6b32911fb9

---
Change how the Form.fields container is modified in some places

The Form.fields attribute was changed to be an OrderedDict instead
of a SortedDict in Django 1.7. Some come relied on the fields attribute
to provide an insert method, which OrderedDict doesn't have. This commit
uses a different way to insert into fields.
https://docs.djangoproject.com/en/1.7/releases/1.7/#django-utils-datastructures-sorteddict

---
Remove duplicated apps in test_settings.py

There were some applications that were listed twice in INSTALLED_APPS:
once in default_settings.py and once in test_settings.py. This caused
the new application registry to raise exceptions. These duplicates
are now removed.
https://docs.djangoproject.com/en/1.7/releases/1.7/#app-registry-consistency

---
Change the removed mimetype argument to content_type, its replacement

The 'mimetype' argument provided to some functions and methods was replaced
with the 'content_type' argument. This commit accounts for that.
https://docs.djangoproject.com/en/1.7/releases/1.7/#features-removed-in-1-7

---
Fix tests by providing necessary fixtures

Previously some tests had unfilled dependencies in the database
- models were loaded that depended on other models which weren't.
For some reason Django 1.6 didn't complain. Django 1.7 in such case
throws exceptions saying that constraints aren't met. This commit
splits some fixtures and fixes tests by loading the necessary ones.

---
Decorate models whose names start with 'Test' with the 'nottest' decorator

The test runner treats every name that starts with 'Test' as a potential test
to run. That includes model classes. This caused the new Django 1.7 app registry
to raise errors during testing. This change fixes it by decorating these model
classes with the 'nottest' decorator.

---
Replace oioioi's DefaultCache with Django's FileBasedCache

DefaultCache was created to patch a security issue existing in Django's
FileBasedCache. This issue is now fixed and DefaultCache is not needed
anymore.

---
Clear template cache in some tests

Some tests were dependent on a particular order in which tests were
being run. The order changed in Django 1.7 and this caused the cache
to provide wrong results. The cache needed to be cleared in some tests.

---
Postpone translations until after modules are loaded

Django can't run any translations before all modules are loaded.
Previously, translating at import time didn't cause an error and
it was a bug that couldn't be easly identified. With the new app
registry provided by Django 1.7 translating (e. g. calling ugettext)
before the app registry is ready raises an exception. This commit
fixes some places where this happened.
https://docs.djangoproject.com/en/1.7/ref/applications/#applications-troubleshooting

---
Remove the to_python method in ColorField and use default_validators instead

For some reason, during database migration, Django 1.7 creates model instances
and operates on them for internal purposes. During these operations, the to_python
method is being called. Since the ProblemBalloonsConfig model uses ColorField
and doesn't provide a default, ColorField's to_python method threw a ValidationError
as None is not a valid ColorField value. This change moves the validation process
outside of to_python by providing a proper validator in the default_validators field.

---
Monkey patch Django's ModelAdmin to fix a bug in model add/change views

There is a critical bug in Django described in this ticket:
https://code.djangoproject.com/ticket/23934
This commit monkey patches Django and applies the patch provided
in the ticket. The patch will need to be removed after Django 1.7.2
is released.

---
Move from the syncdb command to the migrate command

The new migrate command does everything the previous combination
of syncdb + migrate did. The syncdb command is now an alias for migrate
and is deprecated. This commit changes the overriden syncdb command
by renaming and fixing it appropriately and updates the documentation.

---
Add tools to aid upgrading from old versions of OIOIOI

Because of the new Django 1.7 migration system that replaces the old
South migration system, upgrading from previous versions of OIOIOI which
were based on the old system becomes a non-trivial process if user wants
to keep his old database. This commit adds a new ./manage.py command
that does exactly that in typical cases, adds auxilary files
and documents the process for advanced users.

Change-Id: I7d8200a078f1abab26a0dfe957a13c30ccb44bc8
Comment by Gerrit Gerrit [ 2014-12-20 ]
Change I7d8200a078f1abab26a0dfe957a13c30ccb44bc8, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2243

SIO-1580 Upgrade to Django 1.7

---
Fix and update documentation

This commit fixes a small bug in the documentation and updates
it to match the new Django version.
https://docs.djangoproject.com/en/1.7/releases/1.7/

---
Add deconstruct methods to custom Field classes where necessary

The schema migration system in Django 1.7 needs to know how to serialize
model fields before putting them into the database. The new deconstruct
method is added for this purpose similarly to South's introspection rules.
https://docs.djangoproject.com/en/1.7/releases/1.7/#new-method-on-field-subclasses

---
Update setup.py to account for new packages' versions

Updates Django to 1.7 and Grappelli to 2.6.x.

---
Remove South

South is a schema and data migration system for older Django versions.
Django 1.7 received its own migration system based on South, thus it is
not needed anymore nor is Django 1.7 supported by South.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Add new migration files

The new migration system is incompatible with the previous South format.
All migrations needed to be generated from scratch.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Rename the queryset method to get_queryset

Django 1.6 provided a new API for getting QuerySets from managers
and deprecated the old one. This change switches to the new API
and removes lots of deprecation warnings.
https://docs.djangoproject.com/en/1.7/releases/1.6/#get-query-set-and-similar-methods-renamed-to-get-queryset

---
Explicitly specify the Meta.fields attribute in ModelForms

Django 1.8 will require to explicitly provide the Meta.fields attribute
in ModelForms for security reasons and this generates deprecation warnings
which is fixed by this commit.
https://docs.djangoproject.com/en/1.7/releases/1.6/#modelform-without-fields-or-exclude

---
Change how ModelForms accesses the model instance provided in kwargs

Previously in some situations when there was no model instance provided
to the ModelForm constructor, the 'instance' key didn't exist at all
in the constructor's kwargs. A change in Django internals modifies this
behavior and this commit accounts for that.
https://github.com/django/django/commit/390001ce52802a7fa1fceeabfb646e6b32911fb9

---
Change how the Form.fields container is modified in some places

The Form.fields attribute was changed to be an OrderedDict instead
of a SortedDict in Django 1.7. Some come relied on the fields attribute
to provide an insert method, which OrderedDict doesn't have. This commit
uses a different way to insert into fields.
https://docs.djangoproject.com/en/1.7/releases/1.7/#django-utils-datastructures-sorteddict

---
Remove duplicated apps in test_settings.py

There were some applications that were listed twice in INSTALLED_APPS:
once in default_settings.py and once in test_settings.py. This caused
the new application registry to raise exceptions. These duplicates
are now removed.
https://docs.djangoproject.com/en/1.7/releases/1.7/#app-registry-consistency

---
Change the removed mimetype argument to content_type, its replacement

The 'mimetype' argument provided to some functions and methods was replaced
with the 'content_type' argument. This commit accounts for that.
https://docs.djangoproject.com/en/1.7/releases/1.7/#features-removed-in-1-7

---
Fix tests by providing necessary fixtures

Previously some tests had unfilled dependencies in the database
- models were loaded that depended on other models which weren't.
For some reason Django 1.6 didn't complain. Django 1.7 in such case
throws exceptions saying that constraints aren't met. This commit
splits some fixtures and fixes tests by loading the necessary ones.

---
Decorate models whose names start with 'Test' with the 'nottest' decorator

The test runner treats every name that starts with 'Test' as a potential test
to run. That includes model classes. This caused the new Django 1.7 app registry
to raise errors during testing. This change fixes it by decorating these model
classes with the 'nottest' decorator.

---
Replace oioioi's DefaultCache with Django's FileBasedCache

DefaultCache was created to patch a security issue existing in Django's
FileBasedCache. This issue is now fixed and DefaultCache is not needed
anymore.

---
Clear template cache in some tests

Some tests were dependent on a particular order in which tests were
being run. The order changed in Django 1.7 and this caused the cache
to provide wrong results. The cache needed to be cleared in some tests.

---
Postpone translations until after modules are loaded

Django can't run any translations before all modules are loaded.
Previously, translating at import time didn't cause an error and
it was a bug that couldn't be easly identified. With the new app
registry provided by Django 1.7 translating (e. g. calling ugettext)
before the app registry is ready raises an exception. This commit
fixes some places where this happened.
https://docs.djangoproject.com/en/1.7/ref/applications/#applications-troubleshooting

---
Remove the to_python method in ColorField and use default_validators instead

For some reason, during database migration, Django 1.7 creates model instances
and operates on them for internal purposes. During these operations, the to_python
method is being called. Since the ProblemBalloonsConfig model uses ColorField
and doesn't provide a default, ColorField's to_python method threw a ValidationError
as None is not a valid ColorField value. This change moves the validation process
outside of to_python by providing a proper validator in the default_validators field.

---
Monkey patch Django's ModelAdmin to fix a bug in model add/change views

There is a critical bug in Django described in this ticket:
https://code.djangoproject.com/ticket/23934
This commit monkey patches Django and applies the patch provided
in the ticket. The patch will need to be removed after Django 1.7.2
is released.

---
Move from the syncdb command to the migrate command

The new migrate command does everything the previous combination
of syncdb + migrate did. The syncdb command is now an alias for migrate
and is deprecated. This commit changes the overriden syncdb command
by renaming and fixing it appropriately and updates the documentation.

---
Add tools to aid upgrading from old versions of OIOIOI

Because of the new Django 1.7 migration system that replaces the old
South migration system, upgrading from previous versions of OIOIOI which
were based on the old system becomes a non-trivial process if user wants
to keep his old database. This commit adds a new ./manage.py command
that does exactly that in typical cases, adds auxilary files
and documents the process for advanced users.

Change-Id: I7d8200a078f1abab26a0dfe957a13c30ccb44bc8
Comment by Gerrit Gerrit [ 2014-12-20 ]
Change I7d8200a078f1abab26a0dfe957a13c30ccb44bc8, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2243

SIO-1580 Upgrade to Django 1.7

---
Fix and update documentation

This commit fixes a small bug in the documentation and updates
it to match the new Django version.
https://docs.djangoproject.com/en/1.7/releases/1.7/

---
Add deconstruct methods to custom Field classes where necessary

The schema migration system in Django 1.7 needs to know how to serialize
model fields before putting them into the database. The new deconstruct
method is added for this purpose similarly to South's introspection rules.
https://docs.djangoproject.com/en/1.7/releases/1.7/#new-method-on-field-subclasses

---
Update setup.py to account for new packages' versions

Updates Django to 1.7 and Grappelli to 2.6.x.

---
Remove South

South is a schema and data migration system for older Django versions.
Django 1.7 received its own migration system based on South, thus it is
not needed anymore nor is Django 1.7 supported by South.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Add new migration files

The new migration system is incompatible with the previous South format.
All migrations needed to be generated from scratch.
https://docs.djangoproject.com/en/1.7/releases/1.7/#schema-migrations

---
Rename the queryset method to get_queryset

Django 1.6 provided a new API for getting QuerySets from managers
and deprecated the old one. This change switches to the new API
and removes lots of deprecation warnings.
https://docs.djangoproject.com/en/1.7/releases/1.6/#get-query-set-and-similar-methods-renamed-to-get-queryset

---
Explicitly specify the Meta.fields attribute in ModelForms

Django 1.8 will require to explicitly provide the Meta.fields attribute
in ModelForms for security reasons and this generates deprecation warnings
which is fixed by this commit.
https://docs.djangoproject.com/en/1.7/releases/1.6/#modelform-without-fields-or-exclude

---
Change how ModelForms accesses the model instance provided in kwargs

Previously in some situations when there was no model instance provided
to the ModelForm constructor, the 'instance' key didn't exist at all
in the constructor's kwargs. A change in Django internals modifies this
behavior and this commit accounts for that.
https://github.com/django/django/commit/390001ce52802a7fa1fceeabfb646e6b32911fb9

---
Change how the Form.fields container is modified in some places

The Form.fields attribute was changed to be an OrderedDict instead
of a SortedDict in Django 1.7. Some come relied on the fields attribute
to provide an insert method, which OrderedDict doesn't have. This commit
uses a different way to insert into fields.
https://docs.djangoproject.com/en/1.7/releases/1.7/#django-utils-datastructures-sorteddict

---
Remove duplicated apps in test_settings.py

There were some applications that were listed twice in INSTALLED_APPS:
once in default_settings.py and once in test_settings.py. This caused
the new application registry to raise exceptions. These duplicates
are now removed.
https://docs.djangoproject.com/en/1.7/releases/1.7/#app-registry-consistency

---
Change the removed mimetype argument to content_type, its replacement

The 'mimetype' argument provided to some functions and methods was replaced
with the 'content_type' argument. This commit accounts for that.
https://docs.djangoproject.com/en/1.7/releases/1.7/#features-removed-in-1-7

---
Fix tests by providing necessary fixtures

Previously some tests had unfilled dependencies in the database
- models were loaded that depended on other models which weren't.
For some reason Django 1.6 didn't complain. Django 1.7 in such case
throws exceptions saying that constraints aren't met. This commit
splits some fixtures and fixes tests by loading the necessary ones.

---
Decorate models whose names start with 'Test' with the 'nottest' decorator

The test runner treats every name that starts with 'Test' as a potential test
to run. That includes model classes. This caused the new Django 1.7 app registry
to raise errors during testing. This change fixes it by decorating these model
classes with the 'nottest' decorator.

---
Replace oioioi's DefaultCache with Django's FileBasedCache

DefaultCache was created to patch a security issue existing in Django's
FileBasedCache. This issue is now fixed and DefaultCache is not needed
anymore.

---
Clear template cache in some tests

Some tests were dependent on a particular order in which tests were
being run. The order changed in Django 1.7 and this caused the cache
to provide wrong results. The cache needed to be cleared in some tests.

---
Postpone translations until after modules are loaded

Django can't run any translations before all modules are loaded.
Previously, translating at import time didn't cause an error and
it was a bug that couldn't be easly identified. With the new app
registry provided by Django 1.7 translating (e. g. calling ugettext)
before the app registry is ready raises an exception. This commit
fixes some places where this happened.
https://docs.djangoproject.com/en/1.7/ref/applications/#applications-troubleshooting

---
Remove the to_python method in ColorField and use default_validators instead

For some reason, during database migration, Django 1.7 creates model instances
and operates on them for internal purposes. During these operations, the to_python
method is being called. Since the ProblemBalloonsConfig model uses ColorField
and doesn't provide a default, ColorField's to_python method threw a ValidationError
as None is not a valid ColorField value. This change moves the validation process
outside of to_python by providing a proper validator in the default_validators field.

---
Monkey patch Django's ModelAdmin to fix a bug in model add/change views

There is a critical bug in Django described in this ticket:
https://code.djangoproject.com/ticket/23934
This commit monkey patches Django and applies the patch provided
in the ticket. The patch will need to be removed after Django 1.7.2
is released.

---
Move from the syncdb command to the migrate command

The new migrate command does everything the previous combination
of syncdb + migrate did. The syncdb command is now an alias for migrate
and is deprecated. This commit changes the overriden syncdb command
by renaming and fixing it appropriately and updates the documentation.

---
Add tools to aid upgrading from old versions of OIOIOI

Because of the new Django 1.7 migration system that replaces the old
South migration system, upgrading from previous versions of OIOIOI which
were based on the old system becomes a non-trivial process if user wants
to keep his old database. This commit adds a new ./manage.py command
that does exactly that in typical cases, adds auxilary files
and documents the process for advanced users.

Change-Id: I7d8200a078f1abab26a0dfe957a13c30ccb44bc8




[SIO-1579] Programs module referenced in contests/templates/contests/submit.html Created: 2014-11-2  Updated: 2019-03-26  Resolved: 2018-04-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2017/18 Sprint 1

Type: Bug Priority: Major
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
In https://github.com/sio2project/oioioi/blob/master/oioioi/contests/templates/contests/submit.html#L7 a script responsible for handling forms from oioioi.programs is executed.

This shouldn't be there, as oioioi.contests is contest-type agnostic. It looks like a silly hack.

 Comments   
Comment by Gerrit Gerrit [ 2018-03-29 ]
Change oioioi~master~I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2972

(SIO-1579) Programs module referenced in contests app

Deleted some references of programs module in contests app and moved logic responsible for handling code and language picker fields in submit form to programs module.

Change-Id: I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5
Comment by Gerrit Gerrit [ 2018-03-29 ]
Change oioioi~master~I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2972

(SIO-1579) Programs module referenced in contests app

Deleted some references of programs module in contests app and moved
logic responsible for handling code and language picker fields in submit
form to programs module.

Change-Id: I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5
Comment by Gerrit Gerrit [ 2018-03-29 ]
Change oioioi~master~I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2972

(SIO-1579) Programs module referenced in contests app

Deleted some references of programs module in contests app and moved logic responsible for handling code and language picker fields in submit form to programs module.

Change-Id: I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5
Comment by Maciej Matraszek [ 2018-03-29 ]
<3 I love seeing my bugreports resolved after 3.5 years :)!
Comment by Gerrit Gerrit [ 2018-03-30 ]
Change oioioi~master~I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2972

(SIO-1579) Programs module referenced in contests app

Deleted some references of programs module in contests app and moved
logic responsible for handling code and language picker fields in submit
form to programs module.

Change-Id: I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5
Comment by Gerrit Gerrit [ 2018-03-30 ]
Change oioioi~master~I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2972

(SIO-1579) Programs module referenced in contests app

Deleted some references of programs module in contests app and moved
logic responsible for handling code and language picker fields in submit
form to programs module.

Change-Id: I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5
Comment by Gerrit Gerrit [ 2018-03-30 ]
Change oioioi~master~I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2972

(SIO-1579) Programs module referenced in contests app

Deleted some references of programs module in contests app and moved
logic responsible for handling code and language picker fields in submit
form to programs module.

Change-Id: I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5
Comment by Gerrit Gerrit [ 2018-03-31 ]
Change oioioi~master~I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2972

(SIO-1579) Programs module referenced in contests app

Deleted some references of programs module in contests app and moved
logic responsible for handling code and language picker fields in submit
form to programs module.

Change-Id: I5938d6861dfb8fe4c2149fd42e49a55b1a2bcaa5




[SIO-1578] "Forbidden" when a contest admin tries to download in or out file in the report view Created: 2014-10-29  Updated: 2019-03-26  Due: 2014-11-12  Resolved: 2014-12-3

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Reviewer: Kuba Czerpak

 Comments   
Comment by Gerrit Gerrit [ 2014-11-25 ]
Change I2a5b501e99f98d9990eb8b4b4b204a931f56308a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2232

SIO-1578 "Forbidden" when a contest admin tries to download in or out file in the report view

<work in progress>

Change-Id: I2a5b501e99f98d9990eb8b4b4b204a931f56308a
Comment by Gerrit Gerrit [ 2014-11-25 ]
Change I2a5b501e99f98d9990eb8b4b4b204a931f56308a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2232

SIO-1578 "Forbidden" when a contest admin tries to download in or out file in the report view

<work in progress>

Change-Id: I2a5b501e99f98d9990eb8b4b4b204a931f56308a
Comment by Gerrit Gerrit [ 2014-11-25 ]
Change I2a5b501e99f98d9990eb8b4b4b204a931f56308a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2232

SIO-1578 "Forbidden" when a contest admin tries to download in or out file in the report view

<work in progress>

Change-Id: I2a5b501e99f98d9990eb8b4b4b204a931f56308a
Comment by Gerrit Gerrit [ 2014-11-25 ]
Change I2a5b501e99f98d9990eb8b4b4b204a931f56308a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2232

SIO-1578 "Forbidden" when a contest admin tries to download in or out file in the report view

Contest admins now have permission to admin problems
which have a ProblemInstance in their contest.

Change-Id: I2a5b501e99f98d9990eb8b4b4b204a931f56308a




[SIO-1577] Use Python version of lessc Created: 2014-10-29  Updated: 2019-03-26  Due: 2014-11-12  Resolved: 2014-11-4

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None

TAG Developer: Olaf Tomalka

 Comments   
Comment by Olaf Tomalka [ 2014-11-4 ]
The only port of LESS to python is not 1:1 compatible with standard lessc, resulting in compilation errors on our files
Due to https://github.com/lesscpy/lesscpy/issues/54 our base/static/less/navbar.less fails to compile.
Seeing as the lesscpy project is slowly dying, implementation of new features / bugfixes might not happen.

What I am getting around to is: when developing for SIO2 we would have to keep in mind the differences between the implementations, or make changes to lesscpy ourselves.
Do we really want to do that just to have 1 dependency less?
Comment by Szymon Acedański [ 2014-11-4 ]
I think we don't...

On Tue, Nov 4, 2014, 18:45 Olaf Tomalka (JIRA) <sio2-jira@dasie.mimuw.edu.pl>
wrote:

> Olaf Tomalka
> <https://jira.sio2project.mimuw.edu.pl/secure/ViewProfile.jspa?name=ritave>
> *commented* on an issue Re: Use Python version of lessc
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1577> The only
> port of LESS to python is not 1:1 compatible with standard lessc, resulting
> in compilation errors on our files
> Due to https://github.com/lesscpy/lesscpy/issues/54 our
> base/static/less/navbar.less fails to compile.
> Seeing as the lesscpy project is slowly dying, implementation of new
> features / bugfixes might not happen.
>
> What I am getting around to is: when developing for SIO2 we would have to
> keep in mind the differences between the implementations, or make changes
> to lesscpy ourselves.
> Do we really want to do that just to have 1 dependency less? [image:
> Add Comment]
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1577#add-comment> Add
> Comment
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1577#add-comment>
>
> The SIO2 project <https://jira.sio2project.mimuw.edu.pl/browse/SIO> / [image:
> Improvement] <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1577>
> SIO-1577 <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1577> Use
> Python version of lessc
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1577>
> This message was sent by Atlassian JIRA (v6.1#6144-sha1:2e50328) [image:
> Atlassian logo]
>




[SIO-1576] Notifications: some events sould automatically mark notifications as read Created: 2014-10-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
For example when the user visits the list of submissions, the notifications that they were judged should be automatically dismissed.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1575] Notifications: on ACM contests important notifications should automatically po up Created: 2014-10-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
or even use HTML5 notification API.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1574] oisubmitservice's submit.py fails when the submitted file has non-ASCII characters Created: 2014-10-25  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1573] Clock shows wrong time after clicking Back in the browser Created: 2014-10-25  Updated: 2019-03-26  Resolved: 2015-11-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
When one clicks back in the browser, it does not necessarily re-does the request, but instead uses the cached HTML file. Therefore the initial status dictionary is not up-to-date.

 Comments   
Comment by Gerrit Gerrit [ 2015-11-12 ]
Change I21e3f2fb9419d994587d2e1789cf0e61878defe5, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2471

SIO-1573 Clock shows wrong time after clicking Back in the browser

Clock now requests status update from the server if we detect
that user uses cached version of the webpage.

Change-Id: I21e3f2fb9419d994587d2e1789cf0e61878defe5
Comment by Gerrit Gerrit [ 2015-11-24 ]
Change I21e3f2fb9419d994587d2e1789cf0e61878defe5, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2471

SIO-1573 Clock shows wrong time after clicking Back in the browser

Clock now requests status update from the server if we detect
that user uses cached version of the webpage.

Change-Id: I21e3f2fb9419d994587d2e1789cf0e61878defe5




[SIO-1572] Timeline module doesn't work with AM/PM based clocks Created: 2014-10-22  Updated: 2019-03-26  Resolved: 2014-10-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None
Environment: Linux Mint on VirtualBox on Windows 8.
Repo: 2c2879bd2b960d6eeb18757d81f001d254b05ec8

Attachments: PNG File Screenshot (77).png    
Issue Links:
Duplicate
duplicates SIO-1570 Timeline module doesn't work with AM/... Closed

 Description   
Timelines are shown using 24h clock while the server is using AM/PM clock. On the screenshot the contest has already started and I can submit tasks as a normal user, while timeline shows differently.
When the starting time is set to before 5am the timeline works as intended, suggesting that it's 24h clock is compared to server's 12h one.




[SIO-1571] Add rejudge option for ProblemPackage queue Created: 2014-10-22  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Trivial
Reporter: Tomasz Zakrzewski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

TAG Developer: Mateusz Śmiech
TAG Reviewer: Stanisław Barzowski

 Description   
It's useful when there's something wrong with the underlying environment (compiler, celery, SIO bug). Right now, to add a problem package that got an error while being evaluated (or was evaluated in an environment we didn't want it to evaluate in), you need to remove the package and then add it again.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1570] Timeline module doesn't work with AM/PM based clocks Created: 2014-10-22  Updated: 2019-03-26  Resolved: 2016-02-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: tag1
Environment: Linux Mint on VirtualBox on Windows 8.
Repo: 2c2879bd2b960d6eeb18757d81f001d254b05ec8

Attachments: PNG File Screenshot (77).png    
Issue Links:
Duplicate
is duplicated by SIO-1572 Timeline module doesn't work with AM/... Closed
TAG Developer: Piotr Wiśniewski
TAG Reviewer: Wojciech Jabłoński

 Description   
Timelines are shown using 24h clock while the server is using AM/PM clock. On the screenshot the contest has already started and I can submit tasks as a normal user, while timeline shows differently.
When the starting time is set to before 5am the timeline works as intended, suggesting that it's 24h clock is compared to server's 12h one.

 Comments   
Comment by Gerrit Gerrit [ 2015-11-16 ]
Change Ib15d396f1ba65637e7028bd28d0d0b1c07abec36, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2475

SIO-1570 Timeline module doesn't work with AM/PM based clocks

The problem was that dateboxes think that dates are in utc format
but they are really in server timezone format. Problem solved by
adding difference between timezones to Date.now() value.

Change-Id: Ib15d396f1ba65637e7028bd28d0d0b1c07abec36
Comment by Gerrit Gerrit [ 2015-12-3 ]
Change Ib15d396f1ba65637e7028bd28d0d0b1c07abec35, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2484

SIO-1570 Timeline module doesn't work with AM/PM based clocks

The problem was that dateboxes think that dates are in utc format
but they are really in server timezone format. Problem solved by
using Moment Timezone object.

Change-Id: Ib15d396f1ba65637e7028bd28d0d0b1c07abec35
Comment by Gerrit Gerrit [ 2015-12-3 ]
Change Ib15d396f1ba65637e7028bd28d0d0b1c07abec35, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2484

SIO-1570 Timeline module doesn't work with AM/PM based clocks

The problem was that dateboxes think that dates are in utc format
but they are really in server timezone format. Problem solved by
using Moment Timezone object.

Change-Id: Ib15d396f1ba65637e7028bd28d0d0b1c07abec35
Comment by Gerrit Gerrit [ 2015-12-3 ]
Change Ib15d396f1ba65637e7028bd28d0d0b1c07abec35, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2484

SIO-1570 Timeline module doesn't work with AM/PM based clocks

The problem was that dateboxes think that dates are in utc format
but they are really in server timezone format. Problem solved by
using Moment Timezone object.

Change-Id: Ib15d396f1ba65637e7028bd28d0d0b1c07abec35
Comment by Gerrit Gerrit [ 2015-12-17 ]
Change Ib15d396f1ba65637e7028bd28d0d0b1c07abec35, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2484

SIO-1570 Timeline module doesn't work with AM/PM based clocks

The problem was that dateboxes think that dates are in utc format
but they are really in server timezone format. Problem solved by
using Moment Timezone object.

Change-Id: Ib15d396f1ba65637e7028bd28d0d0b1c07abec35




[SIO-1569] Round time-left doesn't show which round is active Created: 2014-10-18  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Olaf Tomalka Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None
Environment: Szkopul.edu.pl


 Description   
Having three different rounds running at the same time I can't see which one is counting down right now, is it the first one? The second? Or maybe the whole contest is ending?

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1568] Add integration test for checking that installation in empty venv succeeds. Created: 2014-10-2  Updated: 2019-03-26  Resolved: 2014-10-5

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: New Feature Priority: Major
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Seriously, I've already fixed it ~3 times, always after user (well, usually one of us) report.

 Comments   
Comment by Maciej Dębski [ 2014-10-2 ]
s/3/4

Remember to include testing oioioi-create-config.
Comment by Maciej Dębski [ 2014-10-5 ]
oioioi-nightly-unittests in hudson now recreates venv and reinstalls oioioi every time.




[SIO-1567] OIOIOI should be able to communicate with oi-server without the DNS stuff Created: 2014-09-29  Updated: 2018-08-17  Resolved: 2018-08-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: For the OI Team

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-1153 integrate onsite participants with {i... Closed

 Description   
OIOIOI can directly query regional servers. A new authenticator is needed.

Actually it should be pretty easy to even make OIOIOI the DNS server serving the required zone.

Once this is done, the DNS-based authentication could be deprecated.

 Comments   
Comment by Wojciech Dubiel [ 2018-08-16 ]
We've already switched to ipauthsync, right? Does that mean this issue is solved?




[SIO-1566] Ranking headers should be links to problem statements Created: 2014-09-19  Updated: 2019-03-26  Resolved: 2015-01-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Reviewer: Rafał Stefański

 Comments   
Comment by Gerrit Gerrit [ 2014-11-10 ]
Change Ib5798aa11264115c41d8bb17e5334c5ce708e642, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2225

SIO-1566 Ranking headers should be links to problem statements

Change-Id: Ib5798aa11264115c41d8bb17e5334c5ce708e642
Comment by Gerrit Gerrit [ 2014-11-10 ]
Change Ib5798aa11264115c41d8bb17e5334c5ce708e642, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2225

SIO-1566 Ranking headers should be links to problem statements

Change-Id: Ib5798aa11264115c41d8bb17e5334c5ce708e642
Comment by Gerrit Gerrit [ 2014-11-11 ]
Change Ib5798aa11264115c41d8bb17e5334c5ce708e642, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2225

SIO-1566 Ranking headers should be links to problem statements

Change-Id: Ib5798aa11264115c41d8bb17e5334c5ce708e642
Comment by Gerrit Gerrit [ 2014-11-11 ]
Change Ib5798aa11264115c41d8bb17e5334c5ce708e642, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2225

SIO-1566 Ranking headers should be links to problem statements

Change-Id: Ib5798aa11264115c41d8bb17e5334c5ce708e642
Comment by Gerrit Gerrit [ 2014-11-14 ]
Change Ib5798aa11264115c41d8bb17e5334c5ce708e642, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2225

SIO-1566 Ranking headers should be links to problem statements

Change-Id: Ib5798aa11264115c41d8bb17e5334c5ce708e642




[SIO-1565] Lint whole code before TAG Created: 2014-09-17  Updated: 2019-03-26  Resolved: 2014-10-29

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Description   
Currently ~80 pylint findings, should be fairly easy.

 Comments   
Comment by Gerrit Gerrit [ 2014-09-19 ]
Change I54a63453d9f48fa47addfca708d910af03df62d4, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2173

SIO-1565 Fix most pylint comments throughtout whole oioioi

Change-Id: I54a63453d9f48fa47addfca708d910af03df62d4
Comment by Gerrit Gerrit [ 2014-09-19 ]
Change I54a63453d9f48fa47addfca708d910af03df62d4, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2173

SIO-1565 Fix most pylint comments throughtout whole oioioi

Change-Id: I54a63453d9f48fa47addfca708d910af03df62d4
Comment by Gerrit Gerrit [ 2014-09-20 ]
Change I54a63453d9f48fa47addfca708d910af03df62d4, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2173

SIO-1565 Fix most pylint comments throughtout whole oioioi

Change-Id: I54a63453d9f48fa47addfca708d910af03df62d4
Comment by Gerrit Gerrit [ 2014-10-2 ]
Change I54a63453d9f48fa47addfca708d910af03df62d4, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2173

SIO-1565 Fix most pylint comments throughtout whole oioioi

Change-Id: I54a63453d9f48fa47addfca708d910af03df62d4
Comment by Gerrit Gerrit [ 2014-10-3 ]
Change I54a63453d9f48fa47addfca708d910af03df62d4, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2173

SIO-1565 Fix most pylint comments throughtout whole oioioi

Change-Id: I54a63453d9f48fa47addfca708d910af03df62d4
Comment by Gerrit Gerrit [ 2014-10-4 ]
Change I54a63453d9f48fa47addfca708d910af03df62d4, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2173

SIO-1565 Fix most pylint comments throughtout whole oioioi

Change-Id: I54a63453d9f48fa47addfca708d910af03df62d4
Comment by Maciej Dębski [ 2014-10-29 ]
Hm, chyba to zrobilismy, nie?
Tylko zapomniałem buga zamknąć.

On 29 October 2014 12:04, Szymon Acedański (JIRA) <
sio2-jira@dasie.mimuw.edu.pl> wrote:

> Szymon Acedański
> <https://jira.sio2project.mimuw.edu.pl/secure/ViewProfile.jspa?name=accek>
> *resolved* an issue as *Won't Fix* The SIO2 project
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO> / [image: Task]
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1565> SIO-1565
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1565> Lint whole code
> before TAG <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1565> Change
> By: Szymon Acedański
> <https://jira.sio2project.mimuw.edu.pl/secure/ViewProfile.jspa?name=accek>
> Status: New Resolved Assignee: Szymon Acedański Resolution:
> Won't Fix [image: Add Comment]
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1565#add-comment> Add
> Comment
> <https://jira.sio2project.mimuw.edu.pl/browse/SIO-1565#add-comment>
> This message was sent by Atlassian JIRA (v6.1#6144-sha1:2e50328) [image:
> Atlassian logo]
>




[SIO-1564] Unify 'generate_key' througout the code, also make it stop acting so stupid. Created: 2014-09-17  Updated: 2019-03-26  Resolved: 2014-10-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Attachments: GIF File 94403-stop-acting-so-stupid-gif-Phil-SfKx.gif    

 Description   
BTW, check if it really is safe everywhere,
and use os.urandom instead of random.random

 Comments   
Comment by Gerrit Gerrit [ 2014-10-3 ]
Change I05d83b9319ad13a5bc6b5d121fcd13c4e82e68ee, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2182

SIO-1564 Unify 'generate_key' througout the code.

Change-Id: I05d83b9319ad13a5bc6b5d121fcd13c4e82e68ee
Comment by Gerrit Gerrit [ 2014-10-4 ]
Change I05d83b9319ad13a5bc6b5d121fcd13c4e82e68ee, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2182

SIO-1564 Unify 'generate_key' througout the code.

Change-Id: I05d83b9319ad13a5bc6b5d121fcd13c4e82e68ee
Comment by Gerrit Gerrit [ 2014-10-4 ]
Change I05d83b9319ad13a5bc6b5d121fcd13c4e82e68ee, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2182

SIO-1564 Unify 'generate_key' througout the code.

Change-Id: I05d83b9319ad13a5bc6b5d121fcd13c4e82e68ee
Comment by Gerrit Gerrit [ 2014-10-6 ]
Change I05d83b9319ad13a5bc6b5d121fcd13c4e82e68ee, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2182

SIO-1564 Unify 'generate_key' througout the code.

Change-Id: I05d83b9319ad13a5bc6b5d121fcd13c4e82e68ee




[SIO-1563] Dashboard for admins Created: 2014-09-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: New Feature Priority: Minor
Reporter: Paweł Kura Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Dashboard for admins should contain some info about contest(s) (for example last submissions) and some info about system such as load average, uptime etc.

 Comments   
Comment by Maciej Dębski [ 2015-02-25 ]
I think admins should rather use a specialized monitoring system for it and sio2 should just export some statistics in machine-readable format.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1562] problem with installation when pip install -r requirements.txt Created: 2014-09-4  Updated: 2019-03-26  Resolved: 2014-10-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Michał Woś Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None
Environment: ubuntu 14.04


 Description   
I get an error:
  Could not find a version that satisfies the requirement django-output-validator>=1.5md1 (from oioioi==0.1.1.dev->-r requirements.txt (line 5)) (from versions: 1.5)
  Some externally hosted files were ignored (use --allow-external to allow).
Cleaning up...
No distributions matching the version for django-output-validator>=1.5md1 (from oioioi==0.1.1.dev->-r requirements.txt (line 5))
Storing debug log for failure in /home/m/.pip/pip.log

 Comments   
Comment by Michał Woś [ 2014-09-4 ]
I've just noticed there was discussion about that on github. Michał Adamczyk found that following works:
pip install -r requirements.txt
python setup.py install
pip install -r requirements.txt

To my mind that should be fixed or at least mentioned in installation guide about above.
Comment by Gerrit Gerrit [ 2014-10-2 ]
Change I0fbad579453480b7d2d8d67faed98b716c2a6f3a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2179

SIO-1562 problem with installation when pip install -r requirements.txt

Change-Id: I0fbad579453480b7d2d8d67faed98b716c2a6f3a
Comment by Maciej Dębski [ 2014-10-2 ]
TL;DR: Pip sucks, and error messages do not mean what they say.

1. pip notices that it ignores some external/unverified deps, notices that it has a problem with django-output-validator and happily jumps to a conclusion that this is the same problem. Well, no.
2. dependencies checking with -r does not work well. Namely, although first few lines in req.txt make pip install the external deps, it does not yet see them as installed when processing -e . , so tries to install them again, this time ignoring external sources. It fails, so pip rollbacks to state before invocation - without external deps installed. That's why pip -r;pip -r does not work. Honestly, I'm not sure why pip -r; setup.y; pip -r works, but I don't care.

Solution: all external dependencies must be in req.txt, and only there.
Comment by Gerrit Gerrit [ 2014-10-2 ]
Change I0fbad579453480b7d2d8d67faed98b716c2a6f3a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2179

SIO-1562 problem with installation when pip install -r requirements.txt

Change-Id: I0fbad579453480b7d2d8d67faed98b716c2a6f3a




[SIO-1561] DjangoUnicodeDecodeError when trying to show Problem adding error Created: 2014-08-30  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Bug Priority: Minor
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Traceback (most recent call last):

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ core/handlers/base.py", line 115, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/users/sio2/sio2/venv/src/oioioi/oioioi/problems/views.py", line 98, in add_or_update_problem_view
    content = problem_or_content.render().content

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/response.py", line 105, in render
    self.content = self.rendered_content

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/response.py", line 82, in rendered_content
    content = template.render(context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 140, in render
    return self._render(context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ test/utils.py", line 66, in instrumented_test_render
    return self.nodelist.render(context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 830, in render
    bit = self.render_node(node, context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 844, in render_node
    return node.render(context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/loader_tags.py", line 156, in render
    return self.render_template(self.template, context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/loader_tags.py", line 138, in render_template
    output = template.render(context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 140, in render
    return self._render(context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ test/utils.py", line 66, in instrumented_test_render
    return self.nodelist.render(context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 830, in render
    bit = self.render_node(node, context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 844, in render_node
    return node.render(context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/defaulttags.py", line 196, in render
    nodelist.append(node.render(context))

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 887, in render
    return _render_value_in_context(output, context)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ template/base.py", line 865, in _render_value_in_context
    value = force_text(value)

  File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/ utils/encoding.py", line 115, in force_text
    raise DjangoUnicodeDecodeError(s, *e.args)

DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 63: invalid continuation byte. You passed in 'Failed to execute command: make inwer\nBrak weryfikatora do test\xf3w\nmake: *** [inwer] Error 2\n' (<type 'str'>)


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1560] It should be possible to group the tests manually. Created: 2014-08-15  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
We encountered the problem when transfering ACM-style tasks to an ONTAK-eternal one. We wanted all the test (>= 20) to belong to one group.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1559] Add possibility for people outside OIOIOI development team to report bugs via JIRA Created: 2014-08-12  Updated: 2018-08-16  Resolved: 2018-08-16

Status: Closed
Project: The SIO2 project
Component/s: SIO2 Project Website and Infrastructure
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2014-10-29 ]
Everyone can. An account is needed and can be created on accounts.sio2project.mimuw.edu.pl. This is to avoid anonymous spammers.
Comment by Bartosz Tarnawski [ 2014-10-29 ]
Seems that the appropriate info can be found in the 'Introduction' section of the Jira homepage. Sorry for not reading it.
Comment by Michalina Sidor [ 2018-08-16 ]
With the answer in comments, can this be closed?




[SIO-1558] Allow searching participants by name in the participants list view Created: 2014-08-12  Updated: 2019-03-26  Resolved: 2016-11-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 1

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Cannot Reproduce Votes: 0
Labels: None





[SIO-1557] Add posibility of uploading own test generator for testrun. Created: 2014-08-12  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-1533 Testrun: accept input generators for ... Closed

 Description   
That would enable the competitors to test their solutions on larger input files.

 Comments   
Comment by Maciej Matraszek [ 2014-08-30 ]
Note to future asignee: ZeusProblem has this functionality.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1556] Contest admins should have permission to download tests from the "Edit test" site. Created: 2014-08-11  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Bug Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1555] Enhance contest customization Created: 2014-08-11  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Improvement Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Contest specific options (ranking, solution visibility, ranking freezing, .........) should not be hard-coded into contest controllers. Instead, admins should have the possibility to modify them on the "Edit contest" site.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1554] Sinolpack resubmission should keep points / group Created: 2014-08-10  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Bug Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1553] Contest admins should have more delete permissions Created: 2014-08-4  Updated: 2019-03-26  Resolved: 2014-11-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Bug Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1552 It should be possible for a contest a... Closed
TAG Reviewer: Piotr Dulikowski

 Description   
It would be quite reasonable if contest admins could delete most things they can create. It seems that they can (they see Delete 'XXX' in the bottom admin bar), but when they try to do it, they will see "You don't have permission to delete such objects: 'XXX'" (or something similar).
This is probably to some complicated django permission policy.

 Comments   
Comment by Piotr Kozakowski [ 2014-11-26 ]
This issue resolved itself after the update to Django 1.6.




[SIO-1552] It should be possible for a contest admin to delete constexcl Created: 2014-08-4  Updated: 2019-03-26  Resolved: 2014-11-26

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Bug Priority: Major
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to SIO-1553 Contest admins should have more delet... Closed
TAG Reviewer: Piotr Dulikowski

 Description   
Currently contest admins can add contestexcl config. They can change its start date (only with the use of the timeline, not on the contest admin page). But they cannot remove it. This seems to be inconsistent and may lead to some confusion.

 Comments   
Comment by Piotr Kozakowski [ 2014-11-26 ]
This issue resolved itself after the update to Django 1.6.




[SIO-1551] It should be possible to reupload only the problem statement Created: 2014-08-3  Updated: 2019-03-26  Resolved: 2016-12-14

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2016-12-14 ]
We don't plan on allowing to edit a part of the task package separately.




[SIO-1550] PA: Unintuitive form for contest registration Created: 2014-06-27  Updated: 2019-03-26  Resolved: 2014-11-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Bug Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: pa

TAG Reviewer: Bartosz Stebel

 Description   
Form (ex. for PA) has "address" field just below "school",
and people keep entering school address instead of their own.

 Comments   
Comment by Gerrit Gerrit [ 2014-11-12 ]
Change If889175de9f23445886e9cc66c9afd24016a2975, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2228

SIO-1550 PA: Unintuitive form for contest registration

Change-Id: If889175de9f23445886e9cc66c9afd24016a2975




[SIO-1549] Users should be able to see the results of ignored submissions Created: 2014-06-12  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Improvement Priority: Minor
Reporter: Kuba Łącki Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
This is especially useful during trial rounds of ACM-style contests. Currently, once you get the task accepted, you don't get any information about subsequent submissions.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1548] unit tests: add assertNumQueries to unit tests to avoid sql queries explosion Created: 2014-05-25  Updated: 2016-12-14

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Semester

Type: Task Priority: Major
Reporter: Michał Adamczyk Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
It's quite easy to generate linear number of sql queries in django. It's hard to detect without a large database and django toolbar, so its usally detected during programming contests.

To avoid such situation IMHO we should test number of sql queries in unit tests. Django supports it:

https://docs.djangoproject.com/en/1.5/topics/testing/overview/#django.test.TestCase.assertNumQueries

The task is to add such assertion to each unit test.


 Comments   
Comment by Michał Adamczyk [ 2014-05-25 ]
Read also: http://blog.isotoma.com/2014/05/a-different-view/




[SIO-1547] Allow using email instead of username while logging Created: 2014-05-22  Updated: 2019-03-26  Resolved: 2015-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by SIO-1531 strange characters still allowed in l... Closed

 Comments   
Comment by Szymon Acedański [ 2015-11-19 ]
E-mails are not unique.




[SIO-1546] disallow deleting Problems which have more than one ProblemInstance Created: 2014-05-22  Updated: 2014-09-29  Resolved: 2014-06-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2013/14
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Filip Ochnik Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1517 Sometimes package reupload creates se... Closed




[SIO-1545] publicsolutions: order by name, score or language Created: 2014-05-21  Updated: 2019-03-26  Resolved: 2017-01-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Sprint 2

Type: New Feature Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-1526 Allow filtering/sorting publicsolutio... Closed
is duplicated by SIO-1694 Introduce more filters in the publics... Closed

 Comments   
Comment by Gerrit Gerrit [ 2016-12-21 ]
Change I7de79c0c03bb3d34fe688bd291f1730fd92356e6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2681

SIO-1545 publicsolutions: order by name, score or language

Change-Id: I7de79c0c03bb3d34fe688bd291f1730fd92356e6
Comment by Gerrit Gerrit [ 2016-12-21 ]
Change I7de79c0c03bb3d34fe688bd291f1730fd92356e6, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2681

SIO-1545 publicsolutions: order by name, score or language

Change-Id: I7de79c0c03bb3d34fe688bd291f1730fd92356e6
Comment by Bartosz Tarnawski [ 2017-02-23 ]
I guess this was also a duplicate of SIO-1694
Please check if I am right.




[SIO-1544] statistics: most important chart for jury -- "points vs test" for a problem Created: 2014-05-21  Updated: 2019-03-26  Resolved: 2015-05-1

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Reviewer: Rafał Stefański

 Description   
The Jury usually wants to know which test is the toughest to pass.

 Comments   
Comment by Gerrit Gerrit [ 2014-12-16 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-16 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-19 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-22 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2014-12-22 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2015-01-5 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2015-01-14 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1
Comment by Gerrit Gerrit [ 2015-01-14 ]
Change Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1, patchset 19
https://gerrit.sio2project.mimuw.edu.pl/2247

SIO-1544 statistics: most important chart for jury -- "points vs test" for a problem

The Jury usually wants to know which test is the toughest to pass.

Change-Id: Ib493eb5ee2a4ea2bc41cad76ba2b834a82a134a1




[SIO-1543] user is unable to unregister and delete profile but is able to remove his email Created: 2014-05-21  Updated: 2019-03-26  Resolved: 2015-04-11

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Bug Priority: Critical
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Reviewer: Piotr Kozakowski

 Description   
"stało się tak dlatego, że gdy rejestrowałem się na potyczki, to nie
zauważyłem, że rejestruję się na sio2.mimuw.edu.pl, na którym mam
konto, z którego pisałem oia. Gdy to zauważyłem, to stwierdziłem, że
lepiej jest mieć wszystko na jednym koncie i chciałem usunąć konto
XXX, ale tego się chyba nie da zrobić i udało mi się tylko
usunąć maila."


 Comments   
Comment by Gerrit Gerrit [ 2014-12-13 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 deleting account for every contest type

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Gerrit Gerrit [ 2014-12-13 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 user is unable to unregister and delete profile but is able to remove his email

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Gerrit Gerrit [ 2014-12-13 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 deleting account for every contest type

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 deleting account for every contest type

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 user is unable to unregister and delete profile but is able to remove his email

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 user is unable to unregister and delete profile but is able to remove his email Now he is able.

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 user is unable to unregister and delete profile but is able to remove his email

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Gerrit Gerrit [ 2014-12-21 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 user is unable to unregister and delete profile but is able to remove his email

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Gerrit Gerrit [ 2014-12-21 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 user is unable to unregister and delete profile but is able to remove his email (rebase)

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Gerrit Gerrit [ 2014-12-21 ]
Change I557e233deeb3aff363739c4ecf541ccbb195a1a6, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2244

SIO-1543 user is unable to unregister and delete profile but is able to remove his email (rebase)

Change-Id: I557e233deeb3aff363739c4ecf541ccbb195a1a6
Comment by Patryk Czajka [ 2015-04-11 ]
Already in github




[SIO-1542] Rankings: search for users, including "find my place" Created: 2014-05-21  Updated: 2019-03-26  Resolved: 2015-01-24

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: New Feature Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-1520 "Find my position" in PA ranking Closed
TAG Reviewer: Olaf Tomalka

 Comments   
Comment by Michał Woś [ 2014-05-21 ]
duplicated with SIO-1520
Comment by Gerrit Gerrit [ 2014-12-14 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-14 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-14 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-17 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-21 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-21 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-21 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-22 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-22 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36
Comment by Gerrit Gerrit [ 2014-12-28 ]
Change Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2246

SIO-1542 Rankings: search for users, including "find my place"

Change-Id: Ifdbf7d35ee85bcae9d5a72256486a31a0c8cea36




[SIO-1541] forum: "unread posts" page Created: 2014-05-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: New Feature Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Bartosz Tarnawski [ 2015-10-19 ]
Some "Potyczki Algorytmiczne 2015" contestants mentioned that they miss this feature.
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1540] pa2015: t-shirt lottery tool and t-shirt counter Created: 2014-05-21  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: For the OI Team

Type: New Feature Priority: Minor
Reporter: Michał Adamczyk Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: pa





[SIO-1539] questions: users should be able to continue the discussion inside one thread Created: 2014-05-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Improvement Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
During the last PA there were many mostly technical discussions spread between many questions.

For example:
Contestant asked a technical question, but admin needs to know a few more details to answer properly. So contestant asked another question giving those details, but it's still not enough... And so on. I've noticed that the longest discussion during PA2014 was in 6 question-answer pairs.

Sometimes a contestant changes the title or another admin answers and it's not possible to search for previous communication.

Why not make it easier?

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1538] think whether there are no race conditions between RemoteProblemUrl creation and model solutions submission Created: 2014-05-21  Updated: 2016-12-14

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: For the OI Team

Type: Bug Priority: Minor
Reporter: Michał Adamczyk Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
Such a problem was in Zeus, when ZeusProblemData were created exactly the same way as RemoteProblemUrl.




[SIO-1537] "we are using cookies" information bar Created: 2014-05-21  Updated: 2021-11-19

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2016/17 Summer Semester

Type: New Feature Priority: Minor
Reporter: Michał Adamczyk Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   
I'm not sure that we need this, but someone asked during last PA.




[SIO-1536] more friendly message when someone has cookies disabled Created: 2014-05-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Bug Priority: Minor
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
For now on, when someone tries to register (having cookies disabled) following message is displayed:

"Forbidden (403)

CSRF verification failed. Request aborted.
More information is available with DEBUG=True."

PL: https://sio2.mimuw.edu.pl/pa/c/pa-2014-1/forum/11/144/

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1535] statistics: new chart "points vs. time to end of a round" Created: 2014-05-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: New Feature Priority: Minor
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1534] display round's end date on the problems list Created: 2014-05-21  Updated: 2019-03-26  Resolved: 2016-11-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Mikołaj Walczak

 Comments   
Comment by Gerrit Gerrit [ 2016-11-9 ]
Change I871e8550758d453f43c92e8c79f330d0a7383f07, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2648

SIO-1534 display round's end date on the problems list

Add round end time in contest problems_list

Change-Id: I871e8550758d453f43c92e8c79f330d0a7383f07
Comment by Gerrit Gerrit [ 2016-11-9 ]
Change I871e8550758d453f43c92e8c79f330d0a7383f07, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2648

SIO-1534 display round's end date on the problems list

Change-Id: I871e8550758d453f43c92e8c79f330d0a7383f07
Comment by Gerrit Gerrit [ 2016-11-11 ]
Change I871e8550758d453f43c92e8c79f330d0a7383f07, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2648

SIO-1534 display round's end date on the problems list

Change-Id: I871e8550758d453f43c92e8c79f330d0a7383f07
Comment by Gerrit Gerrit [ 2016-11-11 ]
Change I871e8550758d453f43c92e8c79f330d0a7383f07, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2648

SIO-1534 display round's end date on the problems list

Change-Id: I871e8550758d453f43c92e8c79f330d0a7383f07
Comment by Gerrit Gerrit [ 2016-11-11 ]
Change I871e8550758d453f43c92e8c79f330d0a7383f07, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2648

SIO-1534 display round's end date on the problems list

Change-Id: I871e8550758d453f43c92e8c79f330d0a7383f07
Comment by Gerrit Gerrit [ 2016-11-15 ]
Change I871e8550758d453f43c92e8c79f330d0a7383f07, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2648

SIO-1534 display round's end date on the problems list

Change-Id: I871e8550758d453f43c92e8c79f330d0a7383f07




[SIO-1533] Testrun: accept input generators for testruns Created: 2014-05-21  Updated: 2019-03-26  Resolved: 2014-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: New Feature Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1557 Add posibility of uploading own test ... Resolved
Relates
is related to SIO-1217 Testrun: sending large input in compr... Closed




[SIO-1532] submission form per problem Created: 2014-05-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: Improvement Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
To be discussed:

IMHO we should change the submission/testrun form from "one for all" to "one per problem". Why?

1. To easily display the number of submissions/testruns and limits
2. To prepare different forms for different problem types (eg. for zeus problems)
3. To accept (and show proper hint) different language sets for different problems.
4. It's hard (or impossible) to maintain and develope all those features in current way.
5. ... @Matrach?


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1531] strange characters still allowed in logins (eg. @kruk) Created: 2014-05-21  Updated: 2014-09-29  Resolved: 2014-06-10

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2013/14

Type: Bug Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1547 Allow using email instead of username... Closed

 Comments   
Comment by Gerrit Gerrit [ 2014-05-22 ]
Change I1671012ba1782f5048f10d63e45ad04f6f150f58, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2127

SIO-1531 strange chars still allowed in logins (eg. @kruk)

Change-Id: I1671012ba1782f5048f10d63e45ad04f6f150f58
Comment by Gerrit Gerrit [ 2014-05-22 ]
Change I1671012ba1782f5048f10d63e45ad04f6f150f58, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2127

SIO-1531 strange chars still allowed in logins (eg. @kruk)

Change-Id: I1671012ba1782f5048f10d63e45ad04f6f150f58
Comment by Gerrit Gerrit [ 2014-05-22 ]
Change I1671012ba1782f5048f10d63e45ad04f6f150f58, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2127

SIO-1531 strange characters still allowed in logins (eg. @kruk)

Change-Id: I1671012ba1782f5048f10d63e45ad04f6f150f58
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change I1671012ba1782f5048f10d63e45ad04f6f150f58, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2127

SIO-1531 strange characters still allowed in logins (eg. @kruk)

Change-Id: I1671012ba1782f5048f10d63e45ad04f6f150f58
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change I1671012ba1782f5048f10d63e45ad04f6f150f58, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2127

SIO-1531 strange characters still allowed in logins (eg. @kruk)

Change-Id: I1671012ba1782f5048f10d63e45ad04f6f150f58
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change I1671012ba1782f5048f10d63e45ad04f6f150f58, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2127

SIO-1531 strange characters still allowed in logins (eg. @kruk)

Change-Id: I1671012ba1782f5048f10d63e45ad04f6f150f58
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change I1671012ba1782f5048f10d63e45ad04f6f150f58, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2127

SIO-1531 strange characters still allowed in logins (eg. @kruk)

Change-Id: I1671012ba1782f5048f10d63e45ad04f6f150f58
Comment by Gerrit Gerrit [ 2014-06-9 ]
Change I1671012ba1782f5048f10d63e45ad04f6f150f58, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2127

SIO-1531 strange characters still allowed in logins (eg. @kruk)

Change-Id: I1671012ba1782f5048f10d63e45ad04f6f150f58
Comment by Gerrit Gerrit [ 2014-06-10 ]
Change I1671012ba1782f5048f10d63e45ad04f6f150f58, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2127

SIO-1531 strange characters still allowed in logins (eg. @kruk)

Change-Id: I1671012ba1782f5048f10d63e45ad04f6f150f58




[SIO-1530] score in ranking should redirect to the solution Created: 2014-05-21  Updated: 2014-09-29  Resolved: 2014-09-15

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
* the same for "source length vs points" chart
* for admins - always, for users - if solution was published

 Comments   
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-7 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-7 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-7 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-9 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-9 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-9 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-9 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-9 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-9 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-10 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-06-11 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-08-19 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-08-19 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-08-19 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-08-20 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-08-22 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73
Comment by Gerrit Gerrit [ 2014-08-22 ]
Change Ibc615fef30e317ee6a35226c39aaae32a5195e73, patchset 18
https://gerrit.sio2project.mimuw.edu.pl/2138

SIO-1530 score in ranking should redirect to the solution

Change-Id: Ibc615fef30e317ee6a35226c39aaae32a5195e73




[SIO-1529] translate everything in master to pl Created: 2014-05-21  Updated: 2019-03-26  Resolved: 2015-02-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: For the OI Team

Type: Task Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None





[SIO-1528] Custom questions categories Created: 2014-05-21  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: New Feature Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
Add a possibility to define custom questions' categories per contest / round / problem or visible only at a certain time.

 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1527] Fix all small problems with publicsolutions Created: 2014-05-21  Updated: 2016-11-14

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2013/14

Type: Bug Priority: Major
Reporter: Maciej Dębski Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Attachments: Text File 0001-hack-Do-not-take-trial-rounds-into-account-for-resul.patch     Text File 0001-to-improve-Public-solutions-hacks.patch     Text File 0002-to-improve-Allow-seeing-public-solutions-sources.patch     Text File 0003-to-improve-Filter-out-non-user-submissions.patch     Text File 0004-to-upstream-ndash-instead-of-None.patch     Text File 0005-to-upstream-kolejne-poprawki-do-publicsolutions.patch     Text File 0006-Publicsolutions-only-last-submission.patch     Text File 0007-to-improve-publicsolutions-select-related.patch    
Issue Links:
Duplicate
is duplicated by SIO-1523 publicsolutions - do not show "Publis... Closed

 Description   
Aaargh, it did not work at all when we tried to enable it on PA. I fixed most of issues, hacked some of them. You may want to use patches attached, but they may be of low-quality.

* Nie chcą się pojawić, bo nie wszystkie rundy miały publiczne wyniki -
HACK - ograniczyłem warunek do niepróbnych rund, ale w ogóle to on głupi jest.
* Źródła dostają 403 - HACK - to nie miało prawa działać, coś napisałem,
ale na szybko, cholera wie czy przy okazji czegoś nie podziurawiłem
* filtr po zadaniach zawiera każde milion razy - FIXED
* Widać wzorcówki i zgłoszenia adminów - FIXED
* None na liście wyników - FIXED - zamieniłem na ndash
* Wieki się generuje lista, robi mnóstwo niepotrzebnych zapytań - PARTIAL - saddam coś robił, pewnie warto jeszcze spojrzeć
* Nie powinniśmy wyświetlać imion i nazwisk anonimowych. - FIXED
* Czy jest sens publikować nie-ostatnie zgłoszenia? Straszny syf się od tego zrobił. - FIXED
* publicsolutions - do not show "Publish" button if all have been forcefully published. - HACK

 Comments   
Comment by Tom Macieszczak [ 2014-05-22 ]
Oprócz oczywistych gniotów to multum z tych rzeczy wynika z tego, że odpowiednie metody w kontrolerze konkursu w ogóle nie zostały nadpisane jak zakładała implementacja... Zrobię jakieś sensowne defaulty, bo potem wychodzą takie buraki.
Comment by Maciej Dębski [ 2014-05-22 ]
No wlasnie nie jestem przekonany.
Gdyby nie byly nadpisane to powinno leciec NYI, nie?
Lub inaczej - do nadpisania powinny byc tylko te ktore rzeczywiscie o czyms
decyduja.

Hm, ja chyba swoimi patchami zadnej nowej metody w pa.controllers nie
dodalem.

Bede na tagu dzisiaj to pogadamy.
Comment by Szymon Acedański [ 2016-11-9 ]
Maćku, czy to jest jeszcze aktualne?
Comment by Maciej Dębski [ 2016-11-14 ]
Nie mam pojęcia, sorry
On Wed, 9 Nov 2016 at 17:38, Szymon Acedański (JIRA) <





[SIO-1526] Allow filtering/sorting publicsolutions by score Created: 2014-05-20  Updated: 2019-03-26  Resolved: 2017-01-22

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Near Future

Type: Bug Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Cannot Reproduce Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1545 publicsolutions: order by name, score... Closed

 Description   
Why the hell shall I look at i.e. all solutions with score==None (CE) when looking for nice, correct ones.

Or maybe better sorting?




[SIO-1525] Files and tests should be lower in menu Created: 2014-05-20  Updated: 2016-12-7

Status: New
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Next Sprint

Type: Improvement Priority: Minor
Reporter: Szymon Acedański Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: after-pa





[SIO-1524] Contestlogo should be hidden before the menu is hidden on short screens Created: 2014-05-20  Updated: 2019-03-26  Resolved: 2014-11-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2014/15

Type: Improvement Priority: Minor
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: after-pa

TAG Reviewer: Marek Sommer

 Comments   
Comment by Gerrit Gerrit [ 2014-11-2 ]
Change I56185856120139b331dc9cca68e21d9b7751bc7a, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2218

SIO-1524 Contestlogo should be hidden before the menu is hidden on short screens

Change-Id: I56185856120139b331dc9cca68e21d9b7751bc7a
Comment by Maciej Matraszek [ 2014-11-2 ]
Please, mark a ticket as resolved only after merging the change into the master branch (after successful code-review).
Comment by Piotr Kozakowski [ 2014-11-2 ]
Ok, sorry
Comment by Gerrit Gerrit [ 2014-11-5 ]
Change I56185856120139b331dc9cca68e21d9b7751bc7a, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2218

SIO-1524 Contestlogo should be hidden before the menu is hidden on short screens

Change-Id: I56185856120139b331dc9cca68e21d9b7751bc7a
Comment by Gerrit Gerrit [ 2014-11-5 ]
Change I56185856120139b331dc9cca68e21d9b7751bc7a, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2218

SIO-1524 Contestlogo should be hidden before the menu is hidden on short screens

Change-Id: I56185856120139b331dc9cca68e21d9b7751bc7a
Comment by Gerrit Gerrit [ 2014-11-6 ]
Change I56185856120139b331dc9cca68e21d9b7751bc7a, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2218

SIO-1524 Contestlogo should be hidden before the menu is hidden on short screens

Change-Id: I56185856120139b331dc9cca68e21d9b7751bc7a




[SIO-1523] publicsolutions - do not show "Publish" button if all have been forcefully published. Created: 2014-05-20  Updated: 2014-09-29  Resolved: 2014-05-21

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1527 Fix all small problems with publicsol... New

 Description   
ex. on PA




[SIO-1522] Expanding message should mark it as read Created: 2014-05-16  Updated: 2019-03-26  Resolved: 2016-03-12

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Tomasz Zakrzewski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

TAG Developer: Wojciech Jabłoński

 Description   
When expanding a message by "Expand all" button or a chevron next to a message header, it should be marked in the db as read and the unread status from current view should be removed.

 Comments   
Comment by Bartosz Tarnawski [ 2015-10-19 ]
Some Potyczki Algorytmiczne 2015 contestants also requested this feature.
This seems to be a subtle problem. Contestants don't want to spend too much time on reading announcements of low importance. Contest admins, on the other hand, want to make sure that all important announcements are read by everybody.
Comment by Wojciech Jabłoński [ 2015-11-5 ]
gdzieś w oioioi/dashboard
Comment by Gerrit Gerrit [ 2015-12-3 ]
Change Iaa81e6ad4dc69d56b2728b3c0e142c350436fa88, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2486

(SIO-1522) Mark questions as read while expanding them by button.

Questions are now getting marked as read when expanded, also
when "expand all" button is clicked.

Change-Id: Iaa81e6ad4dc69d56b2728b3c0e142c350436fa88
Comment by Gerrit Gerrit [ 2015-12-8 ]
Change Iaa81e6ad4dc69d56b2728b3c0e142c350436fa88, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2486

(SIO-1522) Mark questions as read while expanding them by button.

Questions are now getting marked as read when expanded, also
when "expand all" button is clicked.

Change-Id: Iaa81e6ad4dc69d56b2728b3c0e142c350436fa88
Comment by Gerrit Gerrit [ 2016-02-17 ]
Change Iaa81e6ad4dc69d56b2728b3c0e142c350436fa88, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2486

(SIO-1522) Mark questions as read while expanding them by button.

Questions are now getting marked as read when expanded, also
when "expand all" button is clicked.

Change-Id: Iaa81e6ad4dc69d56b2728b3c0e142c350436fa88
Comment by Gerrit Gerrit [ 2016-02-18 ]
Change Iaa81e6ad4dc69d56b2728b3c0e142c350436fa88, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2486

(SIO-1522) Mark questions as read while expanding them by button.

Questions are now getting marked as read when expanded, also
when "expand all" button is clicked.

Change-Id: Iaa81e6ad4dc69d56b2728b3c0e142c350436fa88




[SIO-1521] Timeline GUI Improvements Created: 2014-05-15  Updated: 2014-09-29  Resolved: 2014-06-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2013/14

Type: Improvement Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1491 timeline objects overlap each other Closed

 Description   
Current timeline design does not suit event-packed contests.

 Comments   
Comment by Gerrit Gerrit [ 2014-06-2 ]
Change If67bbd1c0dca55d5e31d8c9ac7e12820350076da, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2134

SIO-1521 Timeline GUI Improvements

Change-Id: If67bbd1c0dca55d5e31d8c9ac7e12820350076da
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change If67bbd1c0dca55d5e31d8c9ac7e12820350076da, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2134

SIO-1521 Timeline GUI Improvements

Change-Id: If67bbd1c0dca55d5e31d8c9ac7e12820350076da
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change If67bbd1c0dca55d5e31d8c9ac7e12820350076da, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2134

SIO-1521 Timeline GUI Improvements

Change-Id: If67bbd1c0dca55d5e31d8c9ac7e12820350076da
Comment by Gerrit Gerrit [ 2014-06-9 ]
Change If67bbd1c0dca55d5e31d8c9ac7e12820350076da, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2134

SIO-1521 Timeline GUI Improvements

Change-Id: If67bbd1c0dca55d5e31d8c9ac7e12820350076da
Comment by Gerrit Gerrit [ 2014-06-10 ]
Change If67bbd1c0dca55d5e31d8c9ac7e12820350076da, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2134

SIO-1521 Timeline GUI Improvements

Change-Id: If67bbd1c0dca55d5e31d8c9ac7e12820350076da
Comment by Gerrit Gerrit [ 2014-06-10 ]
Change If67bbd1c0dca55d5e31d8c9ac7e12820350076da, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2134

SIO-1521 Timeline GUI Improvements

Change-Id: If67bbd1c0dca55d5e31d8c9ac7e12820350076da
Comment by Gerrit Gerrit [ 2014-06-11 ]
Change If67bbd1c0dca55d5e31d8c9ac7e12820350076da, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2134

SIO-1521 Timeline GUI Improvements

Change-Id: If67bbd1c0dca55d5e31d8c9ac7e12820350076da
Comment by Gerrit Gerrit [ 2014-06-18 ]
Change If67bbd1c0dca55d5e31d8c9ac7e12820350076da, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2134

SIO-1521 Timeline GUI Improvements

Change-Id: If67bbd1c0dca55d5e31d8c9ac7e12820350076da




[SIO-1520] "Find my position" in PA ranking Created: 2014-05-15  Updated: 2019-03-26  Resolved: 2014-11-19

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Near Future
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Michał Woś Assignee: Szymon Acedański
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates SIO-1542 Rankings: search for users, including... Closed

 Description   
It's a bit tiring to manual binary search in the ranking to find my / someone position. IMO there should be two things:
1. The most important: button "find my position", which would move to the relevant part of ranking and e.g. mark such record.
2. Filter to find someone else




[SIO-1519] Expanded questions collide with menu Created: 2014-05-15  Updated: 2014-09-29  Resolved: 2014-05-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File jira-capture-screenshot-20140515-102631-236.png    

 Description   
lol.

 Comments   
Comment by Tomasz Zakrzewski [ 2014-05-15 ]
It's not directly a problem of expanded questions, it's related to the interaction between menu and questions. A quick workaround is to set menu_div's z-index to some high value (100 works for me).
Comment by Tomasz Zakrzewski [ 2014-05-15 ]
I will make a patch for it in a moment.
Comment by Gerrit Gerrit [ 2014-05-15 ]
Change I91ddbbf76b3a7015750d894499841841c39eae92, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2118

SIO-1519 Expanded questions collide with menu

Change-Id: I91ddbbf76b3a7015750d894499841841c39eae92




[SIO-1518] "do końca" w zegarze powinno mieć spację. Created: 2014-05-15  Updated: 2016-11-30  Resolved: 2016-11-30

Status: Closed
Project: The SIO2 project
Component/s: Translations
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
na początku.




[SIO-1517] Sometimes package reupload creates second ProblemInstance Created: 2014-05-14  Updated: 2014-09-29  Resolved: 2014-06-16

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2013/14

Type: Bug Priority: Critical
Reporter: Maciej Matraszek Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by SIO-1546 disallow deleting Problems which have... Closed

 Description   
I can't reproduce it once again, but it happens from time to time. After that, there exist two ProblemInstances pointing to the same Problem.
The worst thing about that is when one try to reverse the process: Delete option in problem editing view deletes the Problem, and this deletes both ProblemInstances, which in turn delete all related submissions.

 Comments   
Comment by Filip Ochnik [ 2014-05-17 ]
Could you provide the package that caused this problem?
Comment by Szymon Acedański [ 2014-05-21 ]
I think that the critical part is to first make a quick fix to disallow at the model level deleting Problems which have more than one ProblemInstance. This is simple and would prevent the PA catastrophe and potentially some others.

Then it is a good time to find the real cause and do the real fix IMO.
Comment by Michał Adamczyk [ 2014-05-21 ]
It's possible that the problem with creating second ProblemInstance when reuploading package concerns only Zeus tasks.
Comment by Filip Ochnik [ 2014-05-21 ]
If that's true maybe i should give up this ticket?
Comment by Szymon Acedański [ 2014-05-21 ]
Please at least make the quick fix. It's quick and valuable.
Comment by Michał Adamczyk [ 2014-05-21 ]
IMHO you may create and resolve a subticket - the critical part Szymon wrote about.
Comment by Filip Ochnik [ 2014-05-21 ]
Maybe it would be better if I made another ticket for this fix? It's part of the problem, but not really what this issue is about.

EDIT: OK, that's what I thought.
Comment by Szymon Acedański [ 2014-05-21 ]
Sure.
Comment by Maciej Matraszek [ 2014-05-21 ]
I believe that it is not a Zeus-only issue, as some people reported the same thing to happen on the WIC camp (or other organized by Staszic highschool).

Also: Problem deleting view may show what is going to be deleted (as in Submission deleting view)
Comment by Bartosz Tarnawski [ 2014-05-29 ]
https://github.com/sio2project/oioioi/blob/master/oioioi/problems/views.py#L80

sumbissions limit should be set in a separate line.
Comment by Gerrit Gerrit [ 2014-06-7 ]
Change I3669cb014b86e99da07e72a25e247f1e5efb4351, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2141

SIO-1517 Sometimes Package reupload creates second ProblemInstance

Change-Id: I3669cb014b86e99da07e72a25e247f1e5efb4351
Comment by Gerrit Gerrit [ 2014-06-8 ]
Change I3669cb014b86e99da07e72a25e247f1e5efb4351, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2141

SIO-1517 Sometimes Package reupload creates second ProblemInstance

Change-Id: I3669cb014b86e99da07e72a25e247f1e5efb4351
Comment by Gerrit Gerrit [ 2014-06-8 ]
Change I3669cb014b86e99da07e72a25e247f1e5efb4351, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2141

SIO-1517 Sometimes package reupload creates second ProblemInstance

Change-Id: I3669cb014b86e99da07e72a25e247f1e5efb4351
Comment by Tomasz Zakrzewski [ 2014-06-8 ]
SIO-1546 is going to be solved by SIO-1517's fix.
Comment by Gerrit Gerrit [ 2014-06-9 ]
Change I3669cb014b86e99da07e72a25e247f1e5efb4351, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2141

SIO-1517 Sometimes package reupload creates second ProblemInstance

Change-Id: I3669cb014b86e99da07e72a25e247f1e5efb4351
Comment by Gerrit Gerrit [ 2014-06-16 ]
Change I3669cb014b86e99da07e72a25e247f1e5efb4351, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2141

SIO-1517 Sometimes package reupload creates second ProblemInstance

Change-Id: I3669cb014b86e99da07e72a25e247f1e5efb4351
Comment by Gerrit Gerrit [ 2014-06-16 ]
Change I3669cb014b86e99da07e72a25e247f1e5efb4351, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2141

SIO-1517 Sometimes package reupload creates second ProblemInstance

Change-Id: I3669cb014b86e99da07e72a25e247f1e5efb4351
Comment by Gerrit Gerrit [ 2014-06-16 ]
Change I3669cb014b86e99da07e72a25e247f1e5efb4351, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2141

SIO-1517 Sometimes package reupload creates second ProblemInstance

Change-Id: I3669cb014b86e99da07e72a25e247f1e5efb4351




[SIO-1516] Personal data view for participants. Created: 2014-05-13  Updated: 2014-09-29  Resolved: 2014-06-17

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: TAG 2013/14

Type: New Feature Priority: Major
Reporter: Paweł Wawruch Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Creating new permission and view for presonal data of users.

 Comments   
Comment by Gerrit Gerrit [ 2014-05-13 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-14 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-15 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-15 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 4
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-15 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 5
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-15 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 6
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-22 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 7
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-22 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 8
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-30 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 9
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-30 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 10
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-05-31 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 11
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 12
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 13
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-06-5 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 14
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-06-6 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 15
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-06-6 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 16
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09
Comment by Gerrit Gerrit [ 2014-06-10 ]
Change I618f1034fd10d23443443f86f7032231b363da09, patchset 17
https://gerrit.sio2project.mimuw.edu.pl/2112

SIO-1516 Personal data view for participants.

Change-Id: I618f1034fd10d23443443f86f7032231b363da09




[SIO-1515] Use sth like "No error" instead of "OK" for successful testruns Created: 2014-05-8  Updated: 2014-09-29  Resolved: 2014-06-2

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2013/14
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Maciej Dębski Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
"OK" suggests that the answer is correct,
while it obviously isn't checked.

"No error" shall be same colour as "OK".

And think of some good translation of "No error" to Polish...

 Comments   
Comment by Michał Adamczyk [ 2014-05-8 ]
+1.

hmm polish translation..."OK" :p? maybe we don't need polish translation (like for TLE, RV, etc.) and may use "NO ERROR" status?
Comment by Gerrit Gerrit [ 2014-06-1 ]
Change I0cf0f852ae51192d514bc681b0fed8c27f322925, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2133

SIO-1515 Use sth like "No error" instead of "OK" for successful testruns

Change-Id: I0cf0f852ae51192d514bc681b0fed8c27f322925
Comment by Gerrit Gerrit [ 2014-06-1 ]
Change I0cf0f852ae51192d514bc681b0fed8c27f322925, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2133

SIO-1515 Use sth like "No error" instead of "OK" for successful testruns

Change-Id: I0cf0f852ae51192d514bc681b0fed8c27f322925
Comment by Gerrit Gerrit [ 2014-06-1 ]
Change I0cf0f852ae51192d514bc681b0fed8c27f322925, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2133

SIO-1515 Use sth like "No error" instead of "OK" for successful testruns

Change-Id: I0cf0f852ae51192d514bc681b0fed8c27f322925




[SIO-1514] possibility to unsubscribe from submission confirmation emails Created: 2014-05-8  Updated: 2014-09-29  Resolved: 2014-05-8

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Won't Fix Votes: 0
Labels: None


 Comments   
Comment by Szymon Acedański [ 2014-05-8 ]
Rly? For OI we don't need it (well the rules require sending the notificatiions), but for other contests I would prefer to not send these notifications at all. They are not needed IMO.
Comment by Michał Adamczyk [ 2014-05-8 ]
AE contestant asked "how to unsubscribe".

Well.. So we should turn off confirmations from AE.




[SIO-1513] Error when trying to see details of the submission created after uploading the problem (acm style contest) Created: 2014-05-8  Updated: 2014-09-29  Resolved: 2014-05-23

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: TAG 2013/14
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paweł Kura Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None


 Description   
Create a new contest of type 'ACM style contest', upload a problem, go to Contest Settings -> Submissions and try to open details of the submission created during uploading a problem, "'NoneType' object has no attribute 'is_anonymous'" appears.

 Comments   
Comment by Gerrit Gerrit [ 2014-05-22 ]
Change I63293ea1ae23df01acf97f63b96bd91e13c7f382, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2128

SIO-1513 Error when trying to see details of the submission created after uploading the problem (acm style contest)

Change-Id: I63293ea1ae23df01acf97f63b96bd91e13c7f382
Comment by Gerrit Gerrit [ 2014-05-22 ]
Change I63293ea1ae23df01acf97f63b96bd91e13c7f382, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/2128

SIO-1513 Error when trying to see details of the submission created after uploading the problem (acm style contest)

Change-Id: I63293ea1ae23df01acf97f63b96bd91e13c7f382
Comment by Gerrit Gerrit [ 2014-05-22 ]
Change I63293ea1ae23df01acf97f63b96bd91e13c7f382, patchset 3
https://gerrit.sio2project.mimuw.edu.pl/2128

SIO-1513 Error when trying to see details of the submission created after uploading the problem (acm style contest)

Change-Id: I63293ea1ae23df01acf97f63b96bd91e13c7f382




[SIO-1512] Admin should not be able to create a participant / fix participant creating Created: 2014-05-8  Updated: 2021-06-5  Resolved: 2021-06-5

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Next Sprint

Type: Bug Priority: Minor
Reporter: Bartosz Tarnawski Assignee: Wojciech Dubiel
Resolution: Fixed Votes: 0
Labels: None


 Description   
After entering participant list view, admin can see 'create participant'. However, this functionality seems to be broken, as the User field equals None and is not modifiable. Trying to save such a participant will result in Server Error.

 Comments   
Comment by Szymon Czyżmański [ 2021-06-5 ]
It seems that this bug has been already fixed.




[SIO-1511] Viewing histogram for user with no submission should be covered in tests Created: 2014-05-8  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Current Version

Type: Bug Priority: Trivial
Reporter: Marek Bardoński Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None

Issue Links:
Relates
is related to SIO-1319 Add max_score fields to models Closed

 Comments   
Comment by Marek Bardoński [ 2014-05-8 ]
Tego mi nie wykryło :)

  File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/core/ handlers/base.py", line 115, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/oioioi/sio2/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view
    return view_func(request, *args, **kwargs)

  File "/home/oioioi/sio2/oioioi/oioioi/statistics/views.py", line 67, in statistics_view
    plot_kind, object)

  File "/home/oioioi/sio2/oioioi/oioioi/statistics/controllers.py", line 199, in statistics_data
    result = plot_function(object)

  File "/home/oioioi/sio2/oioioi/oioioi/statistics/plotfunctions.py", line 84, in points_histogram_problem
    max_score = results[0].submission_report.score_report.max_score

AttributeError: 'NoneType' object has no attribute 'score_report'
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




[SIO-1510] Text overlap in expanded questions Created: 2014-05-6  Updated: 2014-09-29  Resolved: 2014-05-9

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Szymon Acedański Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File jira-capture-screenshot-20140506-110736-798.png     PNG File jira-expand-questions.png    

 Comments   
Comment by Maciej Dębski [ 2014-05-6 ]
Affects me as well. I just took a screenshot to create an issue but you were first :P
Comment by Tomasz Zakrzewski [ 2014-05-6 ]
I think I know where the bug is. I will upload a fix today.
Comment by Gerrit Gerrit [ 2014-05-6 ]
Change I3c72c8b411b1e4089f8040e464f13c5ec6510e5d, patchset 1
https://gerrit.sio2project.mimuw.edu.pl/2082

SIO-1510 Text overlap in expanded questions

Change-Id: I3c72c8b411b1e4089f8040e464f13c5ec6510e5d




[SIO-1509] max_score isn't filled correctly in env, in importing from zeus. Created: 2014-05-1  Updated: 2014-09-29  Resolved: 2014-05-6

Status: Closed
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Marek Bardoński Assignee: Szymon Acedański
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks SIO-1319 Add max_score fields to models Closed

 Description   
Here

  File "/home/administrator/sio2/oioioi/oioioi/zeus/handlers.py", line 227, in make_zeus_testrun_report
    _submission, submission_report = _make_base_report(env, 'TESTRUN')

It should be already set.

 Comments   
Comment by Maciej Dębski [ 2014-05-5 ]
Is it still an issue or that's what we already sorted out in gerrit?
Comment by Marek Bardoński [ 2014-05-5 ]
Chodzi o to "Wg. mnie testrun/handlers.py:grade_submission powinien mieć sygnaturę "kompatybilną" z odpowiednim handlerem z programs. I raczej tam brakuje env['max_score'] = None"




[SIO-1508] new dashboard and news channel for PA-like contests Created: 2014-04-28  Updated: 2020-04-27  Resolved: 2020-04-27

Status: Resolved
Project: The SIO2 project
Component/s: OIOIOI
Affects Version/s: Current Version
Fix Version/s: Far Future

Type: New Feature Priority: Major
Reporter: Michał Adamczyk Assignee: Szymon Acedański
Resolution: Obsolete Votes: 0
Labels: None


 Description   
I am not sure if our current dashboard fits best to the PA-like contests (online stage) specificity. To my mind, it's not needed to show questions and user submission in this place. Instead, I'd like to see newses!

My proposition:
* implement a news channel - either as a source of newses (and prepare url to share news in xml/rss/son format) or as a news feeder (from external rss channel) -- it's needed to show these newses on an external webpage too (like potyczki.mimuw.edu.pl)
* implement second dashboard view -- with the news channel and an invitation message at the top.
* make context-dependent dashboards -- contest controller should decide which dashboard is proper.


 Comments   
Comment by Szymon Acedański [ 2020-04-27 ]
This issue has been automatically closed as Obsolete due to no activity for 365 days.

Feel free to reopen it or create a new one if it's still relevant.




Generated at Fri Apr 10 10:23:24 CEST 2026 using JIRA 6.1#6144-sha1:2e5032834b5e9b089289c97f8425a146c3cf4464.