]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Roland Haeder [Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)]
rand() is weak on some OSes as it only produces random numbers from -32766 to
32766. So let's get rid of it all together and use mt_rand() (which produces
*way* larger numbers on *all* systems).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 6 Mar 2015 23:34:34 +0000 (00:34 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Better use a clear type-hint and array() as default value then you can avoid the
additional is_null() call.
Conflicts:
lib/noticeform.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Fri, 6 Mar 2015 22:52:25 +0000 (23:52 +0100)]
Choose whether to prerender the inline reply forms
The DefaultLayout plugin will come with options to render various parts
of the page by default or not. The expected default behaviour will try
to imitate the original StatusNet/GNU social looks as far as possible.
Mikael Nordfeldth [Fri, 6 Mar 2015 22:47:03 +0000 (23:47 +0100)]
Replies to replies without reloading page now work
Mikael Nordfeldth [Fri, 6 Mar 2015 22:46:08 +0000 (23:46 +0100)]
Hide the threaded-replies gray line.
Mikael Nordfeldth [Fri, 6 Mar 2015 22:21:57 +0000 (23:21 +0100)]
Make sure we save 0 as '0' because of DB_DataObject bug
Mikael Nordfeldth [Fri, 6 Mar 2015 20:20:46 +0000 (21:20 +0100)]
Reply notice forms are functional again, but not AJAX
Mikael Nordfeldth [Fri, 6 Mar 2015 19:42:50 +0000 (20:42 +0100)]
Remove some more reply-placeholder stuff
Mikael Nordfeldth [Fri, 6 Mar 2015 19:22:01 +0000 (20:22 +0100)]
No separate placeholder input element for replyforms
Also we're moving the rendering of these out into a separate plugin. Not
done yet, some javascript should be moved out as well.
Mikael Nordfeldth [Fri, 6 Mar 2015 19:04:09 +0000 (20:04 +0100)]
Make NoticeForm return the proper placeholder text
Also fixes some comments and uncertainties in the beginning of the
class definition.
Roland Haeder [Fri, 6 Mar 2015 00:43:25 +0000 (01:43 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Thu, 5 Mar 2015 23:47:18 +0000 (00:47 +0100)]
Get the values from the correct object.
Mikael Nordfeldth [Thu, 5 Mar 2015 23:44:00 +0000 (00:44 +0100)]
Values of 0 would not be updated because of DB_DataObject
Upstream bug causing (int)0 to be interpreted as a "null string":
https://pear.php.net/bugs/bug.php?id=20291
Roland Haeder [Thu, 5 Mar 2015 22:49:26 +0000 (23:49 +0100)]
Merge branch 'nightly' of gitorious.org:social/aroquen-mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
aroquen [Thu, 5 Mar 2015 21:19:57 +0000 (22:19 +0100)]
Make attachment fit better in notice: drop text and link
Roland Haeder [Thu, 5 Mar 2015 21:04:51 +0000 (22:04 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into nightly
Conflicts:
README.md
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 5 Mar 2015 18:18:38 +0000 (19:18 +0100)]
Added more checked type-hints
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 5 Mar 2015 17:43:57 +0000 (18:43 +0100)]
$related must contain class names, no table names ("all" lower-case) + fixed some checked type-hints.
Again, it must be User_flag_profile (class name), not user_flag_profile (table name).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Thu, 5 Mar 2015 10:59:31 +0000 (11:59 +0100)]
Actually show all images as <img /> tags.
Browsers should be secure enough by now for this.
Mikael Nordfeldth [Thu, 5 Mar 2015 10:59:11 +0000 (11:59 +0100)]
SVG files can be used as thumbnails I guess
Mikael Nordfeldth [Thu, 5 Mar 2015 10:54:30 +0000 (11:54 +0100)]
Some SVG files are "text/html" according to 'file'
Mikael Nordfeldth [Thu, 5 Mar 2015 10:53:52 +0000 (11:53 +0100)]
ImageMagick sucks at vector graphics, so only use for rasterization
Roland Haeder [Wed, 4 Mar 2015 13:52:14 +0000 (14:52 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Conflicts:
classes/File.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 4 Mar 2015 13:50:07 +0000 (14:50 +0100)]
No need for execute-right here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Wed, 4 Mar 2015 12:50:20 +0000 (13:50 +0100)]
ImageMagick plugin can now make thumbnails of SVG files
Mikael Nordfeldth [Wed, 4 Mar 2015 12:46:51 +0000 (13:46 +0100)]
Used ->find(true) on wrong object
Mikael Nordfeldth [Wed, 4 Mar 2015 12:45:42 +0000 (13:45 +0100)]
Reset imgPath variable if VideoThumbnails failed
Mikael Nordfeldth [Wed, 4 Mar 2015 12:29:18 +0000 (13:29 +0100)]
Documentation and more understandable code.
Mikael Nordfeldth [Wed, 4 Mar 2015 12:13:04 +0000 (13:13 +0100)]
Use getUrl() on File and File_thumbnail instead of ->url
Mikael Nordfeldth [Wed, 4 Mar 2015 12:12:42 +0000 (13:12 +0100)]
Move thumbnail algorithm mainly to ImageFile class
Mikael Nordfeldth [Wed, 4 Mar 2015 11:18:44 +0000 (12:18 +0100)]
Free ImageMagick object from memory when done with it
Mikael Nordfeldth [Wed, 4 Mar 2015 11:06:21 +0000 (12:06 +0100)]
ImageMagickPlugin refactored so we can more easily add new formats
Mikael Nordfeldth [Wed, 4 Mar 2015 10:49:54 +0000 (11:49 +0100)]
Subscription_queue::start does not mean Subscription exists
Mikael Nordfeldth [Wed, 4 Mar 2015 10:38:04 +0000 (11:38 +0100)]
Subscription::ensureStart skips AlreadyFulfilledException
Sometimes we just want to accept the user's wrong, but when it comes
to remote APIs etc. we probably want to let the client know it has
done something already (in this case multiple identical subscription
requests - which might indicate to it that it should refresh the sub
lists or something).
Roland Haeder [Tue, 3 Mar 2015 20:22:47 +0000 (21:22 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Mon, 2 Mar 2015 19:37:59 +0000 (20:37 +0100)]
FillImageFileMetadata event documented
Roland Haeder [Sun, 1 Mar 2015 17:34:46 +0000 (18:34 +0100)]
Added some checked (I checked them) type-hints to improve type-safety (typing mistakes).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 1 Mar 2015 17:30:18 +0000 (18:30 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Conflicts:
plugins/Blog/BlogPlugin.php
plugins/Blog/classes/Blog_entry.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 1 Mar 2015 15:48:01 +0000 (16:48 +0100)]
Bug tracker link updated.
Mikael Nordfeldth [Sun, 1 Mar 2015 15:48:01 +0000 (16:48 +0100)]
Bug tracker link updated.
Mikael Nordfeldth [Sun, 1 Mar 2015 13:32:48 +0000 (14:32 +0100)]
Blog depended on TinyMCE which was unmaintained
Roland Haeder [Sun, 1 Mar 2015 12:02:10 +0000 (13:02 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 1 Mar 2015 11:47:48 +0000 (12:47 +0100)]
Aahhh, gotta run php -l before pushing stuff!!!
Mikael Nordfeldth [Sun, 1 Mar 2015 11:45:58 +0000 (12:45 +0100)]
Forgot to make syntax edits on last commit.
Mikael Nordfeldth [Sun, 1 Mar 2015 11:36:19 +0000 (12:36 +0100)]
User class throws exception on register failure
Mikael Nordfeldth [Sun, 1 Mar 2015 11:31:52 +0000 (12:31 +0100)]
Allow changing nick on EmailRegistration
Nothing said that the EmailRegistration plugin was meant to restrict
the nickname to the local part of the email address. Let users change
it before they actually register the user.
Roland Haeder [Sat, 28 Feb 2015 12:41:20 +0000 (13:41 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sat, 28 Feb 2015 12:04:17 +0000 (13:04 +0100)]
Don't log every included config file
but let us retrieve the list by running GNUsocial::configFiles()
Mikael Nordfeldth [Sat, 28 Feb 2015 11:56:42 +0000 (12:56 +0100)]
Avatar table url field now 'text', maybe use filename as unique key?
Roland Haeder [Fri, 27 Feb 2015 15:55:03 +0000 (16:55 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 27 Feb 2015 15:53:11 +0000 (16:53 +0100)]
Fixed parser error as the braces pair was missing.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Fri, 27 Feb 2015 15:06:05 +0000 (16:06 +0100)]
INSTALL file overhaul, mostly done.
Mikael Nordfeldth [Fri, 27 Feb 2015 14:42:45 +0000 (15:42 +0100)]
htaccess.sample updating
Mikael Nordfeldth [Fri, 27 Feb 2015 14:07:24 +0000 (15:07 +0100)]
ssh key based easy upgrade method documentation
Mikael Nordfeldth [Fri, 27 Feb 2015 14:03:07 +0000 (15:03 +0100)]
Better UPGRADE documentation for GS->GS upgrade
Mikael Nordfeldth [Fri, 27 Feb 2015 13:47:54 +0000 (14:47 +0100)]
StatusNet 1.1.x to GNU social 1.2.x instructions updated
Mikael Nordfeldth [Fri, 27 Feb 2015 13:12:01 +0000 (14:12 +0100)]
UPGRADE file had incorrect commands
Mikael Nordfeldth [Fri, 27 Feb 2015 11:55:08 +0000 (12:55 +0100)]
StatusNet to GNU social renaming in minor places
Mikael Nordfeldth [Fri, 27 Feb 2015 11:44:15 +0000 (12:44 +0100)]
StatusNet class renamed GNUsocial
also added backward compatible StatusNet class for the two calls I know
third party plugins use, isHTTPS and getActivePlugins
Mikael Nordfeldth [Fri, 27 Feb 2015 11:11:43 +0000 (12:11 +0100)]
Start and EndActionExecute added/fixed/documented
Mikael Nordfeldth [Fri, 27 Feb 2015 09:15:23 +0000 (10:15 +0100)]
1.1.3 not 1.1.3 beta3
Mikael Nordfeldth [Fri, 27 Feb 2015 09:09:57 +0000 (10:09 +0100)]
1.2.x branch started (utf8mb4 support is reason enough)
Mikael Nordfeldth [Fri, 27 Feb 2015 09:04:29 +0000 (10:04 +0100)]
Change branch to 1.2.x since we're utf8mb4 now
Mikael Nordfeldth [Fri, 27 Feb 2015 09:01:55 +0000 (10:01 +0100)]
Merge branch 'master' into nightly
Conflicts:
lib/apiaction.php
Mikael Nordfeldth [Fri, 27 Feb 2015 08:58:38 +0000 (09:58 +0100)]
I hereby dub thee 1.1.3 - The Spanish Invasion
Mikael Nordfeldth [Fri, 27 Feb 2015 08:57:49 +0000 (09:57 +0100)]
Pass Profile to asAtomEntry
Mikael Nordfeldth [Thu, 26 Feb 2015 21:58:36 +0000 (22:58 +0100)]
php5-intl is recommended but not required
Roland Haeder [Thu, 26 Feb 2015 00:21:27 +0000 (01:21 +0100)]
Merge branch 'rewrites-nightly/type-hints-asserts' into nightly
Conflicts:
plugins/Directory/actions/groupdirectory.php
plugins/Directory/actions/userdirectory.php
plugins/WebFinger/WebFingerPlugin.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 26 Feb 2015 00:20:09 +0000 (01:20 +0100)]
Safely added more type-hints.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Thu, 26 Feb 2015 00:01:11 +0000 (01:01 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into social-master
Conflicts:
actions/apifriendshipsdestroy.php
actions/apifriendshipsexists.php
actions/apifriendshipsshow.php
actions/apitimelineretweetedtome.php
plugins/APC/APCPlugin.php
plugins/Adsense/AdsensePlugin.php
plugins/Aim/AimPlugin.php
plugins/Aim/lib/aimmanager.php
plugins/Directory/actions/groupdirectory.php
plugins/Directory/actions/userdirectory.php
plugins/Irc/IrcPlugin.php
plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/HandlerTest.php
plugins/Irc/lib/ircmanager.php
plugins/Spotify/SpotifyPlugin.php
plugins/TinyMCE/TinyMCEPlugin.php
plugins/VideoThumbnails/VideoThumbnailsPlugin.php
plugins/WebFinger/WebFingerPlugin.php
plugins/XCache/XCachePlugin.php
plugins/YammerImport/actions/yammeradminpanel.php
plugins/YammerImport/actions/yammerauth.php
plugins/YammerImport/lib/yammerimporter.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Wed, 25 Feb 2015 23:45:17 +0000 (00:45 +0100)]
Normalize username on AuthCrypt login
Because users login with mixed casing and whatnot.
Mikael Nordfeldth [Wed, 25 Feb 2015 23:12:34 +0000 (00:12 +0100)]
Attachment list items have more sane margins around them
Mikael Nordfeldth [Wed, 25 Feb 2015 15:40:59 +0000 (16:40 +0100)]
Notice character count now adapts to resized textbox
Mikael Nordfeldth [Wed, 25 Feb 2015 15:31:02 +0000 (16:31 +0100)]
501 Not Implemented on timelines for remote users.
Mikael Nordfeldth [Wed, 25 Feb 2015 15:22:59 +0000 (16:22 +0100)]
NoticeOptions above NoticeAttachments
Mikael Nordfeldth [Wed, 25 Feb 2015 14:47:14 +0000 (15:47 +0100)]
Removing some plugins that were moved to plugins-unmaintained
See https://gitorious.org/social/plugins-unmaintained/
Mikael Nordfeldth [Wed, 25 Feb 2015 14:13:47 +0000 (15:13 +0100)]
Documentation + filename uniqueness in File class
Roland Haeder [Wed, 25 Feb 2015 13:30:11 +0000 (14:30 +0100)]
Fixed 2 parser errors.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 25 Feb 2015 13:30:11 +0000 (14:30 +0100)]
Fixed 2 parser errors.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Wed, 25 Feb 2015 11:59:19 +0000 (12:59 +0100)]
Merge commit 'refs/merge-requests/55' of https://gitorious.org/social/mainline into merge-requests/55
Mikael Nordfeldth [Wed, 25 Feb 2015 11:56:41 +0000 (12:56 +0100)]
Removed Lato font from themes where it was unnecessary
Mikael Nordfeldth [Wed, 25 Feb 2015 11:52:35 +0000 (12:52 +0100)]
Merge commit 'refs/merge-requests/51' of https://gitorious.org/social/mainline into merge-requests/51
Mikael Nordfeldth [Wed, 25 Feb 2015 11:50:56 +0000 (12:50 +0100)]
trailing whitespace
Mikael Nordfeldth [Wed, 25 Feb 2015 11:49:58 +0000 (12:49 +0100)]
Merge commit 'refs/merge-requests/49' of https://gitorious.org/social/mainline into merge-requests/49
Mikael Nordfeldth [Wed, 25 Feb 2015 11:49:15 +0000 (12:49 +0100)]
HTML5 media <source> tags are short tags
Roland Haeder [Wed, 25 Feb 2015 01:30:21 +0000 (02:30 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Conflicts:
plugins/VideoThumbnails/VideoThumbnailsPlugin.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Wed, 25 Feb 2015 00:41:34 +0000 (01:41 +0100)]
avconv required -f image2 not -f mjpeg at least on my server
Mikael Nordfeldth [Wed, 25 Feb 2015 00:37:57 +0000 (01:37 +0100)]
Only local files to be passed through VideoThumbnails
Mikael Nordfeldth [Wed, 25 Feb 2015 00:36:14 +0000 (01:36 +0100)]
VideoThumbnails changed to use 'exec' call to avconv
Mikael Nordfeldth [Wed, 25 Feb 2015 00:34:00 +0000 (01:34 +0100)]
Save thumbnails with proper extension
This might cause double extensions, but that's ok since the filename
is stored in the database. We might want to look at it later though.
Mikael Nordfeldth [Wed, 25 Feb 2015 00:33:32 +0000 (01:33 +0100)]
mimetype added to ImageFile
Mikael Nordfeldth [Wed, 25 Feb 2015 00:31:44 +0000 (01:31 +0100)]
ImageFile constructor changed to align with existing code
Noone passed type, width or height to new ImageFile(...) and
in all instances, both parameters were set (though $id is null on occasion).
Mikael Nordfeldth [Wed, 25 Feb 2015 00:14:27 +0000 (01:14 +0100)]
Throw more explicit exception in ImageFile
Roland Haeder [Tue, 24 Feb 2015 22:47:12 +0000 (23:47 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Tue, 24 Feb 2015 21:59:58 +0000 (22:59 +0100)]
Hide posts from users with private_stream in scoping streams
For example the public timeline would show notices from a user with
private_stream configured. (previously it would only hide _new_ notices
by this user as they would be the only ones with notice scoping set).
Mikael Nordfeldth [Tue, 24 Feb 2015 21:44:43 +0000 (22:44 +0100)]
Removing whitespace and creating an early-return in inScope
buttle [Tue, 24 Feb 2015 20:51:31 +0000 (21:51 +0100)]
added DocNav EVENT
Event to overide DocNav
two small css changes to indent notice footer correctly.
Mikael Nordfeldth [Tue, 24 Feb 2015 20:11:25 +0000 (21:11 +0100)]
Don't store duplicates of files.
If a new file is uploaded, it will be matched with a previously uploaded
file so we don't have to store duplicates. SHA256 is random enough and
also unlikely enough to cause collisions.
Mikael Nordfeldth [Tue, 24 Feb 2015 18:29:28 +0000 (19:29 +0100)]
Script to delete file table entries which have disappeared locally
Roland Haeder [Mon, 23 Feb 2015 20:22:44 +0000 (21:22 +0100)]
Merge branch 'social-master' into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>