Commit Graph

4898 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Evan Prodromou
50a343bcf7 script to create a simulation database 2009-07-27 13:11:46 -04:00
Sarven Capadisli
0c8d003d40 Added config options for site's default design value 2009-07-27 16:57:30 +00: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
ef571f731c Updated pigeontheme to reflect the changes made to entry-content
structure
2009-07-25 18:30:18 +00:00
Sarven Capadisli
cdf6d655b5 Minor change to timestamp selector 2009-07-25 18:29:30 +00: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
89f32432ba Updated pigeonthoughts theme 2009-07-25 17:53:37 +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
Craig Andrews
f86faaf341 If cannot connect, then stop the installation 2009-07-25 00:19:12 -04:00
Brenda Wallace
70cc09a5c2 check the postgresql database is UTF8 before allowing installation to proceed 2009-07-25 00:15:35 -04:00
Sarven Capadisli
932eab074d More IE fixes for Cloudy theme 2009-07-24 15:38:58 +00:00
Sarven Capadisli
bb2186527a Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x 2009-07-24 15:06:07 +00:00
Sarven Capadisli
8d2aeb7082 Cloudy theme IE (mostly 7/8) fixes 2009-07-24 15:04:00 +00:00