]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
14 years agoMerge branch 'master' into batchlocation
Evan Prodromou [Fri, 1 Jan 2010 21:26:50 +0000 (11:26 -1000)]
Merge branch 'master' into batchlocation

14 years agoadd cleanup method to cleanup a single row
Evan Prodromou [Fri, 1 Jan 2010 21:02:56 +0000 (11:02 -1000)]
add cleanup method to cleanup a single row

14 years agostop using DB_DataObject's staticGet() which caches
Evan Prodromou [Fri, 1 Jan 2010 20:57:22 +0000 (10:57 -1000)]
stop using DB_DataObject's staticGet() which caches

14 years agoScript to update the location ID for users
Evan Prodromou [Thu, 31 Dec 2009 22:38:58 +0000 (12:38 -1000)]
Script to update the location ID for users

Since we added locations to the database, some users may have
location strings in their profiles but not structured locations. This
script updates the locations for single users or for all users.

14 years agodon't show notices with deleted profiles
Evan Prodromou [Tue, 29 Dec 2009 20:25:41 +0000 (12:25 -0800)]
don't show notices with deleted profiles

14 years agonotices are immutable, use created date for updated
Evan Prodromou [Tue, 29 Dec 2009 01:51:04 +0000 (17:51 -0800)]
notices are immutable, use created date for updated

14 years agodon't add flag if it's already there at block time
Evan Prodromou [Tue, 29 Dec 2009 00:35:29 +0000 (16:35 -0800)]
don't add flag if it's already there at block time

14 years agoMerge branch 'master' of git@gitorious.org:statusnet/mainline
Evan Prodromou [Mon, 28 Dec 2009 20:45:22 +0000 (12:45 -0800)]
Merge branch 'master' of git@gitorious.org:statusnet/mainline

14 years agoFirst version of blacklist plugin
Evan Prodromou [Mon, 28 Dec 2009 20:42:22 +0000 (12:42 -0800)]
First version of blacklist plugin

First version of blacklist plugin. Replaces custom code in identi.ca's
config.php, which was getting scary and long. Also correctly handles
changed nicknames or URLs in profile settings and using 'forbidden'
URLs in notice text.

14 years agoDrop the Google Client API-based AJAX geolocation lookup shim -- it fails to ask...
Brion Vibber [Mon, 28 Dec 2009 20:27:28 +0000 (12:27 -0800)]
Drop the Google Client API-based AJAX geolocation lookup shim -- it fails to ask for user permission, causing us quite a bit of difficulty.

14 years agooptionally flag a profile for review when blocked
Evan Prodromou [Mon, 28 Dec 2009 19:02:44 +0000 (11:02 -0800)]
optionally flag a profile for review when blocked

14 years agomove flag creation to a method of data object
Evan Prodromou [Mon, 28 Dec 2009 18:58:49 +0000 (10:58 -0800)]
move flag creation to a method of data object

14 years agoadd events for unblocking a profile
Evan Prodromou [Mon, 28 Dec 2009 18:50:12 +0000 (10:50 -0800)]
add events for unblocking a profile

14 years agoevents for blocking a user
Evan Prodromou [Mon, 28 Dec 2009 18:42:55 +0000 (10:42 -0800)]
events for blocking a user

14 years agocheck if other user exists before unsub
Evan Prodromou [Mon, 28 Dec 2009 18:42:31 +0000 (10:42 -0800)]
check if other user exists before unsub

14 years agophpcs-clean User_flag_profile as best as possible
Evan Prodromou [Mon, 28 Dec 2009 17:15:07 +0000 (09:15 -0800)]
phpcs-clean User_flag_profile as best as possible

14 years agophpcs-clean flagprofile.php
Evan Prodromou [Mon, 28 Dec 2009 17:08:28 +0000 (09:08 -0800)]
phpcs-clean flagprofile.php

14 years agophpcs-clean clearflag.php
Evan Prodromou [Mon, 28 Dec 2009 17:06:38 +0000 (09:06 -0800)]
phpcs-clean clearflag.php

14 years agoPHPCS-clean adminprofileflags.php
Evan Prodromou [Mon, 28 Dec 2009 16:45:21 +0000 (08:45 -0800)]
PHPCS-clean adminprofileflags.php

14 years agoPHPCS-clean UserFlagPlugin
Evan Prodromou [Mon, 28 Dec 2009 16:37:30 +0000 (08:37 -0800)]
PHPCS-clean UserFlagPlugin

14 years agoclear flags and show flaggers in adminflagprofile
Evan Prodromou [Mon, 28 Dec 2009 16:19:56 +0000 (08:19 -0800)]
clear flags and show flaggers in adminflagprofile

14 years agoadd stuff for clearing flags to UserFlagPlugin
Evan Prodromou [Mon, 28 Dec 2009 16:19:22 +0000 (08:19 -0800)]
add stuff for clearing flags to UserFlagPlugin

14 years agoAdd tools to clear flags
Evan Prodromou [Mon, 28 Dec 2009 15:58:33 +0000 (07:58 -0800)]
Add tools to clear flags

Added a form to clear all flags for a profile, when showed on
adminprofileflags list. Add an action to handle the form, and a right
for the action.

14 years agopagination works for flagged profiles
Evan Prodromou [Sun, 27 Dec 2009 19:47:54 +0000 (11:47 -0800)]
pagination works for flagged profiles

14 years agoadmin page checks for right to review flags
Evan Prodromou [Sun, 27 Dec 2009 19:04:53 +0000 (11:04 -0800)]
admin page checks for right to review flags

14 years agoPaths admin panel should not insist on an ssl server being specified,
Zach Copley [Thu, 24 Dec 2009 22:50:28 +0000 (16:50 -0600)]
Paths admin panel should not insist on an ssl server being specified,
ever.

14 years agoMove ssl settings from site admin panel to paths admin panel
Zach Copley [Thu, 24 Dec 2009 21:25:59 +0000 (15:25 -0600)]
Move ssl settings from site admin panel to paths admin panel

14 years agoadd setconfig.php script to set configuration options
Evan Prodromou [Thu, 24 Dec 2009 23:13:30 +0000 (15:13 -0800)]
add setconfig.php script to set configuration options

14 years agomake sure Geonames API queries use correct arg separator
Evan Prodromou [Wed, 23 Dec 2009 20:16:22 +0000 (12:16 -0800)]
make sure Geonames API queries use correct arg separator

14 years agoBetter error notification for Geonames plugin
Evan Prodromou [Wed, 23 Dec 2009 17:26:43 +0000 (09:26 -0800)]
Better error notification for Geonames plugin

14 years agosave location at notice post time
Evan Prodromou [Wed, 23 Dec 2009 05:58:23 +0000 (21:58 -0800)]
save location at notice post time

14 years agoFix for massively slow friends timeline query due to indexing bug introduced with...
Brion Vibber [Wed, 23 Dec 2009 04:18:27 +0000 (20:18 -0800)]
Fix for massively slow friends timeline query due to indexing bug introduced with repeats.
Sorting on notice.id when our primary selector was notice_inbox.user_id caused a filesort and table scan of the notice table.
Switchng to notice_inbox's notice_id means we can use our index, and everything comes right up.

Before:
mysql> explain SELECT notice.id AS id FROM notice JOIN notice_inbox ON notice.id = notice_inbox.notice_id WHERE notice_inbox.user_id = 18574 AND notice.repeat_of IS NULL ORDER BY notice.id DESC LIMIT 61 OFFSET 0;
+----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+----------------------------------------------+
| id | select_type | table        | type   | possible_keys                      | key     | key_len | ref                           | rows   | Extra                                        |
+----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+----------------------------------------------+
|  1 | SIMPLE      | notice_inbox | ref    | PRIMARY,notice_inbox_notice_id_idx | PRIMARY | 4       | const                         | 102600 | Using index; Using temporary; Using filesort |
|  1 | SIMPLE      | notice       | eq_ref | PRIMARY                            | PRIMARY | 4       | stoica.notice_inbox.notice_id |      1 | Using index                                  |
+----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+----------------------------------------------+

After:
mysql> explain SELECT notice.id AS id FROM notice JOIN notice_inbox ON notice.id = notice_inbox.notice_id WHERE notice_inbox.user_id = 18574 AND notice.repeat_of IS NULL ORDER BY notice_id DESC LIMIT 61 OFFSET 0;
+----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+--------------------------+
| id | select_type | table        | type   | possible_keys                      | key     | key_len | ref                           | rows   | Extra                    |
+----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+--------------------------+
|  1 | SIMPLE      | notice_inbox | ref    | PRIMARY,notice_inbox_notice_id_idx | PRIMARY | 4       | const                         | 102816 | Using where; Using index |
|  1 | SIMPLE      | notice       | eq_ref | PRIMARY,notice_repeatof_idx        | PRIMARY | 4       | stoica.notice_inbox.notice_id |      1 | Using where              |
+----+-------------+--------------+--------+------------------------------------+---------+---------+-------------------------------+--------+--------------------------+

14 years agoMerge branch 'testing'
Evan Prodromou [Wed, 23 Dec 2009 00:44:19 +0000 (16:44 -0800)]
Merge branch 'testing'

14 years agoupdate to rc2
Evan Prodromou [Wed, 23 Dec 2009 00:41:39 +0000 (16:41 -0800)]
update to rc2

14 years agoupdate README for 0.9.0rc2
Evan Prodromou [Wed, 23 Dec 2009 00:41:07 +0000 (16:41 -0800)]
update README for 0.9.0rc2

14 years agoIgnore user language settings that aren't listed in language config; we'll then fall...
Brion Vibber [Sat, 19 Dec 2009 19:03:31 +0000 (14:03 -0500)]
Ignore user language settings that aren't listed in language config; we'll then fall back to current autodetection. This prevents the surprises where your profile suddenly switches to Arabic because it was selected by default due to lack of a match in the drop-down box.

14 years agoFollowup fix for ticket 1672: Twitter bridge !group->#hash conversion will now happen...
Brion Vibber [Fri, 18 Dec 2009 14:36:30 +0000 (09:36 -0500)]
Followup fix for ticket 1672: Twitter bridge !group->#hash conversion will now happen regardless of whether account was configured with oauth or basic auth (previously applied only on the oauth path)

14 years agoMake useremail.php executable
Brion Vibber [Fri, 11 Dec 2009 21:14:40 +0000 (13:14 -0800)]
Make useremail.php executable

14 years agoAdded UserEmail script.
Christopher Vollick [Fri, 11 Dec 2009 15:34:57 +0000 (10:34 -0500)]
Added UserEmail script.

Used to query user's emails.

Mostly used for administration, to see if a user requesting something is who they say.

Also, some people assume that the admin knows this data, and says things like:
"If you could do _____ with the account connected to this email".

It'd be nice if we could do that without raw SQL.

14 years agoMerge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Evan Prodromou [Thu, 17 Dec 2009 03:22:29 +0000 (22:22 -0500)]
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing

14 years agoMerge branch '0.9.x' into testing
Evan Prodromou [Thu, 17 Dec 2009 03:14:41 +0000 (22:14 -0500)]
Merge branch '0.9.x' into testing

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Wed, 16 Dec 2009 22:57:10 +0000 (23:57 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

14 years agoAdd some doc comments and fixmes in util.php
Brion Vibber [Tue, 15 Dec 2009 23:55:18 +0000 (18:55 -0500)]
Add some doc comments and fixmes in util.php

14 years agoAdd doc comments listing the array parameters for User::register() and Notice::saveNew()
Brion Vibber [Tue, 15 Dec 2009 23:27:03 +0000 (18:27 -0500)]
Add doc comments listing the array parameters for User::register() and Notice::saveNew()

14 years agoFix UserRightsTest unit tests
Brion Vibber [Tue, 15 Dec 2009 22:49:53 +0000 (14:49 -0800)]
Fix UserRightsTest unit tests

14 years agoPHP 5.3 closure-based implementation of curry(); old implementation used as fallback...
Brion Vibber [Tue, 15 Dec 2009 21:53:19 +0000 (13:53 -0800)]
PHP 5.3 closure-based implementation of curry(); old implementation used as fallback for older PHP versions. Added unit tests to confirm they both work!

14 years agoCleanup undefined variable notice: set a couple more null defaults for new params...
Brion Vibber [Tue, 15 Dec 2009 21:05:05 +0000 (13:05 -0800)]
Cleanup undefined variable notice: set a couple more null defaults for new params in Notice::saveNew().

Fixes this notice seen while using AJAX repeat button:
Notice: Undefined variable: uri in classes/Notice.php on line 243

14 years agoslight cleanup for a bit in Notice.php where a var was reused for different types...
Brion Vibber [Fri, 11 Dec 2009 21:53:09 +0000 (13:53 -0800)]
slight cleanup for a bit in Notice.php where a var was reused for different types, confusing tracking down a bug

14 years agoMerge branch '0.9.x' into testing
Evan Prodromou [Tue, 15 Dec 2009 21:24:52 +0000 (16:24 -0500)]
Merge branch '0.9.x' into testing

14 years agocan't repeat your own notice posted through realtime
Evan Prodromou [Tue, 15 Dec 2009 21:19:11 +0000 (16:19 -0500)]
can't repeat your own notice posted through realtime

14 years agoDon't show repeater avatar in notice lists
Evan Prodromou [Tue, 15 Dec 2009 21:08:44 +0000 (16:08 -0500)]
Don't show repeater avatar in notice lists

14 years agomake realtime plugin grok repeats
Evan Prodromou [Tue, 15 Dec 2009 20:47:37 +0000 (15:47 -0500)]
make realtime plugin grok repeats

14 years agoAdded .form_repeat notice option to received notices in Realtime plugin
Sarven Capadisli [Tue, 15 Dec 2009 19:44:20 +0000 (19:44 +0000)]
Added .form_repeat notice option to received notices in Realtime plugin

14 years agocall DB_DataObject::__destruct() if it exists
Evan Prodromou [Tue, 15 Dec 2009 17:38:15 +0000 (12:38 -0500)]
call DB_DataObject::__destruct() if it exists

14 years agotake out DB_DataObject destructor
Evan Prodromou [Tue, 15 Dec 2009 17:33:17 +0000 (12:33 -0500)]
take out DB_DataObject destructor

14 years agobroadcast for repeats
Evan Prodromou [Tue, 15 Dec 2009 17:29:37 +0000 (12:29 -0500)]
broadcast for repeats

14 years agocreate a method for notification for new messages, and use it
Evan Prodromou [Tue, 15 Dec 2009 15:31:25 +0000 (10:31 -0500)]
create a method for notification for new messages, and use it

14 years agoadd mail notification for dm command results
Evan Prodromou [Tue, 15 Dec 2009 15:18:27 +0000 (10:18 -0500)]
add mail notification for dm command results

14 years agoremove dead code for handling direct messages, now done with commands
Evan Prodromou [Tue, 15 Dec 2009 15:12:36 +0000 (10:12 -0500)]
remove dead code for handling direct messages, now done with commands

14 years agogive some trouble-shooting info for fancy URLs
Evan Prodromou [Tue, 15 Dec 2009 11:11:37 +0000 (06:11 -0500)]
give some trouble-shooting info for fancy URLs

14 years agoAdd destructor on Memcached_DataObject to free DB_DataObject's global storage for...
Brion Vibber [Tue, 15 Dec 2009 00:36:01 +0000 (16:36 -0800)]
Add destructor on Memcached_DataObject to free DB_DataObject's global storage for an object when that object itself is destroyed.
Reduces some, but not all, memory leakage for long-running processes.

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Sarven Capadisli [Mon, 14 Dec 2009 23:34:16 +0000 (18:34 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agodocument logincommand/disabled in README
Evan Prodromou [Mon, 14 Dec 2009 23:09:45 +0000 (18:09 -0500)]
document logincommand/disabled in README

14 years agodefault for login command is disabled
Evan Prodromou [Mon, 14 Dec 2009 23:09:30 +0000 (18:09 -0500)]
default for login command is disabled

14 years agoInitial representation for repeated notice
Sarven Capadisli [Mon, 14 Dec 2009 23:09:08 +0000 (18:09 -0500)]
Initial representation for repeated notice

14 years agomake sure id of <li> in notice list is unique
Evan Prodromou [Mon, 14 Dec 2009 22:48:14 +0000 (17:48 -0500)]
make sure id of <li> in notice list is unique

14 years agohad the order of <status> and <retweeted_status> wrong in api output
Evan Prodromou [Mon, 14 Dec 2009 22:11:34 +0000 (17:11 -0500)]
had the order of <status> and <retweeted_status> wrong in api output

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Mon, 14 Dec 2009 21:41:42 +0000 (16:41 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoadd friends_timeline with no repeats in it
Evan Prodromou [Mon, 14 Dec 2009 21:41:25 +0000 (16:41 -0500)]
add friends_timeline with no repeats in it

14 years agofix error with cached repeat of deleted original in api output
Evan Prodromou [Mon, 14 Dec 2009 21:40:56 +0000 (16:40 -0500)]
fix error with cached repeat of deleted original in api output

14 years agoMerge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Siebrand Mazeland [Mon, 14 Dec 2009 21:29:35 +0000 (22:29 +0100)]
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x

14 years agomove full-featured timeline to apitimelinehome.php
Evan Prodromou [Mon, 14 Dec 2009 21:10:16 +0000 (16:10 -0500)]
move full-featured timeline to apitimelinehome.php

14 years agoparse error in retweet method
Evan Prodromou [Mon, 14 Dec 2009 20:49:19 +0000 (15:49 -0500)]
parse error in retweet method

14 years agocorrect link for repeat attribution in noticelist
Evan Prodromou [Mon, 14 Dec 2009 20:42:53 +0000 (15:42 -0500)]
correct link for repeat attribution in noticelist

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Mon, 14 Dec 2009 20:42:30 +0000 (21:42 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

14 years agoClean up console output for non-interactive mode (handy for batch setup scripts)
Brion Vibber [Mon, 14 Dec 2009 19:51:38 +0000 (11:51 -0800)]
Clean up console output for non-interactive mode (handy for batch setup scripts)

14 years agoFix issue with favorited/following always being set to false
Zach Copley [Mon, 14 Dec 2009 18:16:45 +0000 (18:16 +0000)]
Fix issue with favorited/following always being set to false

14 years agoFix Twitter bridge so it responds reasonably to authorization errors.
Zach Copley [Mon, 14 Dec 2009 07:33:29 +0000 (07:33 +0000)]
Fix Twitter bridge so it responds reasonably to authorization errors.

14 years agoFix issue with favorited/following always being set to false
Zach Copley [Mon, 14 Dec 2009 18:16:45 +0000 (18:16 +0000)]
Fix issue with favorited/following always being set to false

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Zach Copley [Mon, 14 Dec 2009 07:34:33 +0000 (07:34 +0000)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoFix Twitter bridge so it responds reasonably to authorization errors.
Zach Copley [Mon, 14 Dec 2009 07:33:29 +0000 (07:33 +0000)]
Fix Twitter bridge so it responds reasonably to authorization errors.

14 years agoInit UI for Repeated by
Sarven Capadisli [Mon, 14 Dec 2009 01:00:09 +0000 (20:00 -0500)]
Init UI for Repeated by

14 years agoInitial UI for form repeat
Sarven Capadisli [Sun, 13 Dec 2009 23:21:36 +0000 (00:21 +0100)]
Initial UI for form repeat

14 years ago(Puctuation) consistency in clientError() calls.
Siebrand Mazeland [Sun, 13 Dec 2009 17:55:17 +0000 (18:55 +0100)]
(Puctuation) consistency in clientError() calls.

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Sun, 13 Dec 2009 17:31:14 +0000 (18:31 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
* add Interlingua (ia)

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Sun, 13 Dec 2009 17:24:12 +0000 (18:24 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans

14 years agoAdd repeat command
Craig Andrews [Sun, 13 Dec 2009 02:24:38 +0000 (21:24 -0500)]
Add repeat command

14 years agofix typo / parse error in sql comment syntax
Brenda Wallace [Sat, 12 Dec 2009 22:54:05 +0000 (11:54 +1300)]
fix typo / parse error in sql comment syntax

14 years agoremove obsoleted getStream, getStreamDirect, getCachedStream from Notice; use stream...
Evan Prodromou [Sat, 12 Dec 2009 21:58:39 +0000 (16:58 -0500)]
remove obsoleted getStream, getStreamDirect, getCachedStream from Notice; use stream() instead

14 years agomake sure to show repeats correctly when original is deleted
Evan Prodromou [Sat, 12 Dec 2009 21:33:38 +0000 (16:33 -0500)]
make sure to show repeats correctly when original is deleted

14 years agoMerge branch 'forward' into 0.9.x
Evan Prodromou [Sat, 12 Dec 2009 21:18:55 +0000 (16:18 -0500)]
Merge branch 'forward' into 0.9.x

14 years agoMerge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Sat, 12 Dec 2009 21:15:47 +0000 (16:15 -0500)]
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x

14 years agoadd statuses/retweeted_to_me to API
Evan Prodromou [Sat, 12 Dec 2009 21:15:23 +0000 (16:15 -0500)]
add statuses/retweeted_to_me to API

14 years agoclear repeat_of flag when a notice is deleted
Evan Prodromou [Sat, 12 Dec 2009 21:02:44 +0000 (16:02 -0500)]
clear repeat_of flag when a notice is deleted

14 years agoadd statuses/retweets_of_me to API
Evan Prodromou [Sat, 12 Dec 2009 21:00:27 +0000 (16:00 -0500)]
add statuses/retweets_of_me to API

14 years agoadd statuses/retweeted_by_me api action
Evan Prodromou [Sat, 12 Dec 2009 20:35:05 +0000 (15:35 -0500)]
add statuses/retweeted_by_me api action

14 years agoMerge branch '0.9.x' into forward
Evan Prodromou [Sat, 12 Dec 2009 20:00:22 +0000 (15:00 -0500)]
Merge branch '0.9.x' into forward

14 years agointeger utility for arguments
Evan Prodromou [Sat, 12 Dec 2009 20:00:09 +0000 (15:00 -0500)]
integer utility for arguments

14 years agoadd statuses/retweets to API
Evan Prodromou [Sat, 12 Dec 2009 19:46:24 +0000 (14:46 -0500)]
add statuses/retweets to API

14 years agoLocalisation updates for !StatusNet from !translatewiki.net !sntrans
Siebrand Mazeland [Sat, 12 Dec 2009 17:21:57 +0000 (18:21 +0100)]
Localisation updates for !StatusNet from !translatewiki.net !sntrans
* add Egyptian Spoken Arabic (arz)