summaryrefslogtreecommitdiffstats
path: root/app/index.php (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2018-11-05Add pad closed issues viewMalf Furious1-1/+4
This view is routable from app/<pad_guid>/closed. It is a separate view for displaying the closed issues of a pad. index.php as well as the pad model code is also updated to support this view. This view currently *does not* support paging. This will very likely be added in the future. Signed-off-by: Malf Furious <m@lfurio.us>
2018-11-05Return code 404 when displaying the 404 pageMalf Furious1-0/+1
To be more compliant with the HTTP standard, we will _actually_ return '404 Not Found' status when we decide to show the 404 view. A status of '200 OK' is misleading and incorrect. Signed-off-by: Malf Furious <m@lfurio.us>
2018-10-27Add 404 Page not found viewMalf Furious1-0/+6
Previously, when the app was asked for non-existant paths, no content was returned and a blank page was presented to the user. Now a canned message stating that the requested page does not exist is shown, along with a helpful link back to the Dashboard page. Signed-off-by: Malf Furious <m@lfurio.us>
2018-09-25group: Add group page viewMalf Furious1-0/+9
2018-09-23admin: Add empty admin panelMalf Furious1-0/+9
2018-09-21deleteaccount: Add viewMalf Furious1-0/+5
2018-09-20index: Enforce access permission when viewing object by URLMalf Furious1-0/+8
The controller now (again) prevents browsing to objects the user is not allowed to access.
2018-09-20Add start of single-pad viewMalf Furious1-0/+15
2018-09-15Add 'my pads' pageMalf Furious1-0/+5
2018-07-26Remove TODO and placeholderMalf Furious1-3/+0
2018-07-26Add "My Groups" pageMalf Furious1-0/+5
2018-07-24Move $user page object scopeMalf Furious1-1/+2
Since several routes will use the current $user as the PAGE_OBJECT, I'm just setting it once above most of the logic. Any route that needs something else can change it. There's a condition in the setPageObj() function that throws if we attempt to call it more than once. I'm thinking this can be removed it's not protecting from much.
2018-07-24Add call to setPageName()Malf Furious1-0/+1
2018-07-21Update index.php to set appropriate page objectsMalf Furious1-1/+2
2018-07-19Fix bug in index.phpMalf Furious1-1/+2
Perform minor sanitization on the input $_SERVER['PATH_INFO']. This commit adds logic that strips empty strings from main's $argv array. The pass to array_values() is to discard original $tokens array keys and re-number them starting from zero.
2018-07-19Define /logout routeMalf Furious1-0/+9
2018-07-19Add basic dashboard pageMalf Furious1-0/+7
2018-02-10Add exception view to index.phpMalf Furious1-1/+1
2018-02-07Add login view to controllerMalf Furious1-1/+9
2018-02-06Add index.phpMalf Furious1-0/+49
2016-10-22Deprecate application codeMalf Furious1-30/+0
Setup to perform an iteration of development focused on a simpler implementation and eliminating redundancy in design.
2016-05-27Add copyright notice to Scrott entry-point filesMalf Furious1-0/+14
2015-11-21+ Added app root controllerM1-2/+2
* Finished implementing app main function to instanciate root and delegate to it
2015-11-21* Now using require in favor of include throughout PHP in the appM1-1/+1
2015-11-21* Changing the mechanism by which the requested path is passed to the appM1-1/+1
! It has been observed that on server nginx, some of the assumptions from doing similar work on apache have broken down and a more general mechanism must be used to handle paths in the clean-url app. ! New scheme is this: app is invoked with `index.php?path=<absolute path on virtual server>` The app will be configured with its own root location on the virt. server and use logic to dedue the relative path requested from that. Also app will use the configured path to predend to urls linked/directed to during use of the app
2015-11-21+ Adding main source file which invokes the master controllerM1-0/+16