gnu-social/classes
Evan Prodromou 14adb7cc41 Give users more control over URL shortening
Users and administrators can set how long an URL can be before it's
shortened, and how long a notice can be before all its URLs are
shortened. They can also turn off shortening altogether.

Squashed commit of the following:

commit d136b39011
Author: Evan Prodromou <evan@status.net>
Date:   Mon Apr 26 02:39:00 2010 -0400

    use site and user settings to determine when to shorten URLs

commit 1e1c851ff3
Author: Evan Prodromou <evan@status.net>
Date:   Mon Apr 26 02:38:40 2010 -0400

    add a method to force shortening URLs

commit 4d29ca0b91
Author: Evan Prodromou <evan@status.net>
Date:   Mon Apr 26 02:37:41 2010 -0400

    static method for getting best URL shortening service

commit a9c6a3bace
Author: Evan Prodromou <evan@status.net>
Date:   Mon Apr 26 02:37:11 2010 -0400

    allow 0 in numeric entries in othersettings

commit 767ff2f7ec
Author: Evan Prodromou <evan@status.net>
Date:   Mon Apr 26 02:36:46 2010 -0400

    allow 0 or blank string in inputs

commit 1e21af42a6
Author: Evan Prodromou <evan@status.net>
Date:   Mon Apr 26 02:01:11 2010 -0400

    add more URL-shortening options to othersettings

commit 869a6be0f5
Author: Evan Prodromou <evan@status.net>
Date:   Sat Apr 24 14:22:51 2010 -0400

    move url shortener superclass to lib from plugin

commit 9c0c9863d5
Author: Evan Prodromou <evan@status.net>
Date:   Sat Apr 24 14:20:28 2010 -0400

    documentation and whitespace on UrlShortenerPlugin

commit 7a1dd5798f
Author: Evan Prodromou <evan@status.net>
Date:   Sat Apr 24 14:05:46 2010 -0400

    add defaults for URL shortening

commit d259c37ad2
Author: Evan Prodromou <evan@status.net>
Date:   Sat Apr 24 13:40:10 2010 -0400

    Add User_urlshortener_prefs

    Add a table for URL shortener prefs, a corresponding class, and the
    correct mumbo-jumbo in statusnet.ini to make everything work.
2010-04-26 02:40:36 -04:00
..
Avatar.php let avatars be served over SSL 2010-02-11 16:51:15 -05:00
Config.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
Confirm_address.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Consumer.php Allow developers to delete OAuth applications 2010-02-05 03:18:43 +00:00
Conversation.php Don't add PHPSESSID parameter onto notice and conversation URIs if we save a notice during a session override. 2010-03-23 09:56:05 -07:00
Deleted_notice.php check correct define (not backwards compatible) 2009-09-15 21:12:44 -04:00
Design.php let backgrounds be put under SSL 2010-02-11 17:03:31 -05:00
Fave.php Consistently send Profiles into Fave::addNew() 2010-03-23 11:08:30 -07:00
File_oembed.php Fixup script for files w/ bogus data saved into file record ('h bug') 2010-03-10 15:13:16 -08:00
File_redirection.php Give users more control over URL shortening 2010-04-26 02:40:36 -04:00
File_thumbnail.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
File_to_post.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
File.php Fixes problem with IRC URLs showing as attachments 2010-03-26 18:16:44 -04:00
Foreign_link.php A better way to safely delete Foreign_links 2010-03-05 03:55:56 +00:00
Foreign_service.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Foreign_subscription.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Foreign_user.php Ensure that DB connection is active at start of User::updateKeys() and Foreign_user::updateKeys(); calls to $this->_quote() require a live connection object and don't lazy-initialize themselves. 2010-03-18 09:24:55 -07:00
Group_alias.php Fixed problem causing 500 error on notices containing a non-existent group 2010-03-06 00:30:15 +00:00
Group_block.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
Group_inbox.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
Group_member.php add events for subscribing to people and joining groups 2010-01-13 02:16:13 -08:00
Inbox.php Don't save duplicate messages into a user's packed inbox. We've already got the packed box loaded at insert time, so we can simply unpack it and check before doing the update query. 2010-04-02 15:45:03 -07:00
Invitation.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Local_group.php modify group actions so they use Local_group to look up by nickname 2010-02-25 08:44:15 -05:00
Location_namespace.php flip x flag on generated files 2009-10-21 22:43:41 -04:00
Login_token.php Redirect to a one-time-password when ssl and regular server are different 2010-01-09 15:26:06 -08:00
Memcached_DataObject.php Merge branch '0.9.x' into 1.0.x 2010-04-07 10:47:29 -04:00
Message.php create a method for notification for new messages, and use it 2009-12-15 10:31:25 -05:00
Nonce.php PHP 5.3 compatibility hack for DB_DataObject 2010-02-12 11:15:12 -08:00
Notice_inbox.php Dropped deprecated timestamp-based 'since' parameter for all API methods. When it sneaks in it can cause some very slow queries due to mismatches with the indexing. 2010-03-02 11:54:02 -08:00
Notice_source.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Notice_tag.php Dropped deprecated timestamp-based 'since' parameter for all API methods. When it sneaks in it can cause some very slow queries due to mismatches with the indexing. 2010-03-02 11:54:02 -08:00
Notice.php fixup_deletions.php script to look for notices posted by now-deleted profiles and remove them. 2010-03-23 17:24:01 -07:00
Oauth_application_user.php Remove verifier from Oauth_application_user (not needed there) 2010-01-24 16:36:05 -08:00
Oauth_application.php Allow developers to delete OAuth applications 2010-02-05 03:18:43 +00:00
Profile_block.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
Profile_role.php Background deletion of user accounts. Notices are deleted in chunks, then the user itself when they're all gone. 2010-03-15 16:08:00 -07:00
Profile_tag.php fix problem with dupe tags in profile 2009-02-28 15:17:49 -08:00
Profile.php Temporary hack until notice_profile_id_idx is updated 2010-04-01 10:17:17 -07:00
Queue_item.php XMPP queued output & initial retooling of DB queue manager to support non-Notice objects. 2010-01-22 12:52:36 -08:00
Related_group.php some class files had x bit set 2009-05-22 21:11:46 -04:00
Remember_me.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Remote_profile.php Fix regression in remote subscription; added hasRole() shadow method on Remote_profile. 2009-11-25 22:23:21 +00:00
Reply.php Dropped deprecated timestamp-based 'since' parameter for all API methods. When it sneaks in it can cause some very slow queries due to mismatches with the indexing. 2010-03-02 11:54:02 -08:00
Safe_DataObject.php Throw an exception when an undefined method is called on one of our DB_DataObjects, instead of failing silently. 2010-03-19 12:38:14 -07:00
Session.php additional debugging data for Sessions 2010-01-28 13:53:28 -05:00
Sms_carrier.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
status_network.ini Fixes for status_network db object .ini and tag setter script 2010-01-28 20:09:17 -08:00
Status_network.php Stomp queue restructuring for mass scalability: 2010-02-16 09:16:51 -08:00
statusnet.ini Give users more control over URL shortening 2010-04-26 02:40:36 -04:00
statusnet.links.ini PHP 5.3 compatibility hack for DB_DataObject 2010-02-12 11:15:12 -08:00
Subscription.php blowSubscriberCount and blowSubscriptionCount - no 's' 2010-03-22 14:22:18 -04:00
Token.php Add verifier and verified callback to token for OAuth 1.0a 2010-01-24 16:36:05 -08:00
User_group.php Merge commit 'origin/testing' into 0.9.x 2010-03-12 09:41:49 -08:00
User_im_prefs.php Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
User_location_prefs.php Add magic formula to keep DB_DataObject from treating location prefs pkey as autoincrement 2009-12-30 08:56:43 -10:00
User_urlshortener_prefs.php Give users more control over URL shortening 2010-04-26 02:40:36 -04:00
User_username.php Fixed warning messages when auto-registering a new LDAP user. 2010-03-08 13:15:49 -05:00
User.php Merge branch '0.9.x' into 1.0.x 2010-04-02 15:56:25 -07:00