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

Cleanup/remove changelog semantic versioning #696

Merged
merged 9 commits into from
May 25, 2021

Conversation

okaycj
Copy link
Contributor

@okaycj okaycj commented May 24, 2021

We've decided to no longer implement a change log or semantic version control. This PR remove those things.

Additionally, I took this opportunity to remove some files I don't believe we need any longer.

Closes #557

@okaycj okaycj requested a review from kimberscott May 24, 2021 18:13
@kimberscott kimberscott changed the title Cleanup/remove changelog semanic versioning Cleanup/remove changelog semantic versioning May 25, 2021
Copy link
Contributor

@kimberscott kimberscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks for cleaning up the unused dependencies too. The workflow diagram I might add back to the docs eventually but it doesn't need to be in here.

I can't find where we use this.
I believe invoke tasks replace this.
We use Black for python formatting.
This might be needed, I just don't know why it's in version control.
@okaycj okaycj force-pushed the cleanup/remove-changelog-semanic-versioning branch from 06e7bcc to caf8750 Compare May 25, 2021 14:14
@okaycj okaycj merged commit 55d97cd into develop May 25, 2021
@okaycj okaycj deleted the cleanup/remove-changelog-semanic-versioning branch May 25, 2021 14:22
okaycj added a commit that referenced this pull request Jul 26, 2021
* Bump django-debug-toolbar from 2.2 to 2.2.1 in /requirements

Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 2.2 to 2.2.1.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/2.2.1/docs/changes.rst)
- [Commits](jazzband/django-debug-toolbar@2.2...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump django-debug-toolbar from 2.2 to 2.2.1

Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 2.2 to 2.2.1.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/2.2.1/docs/changes.rst)
- [Commits](jazzband/django-debug-toolbar@2.2...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Update OTP form

* Remove unused import

* Added "reply_to" to the helper function

* Add reply to email to lab and study submissions

* Added tests for reply_to

* Update format using pre-commit

Using the command `pre-commit run --all` I was able to run the
pre-commit script on the entire code base.  This should fix all
inconsistencies, including `task.py` which was missing a new line.

* Update where the email address is retrieved

* update env_dist to include info about setting up SendGrid locally

* Fixed issue where user was given instead username

* Update invoke tasks (#676)

* Add asdf tool versions file

* Add poetry lock file and pyproject.toml file

* Update invoke tasks

* Remove unneeded package manager files

* Update dockerfile to use poetry and clean it up

* Removed unneeded package

A python package was added to convert the pipenv packages file to a
poetry packages file.  This library accidentally made it into version
control.

* Pulled from invoke tasks system specific tasks.

* Update docstrings for tasks

* Update the docstring for postgresql

* Found some required packages in requirements dir (#678)

* Found some required packages in requirements dir

* Forgot to remove "BASE_DIR" in tasks

* Update to dockerfile to remove unneeded installs

* Bug fix/add coverage task (#679)

* Add coverage library

* Add coverage task to invoke

* Add pre-commit install to invoke setup task (#681)

* Add autoflake to pre-commit (#682)

* Add autoflake to pre-commit

* Remove unused imports with autoflake

* Added remove-unused-variables to autoflake

* Source code with remove unused variables

* Removed unneded lines of code.

* Clean up StudyDetailView (#680)

* Move 'clone-study' to its own view.

* Move study status change to its own view

* Move researcher permissions to its own view.

* Update docstrings

* Move update_trigger to ChangeStudyStatusView

* Sorting imports from isort

I forgot to install the pre-commit hooks.

* Update name of "test_func" in the three new views

* Update post to not check for "POST"

* Moved methods specific to views to those classes

* Updated views to no longer inherit StudyDetailView

* Remove unneeded mixins

* Study view tests

* Add google analytics (#686)

* Added template tag for GA

* Added GA template tag to html templates

* Remove size field from video table (#684)

* Remove size field from video table

* Removed size field still in use

* Update experimenter to researcher (#685)

* Replace "experimenter" with "researcher"

This includes all of the following cases:
- all lower case
- First letter capitalized
- Change "an" to "a"

* Replace uppercase "EXPERIMENTER" with "RESEARCHER"

* Update the mixin for the new study views

* Update "researcher" which should have stayed "experimenter"

* Update dashboard html

* Reverted the changes for signals

* Revert changes to locale files

* Update to travis config to login to docker (#693)

The credentials for docker username and password are in the travis
environment variables within their console.

* Rename "long_description" to "purpose" on the Study table (#695)

* Update model

* Update forms

* Add migration

* Update serializers

* Update email templates

* Update html templates

* Update tests

* Fix bug when changing permissions ui (#690)

* Fix bug when changing permissions ui

* Update tests

* Update travis to login to docker

* Added acceptance comment box (#683)

* Added acceptance comment box

* Updated comments on aproval email

* Fixed cloned study that has comments from original

* Update to models

* Simple update to study view to display any comment

* A more complex change to study detail view

* Tests

* Tests for user not permitted to read details view

* Update travis-ci use different dockerfile

* Google Tag Manager (#699)

* Update template tag

* Update templates

* Add environment variable

* Remove noscript variant of GTM

* Cleanup/remove changelog semantic versioning (#696)

* Removed new_version from invoke tasks

* Remove changelog

* Remove Caddyfile

I can't find where we use this.

* Remove up script

I believe invoke tasks replace this.

* Remove setup.cfg file

We use Black for python formatting.

* Remove wolfkrow png

This might be needed, I just don't know why it's in version control.

* Remove sqlite file

* Update isort config after rebase

* Update poetry lock after rebase

* Update form help text (#707)

* Update message when video doesn't load (#697)

* Update message when video doesn't load

* Update study_responses_consent_ruling.html

Adding an explanation to the error

Co-authored-by: Kim Scott <kimscott@mit.edu>

* Keeping packages up to date (#711)

* Ensure soft deleted children aren't shown unnecessarily (#708)

* Remove unnecessary django template tag

* DemographicDataUpdateView filter deleted children

* Filter out deleted children from analytics page

* Tests

* Developer/update rabbitmq install (#714)

* Add script for running rabbitmq in docker

* Remove rabbitmq setup from tasks

* Update dockerfile for running tests (#726)

* Update dockerfile for running tests

* Trigger Build

* Trigger Build 2

* Trigger Build 3

* Trigger Build 4

* Install all packages (#727)

* For graphviz library (#728)

* Add Dependabot config (#732)

This PR will add Dependabot config to our repo.

* Update travis ci config (#733)

* Update travis ci config

* Remove poetry virtual environment

* Remove commented config

* Less poetry install output

* Even less output from poetry install

* Cache pre-commit for faster runs

* Bump python-dotenv from 0.14.0 to 0.18.0 (#739)

Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 0.14.0 to 0.18.0.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md)
- [Commits](theskumar/python-dotenv@v0.14.0...v0.18.0)

---
updated-dependencies:
- dependency-name: python-dotenv
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ptpython from 3.0.2 to 3.0.19 (#736)

Bumps [ptpython](https://github.com/prompt-toolkit/ptpython) from 3.0.2 to 3.0.19.
- [Release notes](https://github.com/prompt-toolkit/ptpython/releases)
- [Changelog](https://github.com/prompt-toolkit/ptpython/blob/master/CHANGELOG)
- [Commits](prompt-toolkit/ptpython@3.0.2...3.0.19)

---
updated-dependencies:
- dependency-name: ptpython
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Study list view (#722)

* Update version of bootstrap3

* Remove static boostrap files

* Add template tags to html for bootstrap3

* Update study list cards

* Sort studies by the hash of the user and study id.

* Add search bar

* Sort packages in pyproject

* Put back feedback css

I accidentally remove the css for feedback.

* Move style into css file.

* Move back to using the proven trans template tag.

* Remove unneeded print in tests

* Move form class to correct form file

* Search box now filters on experiment name

* Added values to dropdown when user isn't logged in

* Filter studies for children who are eligible

* Add list of eligible children to left section

* Filter by age range when signed out

* Add clear form function

* implemented pagination

* Submit form on change

* Remove blue banner at top of pages

* Add template tag to highlight current page in nav

* Add filter for completed consent frame

* Moved study history link to nav bar

* Remove default ordering from response model

* Update existing tests

* Update search form choices

* Rename migration for response table

* Update 'Your Past Studies' to 'My Past Studies'

* Translate "Clear" for clear button

* Translate eligible for this study

* 'Short description' to 'What happens'

* Tranlate Purpose

* Lookup child with logged for logged in user

* Only get child eligibility if user is logged in

* Add institution for study card

* Update studies list to be a form view

* StudiesListView tests

* Participant/redesign studies list view ks review (#730)

* Update dockerfile for running tests (#726)

* Update dockerfile for running tests

* Trigger Build

* Trigger Build 2

* Trigger Build 3

* Trigger Build 4

* Install all packages (#727)

* For graphviz library (#728)

* fix unrelated problem with translation on study history page due to linebreak

* allow linebreaks in description as well as purpose

* minor proposed formatting changes to put study name, institution, and details link at top

* fix 'see details' button so it shows up on right for md-sized and up but in line with bottom margin on smaller screens

Co-authored-by: CJ Green <44074998+okaycj@users.noreply.github.com>

* Changed text when no studies are available/found

* Limit study thumbnail size on smaller screens

* Checkbox is disabled when no child is selected

* Add tests for form view

* Update method set_eligible_children_per_study

* Add comments to sort_fn tests

* Update form to have "Hide Studies We've Done"

* Replace "Hi Nickname" with "My Account"

* Update poetry lock

Co-authored-by: Kim Scott <kimscott@mit.edu>

* Bump more-itertools from 8.4.0 to 8.8.0 (#742)

Bumps [more-itertools](https://github.com/more-itertools/more-itertools) from 8.4.0 to 8.8.0.
- [Release notes](https://github.com/more-itertools/more-itertools/releases)
- [Commits](more-itertools/more-itertools@v8.4.0...v8.8.0)

---
updated-dependencies:
- dependency-name: more-itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Updated requested packages (#734)

* Bump kombu from 4.6.10 to 4.6.11 (#745)

Bumps [kombu](https://kombu.readthedocs.io) from 4.6.10 to 4.6.11.

---
updated-dependencies:
- dependency-name: kombu
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump black from 19.10b0 to 21.6b0 (#738)

* Bump black from 19.10b0 to 21.6b0

Bumps [black](https://github.com/psf/black) from 19.10b0 to 21.6b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update black in pre-commit

The update for black required an update with pre-commit.

* Format changes from black update

* Attempting to trigger travis-ci

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher J. Green <okaycj@mit.edu>

* Bump pyotp from 2.3.0 to 2.6.0 (#737)

* Bump pyotp from 2.3.0 to 2.6.0

Bumps [pyotp](https://github.com/pyotp/pyotp) from 2.3.0 to 2.6.0.
- [Release notes](https://github.com/pyotp/pyotp/releases)
- [Changelog](https://github.com/pyauth/pyotp/blob/develop/Changes.rst)
- [Commits](pyauth/pyotp@v2.3.0...v2.6.0)

---
updated-dependencies:
- dependency-name: pyotp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Increase length of secret field, update pyotp api

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher J. Green <okaycj@mit.edu>

* Bump django-localflavor from 3.0.1 to 3.1 (#750)

Bumps [django-localflavor](https://github.com/django/django-localflavor) from 3.0.1 to 3.1.
- [Release notes](https://github.com/django/django-localflavor/releases)
- [Changelog](https://github.com/django/django-localflavor/blob/master/docs/changelog.rst)
- [Commits](django/django-localflavor@3.0.1...3.1)

---
updated-dependencies:
- dependency-name: django-localflavor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ciso8601 from 1.0.3 to 2.1.3 (#747)

Bumps [ciso8601](https://github.com/closeio/ciso8601) from 1.0.3 to 2.1.3.
- [Release notes](https://github.com/closeio/ciso8601/releases)
- [Changelog](https://github.com/closeio/ciso8601/blob/master/CHANGELOG.md)
- [Commits](closeio/ciso8601@v1.0.3...v2.1.3)

---
updated-dependencies:
- dependency-name: ciso8601
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump djangorestframework from 3.11.2 to 3.12.4 (#753)

Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.11.2 to 3.12.4.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.11.2...3.12.4)

---
updated-dependencies:
- dependency-name: djangorestframework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump django-countries from 6.1.2 to 7.2.1 (#751)

Bumps [django-countries](https://github.com/SmileyChris/django-countries) from 6.1.2 to 7.2.1.
- [Release notes](https://github.com/SmileyChris/django-countries/releases)
- [Changelog](https://github.com/SmileyChris/django-countries/blob/master/CHANGES.rst)
- [Commits](SmileyChris/django-countries@v6.1.2...v7.2.1)

---
updated-dependencies:
- dependency-name: django-countries
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update age range in search filter (#756)

* Move log in message to search bar (#755)

* Update logic for filter "hide studies we've done" (#754)

* Update logic for filter "hide studies we've done"

* Update filter on responses.

1. It should return any study that doesn't have a response
2. It shouldn't return a study with any response marked "completed_consent_frame" as
true

* Leaving "studies" as a queryset longer

This gives me the opportunity to perform db queries on the studies
queryset.

* Update test

* Install dev dependencies only for tests (#731)

* Poetry install argument to environment variable

* An attempt at creating an image for testing

* Add check-yaml to pre-commit (#763)

* Id field must be unique under steps (#764)

* Cleared search form will no longer select checkbox (#762)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kim Scott <kimscott@mit.edu>
okaycj added a commit that referenced this pull request Aug 2, 2021
* Bump django-debug-toolbar from 2.2 to 2.2.1 in /requirements

Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 2.2 to 2.2.1.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/2.2.1/docs/changes.rst)
- [Commits](jazzband/django-debug-toolbar@2.2...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump django-debug-toolbar from 2.2 to 2.2.1

Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 2.2 to 2.2.1.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/2.2.1/docs/changes.rst)
- [Commits](jazzband/django-debug-toolbar@2.2...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Update OTP form

* Remove unused import

* Added "reply_to" to the helper function

* Add reply to email to lab and study submissions

* Added tests for reply_to

* Update format using pre-commit

Using the command `pre-commit run --all` I was able to run the
pre-commit script on the entire code base.  This should fix all
inconsistencies, including `task.py` which was missing a new line.

* Update where the email address is retrieved

* update env_dist to include info about setting up SendGrid locally

* Fixed issue where user was given instead username

* Update invoke tasks (#676)

* Add asdf tool versions file

* Add poetry lock file and pyproject.toml file

* Update invoke tasks

* Remove unneeded package manager files

* Update dockerfile to use poetry and clean it up

* Removed unneeded package

A python package was added to convert the pipenv packages file to a
poetry packages file.  This library accidentally made it into version
control.

* Pulled from invoke tasks system specific tasks.

* Update docstrings for tasks

* Update the docstring for postgresql

* Found some required packages in requirements dir (#678)

* Found some required packages in requirements dir

* Forgot to remove "BASE_DIR" in tasks

* Update to dockerfile to remove unneeded installs

* Bug fix/add coverage task (#679)

* Add coverage library

* Add coverage task to invoke

* Add pre-commit install to invoke setup task (#681)

* Add autoflake to pre-commit (#682)

* Add autoflake to pre-commit

* Remove unused imports with autoflake

* Added remove-unused-variables to autoflake

* Source code with remove unused variables

* Removed unneded lines of code.

* Clean up StudyDetailView (#680)

* Move 'clone-study' to its own view.

* Move study status change to its own view

* Move researcher permissions to its own view.

* Update docstrings

* Move update_trigger to ChangeStudyStatusView

* Sorting imports from isort

I forgot to install the pre-commit hooks.

* Update name of "test_func" in the three new views

* Update post to not check for "POST"

* Moved methods specific to views to those classes

* Updated views to no longer inherit StudyDetailView

* Remove unneeded mixins

* Study view tests

* Add google analytics (#686)

* Added template tag for GA

* Added GA template tag to html templates

* Remove size field from video table (#684)

* Remove size field from video table

* Removed size field still in use

* Update experimenter to researcher (#685)

* Replace "experimenter" with "researcher"

This includes all of the following cases:
- all lower case
- First letter capitalized
- Change "an" to "a"

* Replace uppercase "EXPERIMENTER" with "RESEARCHER"

* Update the mixin for the new study views

* Update "researcher" which should have stayed "experimenter"

* Update dashboard html

* Reverted the changes for signals

* Revert changes to locale files

* Update to travis config to login to docker (#693)

The credentials for docker username and password are in the travis
environment variables within their console.

* Rename "long_description" to "purpose" on the Study table (#695)

* Update model

* Update forms

* Add migration

* Update serializers

* Update email templates

* Update html templates

* Update tests

* Fix bug when changing permissions ui (#690)

* Fix bug when changing permissions ui

* Update tests

* Update travis to login to docker

* Added acceptance comment box (#683)

* Added acceptance comment box

* Updated comments on aproval email

* Fixed cloned study that has comments from original

* Update to models

* Simple update to study view to display any comment

* A more complex change to study detail view

* Tests

* Tests for user not permitted to read details view

* Update travis-ci use different dockerfile

* Google Tag Manager (#699)

* Update template tag

* Update templates

* Add environment variable

* Remove noscript variant of GTM

* Cleanup/remove changelog semantic versioning (#696)

* Removed new_version from invoke tasks

* Remove changelog

* Remove Caddyfile

I can't find where we use this.

* Remove up script

I believe invoke tasks replace this.

* Remove setup.cfg file

We use Black for python formatting.

* Remove wolfkrow png

This might be needed, I just don't know why it's in version control.

* Remove sqlite file

* Update isort config after rebase

* Update poetry lock after rebase

* Update form help text (#707)

* Update message when video doesn't load (#697)

* Update message when video doesn't load

* Update study_responses_consent_ruling.html

Adding an explanation to the error

Co-authored-by: Kim Scott <kimscott@mit.edu>

* Keeping packages up to date (#711)

* Ensure soft deleted children aren't shown unnecessarily (#708)

* Remove unnecessary django template tag

* DemographicDataUpdateView filter deleted children

* Filter out deleted children from analytics page

* Tests

* Developer/update rabbitmq install (#714)

* Add script for running rabbitmq in docker

* Remove rabbitmq setup from tasks

* Update dockerfile for running tests (#726)

* Update dockerfile for running tests

* Trigger Build

* Trigger Build 2

* Trigger Build 3

* Trigger Build 4

* Install all packages (#727)

* For graphviz library (#728)

* Add Dependabot config (#732)

This PR will add Dependabot config to our repo.

* Update travis ci config (#733)

* Update travis ci config

* Remove poetry virtual environment

* Remove commented config

* Less poetry install output

* Even less output from poetry install

* Cache pre-commit for faster runs

* Bump python-dotenv from 0.14.0 to 0.18.0 (#739)

Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 0.14.0 to 0.18.0.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md)
- [Commits](theskumar/python-dotenv@v0.14.0...v0.18.0)

---
updated-dependencies:
- dependency-name: python-dotenv
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ptpython from 3.0.2 to 3.0.19 (#736)

Bumps [ptpython](https://github.com/prompt-toolkit/ptpython) from 3.0.2 to 3.0.19.
- [Release notes](https://github.com/prompt-toolkit/ptpython/releases)
- [Changelog](https://github.com/prompt-toolkit/ptpython/blob/master/CHANGELOG)
- [Commits](prompt-toolkit/ptpython@3.0.2...3.0.19)

---
updated-dependencies:
- dependency-name: ptpython
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Study list view (#722)

* Update version of bootstrap3

* Remove static boostrap files

* Add template tags to html for bootstrap3

* Update study list cards

* Sort studies by the hash of the user and study id.

* Add search bar

* Sort packages in pyproject

* Put back feedback css

I accidentally remove the css for feedback.

* Move style into css file.

* Move back to using the proven trans template tag.

* Remove unneeded print in tests

* Move form class to correct form file

* Search box now filters on experiment name

* Added values to dropdown when user isn't logged in

* Filter studies for children who are eligible

* Add list of eligible children to left section

* Filter by age range when signed out

* Add clear form function

* implemented pagination

* Submit form on change

* Remove blue banner at top of pages

* Add template tag to highlight current page in nav

* Add filter for completed consent frame

* Moved study history link to nav bar

* Remove default ordering from response model

* Update existing tests

* Update search form choices

* Rename migration for response table

* Update 'Your Past Studies' to 'My Past Studies'

* Translate "Clear" for clear button

* Translate eligible for this study

* 'Short description' to 'What happens'

* Tranlate Purpose

* Lookup child with logged for logged in user

* Only get child eligibility if user is logged in

* Add institution for study card

* Update studies list to be a form view

* StudiesListView tests

* Participant/redesign studies list view ks review (#730)

* Update dockerfile for running tests (#726)

* Update dockerfile for running tests

* Trigger Build

* Trigger Build 2

* Trigger Build 3

* Trigger Build 4

* Install all packages (#727)

* For graphviz library (#728)

* fix unrelated problem with translation on study history page due to linebreak

* allow linebreaks in description as well as purpose

* minor proposed formatting changes to put study name, institution, and details link at top

* fix 'see details' button so it shows up on right for md-sized and up but in line with bottom margin on smaller screens

Co-authored-by: CJ Green <44074998+okaycj@users.noreply.github.com>

* Changed text when no studies are available/found

* Limit study thumbnail size on smaller screens

* Checkbox is disabled when no child is selected

* Add tests for form view

* Update method set_eligible_children_per_study

* Add comments to sort_fn tests

* Update form to have "Hide Studies We've Done"

* Replace "Hi Nickname" with "My Account"

* Update poetry lock

Co-authored-by: Kim Scott <kimscott@mit.edu>

* Bump more-itertools from 8.4.0 to 8.8.0 (#742)

Bumps [more-itertools](https://github.com/more-itertools/more-itertools) from 8.4.0 to 8.8.0.
- [Release notes](https://github.com/more-itertools/more-itertools/releases)
- [Commits](more-itertools/more-itertools@v8.4.0...v8.8.0)

---
updated-dependencies:
- dependency-name: more-itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Updated requested packages (#734)

* Bump kombu from 4.6.10 to 4.6.11 (#745)

Bumps [kombu](https://kombu.readthedocs.io) from 4.6.10 to 4.6.11.

---
updated-dependencies:
- dependency-name: kombu
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump black from 19.10b0 to 21.6b0 (#738)

* Bump black from 19.10b0 to 21.6b0

Bumps [black](https://github.com/psf/black) from 19.10b0 to 21.6b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update black in pre-commit

The update for black required an update with pre-commit.

* Format changes from black update

* Attempting to trigger travis-ci

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher J. Green <okaycj@mit.edu>

* Bump pyotp from 2.3.0 to 2.6.0 (#737)

* Bump pyotp from 2.3.0 to 2.6.0

Bumps [pyotp](https://github.com/pyotp/pyotp) from 2.3.0 to 2.6.0.
- [Release notes](https://github.com/pyotp/pyotp/releases)
- [Changelog](https://github.com/pyauth/pyotp/blob/develop/Changes.rst)
- [Commits](pyauth/pyotp@v2.3.0...v2.6.0)

---
updated-dependencies:
- dependency-name: pyotp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Increase length of secret field, update pyotp api

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher J. Green <okaycj@mit.edu>

* Bump django-localflavor from 3.0.1 to 3.1 (#750)

Bumps [django-localflavor](https://github.com/django/django-localflavor) from 3.0.1 to 3.1.
- [Release notes](https://github.com/django/django-localflavor/releases)
- [Changelog](https://github.com/django/django-localflavor/blob/master/docs/changelog.rst)
- [Commits](django/django-localflavor@3.0.1...3.1)

---
updated-dependencies:
- dependency-name: django-localflavor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ciso8601 from 1.0.3 to 2.1.3 (#747)

Bumps [ciso8601](https://github.com/closeio/ciso8601) from 1.0.3 to 2.1.3.
- [Release notes](https://github.com/closeio/ciso8601/releases)
- [Changelog](https://github.com/closeio/ciso8601/blob/master/CHANGELOG.md)
- [Commits](closeio/ciso8601@v1.0.3...v2.1.3)

---
updated-dependencies:
- dependency-name: ciso8601
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump djangorestframework from 3.11.2 to 3.12.4 (#753)

Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.11.2 to 3.12.4.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.11.2...3.12.4)

---
updated-dependencies:
- dependency-name: djangorestframework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump django-countries from 6.1.2 to 7.2.1 (#751)

Bumps [django-countries](https://github.com/SmileyChris/django-countries) from 6.1.2 to 7.2.1.
- [Release notes](https://github.com/SmileyChris/django-countries/releases)
- [Changelog](https://github.com/SmileyChris/django-countries/blob/master/CHANGES.rst)
- [Commits](SmileyChris/django-countries@v6.1.2...v7.2.1)

---
updated-dependencies:
- dependency-name: django-countries
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update age range in search filter (#756)

* Move log in message to search bar (#755)

* Update logic for filter "hide studies we've done" (#754)

* Update logic for filter "hide studies we've done"

* Update filter on responses.

1. It should return any study that doesn't have a response
2. It shouldn't return a study with any response marked "completed_consent_frame" as
true

* Leaving "studies" as a queryset longer

This gives me the opportunity to perform db queries on the studies
queryset.

* Update test

* Install dev dependencies only for tests (#731)

* Poetry install argument to environment variable

* An attempt at creating an image for testing

* Add check-yaml to pre-commit (#763)

* Id field must be unique under steps (#764)

* Cleared search form will no longer select checkbox (#762)

* No longer remove search form values from session (#765)

* No longer remove search form values from session

* Update test

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kim Scott <kimscott@mit.edu>
okaycj added a commit that referenced this pull request Aug 5, 2021
* Bump django-debug-toolbar from 2.2 to 2.2.1 in /requirements

Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 2.2 to 2.2.1.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/2.2.1/docs/changes.rst)
- [Commits](jazzband/django-debug-toolbar@2.2...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump django-debug-toolbar from 2.2 to 2.2.1

Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 2.2 to 2.2.1.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/2.2.1/docs/changes.rst)
- [Commits](jazzband/django-debug-toolbar@2.2...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Update OTP form

* Remove unused import

* Added "reply_to" to the helper function

* Add reply to email to lab and study submissions

* Added tests for reply_to

* Update format using pre-commit

Using the command `pre-commit run --all` I was able to run the
pre-commit script on the entire code base.  This should fix all
inconsistencies, including `task.py` which was missing a new line.

* Update where the email address is retrieved

* update env_dist to include info about setting up SendGrid locally

* Fixed issue where user was given instead username

* Update invoke tasks (#676)

* Add asdf tool versions file

* Add poetry lock file and pyproject.toml file

* Update invoke tasks

* Remove unneeded package manager files

* Update dockerfile to use poetry and clean it up

* Removed unneeded package

A python package was added to convert the pipenv packages file to a
poetry packages file.  This library accidentally made it into version
control.

* Pulled from invoke tasks system specific tasks.

* Update docstrings for tasks

* Update the docstring for postgresql

* Found some required packages in requirements dir (#678)

* Found some required packages in requirements dir

* Forgot to remove "BASE_DIR" in tasks

* Update to dockerfile to remove unneeded installs

* Bug fix/add coverage task (#679)

* Add coverage library

* Add coverage task to invoke

* Add pre-commit install to invoke setup task (#681)

* Add autoflake to pre-commit (#682)

* Add autoflake to pre-commit

* Remove unused imports with autoflake

* Added remove-unused-variables to autoflake

* Source code with remove unused variables

* Removed unneded lines of code.

* Clean up StudyDetailView (#680)

* Move 'clone-study' to its own view.

* Move study status change to its own view

* Move researcher permissions to its own view.

* Update docstrings

* Move update_trigger to ChangeStudyStatusView

* Sorting imports from isort

I forgot to install the pre-commit hooks.

* Update name of "test_func" in the three new views

* Update post to not check for "POST"

* Moved methods specific to views to those classes

* Updated views to no longer inherit StudyDetailView

* Remove unneeded mixins

* Study view tests

* Add google analytics (#686)

* Added template tag for GA

* Added GA template tag to html templates

* Remove size field from video table (#684)

* Remove size field from video table

* Removed size field still in use

* Update experimenter to researcher (#685)

* Replace "experimenter" with "researcher"

This includes all of the following cases:
- all lower case
- First letter capitalized
- Change "an" to "a"

* Replace uppercase "EXPERIMENTER" with "RESEARCHER"

* Update the mixin for the new study views

* Update "researcher" which should have stayed "experimenter"

* Update dashboard html

* Reverted the changes for signals

* Revert changes to locale files

* Update to travis config to login to docker (#693)

The credentials for docker username and password are in the travis
environment variables within their console.

* Rename "long_description" to "purpose" on the Study table (#695)

* Update model

* Update forms

* Add migration

* Update serializers

* Update email templates

* Update html templates

* Update tests

* Fix bug when changing permissions ui (#690)

* Fix bug when changing permissions ui

* Update tests

* Update travis to login to docker

* Added acceptance comment box (#683)

* Added acceptance comment box

* Updated comments on aproval email

* Fixed cloned study that has comments from original

* Update to models

* Simple update to study view to display any comment

* A more complex change to study detail view

* Tests

* Tests for user not permitted to read details view

* Update travis-ci use different dockerfile

* Google Tag Manager (#699)

* Update template tag

* Update templates

* Add environment variable

* Remove noscript variant of GTM

* Cleanup/remove changelog semantic versioning (#696)

* Removed new_version from invoke tasks

* Remove changelog

* Remove Caddyfile

I can't find where we use this.

* Remove up script

I believe invoke tasks replace this.

* Remove setup.cfg file

We use Black for python formatting.

* Remove wolfkrow png

This might be needed, I just don't know why it's in version control.

* Remove sqlite file

* Update isort config after rebase

* Update poetry lock after rebase

* Update form help text (#707)

* Update message when video doesn't load (#697)

* Update message when video doesn't load

* Update study_responses_consent_ruling.html

Adding an explanation to the error

Co-authored-by: Kim Scott <kimscott@mit.edu>

* Keeping packages up to date (#711)

* Ensure soft deleted children aren't shown unnecessarily (#708)

* Remove unnecessary django template tag

* DemographicDataUpdateView filter deleted children

* Filter out deleted children from analytics page

* Tests

* Developer/update rabbitmq install (#714)

* Add script for running rabbitmq in docker

* Remove rabbitmq setup from tasks

* Update dockerfile for running tests (#726)

* Update dockerfile for running tests

* Trigger Build

* Trigger Build 2

* Trigger Build 3

* Trigger Build 4

* Install all packages (#727)

* For graphviz library (#728)

* Add Dependabot config (#732)

This PR will add Dependabot config to our repo.

* Update travis ci config (#733)

* Update travis ci config

* Remove poetry virtual environment

* Remove commented config

* Less poetry install output

* Even less output from poetry install

* Cache pre-commit for faster runs

* Bump python-dotenv from 0.14.0 to 0.18.0 (#739)

Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 0.14.0 to 0.18.0.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md)
- [Commits](theskumar/python-dotenv@v0.14.0...v0.18.0)

---
updated-dependencies:
- dependency-name: python-dotenv
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ptpython from 3.0.2 to 3.0.19 (#736)

Bumps [ptpython](https://github.com/prompt-toolkit/ptpython) from 3.0.2 to 3.0.19.
- [Release notes](https://github.com/prompt-toolkit/ptpython/releases)
- [Changelog](https://github.com/prompt-toolkit/ptpython/blob/master/CHANGELOG)
- [Commits](prompt-toolkit/ptpython@3.0.2...3.0.19)

---
updated-dependencies:
- dependency-name: ptpython
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Study list view (#722)

* Update version of bootstrap3

* Remove static boostrap files

* Add template tags to html for bootstrap3

* Update study list cards

* Sort studies by the hash of the user and study id.

* Add search bar

* Sort packages in pyproject

* Put back feedback css

I accidentally remove the css for feedback.

* Move style into css file.

* Move back to using the proven trans template tag.

* Remove unneeded print in tests

* Move form class to correct form file

* Search box now filters on experiment name

* Added values to dropdown when user isn't logged in

* Filter studies for children who are eligible

* Add list of eligible children to left section

* Filter by age range when signed out

* Add clear form function

* implemented pagination

* Submit form on change

* Remove blue banner at top of pages

* Add template tag to highlight current page in nav

* Add filter for completed consent frame

* Moved study history link to nav bar

* Remove default ordering from response model

* Update existing tests

* Update search form choices

* Rename migration for response table

* Update 'Your Past Studies' to 'My Past Studies'

* Translate "Clear" for clear button

* Translate eligible for this study

* 'Short description' to 'What happens'

* Tranlate Purpose

* Lookup child with logged for logged in user

* Only get child eligibility if user is logged in

* Add institution for study card

* Update studies list to be a form view

* StudiesListView tests

* Participant/redesign studies list view ks review (#730)

* Update dockerfile for running tests (#726)

* Update dockerfile for running tests

* Trigger Build

* Trigger Build 2

* Trigger Build 3

* Trigger Build 4

* Install all packages (#727)

* For graphviz library (#728)

* fix unrelated problem with translation on study history page due to linebreak

* allow linebreaks in description as well as purpose

* minor proposed formatting changes to put study name, institution, and details link at top

* fix 'see details' button so it shows up on right for md-sized and up but in line with bottom margin on smaller screens

Co-authored-by: CJ Green <44074998+okaycj@users.noreply.github.com>

* Changed text when no studies are available/found

* Limit study thumbnail size on smaller screens

* Checkbox is disabled when no child is selected

* Add tests for form view

* Update method set_eligible_children_per_study

* Add comments to sort_fn tests

* Update form to have "Hide Studies We've Done"

* Replace "Hi Nickname" with "My Account"

* Update poetry lock

Co-authored-by: Kim Scott <kimscott@mit.edu>

* Bump more-itertools from 8.4.0 to 8.8.0 (#742)

Bumps [more-itertools](https://github.com/more-itertools/more-itertools) from 8.4.0 to 8.8.0.
- [Release notes](https://github.com/more-itertools/more-itertools/releases)
- [Commits](more-itertools/more-itertools@v8.4.0...v8.8.0)

---
updated-dependencies:
- dependency-name: more-itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Updated requested packages (#734)

* Bump kombu from 4.6.10 to 4.6.11 (#745)

Bumps [kombu](https://kombu.readthedocs.io) from 4.6.10 to 4.6.11.

---
updated-dependencies:
- dependency-name: kombu
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump black from 19.10b0 to 21.6b0 (#738)

* Bump black from 19.10b0 to 21.6b0

Bumps [black](https://github.com/psf/black) from 19.10b0 to 21.6b0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update black in pre-commit

The update for black required an update with pre-commit.

* Format changes from black update

* Attempting to trigger travis-ci

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher J. Green <okaycj@mit.edu>

* Bump pyotp from 2.3.0 to 2.6.0 (#737)

* Bump pyotp from 2.3.0 to 2.6.0

Bumps [pyotp](https://github.com/pyotp/pyotp) from 2.3.0 to 2.6.0.
- [Release notes](https://github.com/pyotp/pyotp/releases)
- [Changelog](https://github.com/pyauth/pyotp/blob/develop/Changes.rst)
- [Commits](pyauth/pyotp@v2.3.0...v2.6.0)

---
updated-dependencies:
- dependency-name: pyotp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Increase length of secret field, update pyotp api

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher J. Green <okaycj@mit.edu>

* Bump django-localflavor from 3.0.1 to 3.1 (#750)

Bumps [django-localflavor](https://github.com/django/django-localflavor) from 3.0.1 to 3.1.
- [Release notes](https://github.com/django/django-localflavor/releases)
- [Changelog](https://github.com/django/django-localflavor/blob/master/docs/changelog.rst)
- [Commits](django/django-localflavor@3.0.1...3.1)

---
updated-dependencies:
- dependency-name: django-localflavor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ciso8601 from 1.0.3 to 2.1.3 (#747)

Bumps [ciso8601](https://github.com/closeio/ciso8601) from 1.0.3 to 2.1.3.
- [Release notes](https://github.com/closeio/ciso8601/releases)
- [Changelog](https://github.com/closeio/ciso8601/blob/master/CHANGELOG.md)
- [Commits](closeio/ciso8601@v1.0.3...v2.1.3)

---
updated-dependencies:
- dependency-name: ciso8601
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump djangorestframework from 3.11.2 to 3.12.4 (#753)

Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.11.2 to 3.12.4.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.11.2...3.12.4)

---
updated-dependencies:
- dependency-name: djangorestframework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump django-countries from 6.1.2 to 7.2.1 (#751)

Bumps [django-countries](https://github.com/SmileyChris/django-countries) from 6.1.2 to 7.2.1.
- [Release notes](https://github.com/SmileyChris/django-countries/releases)
- [Changelog](https://github.com/SmileyChris/django-countries/blob/master/CHANGES.rst)
- [Commits](SmileyChris/django-countries@v6.1.2...v7.2.1)

---
updated-dependencies:
- dependency-name: django-countries
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update age range in search filter (#756)

* Move log in message to search bar (#755)

* Update logic for filter "hide studies we've done" (#754)

* Update logic for filter "hide studies we've done"

* Update filter on responses.

1. It should return any study that doesn't have a response
2. It shouldn't return a study with any response marked "completed_consent_frame" as
true

* Leaving "studies" as a queryset longer

This gives me the opportunity to perform db queries on the studies
queryset.

* Update test

* Install dev dependencies only for tests (#731)

* Poetry install argument to environment variable

* An attempt at creating an image for testing

* Add check-yaml to pre-commit (#763)

* Id field must be unique under steps (#764)

* Cleared search form will no longer select checkbox (#762)

* No longer remove search form values from session (#765)

* No longer remove search form values from session

* Update test

* Add form validation to the search bar. (#767)

* Add form validation to the search bar.

* Add invoke task to add SQL data to local database

* Update view to better handle search filters

* Update search form to handle deleted children

* Fix tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kim Scott <kimscott@mit.edu>
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.

Implement CHANGELOG.md
2 participants