]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Evan Prodromou [Mon, 27 Dec 2010 05:11:27 +0000 (21:11 -0800)]
Some fixes from debugging of bookmark plugin URI foramt
Tightened up the URI format, fixed some auto-loading issues,
and forced the url_crc32 column to be unsigned.
Evan Prodromou [Mon, 27 Dec 2010 05:10:54 +0000 (21:10 -0800)]
remove debugging outputter from delicious backup importer
Evan Prodromou [Mon, 27 Dec 2010 05:10:23 +0000 (21:10 -0800)]
UTC only and tighter date format for showbookmark
Evan Prodromou [Mon, 27 Dec 2010 05:08:20 +0000 (21:08 -0800)]
Memcache_DataObject checks for PEAR::isError() on results
Evan Prodromou [Sat, 25 Dec 2010 04:34:15 +0000 (20:34 -0800)]
Radical differences in Bookmark storage
Had some problems with PuSH and Salmon use of Bookmarks; they were
being required to generate Atom versions of the bookmark _before_ the bookmark was saved.
So, I reversed the order of how things are saved, and associate notices and bookmarks
by URI rather than notice_id.
Evan Prodromou [Thu, 23 Dec 2010 17:42:42 +0000 (09:42 -0800)]
accept bookmarks over PuSH
Evan Prodromou [Wed, 22 Dec 2010 23:24:13 +0000 (15:24 -0800)]
Reformat bookmark output
Evan Prodromou [Wed, 22 Dec 2010 21:08:07 +0000 (13:08 -0800)]
Move bookmark CSS to its own file
Evan Prodromou [Wed, 22 Dec 2010 20:09:42 +0000 (12:09 -0800)]
Merge branch '0.9.x' into socialbookmark
Conflicts:
lib/activityobject.php
Evan Prodromou [Wed, 22 Dec 2010 20:07:13 +0000 (12:07 -0800)]
Revert "initialize ActivityObject::$extra"
This reverts commit
3e82000d578cf5f5935d972a26c84fe31768460a .
Evan Prodromou [Wed, 22 Dec 2010 20:05:40 +0000 (12:05 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Wed, 22 Dec 2010 20:03:14 +0000 (12:03 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Brion Vibber [Wed, 22 Dec 2010 20:03:05 +0000 (12:03 -0800)]
Initialize $extra member to empty array on ActivityObject
Evan Prodromou [Wed, 22 Dec 2010 20:02:50 +0000 (12:02 -0800)]
initialize ActivityObject::$extra
Brion Vibber [Wed, 22 Dec 2010 19:28:34 +0000 (11:28 -0800)]
Merge branch 'righttoleave' into 0.9.x
Evan Prodromou [Wed, 22 Dec 2010 19:25:47 +0000 (11:25 -0800)]
disable account deletion by default
Evan Prodromou [Wed, 22 Dec 2010 19:22:51 +0000 (11:22 -0800)]
Merge branch 'righttoleave' into 0.9.x
Brion Vibber [Wed, 22 Dec 2010 19:13:57 +0000 (11:13 -0800)]
Error handling cleanup on backup/restore:
* avoid PHP notice from using wrong variable
* show a visible error instead of blank screen if no file submitted with restore form
* avoid PHP strict warning from using calling "non-static" DOMDocument::loadXML statically
* suppress PHP warning from XML parse errors
Brion Vibber [Wed, 22 Dec 2010 19:06:45 +0000 (11:06 -0800)]
fix notice error
Brion Vibber [Wed, 22 Dec 2010 18:20:47 +0000 (10:20 -0800)]
Partial fix for ticket #2964: bad .po file entries
http://translatewiki.net/wiki/StatusNet:
Cb5746be52330331844dea750bf452c0618aecb3 -All_Rights_Reserved/pt-br
Brion Vibber [Wed, 22 Dec 2010 18:17:22 +0000 (10:17 -0800)]
Partial fix for ticket #2964: bad .po files
http://translatewiki.net/wiki/StatusNet:
08b929b29496be84ff75d266b5e60b426cff449f -Hey,_1$s._Someone_just_entered/ca
Evan Prodromou [Wed, 22 Dec 2010 17:35:45 +0000 (12:35 -0500)]
Notice_bookmark::saveNew() takes a Profile argument
Evan Prodromou [Tue, 21 Dec 2010 19:46:31 +0000 (14:46 -0500)]
Bookmarklet for Bookmark plugin
Evan Prodromou [Tue, 21 Dec 2010 19:43:03 +0000 (14:43 -0500)]
Bookmarklet for new bookmarks
Override the bookmarklet help page to add a new popup.
Evan Prodromou [Tue, 21 Dec 2010 17:25:23 +0000 (12:25 -0500)]
Layout on the bookmark form
Evan Prodromou [Tue, 21 Dec 2010 16:09:01 +0000 (11:09 -0500)]
Break up delicious import into a queue manager by bookmark
Evan Prodromou [Tue, 21 Dec 2010 15:32:35 +0000 (10:32 -0500)]
PHPCS Notice_bookmark
Evan Prodromou [Tue, 21 Dec 2010 15:22:50 +0000 (10:22 -0500)]
PHPCS newbookmark
Evan Prodromou [Tue, 21 Dec 2010 15:20:49 +0000 (10:20 -0500)]
PHPCS importbookmarks
Evan Prodromou [Tue, 21 Dec 2010 15:16:53 +0000 (10:16 -0500)]
PHPCS BookmarkForm
Evan Prodromou [Tue, 21 Dec 2010 15:13:20 +0000 (10:13 -0500)]
PHPCS BookmarkPlugin.php
Evan Prodromou [Tue, 21 Dec 2010 14:42:44 +0000 (09:42 -0500)]
Code standards for deliciousbackupimporter.php
Evan Prodromou [Mon, 20 Dec 2010 23:32:43 +0000 (18:32 -0500)]
drop previous in oembedhelperexception code
Evan Prodromou [Mon, 20 Dec 2010 23:28:21 +0000 (18:28 -0500)]
fixup exception constructor for php 5.2
Brion Vibber [Mon, 20 Dec 2010 22:23:15 +0000 (14:23 -0800)]
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
plugins/OStatus/classes/FeedSub.php
Brion Vibber [Mon, 20 Dec 2010 21:06:58 +0000 (13:06 -0800)]
*cough* don't commit the code that breaks your code that you used to test the debug code :D
Brion Vibber [Mon, 20 Dec 2010 21:05:17 +0000 (13:05 -0800)]
Slightly fancier debug code for PuSH hmac mismatches -- save the post to a temp file if feedsub/debug is on in config.
Brion Vibber [Mon, 20 Dec 2010 18:46:23 +0000 (10:46 -0800)]
Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg to help tell what broke
Brion Vibber [Mon, 20 Dec 2010 18:46:23 +0000 (10:46 -0800)]
Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg to help tell what broke
Evan Prodromou [Mon, 20 Dec 2010 18:39:07 +0000 (13:39 -0500)]
some corrections for double-posting of bookmarks
Evan Prodromou [Mon, 20 Dec 2010 18:38:24 +0000 (13:38 -0500)]
don't reinsert existing bookmark
Evan Prodromou [Mon, 20 Dec 2010 18:35:30 +0000 (13:35 -0500)]
reindent BookmarkPlugin
Evan Prodromou [Mon, 20 Dec 2010 18:35:21 +0000 (13:35 -0500)]
reindent importbookmarks.php
Evan Prodromou [Mon, 20 Dec 2010 18:26:57 +0000 (13:26 -0500)]
Let activity objects write directly to activity's own outputter
Evan Prodromou [Mon, 20 Dec 2010 18:26:57 +0000 (13:26 -0500)]
Let activity objects write directly to activity's own outputter
Evan Prodromou [Mon, 20 Dec 2010 17:04:02 +0000 (12:04 -0500)]
Starting point for adding bookmarks
Evan Prodromou [Mon, 20 Dec 2010 17:03:33 +0000 (12:03 -0500)]
Notice_bookmark::saveNew() takes options arg
Evan Prodromou [Sun, 19 Dec 2010 15:18:33 +0000 (10:18 -0500)]
Better output for activities and HTML in BookmarkPlugin
Evan Prodromou [Sun, 19 Dec 2010 15:18:07 +0000 (10:18 -0500)]
Use Notice_bookmark::saveNew() from NewbookmarkAction
Evan Prodromou [Sun, 19 Dec 2010 15:17:23 +0000 (10:17 -0500)]
Move notice bookmark creation to Notice_bookmark::saveNew()
Evan Prodromou [Sun, 19 Dec 2010 15:16:44 +0000 (10:16 -0500)]
ActivityObject has attribute for other elements
Evan Prodromou [Sun, 19 Dec 2010 15:15:56 +0000 (10:15 -0500)]
Notice_tag::url() gets the URL for a tag string
Evan Prodromou [Sat, 18 Dec 2010 22:26:34 +0000 (17:26 -0500)]
Merge branch '0.9.x' into socialbookmark
Evan Prodromou [Sat, 18 Dec 2010 22:24:41 +0000 (17:24 -0500)]
Add events for representing objects as activity:object
Add 6 new events to make it easier to override the type of an activity object.
Evan Prodromou [Sat, 18 Dec 2010 22:21:40 +0000 (17:21 -0500)]
code done on debugging in bookmarks
Evan Prodromou [Sat, 18 Dec 2010 07:39:44 +0000 (02:39 -0500)]
delete bookmark stuff when deleting notice
Evan Prodromou [Sat, 18 Dec 2010 07:39:24 +0000 (02:39 -0500)]
save title and description of bookmark
Evan Prodromou [Sat, 18 Dec 2010 07:36:13 +0000 (02:36 -0500)]
save title and description of bookmark
Evan Prodromou [Sat, 18 Dec 2010 07:27:14 +0000 (02:27 -0500)]
First pass at storing bookmarks
Form for saving bookmarks that looks like the delicious.com form.
Save a new notice with the right text, but attach a new notice_bookmark
table which marks this as a bookmark. Tags, URLs are kept the same.
Brion Vibber [Sat, 18 Dec 2010 01:09:54 +0000 (17:09 -0800)]
Ticket #2959: implement api/users/profile_image endpoint in Twitter-compat API
Brion Vibber [Sat, 18 Dec 2010 00:31:19 +0000 (16:31 -0800)]
Merge branch 'sorting' into 0.9.x
Brion Vibber [Sat, 18 Dec 2010 00:22:26 +0000 (16:22 -0800)]
Sort indexing fix for profile sidebar: add group_member_profile_id_created_idx to group_member table, streamlines sorting of your group memberships in the sidebar
Brion Vibber [Sat, 18 Dec 2010 00:21:33 +0000 (16:21 -0800)]
fix typo in showstream
Brion Vibber [Sat, 18 Dec 2010 00:12:44 +0000 (16:12 -0800)]
Sorting index fix for role lookups: adds profile_role_role_created_profile_id_idx index on profile_role
Brion Vibber [Sat, 18 Dec 2010 00:08:37 +0000 (16:08 -0800)]
Update sorting for conversation views: adds notice_conversation_created_id_idx index on notice, replacing more limited notice_conversation_idx
Zach Copley [Fri, 17 Dec 2010 23:57:22 +0000 (15:57 -0800)]
Update Twitter calls to use documented API endpoints
see: http://groups.google.com/group/twitter-api-announce/msg/
34b013f4d092737f
Evan Prodromou [Fri, 17 Dec 2010 23:56:48 +0000 (18:56 -0500)]
action to restore a user's backup from the Web interface
Evan Prodromou [Fri, 17 Dec 2010 23:56:17 +0000 (18:56 -0500)]
Two bug fixes in activityimporter
Evan Prodromou [Fri, 17 Dec 2010 23:55:00 +0000 (18:55 -0500)]
change code order to make shorter lines
Brion Vibber [Fri, 17 Dec 2010 23:28:55 +0000 (15:28 -0800)]
Update sorting for User::repeatedByMe() -- currently unused. Likely not ideally indexed yet.
Brion Vibber [Fri, 17 Dec 2010 23:25:19 +0000 (15:25 -0800)]
Update sorting on api/statuses/retweets_of_me; was and remains poorly indexed, but will use updated sorting method.
Brion Vibber [Fri, 17 Dec 2010 23:13:09 +0000 (15:13 -0800)]
Update sorting on api/statuses/retweets: adds notice_repeat_of_created_id_idx index to replace notice_repeatof_idx
Brion Vibber [Fri, 17 Dec 2010 23:04:10 +0000 (15:04 -0800)]
work around borkage in statuses/repeats -- tries to check an offset var that's not there. use the limit var which is there instead
Brion Vibber [Fri, 17 Dec 2010 22:51:37 +0000 (14:51 -0800)]
Update sorting for group inbox timelines; adds group_inbox_group_id_created_notice_id_idx index to group_inbox table
Brion Vibber [Fri, 17 Dec 2010 22:43:45 +0000 (14:43 -0800)]
Update sorting on reply/mentions timeline: added reply_profile_id_modified_notice_id_idx index to reply table
Brion Vibber [Fri, 17 Dec 2010 22:37:46 +0000 (14:37 -0800)]
Update sorting for tag-filtered public timeline: needs notice_tag_tag_created_notice_id_idx index added to notice_tag
Evan Prodromou [Fri, 17 Dec 2010 22:37:43 +0000 (17:37 -0500)]
I'm still not sure when it's useful to reset a notice's author
Brion Vibber [Fri, 17 Dec 2010 22:32:06 +0000 (14:32 -0800)]
add fixme for since_id/max_id on fave streaming (?)
Craig Andrews [Fri, 17 Dec 2010 22:22:52 +0000 (17:22 -0500)]
In LdapCommon checkPassword/changePassword only get the 'dn' attribute as an optimization as no other attributes are necessary.
Thanks to drslump reported at http://status.net/open-source/issues/2955
Brion Vibber [Fri, 17 Dec 2010 21:45:40 +0000 (13:45 -0800)]
Update sorting for user tagged timelines (indexing was bad before and remains bad -- we need some DB changes to make this one nice)
Evan Prodromou [Fri, 17 Dec 2010 21:27:20 +0000 (16:27 -0500)]
Make restoreuser use new FeedImporter queue handler
Brion Vibber [Fri, 17 Dec 2010 21:20:38 +0000 (13:20 -0800)]
Update notice sorting for profile streams; extract more common code to Notice::addSinceId() and Notice::addMaxId()
Brion Vibber [Fri, 17 Dec 2010 21:03:18 +0000 (13:03 -0800)]
Notice::whereSinceId() and Notice::whereMaxId() encapsulate logic for building where clauses for since_id/max_id parameters. Can override the field names from 'id' and 'created'.
Brion Vibber [Fri, 17 Dec 2010 20:47:50 +0000 (12:47 -0800)]
Switch public timeline to new sorting; new index notice_created_id_is_local_idx
http://status.net/wiki/Sorting_changes
Brion Vibber [Fri, 17 Dec 2010 20:38:38 +0000 (12:38 -0800)]
Initial switch of public timeline stream to use timestamps for internal sorting
Brion Vibber [Fri, 17 Dec 2010 20:09:02 +0000 (12:09 -0800)]
Notice::getAsTimestamp() static function to look up the timestamp for a given notice, even if it's been deleted. To be used for converting since_id/max_id processing to use timestamp sorting internally.
Brion Vibber [Fri, 17 Dec 2010 20:08:46 +0000 (12:08 -0800)]
only run explain on selects
Brion Vibber [Fri, 17 Dec 2010 19:46:11 +0000 (11:46 -0800)]
Event hook for SQLProfile
Brion Vibber [Fri, 17 Dec 2010 19:41:40 +0000 (11:41 -0800)]
SQLProfile: quickie plugin to run DB queries through 'explain' and log ones that trigger filesort or temporary table
Evan Prodromou [Fri, 17 Dec 2010 18:12:17 +0000 (13:12 -0500)]
move activity importing code to two different queuehandler classes
Evan Prodromou [Fri, 17 Dec 2010 18:10:23 +0000 (13:10 -0500)]
Move accountrestorer class to feed importer
Evan Prodromou [Fri, 17 Dec 2010 18:09:37 +0000 (13:09 -0500)]
move code to get an author object for a feed to a library from Ostatus_profile
Zach Copley [Fri, 17 Dec 2010 04:13:17 +0000 (20:13 -0800)]
Document a few undocumented administration related events
Brion Vibber [Fri, 17 Dec 2010 01:02:02 +0000 (17:02 -0800)]
Tickets #2112, 2333, 1677, 2362, 2831: fix AJAX form posting on SSL page views with ssl=sometimes
These have been failing for ages due to our outputting full URLs all the time, usually with the default protocol instead of the current one.
Forms would get output with an http: URL in their contents even when destined for an HTTPS page; while a regular form submission would just warn you about the secure->insecure transition, the AJAX code was failing outright and then not bothering to fall back to the regular submission.
I found it was easy to detect the mismatch -- just check the target URL and the current page's protocol before submitting.
Since failing over to non-AJAX submission to the HTTP URL throws up a warning, I figured it'd be easier (and much nicer for users) to just let it rewrite the target URL to use the secure protocol & hostname before doing the final submit.
This check is now automatically done for anything that calls SN.U.FormXHR() -- making most of our buttons on notices and profile/group headers work naturally.
The notice form setup code also runs the rewrite, which gets posting working without an error dialog.
I'd prefer in the long run to simply use relative URLs in most of our output; it avoids this problem completely and lets users simply stay in the current protocol mode instead of being constantly switched back to HTTP when clicking around.
(Note that folks using the SSLAlways extension to Firefox, for instance, will have their browsers constantly sending them back to HTTP pages, mimicking the desired user experience even though we haven't fully implemented it. These folks are likely going to be a lot happier with forms that submit correctly to go along with it!)
Brion Vibber [Fri, 17 Dec 2010 00:18:49 +0000 (16:18 -0800)]
Fix for ticket #2910: fix inconsistencies in notice posting response display that broke help command, could be generally wonky
Previous code was importing nodes from the XHR result into current document, then pulling text content of what might be the right element, then concat'ing that straight into HTML. Eww! Now pulling the text content straight from the XHR result -- same element that we check for existence of -- and using jQuery's own text() to do the getting and setting of text. Also note that some browsers might have been pulling HTML instead of text, or other funkiness.
Brion Vibber [Thu, 16 Dec 2010 23:34:51 +0000 (15:34 -0800)]
Add lots of doc comments to util.js. Most stuff makes some kind of stuff, but some is kinda.... funky :D
These comments are all stripped during minification, so util.min.js remains unchanged.
Brion Vibber [Thu, 16 Dec 2010 23:04:48 +0000 (15:04 -0800)]
work in progress
Brion Vibber [Thu, 16 Dec 2010 21:42:10 +0000 (13:42 -0800)]
Fix ticket #2929: router cache now clears itself when switching singleuser mode in and out
Evan Prodromou [Thu, 16 Dec 2010 21:17:38 +0000 (16:17 -0500)]
distribute flag for Notice::saveNew()
Brion Vibber [Thu, 16 Dec 2010 18:38:38 +0000 (10:38 -0800)]
add .mo files to .gitignore