Skip to content

Commit

Permalink
Early 2018 SurvLoop Upgrades
Browse files Browse the repository at this point in the history
This commit is largely just keeping OpenPolice updated with recent
SurvLoop upgrades. Better release with updated database seeders still
coming soon.
  • Loading branch information
Morgan Lesko committed Mar 26, 2018
1 parent b2d8fb6 commit 6a6ddc3
Show file tree
Hide file tree
Showing 205 changed files with 78 additions and 110 deletions.
30 changes: 12 additions & 18 deletions LICENSE 100644 → 100755
@@ -1,22 +1,16 @@
The MIT License (MIT)
GNU General Public License v3.0 (GPLv3.0)

Copyright (c) 2016 Morgan Lesko
Copyright (c) 2016-2018 Morgan Lesko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
13 changes: 10 additions & 3 deletions README.md 100644 → 100755
Expand Up @@ -3,7 +3,7 @@

[![Laravel](https://img.shields.io/badge/Laravel-5.3-orange.svg?style=flat-square)](http://laravel.com)
[![SurvLoop](https://img.shields.io/badge/SurvLoop-0.0-orange.svg?style=flat-square)](https://github.com/wikiworldorder/survloop)
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://tldrlegal.com/license/mit-license)
[![License](https://img.shields.io/aur/license/yaourt.svg?style=flat-square)](https://www.gnu.org/licenses/gpl.html)

Open Police is an open-source, open data web app empowering citizens to prepare, file, and track reports of police
conduct. The site helps users submit complaints or commendations to appropriate police oversight agencies. By allowing
Expand Down Expand Up @@ -45,9 +45,14 @@ XML included an automatically generated schema, eg.<br />

# <a name="getting-started"></a>Getting Started

Here are instructions if you are new to Laravel, or just want step-by-step instructions on how to install its development environment, Homestead:
<a href="https://OpenPoliceComplaints.org/how-to-install-laravel/" target="_blank">OpenPoliceComplaints.org/how-to-install-laravel/</a>.
Instructions if you are new to Laravel, or just want to install its local development environment, Homestead:
<a href="http://wikiworldorder.org/2016/11/26/coding-with-laravel-installing-homestead-on-a-mac/"
target="_blank">WikiWorldOrder.org/2016/11/26/coding-with-laravel-installing-homestead-on-a-mac/</a>.

Instructions if you are new to Laravel, or just want to install it to an online server:
<a href="http://wikiworldorder.org/2018/03/15/how-to-install-the-laravel-php-framework-on-digital-ocean/"
target="_blank">WikiWorldOrder.org/2018/03/15/how-to-install-the-laravel-php-framework-on-digital-ocean/</a>.

The instructions below include the needed steps to install SurvLoop, as well as the Open Police system.

* Install Laravel's default user authentication, one required package, and SurvLoop:
Expand Down Expand Up @@ -78,6 +83,8 @@ $ nano composer.json
...
"SurvLoop\\": "vendor/wikiworldorder/survloop/src/",
"OpenPolice\\": "vendor/flexyourrights/openpolice/src/",
"MatthiasMullie\\Minify\\": "vendor/matthiasmullie/minify/src/",
"MatthiasMullie\\PathConverter\\": "vendor/matthiasmullie/path-converter/src/",
}
...
},
Expand Down
2 changes: 1 addition & 1 deletion composer.json 100644 → 100755
Expand Up @@ -15,7 +15,7 @@
"branching tree",
"nodes"
],
"license": "MIT",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Morgan Lesko",
Expand Down
36 changes: 24 additions & 12 deletions src/Controllers/OpenPolice.php 100644 → 100755
Expand Up @@ -173,7 +173,7 @@ protected function recordIsEditable($coreTbl, $coreID, $coreRec = [])
return false;
}

protected function getAllPublicCoreIDs($coreTbl = '')
public function getAllPublicCoreIDs($coreTbl = '')
{
if (trim($coreTbl) == '') $coreTbl = $GLOBALS["SL"]->coreTbl;
$this->allPublicCoreIDs = $list = [];
Expand Down Expand Up @@ -354,6 +354,20 @@ protected function checkNodeConditionsCustom($nID, $condition = '')
}
}
return 0;
} elseif ($condition == '#LawyerInvolved') {
if ((isset($this->sessData->dataSets["Complaints"][0]->ComAttorneyHas)
&& in_array(trim($this->sessData->dataSets["Complaints"][0]->ComAttorneyHas), ['Y', '?']))
|| (isset($this->sessData->dataSets["Complaints"][0]->ComAttorneyWant)
&& in_array(trim($this->sessData->dataSets["Complaints"][0]->ComAttorneyWant), ['Y', '?']))) {
return 1;
}
if ((isset($this->sessData->dataSets["Complaints"][0]->ComAnyoneCharged)
&& in_array(trim($this->sessData->dataSets["Complaints"][0]->ComAnyoneCharged), ['Y', '?']))
&& (!isset($this->sessData->dataSets["Complaints"][0]->ComAllChargesResolved)
|| trim($this->sessData->dataSets["Complaints"][0]->ComAllChargesResolved) != 'Y')) {
return 1;
}
return 0;
} elseif ($condition == '#NoSexualAllegation') {
$noSexAlleg = true;
if (isset($this->sessData->dataSets["Allegations"])
Expand Down Expand Up @@ -717,15 +731,12 @@ protected function postNodePublicCustom($nID = -3, $tmpSubTier = [])
}
}
return false;
} elseif ($nID == 16) {
$time = $this->postFormTimeStr($nID);
$this->sessData->currSessData($nID, $tbl, $fld, 'update', (($time === null) ? null
: date("Y-m-d", strtotime($GLOBALS["SL"]->REQ->n15fld)) . ' ' . $time));
return true;
} elseif ($nID == 17) {
} elseif (in_array($nID, [16, 17])) {
$time = $this->postFormTimeStr($nID);
$this->sessData->currSessData($nID, $tbl, $fld, 'update', (($time === null) ? null
: date("Y-m-d", strtotime($GLOBALS["SL"]->REQ->n15fld)) . ' ' . $time));
$date = date("Y-m-d", strtotime($GLOBALS["SL"]->REQ->n15fld));
if ($time === null) $date .= ' 00:00:00';
else $date .= ' ' . $time;
$this->sessData->currSessData($nID, $tbl, $fld, 'update', $date);
return true;
} elseif ($nID == 47) { // Complainant Recorded Incident?
$this->sessData->dataSets["Civilians"][0]->CivCameraRecord = $GLOBALS["SL"]->REQ->input('n47fld');
Expand Down Expand Up @@ -961,7 +972,8 @@ protected function printNodeSessDataOverride($nID = -3, $tmpSubTier = [], $currN
} elseif ($nID == 39) {
if ($currNodeSessionData == '') {
$user = Auth::user();
return [$user->email];
if ($user && isset($user->email)) return [$user->email];
return [''];
}
} elseif ($nID == 576) {
$lnkRow = $this->sessData->sessChildRowFromParent('LinksCivilianVehicles');
Expand All @@ -971,7 +983,7 @@ protected function printNodeSessDataOverride($nID = -3, $tmpSubTier = [], $currN
} elseif ($nID == 671) { // Officers Used Profanity?
$currVals = [];
foreach ($this->sessData->dataSets["Officers"] as $i => $off) {
if ($off->OffUsedProfanity == 'Y') $currVals[] = $off->getKey();
if (isset($off->OffUsedProfanity) && $off->OffUsedProfanity == 'Y') $currVals[] = $off->getKey();
}
return [';' . implode(';', $currVals) . ';'];
} elseif ($nID == 674) { // Officer Used Profanity?
Expand All @@ -987,7 +999,7 @@ protected function printNodeSessDataOverride($nID = -3, $tmpSubTier = [], $currN
if ($civInd >= 0) {
return trim($this->sessData->dataSets["Civilians"][$civInd]->CivUsedProfanity);
}
} elseif ($nID == in_array($nID, [732, 736, 733])) { // Gold Stops & Searches, Multiple Victims
} elseif (in_array($nID, [732, 736, 733])) { // Gold Stops & Searches, Multiple Victims
if (!isset($this->v["firstTimeGoGoldDeets"])) {
$chk = SLNodeSavesPage::where('PageSaveSession', $this->coreID)
->where('PageSaveNode', 484)
Expand Down
93 changes: 22 additions & 71 deletions src/Controllers/OpenPoliceAdmin.php 100644 → 100755
Expand Up @@ -124,78 +124,29 @@ protected function tweakAdmMenu($currPage = '')
{
//echo '<br /><br /><br />tweakAdmMenu(<pre>'; print_r($this->admMenuData["adminNav"]); echo '</pre>';
if (isset($this->v["deptSlug"])) {
$volunteeringSubMenu = [
'javascript:;" id="navBtnContact0',
'<b>Verifying Department</b>',
'<i class="fa fa-eye" aria-hidden="true"></i>',
1,
[
[
'javascript:;" id="navBtnContact',
'Contact Info',
'',
1,
[]
], [
'javascript:;" id="navBtnWeb',
'Web & Complaints',
'',
1,
[]
], [
'javascript:;" id="navBtnIA',
'Internal Affairs',
'',
1,
[]
], [
'javascript:;" id="navBtnOver',
'Civilian Oversight',
'',
1,
[]
], [
'javascript:;" id="navBtnSave',
'<span class="btn btn-lg btn-primary"><i class="fa fa-floppy-o"></i> Save All Changes</span>',
'',
1,
[]
], [
'javascript:;" id="navBtnEdits',
'<span class="gry9">Past Edits:</span>',
'',
1,
[]
], [
'javascript:;" id="navBtnCheck',
'<span class="gry9">Volunteer Checklist</span>',
'',
1,
[]
], [
'javascript:;" id="navBtnPhone',
'<span class="gry9">&nbsp;&nbsp;Sample Phone Script</span>',
'',
1,
[]
], [
'javascript:;" id="navBtnFAQ',
'<span class="gry9">Frequently Asked <i class="fa fa-question"></i>s</span></span>',
'',
1,
[]
]
]
];
if ($this->v["user"]->hasRole('administrator|staff|databaser')) {
$this->admMenuData["adminNav"][1][] = $volunteeringSubMenu;
$this->admMenuData["currNavPos"] = [3, -1, -1, -1];
} else { // is Volunteer
$volunteeringSubMenu[1] .= ' <span class="pull-right"><i class="fa fa-check"></i></span>';
$this->admMenuData["adminNav"][0] = $volunteeringSubMenu;
$this->admMenuData["currNavPos"] = [0, -1, -1, -1];
for ($j = sizeof($this->admMenuData["adminNav"]); $j--; $j > 0) {
$this->admMenuData["adminNav"][$j] = $this->admMenuData["adminNav"][$j-1];
}
$this->admMenuData["adminNav"][0] = $this->admMenuLnk('javascript:;" id="navBtnContact0',
'<b>Verifying Department</b>', '<i class="fa fa-eye" aria-hidden="true"></i>', 1, [
$this->admMenuLnk('javascript:;" id="navBtnContact', 'Contact Info'),
$this->admMenuLnk('javascript:;" id="navBtnWeb', 'Web & Complaints'),
$this->admMenuLnk('javascript:;" id="navBtnIA', 'Internal Affairs'),
$this->admMenuLnk('javascript:;" id="navBtnOver', 'Civilian Oversight'),
$this->admMenuLnk('javascript:;" id="navBtnSave', 'Save All Changes',
'<i class="fa fa-floppy-o"></i>'),
$this->admMenuLnk('javascript:;" id="navBtnEdits',
'<span class="gry9">Past Edits</span>'),
$this->admMenuLnk('javascript:;" id="navBtnCheck',
'<span class="gry9">Volunteer Checklist</span>'),
$this->admMenuLnk('javascript:;" id="navBtnPhone',
'<span class="gry9">&nbsp;&nbsp;Sample Phone Script</span>'),
$this->admMenuLnk('javascript:;" id="navBtnFAQ',
'<span class="gry9">Frequently Asked <i class="fa fa-question"></i>s</span></span>')
]);
//$this->admMenuData["currNavPos"] = [0, -1, -1, -1];
}
/*
if (!$this->v["user"]->hasRole('administrator|staff|databaser')) {
if (isset($this->admMenuData["adminNav"][1]) && isset($this->admMenuData["adminNav"][1][1])) {
if (!isset($this->v["yourUserInfo"]->UserInfoStars)) {
Expand All @@ -206,7 +157,7 @@ protected function tweakAdmMenu($currPage = '')
}
}
}

*/
$this->getAdmMenuLoc($currPage);
return true;
}
Expand Down
Empty file modified src/Controllers/OpenPoliceReport.php 100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions src/Controllers/VolunteerController.php 100644 → 100755
Expand Up @@ -88,10 +88,10 @@ protected function tweakAdmMenu($currPage = '')
]
];
if ($this->v["user"]->hasRole('administrator|staff|databaser')) {
$this->admMenuData["adminNav"][2][3][3] = $volunteeringSubMenu;
//$this->admMenuData["adminNav"][2][3][3] = $volunteeringSubMenu;
} else { // is Volunteer
$volunteeringSubMenu[1] .= ' <span class="pull-right"><i class="fa fa-check"></i></span>';
$this->admMenuData["adminNav"][1] = $volunteeringSubMenu;
//$volunteeringSubMenu[1] .= ' <span class="pull-right"><i class="fa fa-check"></i></span>';
//$this->admMenuData["adminNav"][1] = $volunteeringSubMenu;
}
}
if (!$this->v["user"]->hasRole('administrator|staff|databaser')) {
Expand Down
Empty file modified src/Controllers/VolunteerLeaderboard.php 100644 → 100755
Empty file.
Empty file modified src/Database/2017_09_05_224311_OP_create_tables.php 100644 → 100755
Empty file.
Empty file modified src/Database/OpenPoliceDepartmentSeeder.php 100644 → 100755
Empty file.
Empty file modified src/Database/OpenPoliceSeeder.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPAdminActions.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPAdministrators.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPAllegSilver.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPAllegations.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPArrests.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPBodyParts.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPCharges.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPCivWeapons.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPCivilians.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPComplaintDeptLinks.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPComplaintNotes.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPComplaintOversight.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPComplaints.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPCompliments.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPCustomers.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPDataRequests.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPDepartments.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPEventSequence.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPEvidence.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPEvidenceTime.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPForce.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPForceCivBody.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPForceSubType.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPIncidents.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPInjuries.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPInjuryCare.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksCivilianAllegations.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksCivilianEvents.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksCivilianOrders.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksCivilianVehicles.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksComplaintDept.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksComplaintOversight.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksComplimentDept.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksOfficerAllegations.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksOfficerEvents.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksOfficerOrders.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPLinksOfficerVehicles.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPOffCompliments.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPOfficers.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPOrders.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPOversight.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPPartners.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPPeopleEventLinks.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPPersonContact.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPPhysicalDesc.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPPhysicalDescRace.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPPrivilegeProfiles.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPScenes.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPSearchContra.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPSearchSeize.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPSearches.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPStopReasons.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPStops.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPSurveys.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPVehiclePersons.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPVehicles.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPVisitors.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPzComplaintEmailed.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPzComplaintEmails.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPzComplaintReviews.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPzVolunEditsDepts.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPzVolunEditsOvers.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPzVolunStatDays.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPzVolunTmp.php 100644 → 100755
Empty file.
Empty file modified src/Models/OPzVolunUserInfo.php 100644 → 100755
Empty file.
Empty file modified src/OpenPoliceServiceProvider.php 100644 → 100755
Empty file.
Empty file modified src/Public/Flex_Open_1LineBox_v3-beta.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/Flex_Open_1LineBox_v3.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/Flex_Open_1LineBox_v3.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/Flex_Open_1LineBox_v3_short-beta.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/Flex_Open_1LineBox_v3_short.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/Flex_Open_1LineBox_v3_short.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/Flex_Open_1LineBox_v4-beta-top.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/Flex_Open_1LineBox_v4-beta.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/Flex_Open_3Line_v3.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/Flex_Open_3Line_v3.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/OPC_Staff_Flow.pdf 100644 → 100755
Empty file.
Empty file modified src/Public/OPC_Staff_Flow.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/OPC_User_Flow.pdf 100644 → 100755
Empty file.
Empty file modified src/Public/OPC_User_Flow.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/OPClogo-ico-512.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/OPClogo-ico-64.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/OPClogo-ico.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/OpenPolice_1Line.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/OpenPolice_1Line.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/OpenPolice_2Line.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/OpenPolice_2Line.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/bodyclick.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/font/cairo-arabic.woff2 100644 → 100755
Empty file.
Empty file modified src/Public/font/cairo-latin-ext.woff2 100644 → 100755
Empty file.
Empty file modified src/Public/font/cairo-latin.woff2 100644 → 100755
Empty file.
Empty file modified src/Public/logo-ico-loading-anim.gif 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/logo-ico.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/logo-img-lrg.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/logo-img-md.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/logo-img-sm.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/Public/medal-gold.png 100644 → 100755
Empty file modified src/Public/medal-silver.png 100644 → 100755
Empty file modified src/Public/meta-img.png 100644 → 100755
Empty file modified src/Public/open-police-hero-1.png 100644 → 100755
Empty file modified src/Public/open-police-hero-1B.png 100644 → 100755
Empty file modified src/Public/open-police-hero-1C.jpg 100644 → 100755
Empty file modified src/Public/open-police-hero-1F.jpg 100644 → 100755
Empty file modified src/Public/open-police-hero-1G.jpg 100644 → 100755
Empty file modified src/Public/open-police-hero-1H.jpg 100644 → 100755
Empty file modified src/Public/open-police-hero-1I.jpg 100644 → 100755
Empty file modified src/Public/open-police-hero-1J.jpg 100644 → 100755
Empty file modified src/Public/samwalker.png 100644 → 100755
Empty file modified src/Public/sanjose.png 100644 → 100755
Empty file modified src/Public/star1-gry.png 100644 → 100755
Empty file modified src/Public/star1.png 100644 → 100755
Empty file modified src/Public/style.css 100644 → 100755
Empty file.
Empty file modified src/Public/sys.css 100644 → 100755
Empty file.
Empty file modified src/Public/sys.js 100644 → 100755
Empty file.
Empty file modified src/Uploads/Fritz-Mulhauser.png 100644 → 100755
Empty file modified src/Uploads/LaDoris-Cordell.jpeg 100644 → 100755
Empty file modified src/Uploads/Matthew-Hickman.jpeg 100644 → 100755
Empty file modified src/Uploads/NACOLE-logo.png 100644 → 100755
Empty file modified src/Uploads/OPC_Complaint_Process.png 100644 → 100755
Empty file modified src/Uploads/balance.png 100644 → 100755
Empty file modified src/Uploads/ben-word.jpeg 100644 → 100755
Empty file modified src/Uploads/billy-murphy.jpeg 100644 → 100755
Empty file modified src/Uploads/brian-buchner.jpeg 100644 → 100755
Empty file modified src/Uploads/cory-troup.jpeg 100644 → 100755
Empty file modified src/Uploads/cynthia-conti-cook1.jpeg 100644 → 100755
Empty file modified src/Uploads/empowered-arm-2b.png 100644 → 100755
Empty file modified src/Uploads/empowered-arm.png 100644 → 100755
Empty file modified src/Uploads/eric-garner-daniel-pantaleo.jpeg 100644 → 100755
Empty file modified src/Uploads/flex-arm-sm.png 100644 → 100755
Empty file modified src/Uploads/flex-arm.png 100644 → 100755
Empty file modified src/Uploads/iceberg-icon.jpg 100644 → 100755
Empty file modified src/Uploads/james_carroll.jpg 100644 → 100755
Empty file modified src/Uploads/kelvyn-anderson.png 100644 → 100755
Empty file modified src/Uploads/lee-killings-by-police-all-1995-2015.png 100644 → 100755
Empty file modified src/Uploads/lynn-police-1920-by-1080-1024x576.jpeg 100644 → 100755
Empty file modified src/Uploads/magnifying-eye.png 100644 → 100755
Empty file modified src/Uploads/morgan-lesko.png 100644 → 100755
Empty file modified src/Uploads/morgan-sandwitches1.png 100644 → 100755
Empty file modified src/Uploads/neill-franklin.jpeg 100644 → 100755
Empty file modified src/Uploads/norm-stamper.jpeg 100644 → 100755
Empty file modified src/Uploads/only-allegations.png 100644 → 100755
Empty file modified src/Uploads/open-police-logo-home-hero.png 100644 → 100755
Empty file modified src/Uploads/open-police-logo-home-hero2.png 100644 → 100755
Empty file modified src/Uploads/open-police-logo-home-hero8.png 100644 → 100755
Empty file modified src/Uploads/openness.png 100644 → 100755
Empty file modified src/Uploads/puzzle-pieces-circle-2.png 100644 → 100755
Empty file modified src/Uploads/smile-cspan-steve.jpeg 100644 → 100755
Empty file modified src/Uploads/stephen-hawking.png 100644 → 100755
Empty file modified src/Uploads/universality.png 100644 → 100755
Empty file modified src/Views/admin/complaints/complaint-review-history.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/complaints/complaint-review-status.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/complaints/complaint-review.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/complaints/complaints-listing.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/db/acknowledgments.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/lists/academic.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/lists/depts.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/lists/legal.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/lists/media.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/lists/officers.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/lists/overs.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/volun/volun.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/volun/volunDepts.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/admin/volun/volunProfile.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/ajax/search-officer.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/ajax/search-police-dept.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/complaint-report-flex-articles-email.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/complaint-report-flex-articles.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/complaint-report-inc-deets.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/complaint-report-inc-oversight-tools.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/complaint-report-inc-owner-tools.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/complaint-report-preview.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/complaint-report.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/dept-page.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/inc-footer-admin.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/inc-footer-master.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/inc-spinner.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/nodes/143-dept-loop-custom-row.blade.php 100644 → 100755
Empty file.
8 changes: 6 additions & 2 deletions src/Views/nodes/145-ajax-dept-search.blade.php 100644 → 100755
Expand Up @@ -38,7 +38,9 @@ function submitAjaxSearch() {
document.getElementById("n{{ $nID }}FldID").value = $(this).attr("id").replace("dept", "");
document.getElementById("stepID").value="back";
//alert("New Dept: "+document.getElementById("n{{ $nID }}FldID").value);
return runFormSub();
otherFormSub = true;
return true;
//return runFormSub();
});

$(document).on("click", "#addNewDept", function() {
Expand All @@ -52,7 +54,9 @@ function submitAjaxSearch() {
}
document.getElementById("n{{ $nID }}FldID").value = -3;
document.getElementById("stepID").value="back";
return runFormSub();
otherFormSub = true;
return true;
//return runFormSub();
});

$( "#deptNameInID" ).autocomplete({
Expand Down
Empty file modified src/Views/nodes/145-dept-search.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/nodes/576-vehicle-details-ajax.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/nodes/576-vehicle-details.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/nodes/tbl-rec-label-vehicles.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/admPrintDeptEdit.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/inc-oversightComplaints.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/inc-oversightEdit.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/stars.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/volun-dept-edit-ajax.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/volun-dept-edit-java.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/volun-dept-edit.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/volun-sidebar-leaderboard.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/volunEditSearch.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/volunScript-cache.blade.php 100644 → 100755
Empty file.
Empty file modified src/Views/volun/volunteer.blade.php 100644 → 100755
Empty file.
Empty file modified src/routes.php 100644 → 100755
Empty file.

0 comments on commit 6a6ddc3

Please sign in to comment.