56 Commits

Author SHA1 Message Date
Zachary Doll
03f505413b Add basic dashboard statistics 2014-01-09 16:30:34 -06:00
Zachary Doll
2f025c08ee Moved to using the unobtained method on the award model to award badges 2014-01-09 10:12:29 -06:00
Zachary Doll
af6458ec68 Add paging to profile reactions, reaction record on profile reactions, and proper badge checking 2014-01-09 09:44:50 -06:00
Kasper Kronborg Isager
ae31a17d4c Correctly distinquish between parent types to avoid ID clashes
When selecting content that has been reacted to, discussion and comment
IDs will currently clash. E.g. if comment #16 has been reacted to, the
acted model will also query discussion #16 if it exists.

This commit fixes the bug by taking into account the reaction parent
types. The data was already available but wasn't being used.
2013-12-20 20:22:03 -05:00
Zachary Doll
536363c3cf Merge pull request #2 from kasperisager/develop
Utilize the autoloader for the super class and rule interface
2013-12-19 11:34:17 -08:00
Kasper Kronborg Isager
148faa6123 No need to represent $Discussions array as string when unsetting
The array can be directly unset just fine. Converting it to a string
before unsetting will throw a notice.
2013-12-18 21:59:03 -05:00
Kasper Kronborg Isager
a02d054578 Kill off any and all trailing whitespace 2013-12-18 21:38:12 -05:00
Zachary Doll
17b0a5c9c9 Created acted model to handle loading discussion/comments that have been acted on 2013-12-14 13:28:30 -06:00
Zachary Doll
32394b8ad2 Optimized reaction controller methods and made render changes as necessary 2013-12-12 11:30:37 -06:00
Zachary Doll
053817f7e9 Finish refectoring reaction model 2013-12-12 08:53:47 -06:00
Zachary Doll
3c378a5efb Model refactoring/compacting WIP 2013-12-11 17:36:32 -06:00
Zachary Doll
5a40a69c39 Refactor action model 2013-12-11 17:03:58 -06:00
Zachary Doll
d4d3cd2dcd Add ability to stop rank progression 2013-12-11 14:38:34 -06:00
Zachary Doll
4ac36b036e Added pager to the badge settings screen 2013-12-11 13:59:22 -06:00
Zachary Doll
ff410bcd7b Finished up rank promotion screen and refactor rank model 2013-12-11 13:48:06 -06:00
Zachary Doll
c95bd9e84b Fixed the badges/all query to always show the correct award record 2013-12-11 11:54:17 -06:00
Zachary Doll
44256fe261 Split badge model into badge and badge award models 2013-12-11 10:28:22 -06:00
Zachary Doll
4d3e553429 Badge deletion now updates user points and counts 2013-12-10 16:50:10 -06:00
Zachary Doll
810d07ce2d Megacommit! Fixed all known inline todos 2013-12-10 15:29:07 -06:00
Zachary Doll
0a5613cb1f Ranks now award roles 2013-12-09 17:12:22 -06:00
Zachary Doll
c0e2817e15 Rework ranks to use roles and a single photo 2013-12-04 16:29:57 -06:00
Zachary Doll
c4bd5b5f15 Synced locale up with definitions in use. Also namespaced most definitions 2013-12-04 14:09:26 -06:00
Zachary Doll
61d334ab44 All hardcoded strings can be translated now 2013-12-04 10:21:39 -06:00
Zachary Doll
628a9b7c3c Rank model WIP 2013-12-02 16:31:34 -06:00
Zachary Doll
a0ad2e509b Rank WIP 2013-11-22 16:08:30 -06:00
Zachary Doll
94f603847b Added skeleton rank controller-model-views 2013-11-19 16:15:29 -06:00
Zachary Doll
5fb6d0b064 Moved point tracking over to the user points table 2013-11-18 13:02:07 -06:00
Zachary Doll
424714c500 Reactions now apply their award value to the parent's row in the score column 2013-11-18 11:10:18 -06:00
Zachary Doll
be2697507e Rendered action lists now follow permissions properly 2013-11-15 23:14:32 -06:00
Zachary Doll
4e924eb1b0 Added award combo rule 2013-11-15 17:27:09 -06:00
Zachary Doll
5ca9f4042f Optimized badge checking 2013-11-15 16:40:24 -06:00
Zachary Doll
be0a59d52f Add in permissions for reactions 2013-11-15 14:48:39 -06:00
Zachary Doll
e123468009 Implemented all rules in repo 2013-11-15 13:56:14 -06:00
Zachary Doll
2c4ad1d48c Update reactionmodel to use SortField 2013-11-15 10:56:13 -06:00
Zachary Doll
b5a16c3657 Added sorting to reactions and cleaned up the settings screen 2013-11-15 10:51:18 -06:00
Zachary Doll
2ce2d5e494 Badge model WIP: GetAllBadgesUserAwards is doing some funky things 2013-11-13 16:30:51 -06:00
Zachary Doll
5cad9d3a8f Added badge awarding 2013-11-13 16:17:08 -06:00
Zachary Doll
c6bef75dbf Remove related awards when deleting badges 2013-11-13 13:52:22 -06:00
Zachary Doll
7fdd46d59e Badge detail page now up and running 2013-11-13 13:41:08 -06:00
Zachary Doll
88f2308562 Activity reactions fixing 2013-11-13 10:41:39 -06:00
Zachary Doll
ea0c4532f0 Added all badges view for the frontend 2013-11-12 16:51:34 -06:00
Zachary Doll
e3b096d557 Document models and remove redundant code in yagamodel 2013-11-12 10:05:27 -06:00
Zachary Doll
128c2b9f7d More work to rules and awarding system for badges 2013-11-11 17:34:57 -06:00
Zachary Doll
2e1a910795 Added notification settings for badges and tweaked the activity model submission 2013-11-11 16:30:16 -06:00
Zachary Doll
5c6bc4baa2 Added a bunch of rules and a way to reduce award checking. 2013-11-11 14:45:31 -06:00
Zachary Doll
11151671fc Add activity to badge awarding 2013-11-07 15:52:35 -06:00
Zachary Doll
5379aecf51 Basic Badges system in place, need to develop strategy for aggregate rule support 2013-11-06 12:23:20 -06:00
Zachary Doll
0f3e73cbfa Badges WIP: Rules autoloading work 2013-11-04 17:32:04 -06:00
Zachary Doll
692c530fb6 Badges WIP 2013-11-01 16:14:14 -05:00
Zachary Doll
fe674cec49 Add in better error handling 2013-10-28 15:16:58 -05:00