gnu-social/lib
Brion Vibber 0841fa712e Ticket #1281: JID validation now more or less follows spec instead of calling e-mail validator
Basic splitting/validation code submitted via http://status.net/wiki/XMPP/JID_validation -- Copyright 2009 Patrick Georgi <patrick@georgi-clan.de> Licensed under ISC-L, which is compatible with everything else that keeps the copyright notice intact.

Added PEAR Net_IDNA package to extlib to handle IDN normalization (also used by Validate's email verifier if present).

* added test suite, supplemented my own test cases with JID validation and normalization test cases from libpurple
* follows XMPP rules for validation of name part
* fixes for normalization with non-ASCII names
* will do domain checks if $config['email']['check_domain'] is on, checking for an XMPP-server SRV record or any lookup. (We don't actually need to ping those direct though.)
* some more obscure stringprep validation rules aren't quite followed yet, but we err on the side of permissiveness.
* we still don't actually let you save your address with a resource on it, as we strip resources when looking up users who've sent us presence or message updates. I would recommend saving the outgoing resource as a separate field if/when we add that..?
2010-03-30 17:35:27 -07: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 Merge branch 'testing' into 0.9.x 2010-03-04 10:16:59 -08:00
apiaction.php Quick fixes for grouplistall: 2010-03-30 11:10:29 -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 fix "PHP Warning: Call-time pass-by-reference has been deprecated" 2010-02-24 22:35:22 -05: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 Added scripts/command.php, can be used to run commands such as subscription on behalf of users. 2010-03-09 13:41:05 -08: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 'master' of git@gitorious.org:statusnet/mainline into testing 2010-03-23 12:13:32 -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 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
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 Merge branch 'master' into testing 2010-02-17 10:13:35 -08: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
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
jabber.php Ticket #1281: JID validation now more or less follows spec instead of calling e-mail validator 2010-03-30 17:35:27 -07:00
jabberqueuehandler.php Fix more fatal errors in queue edge cases 2010-01-28 23:08:36 -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 Add Breton to language.php 2010-03-04 20:04:44 +01: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 Modify configuration to have an option to allow uploads regardless of mime type 2010-03-01 21:44:41 -05: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 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
noticelist.php Added rel=external to geo location link 2010-03-25 21:33:26 +01: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
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 Added event hooks at the start and end of groups mini list 2010-03-03 12:55:01 -05: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 Using hCard label instead of location. Matches userprofile. 2010-03-25 22:20:14 +01:00
profileminilist.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -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
publicqueuehandler.php Fix more fatal errors in queue edge cases 2010-01-28 23:08:36 -08:00
queued_xmpp.php Fix ticket #2208: regression in XMPP sending when server != host 2010-03-08 12:19:06 -08:00
queuehandler.php XMPP queued output & initial retooling of DB queue manager to support non-Notice objects. 2010-01-22 12:52:36 -08:00
queuemanager.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
queuemonitor.php Major refactoring of queue handlers to support running multiple sites in one daemon. 2010-01-12 20:45:09 -08: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 change router to allow hooking path connections 2010-03-23 12:33:41 -04: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 Don't switch people from the Memcache to Memcached plugin without their knowledge when using back-compatibility $config['memcached']['enabled']. Performance characteristics for Memcached version on large-scale sites not tested yet. 2010-03-11 18:10:41 -08: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
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 Ticket #1281: JID validation now more or less follows spec instead of calling e-mail validator 2010-03-30 17:35:27 -07: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
xmppmanager.php XMPP cleanup: fix outgoing XMPP when queuing is disabled; fix notice for first access to undefined member variable 2010-03-08 10:32:40 -08:00
xmppoutqueuehandler.php XMPP queued output & initial retooling of DB queue manager to support non-Notice objects. 2010-01-22 12:52:36 -08:00
xrdsoutputter.php whitespace adjustments for doxygen 2009-10-29 16:27:23 -04:00