Log of /contributions/modules/flag_friend/flag_friend.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.3.4.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 14 02:52:11 2009 UTC
(10 months, 1 week ago)
by
sirkitree
Branch:
DRUPAL-6--1
Changes since
1.3.4.9: +25 -32 lines
Diff to
previous 1.3.4.9
, to
branch point 1.3
After using on a production site, I've made some changes to the module that benefitted the site and should benefit others as well.
- flag_friend_determine_friend_status() now has the ability to reset the caching. was having some problems related to not being able to do so.
- changed default pending text, will make this customizable in the future.
- added a css class to the 'unfriend' flag and gave it the unflag title.
- removed the persistent drupal_set_message as this is kind of annoying. will reimplement with a setting if requested by anyone.
- friend notification setting title and description look better and fit with other account setting formats.
- better checking for unfriend, hopefully fixes a few of the reported bugs.
- status check global has been changed due to the caching mechanism.
- updated the default text for the default flag to include the [user] token.
- using reloadWhenDone in hook_popup as the content target that popups does is not always reliable. I'd rather refresh the page then the incorrect content area.
Revision
1.3.4.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Dec 3 18:20:57 2008 UTC
(11 months, 3 weeks ago)
by
sirkitree
Branch:
DRUPAL-6--1
Changes since
1.3.4.3: +16 -13 lines
Diff to
previous 1.3.4.3
, to
branch point 1.3
-fixing bug in the approval process.
- fixing typo.
- reordered some commands.
- alter flag link so we cannot flag ourself as a friend.
- removed not about patching. default flags are now in flag core, dev.
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Nov 21 18:50:29 2008 UTC
(12 months ago)
by
sirkitree
Branch:
MAIN
Changes since
1.4: +24 -15 lines
Diff to
previous 1.4
- forcing unflag_confirmation label for pending/cancel.
- replacing \n's for enters.
- general cleanup of the default email theme function.
- better default message for unflag_confirmation.
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Nov 21 17:44:30 2008 UTC
(12 months ago)
by
sirkitree
Branch:
MAIN
Changes since
1.3: +183 -69 lines
Diff to
previous 1.3
- install does not run it's own quiery to install it's flag, there is now an implementation of hook_flag_default_flags().
- using an IF NOT EXISTS in table creation for the case of shared tables.
- fcid is now primary key.
- using integer defines for statuses instead of passing around strings.
- more specific string replacements in hook_preprocess_flag().
- new role perm to set if a user can receive friend email notifications.
- changed user/N/flag-friend to user/N/friends.
- optimized the query for pulling messages.
- implemented my own confirm callback in order to have it for friend denial/unfriending.
- more accurate string replacement in hook_user_link().
- static caching of status determination keyed by the users being compared.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 19 22:09:53 2008 UTC
(12 months, 1 week ago)
by
sirkitree
Branch:
MAIN
Branch point for:
DRUPAL-5,
DRUPAL-6--1
Changes since
1.2: +79 -100 lines
Diff to
previous 1.2
- removed flag_form dependency now that flag has link types, we form alter instead.
- optimized hook_flag implementation a bit.
- specificity on the flag we operate on in flag_friend_preprocess_flag().
- do not negate an ajax now that we have link types.
- optimized hook_user(); we do not need any variable set, therefor removed case load and update.
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Nov 10 23:32:20 2008 UTC
(12 months, 2 weeks ago)
by
sirkitree
Branch:
MAIN
Changes since
1.1: +40 -8 lines
Diff to
previous 1.1
adding a hook user implementation in order to provide a way for users to set whether they want email notifications of friend requests
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.