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

11 years agodocs: mysqlnd extension clarification
Mikael Nordfeldth [Mon, 14 Oct 2013 17:08:50 +0000 (19:08 +0200)]
docs: mysqlnd extension clarification

11 years agostatic:: call are less cluttery
Mikael Nordfeldth [Mon, 14 Oct 2013 16:18:11 +0000 (18:18 +0200)]
static:: call are less cluttery

11 years agoprotected handle function without args for Action
Mikael Nordfeldth [Mon, 14 Oct 2013 12:00:12 +0000 (14:00 +0200)]
protected handle function without args for Action

11 years agocommon_sql_now() is recommended before DB_DataObject_Cast::dateTime()
Mikael Nordfeldth [Mon, 14 Oct 2013 11:42:27 +0000 (13:42 +0200)]
common_sql_now() is recommended before DB_DataObject_Cast::dateTime()

11 years agoLegacy StatusNet <0.8 stuff, not needed anymore
Mikael Nordfeldth [Mon, 14 Oct 2013 11:40:38 +0000 (13:40 +0200)]
Legacy StatusNet <0.8 stuff, not needed anymore

11 years agoMDB2 now works with UTF-8
Mikael Nordfeldth [Mon, 14 Oct 2013 11:18:26 +0000 (13:18 +0200)]
MDB2 now works with UTF-8

11 years agoRemote Profile Action from ModPlus now more generic
Mikael Nordfeldth [Tue, 8 Oct 2013 19:08:02 +0000 (21:08 +0200)]
Remote Profile Action from ModPlus now more generic

11 years agoRemoved deprecated activity:subject
Mikael Nordfeldth [Tue, 8 Oct 2013 13:06:19 +0000 (15:06 +0200)]
Removed deprecated activity:subject

11 years agoAtom output of ActivityObject now has html AND text
Mikael Nordfeldth [Tue, 8 Oct 2013 13:00:54 +0000 (15:00 +0200)]
Atom output of ActivityObject now has html AND text

11 years agoRevert "Don't set the title of a notice to its plain-text content."
Mikael Nordfeldth [Tue, 8 Oct 2013 12:06:27 +0000 (14:06 +0200)]
Revert "Don't set the title of a notice to its plain-text content."

This reverts commit 74ec87c27c64585f4e0488e0a2b377865f452abb.

11 years agocommon_sql_now() is recommended
Mikael Nordfeldth [Tue, 8 Oct 2013 09:40:23 +0000 (11:40 +0200)]
common_sql_now() is recommended

11 years agoNoResultException returns the failed object
Mikael Nordfeldth [Mon, 7 Oct 2013 22:21:24 +0000 (00:21 +0200)]
NoResultException returns the failed object

11 years agoLet's not limit qvitter stuff to 'json' requests
Mikael Nordfeldth [Mon, 7 Oct 2013 17:56:57 +0000 (19:56 +0200)]
Let's not limit qvitter stuff to 'json' requests

Also, cleanup and report errors properly when we try unsupported media types.

11 years agoCleaning up clientError and serverError
Mikael Nordfeldth [Mon, 7 Oct 2013 17:44:57 +0000 (19:44 +0200)]
Cleaning up clientError and serverError

11 years agoCalling parent::handle in ApiCheckHubAction
Mikael Nordfeldth [Mon, 7 Oct 2013 12:51:23 +0000 (14:51 +0200)]
Calling parent::handle in ApiCheckHubAction

11 years agoValidate::uri replaced with filter_var for HTTP[S] URL checks
Mikael Nordfeldth [Mon, 7 Oct 2013 12:46:09 +0000 (14:46 +0200)]
Validate::uri replaced with filter_var for HTTP[S] URL checks

Also, a bug in checking the OAuth callback URL for validity was fixed,
where it referenced the wrong variable when going through form data.

11 years agoLet the SearchEngine take care of the search, and showJsonTimeline is good enough...
Mikael Nordfeldth [Sun, 6 Oct 2013 20:52:34 +0000 (22:52 +0200)]
Let the SearchEngine take care of the search, and showJsonTimeline is good enough for now

I bet JSONSearchResultsList is a good idea, but we have no immediate use of it right now.

And it's better if the SearchEngine can take care of all that jazz.

11 years agoURL shortening can now be disabled for the 'maxurllength'
Mikael Nordfeldth [Sun, 6 Oct 2013 20:35:26 +0000 (22:35 +0200)]
URL shortening can now be disabled for the 'maxurllength'

Also, URL shortening now consistently uses 'maxurllength'...

11 years agoQvitter API changes (thanks hannes2peer)
Mikael Nordfeldth [Sun, 6 Oct 2013 19:30:29 +0000 (21:30 +0200)]
Qvitter API changes (thanks hannes2peer)

I implemented changes from quitter.se's new API that their front-end qvitter
uses, https://github.com/hannesmannerheim/qvitter/blob/master/api-changes-1.1.1/CHANGES

However I left out the URL shortening commens, since I believe whatever behaviour
they experienced that caused them to implement this was a bug (or many) and should
be fixed in their proper areas and that shortening should not be entirely left
out in API calls.

11 years ago60 chars was too little, 100 chars seems better. For me.
Mikael Nordfeldth [Sun, 6 Oct 2013 18:28:07 +0000 (20:28 +0200)]
60 chars was too little, 100 chars seems better. For me.

11 years agopkeyGet unfortunately returns null (should throw NoResultException) on empty result
Mikael Nordfeldth [Sun, 6 Oct 2013 18:03:56 +0000 (20:03 +0200)]
pkeyGet unfortunately returns null (should throw NoResultException) on empty result

11 years agoMissed an exclamation mark. Still doesn't linkify groups?
Mikael Nordfeldth [Sun, 6 Oct 2013 15:26:55 +0000 (17:26 +0200)]
Missed an exclamation mark. Still doesn't linkify groups?

11 years agolistFind throws NoResultException on no results
Mikael Nordfeldth [Sun, 6 Oct 2013 14:37:51 +0000 (16:37 +0200)]
listFind throws NoResultException on no results

11 years agoMoved Avatar retrieval into Avatar class
Mikael Nordfeldth [Sun, 6 Oct 2013 13:54:06 +0000 (15:54 +0200)]
Moved Avatar retrieval into Avatar class

Backwards compatible functions are still in Profile class.

11 years agoAdded Profile_prefs class for profile preferences
Mikael Nordfeldth [Sun, 6 Oct 2013 11:40:53 +0000 (13:40 +0200)]
Added Profile_prefs class for profile preferences

Profile_prefs aims to consolidate all the profile preferences into a
single table. Otherwise we end up with a bajillion *_prefs classes, like
User_urlshortener_prefs, or new fields in existing User/Profile classes,
like 'urlshorteningservice', 'homepage', 'phone_number', 'pet_name' etc.

Eventually we should migrate as many user-settable preferences as we can
into this system.

The data in Profile_prefs is organized by:
    * profile_id    Identify the current Profile.
    * namespace     Which plugin/section the preference is for.
    * topic         Preference name (like 'homepage')
    * data          Preference data (like 'https://gnu.org/')

The names 'topic' and 'data' are because 'key' and 'value' may be rather
ambigous when dealing with our DB_DataObject classes etc.

11 years agoMoved shareLocation preference check to Profile class
Mikael Nordfeldth [Sun, 6 Oct 2013 11:38:09 +0000 (13:38 +0200)]
Moved shareLocation preference check to Profile class

11 years agoOAuth related syntax fixes, nothing big
Mikael Nordfeldth [Sun, 6 Oct 2013 10:40:58 +0000 (12:40 +0200)]
OAuth related syntax fixes, nothing big

Making better use of class autoloading too.

11 years agoI missed a preg_replace with /e
Mikael Nordfeldth [Sun, 6 Oct 2013 10:37:55 +0000 (12:37 +0200)]
I missed a preg_replace with /e

11 years agoTyping and static declaration in PoCo class
Mikael Nordfeldth [Sun, 6 Oct 2013 01:48:41 +0000 (03:48 +0200)]
Typing and static declaration in PoCo class

11 years agoSome PHP strict warning fixes
Mikael Nordfeldth [Sun, 6 Oct 2013 01:37:12 +0000 (03:37 +0200)]
Some PHP strict warning fixes

11 years agoPCRE modifier /e is deprecated in favour of preg_replace_callback()
Mikael Nordfeldth [Sun, 6 Oct 2013 01:27:16 +0000 (03:27 +0200)]
PCRE modifier /e is deprecated in favour of preg_replace_callback()

11 years agofillAvatars would avoid the *ProfileGetAvatar events
Mikael Nordfeldth [Sat, 5 Oct 2013 23:56:27 +0000 (01:56 +0200)]
fillAvatars would avoid the *ProfileGetAvatar events

11 years agoGroup logos would not be fetched
Mikael Nordfeldth [Sat, 5 Oct 2013 23:30:44 +0000 (01:30 +0200)]
Group logos would not be fetched

update_ostatus_profiles.php did this correctly, but not Ostatus_profile.php

11 years agoLOG_WARNING, not LOG_WARN
Mikael Nordfeldth [Sat, 5 Oct 2013 23:15:21 +0000 (01:15 +0200)]
LOG_WARNING, not LOG_WARN

11 years agoMediaFile code improvements, preparing to implement multi-attachments
Mikael Nordfeldth [Sat, 5 Oct 2013 16:43:41 +0000 (18:43 +0200)]
MediaFile code improvements, preparing to implement multi-attachments

Maybe in the future we can use this for anonymous file uploads too?
With some kind of anonymous/pseudonymous profile. That'd be neat.

11 years agoOAuth extlib updated and Twitter comments removed
Mikael Nordfeldth [Sat, 5 Oct 2013 13:59:43 +0000 (15:59 +0200)]
OAuth extlib updated and Twitter comments removed

Source: http://oauth.googlecode.com/svn/code/php/OAuth.php

Should we use PECL OAuth?

11 years agoForgot to clean some debug logging
Mikael Nordfeldth [Sat, 5 Oct 2013 12:33:02 +0000 (14:33 +0200)]
Forgot to clean some debug logging

11 years agoUpdating external libraries for net access
Mikael Nordfeldth [Sat, 5 Oct 2013 12:29:02 +0000 (14:29 +0200)]
Updating external libraries for net access

11 years agoINSTALL docs updated, htaccess.sample more generic
Mikael Nordfeldth [Sat, 5 Oct 2013 12:28:41 +0000 (14:28 +0200)]
INSTALL docs updated, htaccess.sample more generic

11 years agoWe don't need _that_ noisy queue managers...
Mikael Nordfeldth [Sat, 5 Oct 2013 11:12:16 +0000 (13:12 +0200)]
We don't need _that_ noisy queue managers...

11 years agoIM/XMPP Plugin classes use throwing getParent
Mikael Nordfeldth [Sat, 5 Oct 2013 10:30:52 +0000 (12:30 +0200)]
IM/XMPP Plugin classes use throwing getParent

11 years agogetParent throws exception
Mikael Nordfeldth [Sat, 5 Oct 2013 10:30:14 +0000 (12:30 +0200)]
getParent throws exception

Should we get another Exception for if there's no parent? I think so,
because it's not really the same context as 'no result'.

11 years agoMerge-request 3 by pztrn, IM reply more intuitive
Mikael Nordfeldth [Sat, 5 Oct 2013 09:33:25 +0000 (11:33 +0200)]
Merge-request 3 by pztrn, IM reply more intuitive

11 years agoFix Avatar-unlink plus better logging in TwitterImport
Mikael Nordfeldth [Sat, 5 Oct 2013 09:32:43 +0000 (11:32 +0200)]
Fix Avatar-unlink plus better logging in TwitterImport

11 years agoAdopted merge request #232 from statusnet to gnusocial
pztrn [Sat, 5 Oct 2013 08:36:48 +0000 (12:36 +0400)]
Adopted merge request #232 from statusnet to gnusocial

11 years agoLatest phpseclib stuff and moved into its own dir.
Mikael Nordfeldth [Fri, 4 Oct 2013 22:16:07 +0000 (00:16 +0200)]
Latest phpseclib stuff and moved into its own dir.

Source: https://github.com/phpseclib/phpseclib/
Commit: 77447a3fc7869773007fa3beeb8d6f8de842ec2a

There were bugs.

11 years agois_a() with 3 params only supported in 5.3.9 anyway
Mikael Nordfeldth [Fri, 4 Oct 2013 21:10:59 +0000 (23:10 +0200)]
is_a() with 3 params only supported in 5.3.9 anyway

So I removed those safety-checks, because now we can assume it works.

11 years agoProperly defined globals, $_PEAR caused install to fail. (thanks DRiKE)
Mikael Nordfeldth [Fri, 4 Oct 2013 18:49:07 +0000 (20:49 +0200)]
Properly defined globals, $_PEAR caused install to fail. (thanks DRiKE)

11 years agoTwitter Import improvements. Still buggy?
Mikael Nordfeldth [Fri, 4 Oct 2013 11:36:45 +0000 (13:36 +0200)]
Twitter Import improvements. Still buggy?

Apparently mrvdb has problems with duplicate inserts and missing files when
unlinking. It could be due to coding, or it could be due to parallelizing.

11 years agoTwitter Import + avatar fixes (cleaning up + fixing)
Mikael Nordfeldth [Wed, 2 Oct 2013 18:16:08 +0000 (20:16 +0200)]
Twitter Import + avatar fixes (cleaning up + fixing)

...there was also a typo in OstatussubAction ($avatarUrl not defined)

11 years agoDo not name anything getOriginal (because DB_DataObject calls that)
Mikael Nordfeldth [Wed, 2 Oct 2013 13:01:11 +0000 (15:01 +0200)]
Do not name anything getOriginal (because DB_DataObject calls that)

Avatar->getOriginal has been renamed getUploaded
Notice->getOriginal has been renamed getParent

11 years agoVarious minor Avatar fixes, but pretty necessary.
Mikael Nordfeldth [Wed, 2 Oct 2013 12:37:10 +0000 (14:37 +0200)]
Various minor Avatar fixes, but pretty necessary.

One typing thing. And a missed exception case.

Get src from displayUrl() instead of url for example.

11 years agoPlugin onAutoload replaces _ with / in lib paths, this renames some classes.
Mikael Nordfeldth [Wed, 2 Oct 2013 12:07:53 +0000 (14:07 +0200)]
Plugin onAutoload replaces _ with / in lib paths, this renames some classes.

11 years agoPHP Notice: Trying to get property of non-object
Mikael Nordfeldth [Tue, 1 Oct 2013 15:43:46 +0000 (17:43 +0200)]
PHP Notice:  Trying to get property of non-object

The notice was reported in /srv/www/vhosts/se/umeahackerspace/social/%/htdocs/lib/inboxtagcloudsection.php on line 63

11 years agoPHP Notice: Undefined variable: logo
Mikael Nordfeldth [Tue, 1 Oct 2013 15:07:16 +0000 (17:07 +0200)]
PHP Notice:  Undefined variable: logo

It was reported in actions/apitimelinetag.php on line 142

11 years agoProperly unlink all old avatars when deleting/uploading a new
Mikael Nordfeldth [Tue, 1 Oct 2013 09:37:59 +0000 (11:37 +0200)]
Properly unlink all old avatars when deleting/uploading a new

We're also now using $config['image']['jpegquality'] to determine the
quality setting for resized images.

To set Avatar max size, adjust $config['avatar']['maxsize']

The getAvatar call now throws exceptions too. Related changes applied.
Now let's move Profile->avatarUrl to the Avatar class!

11 years agoFixed regression in OStatus sub from WebFinger/XML_XRD update
Mikael Nordfeldth [Mon, 30 Sep 2013 21:12:35 +0000 (23:12 +0200)]
Fixed regression in OStatus sub from WebFinger/XML_XRD update

XML_XRD::getAll requires arguments (at least relation). If one really
want all links, just get the 'links' array. It's public!

Also, not all XML_XRD_Element_Link were migrated from the previous
array style.

11 years agoFixed regression in latest Avatar fixes
Mikael Nordfeldth [Mon, 30 Sep 2013 20:49:47 +0000 (22:49 +0200)]
Fixed regression in latest Avatar fixes

I thought typing would fix it, but there's a problem earlier in the
execution chain which will be fixed in the future.

11 years agoFix regression from WebFinger update for singleuser sites
Mikael Nordfeldth [Mon, 30 Sep 2013 20:42:20 +0000 (22:42 +0200)]
Fix regression from WebFinger update for singleuser sites

11 years agoAvatar resizing improvements and better code reuse
Mikael Nordfeldth [Mon, 30 Sep 2013 20:13:37 +0000 (22:13 +0200)]
Avatar resizing improvements and better code reuse

* getOriginal added to Avatar class
    This is a static function that retrieves the original avatar in a leaner
    way than Profile->getOriginalAvatar() did (see below).
    This will throw an Exception if there was none to be found.

* getProfileAvatars added to Avatar class
    This gets all Avatars from a profile and returns them in an array.

* newSize added to Avatar class
    This will scale an original avatar or throw an Exception (originally from
    Avatar::getOriginal) if one wasn't found.

* deleteFromProfile added to Avatar class
    Deletes all avatars for a Profile. This makes the code much smarter when
    removing all avatars from a user.
    Previously only specific, hardcoded (through constants) sizes would be
    deleted. If you ever changed lib/framework.php then many oddsized avatars
    would remain with the old method.

* Migrated Profile class to new Avatar::getOriginal support
    Profile class now uses Avatar::getOriginal through its own
    $this->getOriginalAvatar and thus remains backwards compatible.

* Updating stock GNU Social to use Avatar::getOriginal
    All places where core StatusNet code used the
    $profile->getOriginalAvatar, it will now useAvatar::getOriginal with
    proper error handling.

* Updated Profile class to use Avatar::newSize
    When doing setOriginal, the scaling will be done with the new method
    introduced in this merge.
    This also edits the _fillAvatar function to avoid adding NULL values to
    the array (which causes errors when attempting to access array entries as
    objects). See issue #3478 at http://status.net/open-source/issues/3478

11 years agoImplemented WebFinger and replaced our XRD with PEAR XML_XRD
Mikael Nordfeldth [Mon, 30 Sep 2013 15:13:03 +0000 (17:13 +0200)]
Implemented WebFinger and replaced our XRD with PEAR XML_XRD

New plugins:
* LRDD
    LRDD implements client-side RFC6415 and RFC7033 resource descriptor
    discovery procedures. I.e. LRDD, host-meta and WebFinger stuff.

    OStatus and OpenID now depend on the LRDD plugin (XML_XRD).

* WebFinger
    This plugin implements the server-side of RFC6415 and RFC7033. Note:
    WebFinger technically doesn't handle XRD, but we serve both that and
    JRD (JSON Resource Descriptor), depending on Accept header and one
    ugly hack to check for old StatusNet installations.

    WebFinger depends on LRDD.

We might make this even prettier by using Net_WebFinger, but it is not
currently RFC7033 compliant (no /.well-known/webfinger resource GETs).

Disabling the WebFinger plugin would effectively render your site non-
federated (which might be desired on a private site).

Disabling the LRDD plugin would make your site unable to do modern web
URI lookups (making life just a little bit harder).

11 years agoCorrectly distribute notices from remote posters through local groups to remote group...
Joshua Judson Rosen [Sun, 29 Jul 2012 22:17:16 +0000 (18:17 -0400)]
Correctly distribute notices from remote posters through local groups to remote group-members via OStatus.
Allow the OStatus queue-handler to handle all posts,
and give it the smarts required to make correct decisions
about whether it should or shouldn't relay notices
over OStatus.
cf. http://status.net/open-source/issues/3540

Conflicts (staticGet => getKV):

plugins/OStatus/lib/ostatusqueuehandler.php

11 years agoCorrect a logic-inverting typo in handling of replies to group-posts.
Joshua Judson Rosen [Sun, 29 Jul 2012 21:54:48 +0000 (17:54 -0400)]
Correct a logic-inverting typo in handling of replies to group-posts.
The typo causes a tautology, which makes replies to group-posts always (or almost-always) go to the group(s).
cf. http://status.net/open-source/issues/3638

11 years agoAllow the hostmeta to indirect from one domain to another.
Joshua Judson Rosen [Tue, 19 Jun 2012 03:44:02 +0000 (23:44 -0400)]
Allow the hostmeta to indirect from one domain to another.
e.g.: rozzin@hackerposse.com => rozzin@status.hackerposse.com.

11 years agoMake the ForceGroup plugin work consistently for notices from remote users.
Joshua Judson Rosen [Tue, 19 Jun 2012 03:39:47 +0000 (23:39 -0400)]
Make the ForceGroup plugin work consistently for notices from remote users.

11 years agoMake paging work correctly in the user-directory
Joshua Judson Rosen [Tue, 19 Jun 2012 03:21:57 +0000 (23:21 -0400)]
Make paging work correctly in the user-directory
even with the default filter set (i.e.: `all' = `no filter', so intrepret `filter=all' as `no filter').

11 years agoRemove bad common_path() call in context of cssLink().
Joshua Judson Rosen [Sat, 28 Apr 2012 03:58:10 +0000 (23:58 -0400)]
Remove bad common_path() call in context of cssLink().

11 years agoAutocomplete action must exist on user registration
Mikael Nordfeldth [Sun, 29 Sep 2013 13:28:25 +0000 (15:28 +0200)]
Autocomplete action must exist on user registration

No need to restrict the autocomplete suggestion system to logged in users.
It only botched the registration process, because the 'autocomplete' action
had not been connected in the routing system.

11 years agoMaking sure scripts and tests check for GNUSOCIAL defined (instead of STATUSNET)
Mikael Nordfeldth [Sat, 28 Sep 2013 13:20:10 +0000 (15:20 +0200)]
Making sure scripts and tests check for GNUSOCIAL defined (instead of STATUSNET)

Orbited plugin may not work at all anymore, I had no means to try it.
But there's a check whether 'LACONICA' is defined there, which is a
very unlikely thing in the future. So far only tests and scripts have
been migrated consistently, though.

11 years agoUncaught exception when no subscribers/subscriptions in ProfileList
Mikael Nordfeldth [Wed, 25 Sep 2013 22:47:56 +0000 (00:47 +0200)]
Uncaught exception when no subscribers/subscriptions in ProfileList

11 years agomaxNoticeLength test for url-shortening failed on maxContent==0
Mikael Nordfeldth [Wed, 25 Sep 2013 20:48:32 +0000 (22:48 +0200)]
maxNoticeLength test for url-shortening failed on maxContent==0

maxContent==0 implies that a notice text can be infinitely long, but
this value was directly transferred to maxNoticeLength, where 0 was
tested if it was longer than the notice length - which of course always
was false.

This commit fixes the problem for infinite length notices that always
got shortened.

11 years agoUpdated some of the INSTALL documentation
Mikael Nordfeldth [Tue, 24 Sep 2013 10:15:12 +0000 (12:15 +0200)]
Updated some of the INSTALL documentation

Also we now recommend the mysqlnd driver, instead of 'mysql', so no need
to mention deprecation in daemon.php comments.

11 years agoAdded queue daemon notice about disabled forking functions
Mikael Nordfeldth [Tue, 24 Sep 2013 09:37:17 +0000 (11:37 +0200)]
Added queue daemon notice about disabled forking functions

11 years agoFilling in missing endHTML calls for Action AJAX
Mikael Nordfeldth [Tue, 24 Sep 2013 00:32:17 +0000 (02:32 +0200)]
Filling in missing endHTML calls for Action AJAX

This completes 1c6f9df80e7e6927e964fdfdd72fda9b15106ddd where a lot
of other functions were fixed (by conforming to startHTML and endHTML)

11 years agophpseclib extlib updated from phpseclib.sf.net
Mikael Nordfeldth [Tue, 24 Sep 2013 00:09:37 +0000 (02:09 +0200)]
phpseclib extlib updated from phpseclib.sf.net

11 years agoUpdating Janrain OpenID auth library
Mikael Nordfeldth [Mon, 23 Sep 2013 23:49:34 +0000 (01:49 +0200)]
Updating Janrain OpenID auth library

Source: https://github.com/openid/php-openid

11 years agohtmLawed extlib updated
Mikael Nordfeldth [Mon, 23 Sep 2013 23:37:38 +0000 (01:37 +0200)]
htmLawed extlib updated

11 years agoCompleting extra-element-without-text patch from 4015a58d1cfaa257fcf2b01aa6b1c9daa268c997
Mikael Nordfeldth [Mon, 23 Sep 2013 23:26:18 +0000 (01:26 +0200)]
Completing extra-element-without-text patch from 4015a58d1cfaa257fcf2b01aa6b1c9daa268c997

11 years agoPHP5.5 fix: Better use of startXML for Action classes (mostly AJAX)
Mikael Nordfeldth [Mon, 23 Sep 2013 23:17:04 +0000 (01:17 +0200)]
PHP5.5 fix: Better use of startXML for Action classes (mostly AJAX)

I had a problem with PHP5.5 that caused ajax responses to be empty. This
fixes it, as the problem was related to pretty inconsistent calling to
headers, XMLWriter::startDocument etc. etc.

11 years agoArray to string conversion in queuemanager logger
Mikael Nordfeldth [Mon, 23 Sep 2013 22:40:23 +0000 (00:40 +0200)]
Array to string conversion in queuemanager logger

11 years agoSometimes there's no text content, so pad the array (thanks mrvdb)
Mikael Nordfeldth [Mon, 23 Sep 2013 22:12:30 +0000 (00:12 +0200)]
Sometimes there's no text content, so pad the array (thanks mrvdb)

mrvdb used '' rather than null for the padding argument. MMN-o changed that.