Commit Graph

14147 Commits

Author SHA1 Message Date
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
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
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
Siebrand Mazeland 82e1716656 Remove superfluous whitespace. 2011-08-30 11:06:28 +02:00
Siebrand Mazeland 5a37d0bdc6 Add translator documentation. 2011-08-30 11:04:54 +02:00
Siebrand Mazeland c4fd560b32 Fix i18n issues
Remove trailing whitespace and convert leading tabs to spaces
2011-08-30 11:03:26 +02:00
Siebrand Mazeland 3e60d4cb3f Number parameters in messages that have multiple parameters
Trim trailing whitespace
Leading tabs to spaces
Remove superfluous whitespace
2011-08-30 10:56:00 +02:00
Zach Copley 0e2d9432b5 Fix parameratized static function call so it works in PHP 5.2 2011-08-29 11:17:59 -07:00
Zach Copley a1907f20c4 Remove old background validation stuff from paths admin panel
fixes http://status.net/open-source/issues/3297
2011-08-27 19:22:02 -07:00
Zach Copley 8665969890 Move conversation id output to statusnet-specific section 2011-08-27 19:01:02 -07:00