91 Commits

Author SHA1 Message Date
Zachary Doll
f991ca289f Added stub content fixes #27 2014-04-23 15:45:21 -05:00
Zachary Doll
9193d0f20e Don't reward reflexive comments on your own discussions 2014-04-16 11:15:12 -05:00
Zachary Doll
c0d11cf91e Interaction rules are now checked on all hooks
Added an Interacts method on the yagarule interface. Any badges using
interactive rules will be checked regardless of the calling user's award
status. Fixes issue #15
2014-02-19 08:48:21 -06:00
Zachary Doll
5dae4bb974 Still grab the user id from the session thought 2014-02-13 11:51:45 -06:00
Zachary Doll
0bbf5d4d98 Get user object directly from the session object
Don't create a user model when the user object is already in the session
object.
2014-02-13 11:50:41 -06:00
Zachary Doll
e748f4cfd3 Add CakeDayPost rule 2014-02-13 08:59:48 -06:00
Zachary Doll
5326935cfa Update todo list and bump version 2014-02-12 16:36:41 -06:00
Zachary Doll
2860785072 Update default notification options 2014-02-08 13:22:41 -06:00
Zachary Doll
001d568e32 Roll InvokeAwardLogic into _AwardBadges 2014-02-06 14:54:51 -06:00
Zachary Doll
130775558d Create a yaga controller for new functionality 2014-02-06 14:44:21 -06:00
Diego
876faddec0 Optimised logic to invoke badge awarding logic
Rather than copy/pasting the hook name, the __FUNCTION__ constant is used. The "_Handler" suffix is then stripped from it, to get the clean hook name. This will reduce the amount of errors due to typos or incorrect copy/paste operations.
2014-01-31 10:50:58 +00:00
Zachary Doll
2d66f1fe64 Streamline activity and preferences for badges/ranks 2014-01-30 16:04:29 -06:00
Zachary Doll
61026d28bf Switch to after get session for status based rules. 2014-01-30 08:36:06 -06:00
Zachary Doll
6624b1c97d Bump version for release 2014-01-29 19:43:15 -06:00
Zachary Doll
46ea17d8ce Bump version for some fixes 2014-01-24 14:43:23 -06:00
Zachary Doll
b80d558a7e Bump to 0.3.1 to fix release error 2014-01-10 08:39:31 -06:00
Zachary Doll
03f505413b Add basic dashboard statistics 2014-01-09 16:30:34 -06:00
Zachary Doll
a7693070d3 Update the about file with more info 2014-01-09 15:08:52 -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
8dc1656a27 Use event handler for creating Yaga settings page
This creates the core Yaga settings page as a method on the dashboard
settings controller instead of having the page be its own controller.
2013-12-20 14:16:05 -05:00
Zachary Doll
3076915e5e Move some stuff around 2013-12-19 14:49:38 -06:00
Kasper Kronborg Isager
a02d054578 Kill off any and all trailing whitespace 2013-12-18 21:38:12 -05:00
Kasper Kronborg Isager
07c4d55572 Rely on Garden's autoloader for bringing classes and rules into scope
The Yaga rule interface as well as the static super class can be auto-
magically brought into scope using Garden's autoloader instead of being
manullay included where needed.

I also renamed `lib` to `library` as this is used everywhere else in
Vanilla and moved the rules into the `library` dir to keep everything
in the same place.
2013-12-18 21:19:15 -05:00
Kasper Kronborg Isager
1990db4df4 Make about.php a little more readable 2013-12-18 20:51:38 -05:00
Zachary Doll
b2b4ee7fab Bumped version for properly cased action icons. 2013-12-18 19:09:36 -06:00
Zachary Doll
82437a6d3b Bump version and add app requirement 2013-12-18 14:07:16 -06:00
Zachary Doll
0bf590a0b1 Remove application prefix from most links 2013-12-18 08:04:13 -06:00
Zachary Doll
47f2ca95bb Update controllers to prevent name conflicts 2013-12-18 07:48:14 -06:00
Zachary Doll
38ade69fd5 Change yaga controller to settings controller to prevent conflicts 2013-12-18 07:27:32 -06:00
Zachary Doll
62cd36659f Added configuration checks on all section specific code 2013-12-17 22:14:23 -06: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
d4d3cd2dcd Add ability to stop rank progression 2013-12-11 14:38:34 -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
51b8dadb9f Forgot to save all :(, more badge model refactoring 2013-12-11 10:38:16 -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
ae24c7d8aa Added art assets 2013-12-09 17:28:32 -06:00
Zachary Doll
1fa8ca47ce Ranks now use a single photo WIP 2013-12-09 17:27:50 -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
3d06de359f More clean up of class hooks file 2013-12-03 17:33:39 -06:00
Zachary Doll
9b20d11f0b Add leaderboard configuration options and cleaned up the class hooks file 2013-12-03 17:17:16 -06:00