18 Commits

Author SHA1 Message Date
Zachary Doll
401527c274 Add even more graceful handling of missing rules for plugin added rules. 2014-12-29 09:43:10 -06:00
Zachary Doll
1f4d2549bc Newbs don't get awards on their own discussions 2014-07-21 14:14:25 -05:00
Zachary Doll
fd85af85e6 Remove debug code 2014-07-10 15:26:46 -05:00
Robin
df976a8e00 Add new rule for awarding badges based on users sum of discussion and comment count
Added definitions to en-CA language file (including one minor correction)
Major changes of German translation
1. overworked file so that it reflects structure of en-CA file
2. added missing translations
3. deleted not used definitions
4. did some corrections to existing translations
2014-05-22 11:29:52 +02:00
Zachary Doll
fcb166abb6 Add DiscussionCategory rule
Awards a badge if the user has posted in a specific category.
Compliments of Jan Hoos.
2014-05-13 13:26:13 -05:00
Zachary Doll
9193d0f20e Don't reward reflexive comments on your own discussions 2014-04-16 11:15:12 -05:00
Zachary Doll
4c5be6dcf1 Added translations to post reactions rule.
Closes issue #23
2014-03-17 13:00:48 -05:00
Zachary Doll
773ff80e2c Complete PostReactions rule functionality 2014-03-17 11:19:45 -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
80c84a7f7d Update locale definitions and make rule descriptors consistent 2014-02-14 16:22:54 -06:00
Zachary Doll
0f2c0f4536 Add rule for QnA plugin 2014-02-14 16:03:27 -06:00
Zachary Doll
6f1eb5aec6 Discussion page length and discussion body length rules added 2014-02-13 11:35:48 -06:00
Zachary Doll
e748f4cfd3 Add CakeDayPost rule 2014-02-13 08:59:48 -06:00
Zachary Doll
c0c466cd71 Add necroposting rule 2014-01-30 16:06:15 -06:00
Zachary Doll
c7b565d586 Fix missing function by using AppStartup hook
Status based rules using the after get session hook were unable to
utilize functions declared in functions.render.php since the session is
started before they are defined. This fixes an issue with sending out
email notifications.
2014-01-30 15:58:10 -06:00
Zachary Doll
61026d28bf Switch to after get session for status based rules. 2014-01-30 08:36:06 -06:00
Zachary Doll
be3cd86d7c Remove remnant debug code 2014-01-24 14:42:49 -06: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