Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-06-10 | Fix typo | Malf Furious | 1 | -1/+1 | |
2016-06-10 | Assert access control before rendering an object view | Malf Furious | 1 | -0/+3 | |
If the current user does not have access permission to the requested object, throw an exception and do not proceed. | |||||
2016-06-10 | Add functions to Object class to determine user permissions | Malf Furious | 1 | -0/+313 | |
Added a variety of functions to the Object base class for testing a user's access level to another object. Also added functions to test whether a given user or group is an owner or member of another object. | |||||
2016-06-10 | Add 'go home' button to exception page | Malf Furious | 1 | -4/+8 | |
2016-06-09 | Remove bootstrap grid structure from group view | Malf Furious | 1 | -12/+8 | |
2016-06-08 | Start design for group view | Malf Furious | 3 | -11/+22 | |
2016-06-08 | Add function Object::getOwner() | Malf Furious | 1 | -0/+12 | |
Added object function to get the owner of an object. This base-class function returns a User object, however a user might not always be the kind of owner (eg: a group can own a pad). In these situations, Object sub-classes should override this function and return the appropriate type of object. | |||||
2016-06-08 | Add function Object::getMembers() | Malf Furious | 1 | -0/+16 | |
Added object function to get an array of all its members. These will always be user objects, so this is always a safe function to call. | |||||
2016-06-08 | Create blank view for groups | Malf Furious | 3 | -2/+38 | |
Finish initializing the Obj MVC by writing an empty view/action for groups. | |||||
2016-06-08 | Add new MVC, 'Obj' | Malf Furious | 3 | -0/+83 | |
This MVC will be used to browse scrott datastructures. | |||||
2016-06-01 | Update newgroup modal | Malf Furious | 1 | -1/+1 | |
Made the name field (the only field) on this form as required. | |||||
2016-06-01 | Implement add group form handler | Malf Furious | 1 | -0/+20 | |
Added handler function to common model to create new use groups from the modal view. | |||||
2016-06-01 | Add function Group::createNewGroup() | Malf Furious | 2 | -0/+17 | |
This function will initialize a new group object and write it to the database, with a given group name and owner user. | |||||
2016-06-01 | Add modal view to create a new user group | Malf Furious | 2 | -0/+61 | |
2016-05-30 | Merge branch 'support/version-meta' into dev | Malf Furious | 61 | -9774/+1457 | |
2016-05-30 | Add copyright notice to schema file | Malf Furious | 1 | -4/+14 | |
2016-05-29 | Add GNU GPL license to COPYING file | Malf Furious | 1 | -0/+674 | |
2016-05-29 | Add GNU GPL logo for app information | Malf Furious | 1 | -0/+0 | |
2016-05-29 | Add copyright notice to application view files | Malf Furious | 18 | -0/+304 | |
2016-05-27 | Add copyright notice to Scrott model files | Malf Furious | 8 | -0/+112 | |
2016-05-27 | Add copyright notice to Scrott entry-point files | Malf Furious | 2 | -0/+28 | |
2016-05-26 | Add copyright notice to Scrott controller files | Malf Furious | 7 | -0/+98 | |
2016-05-26 | Add copyright notice to Scrott class files | Malf Furious | 15 | -0/+210 | |
2016-05-26 | Add copyright notice to scrott main JS file | Malf Furious | 1 | -0/+14 | |
2016-05-26 | Remove unused Bootstrap JS files | Malf Furious | 2 | -2376/+0 | |
These are extra files distributed with Bootstrap that I do not need. I am keeping the minified Bootstrap main JS file, which is already used by the Scrott application. | |||||
2016-05-26 | Remove unused CSS files from Bootstrap distribution | Malf Furious | 5 | -7394/+0 | |
These are extra files distributed with Bootstrap that I do not need, I am retaining the minified main Bootstrap CSS file, which is already used by the Scrott application. | |||||
2016-05-22 | Define Scrott version number constant throughout app | Malf Furious | 1 | -0/+3 | |
2016-05-22 | Merge branch 'feature/user-removal' into dev | Malf Furious | 8 | -2/+214 | |
2016-05-22 | Add form submission handler for user removal | Malf Furious | 1 | -0/+46 | |
Added handler for the button added in the previous commit. | |||||
2016-05-22 | Add delete account button to all users panels | Malf Furious | 1 | -0/+11 | |
Added button for admins to remove any user account | |||||
2016-05-22 | Add action 'delete' to Deleteacct MVC | Malf Furious | 2 | -1/+51 | |
This action will validate the user's password, and make sure you're not removing the last admin, then proceed to delete the current user's account from the database and log them out, for good. | |||||
2016-05-22 | Add function User::getNumAdmins() | Malf Furious | 1 | -0/+10 | |
Function to count the number of admin accounts that exist. This is used to make sure that while deleteing accounts, the number of administrators never drops to zero. | |||||
2016-05-22 | Create view for delete account MVC | Malf Furious | 1 | -0/+24 | |
This page prompts for user password before actually deleteing their account. | |||||
2016-05-22 | Add class constructor to Common model | Malf Furious | 2 | -2/+10 | |
There are two functions that need called in the common model whenever a page is rendered. Rather than requiring all of the base MVC controllers to call them, I am placing them in a constructor for this model class. This constructor should fire automatically (since base mvc models inherit this class), unless base classes define their own constructors. I don't antisipate this happening, however in that case, they would just need to call parent::__construct(). | |||||
2016-05-21 | Hook Deleteacct in the Root app controller | Malf Furious | 1 | -0/+2 | |
2016-05-21 | Add MVC Deleteacct | Malf Furious | 3 | -0/+56 | |
This will prompt the user for their password if they opt to delete their own account. This is to prevent malicious attempt by others to trick users into having there accounts deleted by way of a XSS attack. | |||||
2016-05-21 | Add 'Delete Account' button to user settings form | Malf Furious | 1 | -0/+5 | |
Links to a confirmation page which will require the user's current password to succeed. | |||||
2016-05-01 | Merge branch 'feature/user-img-mgmt' into dev | Malf Furious | 9 | -29/+144 | |
2016-05-01 | Remove an un-needed .gitkeep file | Malf Furious | 1 | -0/+0 | |
2016-05-01 | Add default user head image, null.jpg | Malf Furious | 1 | -0/+0 | |
This is the image used by each user object which does not have its own image in the heads directory. I made this myself since I couldn't find anything that looked very appealing on the internet without running into copyright issues. Hopefully, this image will get replaced later. | |||||
2016-05-01 | Update setting modal to allow admins to remove other users' head images | Malf Furious | 2 | -1/+11 | |
2016-05-01 | Update setting modal to allow user to remove their own head image | Malf Furious | 2 | -1/+11 | |
2016-05-01 | Add function User::rmHeadImage() | Malf Furious | 1 | -0/+11 | |
Function to delete the user image file for the given user object. | |||||
2016-05-01 | Add global javascript file scrott.js | Malf Furious | 2 | -0/+9 | |
Included initial function assertConfirm(), function to present user an "Are you sure?" prompt before submitting a web form. | |||||
2016-05-01 | Fix to Form::saveFile() | Malf Furious | 1 | -1/+3 | |
Only log an error if we get an upload error besides err code 4 (No file uploaded) | |||||
2016-05-01 | Update form handler for common/setting-modal, all users tab | Malf Furious | 2 | -7/+12 | |
Now supports file upload to replace the user's head image | |||||
2016-05-01 | Define constants for head-image upload parameters | Malf Furious | 1 | -1/+7 | |
Created class-scope vars to define allowable sizes and types for uploaded user images | |||||
2016-05-01 | Update form handler for common/setting-modal, user tab | Malf Furious | 3 | -9/+14 | |
Now supports file upload to replace the user's head image | |||||
2016-05-01 | Add view markup for showing user head images to the all users collapse panes | Malf Furious | 1 | -7/+31 | |
2016-05-01 | Update setting modal, user tab to display user head image | Malf Furious | 1 | -11/+36 | |
Also restructured the web form a little and added the form-group to select a new image to upload |