Skip to content

Commit

Permalink
Merge branch 'main' into 4787-add-v4-usage-to-api-tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
leohentschker authored Dec 21, 2024
2 parents e1ceda4 + be90d65 commit 6c7d223
Show file tree
Hide file tree
Showing 47 changed files with 926 additions and 2,468 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,6 @@ jobs:
matrix:
tag_flags: ["--exclude-tag selenium", "--tag selenium"]
steps:
- name: Check out solr
uses: actions/checkout@v4
with:
repository: freelawproject/courtlistener-solr-server
ref: main
path: courtlistener-solr-server
- name: Set up solr permissions
run: |
cd courtlistener-solr-server
sudo chown -R :1024 data
sudo chown -R :1024 solr
sudo find data -type d -exec chmod g+s {} \;
sudo find solr -type d -exec chmod g+s {} \;
sudo find data -type d -exec chmod 775 {} \;
sudo find solr -type d -exec chmod 775 {} \;
sudo find data -type f -exec chmod 664 {} \;
sudo find solr -type f -exec chmod 664 {} \;
- name: Check out CourtListener
uses: actions/checkout@v4
with:
Expand Down
8 changes: 8 additions & 0 deletions cl/assets/static-global/css/override.css
Original file line number Diff line number Diff line change
Expand Up @@ -1829,3 +1829,11 @@ rect.series-segment {
.prayer-button[data-gap-size="large"]{
margin-left: 44px;
}

.gap-1 {
gap: 0.25rem
}

.gap-2 {
gap: 0.5rem
}
2 changes: 1 addition & 1 deletion cl/assets/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ <h1>You did not supply the "private" variable to your template.
</li>
{% flag "pray-and-pay" %}
<li>
<a href="{% url "top_prayers" %}#recap-alerts" tabindex="203">Pray and Pay Project</a>
<a href="{% url "top_prayers" %}" tabindex="203">Pray and Pay Project</a>
</li>
{% endflag %}
<li>
Expand Down
23 changes: 0 additions & 23 deletions cl/corpus_importer/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,6 @@ class CaseLawFactory(factory.DictFactory):
docket_number = Faker("federal_district_docket_number")


class RssDocketEntryDataFactory(factory.DictFactory):
date_filed = Faker("date_object")
description = ""
document_number = Faker("pyint", min_value=1, max_value=100)
pacer_doc_id = Faker("random_id_string")
pacer_seq_no = Faker("random_id_string")
short_description = Faker("text", max_nb_chars=40)


class RssDocketDataFactory(factory.DictFactory):
court_id = FuzzyText(length=4, chars=string.ascii_lowercase, suffix="d")
case_name = Faker("case_name")
docket_entries = factory.List(
[factory.SubFactory(RssDocketEntryDataFactory)]
)
docket_number = Faker("federal_district_docket_number")
office = Faker("pyint", min_value=1, max_value=100)
chapter = Faker("pyint", min_value=1, max_value=100)
trustee_str = Faker("text", max_nb_chars=15)
type = Faker("text", max_nb_chars=8)
pacer_case_id = Faker("random_id_string")


class FreeOpinionRowDataFactory(factory.DictFactory):
case_name = Faker("case_name")
cause = Faker("text", max_nb_chars=8)
Expand Down
Loading

0 comments on commit 6c7d223

Please sign in to comment.