Commit Graph

5898 Commits

Author SHA1 Message Date
Craig Andrews
d7e13e847d 304 responses should not have a Content-Length header. 2009-09-15 17:17:36 -04:00
Evan Prodromou
13147143fc Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-09-15 17:16:35 -04:00
Craig Andrews
c6675bbddf Merge branch '0.8.x' of gitorious.org:statusnet/mainline into 0.8.x 2009-09-15 17:09:47 -04:00
Evan Prodromou
48565a2cdc Revert "Several fixes to make RabbitMQ a player."
This reverts commit c04987018c.
2009-09-15 17:08:27 -04:00
Craig Andrews
4a97ad9efe Remove unnecessary Profile::pkeyGet
Thanks for the info, Evan.
2009-09-15 17:08:26 -04:00
Zach Copley
12221f735e Make it impossible to delete self-subscriptions via the API 2009-09-15 13:01:56 -07:00
Zach Copley
4081ed79b0 Make it impossible to delete self-subscriptions via the API 2009-09-15 13:01:12 -07:00
Zach Copley
80ba0603c6 Make it impossible to delete self-subscriptions via the API 2009-09-15 12:59:32 -07:00
Sarven Capadisli
a9cf185e69 Updated XHR return markup for Realtime plugin 2009-09-15 13:53:16 +00:00
Adrian Lang
5bad7040b1 Fix bad merge d7ae0ed4fd 2009-09-14 22:08:17 +02:00
Sarven Capadisli
cf0d449fd8 Updated Cloudy theme 2009-09-14 15:14:48 +02:00
Christopher Vollick
bbab0c1fa6 Fixed Confusing Typo in Documentation.
Subscribe != Unsubscribe.

Also, my editor added a newline at the end because there wasn't one.
2009-09-14 08:44:58 -04:00
Brenda Wallace
fcff85bb36 code style cleanup 2009-09-14 19:19:44 +12:00
Brenda Wallace
84da24aba4 cleaned up code style 2009-09-14 19:19:31 +12:00
Brenda Wallace
5ca90e2c8c pulled @author from git logs
Conflicts:

	install.php
2009-09-14 19:19:11 +12:00
Brenda Wallace
87c59fe873 fixed indentation for the pear code styles 2009-09-14 19:08:54 +12:00
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