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 develop into staging, 30 Aug 2024 #1622

Merged
merged 44 commits into from
Sep 3, 2024
Merged

Merge develop into staging, 30 Aug 2024 #1622

merged 44 commits into from
Sep 3, 2024

Conversation

dchiller
Copy link
Contributor

@dchiller dchiller commented Aug 30, 2024

I'd like to update staging again before I do another data migration test to our new source/institution identification models.

lucasmarchd01 and others added 30 commits August 14, 2024 14:50
Update nginx configuration and switch to `runserver_plus` in devcontainer setup
Fix `FieldError` on admin user change page
Change help text for `date` field on source edit 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
- make shelfmark a required field on source create and edit pages
- make shelfmark a required field on source create and edit pages
- make shelfmark a required field on admin source add form
Add country filter to source list page
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.
…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
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.
in response to e-mail feedback
Adds functionality for private collection and for migrated identifiers
- in source model
- on the source create and edit forms
- holding institution and shelfmark fields are now required
- fixes incorrect use of <small> tag on these fields
…eViewTest

- add holding institution required field
Create partial database backup for RISM
Create JSON endpoint for `Service` and `Genre` list and detail views
- Add sortable "city + institution" column
- Make source column = siglum + shelfmark
- Make default order siglum + shelfmark
Newer versions of faker are now typed and have identical functionality
in the ways we need it.
We use the same structure as in the views themselves.
@lucasmarchd01
Copy link
Contributor

Sounds good! I'll review the rest of the PR's now.

dchiller and others added 9 commits August 30, 2024 10:19
Break up `test_views.py` so structure matches views directory
Revert "Break up `test_views.py` so structure matches views directory"
Adjust sortable columns for source list page (based on email feedback)
Add zoom links to link checker exclusions
Display chant.project on Chant Detail page where it exists
Make `shelfmark` a required field on source create and edit forms
We use the same structure as in the views themselves.
@dchiller
Copy link
Contributor Author

dchiller commented Sep 2, 2024

@lucasmarchd01 Good to go now?

@lucasmarchd01
Copy link
Contributor

@lucasmarchd01 Good to go now?

Yup, I think so!

@dchiller dchiller merged commit 1e4c4cd into staging Sep 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants