]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
13 years agoOnly show photo uploads for logged in users
Max Shinn [Mon, 27 Dec 2010 23:12:25 +0000 (17:12 -0600)]
Only show photo uploads for logged in users

13 years agoIndividual ids for photos
Max Shinn [Mon, 27 Dec 2010 22:57:13 +0000 (16:57 -0600)]
Individual ids for photos

13 years agoFixing photo page replies and descriptions
Max Shinn [Mon, 27 Dec 2010 22:39:21 +0000 (16:39 -0600)]
Fixing photo page replies and descriptions

13 years agoImproved nav bar
Max Shinn [Mon, 27 Dec 2010 13:42:00 +0000 (07:42 -0600)]
Improved nav bar

13 years agoUntabify
Max Shinn [Mon, 27 Dec 2010 02:51:17 +0000 (20:51 -0600)]
Untabify

13 years agoUsability with photos tab
Max Shinn [Mon, 27 Dec 2010 02:42:45 +0000 (20:42 -0600)]
Usability with photos tab

13 years agoShow photos on all of a user's pages
Max Shinn [Sat, 25 Dec 2010 21:56:46 +0000 (15:56 -0600)]
Show photos on all of a user's pages

13 years agoLinks to photo pages in gallery
Max Shinn [Sat, 25 Dec 2010 21:35:20 +0000 (15:35 -0600)]
Links to photo pages in gallery

13 years agoMerge branch 'master' of git://gitorious.org/~trombonechamp/statusnet/trombonechamps...
Max Shinn [Sat, 25 Dec 2010 14:02:17 +0000 (08:02 -0600)]
Merge branch 'master' of git://gitorious.org/~trombonechamp/statusnet/trombonechamps-gnu-social

13 years agoIndividual photo page
Max Shinn [Sat, 25 Dec 2010 14:02:06 +0000 (08:02 -0600)]
Individual photo page

13 years agoapparently we need a primary key in every table. this fixes an error in the logs.
Ian Denhardt [Thu, 23 Dec 2010 21:26:21 +0000 (16:26 -0500)]
apparently we need a primary key in every table. this fixes an error in the logs.

13 years agoLocalization fixes (wouldn't build previously)
Ian Denhardt [Thu, 23 Dec 2010 07:33:12 +0000 (02:33 -0500)]
Localization fixes (wouldn't build previously)

13 years agoadded link to photo upload page.
Ian Denhardt [Tue, 21 Dec 2010 21:25:11 +0000 (16:25 -0500)]
added link to photo upload page.

13 years agoAdded a link to the user's photos on their profile page.
Ian Denhardt [Tue, 21 Dec 2010 20:33:49 +0000 (15:33 -0500)]
Added a link to the user's photos on their profile page.

13 years agono longer have to be logged in to merely view a photo album.
Ian Denhardt [Tue, 21 Dec 2010 19:54:02 +0000 (14:54 -0500)]
no longer have to be logged in to merely view a photo album.

13 years agocorrected height/width on ad-hoc'd thumnails.
Ian Denhardt [Tue, 21 Dec 2010 03:07:03 +0000 (22:07 -0500)]
corrected height/width on ad-hoc'd thumnails.

13 years agoPhoto federation is basically working now, could use some polish.
Ian Denhardt [Tue, 21 Dec 2010 03:02:50 +0000 (22:02 -0500)]
Photo federation is basically working now, could use some polish.

13 years agoFixed a typo that rendered firefox (and probably others) unable to upload photos.
Ian Denhardt [Mon, 20 Dec 2010 21:52:25 +0000 (16:52 -0500)]
Fixed a typo that rendered firefox (and probably others) unable to upload photos.

13 years agoMerge branch '1.0.x' of git://gitorious.org/statusnet/mainline
Ian Denhardt [Mon, 20 Dec 2010 20:17:31 +0000 (15:17 -0500)]
Merge branch '1.0.x' of git://gitorious.org/statusnet/mainline

Conflicts:
lib/action.php
plugins/OStatus/actions/ostatusinit.php

13 years agoMerge branch '0.9.x' into 1.0.x
Brion Vibber [Sat, 18 Dec 2010 01:13:21 +0000 (17:13 -0800)]
Merge branch '0.9.x' into 1.0.x

Conflicts:
classes/Memcached_DataObject.php

13 years agoTicket #2959: implement api/users/profile_image endpoint in Twitter-compat API
Brion Vibber [Sat, 18 Dec 2010 01:09:54 +0000 (17:09 -0800)]
Ticket #2959: implement api/users/profile_image endpoint in Twitter-compat API

13 years agoMerge branch 'sorting' into 0.9.x
Brion Vibber [Sat, 18 Dec 2010 00:31:19 +0000 (16:31 -0800)]
Merge branch 'sorting' into 0.9.x

13 years agoSort indexing fix for profile sidebar: add group_member_profile_id_created_idx to...
Brion Vibber [Sat, 18 Dec 2010 00:22:26 +0000 (16:22 -0800)]
Sort indexing fix for profile sidebar: add group_member_profile_id_created_idx to group_member table, streamlines sorting of your group memberships in the sidebar

13 years agofix typo in showstream
Brion Vibber [Sat, 18 Dec 2010 00:21:33 +0000 (16:21 -0800)]
fix typo in showstream

13 years agoSorting index fix for role lookups: adds profile_role_role_created_profile_id_idx...
Brion Vibber [Sat, 18 Dec 2010 00:12:44 +0000 (16:12 -0800)]
Sorting index fix for role lookups: adds profile_role_role_created_profile_id_idx index on profile_role

13 years agoUpdate sorting for conversation views: adds notice_conversation_created_id_idx index...
Brion Vibber [Sat, 18 Dec 2010 00:08:37 +0000 (16:08 -0800)]
Update sorting for conversation views: adds notice_conversation_created_id_idx index on notice, replacing more limited notice_conversation_idx

13 years agoUpdate Twitter calls to use documented API endpoints
Zach Copley [Fri, 17 Dec 2010 23:57:22 +0000 (15:57 -0800)]
Update Twitter calls to use documented API endpoints

see: http://groups.google.com/group/twitter-api-announce/msg/34b013f4d092737f

13 years agoUpdate sorting for User::repeatedByMe() -- currently unused. Likely not ideally index...
Brion Vibber [Fri, 17 Dec 2010 23:28:55 +0000 (15:28 -0800)]
Update sorting for User::repeatedByMe() -- currently unused. Likely not ideally indexed yet.

13 years agoUpdate sorting on api/statuses/retweets_of_me; was and remains poorly indexed, but...
Brion Vibber [Fri, 17 Dec 2010 23:25:19 +0000 (15:25 -0800)]
Update sorting on api/statuses/retweets_of_me; was and remains poorly indexed, but will use updated sorting method.

13 years agoUpdate sorting on api/statuses/retweets: adds notice_repeat_of_created_id_idx index...
Brion Vibber [Fri, 17 Dec 2010 23:13:09 +0000 (15:13 -0800)]
Update sorting on api/statuses/retweets: adds notice_repeat_of_created_id_idx index to replace notice_repeatof_idx

13 years agowork around borkage in statuses/repeats -- tries to check an offset var that's not...
Brion Vibber [Fri, 17 Dec 2010 23:04:10 +0000 (15:04 -0800)]
work around borkage in statuses/repeats -- tries to check an offset var that's not there. use the limit var which is there instead

13 years agoUpdate sorting for group inbox timelines; adds group_inbox_group_id_created_notice_id...
Brion Vibber [Fri, 17 Dec 2010 22:51:37 +0000 (14:51 -0800)]
Update sorting for group inbox timelines; adds group_inbox_group_id_created_notice_id_idx index to group_inbox table

13 years agoUpdate sorting on reply/mentions timeline: added reply_profile_id_modified_notice_id_...
Brion Vibber [Fri, 17 Dec 2010 22:43:45 +0000 (14:43 -0800)]
Update sorting on reply/mentions timeline: added reply_profile_id_modified_notice_id_idx index to reply table

13 years agoUpdate sorting for tag-filtered public timeline: needs notice_tag_tag_created_notice_...
Brion Vibber [Fri, 17 Dec 2010 22:37:46 +0000 (14:37 -0800)]
Update sorting for tag-filtered public timeline: needs notice_tag_tag_created_notice_id_idx index added to notice_tag

13 years agoadd fixme for since_id/max_id on fave streaming (?)
Brion Vibber [Fri, 17 Dec 2010 22:32:06 +0000 (14:32 -0800)]
add fixme for since_id/max_id on fave streaming (?)

13 years agoIn LdapCommon checkPassword/changePassword only get the 'dn' attribute as an optimiza...
Craig Andrews [Fri, 17 Dec 2010 22:22:52 +0000 (17:22 -0500)]
In LdapCommon checkPassword/changePassword only get the 'dn' attribute as an optimization as no other attributes are necessary.

Thanks to drslump reported at http://status.net/open-source/issues/2955

13 years agoUpdate sorting for user tagged timelines (indexing was bad before and remains bad...
Brion Vibber [Fri, 17 Dec 2010 21:45:40 +0000 (13:45 -0800)]
Update sorting for user tagged timelines (indexing was bad before and remains bad -- we need some DB changes to make this one nice)

13 years agoUpdate notice sorting for profile streams; extract more common code to Notice::addSin...
Brion Vibber [Fri, 17 Dec 2010 21:20:38 +0000 (13:20 -0800)]
Update notice sorting for profile streams; extract more common code to Notice::addSinceId() and Notice::addMaxId()

13 years agoNotice::whereSinceId() and Notice::whereMaxId() encapsulate logic for building where...
Brion Vibber [Fri, 17 Dec 2010 21:03:18 +0000 (13:03 -0800)]
Notice::whereSinceId() and Notice::whereMaxId() encapsulate logic for building where clauses for since_id/max_id parameters. Can override the field names from 'id' and 'created'.

13 years agoSwitch public timeline to new sorting; new index notice_created_id_is_local_idx
Brion Vibber [Fri, 17 Dec 2010 20:47:50 +0000 (12:47 -0800)]
Switch public timeline to new sorting; new index notice_created_id_is_local_idx

http://status.net/wiki/Sorting_changes

13 years agoInitial switch of public timeline stream to use timestamps for internal sorting
Brion Vibber [Fri, 17 Dec 2010 20:38:38 +0000 (12:38 -0800)]
Initial switch of public timeline stream to use timestamps for internal sorting

13 years agoNotice::getAsTimestamp() static function to look up the timestamp for a given notice...
Brion Vibber [Fri, 17 Dec 2010 20:09:02 +0000 (12:09 -0800)]
Notice::getAsTimestamp() static function to look up the timestamp for a given notice, even if it's been deleted. To be used for converting since_id/max_id processing to use timestamp sorting internally.

13 years agoonly run explain on selects
Brion Vibber [Fri, 17 Dec 2010 20:08:46 +0000 (12:08 -0800)]
only run explain on selects

13 years agoEvent hook for SQLProfile
Brion Vibber [Fri, 17 Dec 2010 19:46:11 +0000 (11:46 -0800)]
Event hook for SQLProfile

13 years agoSQLProfile: quickie plugin to run DB queries through 'explain' and log ones that...
Brion Vibber [Fri, 17 Dec 2010 19:41:40 +0000 (11:41 -0800)]
SQLProfile: quickie plugin to run DB queries through 'explain' and log ones that trigger filesort or temporary table

13 years agoDocument a few undocumented administration related events
Zach Copley [Fri, 17 Dec 2010 04:13:17 +0000 (20:13 -0800)]
Document a few undocumented administration related events

13 years agoMerge branch '0.9.x' into 1.0.x
Brion Vibber [Fri, 17 Dec 2010 01:12:35 +0000 (17:12 -0800)]
Merge branch '0.9.x' into 1.0.x

13 years agoTickets #2112, 2333, 1677, 2362, 2831: fix AJAX form posting on SSL page views with...
Brion Vibber [Fri, 17 Dec 2010 01:02:02 +0000 (17:02 -0800)]
Tickets #2112, 2333, 1677, 2362, 2831: fix AJAX form posting on SSL page views with ssl=sometimes

These have been failing for ages due to our outputting full URLs all the time, usually with the default protocol instead of the current one.
Forms would get output with an http: URL in their contents even when destined for an HTTPS page; while a regular form submission would just warn you about the secure->insecure transition, the AJAX code was failing outright and then not bothering to fall back to the regular submission.

I found it was easy to detect the mismatch -- just check the target URL and the current page's protocol before submitting.

Since failing over to non-AJAX submission to the HTTP URL throws up a warning, I figured it'd be easier (and much nicer for users) to just let it rewrite the target URL to use the secure protocol & hostname before doing the final submit.
This check is now automatically done for anything that calls SN.U.FormXHR() -- making most of our buttons on notices and profile/group headers work naturally.
The notice form setup code also runs the rewrite, which gets posting working without an error dialog.

I'd prefer in the long run to simply use relative URLs in most of our output; it avoids this problem completely and lets users simply stay in the current protocol mode instead of being constantly switched back to HTTP when clicking around.
(Note that folks using the SSLAlways extension to Firefox, for instance, will have their browsers constantly sending them back to HTTP pages, mimicking the desired user experience even though we haven't fully implemented it. These folks are likely going to be a lot happier with forms that submit correctly to go along with it!)

13 years agoFix for ticket #2910: fix inconsistencies in notice posting response display that...
Brion Vibber [Fri, 17 Dec 2010 00:18:49 +0000 (16:18 -0800)]
Fix for ticket #2910: fix inconsistencies in notice posting response display that broke help command, could be generally wonky

Previous code was importing nodes from the XHR result into current document, then pulling text content of what might be the right element, then concat'ing that straight into HTML. Eww! Now pulling the text content straight from the XHR result -- same element that we check for existence of -- and using jQuery's own text() to do the getting and setting of text. Also note that some browsers might have been pulling HTML instead of text, or other funkiness.

13 years agoMerge branch '0.9.x' into 1.0.x
Brion Vibber [Thu, 16 Dec 2010 23:56:19 +0000 (15:56 -0800)]
Merge branch '0.9.x' into 1.0.x

Conflicts:
plugins/CacheLog/locale/nb/LC_MESSAGES/CacheLog.po

13 years agoAdd lots of doc comments to util.js. Most stuff makes some kind of stuff, but some...
Brion Vibber [Thu, 16 Dec 2010 23:34:51 +0000 (15:34 -0800)]
Add lots of doc comments to util.js. Most stuff makes some kind of stuff, but some is kinda.... funky :D

These comments are all stripped during minification, so util.min.js remains unchanged.

13 years agowork in progress
Brion Vibber [Thu, 16 Dec 2010 23:04:48 +0000 (15:04 -0800)]
work in progress

13 years agoFix ticket #2929: router cache now clears itself when switching singleuser mode in...
Brion Vibber [Thu, 16 Dec 2010 21:42:10 +0000 (13:42 -0800)]
Fix ticket #2929: router cache now clears itself when switching singleuser mode in and out

13 years agoadd .mo files to .gitignore
Brion Vibber [Thu, 16 Dec 2010 18:38:38 +0000 (10:38 -0800)]
add .mo files to .gitignore

13 years agoL10n updates and removal of superfluous whitespace.
Siebrand Mazeland [Thu, 16 Dec 2010 15:33:39 +0000 (16:33 +0100)]
L10n updates and removal of superfluous whitespace.

13 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 16 Dec 2010 15:30:30 +0000 (16:30 +0100)]
Localisation updates from http://translatewiki.net.

13 years agoMakefile to re-generate util.min.js (needs yui-compressor in path)
Brion Vibber [Wed, 15 Dec 2010 23:00:44 +0000 (15:00 -0800)]
Makefile to re-generate util.min.js (needs yui-compressor in path)

13 years agoFix for ticket #2942: character counter now updates on cut and paste operations made...
Brion Vibber [Wed, 15 Dec 2010 22:57:09 +0000 (14:57 -0800)]
Fix for ticket #2942: character counter now updates on cut and paste operations made with mouse or menu

This uses the 'copy' and 'paste' DOM events to trigger a counter update. I haven't had a chance to 100% confirm that middle-button click on X11 triggers the event, but it ought to.
Cut and paste events from context menu and main edit menu known good in:
* Firefox 4.08b-pre
* IE 9 preview 7
* IE 8 current
* Chrome 8 beta current
* Safari 5.0.3

Opera is listed as not supporting these events, oh well.

Note that using a *delete* command from a menu doesn't trigger an event. Sigh, you can't win everything.

13 years agoCleaner code to avoid a couple PHP notices from accessing uninitialized variables...
Brion Vibber [Wed, 15 Dec 2010 20:14:25 +0000 (12:14 -0800)]
Cleaner code to avoid a couple PHP notices from accessing uninitialized variables in ostatus profile discovery (these cases hit checking diaspora accounts)

13 years agoMerge branch '0.9.x' into 1.0.x
Brion Vibber [Wed, 15 Dec 2010 19:59:31 +0000 (11:59 -0800)]
Merge branch '0.9.x' into 1.0.x

13 years agoMark OembedAction, XrdAction, and (plugin) AutocompleteAction as read-only. Tweaked...
Brion Vibber [Wed, 15 Dec 2010 00:14:15 +0000 (16:14 -0800)]
Mark OembedAction, XrdAction, and (plugin) AutocompleteAction as read-only. Tweaked ApiStatusesShow and ApiTimelineUser to still claim read-only when hit with a HEAD request (usually link checkers or a precursor to a GET, and should be semantically equivalent to a GET without actually transferring data)

13 years agoAtomPub discovery fix: gets MarsEdit's auto API detection working.
Brion Vibber [Tue, 14 Dec 2010 22:43:50 +0000 (14:43 -0800)]
AtomPub discovery fix: gets MarsEdit's auto API detection working.

Router entry for AtomPubService was slightly off, generating an incorrect link in the RSD data.

13 years agoAtomPub test cases: make sure the posted entry appears in the feed, and that it disap...
Brion Vibber [Tue, 14 Dec 2010 22:07:25 +0000 (14:07 -0800)]
AtomPub test cases: make sure the posted entry appears in the feed, and that it disappears after deletion

13 years agoAtomPub tetss: confirming edit URL linked properly in individual entry return
Brion Vibber [Tue, 14 Dec 2010 21:52:44 +0000 (13:52 -0800)]
AtomPub tetss: confirming edit URL linked properly in individual entry return

13 years agoAtomPub tests: fix delete test
Brion Vibber [Tue, 14 Dec 2010 21:25:22 +0000 (13:25 -0800)]
AtomPub tests: fix delete test

13 years agoAtomPub tests: fix for atom post check
Brion Vibber [Tue, 14 Dec 2010 21:23:09 +0000 (13:23 -0800)]
AtomPub tests: fix for atom post check

13 years agoAtomPub fix: correct the response URL given from posting a new message (wrong paramet...
Brion Vibber [Tue, 14 Dec 2010 21:19:22 +0000 (13:19 -0800)]
AtomPub fix: correct the response URL given from posting a new message (wrong parameter meant we got the main page instead of the message's URL)

13 years agoAtomPub fixes: return '201 Created' on POST of new message; better error checking...
Brion Vibber [Tue, 14 Dec 2010 21:12:24 +0000 (13:12 -0800)]
AtomPub fixes: return '201 Created' on POST of new message; better error checking on Atom input

13 years agomore fixins on AtomPub tests
Brion Vibber [Tue, 14 Dec 2010 21:11:34 +0000 (13:11 -0800)]
more fixins on AtomPub tests

13 years agoauth fix
Brion Vibber [Tue, 14 Dec 2010 20:36:21 +0000 (12:36 -0800)]
auth fix

13 years agoMostly-implemented basic AtomPub tests
Brion Vibber [Tue, 14 Dec 2010 20:33:28 +0000 (12:33 -0800)]
Mostly-implemented basic AtomPub tests

13 years agopartial stub file for atompub tests
Brion Vibber [Tue, 14 Dec 2010 01:48:23 +0000 (17:48 -0800)]
partial stub file for atompub tests

13 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Mon, 13 Dec 2010 22:03:59 +0000 (14:03 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x

13 years agoTwitterBridge: partial merge of id_str usage from 0.9.x for improved 32-bit and pre...
Brion Vibber [Mon, 13 Dec 2010 20:12:22 +0000 (12:12 -0800)]
TwitterBridge: partial merge of id_str usage from 0.9.x for improved 32-bit and pre-5.2.10 compatibility. (on 64-bit in 5.2.6 we can pull the integer IDs, but silently lose some precision on the end.)

Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit IDs have become too big to fit in the integer portion of double-precision floats, so to reliably use these IDs we need to pull the new string form now.
Machines with 64-bit PHP installation should have had no problems (except on Windows, where integers are still 32 bits)

Conflicts:

plugins/TwitterBridge/twitterimport.php <- as this hasn't been broken out, the import code is NOT FULLY UPDATED HERE.

13 years agoMerge branch 'activityatompub' into 0.9.x
Evan Prodromou [Mon, 13 Dec 2010 19:35:42 +0000 (14:35 -0500)]
Merge branch 'activityatompub' into 0.9.x

13 years agoadd the other three feeds to AtomPub service document
Evan Prodromou [Mon, 13 Dec 2010 19:35:29 +0000 (14:35 -0500)]
add the other three feeds to AtomPub service document

13 years agoAtom pub feed for group memberships
Evan Prodromou [Mon, 13 Dec 2010 18:56:54 +0000 (13:56 -0500)]
Atom pub feed for group memberships

Feed for group memberships, in activity streams format.

Shows a feed; has proper pagination; accepts activitystreams "join"
activities to start a new membership.

13 years agofix URL for memberships feed
Evan Prodromou [Mon, 13 Dec 2010 18:50:57 +0000 (13:50 -0500)]
fix URL for memberships feed

13 years agomembership stream method and return membership from join() in Group_member class
Evan Prodromou [Mon, 13 Dec 2010 18:50:39 +0000 (13:50 -0500)]
membership stream method and return membership from join() in Group_member class

13 years agofix navigation links for favorite feed
Evan Prodromou [Mon, 13 Dec 2010 18:08:38 +0000 (13:08 -0500)]
fix navigation links for favorite feed

13 years agofix navigation links for subscriptions feed
Evan Prodromou [Mon, 13 Dec 2010 18:07:25 +0000 (13:07 -0500)]
fix navigation links for subscriptions feed

13 years agogroup_member includes self link, edit link
Evan Prodromou [Mon, 13 Dec 2010 17:40:44 +0000 (12:40 -0500)]
group_member includes self link, edit link

13 years agoadd atompub show membership action
Evan Prodromou [Mon, 13 Dec 2010 17:40:22 +0000 (12:40 -0500)]
add atompub show membership action

13 years agoadd atompub membership actions to router
Evan Prodromou [Mon, 13 Dec 2010 17:40:01 +0000 (12:40 -0500)]
add atompub membership actions to router

13 years agoMove getConnectedApps() from Profile to User, where it belongs
Zach Copley [Mon, 13 Dec 2010 01:37:42 +0000 (17:37 -0800)]
Move getConnectedApps() from Profile to User, where it belongs

13 years agoatompub favorite feed
Evan Prodromou [Sun, 12 Dec 2010 18:16:34 +0000 (13:16 -0500)]
atompub favorite feed

13 years agoa stream function for Fave class
Evan Prodromou [Sun, 12 Dec 2010 17:22:04 +0000 (12:22 -0500)]
a stream function for Fave class

13 years agofix subtitle in subscriptions feed
Evan Prodromou [Sun, 12 Dec 2010 17:13:54 +0000 (12:13 -0500)]
fix subtitle in subscriptions feed

13 years agouse new Subscription stream methods for AtomPub
Evan Prodromou [Sat, 11 Dec 2010 16:24:07 +0000 (11:24 -0500)]
use new Subscription stream methods for AtomPub

13 years agoMerge branch '0.9.x' into activityatompub
Evan Prodromou [Sat, 11 Dec 2010 16:03:02 +0000 (11:03 -0500)]
Merge branch '0.9.x' into activityatompub

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Sat, 11 Dec 2010 16:01:05 +0000 (11:01 -0500)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

13 years agocache stream of subscriptions
Evan Prodromou [Sat, 11 Dec 2010 16:00:04 +0000 (11:00 -0500)]
cache stream of subscriptions

13 years agoSubscription stream functions
Evan Prodromou [Sat, 11 Dec 2010 15:24:46 +0000 (10:24 -0500)]
Subscription stream functions

Made two new functions, Subscription::bySubscriber() and
Subscription::bySubscribed(), to get streams of Subscription objects.

Converted Profile::getSubscribers() and Profile::getSubscriptions() to
use these functions.

13 years agoShow a single favorite for AtomPub
Evan Prodromou [Fri, 10 Dec 2010 23:50:50 +0000 (18:50 -0500)]
Show a single favorite for AtomPub

13 years agoWorkaround for locally-handled sessions breaking on PHP 5.3 with APC enabled.
Brion Vibber [Fri, 10 Dec 2010 22:08:36 +0000 (22:08 +0000)]
Workaround for locally-handled sessions breaking on PHP 5.3 with APC enabled.

Big thanks to the folks at http://pecl.php.net/bugs/bug.php?id=16745 for the secret juju!
Classes were being torn down before session save handlers got called at the end of the request, which exploded with complaints about being unable to find various classes.
Registering a shutdown function lets us explicitly close out the session before everything gets torn down.

13 years agoWorkaround for locally-handled sessions breaking on PHP 5.3 with APC enabled.
Brion Vibber [Fri, 10 Dec 2010 22:08:36 +0000 (22:08 +0000)]
Workaround for locally-handled sessions breaking on PHP 5.3 with APC enabled.

Big thanks to the folks at http://pecl.php.net/bugs/bug.php?id=16745 for the secret juju!
Classes were being torn down before session save handlers got called at the end of the request, which exploded with complaints about being unable to find various classes.
Registering a shutdown function lets us explicitly close out the session before everything gets torn down.

13 years agoMerge branch '0.9.x' into activityatompub
Evan Prodromou [Fri, 10 Dec 2010 22:04:55 +0000 (17:04 -0500)]
Merge branch '0.9.x' into activityatompub

Conflicts:
lib/router.php

13 years agoextlibs updates: PEAR::Mail to 1.2.0, PEAR::Net_SMTP to 1.4.2 (need to go together...
Brion Vibber [Mon, 3 May 2010 23:49:59 +0000 (16:49 -0700)]
extlibs updates: PEAR::Mail to 1.2.0, PEAR::Net_SMTP to 1.4.2 (need to go together as a pair)

PEAR::Mail updated to 1.2.0 from 1.1.4, fixes deprecation warnings on PHP 5.3, as well as:
1.2.0:
• QA release - stable.
• Updated minimum dependencies (Net_SMTP, PEAR, PHP)
• Doc Bug #15620 Licence change to BSD
• Bug #13659 Mail parse error in special condition
• Bug #16200 - Security hole allow to read/write Arbitrary File
_hasUnclosedQuotes() doesn't properly handle a double slash before an end quote (slusarz@curecanti.org, Bug #9137).
• Make sure Net_SMTP is defined when calling getSMTPObject() directly (slusarz@curecanti.org, Bug #13772).
• Add addServiceExtensionParameter() to the SMTP driver (slusarz@curecanti.org, Bug #13764).
• Add a method to obtain the Net_SMTP object from the SMTP driver (slusarz@curecanti.org, Bug #13766).

PEAR::Net_SMTP updated to 1.4.2 from 1.3.1, needed to support updated PEAR::Mail:
1.4.2:
• Fixing header string quoting in data(). (Bug #17199)
1.4.1:
• The auth() method now includes an optional $tls parameter that determines whether or not TLS should be attempted (if supported by the PHP runtime and the remote SMTP server). This parameter defaults to true. (Bug #16349)
• Header data can be specified separately from message body data by passing it as the optional second parameter to ``data()``. This is especially useful when an open file resource is being used to supply message data because it allows header fields (like *Subject:*) to be built dynamically at runtime. (Request #17012)
1.4.0:
• The data() method now accepts either a string or a file resource containing the message data. (Request #16962)
1.3.4:
• All Net_Socket write failures are now recognized. (Bug #16831)
1.3.3:
• Added getGreeting(), for retrieving the server's greeting string. (Request #16066) [needed for PEAR::Mail]
• We no longer attempt a TLS connection if we're already using a secure socket. (Bug #16254)
• You can now specify a debug output handler via setDebug(). (Request #16420)
1.3.2:
• TLS connection only gets started if no AUTH methods are sent. (Bug #14944)

13 years agoextlibs updates: PEAR::Mail to 1.2.0, PEAR::Net_SMTP to 1.4.2 (need to go together...
Brion Vibber [Mon, 3 May 2010 23:49:59 +0000 (16:49 -0700)]
extlibs updates: PEAR::Mail to 1.2.0, PEAR::Net_SMTP to 1.4.2 (need to go together as a pair)

PEAR::Mail updated to 1.2.0 from 1.1.4, fixes deprecation warnings on PHP 5.3, as well as:
1.2.0:
• QA release - stable.
• Updated minimum dependencies (Net_SMTP, PEAR, PHP)
• Doc Bug #15620 Licence change to BSD
• Bug #13659 Mail parse error in special condition
• Bug #16200 - Security hole allow to read/write Arbitrary File
_hasUnclosedQuotes() doesn't properly handle a double slash before an end quote (slusarz@curecanti.org, Bug #9137).
• Make sure Net_SMTP is defined when calling getSMTPObject() directly (slusarz@curecanti.org, Bug #13772).
• Add addServiceExtensionParameter() to the SMTP driver (slusarz@curecanti.org, Bug #13764).
• Add a method to obtain the Net_SMTP object from the SMTP driver (slusarz@curecanti.org, Bug #13766).

PEAR::Net_SMTP updated to 1.4.2 from 1.3.1, needed to support updated PEAR::Mail:
1.4.2:
• Fixing header string quoting in data(). (Bug #17199)
1.4.1:
• The auth() method now includes an optional $tls parameter that determines whether or not TLS should be attempted (if supported by the PHP runtime and the remote SMTP server). This parameter defaults to true. (Bug #16349)
• Header data can be specified separately from message body data by passing it as the optional second parameter to ``data()``. This is especially useful when an open file resource is being used to supply message data because it allows header fields (like *Subject:*) to be built dynamically at runtime. (Request #17012)
1.4.0:
• The data() method now accepts either a string or a file resource containing the message data. (Request #16962)
1.3.4:
• All Net_Socket write failures are now recognized. (Bug #16831)
1.3.3:
• Added getGreeting(), for retrieving the server's greeting string. (Request #16066) [needed for PEAR::Mail]
• We no longer attempt a TLS connection if we're already using a secure socket. (Bug #16254)
• You can now specify a debug output handler via setDebug(). (Request #16420)
1.3.2:
• TLS connection only gets started if no AUTH methods are sent. (Bug #14944)

13 years agoTweaking nickname format regexes: added one that explicitly allows numbers, to be...
Brion Vibber [Fri, 10 Dec 2010 00:43:35 +0000 (16:43 -0800)]
Tweaking nickname format regexes: added one that explicitly allows numbers, to be used in router setup.