Commit Graph

6046 Commits

Author SHA1 Message Date
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
Brion Vibber
8e64723813 Make unit tests work again by forcing a 'global' on $_have_a_config...
Fix a typo in the error message when no config file found.
2009-11-02 06:14:08 -08:00
Sarven Capadisli
ebd604cf6b Minor 2009-11-02 13:28:14 +00:00
Sarven Capadisli
412052cd7e Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-02 10:28:57 +00:00
Sarven Capadisli
c9f6c09af0 Updated button.close style 2009-11-02 10:28:22 +00:00
Zach Copley
4abbf44068 Remove stale references to old apiaction parameter 2009-11-01 16:32:45 -08:00
Sarven Capadisli
01dd745a9c Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-01 21:19:11 +01:00
Sarven Capadisli
b1367ae8da Updated button.close styles 2009-11-01 20:53:25 +01:00
Sarven Capadisli
1793cec8a5 Removed unneessary styles 2009-11-01 20:11:51 +01:00
Sarven Capadisli
7576c67aa6 Updated default and identica theme to use a single instance of
property:value for icons.
2009-11-01 20:07:45 +01:00
Sarven Capadisli
f471606a50 Updated default theme for direct message 2009-11-01 19:54:20 +01:00
Sarven Capadisli
b975ab6c2e Moved theme styles from identica to base 2009-11-01 19:48:54 +01:00
Evan Prodromou
6664528244 Revert "Blacklist all files and directories in the web root (INSTALLDIR). Much more elegant than manually keep tracking of these invalid usernames."
This reverts commit 15f9c80c28.

So, so, elegant! And so, so, incorrect!

We can't have a user named 'notice' because that would interfere with
URLs like /notice/1234. However, there is no file named 'notice' in
the Web root.

If there were a way to automatically pull out the virtual paths in the
root dir, this may make sense. Until then, we keep track here.
2009-11-01 11:09:14 -05:00
Sarven Capadisli
f3287bd113 Updated XHR output to match newnotice 2009-11-01 10:42:28 +00:00
Evan Prodromou
659da177ea Add SocialOomph 2009-10-31 15:49:21 -04:00
Evan Prodromou
603f95d17d add and update choqok 2009-10-31 15:40:26 -04:00
Sarven Capadisli
d6b31d42c7 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-10-31 20:36:02 +01:00
Sarven Capadisli
cd4c1267ff Use FormNoticeEnhancements instead of Counter 2009-10-31 20:14:57 +01:00
Evan Prodromou
44ce8e2fcd Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-10-31 14:47:21 -04:00
Evan Prodromou
bed942271d Revert "remove mention of getfile"
This reverts commit c637fe8cf0.
2009-10-31 14:47:00 -04:00
Evan Prodromou
77311a362f Revert "Revert "mod_rewrite rule for getfile""
This reverts commit 7b5285c346.

Conflicts:

	htaccess.sample
2009-10-31 14:46:46 -04:00
Evan Prodromou
65cbf05f60 Revert "Revert "Added some explanatory text to README""
This reverts commit 446de62d02.

Conflicts:

	README
	htaccess.sample
2009-10-31 14:45:46 -04:00
Evan Prodromou
f36162b218 Revert "Revert "Added bit about being incompatible with file attachment virtual server""
This reverts commit a5b3ad7bf5.

Conflicts:

	README
2009-10-31 14:44:32 -04:00
Evan Prodromou
d7da76ab6d Revert "Revert "Actually commit the file this time""
This reverts commit ba89c89176.
2009-10-31 14:43:13 -04:00
Evan Prodromou
521bd68d7c revert revert on getfile 2009-10-31 14:43:01 -04:00
Evan Prodromou
4e9ec0d0e1 merge from testing 2009-10-31 14:36:04 -04:00
Evan Prodromou
c637fe8cf0 remove mention of getfile 2009-10-31 14:34:04 -04:00
Evan Prodromou
7b5285c346 Revert "mod_rewrite rule for getfile"
This reverts commit 834a876dd0.
2009-10-31 14:33:28 -04:00
Evan Prodromou
446de62d02 Revert "Added some explanatory text to README"
This reverts commit d2bac158cd.
2009-10-31 14:33:26 -04:00
Evan Prodromou
a5b3ad7bf5 Revert "Added bit about being incompatible with file attachment virtual server"
This reverts commit afe663af82.
2009-10-31 14:33:24 -04:00
Evan Prodromou
ba89c89176 Revert "Actually commit the file this time"
This reverts commit 3f06bfc042.
2009-10-31 14:32:15 -04:00
Evan Prodromou
4056a26017 Revert "Added getfile action"
This reverts commit f58daa873b.
2009-10-31 14:32:12 -04:00
Evan Prodromou
cf199a9b73 updates to README 2009-10-31 14:19:26 -04:00
Sarven Capadisli
8a333805df Updated counter, submitonreturn to be reused by any form. Created
FormNoticeEnhancements to call those at one go for any form.
2009-10-31 18:55:13 +01:00
Evan Prodromou
ae7d524fd8 add a README warning devs from fracking around in extlib/ 2009-10-31 13:35:20 -04:00
Evan Prodromou
08546e4fb4 Merge branch 'master' into testing 2009-10-31 13:05:22 -04:00
Sarven Capadisli
dd50368cb2 Updated FormNoticeXHR to allow any form_notice as input (e.g., reused
in XHR direct message)
2009-10-31 18:01:19 +01:00
Carlos Perilla
8ce3adc76b Fixes foaf notices, use Profile for information that's missing in Remote_profile 2009-10-31 12:49:53 -04:00
Sarven Capadisli
d42ef11123 Updated form_notice styles. .form_notice applies to both noticeform
(form_notice) and messageform (form_notice-direct)
2009-10-31 17:25:41 +01:00
Evan Prodromou
9f7d390ad1 update version to rc2 2009-10-31 12:18:38 -04:00
Sarven Capadisli
48f33f781a Using 'form_notice' class instead of 'form' to group both forms 2009-10-31 17:16:37 +01:00
Evan Prodromou
5e27d53947 Merge branch '0.8.x' into testing 2009-10-31 12:16:30 -04:00
Sarven Capadisli
f9bb95174b Added XHR for direct messages. 2009-10-31 16:14:38 +01:00
Sarven Capadisli
a2302e5b76 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-10-30 21:45:22 +00:00
Sarven Capadisli
dcca9fbec0 IE has some issue with notices that are sent with file attachments. It
doesn't like the XHR response with XHTML DTD. New notices without the
file attachment work fine.

The rendered content (the anchor for the file attachment link) doesn't
appear to be the issue.

To fix this problem, I removed the XHTML DTD line from newnotice's XHR
response. This is unnecessary for text/xml outputs that's intended
for XHR responses any way. It just happens to fix an IE issue.

Still a mystery to me as to why it is particular to notices with file
attachments.
2009-10-30 21:44:31 +00:00
Sarven Capadisli
db9aef9f67 IE has some issue with notices that are sent with file attachments. It
doesn't like the XHR response with XHTML DTD. New notices without the
file attachment work fine.

The rendered content (the anchor for the file attachment link) doesn't
appear to be the issue.

To fix this problem, I removed the XHTML DTD line from newnotice's XHR
response. This is unnecessary for text/xml outputs that's intended
for XHR responses any way. It just happens to fix an IE issue.

Still a mystery to me as to why it is particular to notices with file
attachments.
2009-10-30 21:31:11 +00:00
Sarven Capadisli
900a0e2838 Running through importNode before checking for id 2009-10-30 21:11:56 +00:00
Brion Vibber
b7ed31c27b Use nickname from profile, not user object, to avoid barfing warnings on Twitter messages imported into the timeline. 2009-10-30 16:55:47 -04:00
Craig Andrews
fc22bde67c Redirect to login when trying to send a direct message while not logged in.
http://status.net/trac/ticket/1359
2009-10-30 16:01:20 -04:00
Craig Andrews
982850c9c7 Added simple registration (sreg) support to the OpenID provider 2009-10-30 15:33:04 -04:00