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

OpenRecords v3.5 - Develop #559

Merged
merged 61 commits into from
Jan 20, 2023
Merged

OpenRecords v3.5 - Develop #559

merged 61 commits into from
Jan 20, 2023

Conversation

johnyu95
Copy link
Contributor

No description provided.

johnyu95 and others added 30 commits April 2, 2020 15:59
Adds new denial reason for DOB

Denied - No Records Available

Your request under the Freedom of Information Law (FOIL) is being closed. Your request is being fulfilled in part and denied in part. The Department is releasing a copy of the records we located. All other requested records were not found.
…eason-dob

Add New Denial - No Records Available reason
…etails-reasons

Added need_additional_details column to Reasons table
…rability-fix

Fixed injection vulnerability in new request page
Fix XSS Vulnerability on Responses Row and Modal
…e-fix"

This reverts commit 1c798cf, reversing
changes made to db6d6b4.
Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

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

There are accessibility issues in these changes.


{{ edit_requester_form.title.label }}
{{ edit_requester_form.title(id='inputTitle', class='form-control', maxlength="64",
readonly=is_public_requester) }}
<input name="title" id="inputTitle" class="form-control" maxlength="64" {% if is_requester_information_readonly %}readonly{% endif %} {% if request.requester.title %}value="{{ request.requester.title | safe }}"{% endif %}>
Copy link

Choose a reason for hiding this comment

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

Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.

<p id="user-title-character-count" class="character-counter">64 characters remaining</p>

{{ edit_requester_form.organization.label }}
{{ edit_requester_form.organization(id='inputOrganization', class='form-control', maxlength="128",
readonly=is_public_requester) }}
<input name="organization" id="inputOrganization" class="form-control" maxlength="128" {% if is_requester_information_readonly %}readonly{% endif %} {% if request.requester.organization %}value="{{ request.requester.organization | safe }}"{% endif %}>
Copy link

Choose a reason for hiding this comment

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

Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.


{{ edit_requester_form.address_one.label }}
{{ edit_requester_form.address_one(id='inputAddressOne', class='form-control',
readonly=is_public_requester) }}
<input name="address_one" id="inputAddressOne" class="form-control" {% if is_requester_information_readonly %}readonly{% endif %} {% if request.requester.mailing_address.get("address_one") is not none %}value="{{ request.requester.mailing_address.get("address_one") | safe }}"{% endif %}>
Copy link

Choose a reason for hiding this comment

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

Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.


{{ edit_requester_form.address_two.label }}
{{ edit_requester_form.address_two(id='inputAddressTwo', class='form-control',
readonly=is_public_requester) }}
<input name="address_two" id="inputAddressTwo" class="form-control" {% if is_requester_information_readonly %}readonly{% endif %} {% if request.requester.mailing_address.get("address_two") is not none %}value="{{ request.requester.mailing_address.get("address_two") | safe }}"{% endif %}>
Copy link

Choose a reason for hiding this comment

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

Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.


{{ edit_requester_form.city.label }}
{{ edit_requester_form.city(id='inputCity', class='form-control', readonly=is_public_requester) }}
<input name="city" id="inputCity" class="form-control" {% if is_requester_information_readonly %}readonly{% endif %} {% if request.requester.mailing_address.get("city") is not none %}value="{{ request.requester.mailing_address.get("city") | safe }}"{% endif %}>
Copy link

Choose a reason for hiding this comment

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

Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.

@lgtm-com
Copy link

lgtm-com bot commented Nov 23, 2022

This pull request introduces 10 alerts when merging f8271a1 into 800a9cd - view on LGTM.com

new alerts:

  • 6 for Unused import
  • 2 for Wrong name for an argument in a call
  • 1 for Unused local variable
  • 1 for Potentially unsafe external link

Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. Please enable GitHub code scanning, which uses the same CodeQL engine ⚙️ that powers LGTM.com. For more information, please check out our post on the GitHub blog.

@lgtm-com
Copy link

lgtm-com bot commented Nov 30, 2022

This pull request introduces 10 alerts when merging f54420a into 800a9cd - view on LGTM.com

new alerts:

  • 6 for Unused import
  • 2 for Wrong name for an argument in a call
  • 1 for Unused local variable
  • 1 for Potentially unsafe external link

Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. Please enable GitHub code scanning, which uses the same CodeQL engine ⚙️ that powers LGTM.com. For more information, please check out our post on the GitHub blog.

Copy link
Contributor

@zgary zgary left a comment

Choose a reason for hiding this comment

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

Minor changes requested.

app/request/views.py Outdated Show resolved Hide resolved
app/request/views.py Outdated Show resolved Hide resolved
app/response/views.py Outdated Show resolved Hide resolved
Copy link
Contributor

@zgary zgary left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@zgary zgary merged commit b8f97df into develop Jan 20, 2023
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.

3 participants