gnu-social/lib
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
..
accountsettingsaction.php Added a events for the settings menu items 2009-11-10 17:54:55 -05:00
action.php Moved print inside base stylesheet using media rules. One less HTTP GET. 2010-03-25 22:19:50 +01:00
activity.php move check for bad IDs from activityobject to activity and make simpler 2010-03-27 22:44:10 -04:00
activitycontext.php Move activity classes to their own files 2010-03-20 16:06:22 -05:00
activityobject.php move check for bad IDs from activityobject to activity and make simpler 2010-03-27 22:44:10 -04:00
activityutils.php Pull <atom:author> info as well as <activity:actor> when we have an old-style ActivityStreams feed. This fixes subscription setup for Cliqset feeds, which currently have a bogus activity:actor/atom:id but a good atom:author/atom:uri 2010-03-21 16:25:12 -07:00
activityverb.php Move activity classes to their own files 2010-03-20 16:06:22 -05:00
adminform.php Design admin panel mostly done. 2009-11-18 18:25:36 -08:00
adminpanelaction.php Stub plugins administration panel, allows for disabling/re-enabling plugins from the default plugins list. 2010-03-22 13:58:27 -07:00
apiaction.php Quick fixes for grouplistall: 2010-03-30 11:45:35 -07:00
apiauth.php Return an http auth error, when a client sends in an invalid auth user, even when http auth is not required. 2010-03-26 19:58:59 +00:00
apibareauth.php Remove debugging statements 2009-11-04 22:12:01 -08:00
apioauth.php OAuth 1.0 working now 2010-01-24 16:36:04 -08:00
apioauthstore.php Better token revocation 2010-02-05 03:18:43 +00:00
apiprivateauth.php Fix for Ticket #1957 - API methods are not accessible when site is private (0.8->0.9 regression) 2009-11-04 22:03:41 -08:00
applicationeditform.php Remove redundant session token field from form (was already being added by base class). 2010-01-28 18:36:30 +00:00
applicationlist.php Revoke access token UI 2010-01-24 16:36:05 -08:00
arraywrapper.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
atom10feed.php Generator tag should have 'uri' attr not 'url' 2010-03-11 23:44:50 +00:00
atomcategory.php move atom category to its own file, too 2010-03-20 16:55:36 -05:00
atomgroupnoticefeed.php Put all required field setup into AtomUserNoticeFeed and AtomGroupNoticeFeed, consolidating some code. (RSS feeds pulling title, logo etc from the Atom data structure so we don't dupe it.) 2010-03-03 16:33:20 -08:00
atomnoticefeed.php Revert "Revert "Show <activity:subject> and no activity actors for user feed"" 2010-03-03 20:58:34 -08:00
atomusernoticefeed.php Revert "Revert "Show <activity:subject> and no activity actors for user feed"" 2010-03-03 20:58:34 -08:00
attachmentlist.php Restore lost addition of inline HTML attachment display. 2010-03-25 14:31:22 -07:00
attachmentnoticesection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
attachmenttagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
authenticationplugin.php Use common_nicknamize() in better places. 2010-03-01 11:56:07 -05:00
authorizationplugin.php Remove deprecated call-time pass-by-reference 2010-03-20 12:04:46 -04:00
avatarlink.php Move activity classes to their own files 2010-03-20 16:06:22 -05:00
blockform.php blockform uses profileactionform 2009-11-15 15:57:52 +01:00
cache.php Merge branch 'master' into testing 2010-02-16 09:22:02 -08:00
channel.php Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x 2010-03-22 13:56:16 -07:00
clienterroraction.php move HTTP error code strings to class variables 2009-09-29 17:43:45 -04:00
clientexception.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
columndef.php Fix for auto_increment parameter in auto-created tables via checkschema. 2010-01-04 10:30:58 -08:00
command.php Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x 2010-03-24 14:11:01 -07:00
commandinterpreter.php Add lose <nickname> command to the command interpreter 2010-02-22 23:09:14 -05:00
common.php update README and version number 2010-03-28 11:39:56 -04:00
connectsettingsaction.php Reorganized the OAuth app URLs and more work on the register app workflow 2010-01-24 16:36:01 -08:00
currentuserdesignaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
curry.php PHP 5.3 closure-based implementation of curry(); old implementation used as fallback for older PHP versions. Added unit tests to confirm they both work! 2009-12-16 09:27:48 -05:00
daemon.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
dberroraction.php Revert "Remove more contractions" 2009-11-09 20:01:46 +01:00
dbqueuemanager.php Stomp queue restructuring for mass scalability: 2010-02-16 09:16:51 -08:00
default.php Give users more control over URL shortening 2010-04-26 02:40:36 -04:00
deleteuserform.php add forms for silence, sandbox, delete user 2009-11-15 16:00:29 +01:00
deluserqueuehandler.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
designsettings.php Optionally set a separate Javascript server and path 2010-01-27 11:37:22 -05:00
disfavorform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
distribqueuehandler.php OStatus: save categories from the Atom entry as hashtags. 2010-02-25 11:26:33 -08:00
error.php First steps on converting FeedSub into the pub/sub basis for OStatus communications: 2010-02-08 11:15:29 -08:00
event.php Major refactoring of queue handlers to support running multiple sites in one daemon. 2010-01-12 20:45:09 -08:00
favorform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
featureduserssection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
feed.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
feedlist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
form.php Design admin panel mostly done. 2009-11-18 18:25:36 -08:00
galleryaction.php Updated layout for filter by tag form 2009-09-04 15:59:27 +00:00
grantroleform.php Initial user role controls on profile pages, for owner to add/remove administrator and moderator options. 2010-03-03 15:43:49 -08:00
groupdesignaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupeditform.php Merge branch '0.8.x' into 0.9.x 2009-08-27 11:16:45 -07:00
grouplist.php Added single whitespace to separate inline text words. 2010-02-15 20:41:46 +01:00
groupminilist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupnav.php Added hook for the Group navigation items 2009-11-10 13:52:47 +00:00
groupsbymemberssection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupsbypostssection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
groupsection.php Added single whitespace to separate inline text words. 2010-02-15 20:41:46 +01:00
grouptagcloudsection.php Add time-based cutoffs for public tag cloud, favorited lists to speed up those queries. 2010-02-04 11:06:01 -08:00
htmloutputter.php Give users more control over URL shortening 2010-04-26 02:40:36 -04:00
httpclient.php Renamed HTTPResponse class to StatusNet_HTTPResponse to avoid conflict with PECL HTTP extension. 2010-03-29 15:07:15 -07:00
imagefile.php Remove xpm support (no one really uses it, and IMAGETYPE_XPM is undefined, causing warnings) 2010-03-18 15:39:06 -07:00
imchannel.php Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
immanager.php Merge branch '0.9.x' into 1.0.x 2010-02-16 13:15:09 -05:00
implugin.php Merge branch '0.9.x' into 1.0.x 2010-02-16 13:15:09 -05:00
imqueuehandler.php Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
imreceiverqueuehandler.php Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
imsenderqueuehandler.php Merge branch '0.9.x' into 1.0.x 2010-02-16 13:15:09 -05:00
iomanager.php Stomp queue restructuring for mass scalability: 2010-02-16 09:16:51 -08:00
iomaster.php Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x 2010-02-21 11:12:56 -08:00
joinform.php OStatus: fix remote groups to work with new user_groups/local_groups split. 2010-02-25 13:02:08 -08:00
jsonsearchresultslist.php Don't output notices from deleted users. 2010-01-06 13:43:46 -08:00
language.php Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-04-07 01:14:31 +02:00
leaveform.php OStatus: fix remote groups to work with new user_groups/local_groups split. 2010-02-25 13:02:08 -08:00
liberalstomp.php Manual failover for stomp queues. 2010-01-28 16:49:32 -08:00
location.php tobyink's location RDF patch 2009-11-19 12:00:25 -05:00
logingroupnav.php Merge branch '0.8.x' into 0.9.x 2009-08-27 11:16:45 -07:00
mail.php implement mail headers 2010-03-04 23:10:27 -05:00
mailbox.php Fix regression from 9f372da3da4bd445175eda9155fa7fdd13d3c85e: typo in refactoring caused fatal error on unrecognized message source 2009-11-14 13:10:47 -08:00
mailhandler.php Offload inbox updates to a queue handler to speed up posting online 2010-01-25 18:08:21 -05:00
mediafile.php Use $param instead of hardcoded 'attach' name. 2010-03-23 22:42:30 -04:00
messageform.php Add content for all 3 Send buttons (2 are the same as far as I can tell) 2010-03-01 15:57:27 +01:00
microid.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
mysqlschema.php Fixes for updating indices, charset/collation and engine type on plugin-created tables. 2010-03-12 13:16:32 -08:00
noticeform.php Revert "Multiple file upload handling." 2010-03-31 10:57:20 +02:00
noticelist.php Ticket 2271: extra whitespace in underlined link for username in notice lists 2010-04-02 09:34:42 -07:00
noticesection.php Added another single whitespace 2010-02-15 21:21:25 +01:00
nudgeform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
oauthclient.php Upgrade Twitter bridge to use OAuth 1.0a. It's more secure, and allows 2010-02-17 20:58:15 +00:00
oauthstore.php Return empty array when no subscriptions to remote 2010-03-01 18:03:17 -05:00
omb.php Revert "show service debug info" 2010-03-01 18:49:39 -05:00
ombqueuehandler.php Fix more fatal errors in queue edge cases 2010-01-28 23:08:36 -08:00
ownerdesignaction.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
parallelizingdaemon.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
personalgroupnav.php Single-user mode 2010-01-26 00:21:05 -05:00
personaltagcloudsection.php Add time-based cutoffs for public tag cloud, favorited lists to speed up those queries. 2010-02-04 11:06:01 -08:00
pgsqlschema.php Remove stray whitespace at file start that snuck into last update 2010-03-11 18:07:00 -08:00
ping.php Fixes to bugs where non-local messages were being wrong put in the public timeline and public xmpp feed 2010-01-07 20:59:31 +00:00
pingqueuehandler.php XMPP queued output & initial retooling of DB queue manager to support non-Notice objects. 2010-01-22 12:52:36 -08:00
plugin.php add default plugin version information 2010-01-07 17:33:46 -08:00
plugindisableform.php Stub plugins administration panel, allows for disabling/re-enabling plugins from the default plugins list. 2010-03-22 13:58:27 -07:00
pluginenableform.php Stub plugins administration panel, allows for disabling/re-enabling plugins from the default plugins list. 2010-03-22 13:58:27 -07:00
pluginlist.php Stub plugins administration panel, allows for disabling/re-enabling plugins from the default plugins list. 2010-03-22 13:58:27 -07:00
pluginqueuehandler.php XMPP queued output & initial retooling of DB queue manager to support non-Notice objects. 2010-01-22 12:52:36 -08:00
poco.php Move activity classes to their own files 2010-03-20 16:06:22 -05:00
pocoaddress.php Move activity classes to their own files 2010-03-20 16:06:22 -05:00
pocourl.php Move activity classes to their own files 2010-03-20 16:06:22 -05:00
popularnoticesection.php Add time-based cutoffs for public tag cloud, favorited lists to speed up those queries. 2010-02-04 11:06:01 -08:00
processmanager.php Detect when queuedaemon/xmppdaemon parent processes die and kill the child processes. 2010-03-10 11:54:00 -08:00
profileaction.php Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.x 2010-04-06 15:22:23 -07:00
profileactionform.php common superclass for actions that operate on a profile and return 2009-11-16 14:28:58 +01:00
profileformaction.php (Puctuation) consistency in clientError() calls. 2009-12-13 18:55:17 +01:00
profilelist.php make profilelist homepage link attributes overrideable 2010-04-05 11:17:06 -04:00
profileminilist.php override linkAttributes() method for profileminilist 2010-04-05 10:46:38 -04:00
profilequeuehandler.php try/catch on omb profile pings 2010-02-25 21:06:53 -08:00
profilesection.php Added single whitespace to separate inline text words. 2010-02-15 20:41:46 +01:00
publicgroupnav.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
queuehandler.php Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
queuemanager.php Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x 2010-03-22 13:56:16 -07:00
queuemonitor.php Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
repeatform.php Updated Repeat notice option submit button style 2009-12-23 15:59:31 -05:00
revokeroleform.php Initial user role controls on profile pages, for owner to add/remove administrator and moderator options. 2010-03-03 15:43:49 -08:00
right.php Initial user role controls on profile pages, for owner to add/remove administrator and moderator options. 2010-03-03 15:43:49 -08:00
router.php Merge commit 'origin'; branch '0.9.x' into 1.0.x 2010-03-25 13:05:02 -07:00
rssaction.php Add configuration option to toggle the indenting of the output HTML. Defaults to indent enabled. 2009-12-05 01:03:04 -05:00
sandboxform.php add forms for silence, sandbox, delete user 2009-11-15 16:00:29 +01:00
schema.php Fixes for updating indices, charset/collation and engine type on plugin-created tables. 2010-03-12 13:16:32 -08:00
search_engines.php Bringing Sphinx search support up to code: broken out to a plugin, now supports multiple sites on a single server. 2009-11-10 13:44:40 -08:00
searchaction.php i18n for "Search" button text 2009-11-21 16:04:20 +01:00
searchgroupnav.php Ticket 2007: make search tabs grammar forms consistent (People, Notices, Groups) 2009-11-23 06:42:02 -08:00
section.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
servererroraction.php Log backtraces for non-ClientException exceptions caught at the top-level handler. 2010-03-22 11:33:56 -07:00
serverexception.php Revert "* [Cc]an't -> [Cc]annot" 2009-11-08 23:28:51 +01:00
settingsaction.php Revert "* [Cc]an't -> [Cc]annot" 2009-11-08 23:28:51 +01:00
silenceform.php give SilenceForm proper superclass 2009-11-16 17:05:03 +01:00
smsqueuehandler.php XMPP queued output & initial retooling of DB queue manager to support non-Notice objects. 2010-01-22 12:52:36 -08:00
snapshot.php catch exceptions from snapshot 2010-01-10 14:06:52 -08:00
spawningdaemon.php Detect when queuedaemon/xmppdaemon parent processes die and kill the child processes. 2010-03-10 11:54:00 -08:00
statusnet.php Stub plugins administration panel, allows for disabling/re-enabling plugins from the default plugins list. 2010-03-22 13:58:27 -07:00
stompqueuemanager.php Tweak to Eugene Crosser's patch to make transactions and acks configurable; disabling them gets basic message delivery working under MorbidQ, and may help with RabbitMQ etc. 2010-03-29 15:46:41 -07:00
subgroupnav.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subpeopletagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subs.php reuse Subscription::cancel instead of reimplementing it. 2010-03-11 20:40:25 -05:00
subscribeform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriberspeopleselftagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriberspeopletagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriptionlist.php Updated tag list output in subscriptions list. Matches userprofile. 2010-03-25 22:20:06 +01:00
subscriptionspeopleselftagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
subscriptionspeopletagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
tabledef.php Break TableDef, ColumnDef classes to separate files so autoloader can find them. 2009-11-24 09:40:47 -08:00
tagcloudsection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
taguri.php Add a library to mint tag URIs 2010-02-20 13:23:08 -05:00
theme.php null theme ssl setting means 'guess' 2010-02-11 16:47:47 -05:00
topposterssection.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
uapplugin.php camelcase the uap param names 2010-01-27 16:34:18 -05:00
unblockform.php Terminology consistency fix: 'Unlock' -> 'Unblock' in unblock form description. 2009-11-18 12:29:47 -08:00
unqueuemanager.php Fix unqueuemanager for updated QueueHandler interface 2010-01-22 14:06:20 -08:00
unsandboxform.php give UnsandboxForm correct superclass 2009-11-16 17:05:31 +01:00
unsilenceform.php give UnsilenceForm correct superclass 2009-11-16 17:05:39 +01:00
unsubscribeform.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
urlshortenerplugin.php Give users more control over URL shortening 2010-04-26 02:40:36 -04:00
usernoprofileexception.php new exception class for when a user has no profile 2010-03-18 08:32:17 -05:00
userprofile.php Assigned an identifier for the representative user and group profile 2010-03-25 21:32:28 +01:00
util.php Give users more control over URL shortening 2010-04-26 02:40:36 -04:00
webcolor.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
widget.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
xmloutputter.php Add configuration option to toggle the indenting of the output HTML. Defaults to indent enabled. 2009-12-05 01:03:04 -05:00
xmlstringer.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
xrdsoutputter.php whitespace adjustments for doxygen 2009-10-29 16:27:23 -04:00