docassemble.EFSPIntegration 1.7.1__tar.gz → 1.7.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. docassemble_efspintegration-1.7.2/.bumpversion.cfg +14 -0
  2. docassemble_efspintegration-1.7.2/.github/workflows/black-action.yml +19 -0
  3. docassemble_efspintegration-1.7.2/.github/workflows/da_build.yml +12 -0
  4. docassemble_efspintegration-1.7.2/.github/workflows/deploy.yml +23 -0
  5. docassemble_efspintegration-1.7.2/.github/workflows/kiln_tests.txt +29 -0
  6. docassemble_efspintegration-1.7.2/.github/workflows/publish.yml +14 -0
  7. docassemble_efspintegration-1.7.2/.github/workflows/unittests.yml +24 -0
  8. docassemble_efspintegration-1.7.2/.github/workflows/valid_jinja2.yml +11 -0
  9. docassemble_efspintegration-1.7.2/.github/workflows/word_diff.yml +9 -0
  10. docassemble_efspintegration-1.7.2/.gitignore +23 -0
  11. docassemble_efspintegration-1.7.2/CHANGELOG.md +101 -0
  12. {docassemble_efspintegration-1.7.1/docassemble.EFSPIntegration.egg-info → docassemble_efspintegration-1.7.2}/PKG-INFO +24 -10
  13. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/README.md +16 -1
  14. docassemble_efspintegration-1.7.2/docassemble/EFSPIntegration/__init__.py +1 -0
  15. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/conversions.py +4 -7
  16. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/minimal_interview.yml +1 -1
  17. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/unauthenticated_actions.yml +1 -1
  18. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/test/test_conversions.py +2 -0
  19. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/test/test_interview_functions.py +2 -0
  20. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/test/test_proxy_conn.py +1 -1
  21. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2/docassemble.EFSPIntegration.egg-info}/PKG-INFO +24 -10
  22. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble.EFSPIntegration.egg-info/SOURCES.txt +11 -1
  23. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble.EFSPIntegration.egg-info/requires.txt +1 -1
  24. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble.EFSPIntegration.egg-info/top_level.txt +0 -1
  25. docassemble_efspintegration-1.7.2/pyproject.toml +67 -0
  26. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/setup.py +1 -1
  27. docassemble_efspintegration-1.7.1/docassemble/EFSPIntegration/__init__.py +0 -1
  28. docassemble_efspintegration-1.7.1/docassemble/__init__.py +0 -5
  29. docassemble_efspintegration-1.7.1/pyproject.toml +0 -26
  30. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/LICENSE +0 -0
  31. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/MANIFEST.in +0 -0
  32. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/admin_interview.yml +0 -0
  33. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/any_filing_interview.yml +0 -0
  34. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/case_search.yml +0 -0
  35. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/codes_interview.yml +0 -0
  36. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/efiling_integration.yml +0 -0
  37. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/login_qs.yml +0 -0
  38. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/logs_interview.yml +0 -0
  39. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/toga_payments.yml +0 -0
  40. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/toga_payments_interview.yml +0 -0
  41. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/questions/unauthenticated_interview.yml +0 -0
  42. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/sources/README.md +0 -0
  43. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/sources/admin_interview.feature +0 -0
  44. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/sources/any_filing_interview.feature +0 -0
  45. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/sources/example_upload.pdf +0 -0
  46. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/sources/unauthenticated_interview.feature +0 -0
  47. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/static/Ajax-loader.gif +0 -0
  48. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/static/README.md +0 -0
  49. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/data/templates/README.md +0 -0
  50. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/efm_client.py +0 -0
  51. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/interview_logic.py +0 -0
  52. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/py.typed +0 -0
  53. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/py_efsp_client.py +0 -0
  54. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/requirements.txt +0 -0
  55. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/test/__init__.py +0 -0
  56. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/test/opening_affidavit_adams.json +0 -0
  57. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/test/peoria_to_cr.json +0 -0
  58. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/test/temp2.json +0 -0
  59. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble/EFSPIntegration/test/vars.json +0 -0
  60. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble.EFSPIntegration.egg-info/dependency_links.txt +0 -0
  61. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/docassemble.EFSPIntegration.egg-info/not-zip-safe +0 -0
  62. {docassemble_efspintegration-1.7.1 → docassemble_efspintegration-1.7.2}/setup.cfg +0 -0
@@ -0,0 +1,14 @@
1
+ [bumpversion]
2
+ current_version = 0.2.0
3
+ parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<test>\d+))?
4
+ serialize =
5
+ {major}.{minor}.{patch}.{test}
6
+ {major}.{minor}.{patch}
7
+ commit = True
8
+ tag = True
9
+
10
+ [bumpversion:file:setup.py]
11
+ search = '{current_version}'
12
+ replace = '{new_version}'
13
+
14
+ [bumpversion:file:docassemble/EFSPIntegration/__init__.py]
@@ -0,0 +1,19 @@
1
+ name: black-action
2
+ on:
3
+ # Trigger the workflow on push or pull request,
4
+ # but only for the main branch
5
+ push:
6
+ branches:
7
+ - main
8
+ pull_request:
9
+ branches:
10
+ - main
11
+ jobs:
12
+ linter_name:
13
+ name: runner / black
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: SuffolkLITLab/ALActions/black-formatting@main
17
+ with:
18
+ MAKE_PR: "true"
19
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,12 @@
1
+ name: DA Build
2
+ on:
3
+ push:
4
+ branches: [ main, master ]
5
+ pull_request:
6
+ branches: [ main, master ]
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: SuffolkLITLab/ALActions/da_build@main
@@ -0,0 +1,23 @@
1
+ name: Deploy package to the Dev server
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+
7
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
8
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
9
+ concurrency:
10
+ group: "dev-server"
11
+ cancel-in-progress: false
12
+
13
+ jobs:
14
+ deploy-to-dev:
15
+ name: Deploy to the Development server
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: SuffolkLITLab/ALActions/da_package@main
19
+ with:
20
+ SERVER_URL: ${{ vars.DEV_SERVER_URL }}
21
+ DOCASSEMBLE_DEVELOPER_API_KEY: ${{ secrets.DOCASSEMBLE_DEV_SERVER_API_KEY }}
22
+ GITHUB_URL: ${{ github.server_url }}/${{ github.repository }}
23
+ GITHUB_BRANCH: main
@@ -0,0 +1,29 @@
1
+ #name: Use ALKiln for integration tests
2
+ #
3
+ #on:
4
+ # push:
5
+ # workflow_dispatch:
6
+ # inputs:
7
+ # tags:
8
+ # required: False
9
+ # description: 'Optional. Use a "tag expression" to specify which tagged tests to run'
10
+ # default: ''
11
+
12
+ #env:
13
+ # TYLER_EMAIL: ${{ secrets.TYLER_EMAIL }}
14
+ # TYLER_PASSWORD: ${{ secrets.TYLER_PASSWORD }}
15
+ # PROSE_EMAIL: ${{ secrets.PROSE_EMAIL }}
16
+ # PROSE_PASSWORD: ${{ secrets.PROSE_PASSWORD }}
17
+
18
+ #jobs:
19
+ # interview-testing:
20
+ # runs-on: ubuntu-latest
21
+ # name: Run interview tests
22
+ # steps:
23
+ # - uses: actions/checkout@v3
24
+ # - name: Use ALKiln to run tests
25
+ # uses: SuffolkLITLab/ALKiln@v5
26
+ # with:
27
+ # SERVER_URL: "${{ secrets.SERVER_URL }}"
28
+ # DOCASSEMBLE_DEVELOPER_API_KEY: "${{ secrets.DOCASSEMBLE_DEVELOPER_API_KEY }}"
29
+ # - run: echo "Finished running ALKiln tests"
@@ -0,0 +1,14 @@
1
+ name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
2
+
3
+ on: push
4
+
5
+ jobs:
6
+ build-n-publish:
7
+ name: Build and publish Python 🐍 distributions 📦 to PyPI
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: SuffolkLITLab/ALActions/publish@main
11
+ with:
12
+ PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
13
+ VERSION_TO_PUBLISH: ${{ env.GITHUB_REF_NAME }}
14
+ TEAMS_BUMP_WEBHOOK: ${{ secrets.TEAMS_BUMP_WEBHOOK }}
@@ -0,0 +1,24 @@
1
+ name: Run mypy and python-only unit and integration tests
2
+
3
+ on:
4
+ push:
5
+ workflow_dispatch:
6
+
7
+ env:
8
+ PROXY_URL: https://efile-test.suffolklitlab.org
9
+ PROXY_API_KEY: ${{ secrets.EFILE_PROXY_API_KEY }}
10
+ TYLER_USER_EMAIL: ${{ secrets.TYLER_EMAIL }}
11
+ TYLER_USER_PASSWORD: ${{ secrets.TYLER_PASSWORD }}
12
+
13
+ # Allow only one concurrent test-run, skipping runs queued between the run in-progress and latest queued.
14
+ # However, do NOT cancel in-progress runs as stopping integration tests mid-run could end up in a bad state
15
+ concurrency:
16
+ group: "tests"
17
+ cancel-in-progress: false
18
+
19
+ jobs:
20
+ test-efspintegration:
21
+ runs-on: ubuntu-latest
22
+ name: Run python-only unit and integration tests
23
+ steps:
24
+ - uses: SuffolkLITLab/ALActions/pythontests@main
@@ -0,0 +1,11 @@
1
+ name: Valid Jinja2
2
+ on:
3
+ push:
4
+ branches:
5
+ - "**"
6
+ jobs:
7
+ validate:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - uses: SuffolkLITLab/ALActions/valid_jinja2@main
@@ -0,0 +1,9 @@
1
+ name: Word Diff
2
+ on:
3
+ pull_request:
4
+ jobs:
5
+ diff:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v4
9
+ - uses: SuffolkLITLab/ALActions/word_diff@main
@@ -0,0 +1,23 @@
1
+ # Includes password for x.509 and the URL to access the firm with
2
+ .env
3
+ .envrc
4
+ *.pyc
5
+ **/__pycache__/**
6
+ .vscode
7
+ .history
8
+ *.egg-info/**
9
+ rcfile
10
+ **/.mypy_cache/**
11
+ build/
12
+ .DS_Store
13
+
14
+ # Kiln stuff
15
+ alkiln_tests_*
16
+ alkiln-*
17
+ cucumber-report.txt
18
+ debug_log.txt
19
+ runtime_config.json
20
+
21
+ # Python Test stuff
22
+ .coverage
23
+ coverage_html
@@ -0,0 +1,101 @@
1
+ # CHANGELOG
2
+
3
+ ## Version v1.2.0
4
+
5
+ ### Added
6
+
7
+ * Payments improvements, including a better UI and clearer user-text in [#203](https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/pull/203)
8
+ * Logs API by @BryceStevenWilley in [#199](https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/pull/199/commits/acb4c946d227359633fe85b145b690a0ff83dd08)
9
+
10
+ ### Fixed
11
+
12
+ * Will actually log you out of the admin interview when you click logout (broken by [v1.1.0](https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/blob/main/CHANGELOG.md#version-v110)) in [#203](https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/pull/203)
13
+ * Got integration tests working again, but only locally: [#199](https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/pull/199/commits/2283e46b71ba69c0e4bc6eefc8197942092c6c60)
14
+ * Slightly cleaner integration testing in [#202](https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/pull/202)
15
+ * Trying to make better doc strings: [#190](https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/pull/190)
16
+
17
+ ## Version v1.1.0
18
+
19
+ ### Added
20
+
21
+ * there is now a "show password" checkbox below each password the user needs to enter, that
22
+ will toggle the input type from "password" to "text", which allows the user to see the password
23
+ they have entered so far.
24
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/bc7796ebde0ee595dc30f56f6923d2073eb47bff
25
+
26
+ ### Changed
27
+
28
+ * Use DAStore to save the user's login token across interviews. Now, if a user logs into Tyler's system
29
+ in one interview and then starts another separate interview, the second will automatically log them in
30
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/1b699881c8c234072547416efcf0b605e70d0323
31
+ * Shows Tyler's error message when trying to reset passwords, which do say if the email exists or not.
32
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/bc7796ebde0ee595dc30f56f6923d2073eb47bff
33
+
34
+ ## Version v1.0.3
35
+
36
+ All changes are in https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/2dab0b3f0df55fba8442aa7ff6cfeee9b45f56fd.
37
+
38
+ ### Fixed
39
+
40
+ * Avoid `None` errors when filters codes. Don't know why the name of a code would ever be null,
41
+ but it did happen in production.
42
+
43
+ ### Non-production-ready features
44
+
45
+ * Added a short message and spinning gif when forwarding to Tyler's payments site.
46
+
47
+ ## Version v1.0.2
48
+
49
+ All changes are in https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/c01b09848196af0bce4bd674375c0a2ab2dd207e.
50
+
51
+ ### Fixed
52
+
53
+ * Fewer crashes in `chain_xml`
54
+ * Don't crash if you can't find the case title
55
+
56
+ ### Changed
57
+
58
+ * Case search can sometimes find cases in subcourts; i.e. if you search for cases in the
59
+ `peoria` court, you can find cases from `peoriacr`. The ultimate court you need to file into
60
+ needs to be the court the case is from, not what you searched in. To fix this, we now get the
61
+ `court_id` from the case details, and use that for `found_cases[i].court_id`.
62
+ instead of the court you searched in. Added a note for this in `case_search.yml`
63
+
64
+ ## Version v1.0.1
65
+
66
+ ### Fixed
67
+
68
+ * Courts have a multitude of typos in their code names, including extra spaces.
69
+ We now strip out leading and trailing spaces from code names when trying to match
70
+ exact names.
71
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/0b3715b7764d8b017a0d521589cb9742560405fc
72
+ * Have better defaults for `.document_type`, `.filing_type`, and document and filing filters
73
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/a917531694f567d7a0e2c405a3a4d89b56fa0e2e
74
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/911bc7872203cf4c5a4c8461f1fccca0e4f84868
75
+
76
+ ### Changed
77
+
78
+ * Tryng to start the resend activation action before the
79
+ registration action has technically fiinshed queues up the next
80
+ action, but stays on the current screen, making it seem like nothing
81
+ is happenning. Instead, we just note that users can resend their actiavation
82
+ email from the home screen (the next screen in the interview)
83
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/5e49107becbe89c4652cdbe4589da1f911024afa
84
+ * Removed the "restart" button from the in-interview password reset flow. Users can just go back.
85
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/3db90f74c536316a6f3204a6ee0dd57ddc4de2d0
86
+
87
+ ### Not-pro-ready features
88
+ * stopped DA from showing "Input not processed" when we are adding
89
+ waiver and income types
90
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/232d60332e6c1e23eca9b66403f7b5f4644c7f25
91
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/751d42694cda4d0dcec5e473801801cd9cf8d339
92
+
93
+ ### Internal
94
+ * Use SuffolkLITLab/ALActions for the GitHub actions that run tests
95
+ * https://github.com/SuffolkLITLab/docassemble-EFSPIntegration/commit/0fe84c836ea29b8b8f6bd4148c837eb09861a63e
96
+
97
+ ## Version v1.0.0
98
+
99
+ First 1.0 release! Previous versions aren't considered to be
100
+ documented, so earlier versions won't be listed.
101
+
@@ -1,26 +1,25 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: docassemble.EFSPIntegration
3
- Version: 1.7.1
3
+ Version: 1.7.2
4
4
  Home-page: https://github.com/SuffolkLITLab/docassemble-EFSPIntegration
5
5
  Author: Bryce Willey
6
- Author-email: bwilley@suffolk.edu
7
- License: The MIT License (MIT)
6
+ Author-email: Bryce Willey <bryce.willey@suffolk.edu>
7
+ License-Expression: MIT
8
+ Project-URL: GitHub, https://github.com/SuffolkLITLab/docassemble-EFSPIntegration
9
+ Requires-Python: <3.13,>=3.10,>=3.12.3
8
10
  Description-Content-Type: text/markdown
9
11
  License-File: LICENSE
10
12
  Requires-Dist: docassemble.AssemblyLine>=3.5.0
11
13
  Requires-Dist: docassemble.ALToolbox>=0.6.2
12
- Requires-Dist: requests>=2.25.1
14
+ Requires-Dist: requests>2.25.1
13
15
  Dynamic: author
14
- Dynamic: author-email
15
- Dynamic: description
16
- Dynamic: description-content-type
17
16
  Dynamic: home-page
18
- Dynamic: license
19
17
  Dynamic: license-file
20
- Dynamic: requires-dist
21
18
 
22
19
  # docassemble-EFSPIntegration
23
20
 
21
+ [![PyPI version](https://badge.fury.io/py/docassemble.EFSPIntegration.svg)](https://badge.fury.io/py/docassemble.EFSPIntegration)
22
+
24
23
  A docassemble extension that talks to [a proxy e-filing server](https://github.com/SuffolkLITLab/EfileProxyServer/) easily within a docassemble interview.
25
24
 
26
25
  Main interviews of import:
@@ -28,7 +27,22 @@ Main interviews of import:
28
27
  * any_filing_interview.yml: allows you to make any type of filing, initial or subsequent
29
28
  * admin_interview.yml: lets you handle admin / user functionality, outside of the context of cases and filings
30
29
 
31
- In progress!
30
+ ## Config
31
+
32
+ Different parts of this package expect the below to be present in Docassemble's
33
+ config.
34
+
35
+ ```yaml
36
+ efile proxy:
37
+ # The URL where the Efile Proxy Server is running
38
+ url: https:...
39
+ # The Proxy Server's API Key (should be provided to you by the sever admins)
40
+ api key: ...
41
+ # If you're given an EFSP global fee waiver ID for your jurisdiction, put it here
42
+ global waivers:
43
+ illinois: ...
44
+ massachusetts: ...
45
+ ```
32
46
 
33
47
  ## Authors
34
48
 
@@ -9,7 +9,22 @@ Main interviews of import:
9
9
  * any_filing_interview.yml: allows you to make any type of filing, initial or subsequent
10
10
  * admin_interview.yml: lets you handle admin / user functionality, outside of the context of cases and filings
11
11
 
12
- In progress!
12
+ ## Config
13
+
14
+ Different parts of this package expect the below to be present in Docassemble's
15
+ config.
16
+
17
+ ```yaml
18
+ efile proxy:
19
+ # The URL where the Efile Proxy Server is running
20
+ url: https:...
21
+ # The Proxy Server's API Key (should be provided to you by the sever admins)
22
+ api key: ...
23
+ # If you're given an EFSP global fee waiver ID for your jurisdiction, put it here
24
+ global waivers:
25
+ illinois: ...
26
+ massachusetts: ...
27
+ ```
13
28
 
14
29
  ## Authors
15
30
 
@@ -0,0 +1 @@
1
+ __version__ = '1.7.2'
@@ -261,19 +261,19 @@ def pretty_display(data, tab_depth=0, skip_xml=True, item_name=None) -> str:
261
261
 
262
262
  elif isinstance(data, dict):
263
263
  if "declaredType" in data:
264
- if data["declaredType"] == "gov.niem.niem.niem_core._2.TextType":
264
+ if "gov.niem.niem.niem_core._2.TextType" in data["declaredType"]:
265
265
  out += (
266
266
  tab_str
267
267
  + f"* {data['name'].replace(':', '/')}: {data['value']['value']}\n"
268
268
  )
269
269
  return out
270
- if data["declaredType"] == "gov.niem.niem.proxy.xsd._2.Boolean":
270
+ if "gov.niem.niem.proxy.xsd._2.Boolean" in data["declaredType"]:
271
271
  out += (
272
272
  tab_str
273
273
  + f"* {data['name'].replace(':', '/')}: {data['value']['value']}\n"
274
274
  )
275
275
  return out
276
- if data["declaredType"] == "gov.niem.niem.proxy.xsd._2.DateTime":
276
+ if "gov.niem.niem.proxy.xsd._2.DateTime" in data["declaredType"]:
277
277
  out += (
278
278
  tab_str
279
279
  + f"* date: {datetime.fromtimestamp(float(data['value']['value'])/1000)}\n"
@@ -764,10 +764,7 @@ def fetch_case_info(
764
764
  if "AppellateCaseOriginalCase" in aug.get("declaredType"):
765
765
  new_case.lower_docket_number = aug.get("value", {}).get("caseDocketID")
766
766
  new_case.lower_case_title = aug.get("value", {}).get("caseTitleText")
767
- if (
768
- aug.get("declaredType")
769
- == "tyler.ecf.extensions.common.CaseAugmentationType"
770
- ):
767
+ if aug.get("name") == r"{urn:tyler:ecf:extensions:Common}CaseAugmentation":
771
768
  new_case.lower_judge = aug.get("value", {}).get("lowerCourtJudgeText")
772
769
  participant_xml = aug.get("value", {}).get("caseParticipant", [])
773
770
  for participant in participant_xml:
@@ -51,7 +51,7 @@ code: |
51
51
  tyler_login
52
52
  lead_contact = users[0]
53
53
  main_document.completed
54
- tyler_payment_id = get_config('efile proxy', {}).get('global waiver', '')
54
+ tyler_payment_id = get_config('efile proxy', {}).get('global waivers', [''])[0]
55
55
  ready_to_efile
56
56
  efile
57
57
  ending_screen
@@ -72,7 +72,7 @@ data:
72
72
  texas: Texas
73
73
  california: California
74
74
  indiana: Indiana
75
-
75
+ vermont: Vermont
76
76
  ---
77
77
  code: |
78
78
  can_connect_to_proxy = proxy_conn.get_server_name().is_ok()
@@ -1,3 +1,5 @@
1
+ # do not pre-load
2
+
1
3
  import json
2
4
  import unittest
3
5
  from unittest.mock import MagicMock
@@ -1,3 +1,5 @@
1
+ # do not pre-load
2
+
1
3
  import unittest
2
4
  from ..interview_logic import (
3
5
  make_filters,
@@ -1,4 +1,4 @@
1
- #! /usr/bin/env python3
1
+ # do not pre-load
2
2
 
3
3
  """
4
4
  Env vars needed to run:
@@ -1,26 +1,25 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: docassemble.EFSPIntegration
3
- Version: 1.7.1
3
+ Version: 1.7.2
4
4
  Home-page: https://github.com/SuffolkLITLab/docassemble-EFSPIntegration
5
5
  Author: Bryce Willey
6
- Author-email: bwilley@suffolk.edu
7
- License: The MIT License (MIT)
6
+ Author-email: Bryce Willey <bryce.willey@suffolk.edu>
7
+ License-Expression: MIT
8
+ Project-URL: GitHub, https://github.com/SuffolkLITLab/docassemble-EFSPIntegration
9
+ Requires-Python: <3.13,>=3.10,>=3.12.3
8
10
  Description-Content-Type: text/markdown
9
11
  License-File: LICENSE
10
12
  Requires-Dist: docassemble.AssemblyLine>=3.5.0
11
13
  Requires-Dist: docassemble.ALToolbox>=0.6.2
12
- Requires-Dist: requests>=2.25.1
14
+ Requires-Dist: requests>2.25.1
13
15
  Dynamic: author
14
- Dynamic: author-email
15
- Dynamic: description
16
- Dynamic: description-content-type
17
16
  Dynamic: home-page
18
- Dynamic: license
19
17
  Dynamic: license-file
20
- Dynamic: requires-dist
21
18
 
22
19
  # docassemble-EFSPIntegration
23
20
 
21
+ [![PyPI version](https://badge.fury.io/py/docassemble.EFSPIntegration.svg)](https://badge.fury.io/py/docassemble.EFSPIntegration)
22
+
24
23
  A docassemble extension that talks to [a proxy e-filing server](https://github.com/SuffolkLITLab/EfileProxyServer/) easily within a docassemble interview.
25
24
 
26
25
  Main interviews of import:
@@ -28,7 +27,22 @@ Main interviews of import:
28
27
  * any_filing_interview.yml: allows you to make any type of filing, initial or subsequent
29
28
  * admin_interview.yml: lets you handle admin / user functionality, outside of the context of cases and filings
30
29
 
31
- In progress!
30
+ ## Config
31
+
32
+ Different parts of this package expect the below to be present in Docassemble's
33
+ config.
34
+
35
+ ```yaml
36
+ efile proxy:
37
+ # The URL where the Efile Proxy Server is running
38
+ url: https:...
39
+ # The Proxy Server's API Key (should be provided to you by the sever admins)
40
+ api key: ...
41
+ # If you're given an EFSP global fee waiver ID for your jurisdiction, put it here
42
+ global waivers:
43
+ illinois: ...
44
+ massachusetts: ...
45
+ ```
32
46
 
33
47
  ## Authors
34
48
 
@@ -1,10 +1,20 @@
1
+ .bumpversion.cfg
2
+ .gitignore
3
+ CHANGELOG.md
1
4
  LICENSE
2
5
  MANIFEST.in
3
6
  README.md
4
7
  pyproject.toml
5
8
  setup.cfg
6
9
  setup.py
7
- docassemble/__init__.py
10
+ .github/workflows/black-action.yml
11
+ .github/workflows/da_build.yml
12
+ .github/workflows/deploy.yml
13
+ .github/workflows/kiln_tests.txt
14
+ .github/workflows/publish.yml
15
+ .github/workflows/unittests.yml
16
+ .github/workflows/valid_jinja2.yml
17
+ .github/workflows/word_diff.yml
8
18
  docassemble.EFSPIntegration.egg-info/PKG-INFO
9
19
  docassemble.EFSPIntegration.egg-info/SOURCES.txt
10
20
  docassemble.EFSPIntegration.egg-info/dependency_links.txt
@@ -1,3 +1,3 @@
1
1
  docassemble.AssemblyLine>=3.5.0
2
2
  docassemble.ALToolbox>=0.6.2
3
- requests>=2.25.1
3
+ requests>2.25.1
@@ -0,0 +1,67 @@
1
+ # Just for local builds:
2
+ # for publishing / installing to docassemble < 1.8.0
3
+ # setup.py is still used.
4
+ [project]
5
+ name = "docassemble.EFSPIntegration"
6
+ version = "1.7.2"
7
+ readme = "README.md"
8
+ requires-python=">=3.10,>=3.12.3,<3.13"
9
+ dependencies = [
10
+ "docassemble.AssemblyLine>=3.5.0",
11
+ "docassemble.ALToolbox>=0.6.2",
12
+ "requests>2.25.1"
13
+ ]
14
+ license="MIT"
15
+ license-files = ["LICEN[CS]E*"]
16
+ authors = [
17
+ { name="Bryce Willey", email="bryce.willey@suffolk.edu" },
18
+ ]
19
+
20
+ [project.urls]
21
+ GitHub = "https://github.com/SuffolkLITLab/docassemble-EFSPIntegration"
22
+
23
+ [build-system]
24
+ requires = [
25
+ "setuptools>=60",
26
+ "setuptools-scm>=8.1"]
27
+ build-backend = "setuptools.build_meta"
28
+
29
+ [tool.setuptools]
30
+ packages = ["docassemble.EFSPIntegration"]
31
+
32
+ [dependency-groups]
33
+ dev = [
34
+ "docassemble.base==1.8.4",
35
+ "docassemble.webapp==1.8.4",
36
+ "types-requests",
37
+ "types-python-dateutil",
38
+ "mypy",
39
+ "black",
40
+ ]
41
+
42
+ [tool.black]
43
+ extend-exclude = '(__init__.py|setup.py)'
44
+
45
+ [tool.mypy]
46
+ # global options
47
+ no_implicit_optional = false
48
+ exclude = '''(?x)(
49
+ ^setup.py$
50
+ )'''
51
+
52
+ # per-module options:
53
+ [[tool.mypy.overrides]]
54
+ module = "docassemble.webapp.*"
55
+ ignore_missing_imports = true
56
+
57
+ [[tool.mypy.overrides]]
58
+ module = "docassemble.base.*"
59
+ ignore_missing_imports = true
60
+
61
+ [[tool.mypy.overrides]]
62
+ module = "pycountry"
63
+ ignore_missing_imports = true
64
+
65
+ [[tool.mypy.overrides]]
66
+ module = "isodate"
67
+ ignore_missing_imports = true
@@ -42,7 +42,7 @@ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_d
42
42
  return out
43
43
 
44
44
  setup(name='docassemble.EFSPIntegration',
45
- version='1.7.1',
45
+ version='1.7.2',
46
46
  description=(''),
47
47
  long_description='# docassemble-EFSPIntegration\r\n\r\nA docassemble extension that talks to [a proxy e-filing server](https://github.com/SuffolkLITLab/EfileProxyServer/) easily within a docassemble interview.\r\n\r\nMain interviews of import:\r\n\r\n* any_filing_interview.yml: allows you to make any type of filing, initial or subsequent\r\n* admin_interview.yml: lets you handle admin / user functionality, outside of the context of cases and filings\r\n\r\nIn progress!\r\n\r\n## Authors\r\n\r\nQuinten Steenhuis (qsteenhuis@suffolk.edu)\r\nBryce Willey (bwilley@suffolk.edu)\r\n',
48
48
  long_description_content_type='text/markdown',
@@ -1 +0,0 @@
1
- __version__ = '1.7.1'
@@ -1,5 +0,0 @@
1
- try:
2
- __import__('pkg_resources').declare_namespace(__name__)
3
- except ImportError:
4
- __path__ = __import__('pkgutil').extend_path(__path__, __name__)
5
-
@@ -1,26 +0,0 @@
1
- [tool.black]
2
- extend-exclude = '(__init__.py|setup.py)'
3
-
4
- [tool.mypy]
5
- # global options
6
- no_implicit_optional = false
7
- exclude = '''(?x)(
8
- ^setup.py$
9
- )'''
10
-
11
- # per-module options:
12
- [[tool.mypy.overrides]]
13
- module = "docassemble.webapp.*"
14
- ignore_missing_imports = true
15
-
16
- [[tool.mypy.overrides]]
17
- module = "docassemble.base.*"
18
- ignore_missing_imports = true
19
-
20
- [[tool.mypy.overrides]]
21
- module = "pycountry"
22
- ignore_missing_imports = true
23
-
24
- [[tool.mypy.overrides]]
25
- module = "isodate"
26
- ignore_missing_imports = true