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

Problem authorship #2303

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Problem authorship #2303

wants to merge 1 commit into from

Conversation

FherStk
Copy link
Contributor

@FherStk FherStk commented Dec 26, 2023

Related with: #2298
Related also with: #144

A new option has been included for attribution purposes, in order to give the authorship to external DMOJ users (like websites, books, etc):
image

This data will be displayed at the end of the problem statement, just before the license:
image

Thanks and have a nice Xmas!
Fher

@FherStk FherStk mentioned this pull request Dec 26, 2023
@codecov-commenter
Copy link

codecov-commenter commented Dec 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.83%. Comparing base (fd7fb05) to head (341d70c).
Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2303      +/-   ##
==========================================
+ Coverage   46.76%   46.83%   +0.06%     
==========================================
  Files         251      253       +2     
  Lines       13317    13360      +43     
==========================================
+ Hits         6228     6257      +29     
- Misses       7089     7103      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

judge/models/problem.py Outdated Show resolved Hide resolved
judge/models/problem.py Outdated Show resolved Hide resolved
Copy link
Member

@Ninjaclasher Ninjaclasher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor nits, otherwise LGTM, thanks!

judge/migrations/0145_problem_authorship.py Outdated Show resolved Hide resolved
judge/models/problem.py Outdated Show resolved Hide resolved
judge/models/problem.py Outdated Show resolved Hide resolved
judge/models/problem.py Outdated Show resolved Hide resolved
templates/problem/problem.html Outdated Show resolved Hide resolved
templates/problem/problem.html Outdated Show resolved Hide resolved
templates/problem/problem.html Outdated Show resolved Hide resolved
templates/problem/problem.html Outdated Show resolved Hide resolved
@FherStk FherStk force-pushed the problem_authorship branch 2 times, most recently from be25e61 to d38bc14 Compare February 9, 2024 09:55
@FherStk
Copy link
Contributor Author

FherStk commented Feb 9, 2024

Ready to merge, changes from #2304 have been integrated :)

@FherStk FherStk force-pushed the problem_authorship branch 2 times, most recently from c35f69b to c6cbea5 Compare August 12, 2024 11:08
… will be displayed at the end of the problem's statement.
@FherStk
Copy link
Contributor Author

FherStk commented Aug 12, 2024

Hi there!

I just integrated your "master" last changes into this branch, and also I finally learned how to squash commits properly (sorry for the delay), so ready to rock'n'roll 😊

I'll keep the branch unmodified till the PR acceptance, but feel free to ask or request as you need if you need further modifications.

Kind regards!

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.

4 participants