]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
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.

9 years agoShare plugin now handles showing form in NoticeOptionItems
Mikael Nordfeldth [Thu, 12 Mar 2015 15:33:34 +0000 (16:33 +0100)]
Share plugin now handles showing form in NoticeOptionItems

9 years agoMove share command interpretation to SharePlugin
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

9 years agoRemove unnecessary require lines and definitions
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

9 years agoAdd ProfileNoticeList[Item] as separate lib class files
Mikael Nordfeldth [Thu, 12 Mar 2015 14:53:28 +0000 (15:53 +0100)]
Add ProfileNoticeList[Item] as separate lib class files

9 years agoMoving Ostatus_profile processShare to SharePlugin
Mikael Nordfeldth [Thu, 12 Mar 2015 14:47:21 +0000 (15:47 +0100)]
Moving Ostatus_profile processShare to SharePlugin

9 years agoMerge branch 'nightly' into repeat_as_shareplugin
Mikael Nordfeldth [Thu, 12 Mar 2015 14:21:23 +0000 (15:21 +0100)]
Merge branch 'nightly' into repeat_as_shareplugin

9 years agoRepeat confirmation dialogbox fix
Mikael Nordfeldth [Thu, 12 Mar 2015 11:52:07 +0000 (12:52 +0100)]
Repeat confirmation dialogbox fix

until we use jQuery UI dialog stuff

9 years agoInitial work on making the Share verb handled in plugin
Mikael Nordfeldth [Thu, 12 Mar 2015 11:27:49 +0000 (12:27 +0100)]
Initial work on making the Share verb handled in plugin

9 years agoImageFile $id argument is only for File objects
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!

9 years agoSame as last commit, don't give ID if it's not for a File object
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

9 years agoImageFile should not have an $id set if not a File
Mikael Nordfeldth [Tue, 10 Mar 2015 22:52:50 +0000 (23:52 +0100)]
ImageFile should not have an $id set if not a File

9 years agojavascript fixes for reply form fetching
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...

9 years agoFormAction wants getInstructions to be protected
Mikael Nordfeldth [Tue, 10 Mar 2015 20:46:33 +0000 (21:46 +0100)]
FormAction wants getInstructions to be protected

only showInstructions is public

9 years agomore descriptive setting name
Mikael Nordfeldth [Tue, 10 Mar 2015 17:10:27 +0000 (18:10 +0100)]
more descriptive setting name

9 years agoSiteNoticeInSidebar widget did not define divId()
Mikael Nordfeldth [Tue, 10 Mar 2015 16:33:58 +0000 (17:33 +0100)]
SiteNoticeInSidebar widget did not define divId()

9 years agoActivityVerb is a core plugin
Mikael Nordfeldth [Tue, 10 Mar 2015 16:24:23 +0000 (17:24 +0100)]
ActivityVerb is a core plugin

9 years agoFavoritePlugin is now an "ActivityVerbHandlerPlugin"
Mikael Nordfeldth [Tue, 10 Mar 2015 14:39:35 +0000 (15:39 +0100)]
FavoritePlugin is now an "ActivityVerbHandlerPlugin"

9 years agoLet the creator decide which HTML tag to use for NoticeListItem
Mikael Nordfeldth [Tue, 10 Mar 2015 12:07:36 +0000 (13:07 +0100)]
Let the creator decide which HTML tag to use for NoticeListItem

9 years agoNotice elements don't need to be floating...
Mikael Nordfeldth [Tue, 10 Mar 2015 11:09:20 +0000 (12:09 +0100)]
Notice elements don't need to be floating...

Maybe it was originally meant to be without a comma between .notice and .profile?

9 years agoMove AlreadyFulfilled check to Fave::addNew
Mikael Nordfeldth [Tue, 10 Mar 2015 10:50:16 +0000 (11:50 +0100)]
Move AlreadyFulfilled check to Fave::addNew