Commit Graph

4982 Commits

Author SHA1 Message Date
Zach Copley
f94ee5597d Moved some stuff to a base class 2009-08-04 00:46:18 +00:00
Tom Adams
20b2540779 Only warn when chars remaining < 0, not <= 0. 2009-08-04 01:24:50 +01:00
Tom Adams
961d2a812f lighttpd rewrites now possible in other directories. 2009-08-04 01:24:30 +01:00
Tom Adams
06a41d4516 Enable 404-based rewrites for lighttpd installations in / 2009-08-04 01:24:28 +01:00
Tom Adams
4e9db95bcf Use <?php echo instead of <?print 2009-08-04 01:24:25 +01:00
Zach Copley
1f9d1772c0 Allow removal of Twitter account. Deleted dead code. 2009-08-04 00:02:07 +00:00
Zach Copley
dccd4aa68d Merge branch '0.8.x' into twitter-oauth 2009-08-03 22:47:57 +00:00
Zach Copley
981fa1b33a Make the TwitterQueuehandler post to Twitter using OAuth 2009-08-03 22:46:01 +00:00
Eric Helgeson
ff6e976d03 Added the 0.2 recaptcha plugin. Should work in all browsers. Please test. 2009-08-03 16:39:10 -05:00
Brenda Wallace
d0b85d3ad2 Upgrade script 2009-08-04 08:51:57 +12:00
Zach Copley
f81dcbd5b7 Merge branch 'fbconnect-speedup' into 0.8.x 2009-08-03 18:48:25 +00:00
Craig Andrews
92ef468fcc Use the same favorite notification function in the API as everywhere else
http://laconi.ca/trac/ticket/873
2009-08-03 11:47:58 -04:00
Craig Andrews
c65056aa8d Merge commit 'jeff-themovie/0.8.x-small-fixes-2' into 0.8.x 2009-08-02 18:13:10 -04:00
Evan Prodromou
fdaba2e94b Merge branch 'master' into 0.8.x 2009-08-02 13:53:42 -04:00
Evan Prodromou
b27af3247d don't delete during select 2009-08-02 11:18:56 -04:00
Evan Prodromou
8157336a0d don't delete during select 2009-08-02 11:18:41 -04:00
Evan Prodromou
f342db586d A script to GC sessions correctly 2009-08-02 10:35:30 -04:00
Evan Prodromou
60c39e4705 GC sessions one by one to make sure memcached gets cleared 2009-08-02 10:35:18 -04:00
Evan Prodromou
43747391e8 Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-08-02 10:35:03 -04:00
Evan Prodromou
2934099fbd A script to GC sessions correctly 2009-08-02 10:34:40 -04:00
Evan Prodromou
34e8b25cee GC sessions one by one to make sure memcached gets cleared 2009-08-02 10:34:23 -04: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
20c536fdd4 Fixed PHP Notice "Undefined variable: cnt" 2009-08-02 19:52:27 +08:00
Jeffery To
fe57e2e06b Fixed PHP Notice "Undefined variable: suplink" 2009-08-02 19:47:36 +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
Zach Copley
6f4b2f0ac2 Twitter OAuth server dance working 2009-08-01 08:20:44 +00:00
Sarven Capadisli
5f3af3e121 Added credit to rgb2hex() author 2009-07-31 19:31:23 +00: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
d5cc1357fd don't ignore config.php.sample 2009-07-30 17:06:03 -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
Evan Prodromou
339e6796a0 Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-30 17:03:22 -04:00
Evan Prodromou
3af5774769 throw an exception rather than die() 2009-07-30 16:55:09 -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
8371aea9c1 remove debugging code about processing a new URL 2009-07-30 16:38:50 -04: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
Zach Copley
cd9748ad56 Attempt to reduce the number of calls to FB to speed things up 2009-07-30 19:34:32 +00:00
Evan Prodromou
e9ac70bfa7 Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-30 14:57:04 -04:00
Tom Adams
63e8f15448 /check-fancy now works when installed in root dir. 2009-07-29 21:50:21 -04:00
Zach Copley
a49272d448 Add new Foreign_link col to store OAuth access token 2009-07-30 00:20:13 +00:00
Tom Adams
605742f039 Pass $fancy to *_db_installer. 2009-07-29 16:54:29 -04:00
Tom Adams
3350770cc7 Use <?php not <?. 2009-07-29 16:54:13 -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
Evan Prodromou
2b834d04d9 Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-29 11:49:01 -04:00
Evan Prodromou
18573632b4 New algorithm for reply_to saving
I changed the reply-to algorithm so that we only say a notice is in
reply to another notice if a) we receive that information from the Web
or API or b) it's in a "low bandwidth" (XMPP, SMS) channel, and begins
with "@nickname" or "T NICKNAME".

The goal is to avoid false-positives and make conversation trees more
accurate and useful.
2009-07-29 11:45:32 -04:00
Craig Andrews
f3352254b7 Avoid potentially double encoding already utf-8 encoded messages 2009-07-28 22:47:32 -04:00