]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
13 years agonew menu layout plugin
Evan Prodromou [Wed, 5 Jan 2011 03:32:36 +0000 (19:32 -0800)]
new menu layout plugin

13 years agochange bookmark-info from a <p> to a <div>
Evan Prodromou [Tue, 4 Jan 2011 21:10:32 +0000 (13:10 -0800)]
change bookmark-info from a <p> to a <div>

13 years agoConfiguration options for using an HTTP proxy
Evan Prodromou [Mon, 3 Jan 2011 18:38:32 +0000 (10:38 -0800)]
Configuration options for using an HTTP proxy

We can make a lot of HTTP requests from the server side. This change
adds some configuration options for using an HTTP proxy, which can
cache hits from multiple sites (good for status.net-like services, for example).

13 years agoBookmark plugin: tweak post-upload success message to distinguish between "already...
Brion Vibber [Fri, 31 Dec 2010 20:42:26 +0000 (12:42 -0800)]
Bookmark plugin: tweak post-upload success message to distinguish between "already done" (UnQueueManager) and "started, should finish eventually" (other queue manager)

13 years agoBookmark plugin: fix for delicious import with queues enabled
Brion Vibber [Fri, 31 Dec 2010 20:33:51 +0000 (12:33 -0800)]
Bookmark plugin: fix for delicious import with queues enabled

We were passing DOM nodes directly into the queues for the final bookmark import stage; unfortunately these don't actually survive serialization.
Moved the extraction of properties from the HTML up to the first-stage handler, so now we don't have to worry about moving DOM nodes from one handler to the next. Instead passing an associative array of properties, which is fed into the Bookmark::saveNew by the per-bookmark handler.

13 years agoBookmark plugin: fixes for bad DOM element nesting in delicious import data
Brion Vibber [Fri, 31 Dec 2010 20:09:54 +0000 (12:09 -0800)]
Bookmark plugin: fixes for bad DOM element nesting in delicious import data

delicious bookmark exports use the godawful HTML bookmark file format that ancient versions of Netscape used (and has thus been the common import/export format for bookmarks since the dark ages of the web :)
This arranges bookmark entries as an HTML definition list, using a lot of implied close tags (leaving off the </dt> and </dd>).
DOMDocument->loadHTML() uses libxml2's HTML mode, which generally does ok with muddling through things but apparently is really, really bad about handling those implied close tags.

Sequences of adjacent <dt> elements (eg bookmark without a description, followed by another bookmark "<dt><dt>"), end up interpreted as nested ("<dt><dt></dt></dt>") instead of as siblings ("<dt></dt><dt></dt>").
The first round of code tried to resolve the nesting inline, but ended up a bit funky in places.
I've replaced this with a standalone run through the data to re-order the elements, based on our knowing that <dt> and <dd> cannot directly contain one another; once that's done, our main logic loop can be a bit cleaner. I'm not 100% sure it's doing nested sublists correctly, but these don't seem to show up in delicious export (and even if they do, with the way we flatten the input it shouldn't make a difference).

Also fixed a clearer edge case where some bookmarks didn't get imported when missing descriptions.

13 years agoBookmark plugin: graceful error out for failure to import a delicious bookmark due...
Brion Vibber [Fri, 31 Dec 2010 20:09:15 +0000 (12:09 -0800)]
Bookmark plugin: graceful error out for failure to import a delicious bookmark due to it being already bookmarked

13 years agoGenerated an extra class on bookmark notice <li>s
Evan Prodromou [Fri, 31 Dec 2010 00:57:28 +0000 (16:57 -0800)]
Generated an extra class on bookmark notice <li>s

13 years agoEvents to hook for NoticeListElement <li> generation
Evan Prodromou [Fri, 31 Dec 2010 00:57:05 +0000 (16:57 -0800)]
Events to hook for NoticeListElement <li> generation

13 years agoswitch bookmark CSS classes to use dash instead of underscore
Evan Prodromou [Fri, 31 Dec 2010 00:54:01 +0000 (16:54 -0800)]
switch bookmark CSS classes to use dash instead of underscore

13 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Evan Prodromou [Fri, 31 Dec 2010 00:21:45 +0000 (16:21 -0800)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

13 years agodon't show some bookmark elements if empty
Evan Prodromou [Fri, 31 Dec 2010 00:21:22 +0000 (16:21 -0800)]
don't show some bookmark elements if empty

13 years agoTweak the post-form return on bookmarklet if we're not in a popup that we can close
Brion Vibber [Fri, 31 Dec 2010 00:14:41 +0000 (16:14 -0800)]
Tweak the post-form return on bookmarklet if we're not in a popup that we can close

13 years agoMake sure the UUIDs are unique too :)
Brion Vibber [Thu, 30 Dec 2010 21:37:05 +0000 (13:37 -0800)]
Make sure the UUIDs are unique too :)

13 years agoUse UUIDs for Bookmark unique ID
Evan Prodromou [Thu, 30 Dec 2010 21:21:14 +0000 (13:21 -0800)]
Use UUIDs for Bookmark unique ID

I was trying to generate URIs for Bookmarks based on (profile, crc32(url), created).

I failed at that. CRC32s are unsigned ints, and our schema code didn't like that.

On top of that, my code to encode and restore created timestamps was problematic.

So, I switched back to using a meaningless unique ID for Bookmarks.

One way to do this would be to use an auto-incrementing integer ID. However, we've been
kind of crabbed out a few times for exposing auto-incrementing integer IDs as URIs, so
I thought maybe using a random UUID would be a better way to do it.

So, this patch sets random UUIDs for URIs of bookmarks.

13 years agoUUID-generation tools
Evan Prodromou [Thu, 30 Dec 2010 20:15:34 +0000 (12:15 -0800)]
UUID-generation tools

13 years ago0.9.7alpha1
Evan Prodromou [Thu, 30 Dec 2010 00:15:57 +0000 (16:15 -0800)]
0.9.7alpha1

13 years agoupdate version to 0.9.7
Evan Prodromou [Thu, 30 Dec 2010 00:14:00 +0000 (16:14 -0800)]
update version to 0.9.7

13 years agoShow <activity:subject> in Atom group notice feed
Evan Prodromou [Wed, 29 Dec 2010 23:33:57 +0000 (15:33 -0800)]
Show <activity:subject> in Atom group notice feed

Version 0.9.6 and below of StatusNet assume anything in <author> is a
Person. So, we include an <activity:subject> element, which will be
checked first by those versions of the code, only for group feeds.

At some point we'll take this out, but it's useful for now.

13 years agoMerge branch '0.9.x' into noactor
Evan Prodromou [Wed, 29 Dec 2010 23:29:29 +0000 (15:29 -0800)]
Merge branch '0.9.x' into noactor

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Evan Prodromou [Wed, 29 Dec 2010 22:53:38 +0000 (14:53 -0800)]
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x

13 years agodon't distribute when restoring archived delicious bookmarks
Evan Prodromou [Wed, 29 Dec 2010 22:52:43 +0000 (14:52 -0800)]
don't distribute when restoring archived delicious bookmarks

13 years agophpcs showbookmark.php
Evan Prodromou [Wed, 29 Dec 2010 22:24:30 +0000 (14:24 -0800)]
phpcs showbookmark.php

13 years agophpcs noticebyurl.php
Evan Prodromou [Wed, 29 Dec 2010 22:22:41 +0000 (14:22 -0800)]
phpcs noticebyurl.php

13 years agophpcs importdelicious.php
Evan Prodromou [Wed, 29 Dec 2010 22:21:25 +0000 (14:21 -0800)]
phpcs importdelicious.php

13 years agophpcs Bookmark.php
Evan Prodromou [Wed, 29 Dec 2010 22:17:32 +0000 (14:17 -0800)]
phpcs Bookmark.php

13 years agophpcs BookmarkPlugin.php
Evan Prodromou [Wed, 29 Dec 2010 22:16:15 +0000 (14:16 -0800)]
phpcs BookmarkPlugin.php

13 years agoAdd link to delicious bookmark importer to profile settings
Evan Prodromou [Wed, 29 Dec 2010 22:02:31 +0000 (14:02 -0800)]
Add link to delicious bookmark importer to profile settings

13 years agoadd hooks for the account-management tools
Evan Prodromou [Wed, 29 Dec 2010 22:02:04 +0000 (14:02 -0800)]
add hooks for the account-management tools

13 years agoWeb UI for importing delicious backup files
Evan Prodromou [Wed, 29 Dec 2010 21:51:59 +0000 (13:51 -0800)]
Web UI for importing delicious backup files

13 years agoBad method call in File_to_post
Evan Prodromou [Wed, 29 Dec 2010 21:28:32 +0000 (13:28 -0800)]
Bad method call in File_to_post

13 years agofixup date handling in showbookmark for PHP 5.2
Evan Prodromou [Tue, 28 Dec 2010 23:36:25 +0000 (23:36 +0000)]
fixup date handling in showbookmark for PHP 5.2

13 years agoshow count of other bookmarks with link to stream
Evan Prodromou [Tue, 28 Dec 2010 21:45:24 +0000 (13:45 -0800)]
show count of other bookmarks with link to stream

13 years agomethod to count notices linking to an URL
Evan Prodromou [Tue, 28 Dec 2010 21:44:49 +0000 (13:44 -0800)]
method to count notices linking to an URL

13 years agoDelete file links when Notice is deleted
Evan Prodromou [Tue, 28 Dec 2010 21:44:18 +0000 (13:44 -0800)]
Delete file links when Notice is deleted

13 years agoMerge branch '0.9.x' into socialbookmark
Evan Prodromou [Tue, 28 Dec 2010 21:42:44 +0000 (13:42 -0800)]
Merge branch '0.9.x' into socialbookmark

13 years agoPage with a list of notices that link to an URL
Evan Prodromou [Tue, 28 Dec 2010 20:58:10 +0000 (12:58 -0800)]
Page with a list of notices that link to an URL

13 years agoFixes from testing File::stream()
Evan Prodromou [Tue, 28 Dec 2010 20:57:31 +0000 (12:57 -0800)]
Fixes from testing File::stream()

13 years agoStream of notices linking to an URL
Evan Prodromou [Tue, 28 Dec 2010 19:58:55 +0000 (11:58 -0800)]
Stream of notices linking to an URL

13 years agoMerge branch 'master' into 0.9.x
Brion Vibber [Tue, 28 Dec 2010 19:37:38 +0000 (11:37 -0800)]
Merge branch 'master' into 0.9.x

13 years agoPrevent group creation by silenced users.
Brion Vibber [Tue, 28 Dec 2010 19:34:02 +0000 (11:34 -0800)]
Prevent group creation by silenced users.

* adds Right::CREATEGROUP
* logic in Profile::hasRight() checks for silencing
* NewgroupAction checks for the permission before letting you see or process the form in the UI
* User_group::register() logic does a low-level check on the specified initial group admin, and rejects creation if that user doesn't have the right; guaranteeing that API methods etc will also have this restriction applied sensibly.

13 years agoIf notice has been deleted before, don't store URI again
Evan Prodromou [Tue, 28 Dec 2010 06:58:13 +0000 (22:58 -0800)]
If notice has been deleted before, don't store URI again

13 years agoimport bookmarks from backups
Evan Prodromou [Tue, 28 Dec 2010 06:57:35 +0000 (22:57 -0800)]
import bookmarks from backups

13 years agoDon't double-insert a bookmark
Evan Prodromou [Tue, 28 Dec 2010 06:57:11 +0000 (22:57 -0800)]
Don't double-insert a bookmark

13 years agoMerge branch '0.9.x' into socialbookmark
Evan Prodromou [Tue, 28 Dec 2010 06:38:36 +0000 (22:38 -0800)]
Merge branch '0.9.x' into socialbookmark

13 years agodocument events for activity import
Evan Prodromou [Tue, 28 Dec 2010 06:37:34 +0000 (22:37 -0800)]
document events for activity import

13 years agopass through $idField and $createdField in Notice queries
Evan Prodromou [Tue, 28 Dec 2010 06:35:57 +0000 (22:35 -0800)]
pass through $idField and $createdField in Notice queries

13 years agoadd events for restoring activities
Evan Prodromou [Tue, 28 Dec 2010 06:28:20 +0000 (22:28 -0800)]
add events for restoring activities

13 years agoreturn saved notice to AtomPub for Bookmarks
Evan Prodromou [Tue, 28 Dec 2010 06:16:34 +0000 (22:16 -0800)]
return saved notice to AtomPub for Bookmarks

13 years agoMerge branch '0.9.x' into socialbookmark
Evan Prodromou [Tue, 28 Dec 2010 06:13:23 +0000 (22:13 -0800)]
Merge branch '0.9.x' into socialbookmark

13 years agoDocumentation for change in atompub events
Evan Prodromou [Tue, 28 Dec 2010 06:13:17 +0000 (22:13 -0800)]
Documentation for change in atompub events

13 years agoinclude saved notice in atompub events
Evan Prodromou [Tue, 28 Dec 2010 06:11:30 +0000 (22:11 -0800)]
include saved notice in atompub events

13 years agoMake AtomPub work for bookmarks
Evan Prodromou [Tue, 28 Dec 2010 06:09:29 +0000 (22:09 -0800)]
Make AtomPub work for bookmarks

13 years agoMerge branch '0.9.x' into socialbookmark
Evan Prodromou [Tue, 28 Dec 2010 04:49:31 +0000 (20:49 -0800)]
Merge branch '0.9.x' into socialbookmark

13 years agoAdd a user parameter to atom pub api events
Evan Prodromou [Tue, 28 Dec 2010 04:49:08 +0000 (20:49 -0800)]
Add a user parameter to atom pub api events

13 years agoBetter UI for bookmark popup
Evan Prodromou [Mon, 27 Dec 2010 20:57:03 +0000 (12:57 -0800)]
Better UI for bookmark popup

13 years agobetter layout for single-bookmark page
Evan Prodromou [Mon, 27 Dec 2010 20:08:55 +0000 (12:08 -0800)]
better layout for single-bookmark page

13 years agosend and receive bookmarks by Salmon
Evan Prodromou [Mon, 27 Dec 2010 19:29:16 +0000 (11:29 -0800)]
send and receive bookmarks by Salmon

13 years agoNew event for Salmon including target
Evan Prodromou [Mon, 27 Dec 2010 18:51:59 +0000 (10:51 -0800)]
New event for Salmon including target

13 years agoBetter job making an ActivityObject from an <atom:author>
Evan Prodromou [Mon, 27 Dec 2010 18:19:51 +0000 (10:19 -0800)]
Better job making an ActivityObject from an <atom:author>

13 years agoStop using <activity:subject> for atom feeds
Evan Prodromou [Mon, 27 Dec 2010 18:03:34 +0000 (10:03 -0800)]
Stop using <activity:subject> for atom feeds

13 years agoUse outputTo() instead of asString() for including sub-elements
Evan Prodromou [Mon, 27 Dec 2010 17:46:25 +0000 (09:46 -0800)]
Use outputTo() instead of asString() for including sub-elements

13 years agoDon't output deprecated <activity:actor> element
Evan Prodromou [Mon, 27 Dec 2010 17:25:26 +0000 (09:25 -0800)]
Don't output deprecated <activity:actor> element

13 years agoFix bookmark replies handling so doesn't overwrite
Evan Prodromou [Mon, 27 Dec 2010 17:14:11 +0000 (09:14 -0800)]
Fix bookmark replies handling so doesn't overwrite

13 years agoreplace call to protected Ostatus_profile method
Evan Prodromou [Mon, 27 Dec 2010 05:38:28 +0000 (21:38 -0800)]
replace call to protected Ostatus_profile method

13 years agoFix bugs in BookmarkPlugin
Evan Prodromou [Mon, 27 Dec 2010 05:25:26 +0000 (21:25 -0800)]
Fix bugs in BookmarkPlugin

13 years agoSome fixes from debugging of bookmark plugin URI foramt
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.

13 years agoremove debugging outputter from delicious backup importer
Evan Prodromou [Mon, 27 Dec 2010 05:10:54 +0000 (21:10 -0800)]
remove debugging outputter from delicious backup importer

13 years agoUTC only and tighter date format for showbookmark
Evan Prodromou [Mon, 27 Dec 2010 05:10:23 +0000 (21:10 -0800)]
UTC only and tighter date format for showbookmark

13 years agoMemcache_DataObject checks for PEAR::isError() on results
Evan Prodromou [Mon, 27 Dec 2010 05:08:20 +0000 (21:08 -0800)]
Memcache_DataObject checks for PEAR::isError() on results

13 years agoRadical differences in Bookmark storage
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.

13 years agoaccept bookmarks over PuSH
Evan Prodromou [Thu, 23 Dec 2010 17:42:42 +0000 (09:42 -0800)]
accept bookmarks over PuSH

13 years agoReformat bookmark output
Evan Prodromou [Wed, 22 Dec 2010 23:24:13 +0000 (15:24 -0800)]
Reformat bookmark output

13 years agoBreak xbImportNode.js and geometa.js back out of util.js; the Makefile in js has...
Brion Vibber [Wed, 22 Dec 2010 23:20:07 +0000 (15:20 -0800)]
Break xbImportNode.js and geometa.js back out of util.js; the Makefile in js has been updated to combine them with util.js source when building util.min.js
Revert "combine our standard scripts into one big script"

This reverts parts of commit 0c5ca46ba3a070803d993b0244fcc69d33875ebd.

13 years agoMakefile to compress LinkPreview's js
Brion Vibber [Wed, 22 Dec 2010 23:04:50 +0000 (15:04 -0800)]
Makefile to compress LinkPreview's js

13 years agoWhen queueing is off, restore runs immediately. Indicate that we've already finished...
Brion Vibber [Wed, 22 Dec 2010 22:55:13 +0000 (14:55 -0800)]
When queueing is off, restore runs immediately. Indicate that we've already finished processing on the success page in this case; otherwise continue to show the 'will take a few minutes' message.

13 years agoDon't trust text/xml mime types; generic content detection gives useless stuff like...
Brion Vibber [Wed, 22 Dec 2010 21:56:19 +0000 (13:56 -0800)]
Don't trust text/xml mime types; generic content detection gives useless stuff like that on SVG images! Todo: replace the extension check in this case with better content-based checks.

13 years agoMove bookmark CSS to its own file
Evan Prodromou [Wed, 22 Dec 2010 21:08:07 +0000 (13:08 -0800)]
Move bookmark CSS to its own file

13 years agoMerge branch '0.9.x' into socialbookmark
Evan Prodromou [Wed, 22 Dec 2010 20:09:42 +0000 (12:09 -0800)]
Merge branch '0.9.x' into socialbookmark

Conflicts:
lib/activityobject.php

13 years agoRevert "initialize ActivityObject::$extra"
Evan Prodromou [Wed, 22 Dec 2010 20:07:13 +0000 (12:07 -0800)]
Revert "initialize ActivityObject::$extra"

This reverts commit 3e82000d578cf5f5935d972a26c84fe31768460a.

13 years agoMerge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
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

13 years agoMerge 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

13 years agoInitialize $extra member to empty array on ActivityObject
Brion Vibber [Wed, 22 Dec 2010 20:03:05 +0000 (12:03 -0800)]
Initialize $extra member to empty array on ActivityObject

13 years agoinitialize ActivityObject::$extra
Evan Prodromou [Wed, 22 Dec 2010 20:02:50 +0000 (12:02 -0800)]
initialize ActivityObject::$extra

13 years agoMerge branch 'righttoleave' into 0.9.x
Brion Vibber [Wed, 22 Dec 2010 19:28:34 +0000 (11:28 -0800)]
Merge branch 'righttoleave' into 0.9.x

13 years agodisable account deletion by default
Evan Prodromou [Wed, 22 Dec 2010 19:25:47 +0000 (11:25 -0800)]
disable account deletion by default

13 years agoMerge branch 'righttoleave' into 0.9.x
Evan Prodromou [Wed, 22 Dec 2010 19:22:51 +0000 (11:22 -0800)]
Merge branch 'righttoleave' into 0.9.x

13 years agoError handling cleanup on backup/restore:
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

13 years agofix notice error
Brion Vibber [Wed, 22 Dec 2010 19:06:45 +0000 (11:06 -0800)]
fix notice error

13 years agoPartial fix for ticket #2964: bad .po file entries
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

13 years agoPartial fix for ticket #2964: bad .po files
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

13 years agoNotice_bookmark::saveNew() takes a Profile argument
Evan Prodromou [Wed, 22 Dec 2010 17:35:45 +0000 (12:35 -0500)]
Notice_bookmark::saveNew() takes a Profile argument

13 years agoBookmarklet for Bookmark plugin
Evan Prodromou [Tue, 21 Dec 2010 19:46:31 +0000 (14:46 -0500)]
Bookmarklet for Bookmark plugin

13 years agoBookmarklet for new bookmarks
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.

13 years agoLayout on the bookmark form
Evan Prodromou [Tue, 21 Dec 2010 17:25:23 +0000 (12:25 -0500)]
Layout on the bookmark form

13 years agoBreak up delicious import into a queue manager by bookmark
Evan Prodromou [Tue, 21 Dec 2010 16:09:01 +0000 (11:09 -0500)]
Break up delicious import into a queue manager by bookmark

13 years agoPHPCS Notice_bookmark
Evan Prodromou [Tue, 21 Dec 2010 15:32:35 +0000 (10:32 -0500)]
PHPCS Notice_bookmark

13 years agoPHPCS newbookmark
Evan Prodromou [Tue, 21 Dec 2010 15:22:50 +0000 (10:22 -0500)]
PHPCS newbookmark

13 years agoPHPCS importbookmarks
Evan Prodromou [Tue, 21 Dec 2010 15:20:49 +0000 (10:20 -0500)]
PHPCS importbookmarks

13 years agoPHPCS BookmarkForm
Evan Prodromou [Tue, 21 Dec 2010 15:16:53 +0000 (10:16 -0500)]
PHPCS BookmarkForm