]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
10 years agoConversation ID now gets set from initial notice.
Mikael Nordfeldth [Sat, 1 Mar 2014 16:06:29 +0000 (17:06 +0100)]
Conversation ID now gets set from initial notice.

This will work without much extra effort because there will always be
more notices (higher value) than conversations (so no collisions).

But please run upgrade.php to avoid having an autoincrement id on
conversation table.

Installations using code after 2014-03-01 will have identical
conversation IDs to the initial (conversation root) notice IDs. This
will not affect older installations, which will have very different
values.

10 years agoDon't show installation form on checkPrereqs fail.
Mikael Nordfeldth [Sat, 1 Mar 2014 15:27:34 +0000 (16:27 +0100)]
Don't show installation form on checkPrereqs fail.

...and be a bit more instructive on how to continue installing.

10 years agoUpdating version check to match requirements
Mikael Nordfeldth [Sat, 1 Mar 2014 15:19:00 +0000 (16:19 +0100)]
Updating version check to match requirements

Also removing a legacy check for, nowadays, unsupported versions.

10 years agoLess StatusNet, more GNU social
Mikael Nordfeldth [Sat, 1 Mar 2014 13:14:39 +0000 (14:14 +0100)]
Less StatusNet, more GNU social

We've still got stuff like the update-subscription thing to set up.

10 years agoUse UTF-8 for installer page
Mikael Nordfeldth [Sat, 1 Mar 2014 13:05:39 +0000 (14:05 +0100)]
Use UTF-8 for installer page

10 years agoJSON is a required PHP extension for GNU social.
Mikael Nordfeldth [Sat, 1 Mar 2014 12:58:03 +0000 (13:58 +0100)]
JSON is a required PHP extension for GNU social.

10 years agoINSTALL file clarifications
Mikael Nordfeldth [Sat, 1 Mar 2014 12:42:10 +0000 (13:42 +0100)]
INSTALL file clarifications

10 years agoMinor language fixes
Mikael Nordfeldth [Sat, 1 Mar 2014 12:38:31 +0000 (13:38 +0100)]
Minor language fixes

10 years agoMerge commit 'refs/merge-requests/10' of git://gitorious.org/statusnet/gnu-social...
Mikael Nordfeldth [Sat, 1 Mar 2014 12:36:57 +0000 (13:36 +0100)]
Merge commit 'refs/merge-requests/10' of git://gitorious.org/statusnet/gnu-social into merge-requests/10

10 years agoWe have removed minified javascripts from core
Mikael Nordfeldth [Sat, 1 Mar 2014 12:21:42 +0000 (13:21 +0100)]
We have removed minified javascripts from core

10 years agoInstallation should note we're using GNU social
Mikael Nordfeldth [Sat, 1 Mar 2014 12:17:17 +0000 (13:17 +0100)]
Installation should note we're using GNU social

10 years agoFix typo in INSTALL. Thanks @postblue for reporting
Jean Baptiste Favre [Tue, 25 Feb 2014 22:27:24 +0000 (23:27 +0100)]
Fix typo in INSTALL. Thanks @postblue for reporting

10 years agoUpdate documentation to reflect queueadmon changes. Also add basic opportunisticqm...
Jean Baptiste Favre [Mon, 24 Feb 2014 22:11:37 +0000 (23:11 +0100)]
Update documentation to reflect queueadmon changes. Also add basic opportunisticqm description

10 years agoDynamically enable scripts/queuedaemon.php into scripts/getvaliddaemons.php depending...
Jean Baptiste Favre [Mon, 24 Feb 2014 18:32:29 +0000 (19:32 +0100)]
Dynamically enable scripts/queuedaemon.php into scripts/getvaliddaemons.php depending on common_config('queue', 'daemon') value. True = enabled, False=disabled. Default is false (see previous commit)

10 years agoIntroduce new config option common_config('queue','daemon').Allows to dynamically...
Jean Baptiste Favre [Mon, 24 Feb 2014 18:31:14 +0000 (19:31 +0100)]
Introduce new config option common_config('queue','daemon').Allows to dynamically enable scripts/queuedaemon.php into scripts/getvaliddaemons.php

10 years agoBad route config (thanks brw12)
Mikael Nordfeldth [Sat, 1 Mar 2014 11:01:21 +0000 (12:01 +0100)]
Bad route config (thanks brw12)

ben wheeler submitted this bug report with a patch for StatusNet.

10 years agoMinor code cleanup with group related actions (thanks brw12)
Mikael Nordfeldth [Sat, 1 Mar 2014 10:55:06 +0000 (11:55 +0100)]
Minor code cleanup with group related actions (thanks brw12)

Originated from brw12 who noticed an incorrect variable name used in
an error message in actions/apigroupjoin.php:109

10 years agoDon't forget to strip 'Plugin'. (_MrB_ rocks, MMN-o sucks.)
Mikael Nordfeldth [Sat, 1 Mar 2014 10:07:58 +0000 (11:07 +0100)]
Don't forget to strip 'Plugin'. (_MrB_ rocks, MMN-o sucks.)

Paths are like "plugins/Realtime/...", not "plugins/RealtimePlugin/...".

10 years agoPartly revert 97830b07019d9ffe33e2c2048bac39026e636998 (thanks _MrB_)
Mikael Nordfeldth [Thu, 27 Feb 2014 22:30:35 +0000 (23:30 +0100)]
Partly revert 97830b07019d9ffe33e2c2048bac39026e636998 (thanks _MrB_)

require_once lines were required since _plugins_ don't __autoload

Also, Realtime would load the wrong URL for css/js since $this->name()
returns get_class($this) instead of the calling class' __CLASS__.

10 years agonl2br so we get proper newlining when publishing \r, \n or \r\n
Mikael Nordfeldth [Mon, 24 Feb 2014 17:00:53 +0000 (18:00 +0100)]
nl2br so we get proper newlining when publishing \r, \n or \r\n

10 years agoDon't discard XML in queue items
Mikael Nordfeldth [Mon, 24 Feb 2014 13:10:53 +0000 (14:10 +0100)]
Don't discard XML in queue items

XMPP messages on -out at least were strings of XML that were stopped
because they weren't JSON.

10 years agoMaking us less dependant on javascript trust
Mikael Nordfeldth [Mon, 24 Feb 2014 01:05:31 +0000 (02:05 +0100)]
Making us less dependant on javascript trust

Many of the microapps are pretty javascript dependant, but at least
we should allow users to get to the new notice field without allowing
javascript to run in the browser. :)

10 years agominify removed from core (use plugin if desired)
Mikael Nordfeldth [Mon, 24 Feb 2014 00:05:13 +0000 (01:05 +0100)]
minify removed from core (use plugin if desired)

My reasoning: Minifying makes third party review harder. A visitor on
a GNU social site should have no problem reading, understanding and
modifying javascripts for their own liking. A minified script is much
more difficult to use, reuse, modify and share.

Free software is not minified.

10 years agoPreparing plugins for no-minify-in-core-policy
Mikael Nordfeldth [Sun, 23 Feb 2014 23:59:29 +0000 (00:59 +0100)]
Preparing plugins for no-minify-in-core-policy

also making the file structure better with js and css folders for Realtime and LinkPreview

10 years agoRemove util.min.js (minifying is EVIL)
GNU Social instance [Sun, 23 Feb 2014 23:31:37 +0000 (00:31 +0100)]
Remove util.min.js (minifying is EVIL)

10 years agoAdd various entry points to enhance compatibility with Twitter client like Twidere
Jean Baptiste Favre [Sun, 26 Jan 2014 22:57:27 +0000 (23:57 +0100)]
Add various entry points to enhance compatibility with Twitter client like Twidere

10 years agoAdd 'profile_image_url_https' to enhance compatiblity with Twitter clients since...
Jean Baptiste Favre [Sun, 26 Jan 2014 22:53:44 +0000 (23:53 +0100)]
Add 'profile_image_url_https' to enhance compatiblity with Twitter clients since they now need https URLs instead of plain http

10 years agomentions from OStatus lookup were missing a 'type' attribute in common_linkify_mention
Mikael Nordfeldth [Sun, 23 Feb 2014 20:49:55 +0000 (21:49 +0100)]
mentions from OStatus lookup were missing a 'type' attribute in common_linkify_mention

10 years agoCompare to profile id of group, for backward compatibility
Mikael Nordfeldth [Sun, 23 Feb 2014 20:28:52 +0000 (21:28 +0100)]
Compare to profile id of group, for backward compatibility

10 years agostricter typing
Mikael Nordfeldth [Sun, 23 Feb 2014 20:05:34 +0000 (21:05 +0100)]
stricter typing

10 years agoAutocomplete now matches remote profiles as well.
Mikael Nordfeldth [Sun, 23 Feb 2014 19:12:01 +0000 (20:12 +0100)]
Autocomplete now matches remote profiles as well.

10 years agoMerge commit 'refs/merge-requests/8' of git://gitorious.org/statusnet/gnu-social...
Mikael Nordfeldth [Sun, 23 Feb 2014 14:06:29 +0000 (15:06 +0100)]
Merge commit 'refs/merge-requests/8' of git://gitorious.org/statusnet/gnu-social into merge-requests/8

10 years agoSnapshot call was left behind
Mikael Nordfeldth [Sun, 23 Feb 2014 14:01:23 +0000 (15:01 +0100)]
Snapshot call was left behind

10 years agoMerge branch 'master' of git://gitorious.org/+socialites/statusnet/gnu-social
Mikael Nordfeldth [Sun, 23 Feb 2014 13:58:55 +0000 (14:58 +0100)]
Merge branch 'master' of git://gitorious.org/+socialites/statusnet/gnu-social

10 years agoRemove callback sneakery by StatusNet
Mikael Nordfeldth [Sun, 23 Feb 2014 13:57:12 +0000 (14:57 +0100)]
Remove callback sneakery by StatusNet

10 years agoslightly less confusing inline if
Mikael Nordfeldth [Sun, 23 Feb 2014 13:47:41 +0000 (14:47 +0100)]
slightly less confusing inline if

10 years agoUpdated logos
Matt Lee [Fri, 7 Feb 2014 15:27:27 +0000 (10:27 -0500)]
Updated logos

10 years agoFiw TwitterBridge after SSL enforcement (https://dev.twitter.com/discussions/24239)
Jean Baptiste Favre [Sun, 26 Jan 2014 21:27:16 +0000 (22:27 +0100)]
Fiw TwitterBridge after SSL enforcement (https://dev.twitter.com/discussions/24239)

10 years agoUse exceptions for Notice::getByUri
Mikael Nordfeldth [Sun, 12 Jan 2014 21:46:50 +0000 (22:46 +0100)]
Use exceptions for Notice::getByUri

..jeez, a long time since I commited. Three in a row to get this right. Sorry :)

10 years agoNotice::getByUri is of course static
Mikael Nordfeldth [Sun, 12 Jan 2014 21:41:30 +0000 (22:41 +0100)]
Notice::getByUri is of course static

10 years agogetByUri added to Notice for future use
Mikael Nordfeldth [Sun, 12 Jan 2014 21:37:41 +0000 (22:37 +0100)]
getByUri added to Notice for future use

10 years agoMerge commit 'refs/merge-requests/6' of git://gitorious.org/statusnet/gnu-social...
Mikael Nordfeldth [Sat, 4 Jan 2014 20:27:28 +0000 (21:27 +0100)]
Merge commit 'refs/merge-requests/6' of git://gitorious.org/statusnet/gnu-social into merge-requests/6

10 years agoinstanceof checks for better typing
Mikael Nordfeldth [Wed, 1 Jan 2014 19:30:57 +0000 (20:30 +0100)]
instanceof checks for better typing

10 years agoupdating prepare and handle
Mikael Nordfeldth [Wed, 1 Jan 2014 19:30:30 +0000 (20:30 +0100)]
updating prepare and handle

10 years agoPrevious edit made translation notes incompatible
Mikael Nordfeldth [Wed, 1 Jan 2014 19:09:11 +0000 (20:09 +0100)]
Previous edit made translation notes incompatible

10 years agoapparently not only regex 'https?' urls are sent
Mikael Nordfeldth [Wed, 1 Jan 2014 18:44:02 +0000 (19:44 +0100)]
apparently not only regex 'https?' urls are sent

10 years agobetter comment for PuSH <0.4 hack
Mikael Nordfeldth [Wed, 1 Jan 2014 18:43:31 +0000 (19:43 +0100)]
better comment for PuSH <0.4 hack

10 years agocheck local/plugins before plugins in Plugin::onAutoload
root [Tue, 31 Dec 2013 23:56:56 +0000 (23:56 +0000)]
check local/plugins before plugins in Plugin::onAutoload

10 years agoTwitter search server has changed domain name (thanks mrvdb)
Mikael Nordfeldth [Wed, 4 Dec 2013 12:43:04 +0000 (13:43 +0100)]
Twitter search server has changed domain name (thanks mrvdb)

10 years agoQueues should be enabled by default (thanks postblue)
Mikael Nordfeldth [Mon, 2 Dec 2013 12:51:55 +0000 (13:51 +0100)]
Queues should be enabled by default (thanks postblue)

11 years agoOpportunisticQM can't run as subsystem qm
Mikael Nordfeldth [Wed, 20 Nov 2013 20:46:16 +0000 (21:46 +0100)]
OpportunisticQM can't run as subsystem qm

11 years agoCron split into Cronish and OpportunisticQM
Mikael Nordfeldth [Wed, 20 Nov 2013 20:20:42 +0000 (21:20 +0100)]
Cron split into Cronish and OpportunisticQM

/main/cron changed to /main/runqueue

The key-required functionality is not throughly tested yet.

11 years agoCron plugin added and now default queue handler
Mikael Nordfeldth [Tue, 19 Nov 2013 13:13:33 +0000 (14:13 +0100)]
Cron plugin added and now default queue handler

Generally the Cron plugin will run if there's still execution time for
1 second since starting the Action processing. If you want to change
this (such as disabling, 0 seconds, or maybe running bigger chunks,
for like 4 seconds) you can do this, where 'n' is time in seconds.

   addPlugin('Cron', array('secs_per_action', n));

Add 'rel_to_pageload'=>false to the array if you want to run the queue
for a certain amount of seconds _despite_ maybe already having run that
long in the previous parts of Action processing.

Perhaps you want to run the cron script remotely, using a machine capable
of background processing (or locally, to avoid running daemon processes),
simply do an HTTP GET request to the route /main/cron of your GNU social.
Setting secs_per_action to 0 in the plugin config will imply that you run
all your queue handling by calling /main/cron (which runs as long as it can).

/main/cron will output "0" if it has finished processing, "1" if it should
be called again to complete processing (because it ran out of time due to
PHP's max_execution_time INI setting).

The Cron plugin also runs events as close to hourly, daily and weekly
as you get, based on the opportunistic method of running whenever a user
visits the site. This means of course that the cron events should be as
fast as possible, not only to avoid delaying page load for users but
also to minimize the risk of running into PHP's max_execution_time. One
suggestion is to only use the events to add new queue items for later processing.

These events are called CronHourly, CronDaily, CronWeekly - however there
is no guarantee that all events will execute, so some kind of failsafe,
transaction-ish method must be implemented in the future.

11 years agoWe haven't added the cron plugin yet
Mikael Nordfeldth [Tue, 19 Nov 2013 13:02:53 +0000 (14:02 +0100)]
We haven't added the cron plugin yet

11 years agoPlugins should be initialized with an empty array, not null
Mikael Nordfeldth [Tue, 19 Nov 2013 12:50:49 +0000 (13:50 +0100)]
Plugins should be initialized with an empty array, not null

11 years agoAttention structure has changed recently
Mikael Nordfeldth [Fri, 15 Nov 2013 12:43:57 +0000 (13:43 +0100)]
Attention structure has changed recently

11 years agoDon't miss integer 0 values from find()
Mikael Nordfeldth [Tue, 19 Nov 2013 01:39:43 +0000 (02:39 +0100)]
Don't miss integer 0 values from find()

11 years agoComment and typing improvements
Mikael Nordfeldth [Mon, 18 Nov 2013 19:43:00 +0000 (20:43 +0100)]
Comment and typing improvements

To make the StatusNet::addPlugin() accept only arrays,
the lib/default.php had to be changed because all plugins
had 'null' as default value instead of an array.

11 years agoDon't allow double plugin loading
Mikael Nordfeldth [Mon, 18 Nov 2013 19:04:00 +0000 (20:04 +0100)]
Don't allow double plugin loading

11 years agoGTalk shouldn't be trusted to comply with XMPP nowadays
Mikael Nordfeldth [Mon, 18 Nov 2013 18:50:46 +0000 (19:50 +0100)]
GTalk shouldn't be trusted to comply with XMPP nowadays

11 years agoGNUSOCIAL, not STATUSNET. Too many changes to be backwards compatible
Mikael Nordfeldth [Fri, 15 Nov 2013 12:43:41 +0000 (13:43 +0100)]
GNUSOCIAL, not STATUSNET. Too many changes to be backwards compatible

11 years agoDon't disable queuedaemons before Cron stuff is done
Mikael Nordfeldth [Sun, 17 Nov 2013 23:50:12 +0000 (00:50 +0100)]
Don't disable queuedaemons before Cron stuff is done

11 years agoMinor queue fixes, probably not very important. Preparing for cron
Mikael Nordfeldth [Wed, 13 Nov 2013 17:15:21 +0000 (18:15 +0100)]
Minor queue fixes, probably not very important. Preparing for cron

11 years agoSlightly better indication that notice section shows incomplete text
Mikael Nordfeldth [Mon, 11 Nov 2013 12:18:23 +0000 (13:18 +0100)]
Slightly better indication that notice section shows incomplete text

Must still be improved somehow.

11 years agoSection notices should not take up too much space.
Mikael Nordfeldth [Sun, 10 Nov 2013 23:47:09 +0000 (00:47 +0100)]
Section notices should not take up too much space.

No configuration options for the max amount of characters yet.

11 years agocurly braces to pick a character in string is not recommended
Mikael Nordfeldth [Sun, 10 Nov 2013 23:45:30 +0000 (00:45 +0100)]
curly braces to pick a character in string is not recommended

11 years agoSlight cleanup in typing and syntax of File and File_* classes
Mikael Nordfeldth [Sun, 10 Nov 2013 13:33:45 +0000 (14:33 +0100)]
Slight cleanup in typing and syntax of File and File_* classes

11 years agoInbox class a bit more consistent in argument order and type
Mikael Nordfeldth [Sat, 9 Nov 2013 00:18:44 +0000 (01:18 +0100)]
Inbox class a bit more consistent in argument order and type

11 years agoNotice_inbox no longer used (and should've already been migrated for anyone using...
Mikael Nordfeldth [Sat, 9 Nov 2013 00:10:47 +0000 (01:10 +0100)]
Notice_inbox no longer used (and should've already been migrated for anyone using StatusNet 1.1.x)

11 years agoWebFingerResource for profiles now WebFingerResource_Profile
Mikael Nordfeldth [Fri, 8 Nov 2013 23:49:00 +0000 (00:49 +0100)]
WebFingerResource for profiles now WebFingerResource_Profile

11 years agoGroup mentions got the wrong class. Now lists get their own too!
Mikael Nordfeldth [Thu, 7 Nov 2013 07:20:41 +0000 (08:20 +0100)]
Group mentions got the wrong class. Now lists get their own too!

11 years agoRemote StatusNet sites would throw 400 if no hub.verify_token
Mikael Nordfeldth [Wed, 6 Nov 2013 11:46:59 +0000 (12:46 +0100)]
Remote StatusNet sites would throw 400 if no hub.verify_token

11 years agoCall self:: instead of Memcached_DataObject
Mikael Nordfeldth [Mon, 4 Nov 2013 16:38:40 +0000 (17:38 +0100)]
Call self:: instead of Memcached_DataObject

11 years agoCache key lead is 'gnusocial' now (restart daemons!)
Mikael Nordfeldth [Mon, 4 Nov 2013 16:38:09 +0000 (17:38 +0100)]
Cache key lead is 'gnusocial' now (restart daemons!)

11 years agoNo pagination when no groups shown... :)
Mikael Nordfeldth [Mon, 4 Nov 2013 15:57:30 +0000 (16:57 +0100)]
No pagination when no groups shown... :)

11 years agoProfile->getGroupCount() should be used for groupcounts
Mikael Nordfeldth [Sat, 2 Nov 2013 19:16:35 +0000 (20:16 +0100)]
Profile->getGroupCount() should be used for groupcounts

This was found in the PHP error log as:
    "Trying to get property of non-object in %HTDOCS%/lib/profileaction.php on line 270"

11 years agoPuSH 0.4: No outgoing 'sync' verifications. Feed renewal script. No auto-renewal.
Mikael Nordfeldth [Sat, 2 Nov 2013 19:02:28 +0000 (20:02 +0100)]
PuSH 0.4: No outgoing 'sync' verifications. Feed renewal script. No auto-renewal.

Among other things (such as permanent subscriptions), Pubsubhubbub 0.4
removed the "sync" verification method. This means that any incoming
PuSH subscription requests that follow the 0.4 spec won't really
_require_that we handle it as a background process, but if we were to
try direct verification of the subscription - and fail - there's no way
we could  pick up the ball again. So _essentially_ we require background
processing with retries.

This means we must implement something like the "poorman cron" or
similar, so background processing can be handled
on-demand/on-site-visit. This is how Friendica, Drupal etc. handles it
and is necessary for environments where we can't run separate queue
daemons.

When the poorman-cron-ish thing is implemented, auto-renewal will work
for all users.

PuSH 0.4 spec:
    https://pubsubhubbub.googlecode.com/git/pubsubhubbub-core-0.4.html
More on PuSH 0.4 release (incl. breaking changes):
    https://groups.google.com/forum/#!msg/pubsubhubbub/7RPlYMds4RI/2mIHQTdV3aoJ

11 years agoWe can only handle Memcached_DataObject in NoResultException
Mikael Nordfeldth [Sat, 2 Nov 2013 17:48:28 +0000 (18:48 +0100)]
We can only handle Memcached_DataObject in NoResultException

11 years agoWe don't do local_push_bypass
Mikael Nordfeldth [Sat, 2 Nov 2013 16:42:32 +0000 (17:42 +0100)]
We don't do local_push_bypass

11 years agoMinor typing stuff and syntax fixes
Mikael Nordfeldth [Sat, 2 Nov 2013 16:28:11 +0000 (17:28 +0100)]
Minor typing stuff and syntax fixes

11 years agoImplement a User_group fetching function for Local_group
Mikael Nordfeldth [Sat, 2 Nov 2013 16:27:50 +0000 (17:27 +0100)]
Implement a User_group fetching function for Local_group

11 years agoLess raw SQL in User_group
Mikael Nordfeldth [Sat, 2 Nov 2013 13:30:29 +0000 (14:30 +0100)]
Less raw SQL in User_group

11 years agoMinor PHP stylistic features and typing stuff
Mikael Nordfeldth [Sat, 2 Nov 2013 12:05:08 +0000 (13:05 +0100)]
Minor PHP stylistic features and typing stuff

11 years agoThere are no LaconicaScripts left
Mikael Nordfeldth [Fri, 1 Nov 2013 23:35:59 +0000 (00:35 +0100)]
There are no LaconicaScripts left

11 years agoNotice metadata for WebFinger. Not sure if implemented properly.
Mikael Nordfeldth [Fri, 1 Nov 2013 15:54:59 +0000 (16:54 +0100)]
Notice metadata for WebFinger. Not sure if implemented properly.

This is more of a proof of concept and will likely not stay in exactly
this form. We should reasonably deliver the entire notice upon webfinger
querying.

11 years agoSalmon only has one "rel" value now, so start deprecating
Mikael Nordfeldth [Fri, 1 Nov 2013 16:00:12 +0000 (17:00 +0100)]
Salmon only has one "rel" value now, so start deprecating

11 years agoMinor labeling things for StatusNet to GNU social migration
Mikael Nordfeldth [Fri, 1 Nov 2013 13:04:40 +0000 (14:04 +0100)]
Minor labeling things for StatusNet to GNU social migration

11 years agoWhat was that NewMenu plugin doing there anyway?
Mikael Nordfeldth [Fri, 1 Nov 2013 12:57:31 +0000 (13:57 +0100)]
What was that NewMenu plugin doing there anyway?

11 years agoUsing GNUSOCIAL_VERSION instead of STATUSNET_VERSION
Mikael Nordfeldth [Fri, 1 Nov 2013 12:51:41 +0000 (13:51 +0100)]
Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION

11 years agoUser agents and generators changed to GNU social
Mikael Nordfeldth [Fri, 1 Nov 2013 12:28:52 +0000 (13:28 +0100)]
User agents and generators changed to GNU social

11 years agoBetter typing and minor fixes to OStatus related stuff
Mikael Nordfeldth [Fri, 1 Nov 2013 12:20:23 +0000 (13:20 +0100)]
Better typing and minor fixes to OStatus related stuff

11 years agoVersion name strings updated, StatusNet only retained for copyright
Mikael Nordfeldth [Wed, 30 Oct 2013 15:28:59 +0000 (16:28 +0100)]
Version name strings updated, StatusNet only retained for copyright

11 years agoOStatus remote address example now more generic
Mikael Nordfeldth [Wed, 30 Oct 2013 14:04:54 +0000 (15:04 +0100)]
OStatus remote address example now more generic

11 years agoForgot to catch no-parent-exception
Mikael Nordfeldth [Wed, 30 Oct 2013 13:56:27 +0000 (14:56 +0100)]
Forgot to catch no-parent-exception

Unfortunately not a specific Exception right now, but we're getting to that.

11 years agoGetting a profile from URI would throw exceptions on remote URL lookup failures
Mikael Nordfeldth [Wed, 30 Oct 2013 13:43:40 +0000 (14:43 +0100)]
Getting a profile from URI would throw exceptions on remote URL lookup failures

11 years agoUse schemaDef when checking database structure
Mikael Nordfeldth [Wed, 30 Oct 2013 13:17:54 +0000 (14:17 +0100)]
Use schemaDef when checking database structure

11 years agoMinor Ostatus_profile class reference fixes
Mikael Nordfeldth [Wed, 30 Oct 2013 13:14:02 +0000 (14:14 +0100)]
Minor Ostatus_profile class reference fixes

11 years agogetStreamName will now return nick/fullname based on current user's preferred represe...
Mikael Nordfeldth [Wed, 30 Oct 2013 12:05:04 +0000 (13:05 +0100)]
getStreamName will now return nick/fullname based on current user's preferred representation

11 years agoNoticeListItem attentions showed double for User_group
Mikael Nordfeldth [Wed, 30 Oct 2013 11:56:17 +0000 (12:56 +0100)]
NoticeListItem attentions showed double for User_group

...because they each have their own Profile now! Whiie!

11 years agoUse addPlugin! (esp. XMPP folks should do this)
Mikael Nordfeldth [Wed, 30 Oct 2013 11:25:01 +0000 (12:25 +0100)]
Use addPlugin! (esp. XMPP folks should do this)

If you're using XMPP by setting $config['xmpp'][*] then you should do:

    addPlugin('Xmpp', $config['xmpp']);

because setting it directly in $config[''] won't do anything.

Also, default resource for XMPP is now 'gnusocial'. If you want something
more random, set it in your addPlugin config array.