]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
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.

11 years agoLoginAction somewhat converted to FormAction
Mikael Nordfeldth [Wed, 30 Oct 2013 11:21:34 +0000 (12:21 +0100)]
LoginAction somewhat converted to FormAction

11 years agomentioned was an array, not a single object
Mikael Nordfeldth [Tue, 29 Oct 2013 14:06:02 +0000 (15:06 +0100)]
mentioned was an array, not a single object

11 years agoFile oEmbed lookup failure is not as severe as LOG_ERR
Mikael Nordfeldth [Tue, 29 Oct 2013 13:09:00 +0000 (14:09 +0100)]
File oEmbed lookup failure is not as severe as LOG_ERR

11 years agoUser_group->permalink() is a function, not a variable.
Mikael Nordfeldth [Tue, 29 Oct 2013 12:42:21 +0000 (13:42 +0100)]
User_group->permalink() is a function, not a variable.

11 years agoGroup discovery from text functions polished
Mikael Nordfeldth [Tue, 29 Oct 2013 10:27:26 +0000 (11:27 +0100)]
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.

11 years agoProtected function prepare with array $args defaulting to array()
Mikael Nordfeldth [Tue, 29 Oct 2013 09:26:46 +0000 (10:26 +0100)]
Protected function prepare with array $args defaulting to array()

11 years agofunction delete in dataobjects now don't break strict syntax
Mikael Nordfeldth [Tue, 29 Oct 2013 09:20:57 +0000 (10:20 +0100)]
function delete in dataobjects now don't break strict syntax

11 years agoReworked the ActivityContext->attention structure
Mikael Nordfeldth [Mon, 28 Oct 2013 21:21:14 +0000 (22:21 +0100)]
Reworked the ActivityContext->attention structure

Removing Evan's obscure attentionType solution and directly using the attention array

11 years agoMore OOP-ish tests using instanceof
Mikael Nordfeldth [Mon, 28 Oct 2013 21:18:00 +0000 (22:18 +0100)]
More OOP-ish tests using instanceof

11 years agoPEAR lib updated to 1.9.4 (seems only installation stuff changed)
Mikael Nordfeldth [Mon, 28 Oct 2013 18:39:15 +0000 (19:39 +0100)]
PEAR lib updated to 1.9.4 (seems only installation stuff changed)

11 years agoMemcached_DataObject extensions got their update functions more consistent
Mikael Nordfeldth [Mon, 28 Oct 2013 18:36:05 +0000 (19:36 +0100)]
Memcached_DataObject extensions got their update functions more consistent

11 years agoSome getStaticProperty calls to PEAR globalized
Mikael Nordfeldth [Mon, 28 Oct 2013 18:03:09 +0000 (19:03 +0100)]
Some getStaticProperty calls to PEAR globalized

11 years agoacct uri should be caseinsensitive (so let's do our reconstruction in lowercase)
Mikael Nordfeldth [Mon, 28 Oct 2013 17:28:53 +0000 (18:28 +0100)]
acct uri should be caseinsensitive (so let's do our reconstruction in lowercase)

11 years agoEvent handler StartGetProfileAcctUri for WebFinger
Mikael Nordfeldth [Mon, 28 Oct 2013 17:26:00 +0000 (18:26 +0100)]
Event handler StartGetProfileAcctUri for WebFinger

11 years agogetAcctUri function added with related exception
Mikael Nordfeldth [Mon, 28 Oct 2013 17:01:39 +0000 (18:01 +0100)]
getAcctUri function added with related exception

Used in ActivityObject for Atom Title generation.

New events:
    * StartGetProfileAcctUri
    * EndGetProfileAcctUri

11 years agoMake Atom titles a bit more verbose
Mikael Nordfeldth [Mon, 28 Oct 2013 16:54:34 +0000 (17:54 +0100)]
Make Atom titles a bit more verbose

11 years agoUse getParent instead of manual reply_to lookup
Mikael Nordfeldth [Mon, 28 Oct 2013 16:24:13 +0000 (17:24 +0100)]
Use getParent instead of manual reply_to lookup

11 years agoRemoved legacy OMB. Use OStatus for remote profiles.
Mikael Nordfeldth [Mon, 28 Oct 2013 15:22:09 +0000 (16:22 +0100)]
Removed legacy OMB. Use OStatus for remote profiles.

11 years agoEnable json-specified objects in queue_item frames
Mikael Nordfeldth [Fri, 25 Oct 2013 16:15:34 +0000 (18:15 +0200)]
Enable json-specified objects in queue_item frames

11 years agodefines changed to GNU social names instead of StatusNet
Mikael Nordfeldth [Sun, 27 Oct 2013 10:27:12 +0000 (11:27 +0100)]
defines changed to GNU social names instead of StatusNet

11 years agoForceGroup and some qvitter API stuff still used staticGet
Mikael Nordfeldth [Fri, 25 Oct 2013 11:17:29 +0000 (13:17 +0200)]
ForceGroup and some qvitter API stuff still used staticGet

11 years agoNotice class local cache fixes
Mikael Nordfeldth [Wed, 23 Oct 2013 10:24:20 +0000 (12:24 +0200)]
Notice class local cache fixes

11 years agoCall memcache() as a static object (it's a static class)
Mikael Nordfeldth [Wed, 23 Oct 2013 10:02:15 +0000 (12:02 +0200)]
Call memcache() as a static object (it's a static class)

11 years agoMoved jbfavre's Twitter card support to Twitter plugin
Mikael Nordfeldth [Tue, 22 Oct 2013 18:35:03 +0000 (20:35 +0200)]
Moved jbfavre's Twitter card support to Twitter plugin

It was causing problems with an undefined TWITTER_SERVICE constant.

11 years agoDon't disconnect a DB_Error, instead log for better understanding.
Mikael Nordfeldth [Tue, 22 Oct 2013 16:53:26 +0000 (18:53 +0200)]
Don't disconnect a DB_Error, instead log for better understanding.

11 years agoNo need to know what DBQueueManager got if not debugging
Mikael Nordfeldth [Tue, 22 Oct 2013 15:43:17 +0000 (17:43 +0200)]
No need to know what DBQueueManager got if not debugging

11 years agoGeonames now not a default plugin
Mikael Nordfeldth [Tue, 22 Oct 2013 15:32:06 +0000 (17:32 +0200)]
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.

11 years agoNotice->getParent function fixes
Mikael Nordfeldth [Tue, 22 Oct 2013 13:37:01 +0000 (15:37 +0200)]
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.

11 years agoDaisychaining bug with exceptions in PHP
Mikael Nordfeldth [Tue, 22 Oct 2013 13:34:22 +0000 (15:34 +0200)]
Daisychaining bug with exceptions in PHP

11 years agoPrepare the RepeatAction for modernisation (more OOP)
Mikael Nordfeldth [Mon, 21 Oct 2013 20:26:37 +0000 (22:26 +0200)]
Prepare the RepeatAction for modernisation (more OOP)

11 years agoOstatus_profile->processShare now backwards compatible against federating StatusNet...
Mikael Nordfeldth [Mon, 21 Oct 2013 21:06:34 +0000 (23:06 +0200)]
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.

11 years agoSHARE activities would not be imported from federated instances for local notices
Mikael Nordfeldth [Mon, 21 Oct 2013 20:28:17 +0000 (22:28 +0200)]
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.

11 years agoRevert "Better ID for notice activity"
Mikael Nordfeldth [Mon, 21 Oct 2013 20:27:12 +0000 (22:27 +0200)]
Revert "Better ID for notice activity"

This reverts commit 8cc4660bd94a6de922794e3feec3742a1c7cb1bf.

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?

11 years agoOnly use ActivityVerb::SHARE (forwardId is deprecated)
Mikael Nordfeldth [Mon, 21 Oct 2013 20:25:19 +0000 (22:25 +0200)]
Only use ActivityVerb::SHARE (forwardId is deprecated)

StatusNet >= 1.0 support it.

11 years agoRemoving rel='ostatus:attention' in favor of Salmon's rel='mentioned'
Mikael Nordfeldth [Mon, 21 Oct 2013 16:42:15 +0000 (18:42 +0200)]
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.

11 years agoUse pre-defined const instead of strings
Mikael Nordfeldth [Mon, 21 Oct 2013 16:28:04 +0000 (18:28 +0200)]
Use pre-defined const instead of strings

11 years agoReplace common_good_random with common_random_hexstr
Mikael Nordfeldth [Mon, 21 Oct 2013 11:20:30 +0000 (13:20 +0200)]
Replace common_good_random with common_random_hexstr

11 years agoGenerate better salt for crypt()
Mikael Nordfeldth [Mon, 21 Oct 2013 11:16:03 +0000 (13:16 +0200)]
Generate better salt for crypt()

11 years agocommon_good_rand was _not_ a "good rand", only hex
Mikael Nordfeldth [Mon, 21 Oct 2013 11:09:40 +0000 (13:09 +0200)]
common_good_rand was _not_ a "good rand", only hex

0-F isn't random enough to be called rand, so we rename the function
to avoid confusion with something that is actually good at random.

11 years agoException wasn't thrown. How does PHP handle daisychained calls, really?
Mikael Nordfeldth [Mon, 21 Oct 2013 07:09:32 +0000 (09:09 +0200)]
Exception wasn't thrown. How does PHP handle daisychained calls, really?

11 years agoplugins/Xmpp/README fixed typos
Florian Schmaus [Sat, 19 Oct 2013 16:48:37 +0000 (18:48 +0200)]
plugins/Xmpp/README fixed typos

11 years agoImproved plugins/Xmpp/README
Florian Schmaus [Sat, 19 Oct 2013 10:19:00 +0000 (12:19 +0200)]
Improved plugins/Xmpp/README

Added the relevant section in INSTALL about queues and daemons to get
the plugin runnig.

Made resource required, as otherwise XMPPHP will send invalid from JIDs
in it's stanzas. For example when my configuration didn't had the
resource part, outbound stanzas looked like this:

<message
from="gnusocial@example.de/"
to="flow@example.de"
type='chat'>
<body>
User &quot;flow&quot; on GNU Social has said that your
XMPP/Jabber/GTalk screenname belongs to them.

</body>
</message>

Note the '/' at the end of the from attribute, without an actual
XMPP resource. But according to RFC6122 2.1 "every allowable portion of
a JID MUST NOT be zero bytes in length". Causing a jid-malformed
response from the server.

Also, it's nice to know that debug=true will print out all sent and
received stanzas, which helped me to debug the problem.

Furthermore I add a note that if the XMPP services uses DNS SRV records,
'host' has to be configured (in cases where service host != xmpp domain).

11 years agoprintv doesn't exist. Use echo to always print on errors.
Mikael Nordfeldth [Sun, 20 Oct 2013 19:02:47 +0000 (21:02 +0200)]
printv doesn't exist. Use echo to always print on errors.

11 years agoProfile creation always failed because we didn't COMMIT
Mikael Nordfeldth [Sun, 20 Oct 2013 15:22:20 +0000 (17:22 +0200)]
Profile creation always failed because we didn't COMMIT

11 years agoMinor function definitions so they match Action parent
Mikael Nordfeldth [Sun, 20 Oct 2013 15:21:56 +0000 (17:21 +0200)]
Minor function definitions so they match Action parent

11 years agoStrict type check against false in User_group
Mikael Nordfeldth [Sun, 20 Oct 2013 15:15:46 +0000 (17:15 +0200)]
Strict type check against false in User_group

11 years agoWebFingerResource introduced, instead of strict Profile object
Mikael Nordfeldth [Sun, 20 Oct 2013 13:32:56 +0000 (15:32 +0200)]
WebFingerResource introduced, instead of strict Profile object

This is the beginning of getting notice URI info via WebFinger

*XrdActionLinks is renamed *WebFingerProfileLinks, check EVENTS.txt
in WebFinger plugin for new events.

11 years agoApparently only one atom:content is allowed
Mikael Nordfeldth [Sun, 20 Oct 2013 11:15:37 +0000 (13:15 +0200)]
Apparently only one atom:content is allowed

11 years agoSwitch order of html/text for StatusNet backwards compatibility
Mikael Nordfeldth [Sun, 20 Oct 2013 10:50:27 +0000 (12:50 +0200)]
Switch order of html/text for StatusNet backwards compatibility

StatusNet chooses the first content element in an Atom feed, while
it should really choose the 'html' representation for its 'rendered'
and 'text' representation for the (text-only) 'content'.

GNU social will implement a better algorithm for retrieving Atom
feeds, but that is yet to be done. So to avoid having link-less posts
on remote nodes, we'll just do the old switch-a-roo.

Other Atom readers, such as Mozilla Firefox, has the reverse priority
(choosing the last of the content elements).

11 years agoCore plugin list would not merge into $config
Mikael Nordfeldth [Sat, 19 Oct 2013 13:25:59 +0000 (15:25 +0200)]
Core plugin list would not merge into $config

11 years agoAlways generate local HTTPS links if ssl is 'always'
Mikael Nordfeldth [Sat, 19 Oct 2013 12:52:09 +0000 (14:52 +0200)]
Always generate local HTTPS links if ssl is 'always'

The isHTTPS call won't work in cli mode, so install_cli.php should
solve it some other way for initial profile url and User uri.

11 years agoCore and Default plugins separated, now loads on install
Mikael Nordfeldth [Sat, 19 Oct 2013 12:35:04 +0000 (14:35 +0200)]
Core and Default plugins separated, now loads on install

_flow_ reported on IRC that install.php had stopped working. This was
because default plugins had been put into two separate lists, and the
list with AuthCrypt was never loaded when performing an installation.

Core plugins cannot be disabled.

I also removed the Memcache autodetection thing since it should be
solved in a more elegant manner.

11 years agoInstaller redirects to HTTPS if ssl is set to 'always'
Mikael Nordfeldth [Fri, 18 Oct 2013 16:17:37 +0000 (18:17 +0200)]
Installer redirects to HTTPS if ssl is set to 'always'

11 years agoREAD THIS UPGRADE SCRIPT. ON EVERY PULL.
Mikael Nordfeldth [Thu, 17 Oct 2013 15:17:39 +0000 (17:17 +0200)]
READ THIS UPGRADE SCRIPT. ON EVERY PULL.

11 years agoMove nick updating of User entry to Profile->update()
Mikael Nordfeldth [Thu, 17 Oct 2013 14:38:42 +0000 (16:38 +0200)]
Move nick updating of User entry to Profile->update()

Also, timezone and language in User table weren't indexes. So no need
to do them separately.

11 years agoAuthCrypt now tidied up and enabled by default.
Mikael Nordfeldth [Thu, 17 Oct 2013 14:32:53 +0000 (16:32 +0200)]
AuthCrypt now tidied up and enabled by default.

11 years agoWhen updating a User_group nickname, correlate Local_group and Profile
Mikael Nordfeldth [Thu, 17 Oct 2013 11:00:13 +0000 (13:00 +0200)]
When updating a User_group nickname, correlate Local_group and Profile

...no need to make a separate call to Local_group's setNickname all the time,
or a bunch of redundant code for the Profile table.

Next up is User->update()...

11 years agoLocal_group and User are now assumed to be in same namespace
Mikael Nordfeldth [Wed, 16 Oct 2013 23:16:03 +0000 (01:16 +0200)]
Local_group and User are now assumed to be in same namespace

11 years agoNoProfileException now parent to User* and Group*
Mikael Nordfeldth [Wed, 16 Oct 2013 22:32:54 +0000 (00:32 +0200)]
NoProfileException now parent to User* and Group*

11 years agoBetter use of Nickname validation functions
Mikael Nordfeldth [Wed, 16 Oct 2013 12:58:22 +0000 (14:58 +0200)]
Better use of Nickname validation functions

Nickname verifications on registration and updates for profiles (not yet
groups) have been improved.

Minor bugs in RegisterAction were also fixed, where multiple forms would
be outputed because the function did not return after showForm(). This
will be solved more permanently with throwing exceptions in the future.

11 years agoBetter checks during User::register and improved Nickname checks
Mikael Nordfeldth [Wed, 16 Oct 2013 11:55:32 +0000 (13:55 +0200)]
Better checks during User::register and improved Nickname checks

11 years agoMinor changes to ApiCheckNicknameAction, syntax and exception handling mostly
Mikael Nordfeldth [Wed, 16 Oct 2013 11:43:10 +0000 (13:43 +0200)]
Minor changes to ApiCheckNicknameAction, syntax and exception handling mostly

11 years agoNickname::normalize now checks for path name collision too.
Mikael Nordfeldth [Wed, 16 Oct 2013 11:22:43 +0000 (13:22 +0200)]
Nickname::normalize now checks for path name collision too.

11 years agoAdd support (and upgrade path) for group profiles
Mikael Nordfeldth [Tue, 15 Oct 2013 09:12:50 +0000 (11:12 +0200)]
Add support (and upgrade path) for group profiles

11 years agoLegacy fixup script from bad block/sub interaction
Mikael Nordfeldth [Tue, 15 Oct 2013 09:00:11 +0000 (11:00 +0200)]
Legacy fixup script from bad block/sub interaction

11 years agoRemoving legacy code and fixup_* for Status_network tags
Mikael Nordfeldth [Tue, 15 Oct 2013 08:54:03 +0000 (10:54 +0200)]
Removing legacy code and fixup_* for Status_network tags

11 years agoMaking many of the API actions more consistent with coding style
Mikael Nordfeldth [Tue, 15 Oct 2013 00:54:10 +0000 (02:54 +0200)]
Making many of the API actions more consistent with coding style

clientError and serverError exit after they're done so no need for
break or return. Also, $this->format is default.

We also got rid of the incredibly verbose version of $this->isPost()
which was spread all over the place.

Not all of this cleaning up is done yet.

11 years agoDo calls straight to the result of getProfile
Mikael Nordfeldth [Tue, 15 Oct 2013 00:34:10 +0000 (02:34 +0200)]
Do calls straight to the result of getProfile

11 years agoMoved favoriteNotices from User to Profile class
Mikael Nordfeldth [Tue, 15 Oct 2013 00:15:58 +0000 (02:15 +0200)]
Moved favoriteNotices from User to Profile class

11 years agogetTaggedSub-stuff moved to Profile class
Mikael Nordfeldth [Tue, 15 Oct 2013 00:00:27 +0000 (02:00 +0200)]
getTaggedSub-stuff moved to Profile class

11 years agoNow using common_local_url properly
Mikael Nordfeldth [Mon, 14 Oct 2013 23:20:21 +0000 (01:20 +0200)]
Now using common_local_url properly

11 years agoWe never accept a user without a Profile
Mikael Nordfeldth [Mon, 14 Oct 2013 23:00:27 +0000 (01:00 +0200)]
We never accept a user without a Profile

11 years agoGNU social is with a minor s.
Mikael Nordfeldth [Mon, 14 Oct 2013 22:20:36 +0000 (00:20 +0200)]
GNU social is with a minor s.

11 years agoNaming stuff GNUsocial rather than StatusNet
Mikael Nordfeldth [Mon, 14 Oct 2013 22:19:03 +0000 (00:19 +0200)]
Naming stuff GNUsocial rather than StatusNet