/[drupal]/contributions/modules/fb/fb.module
ViewVC logotype

Log of /contributions/modules/fb/fb.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 19 23:08:51 2009 UTC (9 days, 7 hours ago) by yogadex
Branch: MAIN
CVS Tags: HEAD
Changes since 1.59: +4 -2 lines
Diff to previous 1.59
display message only to admins

Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 17 14:53:44 2009 UTC (11 days, 16 hours ago) by yogadex
Branch: MAIN
Changes since 1.58: +30 -3 lines
Diff to previous 1.58
Functions for testing whether pages are canvas or connect.
E_NOTICE warning fixes

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 11 21:03:10 2009 UTC (2 weeks, 3 days ago) by yogadex
Branch: MAIN
Changes since 1.57: +23 -12 lines
Diff to previous 1.57
numerous fixes for E_NOTICE warnings

Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 9 23:15:47 2009 UTC (2 weeks, 5 days ago) by yogadex
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56
#614260; at least partial fix.  resolves issues with iframe support in fb_fbml theme and infinite redirect when fb_connect and iframes used together.

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 27 21:24:06 2009 UTC (4 weeks, 4 days ago) by yogadex
Branch: MAIN
Changes since 1.55: +7 -7 lines
Diff to previous 1.55
Changed url alter functions.  http://drupal.org/node/530352#comment-2186004

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 27 20:39:52 2009 UTC (4 weeks, 4 days ago) by yogadex
Branch: MAIN
Changes since 1.54: +5 -4 lines
Diff to previous 1.54
avoid use of dprint_r()

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 23 20:44:49 2009 UTC (5 weeks, 1 day ago) by yogadex
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53
How did I check in that typo?

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 22 23:19:51 2009 UTC (5 weeks, 2 days ago) by yogadex
Branch: MAIN
Changes since 1.52: +27 -4 lines
Diff to previous 1.52
fb_format_username, for convenience until format_username() is committed (hopefully D7)

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 14 22:34:03 2009 UTC (3 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.51: +3 -2 lines
Diff to previous 1.51
Now supporting showFeedDialog on canvas pages, as well as connect.
Changes and updates to template forms, bringing in sync with changes to facebook apis.

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 13 21:48:09 2009 UTC (3 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.50: +80 -0 lines
Diff to previous 1.50
#530352 by Dave Reid; change custom_url functions to be compatible with url_alter module

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 6 23:39:56 2009 UTC (3 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.49: +2 -1 lines
Diff to previous 1.49
#525556 by neilnz; define constant FB_OP_GET_ALL_APPS

Revision 1.42.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 8 19:17:29 2009 UTC (4 months, 3 weeks ago) by yogadex
Branch: DRUPAL-5--2
Changes since 1.42.2.3: +44 -3 lines
Diff to previous 1.42.2.3 , to branch point 1.42 , to next main 1.60
added fb_drupal_alter, since drupal_alter() does not exist in D5

Revision 1.42.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 15 18:53:33 2009 UTC (5 months, 2 weeks ago) by yogadex
Branch: DRUPAL-5--2
Changes since 1.42.2.2: +5 -5 lines
Diff to previous 1.42.2.2 , to branch point 1.42
Minor comment fix

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 11 18:00:24 2009 UTC (5 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.48: +11 -7 lines
Diff to previous 1.48
fb_get_friends defaults to current app, on canvas and connect pages.

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 20 00:16:58 2009 UTC (6 months, 1 week ago) by yogadex
Branch: MAIN
Changes since 1.47: +7 -4 lines
Diff to previous 1.47
add email_hashes to user info.
eliminated a php warning.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 11 17:35:52 2009 UTC (6 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46
FB_FBU_CURRENT is a reasonable default for fb_api_init

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 16 20:32:57 2009 UTC (7 months, 1 week ago) by yogadex
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45
Support for proxied email, including changing size of drupal's users.mail column.

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 31 03:03:00 2009 UTC (7 months, 4 weeks ago) by yogadex
Branch: MAIN
Changes since 1.44: +5 -2 lines
Diff to previous 1.44
avoid use of FB_FBU_NO_SESSION, as it causes cookies to be set which conflict with Facebook Connect

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 18 23:59:53 2009 UTC (8 months, 1 week ago) by yogadex
Branch: MAIN
Changes since 1.43: +23 -25 lines
Diff to previous 1.43
introduced a way to check session key, and cleanup

Revision 1.42.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 12 23:28:20 2009 UTC (8 months, 2 weeks ago) by yogadex
Branch: DRUPAL-5--2
Changes since 1.42.2.1: +3 -27 lines
Diff to previous 1.42.2.1 , to branch point 1.42
removed very obsolete infinite session help page

Revision 1.42.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 12 17:52:14 2009 UTC (8 months, 2 weeks ago) by yogadex
Branch: DRUPAL-5--2
Changes since 1.42: +23 -1 lines
Diff to previous 1.42
added a method to ping facebook and confirm api session is valid

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 5 17:07:35 2009 UTC (8 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.42: +52 -43 lines
Diff to previous 1.42
#235457 by Dave Cohen; initial upgrade to Drupal 6

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 2 20:42:24 2009 UTC (8 months, 4 weeks ago) by yogadex
Branch: MAIN
CVS Tags: DRUPAL-5--0-2
Branch point for: DRUPAL-5--2
Changes since 1.41: +22 -19 lines
Diff to previous 1.41
Now setting global $fb and $fb_app for fbConnect requests as well as canvas pages.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 2 16:49:30 2009 UTC (8 months, 4 weeks ago) by yogadex
Branch: MAIN
Changes since 1.40: +6 -6 lines
Diff to previous 1.40
fb_validate_params is called for us, we do not need to call it.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 5 02:47:28 2009 UTC (9 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.39: +4 -1 lines
Diff to previous 1.39
Automatically set properties when application is saved.

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 3 22:54:42 2009 UTC (9 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.38: +10 -7 lines
Diff to previous 1.38
Now showing error message when facebook api could not be loaded.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 2 19:30:57 2009 UTC (9 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.37: +5 -3 lines
Diff to previous 1.37
#368043: use isset to avaoid php notices

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 14 22:56:33 2009 UTC (10 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
#355577
Now using latest PHP libs from facebook.
Replaced users_isAppAdded with users_isAppUser

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 12 23:14:24 2008 UTC (12 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35
Fixes an error in session logic.  Allow sessions which do not expire to persist.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 8 19:04:14 2008 UTC (12 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.34: +13 -5 lines
Diff to previous 1.34
#329810 by ainigma32: fixes arg undefined error

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 6 20:14:56 2008 UTC (12 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.33: +9 -3 lines
Diff to previous 1.33
More care to avoid expired sessions.  Fixed an error in api_init logic

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 19:11:54 2008 UTC (12 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.32: +28 -26 lines
Diff to previous 1.32
Introducing FB_FBU_NO_SESSION, a replacement for FB_FBU_INFINITE_SESSION, which is now deprecated.
Still TODO: clean up all references to FB_FBU_INFINITE_SESSION

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 31 17:55:20 2008 UTC (12 months, 4 weeks ago) by yogadex
Branch: MAIN
Changes since 1.31: +24 -26 lines
Diff to previous 1.31
fixed indentation, added missing FB_OP constant

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 30 17:49:18 2008 UTC (12 months, 4 weeks ago) by yogadex
Branch: MAIN
Changes since 1.30: +62 -20 lines
Diff to previous 1.30
Changed signature of hook_fb.
Changed user handling.
Both of these changes are designed to make fbConnect authentication easier to support.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 11 00:34:42 2008 UTC (14 months, 2 weeks ago) by yogadex
Branch: MAIN
CVS Tags: DRUPAL-5--0-1
Changes since 1.29: +4 -1 lines
Diff to previous 1.29
Friend autocomplete now supporting comma-separated names

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 3 22:41:32 2008 UTC (14 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.28: +10 -8 lines
Diff to previous 1.28
Support refresh of user info cache.
Added pic and square_pic to user info data.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 15 18:34:27 2008 UTC (15 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.27: +20 -11 lines
Diff to previous 1.27
Stylesheets and javascript are now included by reference, rather than inline.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 9 19:24:58 2008 UTC (15 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26
format watchdog message as error.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 8 17:18:30 2008 UTC (15 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.25: +19 -6 lines
Diff to previous 1.25
Added fb_log_exception helper function for exception catching.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 5 20:27:06 2008 UTC (15 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.24: +5 -4 lines
Diff to previous 1.24
Added a message parameter to report_errors function

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 31 04:47:31 2008 UTC (15 months, 4 weeks ago) by yogadex
Branch: MAIN
Changes since 1.23: +44 -41 lines
Diff to previous 1.23
This branch (version 2.x) now using the newer API from Facebook.
Initial changes to use new session model (no "adding" of apps).
Still more work to be done version 2.x.

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 25 19:12:43 2008 UTC (16 months ago) by yogadex
Branch: MAIN
Branch point for: DRUPAL-5
Changes since 1.22: +3 -2 lines
Diff to previous 1.22
indentation, line break

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 11 23:39:24 2008 UTC (16 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.21: +13 -7 lines
Diff to previous 1.21
Fixed bugs when multiple ahah forms are on same page.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 10 06:38:21 2008 UTC (16 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.20: +30 -1 lines
Diff to previous 1.20
Initial support for AHAH in forms in FBML.  Using FBJS and an abstraction layer similar to that used in the ahah_forms module.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 20 20:04:26 2008 UTC (17 months, 1 week ago) by yogadex
Branch: MAIN
Changes since 1.19: +31 -4 lines
Diff to previous 1.19
Added a sanity check to session management.  Relevant when a user adds an iframe app, then removes it.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 17 22:42:03 2008 UTC (17 months, 1 week ago) by yogadex
Branch: MAIN
Changes since 1.18: +50 -48 lines
Diff to previous 1.18
Cleaned out some deprecated code.
Added a helper function to cache user info in session, avoiding some inefficient queries to facebook servers.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 20 05:36:59 2008 UTC (18 months, 1 week ago) by yogadex
Branch: MAIN
Changes since 1.17: +104 -36 lines
Diff to previous 1.17
fb_api_init now tries harder to log in as the user passed in.
improved fb_get_friends to try to log in as the user who's friends are being enquired about.  This makes it more reliable on non-canvas pages, but still may not function properly (ie if the user has not established an infinite session).

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 8 02:10:56 2008 UTC (18 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.16: +33 -6 lines
Diff to previous 1.16
Fix to iframe session managment.
Disabled problematic fb_node_grants function.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 1 19:26:28 2008 UTC (18 months, 4 weeks ago) by yogadex
Branch: MAIN
Changes since 1.15: +4 -41 lines
Diff to previous 1.15
Moved theme related code to fb_canvas and made custom theme configurable.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 18 21:58:58 2008 UTC (19 months, 1 week ago) by yogadex
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
fix for a warning reported on d.o.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 7 20:56:49 2008 UTC (19 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.13: +125 -238 lines
Diff to previous 1.13
Numerous changes to Drupal for Facebook.  Significant updates.  Manual configuration changes required.  http://drupalforfacebook.org/node/1055

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 27 22:11:44 2008 UTC (20 months ago) by yogadex
Branch: MAIN
CVS Tags: DRUPAL-5--0-0
Changes since 1.12: +13 -3 lines
Diff to previous 1.12
Set custom theme earlier in request cycle (hook_init), less chance that theme_init will be called before us.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 18 02:46:46 2008 UTC (20 months, 1 week ago) by yogadex
Branch: MAIN
Changes since 1.11: +9 -0 lines
Diff to previous 1.11
Fix for intermittent drupal_goto problems.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 8 11:16:49 2008 UTC (20 months, 3 weeks ago) by yogadex
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10
Improved _fb_handling_form test to work even when form_token not present, as can be the case when user is not logged in.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 12 15:29:19 2007 UTC (23 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.9: +18 -2 lines
Diff to previous 1.9
Fixed #198582, errors when facebook user has no friends.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 11 08:01:12 2007 UTC (23 months, 2 weeks ago) by yogadex
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8
fixed link to readme.txt when clean urls not enabled.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 4 08:17:50 2007 UTC (2 years ago) by yogadex
Branch: MAIN
Changes since 1.7: +22 -16 lines
Diff to previous 1.7
now handling nested fb_init_path calls, and not logging is as infinite session when user visits canvas page.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 26 19:59:17 2007 UTC (2 years, 1 month ago) by yogadex
Branch: MAIN
Changes since 1.6: +55 -16 lines
Diff to previous 1.6
Now using php4 client libraries, even if running php5.  This keeps support for php4, while avoiding uncaught exception problems.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 15 18:39:09 2007 UTC (2 years, 1 month ago) by yogadex
Branch: MAIN
Changes since 1.5: +26 -15 lines
Diff to previous 1.5
Now using fb_infinite to handle infinite sessions keys.  Cron support re-worked to be based on actions.  Actions for performing cron jobs, updating profile fbml, updating fbml references.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 12 21:53:41 2007 UTC (2 years, 1 month ago) by yogadex
Branch: MAIN
Changes since 1.4: +7 -0 lines
Diff to previous 1.4
Now checking that settings.inc has been included

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 10 02:56:11 2007 UTC (2 years, 1 month ago) by yogadex
Branch: MAIN
Changes since 1.3: +79 -14 lines
Diff to previous 1.3
Re-arranged a number of things to make it possible to connect to facebook API from non-canvas pages.  Added fb_actions, where actions will live that invoke facebook APIs.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 5 08:17:20 2007 UTC (2 years, 1 month ago) by yogadex
Branch: MAIN
Changes since 1.2: +56 -28 lines
Diff to previous 1.2
Now using hook_fb to query add-on modules for facebook user id and infinite session key.  This allows us to display information about the facebook user on drupal's user page.  But more importantly lets third-party modules query for any information facebook provides.  And paves the way for interesting actions and cleaner cron implementation.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 26 17:17:50 2007 UTC (2 years, 2 months ago) by yogadex
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Initial checkin of FBML theme.  Part of Drupal for Facebook.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 26 17:08:21 2007 UTC (2 years, 2 months ago) by yogadex
Branch: MAIN
Initial checkin of Drupal for Facebook modules.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2