statusnet:ostatus.git
7 years agoMerge branch 'master' into testing - drop debug statements
Brion Vibber [Thu, 4 Feb 2010 23:19:09 +0000 (15:19 -0800)]
Merge branch 'master' into testing - drop debug statements

7 years agodrop debug messages from inbox deletion fix
Brion Vibber [Thu, 4 Feb 2010 23:16:27 +0000 (15:16 -0800)]
drop debug messages from inbox deletion fix

7 years agoInbox::streamNotices() with deletion compensation: inbox paging should more or less...
Brion Vibber [Thu, 4 Feb 2010 22:50:20 +0000 (14:50 -0800)]
Inbox::streamNotices() with deletion compensation: inbox paging should more or less work with deleted items now.
No change in efficiency for the common case where nothing's deleted: does the same bulk fetch of just the notices we think we'll need as before, then if we turned up short keeps checking one by one until we've filled up to our $limit.

This can leave us with overlap between pages, but we already have that when new messages come in between clicks; seems to be the lesser of evils versus not getting a 'before' button.
More permanent fix for that will be to switch timeline paging in the UI to use notice IDs.

7 years agoMerge branch 'inbox-del' into testing
Brion Vibber [Thu, 4 Feb 2010 23:12:40 +0000 (15:12 -0800)]
Merge branch 'inbox-del' into testing

7 years agoInbox::streamNotices() with deletion compensation: inbox paging should more or less...
Brion Vibber [Thu, 4 Feb 2010 22:50:20 +0000 (14:50 -0800)]
Inbox::streamNotices() with deletion compensation: inbox paging should more or less work with deleted items now.
No change in efficiency for the common case where nothing's deleted: does the same bulk fetch of just the notices we think we'll need as before, then if we turned up short keeps checking one by one until we've filled up to our $limit.

This can leave us with overlap between pages, but we already have that when new messages come in between clicks; seems to be the lesser of evils versus not getting a 'before' button.
More permanent fix for that will be to switch timeline paging in the UI to use notice IDs.

7 years agoMissed change when refactoring groups. Thanks macno
Eric Helgeson [Sat, 16 Jan 2010 16:56:07 +0000 (11:56 -0500)]
Missed change when refactoring groups. Thanks macno

7 years agoMissed change when refactoring groups. Thanks macno
Eric Helgeson [Sat, 16 Jan 2010 16:56:07 +0000 (11:56 -0500)]
Missed change when refactoring groups. Thanks macno

7 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Thu, 4 Feb 2010 21:11:41 +0000 (13:11 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing

7 years agoShould fix spurious 'nickname taken' and 'email taken' errors on registration. Form...
Brion Vibber [Thu, 4 Feb 2010 21:08:34 +0000 (13:08 -0800)]
Should fix spurious 'nickname taken' and 'email taken' errors on registration. Form's checks for existing nicks & emails would incorrectly return true on the second lookup due to bad interaction with negative caching.
(was checking $obj !== false but we return null now on negative cache hits, with false for cache misses)

7 years agoMerge branch 'master' of gitorious.org:statusnet/mainline into testing
Brion Vibber [Thu, 4 Feb 2010 19:56:07 +0000 (11:56 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into testing

7 years agoMoved hardcoded identica theme out of MobileProfile. In this case, it
Sarven Capadisli [Thu, 4 Feb 2010 19:39:46 +0000 (19:39 +0000)]
Moved hardcoded identica theme out of MobileProfile. In this case, it
will use whichever theme is loaded as its base and then add its own
mobile styles. Of course, if a theme comes with its own mobile styles,
it will use that instead as an addition to its own base.

7 years agoAdd time-based cutoffs for public tag cloud, favorited lists to speed up those queries.
Brion Vibber [Thu, 4 Feb 2010 19:06:01 +0000 (11:06 -0800)]
Add time-based cutoffs for public tag cloud, favorited lists to speed up those queries.
Defaulting to only looking at last 90 days of activity, can be adjusted up or down.

$config['tag']['cutoff'] = 86400 * 90;
$config['popular']['cutoff'] = 86400 * 90;

Per-user and per-group tag clouds do not use the cutoff (and it doesn't help with indexing on them).

7 years agoAdded accept and reject icons to remote subscription authorization
Sarven Capadisli [Thu, 4 Feb 2010 16:51:51 +0000 (16:51 +0000)]
Added accept and reject icons to remote subscription authorization

7 years agoFixes minor remote subscription profile layout
Sarven Capadisli [Thu, 4 Feb 2010 16:27:34 +0000 (16:27 +0000)]
Fixes minor remote subscription profile layout

7 years ago- Fix cache handling in TwitterStatusFetcher
Zach Copley [Thu, 4 Feb 2010 01:53:08 +0000 (01:53 +0000)]
- Fix cache handling in TwitterStatusFetcher
- Other stability fixes

7 years agoScript to update profile URLs
Evan Prodromou [Wed, 3 Feb 2010 19:58:29 +0000 (14:58 -0500)]
Script to update profile URLs

7 years agoclear cache for Profile::hasRepeated() at Notice::insert() time
Evan Prodromou [Wed, 3 Feb 2010 17:31:25 +0000 (12:31 -0500)]
clear cache for Profile::hasRepeated() at Notice::insert() time

7 years agoAdded right margin for notice text. Helps Conversation notices look
Sarven Capadisli [Wed, 3 Feb 2010 17:13:21 +0000 (18:13 +0100)]
Added right margin for notice text. Helps Conversation notices look
better.

7 years agoclearcache.php column flag was conflicting with default flag
Evan Prodromou [Wed, 3 Feb 2010 17:13:20 +0000 (12:13 -0500)]
clearcache.php column flag was conflicting with default flag

7 years agoshowcache.php column flag was conflicting with default flag
Evan Prodromou [Wed, 3 Feb 2010 17:13:07 +0000 (12:13 -0500)]
showcache.php column flag was conflicting with default flag

7 years agochange 'sitetype' to 'siteplan' to use consistent language
Evan Prodromou [Wed, 3 Feb 2010 16:55:54 +0000 (11:55 -0500)]
change 'sitetype' to 'siteplan' to use consistent language

7 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Wed, 3 Feb 2010 16:53:54 +0000 (11:53 -0500)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline

7 years agoadd nickname as unique key for user_group table
Evan Prodromou [Wed, 3 Feb 2010 16:53:31 +0000 (11:53 -0500)]
add nickname as unique key for user_group table

7 years agoConfirm dialog for reset OAuth consumer key and secret button
Zach Copley [Wed, 3 Feb 2010 01:43:59 +0000 (01:43 +0000)]
Confirm dialog for reset OAuth consumer key and secret button

7 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Zach Copley [Tue, 2 Feb 2010 23:17:58 +0000 (23:17 +0000)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

7 years agoAlways check for an OAuth request. This allows OAuth clients to set an
Zach Copley [Tue, 2 Feb 2010 23:16:44 +0000 (23:16 +0000)]
Always check for an OAuth request. This allows OAuth clients to set an
auth user, similar to how they can set one via http basic auth,
even if one is not required.  I think I finally got this right.

7 years agoFix regression breaking file attachments. This is what I get for rushing fixes and...
Brion Vibber [Tue, 2 Feb 2010 17:30:15 +0000 (09:30 -0800)]
Fix regression breaking file attachments. This is what I get for rushing fixes and not properly testing them. :P

7 years agoFix regression breaking file attachments. This is what I get for rushing fixes and...
Brion Vibber [Tue, 2 Feb 2010 17:30:15 +0000 (09:30 -0800)]
Fix regression breaking file attachments. This is what I get for rushing fixes and not properly testing them. :P

7 years agoRemoved entity flag stylesheet and icons from plugin to core.
Sarven Capadisli [Tue, 2 Feb 2010 15:27:58 +0000 (16:27 +0100)]
Removed entity flag stylesheet and icons from plugin to core.

7 years agoAdded flag icon to core
Sarven Capadisli [Tue, 2 Feb 2010 15:14:37 +0000 (16:14 +0100)]
Added flag icon to core

7 years agoAdded single icon for Clear
Sarven Capadisli [Tue, 2 Feb 2010 15:09:39 +0000 (16:09 +0100)]
Added single icon for Clear

7 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Tue, 2 Feb 2010 15:07:35 +0000 (16:07 +0100)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

7 years agoAdded icon to Clear label for UserFlag plugin
Sarven Capadisli [Tue, 2 Feb 2010 15:06:22 +0000 (16:06 +0100)]
Added icon to Clear label for UserFlag plugin

7 years agosetconfig.php: list all current settings if no parameters given
Brion Vibber [Tue, 2 Feb 2010 14:15:01 +0000 (06:15 -0800)]
setconfig.php: list all current settings if no parameters given

7 years agoApply xopher's fix to add 'sitetype' parameter to setup_status_network.sh, exposed...
Brion Vibber [Tue, 2 Feb 2010 13:53:05 +0000 (05:53 -0800)]
Apply xopher's fix to add 'sitetype' parameter to setup_status_network.sh, exposed to the email

7 years agoMinor alignment notice form alignment for default theme
Sarven Capadisli [Tue, 2 Feb 2010 12:16:30 +0000 (13:16 +0100)]
Minor alignment notice form alignment for default theme

7 years agoUpdated StatusNet logos
Sarven Capadisli [Tue, 2 Feb 2010 12:12:03 +0000 (13:12 +0100)]
Updated StatusNet logos

7 years agoLinkify notice source when posting from registered OAuth apps
Zach Copley [Tue, 2 Feb 2010 08:47:14 +0000 (08:47 +0000)]
Linkify notice source when posting from registered OAuth apps

7 years agoSuppress notice input box on OAuth authorization page
Zach Copley [Tue, 2 Feb 2010 07:59:28 +0000 (07:59 +0000)]
Suppress notice input box on OAuth authorization page

7 years agoBetter token revocation
Zach Copley [Tue, 2 Feb 2010 07:35:54 +0000 (07:35 +0000)]
Better token revocation

7 years agoAllow developers to delete OAuth applications
Zach Copley [Tue, 2 Feb 2010 06:26:03 +0000 (06:26 +0000)]
Allow developers to delete OAuth applications

7 years agoOAuth app names should be unique.
Zach Copley [Mon, 1 Feb 2010 20:58:29 +0000 (20:58 +0000)]
OAuth app names should be unique.

7 years agoFixed margin-left on lists inside .hentry and .form_settings
Sarven Capadisli [Mon, 1 Feb 2010 23:17:12 +0000 (23:17 +0000)]
Fixed margin-left on lists inside .hentry and .form_settings

7 years agoRevert "Removed hAtom pattern from registration page."
Sarven Capadisli [Mon, 1 Feb 2010 23:10:44 +0000 (23:10 +0000)]
Revert "Removed hAtom pattern from registration page."

This reverts commit d6fe865133511ac64565a583106b3233b70a0b1e.

Screws up list rendering when registration is complete.

7 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Mon, 1 Feb 2010 19:32:48 +0000 (20:32 +0100)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

7 years agoPrevents app statistic text from wrapping around avatar
Sarven Capadisli [Mon, 1 Feb 2010 19:32:18 +0000 (20:32 +0100)]
Prevents app statistic text from wrapping around avatar

7 years agoSentence case for app statistics
Sarven Capadisli [Mon, 1 Feb 2010 19:31:56 +0000 (20:31 +0100)]
Sentence case for app statistics

7 years agoreadme and version for beta5
Evan Prodromou [Mon, 1 Feb 2010 18:44:06 +0000 (13:44 -0500)]
readme and version for beta5

7 years agoDon't enqueue into plugin or SMS queues when disabled (breaks unqueuehandler if SMS...
Brion Vibber [Mon, 1 Feb 2010 18:16:19 +0000 (10:16 -0800)]
Don't enqueue into plugin or SMS queues when disabled (breaks unqueuehandler if SMS queue isn't attached)

7 years agoMerge remote branch 'statusnet/master' into testing
Brion Vibber [Mon, 1 Feb 2010 17:04:13 +0000 (09:04 -0800)]
Merge remote branch 'statusnet/master' into testing

7 years agoImprove name validation checks on local File references
Brion Vibber [Mon, 1 Feb 2010 16:48:31 +0000 (08:48 -0800)]
Improve name validation checks on local File references

7 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Mon, 1 Feb 2010 16:49:50 +0000 (11:49 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

7 years agoMerge branch 'master' into testing
Evan Prodromou [Mon, 1 Feb 2010 16:21:50 +0000 (11:21 -0500)]
Merge branch 'master' into testing

7 years agofix local file include vulnerability in doc.php
Evan Prodromou [Mon, 1 Feb 2010 16:10:36 +0000 (11:10 -0500)]
fix local file include vulnerability in doc.php

Conflicts:

actions/doc.php

7 years agoReusing fixed selector name for 'processing' in util.js
Sarven Capadisli [Mon, 1 Feb 2010 14:13:54 +0000 (15:13 +0100)]
Reusing fixed selector name for 'processing' in util.js

7 years agoRemoved hAtom pattern from registration page.
Sarven Capadisli [Mon, 1 Feb 2010 12:14:35 +0000 (13:14 +0100)]
Removed hAtom pattern from registration page.

7 years agorestructuring of User::registerNew() lost password munging
Evan Prodromou [Mon, 1 Feb 2010 05:47:50 +0000 (00:47 -0500)]
restructuring of User::registerNew() lost password munging

7 years agoAdd a script to clear the cache for a given key
Evan Prodromou [Mon, 1 Feb 2010 03:58:29 +0000 (22:58 -0500)]
Add a script to clear the cache for a given key

Like showcache.php, clearcache.php clears the cache for a given key.

7 years agobuggy fetch for site owner
Evan Prodromou [Mon, 1 Feb 2010 03:55:07 +0000 (22:55 -0500)]
buggy fetch for site owner

7 years agoAdded missing concat of </li> in Realtime response
Sarven Capadisli [Sun, 31 Jan 2010 22:57:35 +0000 (23:57 +0100)]
Added missing concat of </li> in Realtime response

7 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Sun, 31 Jan 2010 22:42:50 +0000 (22:42 +0000)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

7 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Sarven Capadisli [Sun, 31 Jan 2010 22:42:19 +0000 (23:42 +0100)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

7 years agoUpdated XHR binded events to work better in jQuery 1.4.1. Using
Sarven Capadisli [Sun, 31 Jan 2010 22:37:22 +0000 (22:37 +0000)]
Updated XHR binded events to work better in jQuery 1.4.1. Using
.live() for event delegation instead of jQuery.data() and checking to
see if an element was previously binded.

7 years agoUpdated jQuery Form Plugin from v2.17 to v2.36
Sarven Capadisli [Sun, 31 Jan 2010 22:34:16 +0000 (22:34 +0000)]
Updated jQuery Form Plugin from v2.17 to v2.36

7 years agoUpdated jQuery JavaScript Library from v1.3.2 to v1.4.1
Sarven Capadisli [Sun, 31 Jan 2010 22:33:11 +0000 (22:33 +0000)]
Updated jQuery JavaScript Library from v1.3.2 to v1.4.1

7 years agomove schema.type.php to typeschema.php like other files
Evan Prodromou [Sun, 31 Jan 2010 20:25:59 +0000 (15:25 -0500)]
move schema.type.php to typeschema.php like other files

7 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Sun, 31 Jan 2010 20:20:57 +0000 (15:20 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

7 years agoAdd Really Simple Discovery (RSD) support
Evan Prodromou [Sun, 31 Jan 2010 20:16:59 +0000 (15:16 -0500)]
Add Really Simple Discovery (RSD) support

Anil Dash suggested that all implementers of the Twitter API include
support for the remedial RSD format. This commit adds an RSD action
that returns the API root and additional API data to help client
developers discover and use our Twitter-compatible API.

http://dashes.com/anil/2009/12/the-twitter-api-is-finished.html
http://tales.phrasewise.com/rfc/rsd

7 years agoAdd a robots.txt URL to the site root
Evan Prodromou [Sun, 31 Jan 2010 15:12:26 +0000 (10:12 -0500)]
Add a robots.txt URL to the site root

Adds a robots.txt file to the site root. Defaults defined by
'robotstxt' section of config. New events StartRobotsTxt and
EndRobotsTxt to let plugins add information. Probably not
useful if path is not /, but won't hurt anything, either.

7 years agoerror clearing tags for profiles from memcached
Evan Prodromou [Sat, 30 Jan 2010 19:37:39 +0000 (14:37 -0500)]
error clearing tags for profiles from memcached

7 years agoon exceptions, stomp logs the error and reenqueues
Evan Prodromou [Sat, 30 Jan 2010 18:15:17 +0000 (13:15 -0500)]
on exceptions, stomp logs the error and reenqueues

7 years agoadd lat, lon, location and remove closing tag from geocode.php
Evan Prodromou [Sat, 30 Jan 2010 17:47:21 +0000 (12:47 -0500)]
add lat, lon, location and remove closing tag from geocode.php

7 years agoUse passed-in lat long in geocode.php
Evan Prodromou [Sat, 30 Jan 2010 17:43:00 +0000 (12:43 -0500)]
Use passed-in lat long in geocode.php

Don't rewrite the lat-long for a location in geocode.php.

7 years agobetter handling of null responses from geonames.org
Evan Prodromou [Sat, 30 Jan 2010 17:40:11 +0000 (12:40 -0500)]
better handling of null responses from geonames.org

7 years agoGlobalized form notice data geo values
Sarven Capadisli [Sat, 30 Jan 2010 14:28:31 +0000 (15:28 +0100)]
Globalized form notice data geo values

7 years agoUsing jQuery chaining in FormNoticeXHR
Sarven Capadisli [Sat, 30 Jan 2010 14:19:13 +0000 (15:19 +0100)]
Using jQuery chaining in FormNoticeXHR

7 years agoUsing form object instead of form_id and find(). Slightly faster and
Sarven Capadisli [Sat, 30 Jan 2010 14:03:01 +0000 (15:03 +0100)]
Using form object instead of form_id and find(). Slightly faster and
easier to read.

7 years agoremoved describeTable from base class, and fixed it up in pgsql
Brenda Wallace [Sat, 30 Jan 2010 08:22:30 +0000 (21:22 +1300)]
removed describeTable from base class, and fixed it up in pgsql

7 years agogetTableDef() mostly working in postgres
Brenda Wallace [Sun, 10 Jan 2010 05:21:23 +0000 (05:21 +0000)]
getTableDef() mostly working in postgres

7 years agomove the schema DDL sql off into seperate files for each db we support
Brenda Wallace [Sat, 30 Jan 2010 05:45:10 +0000 (18:45 +1300)]
move the schema DDL sql off into seperate files for each db we support

7 years agoplugin to limit number of registered users
Evan Prodromou [Fri, 29 Jan 2010 23:29:51 +0000 (18:29 -0500)]
plugin to limit number of registered users

7 years agoadd hooks for user registration
Evan Prodromou [Fri, 29 Jan 2010 22:54:54 +0000 (17:54 -0500)]
add hooks for user registration

7 years agolive fast, die young in bash scripts
Evan Prodromou [Fri, 29 Jan 2010 20:33:35 +0000 (15:33 -0500)]
live fast, die young in bash scripts

7 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Fri, 29 Jan 2010 20:16:24 +0000 (15:16 -0500)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline

7 years agofor single-user mode, retrieve either site owner or defined nickname
Evan Prodromou [Fri, 29 Jan 2010 20:15:52 +0000 (15:15 -0500)]
for single-user mode, retrieve either site owner or defined nickname

7 years agomethod to get the site owner
Evan Prodromou [Fri, 29 Jan 2010 20:15:23 +0000 (15:15 -0500)]
method to get the site owner

7 years agodefine a constant for the 'owner' role of a site
Evan Prodromou [Fri, 29 Jan 2010 20:15:04 +0000 (15:15 -0500)]
define a constant for the 'owner' role of a site

7 years agoadd simple cache getter/setter static functions to Memcached_DataObject
Evan Prodromou [Fri, 29 Jan 2010 20:01:21 +0000 (15:01 -0500)]
add simple cache getter/setter static functions to Memcached_DataObject

7 years agoAdds notice author's name to @title in Realtime response
Sarven Capadisli [Fri, 29 Jan 2010 15:43:37 +0000 (15:43 +0000)]
Adds notice author's name to @title in Realtime response

7 years agoHides .author from XHR response in showstream
Sarven Capadisli [Fri, 29 Jan 2010 15:20:14 +0000 (15:20 +0000)]
Hides .author from XHR response in showstream

7 years agoHides .author from XHR response in showstream
Sarven Capadisli [Fri, 29 Jan 2010 15:20:14 +0000 (15:20 +0000)]
Hides .author from XHR response in showstream

7 years agoFix more fatal errors in queue edge cases
Brion Vibber [Fri, 29 Jan 2010 07:08:36 +0000 (23:08 -0800)]
Fix more fatal errors in queue edge cases

7 years agoDon't attempt to resend XMPP messages that can't be broadcast due to the profile...
Brion Vibber [Fri, 29 Jan 2010 06:51:07 +0000 (22:51 -0800)]
Don't attempt to resend XMPP messages that can't be broadcast due to the profile being deleted.

7 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Brion Vibber [Fri, 29 Jan 2010 06:29:26 +0000 (22:29 -0800)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline

7 years agoWrap each bit of distrib queue handler's saving operation in a try/catch; log excepti...
Brion Vibber [Fri, 29 Jan 2010 06:26:58 +0000 (22:26 -0800)]
Wrap each bit of distrib queue handler's saving operation in a try/catch; log exceptions but let everything else continue.

7 years agoMerge branch 'testing'
Zach Copley [Fri, 29 Jan 2010 06:08:55 +0000 (06:08 +0000)]
Merge branch 'testing'

7 years agoLog exceptions from queuedaemon.php if they're not already caught
Brion Vibber [Fri, 29 Jan 2010 06:05:14 +0000 (22:05 -0800)]
Log exceptions from queuedaemon.php if they're not already caught

7 years agoMove sessions settings to its own panel
Zach Copley [Fri, 29 Jan 2010 06:04:14 +0000 (22:04 -0800)]
Move sessions settings to its own panel

7 years agoFixes for status_network db object .ini and tag setter script
Brion Vibber [Fri, 29 Jan 2010 04:09:17 +0000 (20:09 -0800)]
Fixes for status_network db object .ini and tag setter script

7 years agoAdd a script to set tags for sites
Evan Prodromou [Thu, 28 Jan 2010 06:42:52 +0000 (01:42 -0500)]
Add a script to set tags for sites