Mikael Nordfeldth
7ddd561837
Salmon only has one "rel" value now, so start deprecating
2013-11-01 17:00:12 +01:00
Mikael Nordfeldth
bd86519d50
Minor labeling things for StatusNet to GNU social migration
2013-11-01 14:04:40 +01:00
Mikael Nordfeldth
6bc11b63e3
What was that NewMenu plugin doing there anyway?
2013-11-01 13:57:31 +01:00
Mikael Nordfeldth
f110fc5c9a
Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION
2013-11-01 13:51:41 +01:00
Mikael Nordfeldth
255943d78f
User agents and generators changed to GNU social
2013-11-01 13:46:05 +01:00
Mikael Nordfeldth
ca66860a4f
Better typing and minor fixes to OStatus related stuff
2013-11-01 13:20:45 +01:00
Mikael Nordfeldth
810495708d
Version name strings updated, StatusNet only retained for copyright
2013-10-30 16:37:13 +01:00
Mikael Nordfeldth
be62f44ef4
OStatus remote address example now more generic
2013-10-30 15:04:54 +01:00
Mikael Nordfeldth
58717fa6c5
Forgot to catch no-parent-exception
...
Unfortunately not a specific Exception right now, but we're getting to that.
2013-10-30 14:56:27 +01:00
Mikael Nordfeldth
f75ddaa8aa
Getting a profile from URI would throw exceptions on remote URL lookup failures
2013-10-30 14:43:40 +01:00
Mikael Nordfeldth
5efff58213
Use schemaDef when checking database structure
2013-10-30 14:17:54 +01:00
Mikael Nordfeldth
603d2d3891
Minor Ostatus_profile class reference fixes
2013-10-30 14:14:02 +01:00
Mikael Nordfeldth
20bd0c1136
getStreamName will now return nick/fullname based on current user's preferred representation
2013-10-30 13:05:04 +01:00
Mikael Nordfeldth
09ef1fff69
NoticeListItem attentions showed double for User_group
...
...because they each have their own Profile now! Whiie!
2013-10-30 12:56:17 +01:00
Mikael Nordfeldth
e45edd6ae2
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.
2013-10-30 12:28:39 +01:00
Mikael Nordfeldth
8dafce34c3
LoginAction somewhat converted to FormAction
2013-10-30 12:23:10 +01:00
Mikael Nordfeldth
f7c6dd4f6e
mentioned was an array, not a single object
2013-10-29 15:06:02 +01:00
Mikael Nordfeldth
71978a84fd
File oEmbed lookup failure is not as severe as LOG_ERR
2013-10-29 14:09:00 +01:00
Mikael Nordfeldth
c5f6937f5e
User_group->permalink() is a function, not a variable.
2013-10-29 13:42:21 +01:00
Mikael Nordfeldth
9b6633698c
Group discovery from text functions polished
...
Also removed the entirely unused saveGroups function.
Now avoiding multiGet and using listFind in Profile->getGroups()
so we don't have to deal with ArrayWrapper.
2013-10-29 13:40:14 +01:00
Mikael Nordfeldth
f8b49e69d0
Protected function prepare with array $args defaulting to array()
2013-10-29 10:26:46 +01:00
Mikael Nordfeldth
2dfa0bfcee
function delete in dataobjects now don't break strict syntax
2013-10-29 10:20:57 +01:00
Mikael Nordfeldth
23a6b4595f
Reworked the ActivityContext->attention structure
...
Removing Evan's obscure attentionType solution and directly using the attention array
2013-10-28 22:21:14 +01:00
Mikael Nordfeldth
f99c4b7f07
More OOP-ish tests using instanceof
2013-10-28 22:18:00 +01:00
Mikael Nordfeldth
e4084d0f5a
PEAR lib updated to 1.9.4 (seems only installation stuff changed)
2013-10-28 19:39:15 +01:00
Mikael Nordfeldth
3ba6374b9d
Memcached_DataObject extensions got their update functions more consistent
2013-10-28 19:36:05 +01:00
Mikael Nordfeldth
fa91bc7132
Some getStaticProperty calls to PEAR globalized
2013-10-28 19:03:09 +01:00
Mikael Nordfeldth
fd0a16ba04
acct uri should be caseinsensitive (so let's do our reconstruction in lowercase)
2013-10-28 18:28:53 +01:00
Mikael Nordfeldth
74429835a1
Event handler StartGetProfileAcctUri for WebFinger
2013-10-28 18:26:00 +01:00
Mikael Nordfeldth
9ea57e5cb2
getAcctUri function added with related exception
...
Used in ActivityObject for Atom Title generation.
New events:
* StartGetProfileAcctUri
* EndGetProfileAcctUri
2013-10-28 18:21:10 +01:00
Mikael Nordfeldth
addd84aa22
Make Atom titles a bit more verbose
2013-10-28 17:54:34 +01:00
Mikael Nordfeldth
a5d8707658
Use getParent instead of manual reply_to lookup
2013-10-28 17:28:10 +01:00
Mikael Nordfeldth
fcba540a14
Removed legacy OMB. Use OStatus for remote profiles.
2013-10-28 16:22:09 +01:00
Mikael Nordfeldth
e7a4ccb7b5
Enable json-specified objects in queue_item frames
2013-10-28 12:44:06 +01:00
Mikael Nordfeldth
2ef9beb4b1
defines changed to GNU social names instead of StatusNet
2013-10-27 11:27:12 +01:00
Mikael Nordfeldth
362b6ad2fc
ForceGroup and some qvitter API stuff still used staticGet
2013-10-25 13:20:53 +02:00
Mikael Nordfeldth
340740266c
Notice class local cache fixes
2013-10-23 12:33:37 +02:00
Mikael Nordfeldth
a980f4ed33
Call memcache() as a static object (it's a static class)
2013-10-23 12:02:15 +02:00
Mikael Nordfeldth
a38ed0057a
Moved jbfavre's Twitter card support to Twitter plugin
...
It was causing problems with an undefined TWITTER_SERVICE constant.
2013-10-22 20:35:03 +02:00
Mikael Nordfeldth
f54584c126
Don't disconnect a DB_Error, instead log for better understanding.
2013-10-22 18:56:56 +02:00
Mikael Nordfeldth
c423e84776
No need to know what DBQueueManager got if not debugging
2013-10-22 17:43:17 +02:00
Mikael Nordfeldth
aa36fecd0a
Geonames now not a default plugin
...
In the name of privacy, let's not by default call a bunch of third
party services with our (users') geographical position.
2013-10-22 17:32:06 +02:00
Mikael Nordfeldth
e274f69634
Notice->getParent function fixes
...
NoResultException was the wrong choice in this case, because it was
not a DB_DataObject instance that performed the search, but a static
call to the Notice class.
2013-10-22 15:37:19 +02:00
Mikael Nordfeldth
b46c1746f2
Daisychaining bug with exceptions in PHP
2013-10-22 15:36:02 +02:00
Mikael Nordfeldth
a6c52c5ca7
Prepare the RepeatAction for modernisation (more OOP)
2013-10-21 23:27:09 +02:00
Mikael Nordfeldth
38da5ec7f7
Ostatus_profile->processShare now backwards compatible against federating StatusNet nodes
...
StatusNet was improperly defining the id (URI) of the shared object as a
TagURI, while it should've really been the object's URI of course.
2013-10-21 23:25:47 +02:00
Mikael Nordfeldth
ba46c3d360
SHARE activities would not be imported from federated instances for local notices
...
"[...] posts _local_ users (like you) make won't get data about "repeated by"
from federated users"
This was because the ActivityObject would processShare where the shared object
has a _local_ 'actor' URI. Ostatus_profile would complain this meant that a
"Local user cannot be referenced as remote.".
So we see if the shared activity object's id (URI) is in our Notice table, so
we don't have to processActivity - and can skip ensureActivityObjectProfile.
2013-10-21 23:25:43 +02:00
Mikael Nordfeldth
355c37bc3f
Revert "Better ID for notice activity"
...
This reverts commit 8cc4660bd9
.
This seems like something Evan only did to make pump.io import notices easier,
or maybe he just wanted to get rid of the identi.ca URLs?
2013-10-21 23:25:35 +02:00
Mikael Nordfeldth
f4c0cff032
Only use ActivityVerb::SHARE (forwardId is deprecated)
...
StatusNet >= 1.0 support it.
2013-10-21 22:25:19 +02:00
Mikael Nordfeldth
8004849305
Removing rel='ostatus:attention' in favor of Salmon's rel='mentioned'
...
This was introduced in StatusNet 0.9.x, which is the oldest branch
on the web today as far as I know.
2013-10-21 18:42:15 +02:00