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

feat(subscription): Add system for curators #210

Merged
merged 44 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
74fa67a
build(deps): Add django-htmx as a dependency
ERosendo Apr 24, 2023
f7efd3d
feat(assets): Add htmx file to the assets folder
ERosendo Apr 24, 2023
581d40a
feat(assets): Add the loading-states Extension
ERosendo Apr 24, 2023
6384c23
feat(setting): Add 'django_htmx' to the list of installed apps
ERosendo Apr 24, 2023
e9d11eb
feat(subscription): Add a page to search cases using the CL API
ERosendo Apr 24, 2023
23d1d5c
feat(template): Add new block in the base template
ERosendo Apr 24, 2023
8eeefe2
fix(template): Tweak the z-index property of the big cases dropdown
ERosendo Apr 24, 2023
fb9a82f
feat(subscription): Add helper method to get the docket id from the q…
ERosendo Apr 24, 2023
617ba09
fix(template): tweak the value attribute in the submit button include
ERosendo Apr 24, 2023
ac88898
feat(subscription): Add a method to handle requests from the search bar
ERosendo Apr 24, 2023
eab3d09
feat(subscription): Add new endpoints to the urls.py file
ERosendo Apr 24, 2023
f3452a6
feat(template): Add svg files for the search bar to the inline folder
ERosendo Apr 25, 2023
9a3e364
feat(templates): Replace svg tags with inline includes
ERosendo Apr 25, 2023
1eb5b42
feat(subscription): Tweak helper method to get docket id from URLs
ERosendo Apr 25, 2023
5d94e5c
feat(subscription): Add tests related to the search bar helper method
ERosendo Apr 25, 2023
c1da2d8
feat(subscription): Add a view to handle the form to follow cases.
ERosendo Apr 25, 2023
95000a2
feat(subscription): Handle HTTPError exception in the search method
ERosendo Apr 25, 2023
8e79ac2
Merge branch 'main' into 24-add-system-for-curators
ERosendo Apr 28, 2023
522d2b9
fix(deps): Resolve conflicts in the poetry.lock file
ERosendo Apr 29, 2023
eeb0fd7
feat(assets): Add a non-minified version of the htmx.js file
ERosendo Apr 29, 2023
930f1e6
fix(subscription): Update imports in the view.py file
ERosendo Apr 29, 2023
ff5eb29
refactor(templates): Move the script block into the body
ERosendo Apr 29, 2023
5c874d2
refactor(templates): Tweak the script block in the add-case template
ERosendo Apr 29, 2023
93a93ab
refactor(subscription): Remove the custom message from assertEqual
ERosendo Apr 29, 2023
06be430
feat(template): Update the placeholder of the search bar input.
ERosendo Apr 30, 2023
8a3bb58
feat(subscription): Add examples to the DOCKET_URL_PATTERN regex
ERosendo May 1, 2023
135bde1
fix(settings): Remote duplicate setting for the INTERNAL_IPS list
ERosendo May 1, 2023
27c6f1e
docs(architecture): Update list of steps in the developer installation
ERosendo May 1, 2023
3e02bf8
feat(settings): Get list of IPv4 and set the INTERNAL_IPS list
ERosendo May 1, 2023
3d2a8ba
feat(subscription): Remove an argument from the method to create posts
ERosendo May 1, 2023
bb66d8f
refactor(subscription): Add helper methods to refactor loops
ERosendo May 1, 2023
503b182
feat(subscription): Avoid creating cache invalidation in the dev env.
ERosendo May 1, 2023
f2df925
feat(settings): Provide default valued for the GATEWAY_IP
ERosendo May 1, 2023
b488ec8
feat(templates): Load non-minified version of the htmx file
ERosendo May 1, 2023
28f8f3d
feat(assets): Add new variable to the button include
ERosendo May 1, 2023
6bbf3cd
refactor(templates): Replace the yellow-button include
ERosendo May 1, 2023
19a589c
feat(subscription): Add support to search cases using the PDF link
ERosendo May 1, 2023
4491c50
feat(subscription): Add a timeout to the get request to the pdf link.
ERosendo May 2, 2023
f7cac23
build(deps): Change order of the dependencies
ERosendo May 2, 2023
b5b66dd
deps(build): Add the django-debug-toolbar as a dev dependency
ERosendo May 2, 2023
add597f
feat(settings): Refactor the logic to get the Gateway IP
ERosendo May 2, 2023
08704ce
feat(settings): Add the debug_toolbar to the list of installed apps
ERosendo May 2, 2023
2a19d24
feat(urls): Add django-debug-toolbar’s URLs to the project
ERosendo May 2, 2023
807fae2
feat(templates): Add event handler in pages with HTMX
ERosendo May 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ TWITTER_ACCESS_TOKEN_SECRET=""

# django.py
HOSTNAME=""
GATEWAY_IP=""
DEVELOPMENT="on"
DEBUG="on"

Expand Down
6 changes: 6 additions & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ To set up a development machine, do the following:

This is important so that each service in the compose file can have a hostname.

1. Get the Gateway IP of the new bridge network and paste it in the settings file:

`docker network inspect bc2_net_overlay --format "{{range .IPAM.Config}}{{.Gateway}}{{end}}"`

This is important so We can use the `debug` tag in the templates.
ERosendo marked this conversation as resolved.
Show resolved Hide resolved

1. `cd` into bigcases2/docker/bigcasesbot, then launch the server by running:

`docker-compose up -d`
Expand Down
Loading