Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add virtual judge feature (#8) #14

Closed
wants to merge 16 commits into from
Closed

Conversation

LetterC67
Copy link

@LetterC67 LetterC67 commented Aug 18, 2023

Description

Add virtual judge feature

Type of change: new feature?

What

Add virtual judge feature.

Why

Why this PR is needed?

Fixes #8 (issue)

How Has This Been Tested?

  • Tested locally

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have explained the purpose of this PR.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the README/documentation
  • Any dependent changes have been merged and published in downstream modules
  • Informed of breaking changes, testing and migrations (if applicable).
  • Attached screenshots (if applicable).

By submitting this pull request, I confirm that my contribution is made under the terms of the AGPL-3.0 License.

hieplpvip and others added 13 commits May 7, 2023 14:36
* import_polygon_package: support epigraph

* import_polygon_package: fix image caption

* import_polygon_package: force backtick code blocks

* import_polygon_package: check pandoc version

(cherry picked from commit 23be121)
* import_polygon_package: support batch dependencies

* handle dependency chain

* fix total_points calculation

(cherry picked from commit bf15e4b)
(cherry picked from commit f0d355d)
(cherry picked from commit 7f17090)
(cherry picked from commit 9a1d3c3)
Replace reverse ForeignKey with filtering (at the end they both apply the same SQL query).
As per the Django docs, QuerySets are evaluated lazily. This is crucial, as the assignment of pk to None affects QuerySets that haven't been evaluated yet (not sure if these behaviors are intended). Using list() effectively forces the evaluation.
@LetterC67 LetterC67 changed the title Add virtual judge feature (#9) Add virtual judge feature (#8) Aug 18, 2023
magnified103 and others added 2 commits August 19, 2023 01:54
- Rename the `name` field to `slug`

- Add another field named 'name' that specifies the tag title

- Display the contest list by tag
@magnified103 magnified103 force-pushed the feature/c67/virtual-judge branch from 0d4c0a2 to c9701e2 Compare August 18, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vjudge-like features
3 participants