Brion Vibber
bc4e843f39
Disable deprecated 'since' parameter on public_timeline API; causes performance problems. (since_id will work cleanly)
2010-02-08 19:22:55 -08:00
Brion Vibber
96ef4435b6
Allow scripts/decache.php to blow out cache for objects that don't exist (anymore).
...
May miss keys other than the given or primary key, but should work for a lot of common cases where a bad entry's been removed from DB but lingers in cache.
2010-02-08 15:32:20 -08:00
Evan Prodromou
9cac8eaae5
readme and version for beta5
2010-02-08 14:07:31 -08:00
Zach Copley
c83d0b5e98
Delete old Twitter user record when user changes screen name instead of updating. Simpler.
2010-02-08 12:16:55 -08:00
Zach Copley
21c0e75a2e
Store Twitter screen_name, not name, for foreign_user.nickname when saving Twitter user.
2010-02-08 12:16:43 -08:00
Zach Copley
23802e58d6
Merge branch 'temp'
2010-02-05 03:19:12 +00:00
Zach Copley
857494c9c6
Actually store the timestamp on each nonce
2010-02-05 03:18:45 +00:00
Zach Copley
208eec6511
OAuth app name should not be null
2010-02-05 03:18:45 +00:00
Zach Copley
4379027432
Fix issue with OAuth request parameters being parsed/stored twice when
...
calling /api/account/verify_credentials.:format
2010-02-05 03:18:45 +00:00
Zach Copley
af9f23c2d9
- Fix cache handling in TwitterStatusFetcher
...
- Other stability fixes
2010-02-05 03:18:45 +00:00
Sarven Capadisli
586d8e8524
Added right margin for notice text. Helps Conversation notices look
...
better.
2010-02-05 03:18:45 +00:00
Zach Copley
7931875bbb
Confirm dialog for reset OAuth consumer key and secret button
2010-02-05 03:18:44 +00:00
Zach Copley
4041a59282
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.
2010-02-05 03:18:44 +00:00
Zach Copley
5417124884
Linkify notice source when posting from registered OAuth apps
2010-02-05 03:18:44 +00:00
Zach Copley
e9ecd8062a
Suppress notice input box on OAuth authorization page
2010-02-05 03:18:44 +00:00
Zach Copley
b31c79cee1
Better token revocation
2010-02-05 03:18:43 +00:00
Zach Copley
e495ac356c
Allow developers to delete OAuth applications
2010-02-05 03:18:43 +00:00
Zach Copley
dc183f23cf
OAuth app names should be unique.
2010-02-05 03:18:43 +00:00
Sarven Capadisli
8a0a891960
Prevents app statistic text from wrapping around avatar
2010-02-05 03:18:43 +00:00
Sarven Capadisli
52397f1474
Sentence case for app statistics
2010-02-05 03:18:43 +00:00
Brion Vibber
4502bea9a8
drop debug messages from inbox deletion fix
2010-02-04 15:16:27 -08:00
Brion Vibber
bb16898b1c
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.
2010-02-04 15:15:42 -08:00
Eric Helgeson
37f3a3d558
Missed change when refactoring groups. Thanks macno
2010-02-04 14:00:06 -08:00
Brion Vibber
239b88025e
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)
2010-02-04 13:08:34 -08:00
Brion Vibber
5a1cbdc6f1
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).
2010-02-04 11:06:01 -08:00
Evan Prodromou
7a7e2162dd
Script to update profile URLs
2010-02-03 14:58:29 -05:00
Evan Prodromou
dbeb388ade
clear cache for Profile::hasRepeated() at Notice::insert() time
2010-02-03 12:31:25 -05:00
Evan Prodromou
0e0beea5aa
clearcache.php column flag was conflicting with default flag
2010-02-03 12:13:20 -05:00
Evan Prodromou
aee73d87ee
showcache.php column flag was conflicting with default flag
2010-02-03 12:13:07 -05:00
Evan Prodromou
644a916383
change 'sitetype' to 'siteplan' to use consistent language
2010-02-03 11:55:54 -05:00
Evan Prodromou
20953ea3de
Merge branch 'master' of git@gitorious.org:statusnet/mainline
2010-02-03 11:53:54 -05:00
Evan Prodromou
6215b9788c
add nickname as unique key for user_group table
2010-02-03 11:53:31 -05:00
Brion Vibber
51c3606715
Fix regression breaking file attachments. This is what I get for rushing fixes and not properly testing them. :P
2010-02-02 09:32:28 -08:00
Brion Vibber
4f6052d8d8
Apply xopher's fix to add 'sitetype' parameter to setup_status_network.sh, exposed to the email
2010-02-02 05:53:05 -08:00
Brion Vibber
6159edcebb
Improve name validation checks on local File references
2010-02-01 08:49:59 -08:00
Evan Prodromou
57d8f22a3a
fix local file include vulnerability in doc.php
...
Conflicts:
actions/doc.php
2010-02-01 11:20:22 -05:00
Evan Prodromou
f9cb1c3265
restructuring of User::registerNew() lost password munging
2010-02-01 00:47:50 -05:00
Evan Prodromou
5d2c083899
Add a script to clear the cache for a given key
...
Like showcache.php, clearcache.php clears the cache for a given key.
2010-01-31 22:58:29 -05:00
Evan Prodromou
fb36094eb1
buggy fetch for site owner
2010-01-31 22:55:07 -05:00
Evan Prodromou
dc62246443
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.
2010-01-31 10:12:26 -05:00
Evan Prodromou
fec8066bf7
error clearing tags for profiles from memcached
2010-01-30 14:37:39 -05:00
Evan Prodromou
4ae31f3476
on exceptions, stomp logs the error and reenqueues
2010-01-30 13:15:17 -05:00
Evan Prodromou
def5d56ce1
add lat, lon, location and remove closing tag from geocode.php
2010-01-30 12:47:21 -05:00
Evan Prodromou
1b7cc3393a
Use passed-in lat long in geocode.php
...
Don't rewrite the lat-long for a location in geocode.php.
2010-01-30 12:43:00 -05:00
Evan Prodromou
a1c9874a61
better handling of null responses from geonames.org
2010-01-30 12:40:11 -05:00
Evan Prodromou
8318f195a2
plugin to limit number of registered users
2010-01-29 18:29:51 -05:00
Evan Prodromou
8cb8b357a4
add hooks for user registration
2010-01-29 17:54:54 -05:00
Evan Prodromou
2a054a50fb
live fast, die young in bash scripts
2010-01-29 15:33:35 -05:00
Evan Prodromou
ab3e90949f
Merge branch 'master' of git@gitorious.org:statusnet/mainline
2010-01-29 15:16:24 -05:00
Evan Prodromou
a7b2a08c42
for single-user mode, retrieve either site owner or defined nickname
2010-01-29 15:15:52 -05:00