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

Master overhaul merge to my fork #3

Merged
merged 193 commits into from
Mar 24, 2023

Commits on Sep 19, 2022

  1. Configuration menu
    Copy the full SHA
    f21eaf9 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Configuration menu
    Copy the full SHA
    6ac01df View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2022

  1. test fix

    SyedAli-789 committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    8c08b70 View commit details
    Browse the repository at this point in the history
  2. test fix

    SyedAli-789 committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    4c8b06d View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Configuration menu
    Copy the full SHA
    7ea64f7 View commit details
    Browse the repository at this point in the history
  2. merge conflict resolved

    SyedAli-789 committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    50588ff View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. PR comment changes

    SyedAli-789 committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    8ce863c View commit details
    Browse the repository at this point in the history
  2. lint fix

    SyedAli-789 committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    8c3e68d View commit details
    Browse the repository at this point in the history
  3. lint fix

    SyedAli-789 committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    8213605 View commit details
    Browse the repository at this point in the history
  4. lint fix

    SyedAli-789 committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    2ec55e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. PR comment changes

    SyedAli-789 committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    908bf30 View commit details
    Browse the repository at this point in the history
  2. lint fix

    SyedAli-789 committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    55a37a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. added parameter

    added parameter to the get the recent timestamp records
    SyedAli-789 authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    626c901 View commit details
    Browse the repository at this point in the history
  2. lint fix

    SyedAli-789 authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    bed5f7a View commit details
    Browse the repository at this point in the history
  3. lint fix

    SyedAli-789 authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    d5acabc View commit details
    Browse the repository at this point in the history
  4. lint fix

    SyedAli-789 authored Oct 26, 2022
    Configuration menu
    Copy the full SHA
    e1319bc View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2022

  1. Configuration menu
    Copy the full SHA
    496c48c View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. PR comments addresses

    SyedAli-789 committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    0c714a9 View commit details
    Browse the repository at this point in the history
  2. PR comment changes

    SyedAli-789 committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    a5ecb04 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2022

  1. adressed PR comments

    SyedAli-789 committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    fe1f8af View commit details
    Browse the repository at this point in the history
  2. lintfix

    SyedAli-789 committed Oct 29, 2022
    Configuration menu
    Copy the full SHA
    bb12051 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. addressed PR comments

    SyedAli-789 committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    98db063 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f734bab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    89aae11 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #475 from biocore/csymons_vioscreen_fix

    Fix Vioscreen RegCode Bug
    wasade authored Oct 31, 2022
    Configuration menu
    Copy the full SHA
    b4a6a59 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. Configuration menu
    Copy the full SHA
    e185172 View commit details
    Browse the repository at this point in the history
  2. test fix

    SyedAli-789 committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    17dcca3 View commit details
    Browse the repository at this point in the history
  3. lint fix

    SyedAli-789 committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    e54e44a View commit details
    Browse the repository at this point in the history
  4. test error fix

    SyedAli-789 committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    fd3b6aa View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. URL fix

    SyedAli-789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    81ce521 View commit details
    Browse the repository at this point in the history
  2. lint fix

    SyedAli-789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    1cb21d9 View commit details
    Browse the repository at this point in the history
  3. .

    SyedAli-789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    230efb6 View commit details
    Browse the repository at this point in the history
  4. params required false

    SyedAli-789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    84650f5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bffb901 View commit details
    Browse the repository at this point in the history
  6. test fix

    SyedAli-789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    e4dc6a1 View commit details
    Browse the repository at this point in the history
  7. test error fix

    SyedAli-789 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    4ace98a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6562e93 View commit details
    Browse the repository at this point in the history
  9. Lint fixes

    cassidysymons committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    5563387 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0db71e4 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. Configuration menu
    Copy the full SHA
    444669b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54e451d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8644706 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d9f81f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    52c80ae View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7e0a533 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    926aed9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a24c809 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    95afa04 View commit details
    Browse the repository at this point in the history
  10. Escape backslashes

    cassidysymons committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    d62d2cc View commit details
    Browse the repository at this point in the history
  11. Merge pull request #477 from biocore/csymons_japan_signup

    Changes for THDMI Japan signups
    wasade authored Nov 3, 2022
    Configuration menu
    Copy the full SHA
    77466c2 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Configuration menu
    Copy the full SHA
    0b044c9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #479 from biocore/csymons_japan_signup

    Update messages.po for ja_JP
    cassidysymons authored Nov 4, 2022
    Configuration menu
    Copy the full SHA
    a38ef24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ebcbb85 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #480 from biocore/csymons_japan_signup

    Update messages.po for ja_JP
    cassidysymons authored Nov 4, 2022
    Configuration menu
    Copy the full SHA
    5111bcd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf283c9 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #481 from biocore/csymons_japan_signup

    Update messages.po for ja_JP
    cassidysymons authored Nov 4, 2022
    Configuration menu
    Copy the full SHA
    f3c6fa7 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Configuration menu
    Copy the full SHA
    cfd1850 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #482 from biocore/csymons_japan_signup

    Changes requested by Japanese collaborators
    wasade authored Nov 7, 2022
    Configuration menu
    Copy the full SHA
    979174a View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Configuration menu
    Copy the full SHA
    d5b9d13 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #483 from biocore/csymons_japan_signup

    Changes requested by Japanese collaborators
    cassidysymons authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    d7027b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5778660 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #484 from biocore/csymons_japan_signup

    Email change requested by Japanese collaborators
    cassidysymons authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    1f141fe View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. Rename 0103.sql to 0105.sql

    Preventing conflicting patch names so I can merge updates to master into master-overhaul
    cassidysymons authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    a989922 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #485 from biocore/master

    Merge updates to master into overhaul
    cassidysymons authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    37c4d57 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Merge pull request #476 from raginirai553/master

    Adding Data and Bio Consent through DB
    cassidysymons authored Nov 11, 2022
    Configuration menu
    Copy the full SHA
    256be57 View commit details
    Browse the repository at this point in the history
  2. sample-vioscreen changes

    SyedAli-789 committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    b2ca0e7 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. merge conflict resolved

    SyedAli-789 committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    97eb2fe View commit details
    Browse the repository at this point in the history
  2. .

    SyedAli-789 committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    75cc25a View commit details
    Browse the repository at this point in the history
  3. test fix changes

    SyedAli-789 committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    02bfdaf View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. reverting the changes

    SyedAli-789 committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    27f131b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c1d3f3 View commit details
    Browse the repository at this point in the history
  3. .

    SyedAli-789 committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    827c2a1 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. addressed reviw comments

    SyedAli-789 committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    87d4f25 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Configuration menu
    Copy the full SHA
    e6eff67 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    cassidysymons authored Nov 21, 2022
    Configuration menu
    Copy the full SHA
    216f841 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. Merge pull request #488 from biocore/csymons_article_codes

    Daklapack Article Code Updates
    cassidysymons authored Nov 22, 2022
    Configuration menu
    Copy the full SHA
    bdfad32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae1f322 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    910089c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #490 from biocore/master

    Merge master into master-overhaul
    cassidysymons authored Nov 22, 2022
    Configuration menu
    Copy the full SHA
    5d00b26 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. Merge pull request #487 from raginirai553/master

    Update to Consent task previous pull
    cassidysymons authored Nov 28, 2022
    Configuration menu
    Copy the full SHA
    8746dca View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. testcase added

    SyedAli-789 committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    ecdfeb7 View commit details
    Browse the repository at this point in the history
  2. conflict resolved

    SyedAli-789 committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    8c46eee View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. unit test updated

    SyedAli-789 committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    5147c5f View commit details
    Browse the repository at this point in the history
  2. test fix

    SyedAli-789 committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    3f8aaaa View commit details
    Browse the repository at this point in the history
  3. test fix

    SyedAli-789 committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    bcd996e View commit details
    Browse the repository at this point in the history
  4. test fix

    SyedAli-789 committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    5cde512 View commit details
    Browse the repository at this point in the history
  5. test fix

    SyedAli-789 committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    1bcae76 View commit details
    Browse the repository at this point in the history
  6. unite test replaced

    SyedAli-789 committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    ec5e9f8 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. test fix

    SyedAli-789 committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    d54fc81 View commit details
    Browse the repository at this point in the history
  2. test fix

    SyedAli-789 committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    7f69b45 View commit details
    Browse the repository at this point in the history
  3. syntax fix

    SyedAli-789 committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    a33654c View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. Configuration menu
    Copy the full SHA
    685ab1a View commit details
    Browse the repository at this point in the history
  2. Lint fix

    cassidysymons committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    0f55513 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c752dd7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    36e6d43 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2022

  1. Configuration menu
    Copy the full SHA
    ce2c0bd View commit details
    Browse the repository at this point in the history
  2. Test fix.

    cassidysymons committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    09e4de7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #459 from SyedAli-789/syed_master-overhaul

    Move FFQ's from sample to source
    cassidysymons authored Dec 12, 2022
    Configuration menu
    Copy the full SHA
    bd04cf1 View commit details
    Browse the repository at this point in the history
  4. Update microsetta_private_api/api/_source.py

    Co-authored-by: Daniel McDonald <danielmcdonald@ucsd.edu>
    cassidysymons and wasade authored Dec 12, 2022
    Configuration menu
    Copy the full SHA
    327359c View commit details
    Browse the repository at this point in the history
  5. Lint fix

    cassidysymons committed Dec 12, 2022
    Configuration menu
    Copy the full SHA
    65bc9b3 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. Merge pull request #497 from biocore/csymons_optout

    Functionality to allow interested users to opt out
    cassidysymons authored Dec 13, 2022
    Configuration menu
    Copy the full SHA
    a071414 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c7a288 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #498 from biocore/csymons_delete_fix_new

    Resolve external survey account deletion bug.
    cassidysymons authored Dec 13, 2022
    Configuration menu
    Copy the full SHA
    795ff7a View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Survey database update v2 (#489)

    * (WIP) migrating survey to updated structure
    
    Work in progress.
    Triggers need to be added.
    Some remapped questions need to be remade into new questions due to
    constraints and new/changed/deleted options.
    Migraines category needs to be merged and removed.
    Basic testing w/UI needed.
    
    * (WIP) Updated questions
    
    15 new questions created w/shortnames ending in '_v2' to address
       questions with many changed response options.
    New questions linked and existing questions unlinked and retired.
    All triggers added.
    Migraines section needs merging.
    Testing against current unittests needed.
    
    * (WIP) patch should successfully load.
    
    * First unittest fixed
    
    Traced entire execution and reviewed all SQL statements. This test
    appears like it can be resolved with changing some constants.
    
    * One test updated
    
    * Fix test_edit_sample_locked()
    
    Fixed test to use new existing survey.
    relativedelta(month=2) appeared to have issues w/rollover for both month
    and year when the current month is 11 (November). Replaced w/standard
    datetime.timedelta() using 61 days, the median number of days in a given
    two month span (from beginning of the month to the end of the next
    month).
    
    * Fix test_fetch_survey_template()
    
    Added survey information for the new surveys.
    Did not delete references to the removed surveys for the moment.
    
    * Fixed test_delete_source()
    
    * Fixed test_survey_localization()
    
    Fixed localization using new Basic Information (10) survey.
    Possible todos in the future would be to replace the magic number 10
    w/a new const name and change localization test to es_MX where the
    localizations are more different.
    
    * Fixed test_associate_sample_and_survey()
    
    * Fixed test_scrub* tests (3)
    
    Also pushing some partial changes for
    test_bobo_takes_all_local_surveys() from last night. Not sure why
    they're not in there.
    
    * Fixed test_dissociate_sample_from_source_success()
    
    * Fixed test_survey_create_success_empty()
    
    * Fixed test_fetch_observed_survey_templates()
    
    * Fixed test_surveys()
    
    * Fixed test_associate_sample_locked()
    
    * Fixed test_dissociate_sample_from_source_locked()
    
    * Fixed test_dissociate_sample_from_source_success()
    
    * Fixed test_update_sample_association_locked()
    
    * Fixed test_associate_answered_survey_to_sample_success()
    
    * Fixed test_bobo_takes_all_local_surveys()
    
    * Fixed last non-test_metadata_qiita_compatible_* test
    
    Removed entries from survey_groups that were retired.
    Added survey_template_ids2() to this commit for possible use fixing
    test_metadata_qiita_compatible_* tests.
    
    * Updated code and tests
    
    Updated code and tests to resolve errors after previous adjustments to
    0103.sql (now 0104.sql) broke two tests. Broken tests currently stand at
    four once more.
    
    * Resolved conflict
    
    * Restored four missing questions in survey groups
    
    Four questions were present in the system but missing entries in
    group_questions, which prevented them from being shown. This has been
    fixed.
    
    * (WIP) Data Migration for Surveys
    
    Minor bug in creating new surveys
    Localization is not implemented
    Removing old survey not implemented
    
    * (WIP) Data Migration Complete
    
    Data Migration code complete. Undergoing additional testing.
    4 qiita-related tests + 1 additional test is now breaking. Will review
      and fix along with review of the database changes.
    
    * Bugfix
    
    * All retired questions migrated to group 10
    
    All retired questions were migrated to group 10 (Basic Information).
    They previously made up the group number 9 (Retired Questions). They
    shoudn't appear in querys, because they are retired. However all
    questions need to be a member of a group, due to the mechanics of the
    system.
    
    * Fixed test_metadata_qiita_compatible_valid() and 1 other error
    
    * Fixed test_metadata_qiita_compatible_invalid()
    
    * All tests passing
    
    * New magic numbers replaced with const names
    
    * flake8
    
    * Revised patch sql for new approach.
    
    * Updated query to exclude retired survey template ids
    
    * Change 0105.sql to 0107.sql
    
    * Fixed test_metadata_qiita_compatible_valid()
    
    Notes for debug of test_metadata_qiita_compatible_valid_private()
    included. 3 broken tests outstanding.
    
    * All tests passing
    
    It appears that the issue was not specifically with template 5, but with
    some needed reviewing and fixing of _to_pandas_dataframe() and
    _to_pandas_series().
    
    * flake8 pass
    
    * Comments added. Non-ASCII characters replaced.
    
    All but one Non-ASCII characters replaced with ASCII equivalents.
    
    * sql fix
    
    * SQL-injection vectors closed.
    
    * lists converted to tuples for sql stmts
    
    * ag_login_survey.survey_template_ids now fully populate
    
    * Prepended tables w/schema names as may be needed
    
    * Inserts updated to handle new constraint
    
    * Minor fixes
    
    * Resolved name collision
    
    * Removed unnecessary updates to text questions.
    
    After earlier and more recent changes, including replacing non-ASCII
    characters with their equivalents and removing encapsulating quotes,
    there are now only 67 questions which required text changes, down from
    the original 169.
    
    * Minor updates
    
    Capitalized a few responses. Removed duplicate entries.
    Converted magic numbers to consts.
    
    * Modified function for clarity.
    
    Modified _remote_survey_template_id_from_survey_id() for clarity.
    
    * Migrated logic from v1 migration into testable functions.
    
    * Added support in migration for text and string values
    
    * Confirm free-text is generated dynamically
    
    Tests pass locally. Display obs and exp in CI for review
    
    * Removed migration function
    
    We will not be copying survey data into new surveys with new ids and new
    template ids.
    
    * Migrating code to proper module
    
    Migrating new and associated code to survey_template_repo, where it
    seems more appropriate.
    
    * read_survey_template() now uses migrate_templates()
    
    migrate_templates() functionality moved to SurveyTemplateRepo, along
    w/associated functions. Now used by read_survey_template() to populate
    results w/legacy responses before handing them to the UI.
    migrate_templates() no longer generates new surveys from old surveys and
    saves them.
    migrate_templates() was a better version of get_survey_responses() found
    in PR #466. Hence I incorporated the other component of #466 (percentage
    completed value) and folded it into the PR. PR #466 can be considered
    superseeded.
    
    * Possible bugfix
    
    tests running on CI appear to think we are constructing a HumanInfo
    object with 10 parameters, not the nine that are obviously there.
    Reformatting for clarity and possible fix.
    
    * possible bugfix
    
    * changing parameter passing to by name
    
    * moving back to positional arguments
    
    * manually constructing
    
    * confirm
    
    * clean up and remove comments
    
    * Added code + tests to address push to/pull from Qiita.
    
    * Fix test to use queried account_id, etc.
    
    Test uses an account_id, sample_id, and source_id that are tied to a
    fixed barcode id, but are dynamically generated on db init.
    
    * Fixed private/no private tests
    
    Sensitive questions have shortnames that begin with 'PM_'.
    Unfortunately, all of the 'PM_' questions were retired. Of concern is
    some of the '_v2' questions (RACE_v2, GENDER_v2, and more) are
    continuations of retired questions (RACE, GENDER, etc.) that also had
    'PM_' variations (PM_ETHNCITIY, PM_GENDER). I've taken the liberty of
    changing GENDER_v2 to PM_GENDER_v2 as it seems an obvious choice and
    rebuilt the two tests around that. The others I will leave for
    discussion.
    
    * Updated migrate_responses() methods to use source ids
    
    Other minor issues from feedback addressed.
    
    * flake8
    
    * (WIP) migrate_responses_by_barcode() updated.
    
    migrate_responses_by_barcode() now best fits the responses it returns
    according to the values closest to a particular timestamp. This
    timestamp can be defined separately in a helper method. Currently the
    helper looks for a timestamp from a survey with the same template as the
    one requested. If a survey doesn't exist, the method will return the
    creation timestamp of the source associated w/the barcode.
    
    * Private data tests now rely on EBI_REMOVE.
    
    * Tests fixed
    
    * flake8. adjust HumanInfo() for CI
    
    * Removed vestigial functionality
    
    * HumanInfo fix for CI
    
    * flake8
    
    * Update microsetta_private_api/admin/tests/test_admin_api.py
    
    Co-authored-by: Daniel McDonald <d3mcdonald@eng.ucsd.edu>
    
    * Update microsetta_private_api/admin/tests/test_admin_api.py
    
    Co-authored-by: Daniel McDonald <d3mcdonald@eng.ucsd.edu>
    
    * Update microsetta_private_api/api/tests/test_api.py
    
    Co-authored-by: Daniel McDonald <d3mcdonald@eng.ucsd.edu>
    
    * Update microsetta_private_api/repo/tests/test_survey_template_repo.py
    
    Co-authored-by: Daniel McDonald <d3mcdonald@eng.ucsd.edu>
    
    * Adding constraint to ag_login_surveys
    
    Adding constraint to creation_time in ag_login_surveys.
    
    * Removed magic numbers
    
    * Simplified complex behavior in loop
    
    Simplified complex conditionals in a loop. Removed a commented-out test.
    
    * Resolve conflict with 0108.sql
    
    * Changed timestamp used in _get_timestamp()
    
    Changed _get_timestamp() to use date and time w/out timezone values from
    ag.ag_kit_barcodes.
    To ensure compatibility with other timestamps, the 'America/Los Angeles'
    timestamp was assigned to the casted timestamp. The value of the casted
    timestamp is not changed.
    
    * Removed survey_template_id from timesstamp query
    
    survey_template_id isn't needed for the revised get_timestamp() query,
    as the timestamps for all results are going to be the same, due to the
    way the query is written. Moreover, regardless of whether there are say
    multiple template 10s, or no template 10s, we would want to center our
    response results around this timestamp.
    
    * flake8
    
    * Resolved post-merge test fail
    
    * Add temporal awareness to admin_repo.get_survey_metadata
    
    * Lint fixes
    
    * Addressing comments
    
    * Fix translation of best surveys back into answer:template map
    
    * Lint fix
    
    * Fix
    
    * Fix
    
    * Remove duplicate questions from metadata
    
    * Lint fix
    
    * Fix date casting
    
    Co-authored-by: Daniel McDonald <d3mcdonald@eng.ucsd.edu>
    Co-authored-by: Cassidy Symons <csymons@eng.ucsd.edu>
    3 people authored Dec 21, 2022
    Configuration menu
    Copy the full SHA
    e499dad View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Perk Fulfillment (#491)

    * WIP: Perk fulfillment code
    
    * Lint fixes
    
    * Lint fixes
    
    * Lint fixes
    
    * Lint fixes
    
    * Test fix
    
    * Email templates for perk fulfillment
    
    * Test adjustment
    
    * Updates to address comments/requests
    
    * Lint fixes
    
    * Addressing PR comments
    
    * Lint fixes
    
    * Disabling Daklapack ordering & celery tasks for testing
    
    * Get transactions on celery start
    
    * Route invalid address emails to myself temporarily
    
    * Test perks without fulfillment details
    
    * Test new perk fulfillment
    
    * Test shipping updates
    
    * Fix shipping update query
    
    * Fix shipping update query
    
    * Email adjustments
    
    * Re-test get fundrazr transactions to verify email fixes
    
    * Re-test fulfillment to verify email fixes
    
    * Test date limiting of address verification
    
    * Test date limiting of address verification
    
    * Test date limiting of address verification
    
    * Debug not getting new transaction
    
    * Re-test perk fulfillment w/ Daklapack ordering
    
    * Cleaning up from testing
    
    * Lint fixes
    
    * Add unit test for shipping updates
    
    * Lint fixes
    
    * Run Celery tasks on startup
    
    * Only send Fundrazr email if transactions > 0
    
    * Add email logging to perk fulfillment
    
    * Resolve db patch filename conflict
    
    * Test email logging
    
    * Lint
    
    * Fix subscription fulfillment bug + expand unit tests
    
    * Lint
    
    * Update perk_fulfillment_repo.py
    
    * Update celery_utils.py
    
    * Update server_config.json
    
    * Update admin_impl.py
    
    * Update test_perk_fulfillment_repo.py
    
    * Update subscription.py
    cassidysymons authored Jan 5, 2023
    Configuration menu
    Copy the full SHA
    06344e9 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. Request account removal (#447)

    * Added user-level request-account-deletion support.
    
    * Added unit-testing, cancel method.
    
    * Added delete/ignore support, logging.
    
    Added admin-level endpoints to delete an account from queue, or ignore
    the request. All actions are logged and stored in a separate table.
    Ignore functionality was removed as a user-accessible endpoint.
    
    * Added notification email for when an account is deleted
    
    * Test removal of send_email()
    
    Confirming send_email is cause of test failure in CI.
    
    * Toggle disable_auth flag
    
    Set disable_authentication = False for the purposes of testing in CI.
    
    * Reinstate send_mail()
    
    * Remove disable_authentication from server_config.json
    
    Removed disable_authentication from server_config.json.
    Disabled account deleted send_email() for testing.
    
    * Bugfix
    
    * Undo send_email()
    
    * Revert "Bugfix"
    
    This reverts commit e1b35f9.
    
    * Reapplied fixes
    
    * Formatting changes based on feedback.
    
    * Updated recent formatting changes
    
    * Updated based on feedback.
    
    * Commented out send_mail() in allow_removal_request()
    
    * Uncommenting send_email() to obtain CI results
    
    * Remove send notification email when deleting user
    
    * Removed vestigial email notification-related code
    
    * Rename 0101.sql to 0102.sql
    
    Another 0101.sql has already been merged into the repository.
    
    * Update vioscreen_repo.py
    
    Removed unneeded closing quote
    
    * Resolve name conflict
    
    * Commits don't occur in repos
    
    * Account queue now records admin id instead of sub
    
    * Added unittests for removal_queue_repo.py
    
    * New cleanup code targets only ids created for testing
    
    * Endpoint added for cancel_request_remove_account()
    
    Endpoint added for cancel_request_remove_account(). This endpoint is not
    currently used by the UI.
    API test updated to distinguish between removing the user from the queue
    using cancel_request_remove_account() vs (admin)
    ignore_removal_request().
    Disposition must now be either 'deleted' or 'ignored'.
    
    * Changed disposition to enum type
    
    * Update server.py
    
    * Update vioscreen_repo.py
    
    * Rename 0110.sql to 0111.sql
    
    Co-authored-by: Cassidy Symons <83246693+cassidysymons@users.noreply.github.com>
    charles-cowart and cassidysymons authored Jan 6, 2023
    Configuration menu
    Copy the full SHA
    c620348 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Configuration menu
    Copy the full SHA
    9565707 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Merge pull request #500 from charles-cowart/master-overhaul-fix

    Fixes error in microsetta-interface integration test
    cassidysymons authored Jan 10, 2023
    Configuration menu
    Copy the full SHA
    cdce8dc View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. Configuration menu
    Copy the full SHA
    46fab7f View commit details
    Browse the repository at this point in the history
  2. Adjustment for testing

    cassidysymons committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    3b2319f View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    5daccbc View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Pin flask-babel

    Pinning flask-babel to 2.x due to breaking changes in 3.0.0.
    cassidysymons authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    0dd0044 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Initial kit testing

    cassidysymons committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    3e4df72 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Debug

    cassidysymons committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    62f4231 View commit details
    Browse the repository at this point in the history
  2. Survey updates

    cassidysymons committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    91183bf View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Survey adjustments

    cassidysymons committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    dc6dd0e View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. Survey adjustments

    cassidysymons committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    bbf8131 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. Adjustments

    cassidysymons committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    d8222fc View commit details
    Browse the repository at this point in the history
  2. Adjustments

    cassidysymons committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    704d84b View commit details
    Browse the repository at this point in the history
  3. Adjustments

    cassidysymons committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    984a691 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Adjustments

    cassidysymons committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    e48fc14 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Adjustments

    cassidysymons committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    6f054c3 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Adjustments

    cassidysymons committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    9c706f0 View commit details
    Browse the repository at this point in the history
  2. Adjustments

    cassidysymons committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    f45d8f5 View commit details
    Browse the repository at this point in the history
  3. Adjustments

    cassidysymons committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    6aff808 View commit details
    Browse the repository at this point in the history
  4. Adjustments

    cassidysymons committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    2bd9d50 View commit details
    Browse the repository at this point in the history
  5. Adjustments

    cassidysymons committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    4326d16 View commit details
    Browse the repository at this point in the history
  6. Adjustments

    cassidysymons committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    1d5d520 View commit details
    Browse the repository at this point in the history
  7. Adjustments

    cassidysymons committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    90b5fb9 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2023

  1. Adjustments

    cassidysymons committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    501a694 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a148b57 View commit details
    Browse the repository at this point in the history
  3. Update _source.py

    cassidysymons authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    4938443 View commit details
    Browse the repository at this point in the history
  4. Update __init__.py

    cassidysymons authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    af4902a View commit details
    Browse the repository at this point in the history
  5. Update test_api.py

    cassidysymons authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    b757f53 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3c8db24 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #503 from biocore/csymons_conflict_res_20230202

    Get master-overhaul current
    cassidysymons authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    949edab View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Adjustments

    cassidysymons committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    5440e7a View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. Configuration menu
    Copy the full SHA
    da4dc7b View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. Update microsetta_private_api/api/microsetta_private_api.yaml

    Co-authored-by: Daniel McDonald <danielmcdonald@ucsd.edu>
    cassidysymons and wasade authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    caae5df View commit details
    Browse the repository at this point in the history
  2. Update microsetta_private_api/db/patches/0109.sql

    Co-authored-by: Daniel McDonald <danielmcdonald@ucsd.edu>
    cassidysymons and wasade authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    3e12273 View commit details
    Browse the repository at this point in the history
  3. Update microsetta_private_api/repo/consent_repo.py

    Co-authored-by: Daniel McDonald <danielmcdonald@ucsd.edu>
    cassidysymons and wasade authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    66d2b78 View commit details
    Browse the repository at this point in the history
  4. Update microsetta_private_api/repo/sample_repo.py

    Co-authored-by: Daniel McDonald <danielmcdonald@ucsd.edu>
    cassidysymons and wasade authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    c0ca17b View commit details
    Browse the repository at this point in the history
  5. Code review changes

    cassidysymons committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    fa12f3a View commit details
    Browse the repository at this point in the history
  6. Code review changes

    cassidysymons committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    41a2be4 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. Code review changes

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    f83f16c View commit details
    Browse the repository at this point in the history
  2. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    fdc267d View commit details
    Browse the repository at this point in the history
  3. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    2b0490e View commit details
    Browse the repository at this point in the history
  4. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    8e53a85 View commit details
    Browse the repository at this point in the history
  5. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    2786344 View commit details
    Browse the repository at this point in the history
  6. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    b5305b5 View commit details
    Browse the repository at this point in the history
  7. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    3bb97bd View commit details
    Browse the repository at this point in the history
  8. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    7071a33 View commit details
    Browse the repository at this point in the history
  9. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    5ceadc6 View commit details
    Browse the repository at this point in the history
  10. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    e2e340f View commit details
    Browse the repository at this point in the history
  11. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    0086554 View commit details
    Browse the repository at this point in the history
  12. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    a38eb97 View commit details
    Browse the repository at this point in the history
  13. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    3b4ebd6 View commit details
    Browse the repository at this point in the history
  14. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    b1ed548 View commit details
    Browse the repository at this point in the history
  15. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    fa1174c View commit details
    Browse the repository at this point in the history
  16. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    2731c07 View commit details
    Browse the repository at this point in the history
  17. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    fb0c58b View commit details
    Browse the repository at this point in the history
  18. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    30e610a View commit details
    Browse the repository at this point in the history
  19. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    901799d View commit details
    Browse the repository at this point in the history
  20. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    7eda22d View commit details
    Browse the repository at this point in the history
  21. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    ba1592c View commit details
    Browse the repository at this point in the history
  22. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    65e7d5b View commit details
    Browse the repository at this point in the history
  23. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    5a13935 View commit details
    Browse the repository at this point in the history
  24. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    6709e37 View commit details
    Browse the repository at this point in the history
  25. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    13fd456 View commit details
    Browse the repository at this point in the history
  26. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    088bd48 View commit details
    Browse the repository at this point in the history
  27. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    32a7c82 View commit details
    Browse the repository at this point in the history
  28. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    04ec724 View commit details
    Browse the repository at this point in the history
  29. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    9c02304 View commit details
    Browse the repository at this point in the history
  30. Test adjustments

    cassidysymons committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    80c0140 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. Configuration menu
    Copy the full SHA
    1b1df99 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Configuration menu
    Copy the full SHA
    20befd7 View commit details
    Browse the repository at this point in the history
  2. Test fix

    cassidysymons committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    84c55d3 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Configuration menu
    Copy the full SHA
    6fb00d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ea05b8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4bcaf4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    835cfed View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7afe8d8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dce550f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9042f45 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a7f5926 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    684ef82 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7fa3689 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    489d8f2 View commit details
    Browse the repository at this point in the history
  12. YAML Fix for Overhaul

    cassidysymons authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    521dc73 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ee20093 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Configuration menu
    Copy the full SHA
    1f5e7ba View commit details
    Browse the repository at this point in the history
  2. Integration test fix

    cassidysymons committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    326b811 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Merge pull request #506 from biocore/csymons_covid_survey_reorg

    Remove COVID-19 Survey
    cassidysymons authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    8791201 View commit details
    Browse the repository at this point in the history