Skip to content

Conversation

@Didayolo
Copy link
Member

@Didayolo Didayolo commented Jan 23, 2024

Test

Deployed at https://codabench-test.lri.fr/

Changes

Manual intervention

In order to create a "logo icon" for each existing competition

  1. Shell into django
docker compose exec django bash
python manage.py shell_plus --plain
  1. Get competitions that don't have logo icons
import io, os
from PIL import Image
from django.core.files.base import ContentFile
comps_no_icon_logo = Competition.objects.filter(logo_icon__isnull=True)
all = Competition.objects.all()
len(Competition.objects.all())
len(comps_no_icon_logo)
  1. Then run this script
for comp in comps_no_icon_logo:
    try:
        comp.make_logo_icon()
        comp.save()
    except Exception as e:
        print(f"An error occurred: {e}")
        print(comp)

Didayolo and others added 27 commits January 21, 2024 02:56
Clickable username in competition header
Replace "date of last entry" by "date"
quota message details and link to user quote
… do not delete rerun submission when original is deleted
Delete rerun submission deletes original submission
Rerun submission when a task used is deleted
Add an example of competition docker image
Queues - show competitions using the queue
* generate codabench statistics

* added comments, removed extra code, handled None values

* flake

* reward cleaned
Files Tab: show login if not loggedin + hide available column from no…
Logo Icons too big fix (Issue: 1290) (#1306)
Queues - show competitions using the queue - Update
@Didayolo Didayolo merged commit e5cad74 into master Feb 10, 2024
@Didayolo Didayolo added the Release PR develop --> master label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release PR develop --> master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants