]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
12 years agoDisable Cache class's in-process cache on CLI runs; unsafe for long-running daemons.
Brion Vibber [Fri, 30 Sep 2011 18:21:24 +0000 (11:21 -0700)]
Disable Cache class's in-process cache on CLI runs; unsafe for long-running daemons.

Should help with situations like IM daemons coming up with false negatives on user settings lookups.

12 years agoFurther fixes to Managed_DataObject::_allCacheKeys(): now uses self::multicacheKey...
Brion Vibber [Thu, 29 Sep 2011 22:21:52 +0000 (15:21 -0700)]
Further fixes to Managed_DataObject::_allCacheKeys(): now uses self::multicacheKey() to generate the (possibly compound) keys, which makes it match the order of the keys used when calling pkeyGet().

This should resolve the issues darkip was reporting with user_im_prefs entries returning null immediately after insertion (seen with memcached off, so it was happening even with the built-in in-process cache in the Cache base class).

What was happening was that the initial pkeyGet() would end up saving a negative cache entry under the form with the fields sorted in the key, as via multicacheKey():

    'statusnet:blaguette:user_im_prefs:screenname,transport:brionv,sms' => 'N;'

then we'd do an insert() on the new entry, saving cache entries for the non-sorted key names returned by _allCacheKeys():

    'statusnet:blaguette:user_im_prefs:transport,screenname:sms,brionv' => 'O...'
    'statusnet:blaguette:user_im_prefs:user_id,transport:1234,sms' => 'O...'

but the next query via pkeyGet() still saw the negative lookup cache from before, and came back with null.

Now, _allCacheKeys() sorts the fields in the keys by using the same key-builder function, and queries pick up the same thing you just inserted. :)

12 years agoFix for caching with compound keys: add Managed_DataObject::_allCacheKeys() to overri...
Brion Vibber [Thu, 29 Sep 2011 01:32:43 +0000 (18:32 -0700)]
Fix for caching with compound keys: add Managed_DataObject::_allCacheKeys() to override the one in Memcached_DataObject.

Memcached_DataObject doesn't quite fully understand unique indexes, and can't properly build cache keys for compound unique or primary keys.
Managed_DataObject has more information in its schema data, so we can build a proper list.

12 years agoMerge commit 'refs/merge-requests/174' of git://gitorious.org/statusnet/mainline...
Evan Prodromou [Wed, 28 Sep 2011 20:14:42 +0000 (16:14 -0400)]
Merge commit 'refs/merge-requests/174' of git://gitorious.org/statusnet/mainline into merge-requests/174

12 years agoRemove config.php.sample
Evan Prodromou [Wed, 28 Sep 2011 20:11:12 +0000 (16:11 -0400)]
Remove config.php.sample

This file is really, really out-of-date. We've got admin panels, and
we've got a long document (CONFIGURE) on how to do this. Using
config.php.sample as a starting point is a bad idea.

12 years agoRemove unique key on file_thumbnail.url
Evan Prodromou [Wed, 28 Sep 2011 19:48:20 +0000 (15:48 -0400)]
Remove unique key on file_thumbnail.url

We're getting "DB error: already exists" on thumbnails coming from
embed.ly. We don't need this to be unique, so let's avoid that.

12 years agoplugins/MobileProfile/MobileProfilePlugin.php: add 'maemo' to recognized devices
Scott Sweeny [Wed, 28 Sep 2011 03:54:42 +0000 (23:54 -0400)]
plugins/MobileProfile/MobileProfilePlugin.php: add 'maemo' to recognized devices

12 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Zach Copley [Tue, 27 Sep 2011 16:59:43 +0000 (16:59 +0000)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

12 years agoMove check for valid access token to the right place
Zach Copley [Tue, 27 Sep 2011 16:59:10 +0000 (16:59 +0000)]
Move check for valid access token to the right place

12 years agoRemove unsupported hcard action from xrd
Evan Prodromou [Tue, 27 Sep 2011 15:49:38 +0000 (11:49 -0400)]
Remove unsupported hcard action from xrd

12 years agoMerge branch '1.0.x' into testing
Evan Prodromou [Tue, 27 Sep 2011 15:45:24 +0000 (11:45 -0400)]
Merge branch '1.0.x' into testing

12 years agoremove unsupported hcard action
Evan Prodromou [Tue, 27 Sep 2011 15:43:41 +0000 (11:43 -0400)]
remove unsupported hcard action

12 years agoMerge branch '1.0.x' into testing
Evan Prodromou [Tue, 27 Sep 2011 15:33:13 +0000 (11:33 -0400)]
Merge branch '1.0.x' into testing

12 years agoMerge remote-tracking branch 'origin/testing' into testing
Evan Prodromou [Tue, 27 Sep 2011 15:33:01 +0000 (11:33 -0400)]
Merge remote-tracking branch 'origin/testing' into testing

12 years agoIncorrect constant for theme warning
Evan Prodromou [Tue, 27 Sep 2011 15:32:20 +0000 (11:32 -0400)]
Incorrect constant for theme warning

12 years agoQuery errors in Profile_tag
Evan Prodromou [Tue, 27 Sep 2011 15:32:05 +0000 (11:32 -0400)]
Query errors in Profile_tag

12 years agosetup schemaversion first so we don't get errors on upgrade
Evan Prodromou [Tue, 27 Sep 2011 15:27:14 +0000 (11:27 -0400)]
setup schemaversion first so we don't get errors on upgrade

12 years agoAdd profile lists for all tags on upgrade
Evan Prodromou [Tue, 27 Sep 2011 15:16:14 +0000 (11:16 -0400)]
Add profile lists for all tags on upgrade

12 years agoremove unlinked publicpeopletagcloud
Evan Prodromou [Tue, 27 Sep 2011 14:55:10 +0000 (10:55 -0400)]
remove unlinked publicpeopletagcloud

12 years agofix getOtherTags() to not use joinAdd()
Evan Prodromou [Tue, 27 Sep 2011 14:51:02 +0000 (10:51 -0400)]
fix getOtherTags() to not use joinAdd()

12 years agomissed an AND
Evan Prodromou [Tue, 27 Sep 2011 14:47:13 +0000 (10:47 -0400)]
missed an AND

12 years agorewrite Profile_tag::getTagsArray() so it doesn't use joinAdd()
Evan Prodromou [Tue, 27 Sep 2011 13:42:34 +0000 (09:42 -0400)]
rewrite Profile_tag::getTagsArray() so it doesn't use joinAdd()

12 years agoMerge branch 'testing' of gitorious.org:statusnet/mainline into testing
Zach Copley [Tue, 27 Sep 2011 04:33:00 +0000 (04:33 +0000)]
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing

12 years agoDo a better job of saving the original avatar from Facebook
Zach Copley [Tue, 27 Sep 2011 04:31:41 +0000 (04:31 +0000)]
Do a better job of saving the original avatar from Facebook

12 years agoFacebook bridge back in business with new JS-SDK and OAuth 2.0 flow.
Zach Copley [Tue, 27 Sep 2011 04:09:47 +0000 (04:09 +0000)]
Facebook bridge back in business with new JS-SDK and OAuth 2.0 flow.
Might be better to rewrite the login mechanism to use server side flow
now that Facebook provides it.

12 years agoMerge commit 'refs/merge-requests/158' of git://gitorious.org/statusnet/mainline...
Evan Prodromou [Mon, 26 Sep 2011 21:11:49 +0000 (17:11 -0400)]
Merge commit 'refs/merge-requests/158' of git://gitorious.org/statusnet/mainline into merge-requests/158

Conflicts:
classes/Profile_list.php
lib/peopletagnoticestream.php

12 years agoMerge branch '1.0.x' into testing
Evan Prodromou [Mon, 26 Sep 2011 21:06:14 +0000 (17:06 -0400)]
Merge branch '1.0.x' into testing

12 years agoDon't replace URLs if 'shortened' version is longer, unless forced
Evan Prodromou [Mon, 26 Sep 2011 21:05:35 +0000 (17:05 -0400)]
Don't replace URLs if 'shortened' version is longer, unless forced

12 years agoMerge branch '1.0.x' into testing
Evan Prodromou [Mon, 26 Sep 2011 20:16:08 +0000 (16:16 -0400)]
Merge branch '1.0.x' into testing

12 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Mon, 26 Sep 2011 20:15:52 +0000 (16:15 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

12 years agofix problem with missing list subscribers
Evan Prodromou [Mon, 26 Sep 2011 20:15:38 +0000 (16:15 -0400)]
fix problem with missing list subscribers

12 years agoUse older-style top reply form when replying from old-school conversation tree view...
Brion Vibber [Mon, 26 Sep 2011 19:54:33 +0000 (12:54 -0700)]
Use older-style top reply form when replying from old-school conversation tree view (labeled with .old-school class on one of its parent nodes).

12 years agoMerge branch '1.0.x' into testing
Evan Prodromou [Mon, 26 Sep 2011 19:07:09 +0000 (15:07 -0400)]
Merge branch '1.0.x' into testing

12 years agoMerge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Evan Prodromou [Mon, 26 Sep 2011 19:06:49 +0000 (15:06 -0400)]
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

12 years agomissing \n in ja translation
Evan Prodromou [Mon, 26 Sep 2011 19:04:49 +0000 (15:04 -0400)]
missing \n in ja translation

12 years agoUpdated RTL.css for neo
Samantha Doherty [Mon, 26 Sep 2011 19:01:12 +0000 (15:01 -0400)]
Updated RTL.css for neo

12 years agoMerge branch '1.0.x' into testing
Evan Prodromou [Mon, 26 Sep 2011 18:10:43 +0000 (14:10 -0400)]
Merge branch '1.0.x' into testing

12 years agoWhoops quick fix fornewschool conversations.
Samantha Doherty [Mon, 26 Sep 2011 12:41:40 +0000 (08:41 -0400)]
Whoops quick fix fornewschool conversations.

12 years agoA little style for oldschool conversation layout.
Samantha Doherty [Mon, 26 Sep 2011 12:27:04 +0000 (08:27 -0400)]
A little style for oldschool conversation layout.

12 years agoTiny layout fix for QnA.
Samantha Doherty [Mon, 26 Sep 2011 12:26:38 +0000 (08:26 -0400)]
Tiny layout fix for QnA.

12 years agoFacebook bridge mostly working again with new OAuth 2.0 flow
Zach Copley [Mon, 26 Sep 2011 05:32:19 +0000 (05:32 +0000)]
Facebook bridge mostly working again with new OAuth 2.0 flow

12 years agoRemove punctuation in e-mail subject. Spotted by OsamaK.
Siebrand Mazeland [Sun, 25 Sep 2011 22:10:34 +0000 (00:10 +0200)]
Remove punctuation in e-mail subject. Spotted by OsamaK.

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 25 Sep 2011 22:01:00 +0000 (00:01 +0200)]
Localisation updates from http://translatewiki.net.

12 years agoMerge branch '1.0.x' into testing
Evan Prodromou [Sat, 24 Sep 2011 14:18:09 +0000 (10:18 -0400)]
Merge branch '1.0.x' into testing

12 years agoMerge branch 'streammode' into 1.0.x
Evan Prodromou [Sat, 24 Sep 2011 14:17:17 +0000 (10:17 -0400)]
Merge branch 'streammode' into 1.0.x

12 years agoOld-school settings page
Evan Prodromou [Sat, 24 Sep 2011 14:14:45 +0000 (10:14 -0400)]
Old-school settings page

A page to set or remove old-school settings.

12 years agosite-wide option to enable old-school settings
Evan Prodromou [Sat, 24 Sep 2011 13:46:13 +0000 (09:46 -0400)]
site-wide option to enable old-school settings

12 years agooptional conversation tree view
Evan Prodromou [Sat, 24 Sep 2011 13:29:12 +0000 (09:29 -0400)]
optional conversation tree view

12 years agousers can choose to just see nicknames in streams
Evan Prodromou [Sat, 24 Sep 2011 11:19:52 +0000 (07:19 -0400)]
users can choose to just see nicknames in streams

12 years agoNew table for all old-school UI prefs
Evan Prodromou [Sat, 24 Sep 2011 11:12:34 +0000 (07:12 -0400)]
New table for all old-school UI prefs

12 years agostart using stream mode prefs instead of separate parameter
Evan Prodromou [Fri, 23 Sep 2011 21:50:38 +0000 (17:50 -0400)]
start using stream mode prefs instead of separate parameter

12 years agoswitch between conversation and stream for public and group
Evan Prodromou [Fri, 23 Sep 2011 21:28:54 +0000 (17:28 -0400)]
switch between conversation and stream for public and group

12 years agoSupport mode in all
Evan Prodromou [Fri, 23 Sep 2011 21:18:21 +0000 (17:18 -0400)]
Support mode in all

12 years agoMake addressee groups italic.
Samantha Doherty [Fri, 23 Sep 2011 20:42:12 +0000 (16:42 -0400)]
Make addressee groups italic.

12 years agoUpdate to latest Facebook PHP sdk
Zach Copley [Thu, 22 Sep 2011 22:47:55 +0000 (15:47 -0700)]
Update to latest Facebook PHP sdk

12 years agoMerge branch 'master' of gitorious.org:statusnet/mainline
Evan Prodromou [Thu, 22 Sep 2011 20:31:26 +0000 (16:31 -0400)]
Merge branch 'master' of gitorious.org:statusnet/mainline

12 years agodon't use potentially bad Profile values
Evan Prodromou [Thu, 22 Sep 2011 20:29:31 +0000 (16:29 -0400)]
don't use potentially bad Profile values

12 years agoUse array_merge instead of array_replace (same effect, and array_merge works with...
Zach Copley [Thu, 22 Sep 2011 19:49:04 +0000 (12:49 -0700)]
Use array_merge instead of array_replace (same effect, and array_merge works with PHP versions < 5.3)

fixes http://status.net/open-source/issues/3393

12 years agoUse array_merge instead of array_replace (same effect, and array_merge works with...
Zach Copley [Thu, 22 Sep 2011 19:49:04 +0000 (12:49 -0700)]
Use array_merge instead of array_replace (same effect, and array_merge works with PHP versions < 5.3)

fixes http://status.net/open-source/issues/3393

12 years agoMerge branch 'site-profile-fixes'
Zach Copley [Thu, 22 Sep 2011 19:52:38 +0000 (12:52 -0700)]
Merge branch 'site-profile-fixes'

* site-profile-fixes:
  Use array_merge instead of array_replace (same effect, and array_merge works with PHP versions < 5.3)
  Update RTL stylesheet for neo.

12 years agoUse array_merge instead of array_replace (same effect, and array_merge works with...
Zach Copley [Thu, 22 Sep 2011 19:49:04 +0000 (12:49 -0700)]
Use array_merge instead of array_replace (same effect, and array_merge works with PHP versions < 5.3)

fixes http://status.net/open-source/issues/3393

12 years agoUpdate RTL stylesheet for neo.
Samantha Doherty [Thu, 22 Sep 2011 13:27:36 +0000 (09:27 -0400)]
Update RTL stylesheet for neo.

12 years agoUpdate RTL stylesheet for neo.
Samantha Doherty [Thu, 22 Sep 2011 13:27:36 +0000 (09:27 -0400)]
Update RTL stylesheet for neo.

12 years agoImproved browser compatibility for various gradients.
Samantha Doherty [Thu, 22 Sep 2011 13:27:15 +0000 (09:27 -0400)]
Improved browser compatibility for various gradients.

12 years agoA little more IE style cleanup.
Samantha Doherty [Thu, 22 Sep 2011 13:26:03 +0000 (09:26 -0400)]
A little more IE style cleanup.

12 years agoOnly load theme-specific IE stylesheets if they exist.
Samantha Doherty [Thu, 22 Sep 2011 13:22:08 +0000 (09:22 -0400)]
Only load theme-specific IE stylesheets if they exist.

12 years agoQuick update of theme README file.
Samantha Doherty [Thu, 22 Sep 2011 13:19:46 +0000 (09:19 -0400)]
Quick update of theme README file.

12 years agodon't cause an error on non-user profile in api
Evan Prodromou [Wed, 21 Sep 2011 21:15:55 +0000 (17:15 -0400)]
don't cause an error on non-user profile in api

12 years agoNo such path 'index', so redirect to home timeline
Evan Prodromou [Wed, 21 Sep 2011 20:33:10 +0000 (16:33 -0400)]
No such path 'index', so redirect to home timeline

12 years agoMerge commit 'refs/merge-requests/159' of git://gitorious.org/statusnet/mainline...
Evan Prodromou [Wed, 21 Sep 2011 20:31:38 +0000 (16:31 -0400)]
Merge commit 'refs/merge-requests/159' of git://gitorious.org/statusnet/mainline into merge-requests/159

12 years agoMerge commit 'refs/merge-requests/164' of git://gitorious.org/statusnet/mainline...
Evan Prodromou [Wed, 21 Sep 2011 19:39:44 +0000 (15:39 -0400)]
Merge commit 'refs/merge-requests/164' of git://gitorious.org/statusnet/mainline into merge-requests/164

Conflicts:
classes/Avatar.php

I ignored the code in Avatar; it's a different patch.

12 years agoMerge commit 'refs/merge-requests/165' of git://gitorious.org/statusnet/mainline...
Evan Prodromou [Wed, 21 Sep 2011 19:33:52 +0000 (15:33 -0400)]
Merge commit 'refs/merge-requests/165' of git://gitorious.org/statusnet/mainline into merge-requests/165

Conflicts:
lib/noticelist.php

12 years agoMerge commit 'refs/merge-requests/166' of git://gitorious.org/statusnet/mainline...
Evan Prodromou [Wed, 21 Sep 2011 19:24:17 +0000 (15:24 -0400)]
Merge commit 'refs/merge-requests/166' of git://gitorious.org/statusnet/mainline into merge-requests/166

12 years agoUse an event to signal that IM settings are available
Evan Prodromou [Wed, 21 Sep 2011 19:15:59 +0000 (15:15 -0400)]
Use an event to signal that IM settings are available

Rather than enumerating available classes, define an event that sets a
flag indicating that there's an IM plugin available. Implemented in
implugin.php, so all IM plugins that use that class should
work. Others can hook the event, too.

12 years agoMerge commit 'refs/merge-requests/169' of git://gitorious.org/statusnet/mainline...
Evan Prodromou [Wed, 21 Sep 2011 19:09:05 +0000 (15:09 -0400)]
Merge commit 'refs/merge-requests/169' of git://gitorious.org/statusnet/mainline into merge-requests/169

12 years agoMerge commit 'refs/merge-requests/170' of git://gitorious.org/statusnet/mainline...
Evan Prodromou [Wed, 21 Sep 2011 19:05:41 +0000 (15:05 -0400)]
Merge commit 'refs/merge-requests/170' of git://gitorious.org/statusnet/mainline into merge-requests/170

12 years agobad sprintf format for new follow activity notices
Evan Prodromou [Wed, 21 Sep 2011 14:18:16 +0000 (10:18 -0400)]
bad sprintf format for new follow activity notices

12 years agoChange defaults for ActivityPlugin to only log joins and follows
Evan Prodromou [Wed, 21 Sep 2011 14:15:34 +0000 (10:15 -0400)]
Change defaults for ActivityPlugin to only log joins and follows

12 years agoMerge branch 'testing'
Evan Prodromou [Wed, 21 Sep 2011 14:07:20 +0000 (10:07 -0400)]
Merge branch 'testing'

12 years agoMake im confirmation codes work instead of sending an invalid URL
Ciaran Gultnieks [Wed, 21 Sep 2011 10:57:15 +0000 (11:57 +0100)]
Make im confirmation codes work instead of sending an invalid URL

12 years agoAllow repeats to flow through the Twitter bridge
Zach Copley [Wed, 21 Sep 2011 05:23:47 +0000 (05:23 +0000)]
Allow repeats to flow through the Twitter bridge

12 years agoDon't send notices from the ActivityPlugin to Twitter
Zach Copley [Wed, 21 Sep 2011 02:31:51 +0000 (02:31 +0000)]
Don't send notices from the ActivityPlugin to Twitter

12 years agoDon't access current user without session
Zach Copley [Wed, 21 Sep 2011 00:40:27 +0000 (00:40 +0000)]
Don't access current user without session

12 years agoUpdate documentation for 1.0.0rc1
Evan Prodromou [Tue, 20 Sep 2011 20:05:00 +0000 (16:05 -0400)]
Update documentation for 1.0.0rc1

12 years agodon't show group tagcloud in high-performance mode
Evan Prodromou [Tue, 20 Sep 2011 18:04:09 +0000 (14:04 -0400)]
don't show group tagcloud in high-performance mode

12 years agofallback theme
Evan Prodromou [Tue, 20 Sep 2011 16:32:49 +0000 (12:32 -0400)]
fallback theme

12 years agoMerge branch 'testing'
Evan Prodromou [Tue, 20 Sep 2011 15:08:27 +0000 (11:08 -0400)]
Merge branch 'testing'

12 years agoMerge remote-tracking branch 'origin/1.0.x' into 1.0.x
Evan Prodromou [Tue, 20 Sep 2011 15:07:43 +0000 (11:07 -0400)]
Merge remote-tracking branch 'origin/1.0.x' into 1.0.x

12 years agoRemove template plugin
Evan Prodromou [Tue, 20 Sep 2011 15:06:18 +0000 (11:06 -0400)]
Remove template plugin

I don't think this still works; it's probably a bad idea to leave it in 1.0.x.

12 years agouse a dummy notice stream for retweets_of_me under high load
Evan Prodromou [Tue, 20 Sep 2011 02:17:40 +0000 (22:17 -0400)]
use a dummy notice stream for retweets_of_me under high load

12 years agoinverted switch for performance on public page
Evan Prodromou [Tue, 20 Sep 2011 02:01:47 +0000 (22:01 -0400)]
inverted switch for performance on public page

12 years agodon't try to add publictagcloud to menu if it's not there
Evan Prodromou [Tue, 20 Sep 2011 02:01:28 +0000 (22:01 -0400)]
don't try to add publictagcloud to menu if it's not there

12 years agomake performance optimization off by default
Evan Prodromou [Tue, 20 Sep 2011 02:01:13 +0000 (22:01 -0400)]
make performance optimization off by default

12 years agosetting to turn off expensive queries
Evan Prodromou [Tue, 20 Sep 2011 01:55:11 +0000 (21:55 -0400)]
setting to turn off expensive queries

12 years agoCorrect ImPlugin to XmppPlugin
Luke Fitzgerald [Tue, 20 Sep 2011 01:45:02 +0000 (02:45 +0100)]
Correct ImPlugin to XmppPlugin

12 years agoShow IM configuration page if XMPP, IRC or MSN plugins are enabled
Luke Fitzgerald [Tue, 20 Sep 2011 01:40:15 +0000 (02:40 +0100)]
Show IM configuration page if XMPP, IRC or MSN plugins are enabled

12 years agodisable public tag cloud on public sites
Evan Prodromou [Mon, 19 Sep 2011 23:37:58 +0000 (19:37 -0400)]
disable public tag cloud on public sites

12 years agomove more routes around from most specific to least
Evan Prodromou [Mon, 19 Sep 2011 23:21:59 +0000 (19:21 -0400)]
move more routes around from most specific to least

12 years agohide popular notice section on non-private sites
Evan Prodromou [Mon, 19 Sep 2011 20:19:12 +0000 (16:19 -0400)]
hide popular notice section on non-private sites

12 years agofixup bad class constant in Notice
Evan Prodromou [Mon, 19 Sep 2011 20:11:43 +0000 (16:11 -0400)]
fixup bad class constant in Notice