]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Mikael Nordfeldth [Thu, 4 Jun 2015 15:36:11 +0000 (17:36 +0200)]
Send objects instead of integers to File_to_post::processNew
Mikael Nordfeldth [Thu, 4 Jun 2015 15:02:45 +0000 (17:02 +0200)]
Use the same cache string in all places for file:notice-ids
Mikael Nordfeldth [Wed, 3 Jun 2015 23:14:26 +0000 (01:14 +0200)]
Remove some clutter from OMB plugin
Mikael Nordfeldth [Wed, 3 Jun 2015 23:08:03 +0000 (01:08 +0200)]
Move some last OpenID stuff into the OpenID plugin (XRDS)
Mikael Nordfeldth [Wed, 3 Jun 2015 22:56:46 +0000 (00:56 +0200)]
don't double the output for some PublicAction->extraHead
Mikael Nordfeldth [Wed, 3 Jun 2015 22:53:35 +0000 (00:53 +0200)]
Show network public feed link in PublicGroupNav
Mikael Nordfeldth [Wed, 3 Jun 2015 22:50:08 +0000 (00:50 +0200)]
Extend Networkpublic and Public actions from SitestreamAction
Mikael Nordfeldth [Wed, 3 Jun 2015 20:57:58 +0000 (22:57 +0200)]
bump version to 1.2.0-alpha1
since we fixed the search issue and updated jquery
Mikael Nordfeldth [Wed, 3 Jun 2015 20:43:51 +0000 (22:43 +0200)]
case insensitive indexing for content and nick/fullnames (search)
This broke when changing the database to utf8mb4 instead of utf8,
since utf8_general_ci wasn't accepted and the engine fell back to
utf8mb4_bin. Now we're back in case insensitive search business!
Mikael Nordfeldth [Tue, 2 Jun 2015 12:25:45 +0000 (14:25 +0200)]
return logic tidied up for command interpretation
Mikael Nordfeldth [Tue, 2 Jun 2015 12:17:59 +0000 (14:17 +0200)]
initialize command interpretation result to false
Mikael Nordfeldth [Tue, 2 Jun 2015 11:55:13 +0000 (13:55 +0200)]
fallback to local URL if reply->getUrl() is missing
Remote Activity notices generally don't have a proper HTTP URL associated.
Mikael Nordfeldth [Tue, 2 Jun 2015 11:50:52 +0000 (13:50 +0200)]
Start using NoParentNoticeException more widely
Mikael Nordfeldth [Tue, 2 Jun 2015 11:45:49 +0000 (13:45 +0200)]
Notice->getParent code reuse
...not entirely sure whether to allow getParent calls on Notice
objects which have not been created, but we'll leave that in for now...
Mikael Nordfeldth [Tue, 2 Jun 2015 11:45:22 +0000 (13:45 +0200)]
Reuse code from our classes, don't write own algorithms
Mikael Nordfeldth [Tue, 2 Jun 2015 11:17:51 +0000 (13:17 +0200)]
typing, added typing to some common_* calls in util.php
Mikael Nordfeldth [Tue, 2 Jun 2015 11:13:55 +0000 (13:13 +0200)]
use array_key_exists instead of empty to test array key
Mikael Nordfeldth [Tue, 2 Jun 2015 10:58:30 +0000 (12:58 +0200)]
Accidentally presented Atom feed as ActivityStreams JSON
Mikael Nordfeldth [Tue, 2 Jun 2015 08:54:37 +0000 (10:54 +0200)]
No redirect follow on HEAD request (bump to PHP5.5 minimum requirement)
We're using the try-catch-finally clause where "finally" wasn't introduced
until PHP 5.5, so our minimum requirement for GNU social is bumped to that.
Mikael Nordfeldth [Sat, 30 May 2015 21:29:16 +0000 (23:29 +0200)]
Fake recovery by email address, to hide registrants on the site
Mikael Nordfeldth [Sat, 30 May 2015 21:18:17 +0000 (23:18 +0200)]
Password recovery logic cleaned up
Mikael Nordfeldth [Sat, 30 May 2015 14:40:00 +0000 (16:40 +0200)]
slugify console.php prompt name
since PHP thought it was fun to crash on Quitter EspaƱa and I
couldn't be bothered messing with readline
Mikael Nordfeldth [Sat, 30 May 2015 13:41:04 +0000 (15:41 +0200)]
scripts/nukefile.php for blasting crap from the server
Deletes notices and the locally stored file based on File id, as
you may want to just get rid of shit sometimes.
Mikael Nordfeldth [Wed, 27 May 2015 20:37:20 +0000 (22:37 +0200)]
urlhash will _be_ NULL on update, so NOT NULL won't work
Mikael Nordfeldth [Wed, 27 May 2015 19:54:51 +0000 (21:54 +0200)]
remove _all_ file URLs not just the duplicates
Mikael Nordfeldth [Wed, 27 May 2015 19:31:29 +0000 (21:31 +0200)]
upgrade fix for file URLs longer than 191 chars
Mikael Nordfeldth [Wed, 27 May 2015 18:21:05 +0000 (20:21 +0200)]
more debugging info on failed schema.php runSqlSet
Mikael Nordfeldth [Tue, 26 May 2015 11:14:26 +0000 (13:14 +0200)]
Throw exception if Local_group has no corresponding User_group
Mikael Nordfeldth [Tue, 26 May 2015 11:11:08 +0000 (13:11 +0200)]
Throw exception when a Conversation is not found
Mikael Nordfeldth [Tue, 26 May 2015 11:10:37 +0000 (13:10 +0200)]
Redirect to group URL for /nickname pattern
Mikael Nordfeldth [Sun, 10 May 2015 17:41:36 +0000 (19:41 +0200)]
More automated htaccess.sample
Mikael Nordfeldth [Sat, 9 May 2015 13:53:57 +0000 (15:53 +0200)]
magnet URL linkify support
Mikael Nordfeldth [Sun, 3 May 2015 21:07:31 +0000 (23:07 +0200)]
schemacheck hint in newly installed config.php
Mikael Nordfeldth [Sun, 3 May 2015 21:05:47 +0000 (23:05 +0200)]
Allow adding preload token to HSTS header
Use by adding this to config.php:
addPlugin('StrictTransportSecurity', array('preloadToken'=>true));
Mikael Nordfeldth [Sun, 3 May 2015 20:50:44 +0000 (22:50 +0200)]
StrictTransportSecurity syntax fix
Mikael Nordfeldth [Wed, 22 Apr 2015 20:17:50 +0000 (22:17 +0200)]
Merge branch 'quitagram' into nightly
Fixes that make quitagram work better amongst other things.
Mikael Nordfeldth [Wed, 22 Apr 2015 20:13:55 +0000 (22:13 +0200)]
Make it easier to hide attachments list header
Mikael Nordfeldth [Wed, 22 Apr 2015 19:22:02 +0000 (21:22 +0200)]
Fix some ProfileAction stuff, add function profileActionPreparation
Split up files with multiple classes to multiple files for autoload, sorry
for baking this into this commit.
Mikael Nordfeldth [Wed, 22 Apr 2015 18:57:05 +0000 (20:57 +0200)]
getFullname function on Profile class
No need to fix it for User since we shouldn't use that mostly.
Mikael Nordfeldth [Wed, 22 Apr 2015 17:50:56 +0000 (19:50 +0200)]
MobileProfile plugin cleanup
Mikael Nordfeldth [Wed, 22 Apr 2015 17:44:58 +0000 (19:44 +0200)]
Easier to modify DTD for HTMLOutputter
Mikael Nordfeldth [Wed, 22 Apr 2015 16:41:54 +0000 (18:41 +0200)]
minor coding fixes
Mikael Nordfeldth [Tue, 21 Apr 2015 21:47:55 +0000 (23:47 +0200)]
deleteuser script changed to deleteprofile
Delete remote profiles by providing their ID if known, or you can
provide their profile URI with --uri=https://...
Useful for cleaning up old, long gone and no longer desired profiles
and their notices.
Mikael Nordfeldth [Sun, 19 Apr 2015 22:26:16 +0000 (00:26 +0200)]
Better typing in lib/framework.php
Mikael Nordfeldth [Sun, 19 Apr 2015 22:26:00 +0000 (00:26 +0200)]
We already throw exceptions for PEAR errors
Mikael Nordfeldth [Sun, 19 Apr 2015 22:02:13 +0000 (00:02 +0200)]
Get better PEAR:DB error logging (debuginfo included)
Mikael Nordfeldth [Sun, 19 Apr 2015 19:12:26 +0000 (21:12 +0200)]
ksort on commands array to avoid converting to numerical array
Mikael Nordfeldth [Wed, 15 Apr 2015 22:22:09 +0000 (00:22 +0200)]
Clearer warning message on non-existing file
Mikael Nordfeldth [Wed, 15 Apr 2015 21:56:23 +0000 (23:56 +0200)]
file_redirection duplicates are removed too in maintenance script
Mikael Nordfeldth [Wed, 15 Apr 2015 21:26:24 +0000 (23:26 +0200)]
remove duplicate file URLs script
Mikael Nordfeldth [Wed, 15 Apr 2015 21:25:12 +0000 (23:25 +0200)]
File_to_post indexing and cleaning preparations
Mikael Nordfeldth [Tue, 14 Apr 2015 20:01:22 +0000 (22:01 +0200)]
Translation contained bad HTML
Mikael Nordfeldth [Tue, 14 Apr 2015 19:40:09 +0000 (21:40 +0200)]
latest php-gettext from https://code.launchpad.net/~danilo/php-gettext/
Mikael Nordfeldth [Mon, 13 Apr 2015 19:51:35 +0000 (21:51 +0200)]
If /var/run was unwritable stopdaemons did not find pid file
Mikael Nordfeldth [Fri, 10 Apr 2015 20:16:44 +0000 (22:16 +0200)]
filename is never used for indexing so let's make it text
varchar is pretty limited so let's avoid it if we can
Mikael Nordfeldth [Fri, 10 Apr 2015 11:15:12 +0000 (13:15 +0200)]
removed unused config setting
Mikael Nordfeldth [Thu, 9 Apr 2015 10:27:04 +0000 (12:27 +0200)]
We're logging this already elsewhere
Mikael Nordfeldth [Thu, 9 Apr 2015 10:17:31 +0000 (12:17 +0200)]
ImPlugin classes generally require background daemons in CLI
If someone designs an ImPlugin which _doesn't_ require the queues to be
handled in background daemons then they can set the requires_cli property
to false in their class.
Mikael Nordfeldth [Thu, 9 Apr 2015 10:15:34 +0000 (12:15 +0200)]
OpportunisticQM shouldn't try to handle what it can't find
Mikael Nordfeldth [Mon, 6 Apr 2015 15:35:29 +0000 (17:35 +0200)]
Fix "unique notice form ID" code for reply forms
Mikael Nordfeldth [Sun, 5 Apr 2015 19:35:54 +0000 (21:35 +0200)]
Don't use <object> for application/ogg
...this was actually because it would autoplay in Iceweasel/Firefox
despite all parameters for autoplay/autostart being set to false or 0.
Mikael Nordfeldth [Sun, 5 Apr 2015 18:24:17 +0000 (20:24 +0200)]
enclosures in Atom were not included
Mikael Nordfeldth [Sun, 5 Apr 2015 13:44:04 +0000 (15:44 +0200)]
Revert "Inverse logic error in OembedPlugin"
This reverts commit
9ab996d9e6bee90e2f96a2a17e453a6deebd4a96 .
Mikael Nordfeldth [Sun, 5 Apr 2015 13:35:54 +0000 (15:35 +0200)]
Merge branch 'nightly'
Conflicts:
INSTALL
Mikael Nordfeldth [Fri, 3 Apr 2015 19:21:39 +0000 (21:21 +0200)]
File_thumbnail->getUrl now gives Attachment_thumbnail action URL
That in turn redirects to the statically stored file.
Mikael Nordfeldth [Fri, 3 Apr 2015 19:00:19 +0000 (21:00 +0200)]
Allow oEmbed data from all sites by default
Mikael Nordfeldth [Fri, 3 Apr 2015 18:59:56 +0000 (20:59 +0200)]
Inverse logic error in OembedPlugin
Mikael Nordfeldth [Fri, 3 Apr 2015 18:58:12 +0000 (20:58 +0200)]
bad URL is a clientError
Mikael Nordfeldth [Fri, 3 Apr 2015 18:47:08 +0000 (20:47 +0200)]
oEmbed Action logic simplified (early return)
Mikael Nordfeldth [Fri, 3 Apr 2015 18:11:55 +0000 (20:11 +0200)]
oEmbed helper never finished because of "break 2;"
Mikael Nordfeldth [Sun, 15 Mar 2015 13:35:29 +0000 (14:35 +0100)]
Filter out img, video and audio tags in notice HTML
Because we don't want to auto-fetch items from a remote server. Such
items should be delivered as attachment metadata and portrayed in the
way the local instance chooses.
Choices for portrayal are either simply nullifying this and embedding
the data, linking the file remotely requiring a manual click or maybe
use remote oEmbed data etc. to download files locally so no remote
requests have to be made.
Mikael Nordfeldth [Sun, 15 Mar 2015 13:22:36 +0000 (14:22 +0100)]
Marcus Moeller fixed some layout bugs I introduced
Mikael Nordfeldth [Sat, 14 Mar 2015 15:04:03 +0000 (16:04 +0100)]
imitate ->boolean with $def=false
Mikael Nordfeldth [Fri, 13 Mar 2015 20:02:39 +0000 (21:02 +0100)]
php5-intl is required
Mikael Nordfeldth [Fri, 13 Mar 2015 08:49:09 +0000 (09:49 +0100)]
No need to do pkeyGet if not repeated (thanks hannes)
Kind of reverts commit
d9ed2a0
Mikael Nordfeldth [Thu, 12 Mar 2015 23:19:08 +0000 (00:19 +0100)]
repeated did not always find the Notice (deleted?)
Mikael Nordfeldth [Thu, 12 Mar 2015 23:02:48 +0000 (00:02 +0100)]
Add repeated_id to SimpleStatusArray for Qvitter's benefit
Mikael Nordfeldth [Thu, 12 Mar 2015 21:56:25 +0000 (22:56 +0100)]
Moving some more repeat stuff into the Share plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 21:17:08 +0000 (22:17 +0100)]
Notice properties set in bad order on activityobject saving
Mikael Nordfeldth [Thu, 12 Mar 2015 20:56:18 +0000 (21:56 +0100)]
Share never actually set the repeat_of value
Mikael Nordfeldth [Thu, 12 Mar 2015 20:53:44 +0000 (21:53 +0100)]
Event fixes for activityhandlerplugin
Mikael Nordfeldth [Thu, 12 Mar 2015 20:46:10 +0000 (21:46 +0100)]
repeat actions to Share plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 19:54:06 +0000 (20:54 +0100)]
Merge branch 'nightly' into repeat_as_shareplugin
Mikael Nordfeldth [Thu, 12 Mar 2015 19:47:07 +0000 (20:47 +0100)]
ImageFile->resize now totally replaced with resizeTo
Mikael Nordfeldth [Thu, 12 Mar 2015 18:49:20 +0000 (19:49 +0100)]
Repeats shown in threaded noticelist now handled by plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 18:22:05 +0000 (19:22 +0100)]
Finalize move of 'repeat' Command
Mikael Nordfeldth [Thu, 12 Mar 2015 16:03:37 +0000 (17:03 +0100)]
Why did I keep these functions from FavoritePlugin?
Mikael Nordfeldth [Thu, 12 Mar 2015 15:59:50 +0000 (16:59 +0100)]
Receiving Share activity fixes
Forgot to translate 'self' to 'Ostatus_profile' etc.
Mikael Nordfeldth [Thu, 12 Mar 2015 15:33:34 +0000 (16:33 +0100)]
Share plugin now handles showing form in NoticeOptionItems
Mikael Nordfeldth [Thu, 12 Mar 2015 14:58:57 +0000 (15:58 +0100)]
Move share command interpretation to SharePlugin
Some fixes to the SharePlugin.php file came along
Mikael Nordfeldth [Thu, 12 Mar 2015 14:53:59 +0000 (15:53 +0100)]
Remove unnecessary require lines and definitions
ProfileNoticeList and ProfileNoticeListItem are in their own files now too
Mikael Nordfeldth [Thu, 12 Mar 2015 14:53:28 +0000 (15:53 +0100)]
Add ProfileNoticeList[Item] as separate lib class files
Mikael Nordfeldth [Thu, 12 Mar 2015 14:47:21 +0000 (15:47 +0100)]
Moving Ostatus_profile processShare to SharePlugin
Mikael Nordfeldth [Thu, 12 Mar 2015 14:21:23 +0000 (15:21 +0100)]
Merge branch 'nightly' into repeat_as_shareplugin
Mikael Nordfeldth [Thu, 12 Mar 2015 11:52:07 +0000 (12:52 +0100)]
Repeat confirmation dialogbox fix
until we use jQuery UI dialog stuff
Mikael Nordfeldth [Thu, 12 Mar 2015 11:27:49 +0000 (12:27 +0100)]
Initial work on making the Share verb handled in plugin
Mikael Nordfeldth [Tue, 10 Mar 2015 23:20:48 +0000 (00:20 +0100)]
ImageFile $id argument is only for File objects
Remember to eliminate the Avatar/group logo call to ImageFile->resize!
Mikael Nordfeldth [Tue, 10 Mar 2015 23:13:55 +0000 (00:13 +0100)]
Same as last commit, don't give ID if it's not for a File object
Mikael Nordfeldth [Tue, 10 Mar 2015 22:52:50 +0000 (23:52 +0100)]
ImageFile should not have an $id set if not a File
Mikael Nordfeldth [Tue, 10 Mar 2015 20:47:28 +0000 (21:47 +0100)]
javascript fixes for reply form fetching
It doesn't update the ID properly yet, which should be done to avoid
creating duplicate forms which are identical to HTML parsers...