Commit Graph

14756 Commits

Author SHA1 Message Date
Evan Prodromou
14f03a237e initialize fave, sub, and membership URIs 2011-09-12 12:13:04 -04:00
Siebrand Mazeland
16c24b66bb Remove two incorrect strings for now. 2011-09-11 16:56:33 +02:00
Siebrand Mazeland
83dc51ee79 Localisation updates from http://translatewiki.net. 2011-09-11 16:54:08 +02:00
Brion Vibber
8454b1fbad Fix for schema upgrade issue when primary keys change; fixes upgrade direct from 0.8.x
Previously we were failing to update the primary key during ensureTable(), which could lead to failures when updating some tables (eg queue_item where we changed keys, and the addition of an autoincrement column failed because it conflicted with the old key).
Now if the key is different, we remove the old key at the start and add the new key at the end of the ALTER TABLE.

Not tested on PostgreSQL -- someone please check whether the alter table 'DROP CONSTRAINT PRIMARY KEY' bit works or if it needs to pull a special name for the key.
On MySQL, dropping uses alter table's 'DROP PRIMARY KEY' special case.
2011-09-08 13:03:22 -07:00
Evan Prodromou
f63b53c495 info on upgrading a public site 2011-09-08 13:22:38 -04:00
Evan Prodromou
a740556e3f is_int() -> \!is_null() 2011-09-08 13:05:17 -04:00
Evan Prodromou
5680eb74d0 default scope value is null, determined by site/private 2011-09-08 12:38:11 -04:00
Evan Prodromou
3056b109a2 Quietly skip trying to load config if there's an error in DB 2011-09-08 12:01:06 -04:00
Evan Prodromou
9948523c33 Merge branch 'master' into testing 2011-09-08 09:03:33 -04:00
Evan Prodromou
5eba1030ae Merge remote-tracking branch 'origin/1.0.x' into 1.0.x 2011-09-08 08:59:16 -04:00
Antonin Kral
ab4f4dbab4 add Connection: close when sending redirect 2011-09-08 11:45:34 +02:00
Zach Copley
449451b8e7 * Validate event URL
* Remove more debugging statements
2011-09-08 01:14:24 -07:00
Zach Copley
a910d28132 Remove debugging statement 2011-09-08 00:49:58 -07:00
Zach Copley
b991ded816 Re-do the logic for the event micro-app's dropdowns (way trickier than it seems at first blush). 2011-09-08 00:45:56 -07:00
Zach Copley
e59b30c14b Fix E_NOTICE from attempt to access undefined array key 2011-09-07 21:45:49 -07:00
Evan Prodromou
b7a5041e80 better output for updateurls.php (and it runs) 2011-09-07 18:53:06 -04:00
Evan Prodromou
7ada8c4ccb Better documentation for upgrades 2011-09-07 18:42:40 -04:00
Evan Prodromou
e06202852a Make sure reshare notices get the right object_type and verb 2011-09-07 18:34:31 -04:00
Evan Prodromou
f77c850b80 initialize the local_group table 2011-09-07 18:27:20 -04:00
Evan Prodromou
5d54b6019e Move all URL-update scripts to one script 2011-09-07 18:20:14 -04:00
Evan Prodromou
f9f33e2c72 Remove dangerous old database destroyer script 2011-09-07 16:59:33 -04:00
Evan Prodromou
c5d332f40a move yet-another-rediscover-script to OStatus plugin 2011-09-07 16:56:38 -04:00
Evan Prodromou
f0f9435248 one too many cache-clearing scripts. 2011-09-07 16:54:03 -04:00
Evan Prodromou
c262243113 SearchMonkey was shut down October 2010 2011-09-07 16:50:02 -04:00
Evan Prodromou
9ed1beb3a0 Move inbox initialization to upgrade.php
Move the inbox initialization code to upgrade.php. Might not catch
group messages, but maybe that's not a big deal.
2011-09-07 16:48:10 -04:00
Evan Prodromou
dc4f2c3b10 Move conversation table initialization to upgrade script 2011-09-07 16:23:49 -04:00
Evan Prodromou
9e64ae59ba move fixup group uri code to upgrade.php 2011-09-07 16:14:21 -04:00
Evan Prodromou
c265463112 fixup conversations in upgrade.php 2011-09-07 16:09:05 -04:00
Evan Prodromou
3065911afd move fixup_conversations.php to upgrade.php 2011-09-07 16:08:52 -04:00
Evan Prodromou
196be4e6fb move notices-rendered code into upgrade script 2011-09-07 12:10:26 -04:00
Evan Prodromou
34c7c7112a remove script to initialize old-format inboxes 2011-09-07 12:03:52 -04:00
Evan Prodromou
524cabe2c7 Merge remote-tracking branch 'origin/1.0.x' into 1.0.x 2011-09-07 11:22:08 -04:00
Samantha Doherty
0db83327de RTL stylesheet for neo theme by Osama Khalid. 2011-09-07 00:35:58 -04:00
Jean Baptiste Favre
65bf58be80 Fix a UI typo which appear when using $config['site']['indent'] = null
Add whitespace after _('Repeated by') as it's done in showNoticeSource function

Typo only appear when minifying HTML and not in normal mode because of TAB inserted.
2011-09-04 21:44:18 +02:00
Jean Baptiste Favre
e25400b4f2 Fix BitlyUrl plugin.
Since Bit.ly changed its API from v2 to v3, BitlyURL plugin doesn't work anymore.

This fix API version issue and also imporve a little plugin performance in removing useless code.
2011-09-03 22:41:46 +02:00
Jean Baptiste Favre
98f064e4fd Adds new feature to dispatch avatar url between different servers.
That allows parallel download from most browsers.
To avoid caching issue, server choice is "profile_id" based so that
avatar from a specific user will always be served from same server.

Introduce new configuration parameter:
$config['avatar']['server_modulo'] = 5;

Very easy to implement using, for example, DNS wildcard.
For example, if you have following configuration:
$config['avatar']['server']        = 'static_rrdns_.domain.tld';
$config['avatar']['server_modulo'] = 5;

Then, when building avatar's URL, domain will become, depending on profile_id:
static0.domain.tld
static1.domain.tld
static2.domain.tld
static3.domain.tld
static4.domain.tld
2011-09-03 21:11:31 +02:00
Evan Prodromou
dbc6d607ce Merge remote-tracking branch 'origin/1.0.x' into 1.0.x 2011-09-01 11:30:24 -04:00
Zach Copley
5f441842be Fix warning / send current user in to Notice::asActivity 2011-08-31 13:10:12 -07:00
Zach Copley
c585a43d6f Remove activity:actor and deprecation warning from Atom Activity Streams serialization 2011-08-31 13:09:52 -07:00
Evan Prodromou
9f75131082 check for 'post' verb in microapps by default 2011-08-31 13:08:25 -07:00
Evan Prodromou
b53391e500 Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-08-31 15:28:25 -04:00
Evan Prodromou
7dd532b63f check for 'post' verb in microapps by default 2011-08-31 15:25:06 -04:00
Siebrand Mazeland
7cfbe7c2d4 Localisation updates from http://translatewiki.net. 2011-08-30 11:50:01 +02:00
Siebrand Mazeland
23eb49a017 Update translator documentation and i18n. 2011-08-30 11:43:27 +02:00
Siebrand Mazeland
c9139cc6e0 Add translator documentation.
Update punctuation for a few messages.
Leading tabs to spaces.
2011-08-30 11:37:20 +02:00
Siebrand Mazeland
6ae673fd3f Add i18n file. 2011-08-30 11:23:42 +02:00
Siebrand Mazeland
c421a43b71 Update translator documentation. 2011-08-30 11:23:05 +02:00
Siebrand Mazeland
1b69be23c4 Remove superfluous whitespace. 2011-08-30 11:22:04 +02:00
Siebrand Mazeland
7e5b4b6e9f Remove superfluous whitespace. 2011-08-30 11:20:29 +02:00
Siebrand Mazeland
537125e7c6 Update translator documentation. 2011-08-30 11:19:29 +02:00