gnu-social/extlib
brunoccast 5c0a3102ff [ROUTES] Allow accept-header specification during router creation
Router:
- Fix calls to connect, most of them were misusing the function's params

URLMapper:
- Minor fixes
- Documentation
- Add support for accept-header specification

Plugins/*:
- Fix calls to connect
2019-08-03 17:47:16 +01:00
..
Auth Fix OpenID discovery in pages using uppercase <HEAD> tag 2017-04-08 09:13:59 +02:00
Console upgrade Console_GetOpt to 1.9.2 2011-03-26 14:22:24 -04:00
data Updating external libraries for net access 2013-10-05 14:29:02 +02:00
Date [PEAR] Modernize Validate code 2019-08-03 17:31:43 +01:00
DB Regression introduced in daa5f87f fixed by XRevan86 2019-07-01 23:14:23 +01:00
HTMLPurifier Updated HTMLPurifier to 4.10.0 2019-04-16 01:11:54 +01:00
HTTP Fixing HTTP_Request2_SocketWrapper so it times out 2017-07-11 12:04:09 +02:00
Mail PEAR Mail package updated to 1.3.0 2016-03-05 02:54:13 +01:00
Mf2 Mf2 extlib update from https://github.com/indieweb/php-mf2/ 2015-08-15 11:48:39 +02:00
Michelf Markdown library updated to 1.6.0, merge req !90 2016-01-28 14:37:14 +01:00
Net [PEAR] Modernize Validate code 2019-08-03 17:31:43 +01:00
ParagonIE ParagonIE\ConstantTime required PHP7, going to v1.x branch 2016-06-24 14:49:52 +02:00
PEAR Update PEAR to v1.10.9 and patch it so it works quietly 2019-04-28 23:39:36 +01:00
php-gettext Remove Google References 2016-03-20 13:06:58 +00:00
phpseclib Let's just put the namespaced phpseclib in extlib instead of plugins/OStatus/extlib 2016-06-18 00:00:32 +02:00
Stomp Bump to version 1.0.0 2009-11-16 11:14:00 -05:00
System Add System_Command so MIME type fallback works for uploaded files 2009-06-23 05:16:23 -07:00
AcceptHeader.php [ROUTES] Allow accept-header specification during router creation 2019-08-03 17:47:16 +01:00
Apache2.0.txt add additional licenses into extlib subdir 2008-09-22 17:21:20 -04:00
buildPackageXML.php [PEAR] Modernize Validate code 2019-08-03 17:31:43 +01:00
Date.php [PEAR] Modernize Validate code 2019-08-03 17:31:43 +01:00
DB.php Update PEAR to v1.10.9 and patch it so it works quietly 2019-04-28 23:39:36 +01:00
gpl-2.0.txt add additional licenses into extlib subdir 2008-09-22 17:21:20 -04:00
HTTP_Request2_LICENSE PEAR::HTTP_Request2 updated to 2.2.1 2014-07-10 16:25:59 +02:00
lgpl-2.1.txt add LGPL 2010-01-02 22:46:50 -10:00
Mail.php PEAR Mail package updated to 1.3.0 2016-03-05 02:54:13 +01:00
OAuth_LICENSE.txt add additional licenses into extlib subdir 2008-09-22 17:21:20 -04:00
OAuth.php Remove Google References 2016-03-20 13:06:58 +00:00
PEAR.php Update PEAR to v1.10.9 and patch it so it works quietly 2019-04-28 23:39:36 +01:00
PHP_License_2_02.txt add additional licenses into extlib subdir 2008-09-22 17:21:20 -04:00
PHP_License_3.01.txt add additional licenses into extlib subdir 2008-09-22 17:21:20 -04:00
README Remove Google References 2016-03-20 13:06:58 +00:00
Stomp.php Added base64 encoding to get RMQ to work 2017-07-28 12:42:21 +02:00
System.php Update PEAR to v1.10.9 and patch it so it works quietly 2019-04-28 23:39:36 +01:00
Validate.php [PEAR] Modernize Validate code 2019-08-03 17:31:43 +01:00

DO NOT "FIX" CODE IN THIS DIRECTORY.

ONLY UPSTREAM VERSIONS OF SOFTWARE GO IN THIS DIRECTORY.

This directory is provided as a courtesy to our users who might be
unable or unwilling to find and install libraries we depend on.

If we "fix" software in this directory, we hamstring users who do the
right thing and keep a single version of upstream libraries in a
system-wide library. We introduce subtle and maddening bugs where
our code is "accidentally" using the "wrong" library version. We may
unwittingly interfere with other software that depends on the
canonical release versions of those same libraries!

Forking upstream software for trivial reasons makes us bad citizens in
the Open Source community and adds unnecessary heartache for our
users. Don't make us "that" project.

Frequently Asked Questions
--------------------------

Q: What should we do when we find a bug in upstream software?

A: First and foremost, REPORT THE BUG, and if possible send in a patch.

   Watch for a release of the upstream software and integrate with it
   when it's released.

   In the meantime, work around the bug, if at all possible. Usually,
   it's quite possible, if slightly harder or less efficient.

Q: What if the bug can't be worked around?

A: If the upstream developers have accepted a bug patch, it's
   undesirable but acceptable to apply that patch to the library in
   the extlib dir. Ideally, use a release version for upstream or a
   version control system snapshot.

   Note that this is a last resort.

Q: What if upstream is unresponsive or won't accept a patch?

A: Try again.

Q: I tried again, and upstream is still unresponsive and nobody's
   checked on my patch. Now what?

A: If the upstream project is moribund and there's a way to adopt it,
   propose having the GNU social dev team adopt the project. Or, adopt
   it yourself.

Q: What if there's no upstream authority and it can't be adopted?

A: Then we fork it. Make a new name and a new version. Include it in
   lib/ instead of extlib/, and use the GNUsocial_* prefix to change
   the namespace to avoid collisions.

   This is a last resort; consult with the rest of the dev group
   before taking this radical step.

List of external libraries
--------------------------

A number of external PHP libraries are used to provide basic
functionality and optional functionality for your system. For your
convenience, they are available in the "extlib" directory of this
package, and you do not have to download and install them. However,
you may want to keep them up-to-date with the latest upstream version,
and the URLs are listed here for your convenience.

- DB_DataObject http://pear.php.net/package/DB_DataObject
- Validate http://pear.php.net/package/Validate
- OpenID by Janrain, http://janrain.com/openid-enabled/
- PEAR DB. Although this is an older data access system (new
  packages should use PDO), the OpenID libraries depend on PEAR DB
  or MDB2.
- OAuth.php from http://oauth.googlecode.com/svn/code/php/
                            (has been edited to avoid colliding autoload)
- markdown.php from http://michelf.com/projects/php-markdown/
- PEAR Mail, for sending out mail notifications
  http://pear.php.net/package/Mail
- PEAR Net_SMTP, if you use the SMTP factory for notifications
  http://pear.php.net/package/Net_SMTP
- PEAR Net_Socket, if you use the SMTP factory for notifications
  http://pear.php.net/package/Net_Socket
- XMPPHP, the follow-up to Class.Jabber.php. Probably the best XMPP
  library available for PHP. https://github.com/heshanlk/XMPPHP. Note that
  as of this writing the version of this library that is available in
  the extlib directory is *significantly different* from the upstream
  version (patches have been submitted). Upgrading to the upstream
  version may render your GNU social site unable to send or receive XMPP
  messages.
- Facebook library. Used for the Facebook application.
- PEAR Validate is used for URL and email validation.
- Console_GetOpt for parsing command-line options.
- HTTP_Request2, a library for making HTTP requests.
- PEAR Net_URL2 is an HTTP_Request2 dependency.
- Michelf/Markdown.php      Markdown parser library
- Mf2/Parser.php            microformats2 parser library

A design goal of GNU Social is that the basic Web functionality should
work on even the most restrictive commercial hosting services.
However, additional functionality, such as receiving messages by XMPP,
require that you be able to run long-running processes on your account.
In addition, posting by email require that you be able to install a mail
filter in your mail server.