summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-22Change project licensing informationMalf Furious2-0/+58
Replace use of GPLv3 with the unlicense. This is now public domain code. As per my contributor copyright waiver policy, I also include my signature of the UNLICENSE file to declare my work is public domain material.
2016-10-22Deprecate application codeMalf Furious71-1/+0
Setup to perform an iteration of development focused on a simpler implementation and eliminating redundancy in design.
2016-10-22Merge branch 'feature/core/groups' into devMalf Furious17-36/+1001
2016-09-18Move function User::rmHeadImage() to Object classMalf Furious2-11/+11
2016-09-18Add form submission handler for group settings tabMalf Furious1-0/+80
2016-09-17Finish markup for setting modal group tabMalf Furious1-9/+30
2016-09-17Add function Object::getURL()Malf Furious1-0/+8
2016-09-17Revert "Revert "Update group setting tab to use parameterized view templates""Malf Furious1-2/+5
This reverts commit cc285f5d019e5b586931a2a582374074825de947.
2016-09-17Revert "Update group setting tab to use parameterized view templates"Malf Furious1-5/+2
This reverts commit ee3b66018804b332ec2a2953a1d04b7e0beb68fa.
2016-09-17Update group setting tab to use parameterized view templatesMalf Furious1-2/+5
2016-09-17Change ownership view template into a PHP functionMalf Furious1-12/+14
2016-09-17Change permissions view template into a PHP functionMalf Furious1-50/+52
This change will allow us to use this in different contextes, even on a single page render.
2016-09-15Commit work on setting modal groups tabMalf Furious1-1/+52
I am committing this change incomplete. I'm stopping work on this particular piece to save some work overall and explore view templating using PHP features. The idea is to define this markup once in just one file, rather than having to duplicate it for each object type.
2016-09-15Add view template for transferring the owner of an objectMalf Furious1-0/+33
2016-09-14Add view template for setting object permissionsMalf Furious1-0/+80
This view template can be included from object setting tab view to display controls for adjusting object permissions.
2016-09-13Move function User::getHeadImage() to Object classMalf Furious2-8/+8
Increase the scope of this function so it may be used by groups.
2016-09-13Merge branch 'support/php7' into feature/core/groupsMalf Furious1-6/+6
2016-09-13Changes to the handling of indirect variables, properties, and methodsMalf Furious1-6/+6
To maintain forward compatability with newer versions of PHP (and since my dev environment is now running PHP 7), this patch is made to address the following breaking change from PHP 5: PHP 7 now uses an abstract syntax tree when parsing source files. This has permitted many improvements to the language which were previously impossible due to limitations in the parser used in earlier versions of PHP, but has resulted in the removal of a few special cases for consistency reasons, which has resulted in backward compatibility breaks. Indirect access to variables, properties, and methods will now be evaluated strictly in left-to-right order, as opposed to the previous mix of special cases.
2016-06-12Revert "Rename variable"Malf Furious1-2/+2
This reverts commit 112a510bb7ba358fd4195b5b2f3c8203ab4fb91d. Conflicts: app/model/obj.mod.php
2016-06-12Add group tab to setting modalMalf Furious3-0/+41
Created empty <div> for the group setting tab. Also added code to the common model for initializing the $mod->group variable and setting a flag marking what tabs to include in the setting modal (group tab in this case). Added logic to the main setting modal view file for picking up these flags and including appropriate additional content.
2016-06-12Update Obj controllerMalf Furious1-8/+5
This commit makes the Obj controller compatable with changes introduced in the previous commit.
2016-06-12Move initialization logic from Obj model into Common modelMalf Furious2-7/+13
Some logic to initialize the current system object, its owner, and members has been moved into the Common model since this code will be relevant to other views and to support a new feature being added to display additional tabs in the setting modal box.
2016-06-12Update setting modal to use functions added in previous commitMalf Furious1-2/+2
2016-06-12Add functions to Common model for assigning CSS to setting tabsMalf Furious1-0/+30
The setting modal window will need to support showing unknown tabs at the beginning of the tab list. These functions handle assigning specific CSS classes to tab-panes ONLY if that tab will appear in the left-most position in the modal's tab list.
2016-06-12Add refresh btn to Scrott navbarMalf Furious1-0/+2
2016-06-11Add navbar dropdown for selecting group page to viewMalf Furious1-0/+12
2016-06-11Add function User::getGroups()Malf Furious1-0/+25
This function returns all groups the user either owns or is a member of. This is not necessarily the same as all groups the user has access permission to. The *not-yet-implemented* object explorer feature should be used to browse those.
2016-06-11Rename variableMalf Furious2-5/+5
In the Obj MVC, rename group in the model to obj. This will help with referencing the active object from template views without knowing what type of object it is.
2016-06-10Fix typoMalf Furious1-1/+1
2016-06-10Assert access control before rendering an object viewMalf Furious1-0/+3
If the current user does not have access permission to the requested object, throw an exception and do not proceed.
2016-06-10Add functions to Object class to determine user permissionsMalf Furious1-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-10Add 'go home' button to exception pageMalf Furious1-4/+8
2016-06-09Remove bootstrap grid structure from group viewMalf Furious1-12/+8
2016-06-08Start design for group viewMalf Furious3-11/+22
2016-06-08Add function Object::getOwner()Malf Furious1-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-08Add function Object::getMembers()Malf Furious1-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-08Create blank view for groupsMalf Furious3-2/+38
Finish initializing the Obj MVC by writing an empty view/action for groups.
2016-06-08Add new MVC, 'Obj'Malf Furious3-0/+83
This MVC will be used to browse scrott datastructures.
2016-06-01Update newgroup modalMalf Furious1-1/+1
Made the name field (the only field) on this form as required.
2016-06-01Implement add group form handlerMalf Furious1-0/+20
Added handler function to common model to create new use groups from the modal view.
2016-06-01Add function Group::createNewGroup()Malf Furious2-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-01Add modal view to create a new user groupMalf Furious2-0/+61
2016-05-30Merge branch 'support/version-meta' into devMalf Furious61-9774/+1457
2016-05-30Add copyright notice to schema fileMalf Furious1-4/+14
2016-05-29Add GNU GPL license to COPYING fileMalf Furious1-0/+674
2016-05-29Add GNU GPL logo for app informationMalf Furious1-0/+0
2016-05-29Add copyright notice to application view filesMalf Furious18-0/+304
2016-05-27Add copyright notice to Scrott model filesMalf Furious8-0/+112
2016-05-27Add copyright notice to Scrott entry-point filesMalf Furious2-0/+28
2016-05-26Add copyright notice to Scrott controller filesMalf Furious7-0/+98