| /[drupal]/contributions/modules/activity/activity.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
#638908 by sirkitree, Scott Reynolds: fixed the menu item to be listed in proper order and with proper type
#629296 Death to action meta data and aweful form!
#609888 by Scott Reynolds, IceCreamYou: create an eid field to relate to the entity that created the activity
This a approach is a little nicer. making the type account is a DX fail.
user account as the object_type instead of user. User is not a valid part of the context
#606800 - remove broken count purging and add in minimum count filter
use proper title for the Settings page
#605670 - Apply node_access check always but don't remove activity items that don't have a nid
#565748 - Proper message for when the comment author is the node author
#493102 - Allow for the creation of language specific Activity2 messages
Move from admin/settings/activity to admin/build/activity for activity templates
#580766 - use theme('activity_username') instead of theme('username')
#497666 - by benroot, drewish and Scott Reynolds considerably cleaner implementation for Views. Creates relationships to the important tables so those fields can be added
#580374 - handle public empty messages as well and fix some php notices
#580374 - handle empty message templates and currently require the public message
adding a new field to comment activity templates so that the comment author and the node author can have separate messages
adding an implementation of hook_user to remove activity messages of a user when they are deleted from the system.
adding a views handler and callback for being able to delete activities though views. included a default view for maintenance of activity records.
Fixing a bug where the activity_record_check was inverted.
#320513 by drewish - always use global user for recording.
#495084 don't always assume context has the activity_types in it
fix access implementation and filtering if no types are checked, make sure that we don't do a type check #491516
if the base type hasn't been set in the types set it now from the context
if the object isn't in the context handle don't do anything for it apply node access anytime a nid is present, not just for node/comment
#465500 by Scott Reynolds and sirkitree Allow for different templates per 'type'
fix a bunch of php notices
rid ourselves of teh small comment token functions. Since we pass in the node and user objects already to token_replace, just add those to the token help
#484578 Allow anon activity. It won't always behave nicely though...
unifying access and recording api #491516
#481122 - by stella: fix undefined index warnings
fixing a bug in the comment grants
clean-ups with how we handle token help and how we handle nid column. Basically, adding more flex-ablity :-D
fix default variable_get()
only module_invoke() activity_access_grants() on modules that provide the allowed realms. This saves a few function calls meh...
fix broken access record controls. Now selecting only certain access records to write the database actually work :-D
add in comment access handling and turn it on by default. By default, a user will see activity regarding comments on the nodes they create and activity regarding nodes for which they commented on as well
#471636 remove clear-block class from hidden comment form as the clear-block class can result in the comment form failing to hide in some themes.
Fixing #473100 - description overwritten. New activity expiration purging - THIS PLACES A REQUIREMENT ON MYSQL 5.
fix it so activity_activity_info doesn't get called on module_implements('activity_info')
Moving our core implementations to activity.module to serve as better examples. Using flag_friend's hook_activity_info() implementation as an example in DEVELOPER.txt Allow passing of a module name to activity_get_module_info() so we can just pull out one module's info if we want Changing how we return info from hook_activity_info() implementations. Removing hook_init() implementation how that we have our core implementations moved to activity.module.
#451664 - version for hook_activity_info() so that modules implementing version 1 do not conflict
update to the usability of the token help
#451664 remove the strange handling of the hooks array. Was static cached.
Passing arguments to theme_activity_token_help() in order to only show the tokens that are actually available for translation.
#454670 Don't require activity_access rows for deletion
make sure that all activity records are purged through hook_nodeapi(). Fixing a bug where the activity type field should record the module machine name instead of object type.
#452802: by mrjavum - more arguments needed for token_replace_multiple() implementations
fix user trigger problems. #451298
allow for ignoring certain activity access realms. #452610
#446032 by dicreat - more t() wrappers
Implementation of hook_activity_access_api infrastructure. This new hook defines the realms for which a module is going to enforce access control #445698 Always make the View query distinct() when using the activity_access table
implement the activity purge. Remove activity records when when they were created to long ago
remove the testing code
multitable delete on activity_delete
one last change to the database structure. This change facilates one message being applied to multiple activities. This change will permit group of activity messages.
New Activity administrative UI which combines/replaces Triggers/Actions UIs Schema changes: new activity table, new way of storing messages (multiple per activity) New permission for administrating activity New menu callback for the admin UI hook_activity_token_list/values provides a way for other modules to extend the current list of tokens change in the hook_activity_info requirements: new ->objects property in order to help out with token replacements New theme function for the admin ui table listing of activity actions There is an example of how to extend existing token types within comment.activity.inc Views handlers changed around to reflect the changes in schema Crazy cool new COALESCE feature in the field_message handler which is used to determine which message to display. Modules that implement activity hooks can now extend the amount of messages recorded (case in point - flag friend needs to have a message for the requestor, the requestee and everyone - not just author and everyone)
apply access control on comment activity messages as well
Selectively passing extra objects for token replacement. views_data_alter in the node table. Give the default view empty text
#335498: Views2 integration - by mradcliffe and stella (I like that beer)
remove the activity message when a node is deleted #355272
remove dsm()
allow access modules to provide more then one access type.
#412868 added status and access fields from {user} table to the object returned by activity_user_load.
#408904 remove the unneeded activity access row
only add in node_access stuff to the query if there are modules that implement the node_access hooks
fixing a typo in user_relationshipsactivity. fixing #391424 - language param was incorrect
#430620 missing an 's' on a permissions check.
use the object type for the uid of the activity record if it exists. otherwise use the global user
minor code cleanup - ust a couple spacing issues
fixing type in permission check
Fixing bug in where token_replace() wasn't working properly. Fixing db_rewrite_sql's where. #441056: by mrothroc
- new way to process tokens utilizing the out-of-box token hooks instead of trying to use our own. - new theme function and retrieval of all tokens for help purposes. - removed old token help and used the technique Flag module uses to list available tokens. - removed old proprietary activity tokens from core modules and using the default ones that come with token.
#284750 allow activity messages to be hidden by role via 'hide activity' permission.
#396960 added a block to show activity of user whose profile page is being viewed.
#413076 check for defined UR types before installing activity defaults.
Adding dependency for trigger module. modifying install to have a foreign key for node table and created datestamp. filled out some more help text. menu item improvements to user settings. user setting are now an opt-out of whatever triggers are in place that utilize an activity action. 3 new hooks (to be documented): hook_activity_records_alter(), hook_activity_message_recorded() and hook_activity_access_records_alter(). new delete activity function. node access is now respected. New access filters that are built dynamically upon hook_activity_access_grants(). new field and sort handlers for creation date.
#427746 fixed typo.
#427746 fixed typo and set missing aid value to pass to activity_invoke_activityapi. Thanks to stella for the patch.
added in ability to delete activity comments. Moved CSS and JS files to be included only when needed as hook_init is to be used for files that should be included on -any- page view which is not our case.
#391770 Added read-write/read-only permissions for comments on activity.
adding new re-write of activity module. creates a configurable action, has permission hooks, and well as views integration and support for (so far) node, comment and user modules (core).
#355022 - by Morbus Iff, sirkitree and jaydub - activity comments.
#360822 - by jaydub - adding ability for users to delete their own activity.
#386916 fixed bad link in t() function
#386916 fixed bad link in t() function.
$row should only be added to $rows if $activity_message is set (in theme_activity_table).
$row should only be added to $rows if an $activity_message is set.
#361539 more stupid misspellings
#361539 more stupid misspellings.
#361380 removed another stray parenthesis.
#361380 removed another stray parenthesis.
#360393 require_once call to module missing '.' before 'module'.
#360856 used wrong name for activityhistory module in module_exists function call.
#360856 used wrong name for activityhistory module in module_exists function call.
#353917 fix regression in default activity message strings. #355633 use drupal_get_path to PHP include files.
#353917 fix regression in default activity message strings. #355633 use module_load_include to PHP include files.
mispelling corrected.
mispelling corrected.
added a uid column to the activity table to facilitate deleting activity reco rds when user is deleted (hook_user) as well as allow user to delete individu al records. Updated activity_insert and activity_user to account for change.
added a uid column to the activity table to facilitate deleting activity records when user is deleted (hook_user) as well as allow user to delete individual records. Updated activity_insert and activity_user to account for change.
made small change to activity contrib module settings page to allow for some tokens for a given operation for a given role to be undefined but defined for another role.
made small change to activity contrib module settings page to allow for some tokens for a given operation for a given role to be undefined but defined for another role.
#342452 missed one line from the patch in this issue.
small code cleanup, more and better code comments.
small code cleanup, more and better code comments.
moved some tokens that were defined in individual contrib modules into the main module for efficiency. Added user picture to user object returned by activity_user_load for use in showing user avatars.
moved some tokens that were defined in individual contrib modules into the ma in module for efficiency. Added user picture to user object returned by activ ity_user_load for use in showing user avatars.
added function activity_delete_link to check for and return a link allowing a user to delete a single activity record.
added function activity_delete_link to check for and return a link allowing a user to delete a single activity record.
reworked theme_activity_table theme function to account for activity record delete links. Added CSS classes to activity table, row and table cells.
reworked theme_activity_table theme function to account for activity record d elete links. Added CSS classes to activity table, row and table cells.
added theme functions theme_activity_user_picture and theme_activity_delete_link. Reorganized theme functions in activity_theme hook.
added theme functions theme_activity_user_picture and theme_activity_delete_link.
Added some additional activity message CSS classes to the theme_activity theme function to allow for more flexible theming. Got rid of the theme override function phptemplate_activity from the activityhistory module and folded the 'new' mark into the activityapi hook.
Added some additional activity message CSS classes to the theme_activity theme function to allow for more flexible theming. Got rid of the theme override function phptemplate_activity from the activityhistory module and folded the 'new' mark into the activityapi hook.
#342452 Patch from Roman S to refactor activity query builder to add support for querying on activity creation date.
arrrgh and one more change missed.
missed one cleanup change
#342452 Patch from Roman S to refactor activity query builder to add support for querying on activity creation date.
#344190 comments cleanup with some help from sirkitree.
#344190 comments cleanup with some help from sirkitree.
#337132 & #316238 hopefully fixed the problem with cron clearing all activity
#337132 & #316238 hopefully fixed the problem with cron clearing all activity
#335534 missed fixing this in the d6 branch.
#307468 preliminary support for deletion of single activity records for users with administer activity permission.
#307468 preliminary support for deletion of single activity records for users with administer activity permission.
rearranged theme functions and added comments. Added theme function for user profile Activity listing Added activity_delete() function for future single activity record delete feature. #308852 #230010 #254632 obey content access restrictions.
rearranged theme functions and added comments. Added theme function for user profile Activity listing Added activity_delete() function for future single activity record delete feature. #308852 #230010 #254632 obey content access restrictions.
#325234 added theme function to allow customizing of the node type when nodes are in context.
#325234 added theme function to allow customizing of the node type when nodes are in context.
tidied up the hook_block implementation.
#325602 fixed broken hook_block implementation. thanks to zilla for the report.
small steps towards making activity page output more themable.
small steps towards making activity page output more themable.
removed a stray parenthesis that was causing a query to fail.
removed a stray parenthesis that was causing a query to fail.
#230003 Added hook_install implementations to activity contrib modules so that default activity tokens are stored on install.
#230003 Added hook_install implementations to activity contrib modules so that default activity tokens are stored on install.
added some help text to the activity contrib module settings pages. Where possible use a more readable name for contrib modules than their filename. Added a function to allow contrib modules to install a default set of activity tokens.
one more small change that was left out.
added some help text to the activity contrib module settings pages. Where possible use a more readable name for contrib modules than their filename. Added a function to allow contrib modules to install a default set of activity tokens.
branched Activity to version 5.4.
Activity module lives for Drupal 6! Risen from the dead.
adding in some utility functions that help will activity tokens and with user privacy optout option.
adding in some utility functions that help will activity tokens and with user privacy optout option.
#259241 reset array on each loop of parent array. thanks to sarfarazsoomro. small coding standard fixes
#259241 reset array on each loop of parent array. thanks to sarfarazsoomro
small coding standards fixes
mergine the 5.x-3-dev with HEAD
performance optimizations. added a simple activity_user_load function to optimize simple user record fetching. applied to all contrib modules.
more coding standards fixes
coding standards cleanup
syncing up HEAD with BETA2 and DEV
#246951 added in limiter to ignore duplicate activity entries within a configurable time period. Thanks to Starnox for patch.
corrected some docs
#246951 reworked patch to attempt to rewrite old filters. Added in documentation for using new filtering system.
#227846 Allow for negative filters for activity_get_activity
#244422 use text for activity operation if stored in activity serialized data array. otherwise use the operation stored in operation column.
#243596 fixed problem with block titles. block name is 'subject' not 'title'.
fixing menu item weirdness #218052 by jaydub
fixing rss titles by jaydub
Activity table was attempting to display blank activity messages
removing the username theme function. causing more problems then it's worth IMHO
#213956 - adding in a note about having to save tokens
patch by mikejoconnor fixing the $activity object before activity_invoke_activityapi
adding in json patch
#211809 suggestion by Lynn: don't use user_load for performance reasons.
new activity API that passes the activity by reference on insert, load and view. Also new theme functions for more control over the display
Doing the activity.module token integration right. There is now a [time-ago] token among others.
Make more link optional
More links in blocks work
RSS working again
Activity table working again
Bugfixes plus a new theme_username implementation that produces the word 'You' if it is your username being themed.
New functionality: roles. Implementing modules now define an arbitrary number of roles that users play, such as requester and requestee, or sender and recipient. These roles give context to the messages that get created so that you can have messages like 'X is your newest fan' and 'You are now a fan of Y'
whitespace
Correct a bug where tokens accumulate for every new implementing module
Tighten string comparison in activity_get_activity so that anonymous don't get a My Activity block
Continuing the rewrite with major changes. Added a scope column to the activity table. At this time the scope is limited to ALL or SELF and it distnguishes between activity messages that only the global user should see and those that everyone should see. Introduced a dependency on token module which will henceforth handle token parsing. So far integration with token module has only happened for nodeactivity and user_relationshipsactivity. Reduced the amount of data that is stored in tokens at activity write time and increased the number of activity messages that are generated at activity display time. This fixes the bug where activity messages violate access control, for example when a user doesn't have 'access user profiles' permission.
missing break in switch caused wrong block to appear
Moving global tokens into activity module. Removed message limit on config settings. Made strings translatable
addition of user_relationshipsactivity.module (yeah, that's quite a name\!) and some code that simultaneously fixes token handling and breaks it too. Also, this version requires running update.php and your variable table will get 128 char columns, like D6 has. This is probably temporary if I find time to get that stuff out of the variable table and into it's own, so if any of what I'm saying makes you nervous, don't use this branch of the module =)
all major core changes which required this branching
#197513: activity block fix by katbailey
reverting 5--2 branch to 5--2-1-1 tag
creating DRUPAL-5--3 branch because of large core changes to the module
adding tests
merging HEAD into DRUPAL-5--2 branch
#196160 - block now shows friends activity - katbailey
#195965, #195969, #196003, #196014 - various bug fixes and a refactoring from includes to contrib modules by robertDouglass and sirkitree
fixing the following bugs: 195752 - uninstall hook, 195772 - cleanup, 195777 - reduce hardcoded html, 195751 - cleaner includes, 195799 - refactor _page and theme of, 195839 - _activity_off improve
#178398 by sirkitree: block now shows, also reworked some logic of how the user is detected
fixing issue #178398
fixing setting page
initial commit of this module
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |