]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
9 years agoGROUPS_PER_MINILIST was undefined in profileaction.php
Mikael Nordfeldth [Fri, 5 Jun 2015 12:07:03 +0000 (14:07 +0200)]
GROUPS_PER_MINILIST was undefined in profileaction.php

9 years agoNetwork wide feed link would NEVER show!
Mikael Nordfeldth [Fri, 5 Jun 2015 12:01:03 +0000 (14:01 +0200)]
Network wide feed link would NEVER show!

9 years agoOops, don't forget to remove var_dump(...)
Mikael Nordfeldth [Thu, 4 Jun 2015 20:34:28 +0000 (22:34 +0200)]
Oops, don't forget to remove var_dump(...)

9 years agoModernize File_redirection to use Managed_DataObject functions
Mikael Nordfeldth [Thu, 4 Jun 2015 20:33:36 +0000 (22:33 +0200)]
Modernize File_redirection to use Managed_DataObject functions

9 years agoModernize File_thumbnail to use Managed_DataObject functions
Mikael Nordfeldth [Thu, 4 Jun 2015 20:29:40 +0000 (22:29 +0200)]
Modernize File_thumbnail to use Managed_DataObject functions

9 years agoModernize Queue_item to use Managed_DataObject functions
Mikael Nordfeldth [Thu, 4 Jun 2015 20:27:53 +0000 (22:27 +0200)]
Modernize Queue_item to use Managed_DataObject functions

9 years agoModernize Profile_prefs to use Managed_DataObject functions
Mikael Nordfeldth [Thu, 4 Jun 2015 20:26:31 +0000 (22:26 +0200)]
Modernize Profile_prefs to use Managed_DataObject functions

9 years agoModernize File_to_post to use Managed_DataObject functions
Mikael Nordfeldth [Thu, 4 Jun 2015 20:22:49 +0000 (22:22 +0200)]
Modernize File_to_post to use Managed_DataObject functions

9 years agogetByPK (primary key) lookup for Managed_DataObject instances
Mikael Nordfeldth [Thu, 4 Jun 2015 20:17:40 +0000 (22:17 +0200)]
getByPK (primary key) lookup for Managed_DataObject instances

9 years agoEasier pkeyCols call to get primary key columns
Mikael Nordfeldth [Thu, 4 Jun 2015 19:51:56 +0000 (21:51 +0200)]
Easier pkeyCols call to get primary key columns

9 years agoPublish OAuth data in host-meta
Mikael Nordfeldth [Thu, 4 Jun 2015 16:54:09 +0000 (18:54 +0200)]
Publish OAuth data in host-meta

9 years agoNetwork public publicgroupnav link would always show
Mikael Nordfeldth [Thu, 4 Jun 2015 15:39:23 +0000 (17:39 +0200)]
Network public publicgroupnav link would always show

9 years agoSend objects instead of integers to File_to_post::processNew
Mikael Nordfeldth [Thu, 4 Jun 2015 15:36:11 +0000 (17:36 +0200)]
Send objects instead of integers to File_to_post::processNew

9 years agoUse the same cache string in all places for file:notice-ids
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

9 years agoRemove some clutter from OMB plugin
Mikael Nordfeldth [Wed, 3 Jun 2015 23:14:26 +0000 (01:14 +0200)]
Remove some clutter from OMB plugin

9 years agoMove some last OpenID stuff into the OpenID plugin (XRDS)
Mikael Nordfeldth [Wed, 3 Jun 2015 23:08:03 +0000 (01:08 +0200)]
Move some last OpenID stuff into the OpenID plugin (XRDS)

9 years agodon't double the output for some PublicAction->extraHead
Mikael Nordfeldth [Wed, 3 Jun 2015 22:56:46 +0000 (00:56 +0200)]
don't double the output for some PublicAction->extraHead

9 years agoShow network public feed link in PublicGroupNav
Mikael Nordfeldth [Wed, 3 Jun 2015 22:53:35 +0000 (00:53 +0200)]
Show network public feed link in PublicGroupNav

9 years agoExtend Networkpublic and Public actions from SitestreamAction
Mikael Nordfeldth [Wed, 3 Jun 2015 22:50:08 +0000 (00:50 +0200)]
Extend Networkpublic and Public actions from SitestreamAction

9 years agobump version to 1.2.0-alpha1
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

9 years agocase insensitive indexing for content and nick/fullnames (search)
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!

9 years agoreturn logic tidied up for command interpretation
Mikael Nordfeldth [Tue, 2 Jun 2015 12:25:45 +0000 (14:25 +0200)]
return logic tidied up for command interpretation

9 years agoinitialize command interpretation result to false
Mikael Nordfeldth [Tue, 2 Jun 2015 12:17:59 +0000 (14:17 +0200)]
initialize command interpretation result to false

9 years agofallback to local URL if reply->getUrl() is missing
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.

9 years agoStart using NoParentNoticeException more widely
Mikael Nordfeldth [Tue, 2 Jun 2015 11:50:52 +0000 (13:50 +0200)]
Start using NoParentNoticeException more widely

9 years agoNotice->getParent code reuse
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...

9 years agoReuse code from our classes, don't write own algorithms
Mikael Nordfeldth [Tue, 2 Jun 2015 11:45:22 +0000 (13:45 +0200)]
Reuse code from our classes, don't write own algorithms

9 years agotyping, added typing to some common_* calls in util.php
Mikael Nordfeldth [Tue, 2 Jun 2015 11:17:51 +0000 (13:17 +0200)]
typing, added typing to some common_* calls in util.php

9 years agouse array_key_exists instead of empty to test array key
Mikael Nordfeldth [Tue, 2 Jun 2015 11:13:55 +0000 (13:13 +0200)]
use array_key_exists instead of empty to test array key

9 years agoAccidentally presented Atom feed as ActivityStreams JSON
Mikael Nordfeldth [Tue, 2 Jun 2015 10:58:30 +0000 (12:58 +0200)]
Accidentally presented Atom feed as ActivityStreams JSON

9 years agoNo redirect follow on HEAD request (bump to PHP5.5 minimum requirement)
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.

9 years agoFake recovery by email address, to hide registrants on the site
Mikael Nordfeldth [Sat, 30 May 2015 21:29:16 +0000 (23:29 +0200)]
Fake recovery by email address, to hide registrants on the site

9 years agoPassword recovery logic cleaned up
Mikael Nordfeldth [Sat, 30 May 2015 21:18:17 +0000 (23:18 +0200)]
Password recovery logic cleaned up

9 years agoslugify console.php prompt name
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

9 years agoscripts/nukefile.php for blasting crap from the server
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.

9 years agourlhash will _be_ NULL on update, so NOT NULL won't work
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

9 years agoremove _all_ file URLs not just the duplicates
Mikael Nordfeldth [Wed, 27 May 2015 19:54:51 +0000 (21:54 +0200)]
remove _all_ file URLs not just the duplicates

9 years agoupgrade fix for file URLs longer than 191 chars
Mikael Nordfeldth [Wed, 27 May 2015 19:31:29 +0000 (21:31 +0200)]
upgrade fix for file URLs longer than 191 chars

9 years agomore debugging info on failed schema.php runSqlSet
Mikael Nordfeldth [Wed, 27 May 2015 18:21:05 +0000 (20:21 +0200)]
more debugging info on failed schema.php runSqlSet

9 years agoThrow exception if Local_group has no corresponding User_group
Mikael Nordfeldth [Tue, 26 May 2015 11:14:26 +0000 (13:14 +0200)]
Throw exception if Local_group has no corresponding User_group

9 years agoThrow exception when a Conversation is not found
Mikael Nordfeldth [Tue, 26 May 2015 11:11:08 +0000 (13:11 +0200)]
Throw exception when a Conversation is not found

9 years agoRedirect to group URL for /nickname pattern
Mikael Nordfeldth [Tue, 26 May 2015 11:10:37 +0000 (13:10 +0200)]
Redirect to group URL for /nickname pattern

9 years agoMore automated htaccess.sample
Mikael Nordfeldth [Sun, 10 May 2015 17:41:36 +0000 (19:41 +0200)]
More automated htaccess.sample

9 years agomagnet URL linkify support
Mikael Nordfeldth [Sat, 9 May 2015 13:53:57 +0000 (15:53 +0200)]
magnet URL linkify support

9 years agoschemacheck hint in newly installed config.php
Mikael Nordfeldth [Sun, 3 May 2015 21:07:31 +0000 (23:07 +0200)]
schemacheck hint in newly installed config.php

9 years agoAllow adding preload token to HSTS header
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));

9 years agoStrictTransportSecurity syntax fix
Mikael Nordfeldth [Sun, 3 May 2015 20:50:44 +0000 (22:50 +0200)]
StrictTransportSecurity syntax fix

9 years agoMerge branch 'quitagram' into nightly
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.

9 years agoMake it easier to hide attachments list header
Mikael Nordfeldth [Wed, 22 Apr 2015 20:13:55 +0000 (22:13 +0200)]
Make it easier to hide attachments list header

9 years agoFix some ProfileAction stuff, add function profileActionPreparation
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.

9 years agogetFullname function on Profile class
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.

9 years agoMobileProfile plugin cleanup
Mikael Nordfeldth [Wed, 22 Apr 2015 17:50:56 +0000 (19:50 +0200)]
MobileProfile plugin cleanup

9 years agoEasier to modify DTD for HTMLOutputter
Mikael Nordfeldth [Wed, 22 Apr 2015 17:44:58 +0000 (19:44 +0200)]
Easier to modify DTD for HTMLOutputter

9 years agominor coding fixes
Mikael Nordfeldth [Wed, 22 Apr 2015 16:41:54 +0000 (18:41 +0200)]
minor coding fixes

9 years agodeleteuser script changed to deleteprofile
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.

9 years agoBetter typing in lib/framework.php
Mikael Nordfeldth [Sun, 19 Apr 2015 22:26:16 +0000 (00:26 +0200)]
Better typing in lib/framework.php

9 years agoWe already throw exceptions for PEAR errors
Mikael Nordfeldth [Sun, 19 Apr 2015 22:26:00 +0000 (00:26 +0200)]
We already throw exceptions for PEAR errors

9 years agoGet better PEAR:DB error logging (debuginfo included)
Mikael Nordfeldth [Sun, 19 Apr 2015 22:02:13 +0000 (00:02 +0200)]
Get better PEAR:DB error logging (debuginfo included)

9 years agoksort on commands array to avoid converting to numerical array
Mikael Nordfeldth [Sun, 19 Apr 2015 19:12:26 +0000 (21:12 +0200)]
ksort on commands array to avoid converting to numerical array

9 years agoClearer warning message on non-existing file
Mikael Nordfeldth [Wed, 15 Apr 2015 22:22:09 +0000 (00:22 +0200)]
Clearer warning message on non-existing file

9 years agofile_redirection duplicates are removed too in maintenance script
Mikael Nordfeldth [Wed, 15 Apr 2015 21:56:23 +0000 (23:56 +0200)]
file_redirection duplicates are removed too in maintenance script

9 years agoremove duplicate file URLs script
Mikael Nordfeldth [Wed, 15 Apr 2015 21:26:24 +0000 (23:26 +0200)]
remove duplicate file URLs script

9 years agoFile_to_post indexing and cleaning preparations
Mikael Nordfeldth [Wed, 15 Apr 2015 21:25:12 +0000 (23:25 +0200)]
File_to_post indexing and cleaning preparations

9 years agoTranslation contained bad HTML
Mikael Nordfeldth [Tue, 14 Apr 2015 20:01:22 +0000 (22:01 +0200)]
Translation contained bad HTML

9 years agolatest php-gettext from https://code.launchpad.net/~danilo/php-gettext/
Mikael Nordfeldth [Tue, 14 Apr 2015 19:40:09 +0000 (21:40 +0200)]
latest php-gettext from https://code.launchpad.net/~danilo/php-gettext/

9 years agoIf /var/run was unwritable stopdaemons did not find pid file
Mikael Nordfeldth [Mon, 13 Apr 2015 19:51:35 +0000 (21:51 +0200)]
If /var/run was unwritable stopdaemons did not find pid file

9 years agofilename is never used for indexing so let's make it text
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

9 years agoremoved unused config setting
Mikael Nordfeldth [Fri, 10 Apr 2015 11:15:12 +0000 (13:15 +0200)]
removed unused config setting

9 years agoWe're logging this already elsewhere
Mikael Nordfeldth [Thu, 9 Apr 2015 10:27:04 +0000 (12:27 +0200)]
We're logging this already elsewhere

9 years agoImPlugin classes generally require background daemons in CLI
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.

9 years agoOpportunisticQM shouldn't try to handle what it can't find
Mikael Nordfeldth [Thu, 9 Apr 2015 10:15:34 +0000 (12:15 +0200)]
OpportunisticQM shouldn't try to handle what it can't find

9 years agoFix "unique notice form ID" code for reply forms
Mikael Nordfeldth [Mon, 6 Apr 2015 15:35:29 +0000 (17:35 +0200)]
Fix "unique notice form ID" code for reply forms

9 years agoDon't use <object> for application/ogg
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.

9 years agoenclosures in Atom were not included
Mikael Nordfeldth [Sun, 5 Apr 2015 18:24:17 +0000 (20:24 +0200)]
enclosures in Atom were not included

9 years agoRevert "Inverse logic error in OembedPlugin"
Mikael Nordfeldth [Sun, 5 Apr 2015 13:44:04 +0000 (15:44 +0200)]
Revert "Inverse logic error in OembedPlugin"

This reverts commit 9ab996d9e6bee90e2f96a2a17e453a6deebd4a96.

9 years agoMerge branch 'nightly'
Mikael Nordfeldth [Sun, 5 Apr 2015 13:35:54 +0000 (15:35 +0200)]
Merge branch 'nightly'

Conflicts:
INSTALL

9 years agoFile_thumbnail->getUrl now gives Attachment_thumbnail action URL
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.

9 years agoAllow oEmbed data from all sites by default
Mikael Nordfeldth [Fri, 3 Apr 2015 19:00:19 +0000 (21:00 +0200)]
Allow oEmbed data from all sites by default

9 years agoInverse logic error in OembedPlugin
Mikael Nordfeldth [Fri, 3 Apr 2015 18:59:56 +0000 (20:59 +0200)]
Inverse logic error in OembedPlugin

9 years agobad URL is a clientError
Mikael Nordfeldth [Fri, 3 Apr 2015 18:58:12 +0000 (20:58 +0200)]
bad URL is a clientError

9 years agooEmbed Action logic simplified (early return)
Mikael Nordfeldth [Fri, 3 Apr 2015 18:47:08 +0000 (20:47 +0200)]
oEmbed Action logic simplified (early return)

9 years agooEmbed helper never finished because of "break 2;"
Mikael Nordfeldth [Fri, 3 Apr 2015 18:11:55 +0000 (20:11 +0200)]
oEmbed helper never finished because of "break 2;"

9 years agoFilter out img, video and audio tags in notice HTML
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.

9 years agoMarcus Moeller fixed some layout bugs I introduced
Mikael Nordfeldth [Sun, 15 Mar 2015 13:22:36 +0000 (14:22 +0100)]
Marcus Moeller fixed some layout bugs I introduced

9 years agoimitate ->boolean with $def=false
Mikael Nordfeldth [Sat, 14 Mar 2015 15:04:03 +0000 (16:04 +0100)]
imitate ->boolean with $def=false

9 years agophp5-intl is required
Mikael Nordfeldth [Fri, 13 Mar 2015 20:02:39 +0000 (21:02 +0100)]
php5-intl is required

9 years agoNo need to do pkeyGet if not repeated (thanks hannes)
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

9 years agorepeated did not always find the Notice (deleted?)
Mikael Nordfeldth [Thu, 12 Mar 2015 23:19:08 +0000 (00:19 +0100)]
repeated did not always find the Notice (deleted?)

9 years agoAdd repeated_id to SimpleStatusArray for Qvitter's benefit
Mikael Nordfeldth [Thu, 12 Mar 2015 23:02:48 +0000 (00:02 +0100)]
Add repeated_id to SimpleStatusArray for Qvitter's benefit

9 years agoMoving some more repeat stuff into the Share plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 21:56:25 +0000 (22:56 +0100)]
Moving some more repeat stuff into the Share plugin

9 years agoNotice properties set in bad order on activityobject saving
Mikael Nordfeldth [Thu, 12 Mar 2015 21:17:08 +0000 (22:17 +0100)]
Notice properties set in bad order on activityobject saving

9 years agoShare never actually set the repeat_of value
Mikael Nordfeldth [Thu, 12 Mar 2015 20:56:18 +0000 (21:56 +0100)]
Share never actually set the repeat_of value

9 years agoEvent fixes for activityhandlerplugin
Mikael Nordfeldth [Thu, 12 Mar 2015 20:53:44 +0000 (21:53 +0100)]
Event fixes for activityhandlerplugin

9 years agorepeat actions to Share plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 20:46:10 +0000 (21:46 +0100)]
repeat actions to Share plugin

9 years agoMerge branch 'nightly' into repeat_as_shareplugin
Mikael Nordfeldth [Thu, 12 Mar 2015 19:54:06 +0000 (20:54 +0100)]
Merge branch 'nightly' into repeat_as_shareplugin

9 years agoImageFile->resize now totally replaced with resizeTo
Mikael Nordfeldth [Thu, 12 Mar 2015 19:47:07 +0000 (20:47 +0100)]
ImageFile->resize now totally replaced with resizeTo

9 years agoRepeats shown in threaded noticelist now handled by plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 18:49:20 +0000 (19:49 +0100)]
Repeats shown in threaded noticelist now handled by plugin

9 years agoFinalize move of 'repeat' Command
Mikael Nordfeldth [Thu, 12 Mar 2015 18:22:05 +0000 (19:22 +0100)]
Finalize move of 'repeat' Command

9 years agoWhy did I keep these functions from FavoritePlugin?
Mikael Nordfeldth [Thu, 12 Mar 2015 16:03:37 +0000 (17:03 +0100)]
Why did I keep these functions from FavoritePlugin?

9 years agoReceiving Share activity fixes
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.