This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feature/1.0 (#17) * Update readme.md (#10) * Update readme.md * Remove ToDo * build script now builds own separate db for testing * added functionality to get names of view files; create display should now use dropdown for component view * fixed bug in getViewFilenames so it actually returns filenames * refined the results of getViewFilenames * fixed a dumb typo * form styling * getViewFilenames now filters out duplicate values * fixed getViewFilenames to use filter instead of reduce * i'm stupid * fixed comparison in getViewFilenames reduction to check explicitly for false * using select for create display trophy views * forgot to change to getViewFilenames :oops: * added getViewFilenamesBasic to get view filenames sans extensions * fixed a dumb typo * added dropdowns for display edit; refactored display create dropdowns to show old values * fixed bug with display edit form * dropdowns added to trophy create/edit forms * fixed old value inputs for display and trophy edit forms * fixed code spacing * Views Dropdown (#18) * added functionality to get names of view files; create display should now use dropdown for component view * fixed bug in getViewFilenames so it actually returns filenames * refined the results of getViewFilenames * fixed a dumb typo * form styling * getViewFilenames now filters out duplicate values * fixed getViewFilenames to use filter instead of reduce * i'm stupid * fixed comparison in getViewFilenames reduction to check explicitly for false * using select for create display trophy views * forgot to change to getViewFilenames :oops: * added getViewFilenamesBasic to get view filenames sans extensions * fixed a dumb typo * added dropdowns for display edit; refactored display create dropdowns to show old values * fixed bug with display edit form * dropdowns added to trophy create/edit forms * fixed old value inputs for display and trophy edit forms * fixed code spacing * added showcase route which redirects to display.index * updated readme * fixed typo in showcase route listing * updated build script * added a namespace to showcase routes * removed ShowcaseController because it isn't being used; fixed namespace issue with showcase routes * should be prefix not namespace * fixed typo in showcase redirect route * fixed previous typo fix * refactored chained calls to group options for showcase routes * converted prefix to use config; changed route_namespace to route_prefix * added route as * changed showcase route's name to home instead of showcase * changed postfix for as from _ to .; fixed bug in showcase_home redirect * updated all places where the old route names were called * missed a few spots in the last update * config file now checks for envvars before setting its defaults * added tagged publishing for config and views * updated readme
- Loading branch information
1 parent
682c026
commit c49272c
Showing
16 changed files
with
271 additions
and
66 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,9 @@ | ||
<?php | ||
[$script, $host, $db, $user, $pass] = $argv; | ||
$pdo = new PDO( | ||
"mysql:host=$host", | ||
$user, | ||
$pass, | ||
[PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION] | ||
); | ||
$stmt = $pdo->exec("CREATE DATABASE IF NOT EXISTS $db"); |
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,10 @@ | ||
<?php | ||
|
||
[$script, $host, $db, $user, $pass] = $argv; | ||
$pdo = new PDO( | ||
"mysql:host=$host", | ||
$user, | ||
$pass, | ||
[PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION] | ||
); | ||
$stmt = $pdo->exec("DROP DATABASE IF EXISTS $db"); |
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
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.