Commit f2b0bc5
Update webpack-libs with master (#9)
* Ordering of DifficultyTags (sio2project#449)
* Add ordering for DifficultyTag and DiffultyTagLocalization
* Make migrations
* Update migrations
* Add a note about copying limits (sio2project#480)
* Add a note about copying limits
* Add text translation
* Github Actions - Downloaded translations. (sio2project#495)
Co-authored-by: SIO2 Automatic Agent <[email protected]>
* add buttons to expand group member lists (sio2project#493)
* Searchbox bugfix (sio2project#489)
* Now if tags don't show up in probset, only superusers can filter by them.
* Fix bug allowing for duplicate difficulty search tags.
* Fix bug in filtering by difficulty tags.
* PARTIAL fix to tests in TestProblemSearchHintsTags.
* Hide tags under searchbox and tag search hints when PROBLEM_TAGS_VISIBLE = False (even for admin).
* Fix more tag hint tests.
* Fix all but one test from TestProblemSearch.
* Remove temporary comment.
* Override setting globally for TestProblemSearchHintsTags.
* Override settings globally for TestProblemSearchOrigin.
* Add setting override to test_statistics_sorting_with_query.
* Fix column number in test_statistics_sorting_with_query.
* Fix the column number being ordered by in test_problem_statistics.py.
* Better problem column array naming in TestProblemStatisticsDisplay.
* Rename problem 'Znacznik' in test_problem_search.json to 'Znacznik_zadanie', as 'Tags' are localised in Polish to 'Znaczniki' which caused false positives when checking if the task appeared in URL.
* Rename 'Znacznik_zadanie' to 'Znaczn1k', as its previous name still caused name collisions.
* fix minor bugs in usergroups app and add tests (sio2project#498)
* first commit
* fix permissions
* fix admin panel not saving
* small fixes
* fix origin info
* change permission name
* fix permissions for contest admins
* fix permissions for contest admins
* fix for problems without contests
* add test
* resolve conflicts
* small fix
* test tags tab
* squash migrations
* remove redundant migrations
* display nickname next to the full name when displaying contest pupils
* add logic and use member.username
* fix more similar cases
* fix order of names
* more elegant code
* more elegant code
* revert changes
* more elegant code
* add buttons to expand group member lists
* fix minor bugs
* add tests
* Add copying problems in bulk
* Refactor Problem.name property to allow for prefetch_related (sio2project#441)
Problem.name previously queried through the whole ProblemName table. Now
it accesses the names for the problem through self.names, which allows
other code to optimize this query by using prefetch_related on the names
property.
* Add prefetch_related on names to task_archive_tag_view (sio2project#441)
* Add tests to check correctness of new Problem.name property (sio2project#441)
* Fix access to relationship before Problem is saved (sio2project#441)
Previous implementation of Problem.name errored out if Problem.name was
accessed before the instance of Problem was saved with .save(). This is
now fixed.
* Pass problem ids as request arguments
* Add test for reattaching multiple problems
* Add command for creating mock competitions (sio2project#502)
* Add create_mock_contest command (sio2project#496)
* Directly check if primary key exists instead of try/catch (sio2project#441)
* Add school year field to contest model and filter for contest selection (sio2project#491)
* Add school year field to contest model and filter function
* Fix filter function
* Filtering in ORM
* Add tests
* Fix select_contest template
* Contest pagination
* add test option to check if variables in template tags are defined (sio2project#506)
* first commit
* fix permissions
* fix admin panel not saving
* small fixes
* fix origin info
* change permission name
* fix permissions for contest admins
* fix permissions for contest admins
* fix for problems without contests
* add test
* resolve conflicts
* small fix
* test tags tab
* squash migrations
* remove redundant migrations
* display nickname next to the full name when displaying contest pupils
* add logic and use member.username
* fix more similar cases
* fix order of names
* more elegant code
* more elegant code
* revert changes
* more elegant code
* add buttons to expand group member lists
* fix minor bugs
* add tests
* add test option to check if variables in template tags are defined
* code style
* better approach
* better approach
* cleaner code
* Filter by tag proposals (sio2project#503)
* Add the option for filtering by algorithm tags to take into account most popular tag proposals when choosing which tasks to show in the results.
* Add the value `include_proposals` to be included in `?q=` for the problemset page controlling whether filtering by algorithm tags takes the most popular tag proposals into account.
* Add `TestTagProposalsSearch` test class for this feature.
* Create contest monitoring page (sio2project#359)
* Fix adding new tags from problem admin (sio2project#304)
* Create monitoring site for contests
* Add monitoring template
* Implement round times monitoring
* Add contest permissions info to monitoring page
* Added General info tab.
-Added q_size and q_size_global to General info.
* Add relative start/end times to monitoring
* Cleanup
* Change monitoring template
* Added count of unanswered questions and date of oldest unanswered question to general info
* Add attachments info to monitoring page
* Quickfix
* Add submissions info to monitoring page
* Number of submission of every kind
* Added count of submissions with system errors
* Add info about test limits to contest monitoring
* Extend problems info in monitoring page
* Refactor contest monitoring view
* Added round extensions
* Added bool, that shows if someone solved a problem
* Bugfix: Changed round to round-name
* Bugfix: Added contest filter to SE detection
* Create tests_monitoring file
* Add tests round times
* Bugfix: changed pub-date to date
* Added tests for general info
* WIP
* Changed fixture and fixed system error counter
* WIP
* Add attachments tests
* Changed fixture
* Moved monitoring tests from tests_monitoring.py to tests.py
* Added fixture to monitoring tests
* Changed colspan
* Use humanize module
---------
Co-authored-by: Zonkil <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>
* livedata: fix cache_unless_admin_or_observer (sio2project#387)
* livedata: fix cache_unless_admin_or_observer
result.content is of type "bytes", so wrapping it in str() will create a
string that's wrapped in b''.
* Add test for cache_unless_admin_or_observer
* Mass create tool (sio2project#513)
* Add tool for mass mock data creation.
* Change __str__ for TagThrough models to include the problem they connect with tag.
* Remove all u before strings in models.py, as they were redundant.
* Add TestMassCreateTool tests testing mass_create_tool.py functionality.
* Django 5 migration (sio2project#483)
* Fix: Use `line.fields|length` in fieldset.html and change GET to POST in test_invalidated_user_logout
* Fix: Change `pytest.mark.optionalhook` to `pytest.hookimpl(optionalhook=True)`
* Fix: Django deprecations (DEFAULT_FILE_STORAGE, index_together)
* Bump django-compressor from `>=4.3,<4.4` to `>=4.5,<4.6`
* Bump django-mptt from `>=0.14,<0.15` to `>=0.16,<0.17` and update postgres to 14.17
* Fix: `Model instances passed to related filters must be saved` error in models.py
* Fix: Remove `filter_horizontal` in BaseTagAdmin and bump django to 5.1.7
* Fix: Django deprecation (log_deletion, log_actions)
* Fix: test_can_change_login_from_invalid and test_login_cannot_change_from_valid
* Fix: Add `unlocalize` to progress percentage in task-archive-problemgroup.html
* Refactor: Remove redundant `USE_L10N` in default_settings.py (due django deprecation)
* Fix: Move `DATETIME_FORMAT` to custom format files
* Fix: `TypeError: cannot pickle 'generator' object` error
* Fix: Replace LogoutView with logout() in `not_anonymous` function
* Fix: TestsSelectionForm
* Fix: Add `request` lookup_allowed() (django deprecation)
* Fix: Add missing migrations (due to index_together deprecation)
* Fix: Migrations due `index_together` deprecation
* Bump django from `5.1.7` to `o>=5.2,<5.3`
* Refactor: Use admin decorators and replace `re_path` with `path` (assisted by `django-upgrade` tool)
* Refactor: Remove redundant comment from setup.py
* Docs: Adapt to Django 5.2
* Bump the minimum version of `pytest-django` to `4.11`, and update `django-nested-admin` to `>=4.1,<4.2`
* Feat: Update migrations for index_together deprecation and add a fast migration note in UPGRADING.rst.
* Fix: typo in UPGRADING.rst
* Feat: Convert 're_path' to 'path' in contests/urls.py
* Refactor: Use `path` instead of `re_path` in `/oioioi/statistics/urls.py`
* Github Actions - Downloaded translations. (sio2project#516)
Co-authored-by: SIO2 Automatic Agent <[email protected]>
* Uncommited changes
* add "Projekt MAP" banner
* Revert "dodanie brakującego pliku"
This reverts commit f64b36a.
* Revert "add "Projekt MAP" banner"
This reverts commit 08d1a92.
* Revert "Revert "add "Projekt MAP" banner""
This reverts commit 470cec97b9cb7556a463d6518a04cc82963f0cda.
* Revert "Revert "dodanie brakującego pliku""
This reverts commit bba1a2357344e98ae15d900eccb99bfd8d4aec9e.
* Fix Szkopul kursy
* Add missing migrations
* change szkopul contact info
* Add MP2024 contest controller.
* Actually fix notifications
* socket.io version bump (1.3.7 -> 4.7.2 !!!)
* removes "request" dependency as it's long deprecated - now using the fetch API
* some work towards typing and partially rewriting the javascript code
* Add MAP course
* Szkopul views fixes
* Add map registered
* Add autoscroll to task
* MAP course changes
* Add migrations
* stop maili o 4 tej nad ranem
* Changes for MP2025
* migration rename for problems
* fix issue with oi migration
* add missing migrations
* optimised recent contests query thingy
* hotfixes from deployment on 2025-05-27
* fixing broken tests
* Update python to 3.11 (sio2project#519)
* Multiple additional admin operations for Problem model (sio2project#511)
* Add assigning to a round
* Improve appearance and handle edge cases
* Add tests for assigning problems to rounds
* Add safer handling of problem_ids
* Add better test coverage
* Fix test_bad_problem_ids
* Add tests for managing problems from another contest
* Handle reattaching problems safer
* Fix small issue with tests
* Include twalen's suggestions
* Changes from deployment (sio2project#524)
---------
Co-authored-by: reivvax <[email protected]>
Co-authored-by: Kamil Szymczak <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: SIO2 Automatic Agent <[email protected]>
Co-authored-by: Atanazy Gawrysiak <[email protected]>
Co-authored-by: Grzegorz Franciszek Krawczyk <[email protected]>
Co-authored-by: Kamil Szymczak <[email protected]>
Co-authored-by: kyepskee <[email protected]>
Co-authored-by: Franciszek Czauderna <[email protected]>
Co-authored-by: Mateusz Jacniacki <[email protected]>
Co-authored-by: Zonkil <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>
Co-authored-by: Maciej Dziurzyński <[email protected]>
Co-authored-by: Iteron-dev <[email protected]>
Co-authored-by: sio2 <[email protected]>
Co-authored-by: Tomasz Waleń <[email protected]>
Co-authored-by: MasloMaslane <[email protected]>
Co-authored-by: tkwiatkowski <[email protected]>
Co-authored-by: Meten <[email protected]>1 parent fb70679 commit f2b0bc5
File tree
206 files changed
+7484
-1728
lines changed- .github/workflows
- oioioi
- _locale/locale
- de/LC_MESSAGES
- pl/LC_MESSAGES
- balloons
- base
- migrations
- static
- css
- js
- templates/admin/includes
- tests
- clock
- complaints
- contestlogo
- contests
- fixtures
- migrations
- templates/contests
- tests
- ctimes
- dashboard
- deployment
- exportszu
- formats
- en
- pl
- forum
- migrations
- globalmessage
- templates
- livedata
- liveranking
- mailsubmit
- maintenancemode
- mp
- migrations
- newsfeed
- notifications
- static/common
- oireports
- oisubmit
- oi
- files
- fixtures
- management/commands
- migrations
- static/oi
- templates/forms
- participants
- templates/participants
- pa
- plagiarism
- portals
- migrations
- printing
- problemsharing
- problems
- fixtures
- management/commands
- migrations
- static
- common
- problems/problemset
- templates/problems
- problemset
- templatetags
- tests
- programs
- publicsolutions
- questions
- rankings
- scoresreveal
- similarsubmits
- simpleui
- sinolpack
- statistics
- templates/statistics
- status
- submitservice
- suspendjudge
- su
- szkopul
- migrations
- static
- common
- szkopul
- templates
- map
- szkopul
- teachers
- templates/teachers
- teams
- migrations
- testrun
- testspackages
- timeline
- usergroups
- fixtures
- static/usergroups
- templates/usergroups
- welcomepage
- workers
- zeus
- rst/source
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
206 files changed
+7484
-1728
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
15 | 44 | | |
16 | 45 | | |
17 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
21 | 30 | | |
22 | 31 | | |
23 | 32 | | |
| |||
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
32 | | - | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
38 | | - | |
| 47 | + | |
39 | 48 | | |
40 | 49 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments