]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
9 years agoAvoid invalid width/height (<1) + debug log added
Roland Haeder [Sun, 18 Jan 2015 12:32:28 +0000 (13:32 +0100)]
Avoid invalid width/height (<1) + debug log added

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded a lot debug infos.
Roland Haeder [Sun, 18 Jan 2015 12:25:18 +0000 (13:25 +0100)]
Added a lot debug infos.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded missing method TagSub::getProfile()
Roland Haeder [Sun, 18 Jan 2015 07:20:32 +0000 (08:20 +0100)]
Added missing method TagSub::getProfile()

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded missing SearchSub::getProfile() method.
Roland Haeder [Sun, 18 Jan 2015 07:02:49 +0000 (08:02 +0100)]
Added missing SearchSub::getProfile() method.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years ago$sender cannot be only Profile ... (false found).
Roland Haeder [Sun, 18 Jan 2015 05:57:05 +0000 (06:57 +0100)]
$sender cannot be only Profile ... (false found).

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded fixup script to fix bad profile URLs:
Roland Haeder [Sun, 18 Jan 2015 06:07:00 +0000 (07:07 +0100)]
Added fixup script to fix bad profile URLs:

https://social.mxchange.org/conversation/83342#notice-83342

"I have written a small fixup script that fixes invalid profile URLs: If the
group is a remote group but #profileurl shows to
https://your.instance.tld/group/groupname then the profileurl field must be
fixed. cc !gnusocial I will commit it very soon."

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' of gitorious.org:social/mainline into social-master
Roland Häder [Fri, 16 Jan 2015 11:58:23 +0000 (12:58 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into social-master

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years ago...and don't hide it at all since we don't have a placeholder now
Mikael Nordfeldth [Fri, 16 Jan 2015 11:10:13 +0000 (12:10 +0100)]
...and don't hide it at all since we don't have a placeholder now

9 years agoDon't close main notice input on init if composing
Mikael Nordfeldth [Fri, 16 Jan 2015 11:00:45 +0000 (12:00 +0100)]
Don't close main notice input on init if composing

9 years agoMerge branch 'master' of gitorious.org:social/mainline into social-master
Roland Häder [Fri, 16 Jan 2015 10:54:27 +0000 (11:54 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into social-master

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoInitially hide input forms on the top
Mikael Nordfeldth [Fri, 16 Jan 2015 10:19:22 +0000 (11:19 +0100)]
Initially hide input forms on the top

The status input element would attract focus after page load, meaning
if you'd scrolled down a bit then you would be rocketed back up again!

9 years agoMerge branch 'master' of gitorious.org:social/mainline into social-master
Roland Häder [Fri, 16 Jan 2015 09:56:00 +0000 (10:56 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into social-master

Conflicts:
actions/atompubmembershipfeed.php
actions/atompubshowmembership.php
actions/atompubsubscriptionfeed.php
plugins/OStatus/actions/peopletagsalmon.php
plugins/OStatus/classes/Ostatus_profile.php
plugins/OStatus/lib/salmonaction.php
scripts/stopdaemons.sh

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoversion push, we've got some HTML/CSS changes
Mikael Nordfeldth [Fri, 16 Jan 2015 00:12:19 +0000 (01:12 +0100)]
version push, we've got some HTML/CSS changes

9 years agoAdd nohub config setting to allowed non-PuSH feeds
Mikael Nordfeldth [Fri, 16 Jan 2015 00:10:55 +0000 (01:10 +0100)]
Add nohub config setting to allowed non-PuSH feeds

9 years agoremoved debugging lines for FeedPoller
Mikael Nordfeldth [Thu, 15 Jan 2015 20:14:07 +0000 (21:14 +0100)]
removed debugging lines for FeedPoller

9 years agoRSS feed items did not get a type assigned
Mikael Nordfeldth [Thu, 15 Jan 2015 20:13:21 +0000 (21:13 +0100)]
RSS feed items did not get a type assigned

9 years agoFeedPoller plugin, for hubless feeds
Mikael Nordfeldth [Wed, 14 Jan 2015 00:16:28 +0000 (01:16 +0100)]
FeedPoller plugin, for hubless feeds

9 years agoEnsuring unknown profiles in salmon slaps work again
Mikael Nordfeldth [Tue, 13 Jan 2015 12:43:18 +0000 (13:43 +0100)]
Ensuring unknown profiles in salmon slaps work again

9 years agoBetter test to see if uploaded media exists
Mikael Nordfeldth [Tue, 13 Jan 2015 12:22:23 +0000 (13:22 +0100)]
Better test to see if uploaded media exists

9 years agoAbort on failure instead of return early success
Mikael Nordfeldth [Tue, 13 Jan 2015 12:18:57 +0000 (13:18 +0100)]
Abort on failure instead of return early success

9 years agoThose variables were set for a reason
Mikael Nordfeldth [Tue, 13 Jan 2015 11:56:56 +0000 (12:56 +0100)]
Those variables were set for a reason

The ->_subscription variable etc. were set because they were used later.

9 years agogetUrl() fixed for File and File_thumbnail to correct http/https stuff and other
Mikael Nordfeldth [Mon, 12 Jan 2015 18:22:10 +0000 (19:22 +0100)]
getUrl() fixed for File and File_thumbnail to correct http/https stuff and other

9 years agoWhen called in offline queue, File::url was HTTP
Mikael Nordfeldth [Mon, 12 Jan 2015 17:56:19 +0000 (18:56 +0100)]
When called in offline queue, File::url was HTTP

Despite having the site configured "always" for HTTPS, File generated
thumbnails and such with HTTP urls.

9 years agonewnotice action always returns the notice's URL
Mikael Nordfeldth [Mon, 12 Jan 2015 11:13:34 +0000 (12:13 +0100)]
newnotice action always returns the notice's URL

Maybe could return conversation URL, but this will do for now.
Courtesy of the Javascript haters.

9 years agoMake sure we add ajax=1 to inputform if using javascript
Mikael Nordfeldth [Mon, 12 Jan 2015 11:13:03 +0000 (12:13 +0100)]
Make sure we add ajax=1 to inputform if using javascript

9 years agoArrayWrapper spookiness, must make sure it's a Notice there...
Mikael Nordfeldth [Mon, 12 Jan 2015 11:06:19 +0000 (12:06 +0100)]
ArrayWrapper spookiness, must make sure it's a Notice there...

9 years agoensureActivityObjectProfile is more thorough than createAct...
Mikael Nordfeldth [Mon, 12 Jan 2015 10:47:21 +0000 (11:47 +0100)]
ensureActivityObjectProfile is more thorough than createAct...

9 years agoSimplified by adding an abstract AtompubAction
Mikael Nordfeldth [Mon, 12 Jan 2015 02:15:41 +0000 (03:15 +0100)]
Simplified by adding an abstract AtompubAction

9 years agoThe real [Start|End]NewAtomPubActivity event definition
Mikael Nordfeldth [Mon, 12 Jan 2015 01:28:03 +0000 (02:28 +0100)]
The real [Start|End]NewAtomPubActivity event definition

9 years agoFound some unreachable code in Favorite
Mikael Nordfeldth [Mon, 12 Jan 2015 01:23:23 +0000 (02:23 +0100)]
Found some unreachable code in Favorite

The portion after StartAtomPubNewActivity would never be reached since
Favorite handles that activity through ActivityHandlerPlugin nowadays.
So I cleaned it up and followed a couple of paths, making stuff prettier.

9 years agoensureProfile already done and stored in $this->oprofile
Mikael Nordfeldth [Mon, 12 Jan 2015 01:01:26 +0000 (02:01 +0100)]
ensureProfile already done and stored in $this->oprofile

9 years agoSupport for updated aliases
Mikael Nordfeldth [Sat, 10 Jan 2015 01:07:39 +0000 (02:07 +0100)]
Support for updated aliases

will verify unknown aliases against old ones if the new identifies as a
previously recognized URI.

Steps:
1. Check the newly received URI. Who does it say it is?
2. Compare these alleged identities to our local database.
3. If we found any locally stored identities, ask it about its aliases.
4. Do any of the aliases from our known identity match the recently introduced one?

Currently we do _not_ update the ostatus_profile table with the new URI.

9 years agoabstract declaration of GroupSection
Mikael Nordfeldth [Sat, 10 Jan 2015 00:46:54 +0000 (01:46 +0100)]
abstract declaration of GroupSection

9 years agosection control over their notice lists + HTML id stuff
Mikael Nordfeldth [Fri, 9 Jan 2015 14:46:35 +0000 (15:46 +0100)]
section control over their notice lists + HTML id stuff

9 years agoMerge branch 'master' into social-master
Roland Häder [Fri, 9 Jan 2015 08:13:14 +0000 (09:13 +0100)]
Merge branch 'master' into social-master

Conflicts:
lib/menu.php
plugins/AccountManager/AccountManagerPlugin.php
plugins/ActivitySpam/ActivitySpamPlugin.php
plugins/BitlyUrl/BitlyUrlPlugin.php
plugins/Blacklist/BlacklistPlugin.php
plugins/Blog/BlogPlugin.php
plugins/Bookmark/BookmarkPlugin.php
plugins/Directory/DirectoryPlugin.php
plugins/Event/EventPlugin.php
plugins/FacebookBridge/FacebookBridgePlugin.php
plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php
plugins/OStatus/OStatusPlugin.php
plugins/Poll/PollPlugin.php
plugins/QnA/QnAPlugin.php
plugins/Realtime/RealtimePlugin.php
plugins/Sample/SamplePlugin.php
plugins/SearchSub/SearchSubPlugin.php
plugins/Sitemap/SitemapPlugin.php
plugins/SlicedFavorites/SlicedFavoritesPlugin.php
plugins/SubMirror/SubMirrorPlugin.php
plugins/TagSub/TagSubPlugin.php
plugins/TwitterBridge/TwitterBridgePlugin.php
plugins/UserFlag/UserFlagPlugin.php
plugins/YammerImport/YammerImportPlugin.php

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoMaybe this message will be needed some day ...
Roland Häder [Fri, 9 Jan 2015 08:08:55 +0000 (09:08 +0100)]
Maybe this message will be needed some day ...

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoIn multiple catch blocks you can always specify the same variable in each block
Roland Häder [Fri, 9 Jan 2015 08:01:54 +0000 (09:01 +0100)]
In multiple catch blocks you can always specify the same variable in each block
as it will be reinitialized in the next block.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoMerge remote-tracking branch 'upstream/master'
Roland Häder [Fri, 9 Jan 2015 07:55:34 +0000 (08:55 +0100)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
plugins/Poll/lib/polllistitem.php

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agostyling fixes to primary aside section
Mikael Nordfeldth [Thu, 8 Jan 2015 19:38:11 +0000 (20:38 +0100)]
styling fixes to primary aside section

9 years agoActually use the PrimaryNoticeList in actions
Mikael Nordfeldth [Thu, 8 Jan 2015 19:29:09 +0000 (20:29 +0100)]
Actually use the PrimaryNoticeList in actions

9 years agonew noticelist classes for primary and section lists
Mikael Nordfeldth [Thu, 8 Jan 2015 19:19:43 +0000 (20:19 +0100)]
new noticelist classes for primary and section lists

9 years agoReuse NoticeList for NoticeSection listing
Mikael Nordfeldth [Thu, 8 Jan 2015 19:07:10 +0000 (20:07 +0100)]
Reuse NoticeList for NoticeSection listing

Something smarter than the 'addressees' and 'attachments' booleans etc.
is desired.

9 years agoCC license fixes (no remote image, https for href)
Mikael Nordfeldth [Thu, 8 Jan 2015 17:13:33 +0000 (18:13 +0100)]
CC license fixes (no remote image, https for href)

9 years agostatus update placeholder removed, javascript not required to post
Mikael Nordfeldth [Thu, 8 Jan 2015 17:04:46 +0000 (18:04 +0100)]
status update placeholder removed, javascript not required to post

9 years agoDon't show notice form navs on newnotice action
Mikael Nordfeldth [Thu, 8 Jan 2015 16:33:09 +0000 (17:33 +0100)]
Don't show notice form navs on newnotice action

9 years agoMerge commit 'refs/merge-requests/28' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Thu, 8 Jan 2015 15:48:42 +0000 (16:48 +0100)]
Merge commit 'refs/merge-requests/28' of https://gitorious.org/social/mainline into merge-requests/28

9 years agoHTML5 + CSS adaptions, may cause visual breaks
Mikael Nordfeldth [Thu, 8 Jan 2015 15:42:26 +0000 (16:42 +0100)]
HTML5 + CSS adaptions, may cause visual breaks

9 years agoOStatusPlugin: fix ensureProfile catch-22 in onCheckActivityAuthorship()
Joshua Judson Rosen [Wed, 31 Dec 2014 04:56:33 +0000 (23:56 -0500)]
OStatusPlugin: fix ensureProfile catch-22 in onCheckActivityAuthorship()

Use profile URL (not URI), like elsewhere.

Profile::getUri() doesn't actually do anything useful, here--
it does nothing unless a plugin (like OStatus) is already
able to resolve the Profile into a backend object (e.g.: an Ostatus_profile).

If we might not already have an Ostatus_profile for a given Profile,
then we need to use $profile->getUrl() and fetch the data from that URL.

9 years agoDocumentation updates
Mikael Nordfeldth [Wed, 10 Dec 2014 20:26:23 +0000 (21:26 +0100)]
Documentation updates

Apparently we had two installation instructions, one of which were incomplete.

9 years agoUsage documentation in the stopdaemons script
Mikael Nordfeldth [Wed, 10 Dec 2014 20:17:57 +0000 (21:17 +0100)]
Usage documentation in the stopdaemons script

9 years agoMerge commit 'refs/merge-requests/25' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Wed, 10 Dec 2014 11:42:19 +0000 (12:42 +0100)]
Merge commit 'refs/merge-requests/25' of https://gitorious.org/social/mainline into merge-requests/25

9 years agoColumns too narrow in mobileprofile
Mikael Nordfeldth [Wed, 10 Dec 2014 11:28:38 +0000 (12:28 +0100)]
Columns too narrow in mobileprofile

9 years agoMerge commit 'refs/merge-requests/26' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Tue, 9 Dec 2014 12:45:15 +0000 (13:45 +0100)]
Merge commit 'refs/merge-requests/26' of https://gitorious.org/social/mainline into merge-requests/26

9 years agoMerge commit 'refs/merge-requests/27' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Tue, 9 Dec 2014 12:30:47 +0000 (13:30 +0100)]
Merge commit 'refs/merge-requests/27' of https://gitorious.org/social/mainline into merge-requests/27

9 years agoConsistently root autostitched conversations at the oldest notice.
Joshua Judson Rosen [Tue, 9 Dec 2014 03:39:36 +0000 (22:39 -0500)]
Consistently root autostitched conversations at the oldest notice.

9 years agoOStatus/scripts/update-profile-data.php: print updated fullnames
Joshua Judson Rosen [Tue, 9 Dec 2014 03:06:29 +0000 (22:06 -0500)]
OStatus/scripts/update-profile-data.php: print updated fullnames

Now that we can actually update them again.

9 years agoParse remote users' fullnames from PoCo::displayName elements
Joshua Judson Rosen [Tue, 9 Dec 2014 02:55:51 +0000 (21:55 -0500)]
Parse remote users' fullnames from PoCo::displayName elements

Try this first; use activity:subject->atom:title only as a fallback.

The code that output activity:subject was removed 2013-10-08,
and it it was deprecated for years before that....

9 years agoStronger typing in Ostatus_profile
Mikael Nordfeldth [Mon, 8 Dec 2014 18:52:00 +0000 (19:52 +0100)]
Stronger typing in Ostatus_profile

9 years agostopdaemons.sh: pass site-specifier args through to getvaliddaemons.php
Joshua Judson Rosen [Sat, 6 Dec 2014 23:54:15 +0000 (18:54 -0500)]
stopdaemons.sh: pass site-specifier args through to getvaliddaemons.php

9 years agoMerge commit 'refs/merge-requests/19' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Sat, 6 Dec 2014 19:18:52 +0000 (20:18 +0100)]
Merge commit 'refs/merge-requests/19' of https://gitorious.org/social/mainline into merge-requests/19

9 years agoMerge commit 'refs/merge-requests/23' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Sat, 6 Dec 2014 19:12:17 +0000 (20:12 +0100)]
Merge commit 'refs/merge-requests/23' of https://gitorious.org/social/mainline into merge-requests/23

9 years agoAvoid undefined variables.
Mikael Nordfeldth [Sat, 6 Dec 2014 18:56:21 +0000 (19:56 +0100)]
Avoid undefined variables.

9 years agoRevert "Report a 404 not found if no posts found for User timeline"
Mikael Nordfeldth [Thu, 4 Dec 2014 18:45:27 +0000 (19:45 +0100)]
Revert "Report a 404 not found if no posts found for User timeline"

This reverts commit 5295e8d4de9c20ee06c3219669f5824c492478f9.

Just reply with an empty timeline...

9 years agoUse HTTPS links for Google and Yahoo!
Joshua Judson Rosen [Thu, 4 Dec 2014 03:55:34 +0000 (22:55 -0500)]
Use HTTPS links for Google and Yahoo!
They both support it--so why not?

9 years agoAdd Ixquick as a fallback search link
Joshua Judson Rosen [Thu, 4 Dec 2014 03:54:27 +0000 (22:54 -0500)]
Add Ixquick as a fallback search link

People like that one, too.

9 years agoAdd DuckDuckGo as a fallback search link
Joshua Judson Rosen [Thu, 4 Dec 2014 03:48:28 +0000 (22:48 -0500)]
Add DuckDuckGo as a fallback search link

People like it.

9 years agoCorrectly spell "Yahoo!"
Joshua Judson Rosen [Thu, 4 Dec 2014 03:46:50 +0000 (22:46 -0500)]
Correctly spell "Yahoo!"

With the trailing bang(!).

9 years agoSearchAction: don't list dead web search-engines
Joshua Judson Rosen [Thu, 4 Dec 2014 03:44:54 +0000 (22:44 -0500)]
SearchAction: don't list dead web search-engines

tweetscan.com is a parked domain.

http://www.twingly.com/search?content=microblog says:
"Microblog search has been removed. Use https://twitter.com/search-home".

http://collecta.com/ says "We have removed our consumer facing site".

9 years agodelete groups from groups directory, for admins
Hannes Mannerheim [Fri, 7 Nov 2014 14:44:22 +0000 (15:44 +0100)]
delete groups from groups directory, for admins

9 years agoMerge aqeeliz's commit 'refs/merge-requests/20' of git://gitorious.org/social/mainlin...
Mikael Nordfeldth [Tue, 2 Dec 2014 13:53:33 +0000 (14:53 +0100)]
Merge aqeeliz's commit 'refs/merge-requests/20' of git://gitorious.org/social/mainline into merge-requests/20

9 years agocommon_path(): use HTTPS if current URL is HTTPS
Joshua Judson Rosen [Sat, 29 Nov 2014 05:30:11 +0000 (00:30 -0500)]
common_path(): use HTTPS if current URL is HTTPS

Bring common_path() back into harmony with common_local_url(),
which started doing this 2013-03-25.

Shouldn't need to spread "StatusNet::isHTTPS()" logic all over
wherever common_path() is called; just DTRT automatically instead.

9 years agodebug output was referencing wrong variable
Mikael Nordfeldth [Mon, 1 Dec 2014 18:19:16 +0000 (19:19 +0100)]
debug output was referencing wrong variable

9 years agoConversation URIs could be NULL on upgrade
Mikael Nordfeldth [Thu, 27 Nov 2014 17:56:57 +0000 (18:56 +0100)]
Conversation URIs could be NULL on upgrade

9 years agoVersion bump to 1.1.3 since conversation tracking
Mikael Nordfeldth [Thu, 27 Nov 2014 16:12:36 +0000 (17:12 +0100)]
Version bump to 1.1.3 since conversation tracking

9 years agoAdding crc32 to uniqueify conversation URIs
Mikael Nordfeldth [Thu, 27 Nov 2014 16:05:01 +0000 (17:05 +0100)]
Adding crc32 to uniqueify conversation URIs

This really should be a UUID or something else totally unexpected
but I figure that crc32 is good enough for now. The reason we keep
the main structure is because some third party scripts have begun
relying upon the tag URI format to parse out domain name, type etc.

9 years agofetch conversation URI in processPost, not processShare
Mikael Nordfeldth [Thu, 27 Nov 2014 15:51:21 +0000 (16:51 +0100)]
fetch conversation URI in processPost, not processShare

9 years agoscripts/upgrade.php would fail if Profile_prefs did not exist
Mikael Nordfeldth [Thu, 27 Nov 2014 13:46:10 +0000 (14:46 +0100)]
scripts/upgrade.php would fail if Profile_prefs did not exist

A checkschema.php run would've done it, but that would require an
additional step to our upgrade procedure.

9 years agoIf a Notice insert fails, don't continue processing it
Mikael Nordfeldth [Thu, 27 Nov 2014 13:29:50 +0000 (14:29 +0100)]
If a Notice insert fails, don't continue processing it

9 years agoMove Conversation creation out of insert() to allow URI setting
Mikael Nordfeldth [Thu, 27 Nov 2014 13:27:41 +0000 (14:27 +0100)]
Move Conversation creation out of insert() to allow URI setting

This means we import the URI string from remote instances to track their
conversations and are able to stitch together replies in a single thread.

We might have to try to avoid collisions so noone remotely can predict
conversation URIs which we generate on our server, causing a DoS kind of
problem.

9 years agoConversation URI cannot be null
Mikael Nordfeldth [Thu, 27 Nov 2014 13:15:42 +0000 (14:15 +0100)]
Conversation URI cannot be null

9 years agoUse remote conversation URI info to stitch convos together
Mikael Nordfeldth [Thu, 27 Nov 2014 13:06:10 +0000 (14:06 +0100)]
Use remote conversation URI info to stitch convos together

If we know the URI sent from the remote party, and we don't know the
notice it is replying to, we might still be able to put it in the same
conversation thread!

9 years agoostatus:conversation element instead of link rel=""
Mikael Nordfeldth [Thu, 27 Nov 2014 12:39:38 +0000 (13:39 +0100)]
ostatus:conversation element instead of link rel=""

Mainly because the atom:link element requires a "web resource" but we
wish to supply a URI which might not be HTTP. We'll leave the old
atom:link element however since it's in the OStatus 1.0 Draft2 docs
and nothing newer has been released yet.

9 years agoNamespaced elements now available in xmloutputter
Mikael Nordfeldth [Thu, 27 Nov 2014 12:36:29 +0000 (13:36 +0100)]
Namespaced elements now available in xmloutputter

9 years agoFix T60 Avatar upload text is squished
Aqeel Zafar [Thu, 27 Nov 2014 07:11:02 +0000 (12:11 +0500)]
Fix T60 Avatar upload text is squished

9 years agosendemailsummary.php: correct path to INSTALLDIR
Joshua Judson Rosen [Tue, 25 Nov 2014 01:28:31 +0000 (20:28 -0500)]
sendemailsummary.php: correct path to INSTALLDIR

So that we can actually find commandline.inc.

This should have been updated when the files in the EmailSummary tree
where moved down a level into subdirectories.

9 years agoTry to lookup the profile if we don't know it yet
Mikael Nordfeldth [Mon, 24 Nov 2014 22:50:42 +0000 (23:50 +0100)]
Try to lookup the profile if we don't know it yet

9 years agoOstatus_profile->checkAuthorship returns Profile
Mikael Nordfeldth [Mon, 24 Nov 2014 22:40:06 +0000 (23:40 +0100)]
Ostatus_profile->checkAuthorship returns Profile

not Ostatus_profile

9 years agoBad parameter count for checkAuthorship
Mikael Nordfeldth [Mon, 24 Nov 2014 11:49:20 +0000 (12:49 +0100)]
Bad parameter count for checkAuthorship

At the same time we change this to call ActivityUtils::checkAuthorship
instead to let the retrieval/verification go through event handling.

rozzin (Joshua Judson Rosen) found this error. Thanks.

9 years agoFix OStatus groups by making Ostatus_profile::localProfile() work for groups
Joshua Judson Rosen [Sun, 23 Nov 2014 22:42:12 +0000 (17:42 -0500)]
Fix OStatus groups by making Ostatus_profile::localProfile() work for groups

We need to look up a feed profile for HandleFeedEntryWithProfile events,
regardless of whether they're an OStatus user, group, or something else;
this is the least hairy way of doing that--the alternative being
to keep spreading the same logic all over the calling code.

Theoretically, this change might allow OStatusGroups to be recorded
as the authors of activities if they pass through any authorless
activities; but that's why we have checkAuthorship().

9 years agoOstatus_profile::checkAuthorship(): throw ServerException when bogus non-authorship...
Joshua Judson Rosen [Sun, 23 Nov 2014 23:02:20 +0000 (18:02 -0500)]
Ostatus_profile::checkAuthorship(): throw ServerException when bogus non-authorship is detected

Similarly to what ActivityUtils::checkAuthorship does; try to ensure
that activities from ambiguous OStatus feeds (groups and peopletags)
that require explicit authorship don't get in without explicit authors.

9 years agoUserEmailSummaryHandler: use $notice->getLocalUrl(), not getUrl()
Joshua Judson Rosen [Mon, 24 Nov 2014 04:05:13 +0000 (23:05 -0500)]
UserEmailSummaryHandler: use $notice->getLocalUrl(), not getUrl()

getUrl() doesn't work on all notices anymore.

9 years agoUserEmailSummaryHandler: Update notice-fetching logic
Joshua Judson Rosen [Mon, 24 Nov 2014 04:03:14 +0000 (23:03 -0500)]
UserEmailSummaryHandler: Update notice-fetching logic

InboxNoticeStream::getNotices() no longer returns an ArrayWrapper;
just fetch notices normally via $notice->fetch(), so that
we can actually get the top notice-ID and update email_summary_status
accordingly--and not mail about the same notices repeatedly.

9 years agoUserEmailSummaryHandler: correct instantiation of InboxNoticeStream
Joshua Judson Rosen [Mon, 24 Nov 2014 03:58:05 +0000 (22:58 -0500)]
UserEmailSummaryHandler: correct instantiation of InboxNoticeStream

It only takes a single Profile argument....

9 years agoQueueManager: don't assume all non-XML strings are JSON
Joshua Judson Rosen [Mon, 24 Nov 2014 04:24:16 +0000 (23:24 -0500)]
QueueManager: don't assume all non-XML strings are JSON

Some of the standard plugins queue simple, unstructured numbers--
e.g.: EmailSummary and OfflineBackup both queue user-IDs.

9 years agoReport a 404 not found if no posts found for User timeline
Mikael Nordfeldth [Sat, 22 Nov 2014 11:29:13 +0000 (12:29 +0100)]
Report a 404 not found if no posts found for User timeline

9 years agoDon't define a variable in a function call
Mikael Nordfeldth [Sat, 22 Nov 2014 11:26:51 +0000 (12:26 +0100)]
Don't define a variable in a function call

9 years agoopenssl is a required extension (OAuth and OStatus)
Mikael Nordfeldth [Wed, 19 Nov 2014 13:53:51 +0000 (14:53 +0100)]
openssl is a required extension (OAuth and OStatus)

9 years agoUpdated prerequisite list for PHP5.4
Mikael Nordfeldth [Wed, 19 Nov 2014 13:25:25 +0000 (14:25 +0100)]
Updated prerequisite list for PHP5.4

Also added distribution specific notes.

The "XMLWriter" PECL extension is included by default since PHP 5.1.2

9 years agonormalizing acct: URI just to be sure
Mikael Nordfeldth [Sun, 16 Nov 2014 17:29:05 +0000 (18:29 +0100)]
normalizing acct: URI just to be sure

9 years agoPresent WWW-Authenticate on failure to authenticate
Mikael Nordfeldth [Mon, 10 Nov 2014 11:17:39 +0000 (12:17 +0100)]
Present WWW-Authenticate on failure to authenticate