Commit Graph

104 Commits

Author SHA1 Message Date
Sarven Capadisli
2c6eb77045 Added a checkbox for subscribing the admin of a StatusNet instance to
update@status.net. Checked by default. Subscription optional.
2010-03-09 14:00:45 -08:00
Brion Vibber
927a368d0e CentOS 5.4 still has bad PCRE in stock (though all bets off for PHP packages, since you'd need a version update anyway...) 2010-03-08 13:38:59 -08:00
Brion Vibber
3b0bdc0ae2 Revert "CentOS 5.4 still bogus on a stock install." - bad debug lines crept in
This reverts commit 7e7d88831c.
2010-03-08 13:38:26 -08:00
Brion Vibber
7e7d88831c CentOS 5.4 still bogus on a stock install. 2010-03-08 13:32:18 -08:00
Brion Vibber
54de8ad9f2 Initial install-time test for PCRE compiled without Unicode properties, which causes corruption in feeds and other linking problems.
Error message links to help info at http://status.net/wiki/Red_Hat_Enterprise_Linux#PCRE_library
2010-03-05 13:59:39 -08:00
Brion Vibber
89833ce1ff Set up subscription to update@status.net for admin user on new installation, if OStatus is set up and working. (Will fail gracefully on a behind-the-firewall site.) 2010-03-04 11:00:02 -08:00
Brion Vibber
a3cb285da8 Add link to http://status.net/wiki/Getting_started on installer success screen. 2010-03-04 09:51:44 -08:00
Sarven Capadisli
1831506885 Moved database hostname in install to db fieldset 2010-03-04 11:35:18 -05:00
Sarven Capadisli
0cf0a684ce Updated SN install UI. Using separate fieldsets 2010-03-04 11:32:30 -05:00
Brion Vibber
8b3febab55 Installer tweaks: maintain form values when redisplaying form after error, add pass confirmation and optional email forms for administrator.
Caveat: fancy URLs value isn't currently maintained; JS needs updating to not overwrite the value or we should kill it entirely.
2010-03-04 07:45:26 -08:00
Zach Copley
507454d65d Couple of tweaks to the HTML to try and make installer look bettter. This still needs some work. 2010-03-04 00:00:46 -08:00
Zach Copley
44462ac617 Create an initial user during install, and grant owner, moderator and administrator roles. 2010-03-04 00:00:46 -08:00
Brion Vibber
38912b34c7 Drop the overly-prominent link to checklibs display; it's unnecessary and just confuses people.
The ability's still there to aid in debugging, but it won't be tempting people to click on it.
2010-01-04 10:41:52 -08:00
Brion Vibber
10f40661a2 Ticket 1870: drop unnecessary Tidy module installation requirement.
Tidy was only being used by a couple of non-default URL shortener plugins,
PtitUrl and TightUrl. Both were easily changed to load the tag-soup HTML
via DOMDocument (using the default DOM module which is already used by
other dependencies).

Added xml, dom, and simplexml modules to the requirements check
in install.php, as they were being used but not checked for.

Also cleaned up LilUrl, PtitUrl, and TightUrl to return URL as a string
instead of as a SimpleXML node object.
2009-11-30 09:12:19 -08:00
Evan Prodromou
fe18063bd2 Revert "Ask users if they wish to send statistics to SNI, default is off."
This reverts commit 7efea1115f.

Conflicts:

	install.php
2009-11-14 17:38:10 +01:00
Eric Helgeson
bd1c1fc137 Forgot closing tag... 2009-11-11 18:50:23 -05:00
Eric Helgeson
7efea1115f Ask users if they wish to send statistics to SNI, default is off.
Users may not know about this setting and are unaware they are sending stats.
This allows them to make that decision.
2009-11-11 18:45:21 -05: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