-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #536 from forumone/uat-forumone
Added custom FOIA Wizard module
- Loading branch information
Showing
10 changed files
with
530 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,187 @@ | ||
intro_slide: | ||
value: "<h1>Hello,</h1>\r\n\r\n<p>The government hosts a vast amount of information, with records spread across many different agencies, and even across different offices within agencies.</p>\r\n\r\n<p>To help you figure out which federal agency might have the information you seek, we've developed this tool. If you're looking for non-federal records, such as from your local police department, we suggest you contact the appropriate state or local authorities.</p>\r\n\r\n<p>We recommend giving yourself at least 5 minutes to explore this tool</p>\r\n" | ||
format: rich_text | ||
query_slide: | ||
value: "<h1>Let's dive in...</h1>\r\n\r\n<p>What information are you looking for?</p>\r\n" | ||
format: rich_text | ||
messages: | ||
m1: | ||
value: "<p>If you are seeking records on yourself you will be required to provide a certification of your identity. This certification is required in order to protect your privacy and to ensure that private information about you is not disclosed inappropriately to someone else.</p>\r\n" | ||
format: rich_text | ||
m2: | ||
value: "<p>Generally, when requesting information about another person you will receive greater access by submitting authorization from that individual permitting the disclosure of the records to you, or by submitting proof that the individual is deceased.</p>\r\n" | ||
format: rich_text | ||
m3: | ||
value: "<p>A-files may contain records contributed by multiple federal agencies such as ICE, CBP, and USCIS. However, USCIS is the custodian of A-files. To request all records contained in your A-file, submit a FOIA request to USCIS. [link]</p>\r\n" | ||
format: rich_text | ||
m4: | ||
value: "<p><a href=\"https://myaccount.uscis.gov/\">Submit a FOIA request to USCIS</a></p>\r\n" | ||
format: rich_text | ||
m5: | ||
value: "<ul>\r\n\t<li>Submit a FOIA request to USCIS</li>\r\n\t<li>For information about replacing or requesting a \"Certified True Copy\" of your naturalization certificate, please visit the USCIS website [link].</li>\r\n</ul>\r\n" | ||
format: rich_text | ||
m6: | ||
value: "<p>Submit a FOIA request to CBP.</p>\r\n" | ||
format: rich_text | ||
m7: | ||
value: "<p>You can submit a FOIA request to ICE. Please note that most ICE records are also in your immigration file at USCIS. For your full immigration file, submit a request to UCIS.</p>\r\n" | ||
format: rich_text | ||
m8: | ||
value: "<ul>\r\n\t<li>First visit the I-94 website <a href=\"https://i94.cbp.dhs.gov\">https://i94.cbp.dhs.gov</a> to locate travel history and/or I-94 records.</li>\r\n\t<li>If none are located, then submit a FOIA request to CBP.</li>\r\n</ul>\r\n" | ||
format: rich_text | ||
m9: | ||
value: "<p>Submit a FOIA request to TSA.</p>\r\n" | ||
format: rich_text | ||
m10: | ||
value: "<p>Submit a FOIA request to CBP.</p>\r\n" | ||
format: rich_text | ||
m11: | ||
value: "<p>Submit FOIA request to Department of State.</p>\r\n" | ||
format: rich_text | ||
m12: | ||
value: "<p>Submit FOIA request to Department of State.</p>\r\n" | ||
format: rich_text | ||
m13: | ||
value: "<p>Request reconsideration via the Trusted Traveler Program application website.</p>\r\n" | ||
format: rich_text | ||
m14: | ||
value: "<p>For information related to the TSA Pre-Check Program visit the TSA Pre-Check Website.</p>\r\n" | ||
format: rich_text | ||
m15: | ||
value: "<ul>\r\n\t<li>If you are a party to a proceeding or have a legal relationship with a party to a proceeding, you may file a “Request for ROP” using the Executive Office of Immigration Review’s Immigration Court Online Resource.</li>\r\n\t<li>If you are not directly associated with a case, you may submit a FOIA request to EOIR.</li>\r\n</ul>\r\n" | ||
format: rich_text | ||
m16: | ||
value: "<p>Obtain Routine Access to IRS Records without the need to file a FOIA request.</p>\r\n" | ||
format: rich_text | ||
m17: | ||
value: "<p>Obtain Routine Access to IRS Records without the need to file a FOIA request.</p>\r\n" | ||
format: rich_text | ||
m18: | ||
value: "<ul>\r\n\t<li>Visit the FOIA Library at IRS.gov to see if records are available online.</li>\r\n\t<li>Visit the Routine Access to IRS Records designed to make access quick and easy for many types of IRS records frequently requested.</li>\r\n\t<li>If the records you are seeking are not found in the FOIA Library, submit a FOIA request to the IRS.</li>\r\n</ul>\r\n" | ||
format: rich_text | ||
m19: | ||
value: "<ul>\r\n\t<li>Contact your local field office. Please use the field office locator to find the office that services your zip code.</li>\r\n\t<li>If you are seeking your earnings records, please follow the instructions to complete Form SSA-7050-F4 available at: <a href=\"https://www.ssa.gov/forms/ssa-7050.pdf\">https://www.ssa.gov/forms/ssa-7050.pdf</a> and mail it to the address on the form along with the applicable fee and other evidentiary documents, as required.</li>\r\n</ul>\r\n\r\n<p>The following agency may also have the records you seek:<br />\r\nSSA</p>\r\n" | ||
format: rich_text | ||
m20: | ||
value: "<p>Visit the Social Security Administration website for how to request this information.</p>\r\n" | ||
format: rich_text | ||
m21: | ||
value: "<p>Contact your local field office. Please use the field office locator to find the office that services your zip code.</p>\r\n" | ||
format: rich_text | ||
m22: | ||
value: "<p>If you are seeking a living or deceased individual’s earnings records, please follow the instructions to complete Form SSA-7050-F4 available at: <a href=\"https://www.ssa.gov/forms/ssa-7050.pdf\">https://www.ssa.gov/forms/ssa-7050.pdf</a> and mail it to the address on the form along with the applicable fee and other evidentiary documents, as required.</p>\r\n" | ||
format: rich_text | ||
m23: | ||
value: "<p>If you are seeking medical records from the Department of Veterans Affairs (VA), you may be able to access them through VA Blue Button.</p>\r\n\r\n<p>You may also submit a FOIA request for medical records to the VA Medical Center where you received medical treatment here: How To Get Your Medical Records From Your VA Health Facility</p>\r\n\r\n<p>Medical records from your time in the military can be requested using the eVetRecs online request form. Alternatively, you may submit Standard Form 180.</p>\r\n" | ||
format: rich_text | ||
m24: | ||
value: "<p>Contact the Military Treatment Facility where last seen or the Reserve Component of the appropriate branch of service. A searchable list of military treatment facilities can be found on DHA’s website.<br />\r\n<br />\r\nTricare participant medical records can be requested here.</p>\r\n" | ||
format: rich_text | ||
m25: | ||
value: "<p>Submit a FOIA request to CMS.</p>\r\n" | ||
format: rich_text | ||
m26: | ||
value: "<p>Submit a FOIA request to IHS.</p>\r\n" | ||
format: rich_text | ||
m27: | ||
value: "<p>You may submit a written request for medical records to the Release of Information Office of the VA Medical Center where the individual received medical treatment. Locations of VA Medical Centers are here: <a href=\"https://www.va.gov/find-locations\">https://www.va.gov/find-locations</a></p>\r\n\r\n<p>Medical records from the veteran’s time in the military can be requested using the eVetRecs online request form. Alternatively, you may submit Standard Form 180.</p>\r\n" | ||
format: rich_text | ||
m28: | ||
value: "<p>Contact the Military Treatment Facility where last seen or the Reserve Component of the appropriate branch of service. A searchable list of military treatment facilities can be found on DHA’s website.</p>\r\n\r\n<p>Tricare participant medical records can be requested here</p>\r\n" | ||
format: rich_text | ||
m29: | ||
value: "<p>Submit a FOIA request to CMS.</p>\r\n" | ||
format: rich_text | ||
m30: | ||
value: "<p>Submit a FOIA request to IHS.</p>\r\n" | ||
format: rich_text | ||
m31: | ||
value: "<p>Contact your agency employer for your own personnel or retirement records.</p>\r\n" | ||
format: rich_text | ||
m32: | ||
value: "<p>If you are a former employee, visit the National Personnel Records Center website for information on submitting a request.</p>\r\n" | ||
format: rich_text | ||
m33: | ||
value: "<p>You can request personnel or retirement service history records for current federal employees, from their agency employer.</p>\r\n\r\n<p>To request the records for former or retired employees, visit the National Personnel Records Center website for information on submitting a request.</p>\r\n" | ||
format: rich_text | ||
m34: | ||
value: "<ul>\r\n\t<li>For additional information about requesting background investigation records, visit the Defense Counterintelligence and Security Agency website or submit a FOIA request to the Defense Counterintelligence and Security Agency.</li>\r\n\t<li>For additional information about U.S. Department of State background investigation records, visit the Bureau of Diplomatic Security website or submit a FOIA request to the Department of State</li>\r\n\t<li>For additional information about Federal Bureau of Investigation (FBI) background investigation records, visit the FBI’s website or submit a FOIA request to the FBI.</li>\r\n</ul>\r\n" | ||
format: rich_text | ||
m35: | ||
value: "<p>Submit a FOIA request to the agency where the application was made or the examination was taken.</p>\r\n\r\n<p><a href=\"/agency-search.html\">Agency Search</a></p>\r\n" | ||
format: rich_text | ||
m36: | ||
value: "<p>The Servicemembers Civil Relief Act website [link] allows users to verify the active duty status of Active Duty Reserver and National Guard members for the purpose of postponing or suspending certain civil obligations.</p>\r\n" | ||
format: rich_text | ||
m37: | ||
value: "<p>To request your own military personnel records via the specific service branch’s Human Resources portal</p>\r\n\r\n<ul>\r\n\t<li>Army: https://www.hrcapps.army.mil/portal/</li>\r\n\t<li>Navy: https://www.mynavyhr.navy.mil/Career-Management/Records-Management/Military-Personnel-</li>\r\n\t<li>Air Force: https://www.afpc.af.mil/career-management/Military-Personnel-Records/</li>\r\n\t<li>Marines: https://www.hqmc.marines.mil/Agencies/Office-of-Legislative-Affairs/Congressional-Correspondence-Section/Records-Request/x</li>\r\n\t<li>Coast Guard: https://www.dcms.uscg.mil/Our-Organization/Assistant-Commandant-for-Human-Resources-CG-1/Personnel-Service-Center-PSC/BOPS/PSC-BOPS-C/CGMHRR/</li>\r\n\t<li>For National Guard records contact the Adjutant General of the state in which the member served: https://www.nationalguard.mil/Resources/State-Websites/</li>\r\n</ul>\r\n" | ||
format: rich_text | ||
m38: | ||
value: "<p>Select specific branch of the military to start a FOIA request</p>\r\n\r\n<ul>\r\n\t<li>DOD-Air ForceDOD FOIA.gov page</li>\r\n\t<li>DOD-Army FOIA.gov page</li>\r\n\t<li>DOD-Navy FOIA.gov page</li>\r\n\t<li>DOD-USMC FOIA.gov page</li>\r\n\t<li>DHS-USCG FOIA.gov page</li>\r\n\t<li>For National Guard records contact the Adjutant General of the state in which the member served: https://www.nationalguard.mil/Resources/State-Websites/</li>\r\n</ul>\r\n" | ||
format: rich_text | ||
m39: | ||
value: "<p>OMPFs can be requested using the eVetRecs online request form. Alternatively, you may submit Standard Form 180.</p>\r\n" | ||
format: rich_text | ||
m40: | ||
value: "<p>DD Form 214 Report of Separation can be requested using the eVetRecs online request form. Alternatively, you may submit Standard From 180.</p>\r\n" | ||
format: rich_text | ||
m41: | ||
value: "<ul>\r\n\t<li>MilConnect</li>\r\n\t<li>The following agencies may also have the records you seek:\r\n\t<ul>\r\n\t\t<li>VA/VBA FOIA.gov page</li>\r\n\t</ul>\r\n\t</li>\r\n</ul>\r\n" | ||
format: rich_text | ||
m42: | ||
value: "<p>For National Guard records contact the Adjutant General of the state in which the member served:</p>\r\n\r\n<p>https://www.nationalguard.mil/Resources/State-Websites/</p>\r\n" | ||
format: rich_text | ||
m43: | ||
value: "<p>If you are a next-of-kin of a deceased veteran, you may request records using the eVetRecs online request form. For all others, your request is best made using Standard Form 180. Visit the National Personnel Records Center website for additional information about locating former servicemembers’ records.</p>\r\n\r\n<p>The following agencies may also have the records you seek:</p>\r\n\r\n<p>NARA-NRPC</p>\r\n" | ||
format: rich_text | ||
m44: | ||
value: "<p>If you are a next-of-kin of a deceased veteran, you may request records using the eVetRecs online request form. For all others, your request is best made using Standard Form 180. Visit the National Personnel Records Center website for additional information about locating former servicemembers’ records.</p>\r\n\r\n<p>The following agencies may also have the records you seek:</p>\r\n\r\n<p>NARA-NRPC</p>\r\n" | ||
format: rich_text | ||
m45: | ||
value: "<ul>\r\n\t<li>MilConnect</li>\r\n\t<li>The following agencies may also have the records you seek:<br />\r\n\tVA/VBA FOIA.gov page.</li>\r\n</ul>\r\n" | ||
format: rich_text | ||
m46: | ||
value: "<p>For National Guard records contact the Adjutant General of the state in which the member served:</p>\r\n\r\n<p>https://www.nationalguard.mil/Resources/State-Websites/</p>\r\n" | ||
format: rich_text | ||
m47: | ||
value: "<p>Message 47</p>\r\n" | ||
format: rich_text | ||
m48: | ||
value: "<p>Message 48</p>\r\n" | ||
format: rich_text | ||
m49: | ||
value: "<p>Message 49</p>\r\n" | ||
format: rich_text | ||
m50: | ||
value: "<p>Message 50</p>\r\n" | ||
format: rich_text | ||
m51: | ||
value: "<p>Message 51</p>\r\n" | ||
format: rich_text | ||
m52: | ||
value: "<p>Message 52</p>\r\n" | ||
format: rich_text | ||
m53: | ||
value: "<p>Message 53</p>\r\n" | ||
format: rich_text | ||
m54: | ||
value: "<p>Message 54</p>\r\n" | ||
format: rich_text | ||
m55: | ||
value: "<p>Message 55</p>\r\n" | ||
format: rich_text | ||
m56: | ||
value: "<p>Message 56</p>\r\n" | ||
format: rich_text | ||
m57: | ||
value: "<p>Message 57</p>\r\n" | ||
format: rich_text | ||
m58: | ||
value: "<p>Message 58</p>\r\n" | ||
format: rich_text | ||
m59: | ||
value: "<p>Message 59</p>\r\n" | ||
format: rich_text | ||
m60: | ||
value: "<p>Message 60</p>\r\n" | ||
format: rich_text |
67 changes: 67 additions & 0 deletions
67
docroot/modules/custom/foia_wizard/config/install/foia_wizard.settings.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
intro_slide: | ||
value: "<h1>Hello,</h1>\r\n\r\n<p>The government hosts a vast amount of information, with records spread across many different agencies, and even across different offices within agencies.</p>\r\n\r\n<p>To help you figure out which federal agency might have the information you seek, we've developed this tool. If you're looking for non-federal records, such as from your local police department, we suggest contact the appropriate state or local authorities.</p>\r\n\r\n<p>We recommend giving yourself at least 5 minutes to explore this tool</p>\r\n" | ||
format: rich_text | ||
query_slide: | ||
value: "<h1>Let's dive in...</h1>\r\n\r\n<p>What information are you looking for?</p>\r\n" | ||
format: rich_text | ||
messages: | ||
m1: | ||
value: "<p>Message 1</p>\r\n" | ||
format: rich_text | ||
m2: | ||
value: "<p>Message 2</p>\r\n" | ||
format: rich_text | ||
m3: | ||
value: "<p>Message 3</p>\r\n" | ||
format: rich_text | ||
m4: | ||
value: "<p>Message 4</p>\r\n" | ||
format: rich_text | ||
m5: | ||
value: "<p>Message 5</p>\r\n" | ||
format: rich_text | ||
m6: | ||
value: "<p>Message 6</p>\r\n" | ||
format: rich_text | ||
m7: | ||
value: "<p>Message 7</p>\r\n" | ||
format: rich_text | ||
m8: | ||
value: "<p>Message 8</p>\r\n" | ||
format: rich_text | ||
m9: | ||
value: "<p>Message 9</p>\r\n" | ||
format: rich_text | ||
m10: | ||
value: "<p>Message 10</p>\r\n" | ||
format: rich_text | ||
m11: | ||
value: "<p>Message 11</p>\r\n" | ||
format: rich_text | ||
m12: | ||
value: "<p>Message 12</p>\r\n" | ||
format: rich_text | ||
m13: | ||
value: "<p>Message 13</p>\r\n" | ||
format: rich_text | ||
m14: | ||
value: "<p>Message 14</p>\r\n" | ||
format: rich_text | ||
m15: | ||
value: "<p>Message 15</p>\r\n" | ||
format: rich_text | ||
m16: | ||
value: "<p>Message 16</p>\r\n" | ||
format: rich_text | ||
m17: | ||
value: "<p>Message 17</p>\r\n" | ||
format: rich_text | ||
m18: | ||
value: "<p>Message 18</p>\r\n" | ||
format: rich_text | ||
m19: | ||
value: "<p>Message 19</p>\r\n" | ||
format: rich_text | ||
m20: | ||
value: "<p>Message 20</p>\r\n" | ||
format: rich_text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: FOIA Request Wizard | ||
type: module | ||
description: Configurations for the FOIA Request Wizard tool. | ||
package: FOIA | ||
core: 8.x | ||
core_version_requirement: ^8 || ^9 | ||
dependencies: | ||
- drupal:rest |
6 changes: 6 additions & 0 deletions
6
docroot/modules/custom/foia_wizard/foia_wizard.links.menu.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
foia_wizard.settings_form: | ||
title: FOIA Request Wizard | ||
description: Configure FOIA Request Wizard. | ||
parent: system.admin_config_system | ||
route_name: foia_wizard.settings_form | ||
weight: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Primary module hooks for FOIA Request Wizard module. | ||
* | ||
* @DCG | ||
* This file is no longer required in Drupal 8. | ||
* @see https://www.drupal.org/node/2217931 | ||
*/ | ||
|
||
define('FOIA_WIZARD_MCOUNT', 60); |
4 changes: 4 additions & 0 deletions
4
docroot/modules/custom/foia_wizard/foia_wizard.permissions.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
administer foia_wizard configuration: | ||
title: 'Administer foia_wizard configuration' | ||
description: 'Allow configuration of the FOIA Wizard tool.' | ||
restrict access: true |
15 changes: 15 additions & 0 deletions
15
docroot/modules/custom/foia_wizard/foia_wizard.routing.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
foia_wizard.settings_form: | ||
path: '/admin/config/system/foia-wizard' | ||
defaults: | ||
_title: 'FOIA Request Wizard settings' | ||
_form: 'Drupal\foia_wizard\Form\SettingsForm' | ||
requirements: | ||
_permission: 'administer foia_wizard configuration' | ||
|
||
foia_wizard.api: | ||
path: '/api/foia_wizard' | ||
defaults: | ||
_controller: '\Drupal\foia_wizard\Controller\FoiaWizardController::wizard' | ||
_format: 'json' | ||
requirements: | ||
_permission: 'access content' |
Oops, something went wrong.