Craig Andrews
8782f5fedf
do not allow " in URLs - they are not legal URL characters
2009-11-02 12:53:02 -05:00
Craig Andrews
b179ab650a
do not allow [ and ] - they are not legal URL characters
2009-11-02 12:53:02 -05:00
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
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
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
Zach Copley
4abbf44068
Remove stale references to old apiaction parameter
2009-11-01 16:32:45 -08: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
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
4056a26017
Revert "Added getfile action"
...
This reverts commit f58daa873b
.
2009-10-31 14:32:12 -04: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
Brenda Wallace
de7c12baef
Merge commit 'mainline/0.9.x' into 0.9.x
2009-10-30 10:35:27 +13:00
Brenda Wallace
f1daca16e2
give some suggestions back to the user when no config file found, and a link to the installer
2009-10-30 10:03:25 +13:00
Brenda Wallace
d5951ebce6
Revert "give some suggestions back to the user when no config file found, and a link to the installer"
...
This reverts commit 7f5fbee2e3
.
2009-10-30 10:02:37 +13:00
Brenda Wallace
c0f8c0178a
Merge commit 'mainline/0.9.x' into 0.9.x
2009-10-30 09:41:04 +13:00
Craig Andrews
c49564647a
whitespace adjustments for doxygen
2009-10-29 16:27:23 -04:00
Craig Andrews
54696f7c46
Moved the public XRDS from the OpenID plugin to core
...
Added 4 new events involved in XRDS: StartUserXRDS, EndUserXRDS, StartPublicXRDS, EndPublicXRDS
Added OpenID provider functionality (no delegation support [yet])
2009-10-29 16:27:22 -04:00
Brenda Wallace
7f5fbee2e3
give some suggestions back to the user when no config file found, and a link to the installer
2009-10-30 09:17:19 +13:00
Evan Prodromou
49dd54315f
show notice location in notice list
2009-10-29 16:16:02 -04:00
Evan Prodromou
5b0809f4a3
fix caching in location.php
2009-10-29 16:15:49 -04:00
Evan Prodromou
a6ed4e5bf7
a location method for getting an URL
2009-10-29 14:49:00 -04:00
Sarven Capadisli
f0abc0fe15
Updated bookmarklet. Created its own action
2009-10-29 13:18:51 +01:00
Evan Prodromou
2b5a5e02a4
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-10-28 22:58:58 -04:00
Zach Copley
e0dbc47f8e
Fixed header comment.
2009-10-28 17:47:14 -07:00
Zach Copley
9ef05030fe
Merge branch 'api-media-upload' into 0.9.x
...
* api-media-upload:
Rearanged a couple things & removed debugging statements
Rework MailDaemon to use the MediaFile class for uploads
Implement media upload in the API
Extract media upload stuff into its own library class.
2009-10-28 17:18:33 -07:00
Zach Copley
e5a2f895a0
Rearanged a couple things & removed debugging statements
2009-10-28 17:13:06 -07:00
Zach Copley
b9ce23d0c2
Rework MailDaemon to use the MediaFile class for uploads
2009-10-28 22:24:20 +00:00
Evan Prodromou
61ccf450de
Merge branch '0.9.x' into location
2009-10-28 17:28:08 -04:00
Evan Prodromou
7647703881
rogue n in curlclient.php
2009-10-28 17:28:00 -04:00
Evan Prodromou
b73d6d18ba
Merge branch '0.9.x' into location
2009-10-28 17:24:53 -04:00
Evan Prodromou
10df75f9a0
add StartInitializeRouter event
2009-10-28 16:07:57 -04:00
Zach Copley
2d0aba49d9
Implement media upload in the API
2009-10-27 21:45:56 -07:00
Craig Andrews
5fd7ed5b14
Display user avatar in the XMPP message
...
Include notice id and conversation link the XMPP message
Thanks to Deepspawn for this idea and initial code
2009-10-27 23:31:49 -04:00
Craig Andrews
5f42023f97
implement the nudge command
2009-10-27 22:45:00 -04:00
Craig Andrews
da16dc05a8
Added a new "reply" command
2009-10-27 22:30:21 -04:00
Zach Copley
93a6e83d5d
Extract media upload stuff into its own library class.
2009-10-27 19:11:18 -07:00
Craig Andrews
922ee7b3b2
Implemented reply # command, allowing users to favorite specific notices by the notice id
2009-10-27 21:48:56 -04:00
Craig Andrews
0b4390e7f2
Make email domain checking optional, as some statusnet installations (such as those behind restrictive corporate firewalls, or on home systems on restrictive connections) cannot connect to any mail
...
systems, and this check will always fail.
2009-10-26 10:31:12 -04:00
Evan Prodromou
3c724ccd0d
Merge branch '0.9.x' into location
2009-10-24 19:59:46 -04:00
Zach Copley
6d6de3c1c7
Move Twitter and Facebook-specific mail notifications to their respective plugins
2009-10-23 23:38:45 +00:00
Zach Copley
2544310e73
Remove automatic enqueuing for Facebook
2009-10-23 23:34:48 +00:00
Zach Copley
34a21e7605
Merge branch '0.9.x' into facebook-app-plugin
2009-10-23 23:05:59 +00:00
Zach Copley
45a2253649
Merge branch '0.9.x' into facebook-app-plugin
2009-10-23 22:48:35 +00:00
Brion Vibber
b89878511f
Fix three fatal errors when posting from 0.9.x:
...
* OMB remote updates were trying to load nonexistent Laconica_OMB_Service_Consumer class -- fixed to StatusNet_OMB_Service_Consumer. Regression caused during libomb merge.
* Twitter processing was still being queued from core when no twitter plugin was present, which triggered an exception from UnqueueHandler; leftover code from before the plugin extraction.
* UnqueueHandler's exception caused a fatal error instead because it was missing the "new" keyword. Wouldn't have been seen when testing with the plugin enabled.
2009-10-23 20:31:53 +00:00
Craig Andrews
c93b9b9523
Merge commit 'refs/merge-requests/1815' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-10-23 11:15:25 -04:00
Zach Copley
1b4f9f2c09
Merge branch '0.9.x' into facebook-app-plugin
2009-10-22 21:12:51 +00:00