]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
10 years agoAutocomplete: don't match non-subscribed group-names.
Joshua Judson Rosen [Wed, 30 Apr 2014 03:35:46 +0000 (23:35 -0400)]
Autocomplete: don't match non-subscribed group-names.

There's no point, since we can't post/link to them anyway.

10 years agoConversations now have URIs that are not URLs
Mikael Nordfeldth [Thu, 1 May 2014 13:47:51 +0000 (15:47 +0200)]
Conversations now have URIs that are not URLs

10 years agogetConversationUrl introduced for linking to conversations
Mikael Nordfeldth [Thu, 1 May 2014 13:25:19 +0000 (15:25 +0200)]
getConversationUrl introduced for linking to conversations

10 years agoLink notice posted time to local representation
Mikael Nordfeldth [Thu, 1 May 2014 12:28:18 +0000 (14:28 +0200)]
Link notice posted time to local representation

Notice class got a 'getLocalUrl' function.

10 years agoInstaller database adjustments
Mikael Nordfeldth [Thu, 1 May 2014 00:47:56 +0000 (02:47 +0200)]
Installer database adjustments

We can't say we officially support PostgreSQL, unfortunately. There
are too many database calls with MySQL specific syntax. This would be
desirable for a 2.0 release, but too much work while maintaining 1.x.

The main difficulty is that we're using PEAR::DB which is aging. If
that's exchanged, maybe we could use PDO or something.

10 years agoWe're not interested in Disqus support.
Mikael Nordfeldth [Thu, 1 May 2014 00:15:10 +0000 (02:15 +0200)]
We're not interested in Disqus support.

10 years agoNotice URIs are not necessarily URLs.
Mikael Nordfeldth [Wed, 30 Apr 2014 18:44:23 +0000 (20:44 +0200)]
Notice URIs are not necessarily URLs.

Let's use getUrl() for URL retrieval. May throw exceptions, but
only if it's a Notice that cannot be linked like that anyway.

10 years agowtf is Echo? bah, let's get rid of this crap
Mikael Nordfeldth [Wed, 30 Apr 2014 18:35:06 +0000 (20:35 +0200)]
wtf is Echo? bah, let's get rid of this crap

10 years agoFix Direct Message functionality.
Mikael Nordfeldth [Tue, 29 Apr 2014 18:37:58 +0000 (20:37 +0200)]
Fix Direct Message functionality.

10 years agos/bestUrl/getUrl/ for notices and microapp objects
Mikael Nordfeldth [Tue, 29 Apr 2014 17:46:58 +0000 (19:46 +0200)]
s/bestUrl/getUrl/ for notices and microapp objects

10 years agoVideoThumbnails failure detection improved.
Mikael Nordfeldth [Tue, 29 Apr 2014 17:45:42 +0000 (19:45 +0200)]
VideoThumbnails failure detection improved.

10 years agoHandle File thumbnail errors better
Mikael Nordfeldth [Mon, 28 Apr 2014 18:26:32 +0000 (20:26 +0200)]
Handle File thumbnail errors better

10 years agoInlineAttachmentList had unnecessary function
Mikael Nordfeldth [Mon, 28 Apr 2014 18:12:00 +0000 (20:12 +0200)]
InlineAttachmentList had unnecessary function

10 years agoMinifying javascripts is evil. Let's not do it.
Mikael Nordfeldth [Mon, 28 Apr 2014 16:56:45 +0000 (18:56 +0200)]
Minifying javascripts is evil. Let's not do it.

The microformats stuff was unused

10 years agoDatetime representation aligned for microformats2
Mikael Nordfeldth [Mon, 28 Apr 2014 15:45:21 +0000 (17:45 +0200)]
Datetime representation aligned for microformats2

Read more at http://microformats.org/

Also, tooltip text on time representation for humans has been improved.
Unfortunately no standardised representation (like "RFC850") had 4-digit years.

10 years agoCode cleanup and enabling User object's etc. getUri()
Mikael Nordfeldth [Mon, 28 Apr 2014 12:08:42 +0000 (14:08 +0200)]
Code cleanup and enabling User object's etc. getUri()

10 years agogetUrl replaces deprecated bestUrl (more to come)
Mikael Nordfeldth [Mon, 28 Apr 2014 12:04:54 +0000 (14:04 +0200)]
getUrl replaces deprecated bestUrl (more to come)

10 years agoEmailAuthentication enabled by default
Mikael Nordfeldth [Mon, 28 Apr 2014 10:38:30 +0000 (12:38 +0200)]
EmailAuthentication enabled by default

The login field said "Username or email address" already, so...

10 years agoBetter fallback on UnsupportedMediaException
Mikael Nordfeldth [Mon, 28 Apr 2014 10:12:06 +0000 (12:12 +0200)]
Better fallback on UnsupportedMediaException

10 years agoFile width and height is now properly set for File
Mikael Nordfeldth [Tue, 22 Apr 2014 10:09:24 +0000 (12:09 +0200)]
File width and height is now properly set for File

10 years agoBe more precise in return array from image scaling
Mikael Nordfeldth [Mon, 21 Apr 2014 20:31:13 +0000 (22:31 +0200)]
Be more precise in return array from image scaling

10 years agoRedirect from Attachment_thumbnailAction
Mikael Nordfeldth [Mon, 21 Apr 2014 19:19:45 +0000 (21:19 +0200)]
Redirect from Attachment_thumbnailAction

Noone should trust an <img/> tag delivered like that anyway.

10 years agoDynamically generate thumbnails (see full text)
Mikael Nordfeldth [Mon, 21 Apr 2014 18:39:28 +0000 (20:39 +0200)]
Dynamically generate thumbnails (see full text)

The File object now stores width and height of files that can
supply this kind of information. Formats which we can not read
natively in PHP do not currently benefit from this. However an
event hook will be introduced later.

The CreateFileImageThumbnail event is renamed to:
CreateFileImageThumbnailSource to clarify that the hooks should not
generate their own thumbnails but only the source image. Also it now
accepts File objects, not MediaFile objects.

The thumbnail generation is documented in the source code. For
developers, call 'getThumbnail' on a File object and hope for the best.

Default thumbnail sizes have increased to be more appealing.

10 years agouse intval() instead of floor() for int return type
Mikael Nordfeldth [Mon, 21 Apr 2014 17:32:08 +0000 (19:32 +0200)]
use intval() instead of floor() for int return type

10 years agoAction->int(...) never replied with integers
Mikael Nordfeldth [Mon, 21 Apr 2014 12:31:18 +0000 (14:31 +0200)]
Action->int(...) never replied with integers

10 years agoBetter event name (creating thumbnail _source_)
Mikael Nordfeldth [Mon, 21 Apr 2014 10:33:41 +0000 (12:33 +0200)]
Better event name (creating thumbnail _source_)

10 years agoPreparing File for dynamic thumbnail generation.
Mikael Nordfeldth [Mon, 21 Apr 2014 09:35:42 +0000 (11:35 +0200)]
Preparing File for dynamic thumbnail generation.

10 years agoFile_oembed::saveNew are File::saveNew are static
Mikael Nordfeldth [Sun, 20 Apr 2014 14:06:41 +0000 (16:06 +0200)]
File_oembed::saveNew are File::saveNew are static

Also did some non-backwards-compatible (to StatusNet) code cleanup.

10 years agodeprecate Notice::bestUrl() in favor of getUrl()
Mikael Nordfeldth [Sat, 19 Apr 2014 20:24:40 +0000 (22:24 +0200)]
deprecate Notice::bestUrl() in favor of getUrl()

10 years agoMissing semi colon in showNotice class.
Mikael Nordfeldth [Sat, 19 Apr 2014 20:20:45 +0000 (22:20 +0200)]
Missing semi colon in showNotice class.

10 years agoOStatus onStartNoticeSourceLink to use exceptions
Mikael Nordfeldth [Sat, 19 Apr 2014 20:18:36 +0000 (22:18 +0200)]
OStatus onStartNoticeSourceLink to use exceptions

10 years agoImprove ShownoticeAction remote redirect code
Mikael Nordfeldth [Sat, 19 Apr 2014 20:13:48 +0000 (22:13 +0200)]
Improve ShownoticeAction remote redirect code

10 years agoUse getUrl() instead of ->url in OembedAction
Mikael Nordfeldth [Sat, 19 Apr 2014 20:05:44 +0000 (22:05 +0200)]
Use getUrl() instead of ->url in OembedAction

10 years agoFixes to URI/URL handling for notices
Mikael Nordfeldth [Fri, 18 Apr 2014 21:53:16 +0000 (23:53 +0200)]
Fixes to URI/URL handling for notices

10 years agoNo need for common_notice_uri anymore
Mikael Nordfeldth [Fri, 18 Apr 2014 21:36:07 +0000 (23:36 +0200)]
No need for common_notice_uri anymore

10 years agoHandle missing URIs and URLs better
Mikael Nordfeldth [Fri, 18 Apr 2014 21:36:01 +0000 (23:36 +0200)]
Handle missing URIs and URLs better

10 years agoAvoid double colon on Notice URI generation
Mikael Nordfeldth [Fri, 18 Apr 2014 21:17:34 +0000 (23:17 +0200)]
Avoid double colon on Notice URI generation

10 years agoThrow exception when we can't get the url for a notice
Mikael Nordfeldth [Fri, 18 Apr 2014 21:17:15 +0000 (23:17 +0200)]
Throw exception when we can't get the url for a notice

10 years agoFile_thumbnail lacked getUrl function
Mikael Nordfeldth [Fri, 18 Apr 2014 21:06:28 +0000 (23:06 +0200)]
File_thumbnail lacked getUrl function

The only reason it worked was because DB fetches calls to get$varname if
the dataobject has a variable with the specific name. However, it started
blurting out errors that the case must be correct (which would require
'geturl' to be the function name).

Since we probably want to replace DB sometime, we'll just override this
auto-fetching mechanism and use more explicitly defined functions.

10 years agoSet new notice uri to something that's not a URL
Mikael Nordfeldth [Fri, 18 Apr 2014 20:42:01 +0000 (22:42 +0200)]
Set new notice uri to something that's not a URL

10 years agoWe get profiles directly, there's no user object anymore
Mikael Nordfeldth [Fri, 18 Apr 2014 20:18:11 +0000 (22:18 +0200)]
We get profiles directly, there's no user object anymore

10 years agoThumbnails are not faded anymore (CSS opacity)
Mikael Nordfeldth [Fri, 18 Apr 2014 09:10:59 +0000 (11:10 +0200)]
Thumbnails are not faded anymore (CSS opacity)

10 years agoThumbnails are now by default squares of 150px
Mikael Nordfeldth [Fri, 18 Apr 2014 09:07:59 +0000 (11:07 +0200)]
Thumbnails are now by default squares of 150px

10 years agoEnable square thumbnailing
Mikael Nordfeldth [Fri, 18 Apr 2014 09:07:45 +0000 (11:07 +0200)]
Enable square thumbnailing

10 years agoThumbnail default set to 150px square
Mikael Nordfeldth [Thu, 17 Apr 2014 13:15:12 +0000 (15:15 +0200)]
Thumbnail default set to 150px square

10 years agoOriginal name preserved in uploaded file.
Mikael Nordfeldth [Wed, 16 Apr 2014 21:17:27 +0000 (23:17 +0200)]
Original name preserved in uploaded file.

Avoiding collisions with date (shorter than before) and 4 character
random alphanumeric string. I bet someone could mass-upload files
and generate all combinations of aaaa-zzzz during the course of a
day, but then maybe that user should be disabled anyway :)
(filling the collision space will cause a never-ending loop).

10 years agoBetter plugin description for VideoThumbnails
Mikael Nordfeldth [Wed, 16 Apr 2014 20:12:15 +0000 (22:12 +0200)]
Better plugin description for VideoThumbnails

10 years agoMediaFile thumbnail event hooks + VideoThumbnails plugin
Mikael Nordfeldth [Wed, 16 Apr 2014 17:14:26 +0000 (19:14 +0200)]
MediaFile thumbnail event hooks + VideoThumbnails plugin

The exception thrown from MediaFile will be caught and simply result in
no thumbnail at all right now. In the future we might use a catch-all
and have a "cannot generate preview"-icon or something.

VideoThumbnails requires php5-ffmpeg and php5-gd.

10 years agoImageFile unlink function referenced bad path
Mikael Nordfeldth [Wed, 16 Apr 2014 18:08:21 +0000 (20:08 +0200)]
ImageFile unlink function referenced bad path

10 years agoSome files got updated coding style
Mikael Nordfeldth [Tue, 15 Apr 2014 08:49:20 +0000 (10:49 +0200)]
Some files got updated coding style

Actions have $this->scoped as the current profile which we can gladly
replace all the $cur=common_current_user() with.

And we want the prepare/handle functions to be protected. Plus only
the prepare function uses $args (which _must_ be an array).

10 years agoHTML5 video/audio support in attachments
Mikael Nordfeldth [Mon, 14 Apr 2014 12:06:11 +0000 (14:06 +0200)]
HTML5 video/audio support in attachments

10 years agoAdded some free codecs for media attachments
Mikael Nordfeldth [Mon, 14 Apr 2014 11:47:42 +0000 (13:47 +0200)]
Added some free codecs for media attachments

10 years agoHTML5 required attribute for some input forms
Mikael Nordfeldth [Sun, 6 Apr 2014 09:27:41 +0000 (11:27 +0200)]
HTML5 required attribute for some input forms

10 years agoRemoved Daisychain folder, legacy stuff
Mikael Nordfeldth [Sun, 6 Apr 2014 09:26:12 +0000 (11:26 +0200)]
Removed Daisychain folder, legacy stuff

10 years agoMerge commit 'refs/merge-requests/199' of git://gitorious.org/statusnet/mainline...
Mikael Nordfeldth [Mon, 31 Mar 2014 11:09:11 +0000 (13:09 +0200)]
Merge commit 'refs/merge-requests/199' of git://gitorious.org/statusnet/mainline into statusnet-merge-requests/199

10 years agoMerge commit 'refs/merge-requests/12' of git://gitorious.org/statusnet/gnu-social...
Mikael Nordfeldth [Mon, 31 Mar 2014 10:36:55 +0000 (12:36 +0200)]
Merge commit 'refs/merge-requests/12' of git://gitorious.org/statusnet/gnu-social into merge-requests/12

10 years agofixed config for php >=5; see php.net/array_merge
Florian Hülsmann [Sun, 30 Mar 2014 14:56:48 +0000 (16:56 +0200)]
fixed config for php >=5; see php.net/array_merge

10 years agoAutoloaded library files do not need explicit require_once
Mikael Nordfeldth [Tue, 18 Mar 2014 10:22:21 +0000 (11:22 +0100)]
Autoloaded library files do not need explicit require_once

10 years agoComment improvements with spl_autoload_register
Mikael Nordfeldth [Tue, 18 Mar 2014 10:20:58 +0000 (11:20 +0100)]
Comment improvements with spl_autoload_register

10 years agoDocumentation changes for source info (s/SN/GS/)
Mikael Nordfeldth [Tue, 18 Mar 2014 10:13:47 +0000 (11:13 +0100)]
Documentation changes for source info (s/SN/GS/)

10 years agoUpdating Markdown class + use spl_autoload_register
Mikael Nordfeldth [Tue, 18 Mar 2014 09:46:24 +0000 (10:46 +0100)]
Updating Markdown class + use spl_autoload_register

spl_autoload_register now calls the GNUsocial_class_autoload function
instead of us replacing the magic __autoload($cls). This means we can
queue up other autoload functions, such as the one now used for extlib
functions which exist directly in the 'extlib/' folder or have proper
namespacing (which our new Markdown class does).

10 years agoMerge branch 'master' of gitorious.org:statusnet/gnu-social
Mikael Nordfeldth [Sat, 15 Mar 2014 13:06:07 +0000 (14:06 +0100)]
Merge branch 'master' of gitorious.org:statusnet/gnu-social

10 years agoRevert "Don't add redundant includedir INSTALLDIR.'/extlib/'"
Mikael Nordfeldth [Sat, 15 Mar 2014 13:04:11 +0000 (14:04 +0100)]
Revert "Don't add redundant includedir INSTALLDIR.'/extlib/'"

This reverts commit 31d8069779357fbcadcaf6a0852980160131f0a4.

I didn't notice any errors because I had php-pear installed. :]

10 years agoPEAR System.php updated to 1.9.4
Mikael Nordfeldth [Sat, 15 Mar 2014 13:01:10 +0000 (14:01 +0100)]
PEAR System.php updated to 1.9.4

10 years agoUpdated and moved XMPP documentation into plugin.
Mikael Nordfeldth [Mon, 10 Mar 2014 23:05:28 +0000 (00:05 +0100)]
Updated and moved XMPP documentation into plugin.

10 years agoIrcManager does not have serverError, so it must throw ServerException
Mikael Nordfeldth [Sun, 9 Mar 2014 23:30:41 +0000 (00:30 +0100)]
IrcManager does not have serverError, so it must throw ServerException

10 years agoCosmetic changes to common_redirect, clientError, serverError
Mikael Nordfeldth [Sun, 9 Mar 2014 23:19:35 +0000 (00:19 +0100)]
Cosmetic changes to common_redirect, clientError, serverError

Since these functions exit (or throw exception) after running, there
is no need to have a 'return' statement or similar afterwards.

10 years agocommon_redirect and clientError exits, so refactor
Mikael Nordfeldth [Sun, 9 Mar 2014 22:22:05 +0000 (23:22 +0100)]
common_redirect and clientError exits, so refactor

One Event would never be called, and other stuff were redundant clauses.

10 years agoAdd support for 'nohub' sub_state in FeedSub
Mikael Nordfeldth [Sun, 9 Mar 2014 22:02:48 +0000 (23:02 +0100)]
Add support for 'nohub' sub_state in FeedSub

(requires upgrade.php run)

10 years agoOAuthException should be detected for autoloading
Mikael Nordfeldth [Sun, 9 Mar 2014 21:17:58 +0000 (22:17 +0100)]
OAuthException should be detected for autoloading

Or we may have conflicts with other filesin not in extlib.

10 years agoDon't add redundant includedir INSTALLDIR.'/extlib/'
Mikael Nordfeldth [Sun, 9 Mar 2014 21:11:08 +0000 (22:11 +0100)]
Don't add redundant includedir INSTALLDIR.'/extlib/'

10 years agoAdd functions to avoid direct variable access
Mikael Nordfeldth [Sun, 9 Mar 2014 12:29:38 +0000 (13:29 +0100)]
Add functions to avoid direct variable access

10 years agoFeedSub gets a plugin event handler for sub/unsub
Mikael Nordfeldth [Sun, 9 Mar 2014 12:27:28 +0000 (13:27 +0100)]
FeedSub gets a plugin event handler for sub/unsub

10 years agoRemoving Makefile for js-minification
Mikael Nordfeldth [Sat, 8 Mar 2014 12:21:38 +0000 (13:21 +0100)]
Removing Makefile for js-minification

10 years agoRemoved PEAR::MIME bundled external library
Mikael Nordfeldth [Sat, 8 Mar 2014 03:05:34 +0000 (04:05 +0100)]
Removed PEAR::MIME bundled external library

10 years agoFile class no longer depends on MIME
Mikael Nordfeldth [Sat, 8 Mar 2014 02:51:47 +0000 (03:51 +0100)]
File class no longer depends on MIME

+ minor tweaks to MediaFile

10 years agoMediaFile loses dependency on PEAR::MIME
Mikael Nordfeldth [Sat, 8 Mar 2014 02:03:04 +0000 (03:03 +0100)]
MediaFile loses dependency on PEAR::MIME

At the same time we remove the "filecommand" setting, since we will
likely not have use of it thanks to PECL fileinfo.

Also the "supported" list for attachment mime types has changed
format, so we can keep track of at least some known file extensions.

10 years agoWe only allow (and have) MIME types in supported list
Mikael Nordfeldth [Sat, 8 Mar 2014 01:02:26 +0000 (02:02 +0100)]
We only allow (and have) MIME types in supported list

$config['attachment']['supported'] may not use only the file extension.

10 years agoOnly accept filenames for existing files in getUploadedFileType
Mikael Nordfeldth [Sat, 8 Mar 2014 00:42:24 +0000 (01:42 +0100)]
Only accept filenames for existing files in getUploadedFileType

Getting metadata from filehandles just meant duplicating work

10 years agoDon't use PEAR MIME lib when we have PECL fileinfo
Mikael Nordfeldth [Sat, 8 Mar 2014 00:20:08 +0000 (01:20 +0100)]
Don't use PEAR MIME lib when we have PECL fileinfo

10 years agoWebM should be allowed to upload!
Mikael Nordfeldth [Fri, 7 Mar 2014 23:29:47 +0000 (00:29 +0100)]
WebM should be allowed to upload!

Evan had left _two_ "video/mpeg", just so you know.

10 years agoRemoving unused "inboxed" flag for User class
Mikael Nordfeldth [Fri, 7 Mar 2014 20:37:48 +0000 (21:37 +0100)]
Removing unused "inboxed" flag for User class

10 years agoPublicSite profile does not have inviteonly, but RegisterThrottle
Mikael Nordfeldth [Fri, 7 Mar 2014 20:29:29 +0000 (21:29 +0100)]
PublicSite profile does not have inviteonly, but RegisterThrottle

10 years agoRegisterThrottle didn't save the created time
Mikael Nordfeldth [Fri, 7 Mar 2014 20:23:49 +0000 (21:23 +0100)]
RegisterThrottle didn't save the created time

10 years agoCosmetic changes to RegisterThrottle
Mikael Nordfeldth [Fri, 7 Mar 2014 20:01:03 +0000 (21:01 +0100)]
Cosmetic changes to RegisterThrottle

10 years agoSite profile "community" should be invite-only by default
Mikael Nordfeldth [Fri, 7 Mar 2014 19:57:33 +0000 (20:57 +0100)]
Site profile "community" should be invite-only by default

Because if you have your own local/closed community, likely you
don't want random newcomers that drop in, spam and leave dead
accounts.

The Admin can of course always override this by setting the config
"inviteonly" to false either in the config.php or on the website.

10 years agoGet group attentions back into the "all" feed
Mikael Nordfeldth [Fri, 7 Mar 2014 01:49:42 +0000 (02:49 +0100)]
Get group attentions back into the "all" feed

10 years agoWe sent a User object instead of Profile to InboxNoticeStream (thanks postblue)
Mikael Nordfeldth [Fri, 7 Mar 2014 00:27:14 +0000 (01:27 +0100)]
We sent a User object instead of Profile to InboxNoticeStream (thanks postblue)

10 years agoWe don't add to inbox anymore.
Mikael Nordfeldth [Thu, 6 Mar 2014 23:05:21 +0000 (00:05 +0100)]
We don't add to inbox anymore.

10 years agoAdded OpportunisticQM README that has good docs
Mikael Nordfeldth [Thu, 6 Mar 2014 13:44:56 +0000 (14:44 +0100)]
Added OpportunisticQM README that has good docs

10 years agoClear Attentions when notice or profile is removed
Mikael Nordfeldth [Thu, 6 Mar 2014 13:43:36 +0000 (14:43 +0100)]
Clear Attentions when notice or profile is removed

10 years agoAdd an index for Attention notice_ids too
Mikael Nordfeldth [Thu, 6 Mar 2014 13:42:29 +0000 (14:42 +0100)]
Add an index for Attention notice_ids too

Not sure if this is really needed, since notice_id and profile_id together
build up the primary key. That might cause MySQL to index them anyway.

10 years agoAdd Attention stuff to TwitterBridge
Mikael Nordfeldth [Thu, 6 Mar 2014 13:28:27 +0000 (14:28 +0100)]
Add Attention stuff to TwitterBridge

10 years agoAdd Attention class for non-sub and non-mention notice attentions
Mikael Nordfeldth [Thu, 6 Mar 2014 13:22:26 +0000 (14:22 +0100)]
Add Attention class for non-sub and non-mention notice attentions

10 years agoAdd Managed_DataObject getID() to avoid $obj->id
Mikael Nordfeldth [Thu, 6 Mar 2014 13:21:44 +0000 (14:21 +0100)]
Add Managed_DataObject getID() to avoid $obj->id

10 years agoStricter typing + user detection in Realtime
Mikael Nordfeldth [Thu, 6 Mar 2014 12:23:08 +0000 (13:23 +0100)]
Stricter typing + user detection in Realtime

10 years agoFavicon updated to match new theme images
Mikael Nordfeldth [Thu, 6 Mar 2014 12:10:30 +0000 (13:10 +0100)]
Favicon updated to match new theme images

10 years agoUse CachingNoticeStream for "All" feed (hope it works)
Mikael Nordfeldth [Thu, 6 Mar 2014 10:47:27 +0000 (11:47 +0100)]
Use CachingNoticeStream for "All" feed (hope it works)

10 years agoRemoved Inbox from core (unused since 4b2a66ed29091209c05d74755e42f96265c846ce)
Mikael Nordfeldth [Thu, 6 Mar 2014 03:36:00 +0000 (04:36 +0100)]
Removed Inbox from core (unused since 4b2a66ed29091209c05d74755e42f96265c846ce)

Added the following FIXME:
How should a Twitter user get their Inbox filled with foreign tweets?

Every imported Twitter user has a profile in the Profile table, so we
could setup a Subscription entry for each of those, meaning they get
collected in the InboxNoticeStream... But this would mean a lot of
unnecessary entries and listings that generally just point to the
locked down Twitter service.

Let's figure out a good relation so we can connect any profile to any
imported foreign notice, so it shows up in the "all" feed.

10 years agoNew mechanism for "all" feed (InboxNoticeStream)
Mikael Nordfeldth [Thu, 6 Mar 2014 02:43:48 +0000 (03:43 +0100)]
New mechanism for "all" feed (InboxNoticeStream)

Also cleaned up and made typing stricter for the stream, so only
profiles can be submitted. This reasonably also means we can create
"inbox" or "all" streams for foreign profiles as well using the same
stream handler (but of course only for messages we already know about).

To avoid looking up posts for a long time in a large notice database,
the lookback period for the inbox is no longer than the profile creation
date. (this matches the behaviour of Inbox)

Inbox class can probably be removed now.