Commit Graph

5467 Commits

Author SHA1 Message Date
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
Craig Andrews
5aa303320b Handle UTF-8 encoded text in emails.
Thanks to jaakko for pointing this out! http://identi.ca/notice/7169471
2009-07-28 22:22:07 -04:00
Eric Helgeson
72117294d7 Splitting br3nda's merge 97db6e17b3f76e9a6acf87ddbad47ba54e9b1a3b
Add session table to pg.sql
2009-07-28 20:17:20 -05:00
Sarven Capadisli
c85b6155eb Minor UI fix for IE6 notice-options 2009-07-28 17:14:11 +00:00
Craig Andrews
421ee4297e Fix RDFS namespace declaration.
Thanks tobyink
2009-07-28 10:43:40 -04:00
Evan Prodromou
a79a860d81 Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-28 10:02:39 -04:00
Eric Helgeson
87bc612778 pgsql's install had windows newlines. ran db/laconica_pg.sql
Thanks grim26
2009-07-27 18:29:11 -05:00
Craig Andrews
e804b2a500 trim the subject line of invite emails
Thanks semjaza

http://laconi.ca/trac/ticket/1746
2009-07-27 16:02:03 -04:00
Craig Andrews
5caa90c6e7 Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-27 16:01:28 -04:00
Evan Prodromou
2cbee8213a better check for existing DB connection runs SET NAMES UTF8 less 2009-07-27 15:52:20 -04:00
Evan Prodromou
92c12898e7 change front page to link to max member groups 2009-07-27 15:07:56 -04:00
Evan Prodromou
7835393c25 change front page to link to max member groups 2009-07-27 15:07:39 -04:00
Evan Prodromou
a5f78449b1 better check for existing DB connection runs SET NAMES UTF8 less 2009-07-27 13:51:40 -04:00
Craig Andrews
936b099978 Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-27 13:42:48 -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
Evan Prodromou
ff7f6ea583 want a minimum of 10 subs per user 2009-07-27 13:26:53 -04:00
Evan Prodromou
037c35152e Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-27 13:12:18 -04:00