Commit Graph

7297 Commits

Author SHA1 Message Date
Brion Vibber
6f5b765c97 suppress notice for undefined prompt variable when console.php is used from non-interactive terminal 2010-01-06 13:08:56 -08:00
Brion Vibber
7ed5a38fca Merge branch 'flagdel' into 0.9.x 2010-01-06 11:16:06 -08:00
Brion Vibber
b93244395f Fix for broken profile flag admin UI: delete stray flag entries when users are deleted so broken entries don't litter the lookups.
* added ProfileDeleteRelated event to match UserDeleteRelated, to allow plugins to add extra related tables on profile deletion
* UserFlagPlugin: deleting flags when target profile is deleted
* UserFlagPlugin: deleting flags when flagging user is deleted
* UserFlagPlugin: fix for autoloader -- class names are case-insensitive. We may get lowercase class names coming in at times, such as when creating DB objects programatically from a table name.

Note that any already-existing bogus entries need to be removed from the database:
select * from user_flag_profile where (select id from profile where id=profile_id) is null;
select * from user_flag_profile where (select id from user where id=user_id) is null;
2010-01-06 11:10:33 -08:00
Sarven Capadisli
9a7a2f2ff4 Updated notice-option width in Cloudy theme 2010-01-06 18:12:13 +00:00
Sarven Capadisli
aa623f60df Fixes layout for attachment page in Cloudy theme 2010-01-06 18:08:43 +00:00
Sarven Capadisli
fe18100281 Uses a fixed height for header to control the layout for notice form
in Cloudy
2010-01-06 18:02:46 +00:00
Sarven Capadisli
d7e2a29498 Removed unnecessary internal style 2010-01-06 11:31:06 +01:00
Zach Copley
c95114ea02 Some better log msgs 2010-01-06 07:44:34 +00:00
Zach Copley
fd33865258 Fix subscription path in link element 2010-01-05 23:21:57 -08:00
Zach Copley
3e6b80d3e9 Some phpcs cleanup 2010-01-05 23:21:57 -08:00
Zach Copley
655dbcedb3 Comment out the LoggingAggregator business 2010-01-05 23:21:57 -08:00
Zach Copley
aad54af448 Reject subscription requests for handlers that don't support http-post 2010-01-05 23:21:46 -08:00
Zach Copley
48af79dbb4 Added a bunch of function commment blocks 2010-01-05 23:19:13 -08:00
Zach Copley
c571c1323f Added intial README 2010-01-05 23:19:13 -08:00
Zach Copley
9960ec2143 Support an 'extra' clause when definining a column (e.g.: 'on update
CURRENT_TIMESTAMP').
2010-01-05 23:19:13 -08:00
Zach Copley
ff26b8d88b Add an RSSCloud queue handler daemon 2010-01-05 23:19:13 -08:00
Zach Copley
d091d06115 Notifier works, and bad subscriptions are deleted properly now. 2010-01-05 23:19:13 -08:00
Zach Copley
61804bb7bb Plugin now checks notify handlers before registering subscriptions 2010-01-05 23:19:13 -08:00
Zach Copley
4e07d9eeec Better .ini info for RSSCloud subscription 2010-01-05 23:18:58 -08:00
Zach Copley
6b28fbe7b6 Make dummy aggregator handle RSSCloud challenge/response with domain parameter 2010-01-05 23:17:35 -08:00
Zach Copley
7638e2713d Set modified column correctly. 2010-01-05 23:17:35 -08:00
Zach Copley
3209544b30 Fixed DB_DataObject to return the right keys info for a compound
key & fix ini output
2010-01-05 23:16:58 -08:00
Zach Copley
8980bebcb3 Add a table and DB_DataObject class for storing cloud subscriptions 2010-01-05 22:59:42 -08:00
Zach Copley
aa9f81193e Queue notices for rssCloud 2010-01-05 22:59:42 -08:00
Zach Copley
46ac99cf4d Only add rssCloud link to user timeline 2010-01-05 22:59:42 -08:00
Zach Copley
51ac7439e1 /rsscloud/request_notify should work now 2010-01-05 22:59:42 -08:00
Zach Copley
391003c3c6 Some foundational work. Not much to see here. Move along. 2010-01-05 22:59:42 -08:00
Zach Copley
4e033138b3 Test action to simulate an aggregator. Useful for checking that the cloud hub is sending notifications. 2010-01-05 22:59:42 -08:00
Zach Copley
07f71a66f5 Extremely nascent RSSCloud plugin 2010-01-05 22:59:42 -08:00
Evan Prodromou
35d4587172 encache on insert instead of decaching 2010-01-05 19:48:43 -10:00
Craig Andrews
0f6ccee6d3 remove invalid calls to AuthenticationPlugin::onAutoload 2010-01-06 00:22:19 -05:00
Craig Andrews
3b5299b5ca Use plugin configuration instead of common_config() 2010-01-06 00:20:15 -05:00
Craig Andrews
76cc791642 Use common_{log,debug} instead of error_log for logging 2010-01-06 00:09:07 -05:00
Craig Andrews
fffd66bf83 Add shiny's mollom plugin 2010-01-06 00:06:43 -05:00
Brion Vibber
8af7ba0226 Fix for overlong RT trimming: don't trim if textlimit is 0 (unlimited) 2010-01-05 16:16:25 -08:00
Brion Vibber
9215496902 Ticket 2135: trim overlong repeats with ellipsis rather than failing.
In web interface and retweet/repeat API we show the original untrimmed text, but some back-compat API messages will still show the trimmed 'RT' version.
This matches Twitter's behavior on overlong retweets, though we're outputting the RT version in more API results than they do.
2010-01-05 16:10:00 -08:00
Brion Vibber
aff78e5121 Cache fixes:
* We now cache negative lookups; clear them in Memcached_DataObject->insert()
* Mark file.url as a unique key in statusnet.ini so its negative lookups are cleared properly (first save of a notice with a new URL was failing due to double-insert)
* Now using serialization for default in-process cache instead of just saving objects; avoids potential corruption if you save an object to cache, change the original object, then fetch the same key from cache again
2010-01-05 15:05:53 -08:00
Craig Andrews
250bcfa8dc Require users to login to view attachments on private sites
Thank you jeff-themovie for this implementation!
2010-01-05 17:49:28 -05:00
Siebrand Mazeland
7e01bb8d4f Localisation updates for !StatusNet from !translatewiki.net !sntrans 2010-01-05 23:21:35 +01:00
Craig Andrews
9e2e0605ed Move Authorization and Authentication plugin structures into core, instead of as plugins.
This move makes sense as you can addPlugin('Authentication') for example - these are abstract classes designed to be implemented, not used directly.
2010-01-05 13:56:22 -05:00
Craig Andrews
f3a76bbcb7 Fix auth plugin autoregistration issue. 2010-01-05 13:42:15 -05:00
Sarven Capadisli
99c191912d Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2010-01-05 17:55:57 +00:00
Sarven Capadisli
bbef517be5 Added adminprofileflag padding for Cloudy 2010-01-05 17:54:51 +00:00
Brion Vibber
16254c14c8 Typo fix in the new default in-process cache; spewed notice warnings on deletion, breaking XHR responses. 2010-01-05 09:54:43 -08:00
Sarven Capadisli
3ad6b35d9b Admin panel layout for Cloudy 2010-01-05 17:51:29 +00:00
Sarven Capadisli
50185aafbb Rest of layout styles for Cloudy. 2010-01-05 17:38:59 +00:00
Sarven Capadisli
bdbc1e8d87 More updates to Cloudy theme layout 2010-01-05 18:06:12 +01:00
Sarven Capadisli
f14492fb2e Updated Cloudy theme 2010-01-05 17:49:30 +01:00
Evan Prodromou
4e84c523b7 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
	classes/Memcached_DataObject.php
2010-01-04 22:50:04 -10:00
Evan Prodromou
0c31c3d80c free some memory in createsim.php 2010-01-04 22:49:09 -10:00