Skip to content

Production release: lab page info, jsPsych survey likert, package updates#1897

Merged
becky-gilbert merged 15 commits into
masterfrom
develop
Jul 8, 2026
Merged

Production release: lab page info, jsPsych survey likert, package updates#1897
becky-gilbert merged 15 commits into
masterfrom
develop

Conversation

@becky-gilbert

@becky-gilbert becky-gilbert commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Changes/features:

Bug fixes:

  • Add user/username checks to validation for study announcement emails and researcher emails. This handles cases where a user was deleted after being stored in cache, the username is empty, or the username is non-email. Also adds tests for these cases.

Package dependency updates:

  • Django 5.2.13 to 5.2.14
  • idna 3.10 to 3.15
  • urllib3 2.6.3 to 2.7.0

Other:

dependabot Bot and others added 13 commits May 8, 2026 22:40
Bumps [django](https://github.com/django/django) from 5.2.13 to 5.2.14.
- [Commits](django/django@5.2.13...5.2.14)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 5.2.14
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.6.3...2.7.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.7.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [idna](https://github.com/kjd/idna) from 3.10 to 3.15.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md)
- [Commits](kjd/idna@v3.10...v3.15)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.15'
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
… covers edge cases where user was deleted after being stored in cache, empty username, or username is non-email
…ge cases where username is empty or non-email (here the username is coming directly from DB so no need to check for None case)
* create EFFECTIVELY_TALLIED_Q query constant and re-use it whenever tallied count logic is needed (DRY)

* add lab created_at field to calculate counts since lab creation, with null value for existing labs

* add get_response_stats method on Labmodel and use to add stats to LabDetailView context; set created_at value for newly creaed labs

* udpate lab_detail template: two columns, right col is lab license/stats (only visible to members)

* add new squash_spaces template filter to collapse multiple spaces/tabs while preserving line breaks; use this for lab description

* add clean_description to LabForm as retroactive fix for malformed description data (not originally entered via the form)

* add tests for Lab created_at and get_response_stats method

* remove unused var (fixes sonarqube issue)
@becky-gilbert becky-gilbert self-assigned this Jul 6, 2026
@becky-gilbert becky-gilbert marked this pull request as ready for review July 8, 2026 17:26
@sonarqubecloud

sonarqubecloud Bot commented Jul 8, 2026

Copy link
Copy Markdown

@becky-gilbert becky-gilbert changed the title Production release: lab page info, package updates Production release: lab page info, jsPsych survey likert, package updates Jul 8, 2026
@becky-gilbert becky-gilbert merged commit 773299d into master Jul 8, 2026
6 checks passed
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.

1 participant