Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-09-15 | Add function oneStr() | Malf Furious | 1 | -0/+15 | |
The initial intended use case for this is applying the "active" and "in active" classes to the first tab to appear in the settings modal. | |||||
2018-09-15 | Add 'my pads' page | Malf Furious | 2 | -0/+60 | |
2018-09-15 | Implement dm-pad-add form handler | Malf Furious | 1 | -0/+27 | |
2018-09-12 | Add function agent::getAgentObj() | Malf Furious | 1 | -0/+17 | |
This is basically a constructor for agent. The actual type returned is a contrete agent. | |||||
2018-09-08 | Add 'New Pad' modal | Malf Furious | 2 | -1/+61 | |
2018-09-08 | Add owner dropdown to 'New Group' modal | Malf Furious | 1 | -0/+14 | |
2018-09-07 | Fix typo | Malf Furious | 1 | -1/+1 | |
2018-09-07 | Fix bug in function table->loadObj() | Malf Furious | 1 | -1/+7 | |
If a table query yeilds zero rows, we would still attempt to load the first (index zero) into $this, causing an error to be thrown by PHP. We are now checking the size of the results array first. | |||||
2018-09-07 | Merge branch 'feature/bs-select' into dev | Malf Furious | 4 | -0/+38 | |
2018-09-07 | Include bootstrap-select from std page | Malf Furious | 1 | -0/+2 | |
2018-07-27 | Track library Bootstrap-select v1.12.4 | Malf Furious | 3 | -0/+36 | |
2018-07-26 | Remove TODO and placeholder | Malf Furious | 1 | -3/+0 | |
2018-07-26 | Add "My Groups" page | Malf Furious | 2 | -0/+60 | |
2018-07-26 | Add group/pad list item | Malf Furious | 3 | -0/+186 | |
UI module to use when listing out groups and pads. These will link to the group/pad page and display information about the object. | |||||
2018-07-26 | Update function obj::getMembers() | Malf Furious | 1 | -2/+7 | |
Added a $limit argument to specify a maximum number of results to return. | |||||
2018-07-24 | Add About Scrott modal | Malf Furious | 1 | -0/+16 | |
2018-07-24 | Move $user page object scope | Malf Furious | 1 | -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-24 | Add call to setPageName() | Malf Furious | 1 | -0/+1 | |
2018-07-24 | Show PAGE_NAME in the navbar/pad select | Malf Furious | 1 | -1/+1 | |
2018-07-24 | Add $_SCROTT['PAGE_NAME'] variable and getter/setter | Malf Furious | 1 | -0/+30 | |
The intention is for index.php to set this variable. This is the text (HTML) displayed on the button for the pad select dropdown in the nav bar. Basically the canonical name of the page we're on. | |||||
2018-07-22 | Fix bug with login handler | Malf Furious | 1 | -1/+1 | |
Now reloading current path after successful login, instead of redirecting to app-root. | |||||
2018-07-22 | Update function location() | Malf Furious | 1 | -3/+6 | |
Passing no argument (or NULL) now causes this function to redirect to the 'app-path' (current request page). This is a way to reload the current page. | |||||
2018-07-22 | Add groups/pads page buttons to navbar | Malf Furious | 1 | -0/+2 | |
2018-07-22 | Fix bug in agent 'has permission' functions | Malf Furious | 1 | -0/+27 | |
The check that this commit adds to each of these functions enables users with all permissions on themselves. | |||||
2018-07-22 | Fix bug in function agent::isOwner() | Malf Furious | 1 | -1/+4 | |
If the argument doesn't have an owner, then an access error is thrown when we try to do ->guid. Since there is no owner, just return false. Otherwise, do the comparision as usual. | |||||
2018-07-22 | Implement display of object page background images | Malf Furious | 1 | -1/+12 | |
2018-07-21 | Update index.php to set appropriate page objects | Malf Furious | 1 | -1/+2 | |
2018-07-21 | Change errorlevel constants | Malf Furious | 1 | -3/+3 | |
2018-07-21 | Add PAGE_OBJECT global mechanism | Malf Furious | 1 | -0/+33 | |
This addresses a problem with most views. They need an object context to display in. IE what pad, group, etc. are we viewing? This variable is intended to be set by index.php and referenced by page models. | |||||
2018-07-21 | Display new group modal in nav | Malf Furious | 1 | -3/+4 | |
2018-07-21 | Add new group modal view/model code | Malf Furious | 2 | -0/+84 | |
2018-07-21 | Reorg examples/ directory | Malf Furious | 10 | -0/+0 | |
2018-07-21 | Remove old content | Malf Furious | 10 | -456/+0 | |
2018-07-20 | Add the notice modal | Malf Furious | 2 | -0/+93 | |
2018-07-19 | Ignore dbconfig.php | Malf Furious | 1 | -0/+1 | |
2018-07-19 | Fix bug in index.php | Malf Furious | 1 | -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-19 | Define /logout route | Malf Furious | 1 | -0/+9 | |
2018-07-19 | Add basic dashboard page | Malf Furious | 2 | -0/+47 | |
2018-02-11 | Add start of navbar | Malf Furious | 1 | -0/+68 | |
2018-02-11 | Fix icon center-spacing on dbconfig view | Malf Furious | 1 | -1/+1 | |
2018-02-11 | Address issue with user functions getCurrent() and setCurrent() | Malf Furious | 1 | -2/+2 | |
Previously, these functions would always call session_start() before doing most of their work. However, I've found that calling that function two or more times within the lifetime of a program results in NOTICE messages output from the PHP interpreter. Therefore, I am now only calling session_start() if the session is not already active. | |||||
2018-02-10 | Add exception view to index.php | Malf Furious | 1 | -1/+1 | |
2018-02-10 | Add exception handler view | Malf Furious | 1 | -0/+46 | |
2018-02-09 | Fix bug in function user::getCurrent() | Malf Furious | 1 | -1/+11 | |
If the session is set to an invalid (eg: deleted) user GUID, an exception is (correctly) thrown. This commit catches that and enables getCurrent() to close the bad session and return NULL. | |||||
2018-02-09 | Add login model | Malf Furious | 1 | -0/+92 | |
2018-02-09 | Limit app textbox input to 64 chars | Malf Furious | 1 | -1/+1 | |
Many database string fields are capped at 64 chars. Am now asserting this limit in the UI. | |||||
2018-02-08 | Reorg examples/ directory | Malf Furious | 2 | -0/+0 | |
2018-02-08 | Remove old content | Malf Furious | 19 | -1304/+0 | |
2018-02-07 | Merge branch 'bug/object' into dev | Malf Furious | 7 | -49/+49 | |
2018-02-07 | Update df script to use renamed obj class | Malf Furious | 1 | -1/+1 | |