Commit Graph

88 Commits

Author SHA1 Message Date
Siebrand Mazeland
0ab17f382b * [Cc]an't -> [Cc]annot
* [Cc]ould't -> [Cc]ould not
2009-11-08 23:22:38 +01:00
Craig Andrews
c403f7fa44 Added Net_LDAP2 to extlib, and add a skeleton LDAP plugin 2009-11-04 13:39:56 -05:00
Brion Vibber
5581143bee Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
Caching support will be added in future work after unit tests have been added.

* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
* adapted GeonamesPlugin for new HTTPResponse interface

Note some plugins haven't been fully tested yet.
2009-11-02 09:14:15 -08:00
Brion Vibber
b22fc5b74a Revert "Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions."
Going to restructure a little more before finalizing this...

This reverts commit fa37967858.
2009-11-02 07:51:29 -08:00
Brion Vibber
fa37967858 Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
Caching support will be added in future work after unit tests have been added.

* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries

Note some plugins haven't been tested yet.
2009-11-02 06:31:28 -08:00
Brenda Wallace
54c64a0cf1 don't write the closing ?> to the config.php 2009-10-30 18:53:45 +13:00
Evan Prodromou
67c387c6a0 Merge branch '0.8.x' into 0.9.x
Conflicts:
	install.php
2009-10-13 17:25:54 -04:00
Eric Helgeson
7a265ada48 Fix typo's in installer 2009-10-13 12:13:11 -04:00
Brenda Wallace
0743ca1259 indent fix 2009-10-03 17:36:53 +13:00
Evan Prodromou
78cec7ab87 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
	install.php
	lib/noticeform.php
2009-09-24 17:22:51 -04:00
Craig Andrews
49bce941a9 Merge remote branch 'statusnet/0.8.x' into 0.9.x
Conflicts:
	EVENTS.txt
	actions/requesttoken.php
	classes/File.php
	install.php
	lib/action.php
	lib/noticeform.php
2009-09-24 17:15:54 -04:00
Evan Prodromou
8284b3cb82 Merge branch '0.8.x' into 0.9.x
Conflicts:
	actions/requesttoken.php
	classes/File.php
	install.php
	lib/noticeform.php
2009-09-23 09:45:22 -04:00
Brenda Wallace
83e232bd3f Pear code style 2009-09-19 16:01:42 +12:00
Sarven Capadisli
83b0916457 Updated csarven emails to csarven@status.net and removed dupes 2009-09-16 11:14:26 +02:00
Evan Prodromou
1618d515e6 dedupe evans 2009-09-15 22:30:52 -04:00
Evan Prodromou
6f531745ca change all evans to evan@status.net 2009-09-15 22:28:59 -04:00
Zach Copley
e29046b3a1 Fixed broken list items in installer output 2009-09-15 16:46:18 -07:00
Zach Copley
94466da35a Got rid of a bunch of ugly warnings 2009-09-15 16:31:09 -07:00
Brenda Wallace
5ca90e2c8c pulled @author from git logs
Conflicts:

	install.php
2009-09-14 19:19:11 +12:00
Brenda Wallace
dbc08ef0a0 most of code style errors gone
Conflicts:

	install.php
2009-09-14 19:08:05 +12:00
Brenda Wallace
93605dce99 removed commented out code we no longer want 2009-09-14 19:06:53 +12:00
Brenda Wallace
f5b7ea7396 fixed up curly brackets and spaces around for, if, else 2009-09-14 19:06:39 +12:00
Brenda Wallace
36aa89d695 many doxygen comments added 2009-09-14 19:06:28 +12:00
Brenda Wallace
61d5d51cf5 lotsa tabulation changed to 4 spaces 2009-09-14 19:06:09 +12:00
Brenda Wallace
367ed28efa fixed missing semisolon 2009-09-14 19:05:32 +12:00
Brenda Wallace
20764dc08b removed most of the <?php ?> that was making this hard to read
Conflicts:

	install.php
2009-09-14 19:05:14 +12:00
Brenda Wallace
c2e156dc49 added doxygen for main() 2009-09-14 19:00:43 +12:00
Brenda Wallace
711fe39700 changed curly bracks on if, else, foreach to match pear code styles 2009-09-14 19:00:30 +12:00
Brenda Wallace
222ef4d186 added doxygen tags 2009-09-14 18:50:47 +12:00
Brion Vibber
4181c6f04a bug 1814: installer now only offers DB types which are available.
Abstracted a couple of hardcoded lists of mysql/pgsql checks and radio button creation to use a nice little array of names, installer funcs, and modules to check.
Only those DB types whose modules are present will be presented in the installer; if all are missing, we throw an error and list out all the possibilities we were looking for.
2009-09-14 18:06:48 +12:00
Brion Vibber
c93072ed86 Avoid or suppress E_NOTICE and E_WARNING messages related to the checklibs checks.
* notice on main installer form checking for $_GET['checklibs']
* notices when seeing which module checks to run
* warnings when attempting to load include files
2009-09-13 21:56:06 -04:00
Brion Vibber
fe9473ac78 Check that 'dl' function is available and usable before trying to call it with error suppression; if it's disabled or unavailable we end up with mysterious failures during installation or loading of libraries.
Fixed for StatusNet installer as well as some external libraries that should be fixed upstream if they haven't already been:
* PEAR
* Auth/OpenID
* Auth/Yadis
2009-09-13 21:53:30 -04:00
Craig Andrews
a535ccdc4e Merge remote branch 'laconica/0.8.x' into 0.9.x
Conflicts:
	lib/common.php
	lib/twitter.php
2009-09-02 16:42:15 -04:00
Craig Andrews
0ae4c7a80c The 'tidy' extension is a requirement
Fixes http://status.net/trac/ticket/1844
2009-09-02 13:33:54 -04:00
Brenda Wallace
53ec4223e4 fix for postgres - was using a non-existent variable to work out if should write quote_identifiers=true 2009-08-28 21:04:15 +12:00
Evan Prodromou
a08c76a434 Merge branch '0.9.x' of git@gitorious.org:laconica/mainline into 0.9.x
Conflicts:
	classes/laconica.ini
2009-08-27 14:52:32 -07:00
Evan Prodromou
bbb830e14c Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-08-27 14:18:51 -07:00
Evan Prodromou
5d09b6b3f0 Merge branch '0.8.x' into 0.9.x
Conflicts:
	EVENTS.txt
	actions/finishremotesubscribe.php
	actions/postnotice.php
	actions/public.php
	actions/remotesubscribe.php
	actions/showstream.php
	actions/updateprofile.php
	actions/userauthorization.php
	classes/laconica.ini
	lib/common.php
	lib/oauthstore.php
	lib/omb.php
2009-08-27 11:16:45 -07:00
Evan Prodromou
dcda2e1f72 show SQL errors in the output 2009-08-27 08:58:03 -07:00
Evan Prodromou
2371fe9092 don't show a warning when dl() disabled 2009-08-27 08:45:53 -07:00
Evan Prodromou
f1fda6c050 Merge branch '0.8.x' into 0.9.x 2009-08-27 07:56:19 -07:00
Craig Andrews
3e362233ee Merge commit 'laconica/0.8.x' into 0.9.x 2009-08-26 21:56:59 -04:00
Craig Andrews
0b884ed915 Add library checking page 2009-08-26 19:08:30 -04:00
Evan Prodromou
df86aa7214 define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
Evan Prodromou
3567b9d708 global search and replace for laconica -> statusnet 2009-08-25 18:53:24 -04:00
Evan Prodromou
865b716f09 change LACONICA to STATUSNET 2009-08-25 18:42:34 -04:00
Evan Prodromou
4737563b95 a distributed -> the distributed 2009-08-25 18:14:12 -04:00
Evan Prodromou
c8b8f07af1 change Laconica and Control Yourself to StatusNet in PHP files 2009-08-25 18:12:20 -04:00
Brion Vibber
5c21a371d6 Include php-gettext 1.0.7 into extlibs; loading it up if native gettext extension is not present.
This provides a pure PHP implementation of the gettext functions.

This should help get laconica running on shared hosting environments where PHP's gettext module may not be installed.
Also gets us one step closer to running on Mac OS X 10.5 with Apple's preinstalled PHP, which doesn't provide an easy way to add modules.

Source: http://savannah.nongnu.org/projects/php-gettext
Copyright (c) 2005 Steven Armstrong <sa at c-area dot ch>
GPLv2 or later
2009-08-21 16:01:51 -04:00
Evan Prodromou
b2664e1ae2 Merge branch '0.8.x' into 0.9.x
Conflicts:
	actions/updateprofile.php
	actions/userauthorization.php
	classes/User_group.php
	index.php
	install.php
	lib/accountsettingsaction.php
	lib/logingroupnav.php
2009-08-21 15:42:11 -04:00