Commit Graph

6641 Commits

Author SHA1 Message Date
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
73b9e531bf Detect "no file" upload error and, for now at least, ignore it gracefully.
This was triggering on non-AJAX form submissions for new notices, preventing them from being posted when they contained no attachments.
2009-11-02 09:10:06 -08:00
Sarven Capadisli
b579a306c7 Ran through JSLint 2009-11-02 17:06:52 +00:00
Sarven Capadisli
c3cac436e2 Fixed object string name and order for submitonreturn actions 2009-11-02 16:55:47 +00:00
Sarven Capadisli
eeed7f5437 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-02 16:44:12 +00:00
Sarven Capadisli
8d35831b54 Fixed object string name 2009-11-02 16:42:50 +00:00
Evan Prodromou
c991047fc4 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-02 11:23:41 -05:00
Evan Prodromou
3c4ac05cde remove <dl> stuff from profile list 2009-11-02 11:23:31 -05: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
Sarven Capadisli
d8e2d76ba9 Typo: z-index should be 2 instead of 1 2009-11-02 14:54:31 +00:00
Sarven Capadisli
8a07c7d7c0 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-02 14:53:31 +00: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
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
Evan Prodromou
f2b642ce82 insert profile flags more or less correctly 2009-11-01 23:25:30 -05: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
Evan Prodromou
70e4580c3f move action files to the right place 2009-11-01 15:16:53 -05:00
Evan Prodromou
f72857d73e show profile flag form when showing profile list or profile page 2009-11-01 15:13:11 -05:00
Evan Prodromou
7701bc2e56 profile flag form 2009-11-01 15:12:49 -05:00
Sarven Capadisli
b1367ae8da Updated button.close styles 2009-11-01 20:53:25 +01:00
Evan Prodromou
e42967fe3e add data definitions to user flag classes 2009-11-01 14:24:40 -05:00
Evan Prodromou
644263f989 update autogenerated data objects to match our classes 2009-11-01 14:16:50 -05:00
Evan Prodromou
fa661664dd remove exe flags on UserFlag data objects 2009-11-01 14:12:19 -05:00
Evan Prodromou
9cb74c439a autogenerated files for UserFlag data objects 2009-11-01 14:11:52 -05: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
340a88d713 make sure tables are created correctly 2009-11-01 13:41:32 -05:00
Evan Prodromou
5f5413624d Merge branch '0.9.x' into userflag 2009-11-01 13:04:23 -05: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