Commit Graph

1989 Commits

Author SHA1 Message Date
Zach Copley
500f0c7072 Make the TwitterQueuehandler post to Twitter using OAuth 2009-08-24 11:52:28 -04:00
Zach Copley
e9edaab358 Twitter OAuth server dance working 2009-08-24 11:52:15 -04:00
Evan Prodromou
77f303c2be Merge branch 'master' into testing
Conflicts:
	lib/rssaction.php
	lib/twitterapi.php
2009-08-24 11:28:16 -04:00
Evan Prodromou
a0f6b4f078 ServerErrorAction always logs 2009-08-12 11:16:57 -07:00
Evan Prodromou
3cdefe9983 Revert "Typo, session_name is a function."
This reverts commit d0793c0f44.
2009-08-10 16:42:10 -04:00
Adrian Lang
d0793c0f44 Typo, session_name is a function. 2009-08-10 15:24:27 +02:00
Zach Copley
9ec022df93 Only populate attachments array element if there are attachments 2009-08-08 00:57:49 +00:00
Zach Copley
348fa35c6b Also show XML representation of attachments in the API 2009-08-08 00:57:41 +00:00
Zach Copley
0cfdc2b91b Post to Facebook user's stream if notice has an attachment, otherwise post notice as a status update 2009-08-08 00:57:29 +00:00
Zach Copley
2399908138 Better error handling when updating Facebook 2009-08-08 00:57:21 +00:00
Brenda Wallace
4e7546fbe2 Call $this->getNotices() always, becuase $this will be the right class.
e.g.
TagrssAction
 or
PublicrssAction
2009-08-08 00:56:01 +00:00
Evan Prodromou
7a61b0737d update version to 0.8.1pre1 2009-08-05 16:06:15 -04:00
Zach Copley
43eb19910f Post to Facebook user's stream if notice has an attachment, otherwise post notice as a status update 2009-08-04 20:49:18 +00:00
Jeffery To
0155d02cec Fixed PHP Notice "Undefined property: Profile::$value" 2009-08-04 18:45:11 +08:00
Jeffery To
e670e4306b Fixed PHP Notices:
Undefined index:  HTTP_X_FORWARDED_FOR
    Undefined index:  HTTP_CLIENT_IP
    Undefined variable: proxy

Also fixed the return value order to match calls to common_client_ip() in actions/api.php and lib/rssaction.php
2009-08-02 20:10:31 +08:00
Jeffery To
6c1bd67591 Fixed PHP Notice "Undefined index: enclosures" (and a possible one for 'tags') 2009-08-02 19:38:03 +08:00
Jeffery To
b2d2b19d3a Fixed PHP Notice "Use of undefined constant session_name - assumed 'session_name'" 2009-08-02 19:36:09 +08:00
Craig Andrews
45ad4cfe72 Added a url field to hold the permalink. I believe this field is very useful for api consumers. 2009-07-30 22:43:07 -04:00
Craig Andrews
ec103b90e3 Implemented the "show" method of the laconica groups api 2009-07-30 22:15:24 -04:00
Sarven Capadisli
77c5f9481c Removed default values from <input>s. JavaScript will now get the
colours from the theme. This approach removes data that was
previously available in HTML. It was only necessary if the user wanted
to know the site's default values.
2009-07-30 17:06:17 -04:00
Evan Prodromou
854d24b05a Site-wide design configuration
I added some code so that the site-wide design can be set, using the
configuration interface.

I also moved the configuration option from
$config['site']['design']['background'] to just
$config['design']['background'], but the old syntax will still work.

Conflicts:

	config.php.sample
2009-07-30 17:05:35 -04:00
Sarven Capadisli
80ad02610a Removed default values from <input>s. JavaScript will now get the
colours from the theme. This approach removes data that was
previously available in HTML. It was only necessary if the user wanted
to know the site's default values.
2009-07-30 20:44:51 +00:00
Evan Prodromou
7292c1aa78 Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-30 16:25:38 -04:00
Evan Prodromou
ae81d36137 Site-wide design configuration
I added some code so that the site-wide design can be set, using the
configuration interface.

I also moved the configuration option from
$config['site']['design']['background'] to just
$config['design']['background'], but the old syntax will still work.
2009-07-30 16:24:04 -04:00
Craig Andrews
15848a815e Fix the router entries for the oEmbed endpoint so they don't accidentally catch too much 2009-07-30 15:37:35 -04:00
Craig Andrews
6b48fd8f86 move oEmbed router connection after plugins, so other endpoints (such as main/facebooklogin) from plugins don't get accidentally intercepted 2009-07-29 15:33:09 -04:00
Craig Andrews
421ee4297e Fix RDFS namespace declaration.
Thanks tobyink
2009-07-28 10:43:40 -04:00
Craig Andrews
ac75772150 Sanitize html returned by oEmbed providers to protect laconica from XSS attacks 2009-07-27 13:42:03 -04:00
Zach Copley
b9cf19a2ee Better error handling when updating Facebook 2009-07-27 02:54:51 +00:00
Craig Andrews
3077876b17 Merge commit 'br3nda/0.8.x-lowercaseutf8' into 0.8.x 2009-07-26 00:59:41 -04:00
Brenda Wallace
d3a72431be lowercase tags using mb_convert_case(), which understands many more alphabets than I do. 2009-07-26 16:34:27 +12:00
Sarven Capadisli
0b47e71e7a Removed <dl> structure from NoticeListItem::showContext. Same as
committ e0b877b26c.
2009-07-25 18:26:00 +00:00
Sarven Capadisli
e378341910 Removed <dl> structure from NoticeListItem::showNoticeSource. Same as
commit e0b877b26c.
2009-07-25 18:22:05 +00:00
Sarven Capadisli
9c09bfe4d7 Removed <dl> structure from NoticeListItem::showNoticeLink. Reason:
Arguably, the earlier structure was unnecessarily verbose. Same as commit
e0b877b26c.
2009-07-25 18:04:45 +00:00
Sarven Capadisli
66a959a776 Removed <dl> structure from NoticeListItem::showReplyLink. Reason:
Same as commit e0b877b26c.
2009-07-25 17:44:19 +00:00
Sarven Capadisli
e0b877b26c Removed <dl> structure from NoticeListItem::showDeleteLink. Reason:
To speed up DOM load by cutting down 3 nodes in each notice list item.
Generally each notice option should be a list item in a <ul>, however,
there is no tangible benefit for the user using this approach. In this
case, minimalism is favoured. Similarly, the new approach will make 5
fewer function calls on the server side.
2009-07-25 17:37:37 +00:00
Evan Prodromou
a3a5d23c54 dbqueuemanager a little more sane about sleeping 2009-07-23 14:56:21 -07:00
Evan Prodromou
f227006789 whitespace in dbqueuemanager 2009-07-23 14:50:47 -07:00
Craig Andrews
7fff454ff9 Revert "0.9.0 dev version"
This reverts commit 7cfb2f569d.

This should have never been committed to the 0.8.x branch.
2009-07-23 13:00:34 -04:00
Craig Andrews
67e674773e Merge commit 'br3nda/0.8.x-tagrssfix' into 0.8.x 2009-07-23 11:16:50 -04:00
Brenda Wallace
a33ffe1357 Call $this->getNotices() always, becuase $this will be the right class.
e.g.
TagrssAction
 or
PublicrssAction
2009-07-23 21:46:20 +12:00
Craig Andrews
a54b809778 Merge commit 'jeff-themovie/private-rss' into 0.8.x 2009-07-22 10:25:22 -04:00
Craig Andrews
e70a79d6ab Merge commit 'br3nda/0.8.x-hashtags' into 0.8.x 2009-07-22 10:23:17 -04:00
CiaranG
be5f9ca0e1 Stop daemons using 100% CPU and hammering the DB server when the queue is empty (DBQueueManager-based only) 2009-07-22 09:25:27 +01:00
Craig Andrews
38d70f1386 Add <category> to RSS 2.0, use the same tag finding method for RSS 1.0 as for Atom and RSS 2.0.
http://laconi.ca/trac/ticket/864
2009-07-21 18:01:22 -04:00
Evan Prodromou
6467351e32 update dbqueuemanager to respect handler timeout values 2009-07-21 12:52:55 -07:00
Evan Prodromou
0a602725b1 Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-21 12:50:45 -07:00
Evan Prodromou
de987a9e63 update dbqueuemanager to respect handler timeout values 2009-07-21 12:50:32 -07:00
Craig Andrews
52d51fad3c Fixed: Browser language preference's not used when using Google Chrome
Thanks bambeeq

http://laconi.ca/trac/ticket/620
2009-07-21 15:10:00 -04:00
Craig Andrews
10a6751ddb Fixed: If the site name contains "." or "@" (and perhaps others), then notification emails (such as the email confirmation email) fail with the error "LOG_ERR: PEAR error: Validation failed for:
SITE_NAME <noreply@HOSTNAME> :"

Thanks jk3us

http://laconi.ca/trac/ticket/1356
2009-07-21 14:03:08 -04:00