Commit Graph

66 Commits

Author SHA1 Message Date
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
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
Brett Taylor
04c6272915 fix for trac bug #1805:
bug on line 381 referred to non existant variable, and caused a php notice and potentially would create a misconfigured config.php database type setting.
2009-08-11 15:30:03 +12:00
Brett Taylor
b0bb1fff2e install.php: improved support for running Laconica in a sub folder and on a non-standard port,
tidyed up configuration file generation, removing duplication from db functions,
2009-08-11 14:53:03 +12:00
Brett Taylor
49eb6009a5 install.php: improved support for running Laconica in a sub folder and on a non-standard port,
tidyed up configuration file generation, removing duplication from db functions,
2009-08-06 22:33:37 -04:00
Craig Andrews
95ba22c5d7 Switch DOCTYPE's to the XHTML 5 DOCTYPE 2009-08-05 18:27:27 -04:00
Tom Adams
4e9db95bcf Use <?php echo instead of <?print 2009-08-04 01:24:25 +01:00
Tom Adams
605742f039 Pass $fancy to *_db_installer. 2009-07-29 16:54:29 -04:00
Tom Adams
3350770cc7 Use <?php not <?. 2009-07-29 16:54:13 -04:00
Craig Andrews
f86faaf341 If cannot connect, then stop the installation 2009-07-25 00:19:12 -04:00
Brenda Wallace
70cc09a5c2 check the postgresql database is UTF8 before allowing installation to proceed 2009-07-25 00:15:35 -04:00
Craig Andrews
22466530ef Fixed: The installer checks if the avatar and background directories are writable, but fails to check the file directory used for attachments.
Thanks brion

http://laconi.ca/trac/ticket/1703
2009-07-21 13:59:34 -04:00
CiaranG
6b7fa65ca1 Merge commit 'br3nda/0.8.x-pginstaller' into 0.8.x 2009-07-19 08:08:39 +01:00
Craig Andrews
8894f957cd Require PHP 5.2.3 or later.
http://laconi.ca/trac/ticket/1605
2009-07-17 17:54:37 -04:00
Brenda Wallace
d591e24eac typo in config variable
and pass type='pgsql' in to writeConf
2009-07-15 20:16:37 +12:00
Brenda Wallace
1b3c4f2c52 quote identifiers and type='psql' needs to be written to config.php 2009-07-15 20:09:29 +12:00
Brenda Wallace
4f9c3b50e7 install.php works for postgres 2009-07-15 18:46:34 +12:00
Brenda Wallace
343e2010ae connect to pg working 2009-07-15 18:45:45 +12:00
Brenda Wallace
3fe182e865 added dbtype detection - and only install mysql stuff if mysql selected 2009-07-15 18:45:26 +12:00
Brenda Wallace
ac7d8163c6 added dbtype to the installer form 2009-07-15 18:44:55 +12:00
Brenda Wallace
4d42bc7690 missing word (find) added 2009-07-15 18:44:33 +12:00
Brenda Wallace
8f1b1ffcf0 mysql or pgsql required (not mysql) 2009-07-15 18:43:58 +12:00
Brenda Wallace
3a3614fc55 also check for write permission to background folder 2009-06-26 22:42:52 +12:00
Evan Prodromou
793a6a1155 change Controlez-Vous to Control Yourself 2009-06-20 16:00:04 -07:00