128 Commits

Author SHA1 Message Date
Zachary Doll
13e12d0e0c Bump to 1.0.3 for release on vf.org 2014-11-12 09:47:17 -06:00
Zachary Doll
b11346e95e Do not enable reaction permissions by default. 2014-10-14 08:18:14 -05:00
Zachary Doll
4772485ed2 Remove default reaction permission from guests 2014-09-16 13:28:51 -05:00
Zachary Doll
4e93b87e55 Get rid of undefined property access on initial activity comment submission 2014-08-28 09:43:44 -05:00
Zachary Doll
8ec3aad1bd Activity reaction fixes bumps us to 1.0.1 2014-08-28 09:35:03 -05:00
Zachary Doll
b424b77831 Check for regarding user rather than author. Closes #40. No activity types that allow comments have multiple regarding users. 2014-08-28 09:16:24 -05:00
Zachary Doll
0d9a3be031 Bump to 1.0 2014-08-27 13:59:05 -05:00
Zachary Doll
21642f0040 Update and clean up translation codes
Closes #36
2014-08-26 15:49:47 -05:00
Zachary Doll
efc24d5e02 Updated class.hooks documentation 2014-08-25 16:51:08 -05:00
Zachary Doll
bdf46e1884 Add missing closing div to reaction counts display 2014-08-08 10:55:22 -05:00
Zachary Doll
e538ca8277 Annotate the configuration file. 2014-07-23 15:30:09 -05:00
Zachary Doll
e856f6d028 Clean up logic on reaction record 2014-07-23 15:20:02 -05:00
Zachary Doll
13ab3b7978 Fix default badge path in stub content 2014-07-11 13:45:15 -05:00
Zachary Doll
cd5dab9016 Minor bump to 0.6.1 2014-07-11 10:38:28 -05:00
Zachary Doll
5fbeb7e845 Remove non-existent column from the stub 2014-07-11 10:24:04 -05:00
Zachary Doll
a2268226b9 Get rid of alpha version.
Was never supposed to commit the number 1.0a.
2014-07-10 15:27:49 -05:00
Zachary Doll
655a0eabb0 Merge pull request #35 from hgtonight/feature/better-ranks
Yay, better ranks!
2014-07-10 15:23:35 -05:00
Zachary Doll
970cb63d64 Move Rank progression check to a generic event
Rank progression can now occur on post count change, point change, or
length of service change. The rank progression will be executed when the
UserModel sets the 'Points', 'CountDiscussions', or 'CountComments'
field for a specific user.

Additionally, the rank model now qualifies the user against the point,
post, and age requirements.
2014-07-10 09:07:53 -05:00
Zachary Doll
261099f7d3 Update the rank db structure to make more sense 2014-07-09 15:57:26 -05:00
Zachary Doll
4056bfb78b Switch to a simpler perk architecture
Switch to a simpler perk system where the type and key are concatenated
as keys in the perks array. Value is the same.

This will make it trivial to add perk support in any plugin that offers
a configuration or a permission level.
2014-07-08 14:41:00 -05:00
Zachary Doll
167d0838f2 More Rank Perks work 2014-06-27 16:22:14 -05:00
Zachary Doll
d6f346b69c Set up default permissions on enable. 2014-06-25 13:31:36 -05:00
Zachary Doll
f0bb65fda8 Update stub content to reflect rank db changes 2014-06-24 09:53:04 -05:00
Zachary Doll
3c2ef694e7 Remove debug code on award hook 2014-06-09 09:13:15 -05:00
Zachary Doll
1940d4d0df Add input requirements for rank progression 2014-06-05 15:00:39 -05:00
Zachary Doll
9765137bf3 Add rank sorting 2014-06-04 15:22:44 -05:00
Zachary Doll
9d09160fc0 bump to alpha 2014-05-23 09:55:12 -05:00
Zachary Doll
8799071687 Fix typos user delete function
How did this get committed?
2014-05-23 09:48:44 -05:00
Zachary Doll
19f0744b62 Use a default badge photo if one is not uploaded
Fixes broken image links on the activity record. Also uses relative urls
for activity feeds now.
2014-05-14 11:45:50 -05:00
Zachary Doll
6283ae3356 Add default rank promotion image
Closes #31
2014-05-13 15:30:38 -05:00
Zachary Doll
e9874fb48e Enforce view permissions on action list 2014-04-30 16:34:59 -05:00
Zachary Doll
ce11ed7389 Merged data-retention. Closes #29 2014-04-30 10:16:37 -05:00
Zachary Doll
372f41e41f Require 2.1 at least
The bulk of the application will be retested. This will be done against
Vanilla's 2.1 stable release. Require that.
2014-04-30 09:55:34 -05:00
Zachary Doll
3d45362e9d Basic data managment 2014-04-28 11:41:51 -05:00
Zachary Doll
b5eb0792c0 Add Counts method to BadgeAwardModel
Hooks into the DBA controller to update the denormalized BadgesCounts
column on the user table. Closes #24
2014-04-25 09:13:08 -05:00
Zachary Doll
8390b3e972 Add best controller and related modules
This adds a link on the discussion filter module and the profile filter
box. The new views show content based on it's aggregate Yaga score as
well as the reaction type. Closes #19
2014-04-24 17:19:53 -05:00
Zachary Doll
2c1dc94870 Stub in an elevated permission action 2014-04-24 17:06:57 -05:00
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