Brenda Wallace
738b6d1690
lotsa of multiline if statements and function calls changed style to meat pear code style
2009-09-14 19:08:45 +12:00
Brenda Wallace
a2f4fe7fc8
fixed up if statements
2009-09-14 19:08:37 +12:00
Brenda Wallace
acd9e7c056
added most of the required doxygen
2009-09-14 19:08:16 +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
4a19c292fb
Make a new REST service for the autocomplete plugin, significantly reducing the size of the responses. Also enables caching in the browser.
2009-09-13 21:44:17 -04:00
Craig Andrews
bb48698416
Add missing pkeyGet override to the Profile class
2009-09-13 21:43:29 -04:00
Craig Andrews
b9e4b6dd49
Generate ETags for pages which don't specify themselves.
2009-09-13 17:30:50 -04:00
Craig Andrews
20997619b3
When viewing a page in https, all links to non-actions (links to CSS, JS, etc) should be https. Fixes the mixed content warnings that browsers display.
...
Fixes http://status.net/trac/ticket/1552
2009-09-13 01:24:57 -04:00
Craig Andrews
0a1d2635c1
Set a Vary header with accept-encoding and cookies.
...
Fixes http://status.net/trac/ticket/17
2009-09-13 01:01:31 -04:00
Craig Andrews
53b558353b
Add ChinaMobile as an email to SMS carrier
2009-09-13 00:16:50 -04:00
Craig Andrews
940ea07d4a
Response for request token doesn't contain omb_version
...
Fixes http://status.net/trac/ticket/681
Sorry it took a year to accept this patch, dho :'-(
2009-09-13 00:01:23 -04:00
Craig Andrews
29d937d04e
Check if the avatar exists before trying to delete it.
...
Fixes http://status.net/trac/ticket/1868
2009-09-12 17:11:55 -04:00
Craig Andrews
7cd80b29c4
NoticeForm's constructor's inreplyto argument should be optional (defaulting to null)
2009-09-12 17:06:46 -04:00
Craig Andrews
b75ed37eeb
Show username in subject of emails
...
Fixes http://status.net/trac/ticket/1862
2009-09-12 16:58:04 -04:00
Craig Andrews
57feeb566a
Add a parameter named 'inreplyto' to the 'notice/new' page, so urls can inclue 'inreplyto' id's. Also add 'inreplyto' to the urls sent in emails.
2009-09-11 22:37:37 -04:00
Marcel van der Boom
c04987018c
Several fixes to make RabbitMQ a player.
...
* extlib/Stomp.php
-spaces for tabs (we're on PEAR, right?)
- send: initialize the $properties parameter as array() instead of null
this prevents unsetting $headers if $properties was not set
(besides that, it's the proper way to initialize an array)
- subscribe: insert FIXME's on ActiveMQ specifics
- ack: make sure the content-length header is set *and* is zero.
I have seen the header set to '3' there but could not find where it
came from, this is at least safe.
- disconnect: typo in $headers variable
- readFrame: use fgets() instead of gets() so that RabbitQ, which is more protocol strict can also play
* extlib/Stomp/Frame.php
- spaces for tabs
- add note on possibly protocol violating linefeed
* extlib/Stomp/Message.php
- space for tabs
- add content-length header for message
* lib/stompqueuemanager.php
- use the notice for logging, not the frame
2009-09-11 20:50:53 -04:00
Marcel van der Boom
a73162d3eb
Silence the NOTICE log messages on port not defined, we deal with
...
that properly, and most of the time it is indeed not define
2009-09-11 20:49:24 -04:00
Craig Andrews
9e2705d9d3
The site id was hardcoded inside the plugin code. Instead the piwikid
...
is used now.
Fixes http://status.net/trac/ticket/1864
Thanks zmf
2009-09-11 20:40:51 -04:00
Craig Andrews
2a06f2ac5b
If there is no mimetype set, the file shouldn't be considered an enclosure
2009-09-10 21:21:01 -04:00
Craig Andrews
292bb7c4d8
Allow @ signs in the path, querystring, and fragment parts of URLs
2009-09-10 21:19:38 -04:00
Craig Andrews
2a56245614
Re-use enclosure decision logic to decide if a link gets a paperclip/lightbox popup.
2009-09-10 21:13:30 -04:00
Sarven Capadisli
b46d2e7fe0
Markdown is not necessary
2009-09-10 17:52:51 +00:00
Craig Andrews
584ea1b23c
Revert "If a shortened URL begins with http://, don't include it in the shortened url. Saves 7 characters, which is pretty awesome for 140 character max length notices."
...
This reverts commit e2848eb862
.
Downstream consumers of our notices (such as Friendfeed, Facebook, etc) don't have sophisticated URL detection, so a notice that reads: "check out ur1.ca/1" won't be linked. So the http:// prefix is
mandatory.
2009-09-10 12:13:43 -04:00
Craig Andrews
3504ef5721
Fix HTML validation
2009-09-10 12:11:33 -04:00
Brion Vibber
a85df6f375
Merge branch '0.9.x' of git://gitorious.org/laconica/mainline into 0.9.x
2009-09-09 20:02:40 -07:00
Craig Andrews
cd650b090a
Merge remote branch 'laconica/0.8.x' into 0.9.x
2009-09-09 22:58:19 -04:00
Craig Andrews
e2848eb862
If a shortened URL begins with http://, don't include it in the shortened url. Saves 7 characters, which is pretty awesome for 140 character max length notices.
2009-09-09 22:57:15 -04:00
Craig Andrews
d7ae0ed4fd
Merge remote branch 'laconica/0.8.x' into 0.9.x
...
Conflicts:
lib/omb.php
2009-09-09 22:52:38 -04:00
Craig Andrews
aecdba1ded
:: isn't a valid IPv6 address for our purposes
2009-09-09 16:57:11 -04:00
Sarven Capadisli
7a910961b6
Updated biz, cloudy, h4ck3r, pigeonthoughts themes default logos
2009-09-09 13:04:05 +02:00
Sarven Capadisli
153b647f0b
Updated biz theme.
2009-09-09 12:57:27 +02:00
Zach Copley
876f56254d
Moved basic auth client into plugin dir
2009-09-08 16:07:01 -07:00
Zach Copley
9d87313eae
Merge branch '0.9.x' into pluginize-twitter-bridge
...
Conflicts:
plugins/TwitterBridge/twitterauthorization.php
2009-09-08 16:02:57 -07:00
Evan Prodromou
e559f82e86
flip exe bit on statusnet.ini
2009-09-08 13:07:21 -07:00
Evan Prodromou
1e707008c2
flip exe bit on Deleted_notice.php
2009-09-08 13:06:46 -07:00
Evan Prodromou
3e1dc0e0b9
flip exe bit on Config.php
2009-09-08 13:06:13 -07:00
CiaranG
52a197b235
Linkback Plugin: check result properly so failures are not reported as a success in the log. Also logs (debug only) when an attempt is being made
2009-09-08 13:25:59 +01:00
CiaranG
afe1b8ec3d
Use a non-error-generating array key check to a) improve performance and b) not fill the log file with crud
2009-09-08 11:27:37 +01:00