Skip to content

Releases

v1.38

Choose a tag to compare

@ObadaS ObadaS released this 01 Dec 14:16
d67176e

Upgrade instructions

Upgrade

From now on (#2774), the upgrade should include docker compose pull instead of docker compose build.

Workers

Compute workers need to be upgraded (see documentation for upgrading the workers) (#2669).
WARNING: The instance need to be up-to-date. If only the worker is upgraded but not the instance, it could cause bugs.

Manually fetch the papers citing Codabench

To populate manually the Hall of Papers (#2782). Anyway, a daily task does it.

docker compose exec django python manage.py shell -c "from papers.tasks import sync_citing_papers; sync_citing_papers()"

Convert existing email addresses

500 error in signup (fixed by #2611) was caused by entering the same email already registered but with some capital letters. For example instead of writing [email protected] a user enters [email protected] or [email protected]. Now that signup converts email to lowercase, we need to run the following code once this is deployed to convert all emails to lowercase.

Activate django shell plus

docker compose exec django ./manage.py shell_plus

get count of users with capitals in email

User.objects.exclude(email__isnull=True).filter(email__regex=r'[A-Z]').count()

convert emails to lowercase

from django.db import IntegrityError, transaction
from profiles.models import User

failed_users = []

for user in User.objects.exclude(email__isnull=True):
    if user.email != user.email.lower():
        original_email = user.email
        user.email = user.email.lower()
        try:
            # Each save is undone on its own if it fails, so the loop keeps going
            with transaction.atomic():
                user.save()
        except IntegrityError:
            # Another account already has this email in lowercase, e.g. "[email protected]" when "[email protected]" exists
            failed_users.append((user.id, user.username, original_email))

for user_id, username, email in failed_users:
    print(f"Could not convert id={user_id} username={username} email={email}")

get count of users agint to verify

User.objects.exclude(email__isnull=True).filter(email__regex=r'[A-Z]').count()

Changes

Fixes

Enhancement and UI

New

Compute worker

Documentation

Cleanup

Security

v1.37.1

Choose a tag to compare

@ObadaS ObadaS released this 17 Nov 20:03
820a895

v1.37

Choose a tag to compare

@Didayolo Didayolo released this 13 Nov 14:42
4b3ea5f

v1.36.1

Choose a tag to compare

@ObadaS ObadaS released this 06 Nov 17:12
3829470

v1.36

Choose a tag to compare

@ObadaS ObadaS released this 05 Nov 10:41
5bd1ca1

v1.35

Choose a tag to compare

@ObadaS ObadaS released this 29 Oct 14:31
b6e587b

v1.34

Choose a tag to compare

@ObadaS ObadaS released this 13 Oct 12:46
69b4457

v1.33

Choose a tag to compare

@ObadaS ObadaS released this 29 Sep 12:59
c3be819

v1.32

Choose a tag to compare

@ObadaS ObadaS released this 18 Sep 09:09
1bc61b8

v1.31.2

Choose a tag to compare

@ObadaS ObadaS released this 27 Aug 16:16
acf93fb