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

3.1.3 #896

Merged
merged 13 commits into from
Jan 8, 2025
Merged

3.1.3 #896

merged 13 commits into from
Jan 8, 2025

Conversation

k1o0
Copy link
Collaborator

@k1o0 k1o0 commented Jan 8, 2025

Release notes

rest

  • Optimizations for imaging and insertion serializers
  • Added field of view location read REST action
  • Bugfix for creating session without users field

fixtures

  • _sp_video.times dataset type
  • taskData.raw dataset type can now have any namespace (for personal projects)
  • Water 1% Citric Acid water type fixture (used in IBL and cortexlab)

system

  • Remove user login tokens page from admin interface
  • Fix user permissions for task page
  • Admin interface tests for jobs app

Release steps below

After pulling the changes from github...

1) Activate environment, cd to the alyx folder and install requirements

git stash
git pull
git stash pop

2) Activate environment - install requirements (if new packages)

pip install -r requirements_frozen.txt

3) Update the database if any scheme changes - we expect no migrations

cd alyx
./manage.py makemigrations
./manage.py migrate

4) If new fixtures load in the database:

../scripts/load-init-fixtures.sh

5) if new tables change the postgres permissions

./manage.py set_db_permissions
./manage.py set_user_permissions

6) If updates to django version

./manage.py collectstatic --no-input

7) Restart the Apache server

sudo service apache2 restart

@k1o0 k1o0 merged commit f256572 into master Jan 8, 2025
4 checks passed
@k1o0 k1o0 deleted the dev branch January 8, 2025 12:48
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.

2 participants