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

Merge staging into production, 14 Aug 2024 #1601

Open
wants to merge 200 commits into
base: production
Choose a base branch
from
Open

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    8aac174 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae31659 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Fixed: Adjust base template

    adds blocks for title and scripts so that templates can put those parts in the header.
    ahankinson committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    6e26435 View commit details
    Browse the repository at this point in the history
  2. Fixed: Move titles and scripts to their own block

    The title and scripts are no longer simply added to the body of the page, but are now actually contained by the header, where they should be.
    ahankinson committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    01a1dea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d4a58e1 View commit details
    Browse the repository at this point in the history
  4. New: Add shelfmark to sources

    Since the siglum and institution name now come from the institution, the source only needs
    to have the shelfmark.
    
    However, until all the data is properly migrated, the old title and siglum fields will remain.
    ahankinson committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    b47f9c4 View commit details
    Browse the repository at this point in the history
  5. New: Migration script

    This is a hacky, change-as-needed script that serves to migrate the source data from the old structure to the new, creating institutions and moving the shelfmark data to the new sources.
    
    There is a whole bunch of sigla that get skipped (essentially all private collectors) until we figure out how they will be handled.
    
    Don't look to closely, since there are lots of skeletons in this closet.
    ahankinson committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    a5b3bb2 View commit details
    Browse the repository at this point in the history
  6. New: Holding institution autocomplete

    Allows sources to be added to an institution by using the autocomplete widget
    ahankinson committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    113e3ef View commit details
    Browse the repository at this point in the history
  7. Fixed: Remove transitive import for LoginView

    Previously, the LoginView import in the URLs was taken from the views.user module, instead of directly from the django auth views, because this view was also imported into the user module. (aka, a transitive import). This changes it to import from the auth views directly.
    
    I also ran a formatter on the imports in the user module, so that's why it looks like there are more changes than there actually are!
    ahankinson committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    a0fe49b View commit details
    Browse the repository at this point in the history
  8. Fixed: Optimize user source lookups

    Previously there were several duplicated property definitions that varied only by checking whether the user was logged in. They also did the sorting in Python, rather than in the database.
    
    This condenses all the definitions to a single one per property, and uses the expanding empty dict trick to determine whether `published=True` gets added to the filters. (Since without this, what is really desired is `published = True OR False` but without resorting to Q queries this was the simplest way to do it.)
    ahankinson committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    067f72d View commit details
    Browse the repository at this point in the history
  9. build(deps): bump urllib3 from 2.2.1 to 2.2.2

    Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
    - [Release notes](https://github.com/urllib3/urllib3/releases)
    - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
    - [Commits](urllib3/urllib3@2.2.1...2.2.2)
    
    ---
    updated-dependencies:
    - dependency-name: urllib3
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    364a483 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. The Great Feast Rework

    This commit completely reworks the fetching of data for the feast detail page.
    
    Previously, this page took several seconds to load, and generated a large number of queries, due to the complexity of the information needing to be collated.
    
    This was rewritten to instead use two custom SQL queries that are executed directly. This means that the number of queries generated by this segment of code is now no more than two.
    
    There are a few 'interesting' things in this, which I've tried to note in comments.
    
    In the process, this also fixes a number of other small bugs:
    
    Fixes #1540
    Fixes #1136
    Fixes #596
    ahankinson committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    38cd053 View commit details
    Browse the repository at this point in the history
  2. Rework Source Display

    This commit reworks the source display in the templates, primarily by calling a couple helper methods on the Source model to keep the referencing consistent. The 'short heading' method displays the Institution siglum and the shelfmark, while the 'heading' displays the full institution name and the shelfmark.
    
    The edit and create templates were reworked for the new structure and source referencing. The source display will now show the institution and the shelfmark in separate columns.
    ahankinson committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    9db92f4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee785b3 View commit details
    Browse the repository at this point in the history
  4. Add migrations

    ahankinson committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    73d5df4 View commit details
    Browse the repository at this point in the history
  5. Change source title and siglum to optional

    This is to allow saving sources in the create / edit without triggering a validation error.
    ahankinson committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    1168e29 View commit details
    Browse the repository at this point in the history
  6. Fixed: Remove siglum column

    Fixes #1535
    ahankinson committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    8fa654d View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Tests: Disable Feast Detail Tests

    Buckle up, this one's a bit messy.
    
    This commit disables the Feast Detail tests. It turns out, after much searching and Googling and digging, that the Django Test Suite always wraps the tests in a transaction, so that the test can be easily rolled back after each one is run, and thus present a database in a known state for each individual test.
    
    However, with the switch to running a raw SQL query, the cursor in the Feast Detail View now runs outside of this transaction. Thus to the View, the database always looks empty, even if it's running inside of the test.
    
    I tried fixtures, TransactionTestCase, overriding methods and hacking the TestCase to prevent this behaviour, but no dice.
    
    So for now I've marked the Feast Detail tests as "skip" so that they still appear in the runs, but are skipped because they will always fail, as they're written.
    ahankinson committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    8bfc344 View commit details
    Browse the repository at this point in the history
  2. Fixed: Small style update

    ahankinson committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    c41b458 View commit details
    Browse the repository at this point in the history
  3. Fixed: Wrong order of columns

    It's better to use the named fields for the column content than to rely on the order of the tuple unpacking....
    ahankinson committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    f507cb5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c5bd3f5 View commit details
    Browse the repository at this point in the history
  5. WIP: Updates to the tests

    Still failing, but being worked on. Committing here to merge in latest changes.
    ahankinson committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    9f5203a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    85ba222 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0100edb View commit details
    Browse the repository at this point in the history
  8. Merge branch 'develop' into mega-changes-source-rework

    # Conflicts:
    #	django/cantusdb_project/main_app/templates/browse_chants.html
    #	django/cantusdb_project/main_app/templates/chant_create.html
    #	django/cantusdb_project/main_app/templates/chant_detail.html
    #	django/cantusdb_project/main_app/templates/chant_edit.html
    #	django/cantusdb_project/main_app/templates/melody_search.html
    #	django/cantusdb_project/main_app/templates/source_detail.html
    #	django/cantusdb_project/main_app/templates/source_edit.html
    #	django/cantusdb_project/main_app/templates/user_source_list.html
    ahankinson committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    0fd2c43 View commit details
    Browse the repository at this point in the history
  9. Fixed: Re-sync templates

    Syncing the templates with the latest develop generated a number of merge conflicts. This commit fixes them.
    
    Also it fixes the new block definitions in the base templates.
    
    Fixes #1551
    ahankinson committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    faa90ed View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Fixed: A bug in how the chants were counted

    The numbers from a fresh database copy now match the numbers running on the production site, and the numbers
    fetched in the browse Chants UI for the chants associated with a feast.
    ahankinson committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    20ad63e View commit details
    Browse the repository at this point in the history
  2. New: Add a list of sources attached to the institution

    Adds a section that shows a list of sources that are attached to the institution at the bottom of the institution page. Also adds the ID as a link field to that source record.
    ahankinson committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    f6c0208 View commit details
    Browse the repository at this point in the history
  3. New: Private Collector Institutinos

    This commit adds the ability to specify private collectors as a type of Institution.
    
    The model constraints are set up so that you can either specify that an institution is a private collector (via a checkbox) OR they have a siglum. Both cannot be selected for the same record, but one of the two options must be selected for each record.
    
    Institutions that do not have a siglum currently get the word "Private" prepended to the shelfmark.
    
    All other fields are accessible for private collectors.
    
    Alters the admin UI to make the distinction via the layout as well.
    ahankinson committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    92d1908 View commit details
    Browse the repository at this point in the history
  4. Fixed: Make sorting of notation page obvious

    Puts the siglum at the front, so that the fact that it is ordered by siglum is clear.
    ahankinson committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    7ddd9d8 View commit details
    Browse the repository at this point in the history
  5. Adjust sorting field for sources in sequences

    Removes the old "siglum" field.
    ahankinson committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5067266 View commit details
    Browse the repository at this point in the history
  6. Update the migration script

    Still janky, still works.
    ahankinson committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    1086b2e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    66d9363 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Fixed: Refactor chant view

    Lots of stuff going on here.
    
     - Nested functions were really, really slow
     - Optimized some logic for applying filters
     - Added some select_relateds to help reduce the number of queries
     - Some duplicated code was factored out
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    5dd9620 View commit details
    Browse the repository at this point in the history
  2. Clean up JavaScript

     - Followed the prompts in my IDE to fix the JS (double vs. triple equals, simplify ifs, etc.
     - Fixed new siglum / shelfmark issues
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    498f4f3 View commit details
    Browse the repository at this point in the history
  3. New: Add input filter for admin pages

    Allows the use of an Input Filter for typing to filter things in a list.
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    621c6d1 View commit details
    Browse the repository at this point in the history
  4. Adjust source admin page

    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    f3142cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d4a1bc7 View commit details
    Browse the repository at this point in the history
  6. Add new migration script

    The previous script was getting too complicated with all the checking. This new script is specifically dedicated to migrating the records
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    3377657 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    70a2655 View commit details
    Browse the repository at this point in the history
  8. Add "Private" if source is Private

    Adjusts the short heading to say "Private" for the siglum.
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    8358c0d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f6851e7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    80cd509 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    223510a View commit details
    Browse the repository at this point in the history
  12. Use bootstrap classes in the global search bar

    Allows the different parameters to work together more easily
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    8db8c6d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    bb318d6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    bd84f82 View commit details
    Browse the repository at this point in the history
  15. Style: Order imports

    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    9335b85 View commit details
    Browse the repository at this point in the history
  16. Working tests

    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    b05de97 View commit details
    Browse the repository at this point in the history
  17. Fixed: Chants

    There's a lot of stuff going on here, and a lot of stuff that I still don't understand.
    
    But this now works, and is better than before.
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    07fc91a View commit details
    Browse the repository at this point in the history
  18. Re-order imports

    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    058ac85 View commit details
    Browse the repository at this point in the history
  19. Fixed: headings as properties

    Also suppress siglum if it's Unknown
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    2ae4966 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    fc8bb43 View commit details
    Browse the repository at this point in the history
  21. Update old migration script

    It's been replaced with the new one, but this is for posterity's sake
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    b7398dc View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    699c10e View commit details
    Browse the repository at this point in the history
  23. Fixed: rework feast detail tests

    Skip only those that are not correct.
    ahankinson committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    5f85304 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    4d4e4a9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1557 from dchiller/i1556-change-resources-links

    Change links under Resources menu and add link to procedures manual
    dchiller committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d7522a1 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump django from 4.2.11 to 4.2.14

    Bumps [django](https://github.com/django/django) from 4.2.11 to 4.2.14.
    - [Commits](django/django@4.2.11...4.2.14)
    
    ---
    updated-dependencies:
    - dependency-name: django
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    fdfeacb View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

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

Commits on Jul 14, 2024

  1. Add merged migrations

    dchiller committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    f9ee743 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Format imports in urls.py

    dchiller committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    b9c5d77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89f68d7 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    2e3c429 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a174634 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0c6fa2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    694e376 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1561 from lucasmarchd01/issue-1554

    Escape special characters in suggested chant data
    lucasmarchd01 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    adc2d1c View commit details
    Browse the repository at this point in the history
  6. feat(management): add command to reassign feast data and update chants

    - Ensure data from old feasts are transferred to new feasts
    - Update chants and sequences to use new feast IDs
    - Delete old feasts after reassignment
    lucasmarchd01 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    6fd9d8c View commit details
    Browse the repository at this point in the history
  7. style(feast): remove comment

    - add_prefix management command no longer exists
    lucasmarchd01 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    8c24c2e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    68321f9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ca66179 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #1545 from DDMAL/mega-changes-source-rework

    Big Source Changes, Much Improvements, Wow.
    dchiller committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    ecf901c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    12d2bee View commit details
    Browse the repository at this point in the history
  12. Optimize imports

    ahankinson committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    3955203 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Remove siglum from sequence form

    Refs #1534
    ahankinson committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9d722ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f62481c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1564 from lucasmarchd01/issue-1560

    Add command to reassign feast data and update chants
    lucasmarchd01 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a1ec9f7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1565 from DDMAL/develop

    Merge develop into staging; 16 July 2024
    dchiller committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    a1e2a93 View commit details
    Browse the repository at this point in the history
  5. docs(source): update help text for date field in source model

    - add migration file for this change
    lucasmarchd01 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    4d363a2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    400375d View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1566 from DDMAL/source-cleanup-followup

    Fixed: A follow-up to the source rework
    dchiller committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    d3094fb View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Fixed: Migrating alternate names

    This fixes the institution alternate names migration to only add unique and non-null entries to the list of alternate names.
    ahankinson committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e0c6257 View commit details
    Browse the repository at this point in the history
  2. Fixed: Add Sweden to list of countries

    THe "S-" prefix was missing from the migration script.
    ahankinson committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    6f6fd12 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69f35df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94180b7 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1567 from lucasmarchd01/issue-1363

    Change help text for `date` field in `Source` model. Black formatting changes
    lucasmarchd01 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c57b86b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    13f8240 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    38ae240 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1257e79 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Fixed: Make title and siglum read-only

    This makes the 'title' and 'siglum' fields read-only in the admin interface.
    
    Since they have already been removed from the other editing forms, this means there is no practical way of editing these values. This effectively makes them read-only until they are dropped (there was a request to keep them around for a little while.)
    ahankinson committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    b973659 View commit details
    Browse the repository at this point in the history
  2. Fixed: Attach an ID to the XX-NN siglum

    The XX-NN siglum (Unknown) has a RISM Online record, so it should be attached like the others.
    ahankinson committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    9ede1eb View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Merge pull request #1570 from DDMAL/further-fixes-institutions

    Further fixes for institution migration
    dchiller committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    791f8b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe2bf34 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    d2c2ed7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0600305 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f677e76 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ecd4f2a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6847a84 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2094ec3 View commit details
    Browse the repository at this point in the history
  7. refactor(urls): change urls.py import strategy

    - update urls.py with api view imports
    - directly import redirect views
    dchiller committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    6ad61db View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ad35080 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    46619d6 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    caffa0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbd2975 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f709567 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e905f1 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1574 from lucasmarchd01/issue-1406

    Add legacy logos for acknowledgements page
    lucasmarchd01 committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    8289abb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c121369 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    c0202c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eac997b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77e26b9 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1575 from lucasmarchd01/issue-1371

    Change instances of "Differentia Database" to "Differentiae Database"
    lucasmarchd01 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    6995beb View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1563 from dchiller/split-views-files

    Put view classes in separate files
    dchiller committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    c447fb1 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. feat(chant search): add indexing notes search functionality

    - ChantSearchMSView: add filtering by indexing notes to the queryset
    - chant_search.html: add indexing notes search option in the form
    - chant_search.js: implement form logic for indexing notes search options
    lucasmarchd01 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    227c08b View commit details
    Browse the repository at this point in the history
  2. feat(chant search): add indexing notes search functionality

    - ChantSearchMSView: add filtering by indexing notes to the queryset
    - chant_search.html: add indexing notes search option in the form
    - chant_search.js: implement form logic for indexing notes search options
    lucasmarchd01 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    967f92c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d43fa6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f91934e View commit details
    Browse the repository at this point in the history
  5. feat(source model): add temporary segment field to source

    Adds the segment_m2m many-to-many field to the source model.
    This additional field ensures that the data currently in the
    segment field is not overwritten. Once data in the segment
    field is transferred, this field can be renamed.
    
    Changes to the source create and source edit forms make this
    new field editable.
    
    Refs: #1549
    dchiller committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    cbed5fe View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1559 from DDMAL/dependabot/pip/django-4.2.14

    build(deps): bump django from 4.2.11 to 4.2.14
    dchiller committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    b61c198 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1543 from DDMAL/dependabot/pip/urllib3-2.2.2

    build(deps): bump urllib3 from 2.2.1 to 2.2.2
    dchiller committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    65c83c2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    da114cb View commit details
    Browse the repository at this point in the history
  9. feat(browse sources): Add country and source columns to table

    This commit adjusts the columns in the browse sources table
    to conform to the changes in source identification introduced in #1545.
    
    Refs: #1569
    dchiller committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    02e275b View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Merge pull request #1578 from dchiller/i1569-browse-sources-table

    Add country and source columns to browse sources table
    dchiller committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    55e5903 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1576 from lucasmarchd01/issue-843

    Add indexing notes search to chant search page
    lucasmarchd01 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    0cf9be0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12f5202 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    449dd97 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1577 from dchiller/i1549-segment-field

    Add many-to-many segment field to source model
    dchiller committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    540cb3e View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    671deea View commit details
    Browse the repository at this point in the history
  2. feat(dev server): user runserver_plus in docker-compose-development

    With this change, we can make use of the python shell that runserver_plus
    provides when a python error occurs in django
    dchiller committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    0f3257b View commit details
    Browse the repository at this point in the history
  3. build(deps): add types-requests dev dependency

    Installs typing stubs for the requests package
    dchiller committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    fa4e8bf View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. feat(chant create): use fixed nextchants API for suggested chants fea…

    …ture
    
    With a fix to the Cantus Index json-nextchants endpoint, we can now
    reduce the number of calls that need to be made to Cantus Index to
    support the suggested chants feature of the Chant Create page. All
    the data on the suggested chants that we need for the feature comes
    now in the result of that call and does not require additional json-cid
    calls.
    dchiller committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    de20954 View commit details
    Browse the repository at this point in the history
  2. feat(text functions): update test_functions for new suggested chants …

    …feature
    
    Additionally, cast the "count" attribute of the response to the json-nextchants
    endpoint to int.
    dchiller committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    b3f2fbd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7cdd79 View commit details
    Browse the repository at this point in the history
  4. fix(gh action): add docker-compose-test-runner for github action djan…

    …go_tests
    
    Introduce a separate docker-compose file for use with the django_tests github
    action that replicates the production run environment (use of gunicorn rather
    than the django development server).
    dchiller committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f0c1e4d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e7b98cc View commit details
    Browse the repository at this point in the history
  6. fix(management): ensure Differentia is created if not found

    - in populate_diff_id_fields.py
    - removed obsolete else block
    lucasmarchd01 committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    390cb57 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. refactor(services): update URLs, models, codebase, and admin pages to…

    … use 'service' instead of 'office'.
    
    - change all URL paths to use 'service/services'. #1401
    - create redirects to ensure backwards compatibility with old 'office/offices' URLs. #1401
    - update query parameters to use 'service' instead of 'office'. #1401
    - rename the Office model to Service. #1402
    - rename .office property of BaseChant to .service. #1402
    - change all instances of 'office' to 'service' in the codebase. #1402
    - update all references to 'office' to 'service' on the Django admin pages. #1581
    lucasmarchd01 committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    6d62fe9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1580 from lucasmarchd01/issue-1368-3

    Fix `populate_diff_id_fields` management command
    lucasmarchd01 committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    f0e5ce6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1579 from dchiller/optimize-suggested-chants

    Chant create: optimize suggested chants feature
    dchiller committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    3e8f70c View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. New: Add source key filter to chants

    This small change adds a text input filter to the chants for the source primary key. This allows chants to be filtered by source in the list.
    ahankinson committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    443f8ca View commit details
    Browse the repository at this point in the history
  2. New: Add views for institutions

    This PR adds views for institutions, giving them each their own page on the Cantus site.
    
    Special care was taken to get the source counts and source links correct for logged in / not logged in users and published / unpublished sources.
    
    In addition external authorities are shown -- currently only RISM Online entries are in the external authorities, but others can be added. An entry for DIAMM as an external authority was also added so that links between Cantus and DIAMM are possible.
    ahankinson committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    4e1064e View commit details
    Browse the repository at this point in the history
  3. fix(redirects): add permanent=True to redirects

    - fix corresponding tests from status code 302 to 301
    lucasmarchd01 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    1889021 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1582 from lucasmarchd01/issue-1581

    Update URLs, models, codebase, and admin pages to use "service" instead of "office"
    lucasmarchd01 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    9349505 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1584 from DDMAL/add-source-key-filter

    New: Add source key filter to chants
    dchiller committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    65f9d4f View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    40391a9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1586 from DDMAL/add-institution-views

    New: Add views for institutions
    dchiller committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    fb455c6 View commit details
    Browse the repository at this point in the history
  3. feat(templates): add sortable_header template tag

    The sortable_header inclusion tag renders a table header
    for a column for which a view provides sort functionality.
    The tag adds links to the header that include `sort` and `order`
    query parameters that can be used by the view to sort queryset
    results.
    dchiller committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    09c5749 View commit details
    Browse the repository at this point in the history
  4. feat(source list): add sorting by country and source columns

    - add functionality to sort by a source's holding institution
    country (the "Country" column) and city/name/siglum (the "Source"
    column) in the Source List view
    - use the sortable_header helper tag for sortable column headers
    in the source_list.html template
    - fix the value used in the source column to the source's heading
    property
    dchiller committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    c36febf View commit details
    Browse the repository at this point in the history
  5. refactor(source list view): minor source list view refactoring

    - remove unused variables
    - reduce number of statements with assignment operator
    dchiller committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    a206538 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Merge pull request #1592 from dchiller/i1217-source-list-sortable-col…

    …umns
    
    Make "Country" and "Source" columns sortable on Source List page
    dchiller committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    ee12c96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c687f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2803e64 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1596 from lucasmarchd01/add-migration-28

    Add missing migration file
    lucasmarchd01 committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    5ae61a9 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1595 from DDMAL/develop

    Merge `develop` into `staging`, 13 Aug 2024
    dchiller committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    059face View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    d22db31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3c8e0c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16ec9f3 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1599 from lucasmarchd01/nginx-config-devcontainer

    Update nginx configuration and switch to `runserver_plus` in devcontainer setup
    lucasmarchd01 committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    9718dff View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1600 from lucasmarchd01/issue-1597

    Fix `FieldError` on admin user change page
    lucasmarchd01 committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    5710e23 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    f5ff4f9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1603 from lucasmarchd01/issue-1602

    Change help text for `date` field on source edit page
    lucasmarchd01 committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    18b8088 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. feat(source list): add country filter to source list page

    - view: add 'countries' context and add country filter to query object filter
    - html: add countryFilter dropdown to 'Browse Sources' page
    - js: ensure countryFilter persists across multiple GET requests
    - test: add tests for country filter
    lucasmarchd01 committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    0ec23bb View commit details
    Browse the repository at this point in the history
  2. fix(source): fix TypeError on source create page

    - make shelfmark a required field on source create and edit pages
    lucasmarchd01 committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    ec8a851 View commit details
    Browse the repository at this point in the history
  3. fix(source): fix TypeError on source create page

    - make shelfmark a required field on source create and edit pages
    - make shelfmark a required field on admin source add form
    lucasmarchd01 committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    c49eb51 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a714b0 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1605 from lucasmarchd01/issue-1583

    Add country filter to source list page
    lucasmarchd01 committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    1645e51 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. feat(views): add JSONResponseMixin

    The JSONResponseMixin reimplements the render_to_result method
    on generic DetailViews and ListViews to check for the request's
    Accept header. If the Accept header is "application/json" then
    json for the object or list of objects is provided. If not, renders
    the template as usual.
    dchiller committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    f1265f3 View commit details
    Browse the repository at this point in the history
  2. feat(genre and service views): add JSONResponseMixin to Genre and Ser…

    …vice views
    
    - Uses the JSONResponseMixin to return JSON results in appropriate places
    for the GenreList, GenreDetail, ServiceList, and ServiceDetail views.
    - Adds appropriate tests for the JSON response
    - Refactors some relevant tests to more efficiently create and use fake
    objects
    - Allows all aspects of a fake genre to be set with the make_fake_genre
    function
    dchiller committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    db56be7 View commit details
    Browse the repository at this point in the history
  3. feat(backups): create weekly partial backup for RISM

    Adds functionality to `db_backup.sh` and `postgres_backup.sh`
    to create a weekly backup of some tables in the database for RISM's
    use. user, auth, and reversion tables are not included.
    
    The backup is added to the backup directory (defined in ansible
    deployment) in the `rism` subdirectory.
    dchiller committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    ce71776 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. New: add fields to models

    in response to e-mail feedback
    ahankinson committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    aa34f09 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6603a1 View commit details
    Browse the repository at this point in the history
  3. Update the "migrate_record" script

    Adds functionality for private collection and for migrated identifiers
    ahankinson committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    c74546d View commit details
    Browse the repository at this point in the history
  4. fix(source): make holding institution and shelfmark fields required

    - in source model
    - on the source create and edit forms
    lucasmarchd01 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    5e72103 View commit details
    Browse the repository at this point in the history
  5. fix(source): change templates to include required fields

    - holding institution and shelfmark fields are now required
    - fixes incorrect use of <small> tag on these fields
    lucasmarchd01 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    c7f760c View commit details
    Browse the repository at this point in the history
  6. test(source): fix failing tests in SourceEditViewTest and SourceCreat…

    …eViewTest
    
    - add holding institution required field
    lucasmarchd01 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    86d22c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Merge pull request #1614 from dchiller/i1587-rism-backup

    Create partial database backup for RISM
    dchiller committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    17aea26 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1615 from DDMAL/institution-fixes

    Institution fixes
    dchiller committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    af1efbb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec7ac99 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1612 from dchiller/i1609-genre-office-endpoints

    Create JSON endpoint for `Service` and `Genre` list and detail views
    dchiller committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    13b6c74 View commit details
    Browse the repository at this point in the history
  5. fix(source list template): adjust source id columns

    - Add sortable "city + institution" column
    - Make source column = siglum + shelfmark
    - Make default order siglum + shelfmark
    dchiller committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    ba0ff80 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5776ecf View commit details
    Browse the repository at this point in the history
  7. build(dev dependencies): update faker version

    Newer versions of faker are now typed and have identical functionality
    in the ways we need it.
    dchiller committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    398311a View commit details
    Browse the repository at this point in the history
  8. refactor(tests): split tests/views.py

    We use the same structure as in the views themselves.
    dchiller committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    8833cb8 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

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

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    2366eec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8691030 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    c69f53a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d39d486 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1619 from dchiller/i1613-breakup-test-views

    Break up `test_views.py` so structure matches views directory
    dchiller committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    0ebf761 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eed477f View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1624 from DDMAL/revert-1619-i1613-breakup-test-views

    Revert "Break up `test_views.py` so structure matches views directory"
    dchiller committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    32874b5 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1618 from dchiller/i1616-source-list-table

    Adjust sortable columns for source list page (based on email feedback)
    dchiller committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    22a048d View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1620 from dchiller/i1617-link-checker-fix

    Add zoom links to link checker exclusions
    dchiller committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    8dd5e3c View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1621 from dchiller/i1594-display-chant-project

    Display chant.project on Chant Detail page where it exists
    dchiller committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    c3f78ae View commit details
    Browse the repository at this point in the history
  9. Merge pull request #1606 from lucasmarchd01/issue-1604

    Make `shelfmark` a required field on source create and edit forms
    lucasmarchd01 committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    28657a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. refactor(tests): split tests/views.py

    We use the same structure as in the views themselves.
    dchiller committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    0198f39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3931bb View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    8d785c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e4c4cd View commit details
    Browse the repository at this point in the history