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

Implement upload portal for missouri and mississippi court opinions #4034

Merged

Conversation

quevon24
Copy link
Member

@quevon24 quevon24 commented May 8, 2024

These are the implementations for the upload portal for mo, moctapp, miss and missctapp.

Based on what I saw on their sites, i define the following fields for the forms: caption, docket number, publication date, optional lead author and pdf file, only for Mississippi a summary field is required. I didn't find that they had neutral citations like maine or tennessee.

The information I added about the courts was extracted from their pages

image

image

image

image

I added a back button in the form and an asterisk to indicate required fields.

image

Tennessee and Maine maintain the same functionality, they just use the same base form.

miss fields:

  • Caption
  • Docket Number
  • Publication Date
  • Lead Author
  • Author string
  • Judges string
  • Disposition
  • Summary
  • Download url
  • Opinion pdf

missctapp fields:

  • Caption
  • Docket Number
  • Publication Date
  • Lead Author
  • Author string
  • Judges string
  • Disposition
  • Summary
  • Download url
  • Opinion pdf

mo fields:

  • Caption
  • Docket Number
  • Publication Date
  • Lead Author
  • Author string
  • Judges string
  • Disposition
  • Download url
  • Opinion pdf

moctapp fields:

  • Caption
  • Docket Number
  • Publication Date
  • Lead Author
  • Author string
  • Judges string
  • Disposition
  • Download url
  • Opinion pdf

Steps:

Add the new courts to courtlistener:

  • moctapped
  • moctappsd
  • moctappwd

Add new user groups and assign users to the groups:

  • uploaders_mo
  • uploaders_moctapp
  • uploaders_moctapped
  • uploaders_moctappsd
  • uploaders_moctappwd
  • uploaders_miss
  • uploaders_missctapp

@quevon24 quevon24 requested a review from flooie May 8, 2024 19:33
@quevon24 quevon24 linked an issue May 8, 2024 that may be closed by this pull request
@quevon24 quevon24 marked this pull request as draft May 8, 2024 20:06
quevon24 added 14 commits May 9, 2024 10:47
update make_objects function
update BaseCourtUploadForm
… court of appeals (with temporary ids for the new courts)
…-missouri-mississippi-court-opinions' into 3996-implement-upload-portal-for-missouri-mississippi-court-opinions
@quevon24 quevon24 marked this pull request as ready for review May 30, 2024 15:44
use seal rookery to load seals on court pages
court homepage display results using elasticsearch or solr
make court home page view sync instead of async to verify if elastic search is enabled or not
move download url field to a function
…lement-upload-portal-for-missouri-mississippi-court-opinions

# Conflicts:
#	poetry.lock
#	pyproject.toml
@quevon24
Copy link
Member Author

quevon24 commented Jun 14, 2024

@flooie the changes are ready

  • Added seal rookery to pyproject.toml
  • Use seals for upload forms and court homepage
  • Judges field placeholder changed
  • Download url field is only available in new upload forms for miss and mo
  • Lead author field is now not required
  • I updated the view and court homepage template to use solr or elasticsearch based on the waffle flag (This is probably why you were not seeing the results correctly in your environment, I made the necessary adjustments)
  • I added new seals to seal rookery (Add miss and tenn seals seal-rookery#26)

@quevon24 quevon24 requested a review from flooie June 14, 2024 23:01
cl/opinion_page/forms.py Outdated Show resolved Hide resolved
cl/opinion_page/forms.py Outdated Show resolved Hide resolved
…lement-upload-portal-for-missouri-mississippi-court-opinions

# Conflicts:
#	poetry.lock
remove moctapp from views
remove unused download_url field from ordering
make court_homepage async again
fix merge conflict poetry.lock
@quevon24
Copy link
Member Author

The changes are ready @flooie

  • Added help text to fields
  • Remove moctapp from views
  • Remove unused download_url field from ordering
  • Make court_homepage async again
  • Fix merge conflict poetry.lock

cl/scrapers/utils.py Outdated Show resolved Hide resolved
Do some minor whitespace cleanup for html files
…ourt-opinions' of https://github.com/freelawproject/courtlistener into 3996-implement-upload-portal-for-missouri-mississippi-court-opinions
cl/opinion_page/tests.py Outdated Show resolved Hide resolved
cl/opinion_page/tests.py Outdated Show resolved Hide resolved
cl/opinion_page/tests.py Outdated Show resolved Hide resolved
remove unused appeal_from_str param from update_or_create_docket function
remove print message
@quevon24 quevon24 requested a review from flooie June 25, 2024 18:01
Copy link
Contributor

@flooie flooie left a comment

Choose a reason for hiding this comment

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

This look good to me @quevon24

Thanks for grinding thru on this.

@flooie flooie merged commit 7cf92f4 into main Jun 26, 2024
13 checks passed
@flooie flooie deleted the 3996-implement-upload-portal-for-missouri-mississippi-court-opinions branch June 26, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Upload Portal for Missouri & Mississippi Court Opinions
3 participants