From 22a062f6ab9985e9af8f7e80b66dd7a20dc5ab97 Mon Sep 17 00:00:00 2001 From: johnyu95 Date: Mon, 9 Dec 2019 17:28:59 -0500 Subject: [PATCH 1/7] Added agency instructions for OATH --- data/agencies.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/agencies.json b/data/agencies.json index 18e82e206..d2ce1baa8 100644 --- a/data/agencies.json +++ b/data/agencies.json @@ -1085,7 +1085,7 @@ }, "monitor_agency_requests": [], "specific_request_instructions": { - "text": "" + "text": "

FOIL requests often take 25 days or more to process. You might not have to wait that long. Visit the Data / Transparency page, https://www1.nyc.gov/site/oath/about/data-transparency.page , or use the links below to view the data and informational resources OATH has made available to the public. You will also find information on how you can make a request for records directly with the Clerk’s Office rather than having to file a formal FOIL request. The Clerk’s Office can quickly provide respondents or their representatives with information regarding summonses, bills, affidavits, hearing recordings, and more.

Obtain Records

Summonses

To get a copy of a summons, go to OATH’s Online Summons Finder, http://a820-ecbticketfinder.nyc.gov/searchHome.action . Note: Summons Finder currently does not have summonses issued by DCA, TLC or certain summonses issued by the Department of Health and Mental Hygiene, such as restaurant summonses.

Bills or Invoices

To get a bill or invoice of outstanding penalties, contact the Clerk’s Office using this online form, https://www1.nyc.gov/site/oath/clerks-office/email-the-clerks-office.page , and select Penalty/Payment Question on the “Message Topic” drop down menu at the top of the form. If your request is related to renewal of a license, you must appear at an OATH Hearings Center, https://www1.nyc.gov/site/oath/hearings/hearing-in-person.page .

Trials Division Decisions or Hearings Division Appeals Decisions

Search for Trials Division decisions or Hearings Division appeals decisions in the New York Law School CityAdmin Online Library, https://www.nyls.edu/cityadmin/ . If searching for Hearings Division appeals decisions, be sure to select the boxes for OATH Hearings and ECB Appeals before you submit your search to get the best search results. If you are searching using a summons number and your search is unsuccessful, enter the summons number again but with a space between every third digit (ex. 123 456 789X).

Additional Information about Summonses

The OATH Hearings Division Case Status dataset, https://data.cityofnewyork.us/City-Government/OATH-Hearings-Division-Case-Status/jz4z-kudi , has information about the infraction charged, decision outcome, penalties imposed, payments, and other status information relating to a case. The summonses listed in this dataset are issued and filed at the OATH Hearings Division by City enforcement agencies. The dataset can be searched in numerous and various ways including but not limited to searches by name, address and summons number. The dataset can also be filtered by creating various search parameters and all data can exported into excel spreadsheets or other types of electronic files.

If you are the Respondent or are authorized by the Respondent:

Hearings Division Case Records

If you are the person named as the Respondent on a summons or authorized by the Respondent, to get your Hearings Division case records (other than summonses), contact the Clerk’s Office using this online form, https://www1.nyc.gov/site/oath/about/records-request.page , and select Request Documents on the “Message Topic” drop down list at the top of the form.

Audio Recordings

If you are the person named as the Respondent on a summons or authorized by the Respondent, to get an audio recording of a hearing when you are not appealing your case, contact the Clerk’s Office using this online form, https://www1.nyc.gov/site/oath/about/records-request.page , and select Request Audio Recordings on the “Message Topic” drop down menu at the top of the form.

To get an audio recording of a hearing because you are filing an appeal, use the One-Click Appeals Form, https://www1.nyc.gov/site/oath/hearings/one-click-appeals-form.page , and select Respondent’s Extension Request and option to request audio of hearing on the “Request Type” drop down menu at the top of the form.

If you are not the Respondent or you are not authorized by the Respondent:

If you need to request documents or audio recordings and you are not the Respondent or authorized by the Respondent to make the request, you must file your request under the Freedom of Information Law (FOIL). Learn how to file a FOIL Request, https://www1.nyc.gov/site/oath/about/foil-request.page , for records from OATH.

" } }, "acronym": "OATH" From abb8a06942541f98745a2e626f5b38fbb291a2a0 Mon Sep 17 00:00:00 2001 From: munifnagi Date: Mon, 13 Jan 2020 15:16:25 -0500 Subject: [PATCH 2/7] Updates to documentation --- docs/saml_nycid_setup.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/saml_nycid_setup.md b/docs/saml_nycid_setup.md index 9dd958c73..84b1f72ab 100644 --- a/docs/saml_nycid_setup.md +++ b/docs/saml_nycid_setup.md @@ -56,6 +56,13 @@ Your should fill out the fields in the following way: 3. Store your service account name in your .env (`SAML_NYC_ID_USERNAME`) 4. Store you servie account password in your .env (`SAML_NYC_ID_PASSWORD`) + +# Create self-signed certs +1. Create self-signed certs using the command: + ```markdown + openssl req -new -x509 -days 3652 -nodes -out saml.crt -keyout saml.key + ``` + # Setup your NYC.ID Service Provider 1. Login to the NYC.ID Console 2. Create a new SAML Service Provider @@ -78,9 +85,9 @@ DORIS uses a lightly customized [OneLogin python3-saml](https://github.com/onelo 2. `cp /vagrant/instance/saml/advanced_settings.json.example /vagrant/instance/saml/advanced_settings.json` ### Edit `/vagrant/instance/saml/settings.json` -1. Copy the contents of `/vagrant/instance/saml/certs/sp.key` into `sp['privateKey']` +1. Copy the contents of `/vagrant/instance/saml/certs/saml.key` into `sp['privateKey']` Note: You may need to open the file in another editor and remove all linebreaks. -2. Copy the contents of `/vagrant/instance/saml/certs/sp.cert` into `sp['x509cert']` +2. Copy the contents of `/vagrant/instance/saml/certs/saml.cert` into `sp['x509cert']` Note: You may need to open the file in another editor and remove all linebreaks. 3. Replace all occurrences of `` with the URL you added to the DNS server earlier. 4. Open the IdP metadata and copy the `x509cert` from the metadata into `idp[x509cert]`. From cb17551ec1f31c1dd1365ed572d74a6ec78d0552 Mon Sep 17 00:00:00 2001 From: munifnagi Date: Mon, 13 Jan 2020 16:19:20 -0500 Subject: [PATCH 3/7] Updates to documentation --- docs/saml_nycid_setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/saml_nycid_setup.md b/docs/saml_nycid_setup.md index 84b1f72ab..ceaf860ea 100644 --- a/docs/saml_nycid_setup.md +++ b/docs/saml_nycid_setup.md @@ -57,7 +57,7 @@ Your should fill out the fields in the following way: 4. Store you servie account password in your .env (`SAML_NYC_ID_PASSWORD`) -# Create self-signed certs +# Create Self-Signed Certs 1. Create self-signed certs using the command: ```markdown openssl req -new -x509 -days 3652 -nodes -out saml.crt -keyout saml.key From b58ed84b0ced1574dbe70947385784da0c508ceb Mon Sep 17 00:00:00 2001 From: johnyu95 Date: Tue, 14 Jan 2020 16:07:37 -0500 Subject: [PATCH 4/7] Added new custom form option for FDNY --- data/custom_request_forms.json | 114 ++++++++++++++++++++++++++++++++- 1 file changed, 112 insertions(+), 2 deletions(-) diff --git a/data/custom_request_forms.json b/data/custom_request_forms.json index 608e80d03..9bdf786bd 100644 --- a/data/custom_request_forms.json +++ b/data/custom_request_forms.json @@ -143,7 +143,7 @@ "Incident Report Number": { "type": "input", "name": "fdny-form1-field8", - "required": true, + "required": false, "error_message": " Error, Incident Report Number is required. Please provide the number." } }, @@ -157,7 +157,7 @@ "Outdoors", "Non-Fire Emergency" ], - "help_text": "If transportation if selected, please provide the type, make, and plate in the description below. For Building, Outdoors, and Non-Fire Emergency please provide a short description below.", + "help_text": "If transportation is selected, please provide the model, make, and license plate in the description below. For Building, Outdoors, and Non-Fire Emergency please provide a short description below.", "required": false } }, @@ -599,6 +599,116 @@ "category": "1", "minimum_required": "0" }, + { + "agency_ein": "0057", + "form_name": "Fire Marshal Face Sheet (Cause of Fire ONLY)", + "form_description": "", + "field_definitions": [ + { + "Submission Method": { + "type": "radio", + "name": "fdny-form8-field1", + "values": [ + "In Person/At FDNY", + "Online/At Home" + ], + "help_text": "Please select an option.", + "required": true, + "error_message": " Error, Submission Method is required. Please select an option." + } + }, + { + "Incident Address": { + "type": "input", + "name": "fdny-form8-field2", + "help_text": "Please include the street name and house number.", + "required": true, + "error_message": " Error, Incident Address is required. Please provide an address." + } + }, + { + "Floor(s)": { + "type": "input", + "name": "fdny-form8-field3", + "required": false + } + }, + { + "Apt(s)": { + "type": "input", + "name": "fdny-form8-field4", + "required": false + } + }, + { + "Borough": { + "type": "select_dropdown", + "name": "fdny-form8-field5", + "values": [ + "Brooklyn", + "Bronx", + "Manhattan", + "Queens", + "Staten Island" + ], + "required": true, + "error_message": " Error, Borough is required. Please select a borough." + } + }, + { + "Box #": { + "type": "input", + "name": "fdny-form8-field6", + "required": false + } + }, + { + "Incident Date": { + "type": "date", + "name": "fdny-form8-field7", + "future_date_invalid": true, + "required": true, + "error_message": " Error, Incident Date is required. Please select a date." + } + }, + { + "Incident Report Number": { + "type": "input", + "name": "fdny-form8-field8", + "required": false, + "error_message": " Error, Incident Report Number is required. Please provide the number." + } + }, + { + "Incident Type": { + "type": "radio", + "name": "fdny-form8-field9", + "values": [ + "Building", + "Transportation", + "Outdoors", + "Non-Fire Emergency" + ], + "help_text": "If transportation is selected, please provide the model, make, and license plate in the description below. For Building, Outdoors, and Non-Fire Emergency please provide a short description below.", + "required": false + } + }, + { + "Description of Incident": { + "type": "textarea", + "name": "fdny-form8-field8", + "required": true, + "error_message": " Error, Description of Incident is required. Please provide a short description.", + "max_length": 5000, + "character_counter": true, + "help_text": "Please provide a short description of the incident. If Transportation was selected above, please make sure to provide the Type, Make, and Plate of the vehicle." + } + } + ], + "repeatable": "1", + "category": "1", + "minimum_required": "0" + }, { "agency_ein": "0056", "form_name": "Complaint Report", From 06f4ab473be19dff6e8f8e926a698a013ec0afb0 Mon Sep 17 00:00:00 2001 From: johnyu95 Date: Tue, 4 Feb 2020 14:33:57 -0500 Subject: [PATCH 5/7] Changed homepage text for Local Public Authorities and Agencies not using OpenRecords --- app/templates/main/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/main/home.html b/app/templates/main/home.html index c359084d8..28dedb9fc 100644 --- a/app/templates/main/home.html +++ b/app/templates/main/home.html @@ -46,7 +46,7 @@

Welcome to NYC Government’s home for filing Freed