CodeWithAloha / uipa

Helping submit, track, and share public records requests in Hawaii
http://uipa.org
MIT License
10 stars 6 forks source link

refactor: remove proof from settings #101

Open tyliec opened 2 months ago

russtoku commented 2 months ago

This works to remove proof from the user's settings page but proof is still visible in other web pages. A quick look for proof shows that proof is tangled into the other parts of Froide.

froide (main)$ rg -l proof
vite.config.js
frontend/javascript/components/proofupload/proof-form.vue
frontend/javascript/components/proofupload/proof-upload.vue
frontend/javascript/components/makerequest/request-form.vue
frontend/javascript/components/makerequest/request-page.vue
frontend/javascript/proofupload.js

froide/urls.py
froide/settings.py

froide/account/templates/account/settings.html
froide/account/templates/account/settings_base.html

froide/foirequest/templates/foirequest/request.html
froide/foirequest/templates/foirequest/body/actions/send_message.html
froide/foirequest/views/make_request.py
froide/foirequest/views/message.py
froide/foirequest/utils.py
froide/foirequest/forms/message.py
froide/foirequest/services.py

froide/proof/views.py
froide/proof/tests.py
froide/proof/urls.py
froide/proof/forms.py
froide/proof/templates/proof/proof_settings.html
froide/proof/templates/proof/widget.html
froide/proof/widgets.py
froide/proof/templates/proof/proof_message.html
froide/proof/apps.py
froide/proof/templatetags/proofupload.py
froide/proof/migrations/0001_initial.py
froide/proof/models.py

locale/de/LC_MESSAGES/django.po

This begs the larger question of should some parts of the new Froide not be include in UIPA? There are several new things besides proof such as campaign, geo location, etc.