]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
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).
Mikael Nordfeldth [Mon, 14 Apr 2014 12:06:11 +0000 (14:06 +0200)]
HTML5 video/audio support in attachments
Mikael Nordfeldth [Mon, 14 Apr 2014 11:47:42 +0000 (13:47 +0200)]
Added some free codecs for media attachments
Mikael Nordfeldth [Sun, 6 Apr 2014 09:27:41 +0000 (11:27 +0200)]
HTML5 required attribute for some input forms
Mikael Nordfeldth [Sun, 6 Apr 2014 09:26:12 +0000 (11:26 +0200)]
Removed Daisychain folder, legacy stuff
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
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
Florian Hülsmann [Sun, 30 Mar 2014 14:56:48 +0000 (16:56 +0200)]
fixed config for php >=5; see php.net/array_merge
Mikael Nordfeldth [Tue, 18 Mar 2014 10:22:21 +0000 (11:22 +0100)]
Autoloaded library files do not need explicit require_once
Mikael Nordfeldth [Tue, 18 Mar 2014 10:20:58 +0000 (11:20 +0100)]
Comment improvements with spl_autoload_register
Mikael Nordfeldth [Tue, 18 Mar 2014 10:13:47 +0000 (11:13 +0100)]
Documentation changes for source info (s/SN/GS/)
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).
Mikael Nordfeldth [Sat, 15 Mar 2014 13:06:07 +0000 (14:06 +0100)]
Merge branch 'master' of gitorious.org:statusnet/gnu-social
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. :]
Mikael Nordfeldth [Sat, 15 Mar 2014 13:01:10 +0000 (14:01 +0100)]
PEAR System.php updated to 1.9.4
Mikael Nordfeldth [Mon, 10 Mar 2014 23:05:28 +0000 (00:05 +0100)]
Updated and moved XMPP documentation into plugin.
Mikael Nordfeldth [Sun, 9 Mar 2014 23:30:41 +0000 (00:30 +0100)]
IrcManager does not have serverError, so it must throw ServerException
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.
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.
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)
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.
Mikael Nordfeldth [Sun, 9 Mar 2014 21:11:08 +0000 (22:11 +0100)]
Don't add redundant includedir INSTALLDIR.'/extlib/'
Mikael Nordfeldth [Sun, 9 Mar 2014 12:29:38 +0000 (13:29 +0100)]
Add functions to avoid direct variable access
Mikael Nordfeldth [Sun, 9 Mar 2014 12:27:28 +0000 (13:27 +0100)]
FeedSub gets a plugin event handler for sub/unsub
Mikael Nordfeldth [Sat, 8 Mar 2014 12:21:38 +0000 (13:21 +0100)]
Removing Makefile for js-minification
Mikael Nordfeldth [Sat, 8 Mar 2014 03:05:34 +0000 (04:05 +0100)]
Removed PEAR::MIME bundled external library
Mikael Nordfeldth [Sat, 8 Mar 2014 02:51:47 +0000 (03:51 +0100)]
File class no longer depends on MIME
+ minor tweaks to MediaFile
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.
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.
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
Mikael Nordfeldth [Sat, 8 Mar 2014 00:20:08 +0000 (01:20 +0100)]
Don't use PEAR MIME lib when we have PECL fileinfo
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.
Mikael Nordfeldth [Fri, 7 Mar 2014 20:37:48 +0000 (21:37 +0100)]
Removing unused "inboxed" flag for User class
Mikael Nordfeldth [Fri, 7 Mar 2014 20:29:29 +0000 (21:29 +0100)]
PublicSite profile does not have inviteonly, but RegisterThrottle
Mikael Nordfeldth [Fri, 7 Mar 2014 20:23:49 +0000 (21:23 +0100)]
RegisterThrottle didn't save the created time
Mikael Nordfeldth [Fri, 7 Mar 2014 20:01:03 +0000 (21:01 +0100)]
Cosmetic changes to RegisterThrottle
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.
Mikael Nordfeldth [Fri, 7 Mar 2014 01:49:42 +0000 (02:49 +0100)]
Get group attentions back into the "all" feed
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)
Mikael Nordfeldth [Thu, 6 Mar 2014 23:05:21 +0000 (00:05 +0100)]
We don't add to inbox anymore.
Mikael Nordfeldth [Thu, 6 Mar 2014 13:44:56 +0000 (14:44 +0100)]
Added OpportunisticQM README that has good docs
Mikael Nordfeldth [Thu, 6 Mar 2014 13:43:36 +0000 (14:43 +0100)]
Clear Attentions when notice or profile is removed
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.
Mikael Nordfeldth [Thu, 6 Mar 2014 13:28:27 +0000 (14:28 +0100)]
Add Attention stuff to TwitterBridge
Mikael Nordfeldth [Thu, 6 Mar 2014 13:22:26 +0000 (14:22 +0100)]
Add Attention class for non-sub and non-mention notice attentions
Mikael Nordfeldth [Thu, 6 Mar 2014 13:21:44 +0000 (14:21 +0100)]
Add Managed_DataObject getID() to avoid $obj->id
Mikael Nordfeldth [Thu, 6 Mar 2014 12:23:08 +0000 (13:23 +0100)]
Stricter typing + user detection in Realtime
Mikael Nordfeldth [Thu, 6 Mar 2014 12:10:30 +0000 (13:10 +0100)]
Favicon updated to match new theme images
Mikael Nordfeldth [Thu, 6 Mar 2014 10:47:27 +0000 (11:47 +0100)]
Use CachingNoticeStream for "All" feed (hope it works)
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.
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.
Mikael Nordfeldth [Thu, 6 Mar 2014 02:21:55 +0000 (03:21 +0100)]
Removed deprecated Inbox functions not in use from User
Mikael Nordfeldth [Thu, 6 Mar 2014 01:43:28 +0000 (02:43 +0100)]
Trying to remove Inbox, first steps
Mikael Nordfeldth [Thu, 6 Mar 2014 00:55:23 +0000 (01:55 +0100)]
Treat author just as anyone else (Notice distrib)
Mikael Nordfeldth [Thu, 6 Mar 2014 00:50:54 +0000 (01:50 +0100)]
Always queue inbox distribution
Mikael Nordfeldth [Thu, 6 Mar 2014 00:15:19 +0000 (01:15 +0100)]
Merge branch 'master' into FeedPoller
Mikael Nordfeldth [Wed, 5 Mar 2014 12:58:32 +0000 (13:58 +0100)]
Merge commit 'refs/merge-requests/11' of git://gitorious.org/statusnet/gnu-social into merge-requests/11
Mikael Nordfeldth [Wed, 5 Mar 2014 12:44:45 +0000 (13:44 +0100)]
Make ostatussub conform to coding standards a bit
Mikael Nordfeldth [Wed, 5 Mar 2014 12:44:34 +0000 (13:44 +0100)]
Better typing for isSubscribed
Mikael Nordfeldth [Wed, 5 Mar 2014 00:27:27 +0000 (01:27 +0100)]
Handle removed profile more gracefully in noticelist
Just hide it from the visitor, but log a warning (and error, since
the exception itself logs that).
Mikael Nordfeldth [Wed, 5 Mar 2014 00:17:34 +0000 (01:17 +0100)]
Spiffing up all.php and making it more profile:y
Mikael Nordfeldth [Sun, 2 Mar 2014 23:01:13 +0000 (00:01 +0100)]
SubMirror now works again against old PuSH
There was a problem with (specifically at least) PuSHpress for
Wordpress. A previous attempt to perform a DB transaction backfired
because the remote side could connect to the callback before our
commit had gone through.
I take full responsibility for introducing the bug in the first place :)
Mikael Nordfeldth [Sun, 2 Mar 2014 22:06:21 +0000 (23:06 +0100)]
Cosmetic changes to SubMirror actions
Mikael Nordfeldth [Sun, 2 Mar 2014 21:58:23 +0000 (22:58 +0100)]
Remove Twitter from SubMirror
Twitter removed Atom feeds in API v1.1, so there is no way to mirror
a feed without screen-scraping or registering a dev account with them.
Mikael Nordfeldth [Sun, 2 Mar 2014 21:53:48 +0000 (22:53 +0100)]
GNU social naming, not StatusNet
Jean Baptiste Favre [Tue, 25 Feb 2014 22:31:09 +0000 (23:31 +0100)]
Add check after oembed API call. In case of error, returned value is false which generate error messages 'Trying to get property of non-object'.
Mikael Nordfeldth [Sun, 2 Mar 2014 10:47:38 +0000 (11:47 +0100)]
Prepare for >1024 RSA keys for Salmon signatures
Mikael Nordfeldth [Sat, 1 Mar 2014 16:19:10 +0000 (17:19 +0100)]
Throw exception, don't return null in Conversation::create
Mikael Nordfeldth [Sat, 1 Mar 2014 16:06:29 +0000 (17:06 +0100)]
Conversation ID now gets set from initial notice.
This will work without much extra effort because there will always be
more notices (higher value) than conversations (so no collisions).
But please run upgrade.php to avoid having an autoincrement id on
conversation table.
Installations using code after 2014-03-01 will have identical
conversation IDs to the initial (conversation root) notice IDs. This
will not affect older installations, which will have very different
values.
Mikael Nordfeldth [Sat, 1 Mar 2014 15:27:34 +0000 (16:27 +0100)]
Don't show installation form on checkPrereqs fail.
...and be a bit more instructive on how to continue installing.
Mikael Nordfeldth [Sat, 1 Mar 2014 15:19:00 +0000 (16:19 +0100)]
Updating version check to match requirements
Also removing a legacy check for, nowadays, unsupported versions.
Mikael Nordfeldth [Sat, 1 Mar 2014 13:14:39 +0000 (14:14 +0100)]
Less StatusNet, more GNU social
We've still got stuff like the update-subscription thing to set up.
Mikael Nordfeldth [Sat, 1 Mar 2014 13:05:39 +0000 (14:05 +0100)]
Use UTF-8 for installer page
Mikael Nordfeldth [Sat, 1 Mar 2014 12:58:03 +0000 (13:58 +0100)]
JSON is a required PHP extension for GNU social.
Mikael Nordfeldth [Sat, 1 Mar 2014 12:42:10 +0000 (13:42 +0100)]
INSTALL file clarifications
Mikael Nordfeldth [Sat, 1 Mar 2014 12:38:31 +0000 (13:38 +0100)]
Minor language fixes
Mikael Nordfeldth [Sat, 1 Mar 2014 12:36:57 +0000 (13:36 +0100)]
Merge commit 'refs/merge-requests/10' of git://gitorious.org/statusnet/gnu-social into merge-requests/10
Mikael Nordfeldth [Sat, 1 Mar 2014 12:21:42 +0000 (13:21 +0100)]
We have removed minified javascripts from core
Mikael Nordfeldth [Sat, 1 Mar 2014 12:17:17 +0000 (13:17 +0100)]
Installation should note we're using GNU social
Jean Baptiste Favre [Tue, 25 Feb 2014 22:27:24 +0000 (23:27 +0100)]
Fix typo in INSTALL. Thanks @postblue for reporting
Jean Baptiste Favre [Mon, 24 Feb 2014 22:11:37 +0000 (23:11 +0100)]
Update documentation to reflect queueadmon changes. Also add basic opportunisticqm description
Jean Baptiste Favre [Mon, 24 Feb 2014 18:32:29 +0000 (19:32 +0100)]
Dynamically enable scripts/queuedaemon.php into scripts/getvaliddaemons.php depending on common_config('queue', 'daemon') value. True = enabled, False=disabled. Default is false (see previous commit)
Jean Baptiste Favre [Mon, 24 Feb 2014 18:31:14 +0000 (19:31 +0100)]
Introduce new config option common_config('queue','daemon').Allows to dynamically enable scripts/queuedaemon.php into scripts/getvaliddaemons.php
Mikael Nordfeldth [Sat, 1 Mar 2014 11:01:21 +0000 (12:01 +0100)]
Bad route config (thanks brw12)
ben wheeler submitted this bug report with a patch for StatusNet.
Mikael Nordfeldth [Sat, 1 Mar 2014 10:55:06 +0000 (11:55 +0100)]
Minor code cleanup with group related actions (thanks brw12)
Originated from brw12 who noticed an incorrect variable name used in
an error message in actions/apigroupjoin.php:109
Mikael Nordfeldth [Sat, 1 Mar 2014 10:07:58 +0000 (11:07 +0100)]
Don't forget to strip 'Plugin'. (_MrB_ rocks, MMN-o sucks.)
Paths are like "plugins/Realtime/...", not "plugins/RealtimePlugin/...".
Mikael Nordfeldth [Thu, 27 Feb 2014 22:30:35 +0000 (23:30 +0100)]
Partly revert
97830b07019d9ffe33e2c2048bac39026e636998 (thanks _MrB_)
require_once lines were required since _plugins_ don't __autoload
Also, Realtime would load the wrong URL for css/js since $this->name()
returns get_class($this) instead of the calling class' __CLASS__.
Mikael Nordfeldth [Mon, 24 Feb 2014 17:00:53 +0000 (18:00 +0100)]
nl2br so we get proper newlining when publishing \r, \n or \r\n
Mikael Nordfeldth [Mon, 24 Feb 2014 13:10:53 +0000 (14:10 +0100)]
Don't discard XML in queue items
XMPP messages on -out at least were strings of XML that were stopped
because they weren't JSON.
Mikael Nordfeldth [Mon, 24 Feb 2014 01:05:31 +0000 (02:05 +0100)]
Making us less dependant on javascript trust
Many of the microapps are pretty javascript dependant, but at least
we should allow users to get to the new notice field without allowing
javascript to run in the browser. :)
Mikael Nordfeldth [Mon, 24 Feb 2014 00:05:13 +0000 (01:05 +0100)]
minify removed from core (use plugin if desired)
My reasoning: Minifying makes third party review harder. A visitor on
a GNU social site should have no problem reading, understanding and
modifying javascripts for their own liking. A minified script is much
more difficult to use, reuse, modify and share.
Free software is not minified.
Mikael Nordfeldth [Sun, 23 Feb 2014 23:59:29 +0000 (00:59 +0100)]
Preparing plugins for no-minify-in-core-policy
also making the file structure better with js and css folders for Realtime and LinkPreview
GNU Social instance [Sun, 23 Feb 2014 23:31:37 +0000 (00:31 +0100)]
Remove util.min.js (minifying is EVIL)
Jean Baptiste Favre [Sun, 26 Jan 2014 22:57:27 +0000 (23:57 +0100)]
Add various entry points to enhance compatibility with Twitter client like Twidere
Jean Baptiste Favre [Sun, 26 Jan 2014 22:53:44 +0000 (23:53 +0100)]
Add 'profile_image_url_https' to enhance compatiblity with Twitter clients since they now need https URLs instead of plain http
Mikael Nordfeldth [Sun, 23 Feb 2014 20:49:55 +0000 (21:49 +0100)]
mentions from OStatus lookup were missing a 'type' attribute in common_linkify_mention
Mikael Nordfeldth [Sun, 23 Feb 2014 20:28:52 +0000 (21:28 +0100)]
Compare to profile id of group, for backward compatibility
Mikael Nordfeldth [Sun, 23 Feb 2014 20:05:34 +0000 (21:05 +0100)]
stricter typing
Mikael Nordfeldth [Sun, 23 Feb 2014 19:12:01 +0000 (20:12 +0100)]
Autocomplete now matches remote profiles as well.
Mikael Nordfeldth [Sun, 23 Feb 2014 14:06:29 +0000 (15:06 +0100)]
Merge commit 'refs/merge-requests/8' of git://gitorious.org/statusnet/gnu-social into merge-requests/8