Skip to content

Problem authorship#2303

Open
FherStk wants to merge 1 commit into
DMOJ:masterfrom
ElPuig:problem_authorship
Open

Problem authorship#2303
FherStk wants to merge 1 commit into
DMOJ:masterfrom
ElPuig:problem_authorship

Conversation

@FherStk
Copy link
Copy Markdown
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
Copy Markdown

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.

Comment thread judge/models/problem.py Outdated
Comment thread judge/models/problem.py Outdated
Copy link
Copy Markdown
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!

Comment thread judge/migrations/0145_problem_authorship.py Outdated
Comment thread judge/models/problem.py Outdated
Comment thread judge/models/problem.py Outdated
Comment thread judge/models/problem.py Outdated
Comment thread templates/problem/problem.html Outdated
Comment thread templates/problem/problem.html Outdated
Comment thread templates/problem/problem.html Outdated
Comment thread templates/problem/problem.html Outdated
@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
Copy Markdown
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 FherStk force-pushed the problem_authorship branch from 663d217 to 341d70c Compare August 12, 2024 12:07
@FherStk
Copy link
Copy Markdown
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