]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
8 years agoStrictify Notice->isPublic()
Mikael Nordfeldth [Thu, 24 Mar 2016 00:54:33 +0000 (01:54 +0100)]
Strictify Notice->isPublic()

8 years agoStricter typing in Realtime plugin functions
Mikael Nordfeldth [Thu, 24 Mar 2016 00:41:58 +0000 (01:41 +0100)]
Stricter typing in Realtime plugin functions

8 years agoAttachment and file handling since we could get NULL instead of File
Mikael Nordfeldth [Wed, 23 Mar 2016 16:53:38 +0000 (17:53 +0100)]
Attachment and file handling since we could get NULL instead of File

8 years agoDebugging output in OStatus for easier reading+greping
Mikael Nordfeldth [Wed, 23 Mar 2016 16:52:02 +0000 (17:52 +0100)]
Debugging output in OStatus for easier reading+greping

8 years agoNot really necessary in practice but makes better queries
Mikael Nordfeldth [Wed, 23 Mar 2016 16:51:13 +0000 (17:51 +0100)]
Not really necessary in practice but makes better queries

8 years agoIf upgraded from http to https, keep hubsub->topic up to date too (thanks hannes2peer)
Mikael Nordfeldth [Wed, 23 Mar 2016 14:25:21 +0000 (15:25 +0100)]
If upgraded from http to https, keep hubsub->topic up to date too (thanks hannes2peer)

8 years agoUse the new onUpdateKeys in dataobject for tasks on-update of keys
Mikael Nordfeldth [Wed, 23 Mar 2016 14:22:34 +0000 (15:22 +0100)]
Use the new onUpdateKeys in dataobject for tasks on-update of keys

sets the hashkey column of the row to sha1(topic + '|' + callback)

8 years agoChange config webfinger/http_alias to fix/legacy_http
Mikael Nordfeldth [Wed, 23 Mar 2016 14:21:02 +0000 (15:21 +0100)]
Change config webfinger/http_alias to fix/legacy_http

Set $config['fix']['legacy_http'] to perform some actions that are
needed if your site used to be served over http but now has upgraded
to https!

8 years agoAllow actions to be performed on updateWithKeys
Mikael Nordfeldth [Wed, 23 Mar 2016 14:19:50 +0000 (15:19 +0100)]
Allow actions to be performed on updateWithKeys

Avoids overloading and lets dataobject classes use onUpdateKeys()
to do special stuff, like if a key is made up of a hash of other fields etc.

8 years agoForgot a microsummary route in the latest commit
Mikael Nordfeldth [Tue, 22 Mar 2016 21:37:59 +0000 (22:37 +0100)]
Forgot a microsummary route in the latest commit

8 years agoMicrosummaries had issues and were removed in Firefox 6.0 anyway
Mikael Nordfeldth [Tue, 22 Mar 2016 21:31:01 +0000 (22:31 +0100)]
Microsummaries had issues and were removed in Firefox 6.0 anyway

It is argued there are many better ways to get a "micro summary" of
a profile or site.

8 years agoIf the attachment is a photo, don't replace representation in oEmbed
Mikael Nordfeldth [Tue, 22 Mar 2016 13:02:36 +0000 (14:02 +0100)]
If the attachment is a photo, don't replace representation in oEmbed

8 years agoentry attachment css
Mikael Nordfeldth [Mon, 21 Mar 2016 23:03:22 +0000 (00:03 +0100)]
entry attachment css

8 years agodoActionPost for delete should use deleteAs
Mikael Nordfeldth [Mon, 21 Mar 2016 17:07:29 +0000 (18:07 +0100)]
doActionPost for delete should use deleteAs

8 years agoJust some comment clarification
Mikael Nordfeldth [Mon, 21 Mar 2016 16:50:06 +0000 (17:50 +0100)]
Just some comment clarification

8 years agoNotice->deleteRelated should be called from delete()
Mikael Nordfeldth [Mon, 21 Mar 2016 16:34:03 +0000 (17:34 +0100)]
Notice->deleteRelated should be called from delete()

8 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Mon, 21 Mar 2016 11:27:04 +0000 (12:27 +0100)]
Merge branch 'master' into mmn_fixes

8 years agoSome Google stuff that need to be there (or comments)
Mikael Nordfeldth [Mon, 21 Mar 2016 11:25:04 +0000 (12:25 +0100)]
Some Google stuff that need to be there (or comments)

Note that these won't be shown to the enduser and will never be accessed automatically.

We should put the salmon-protocol stuff on ostatus.org

8 years agowoops, accidentally deleted updates-from rel on mass Google-deletion
Mikael Nordfeldth [Mon, 21 Mar 2016 11:12:24 +0000 (12:12 +0100)]
woops, accidentally deleted updates-from rel on mass Google-deletion

8 years agowoops, accidentally deleted updates-from rel on mass Google-deletion
Mikael Nordfeldth [Mon, 21 Mar 2016 11:12:24 +0000 (12:12 +0100)]
woops, accidentally deleted updates-from rel on mass Google-deletion

8 years agoAvoid "property of non-object" PHP notice.
Mikael Nordfeldth [Mon, 21 Mar 2016 10:17:25 +0000 (11:17 +0100)]
Avoid "property of non-object" PHP notice.

8 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Mon, 21 Mar 2016 02:24:15 +0000 (03:24 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes

8 years agogeometa.js doesn't exist anymore
Mikael Nordfeldth [Mon, 21 Mar 2016 02:11:22 +0000 (03:11 +0100)]
geometa.js doesn't exist anymore

8 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Mon, 21 Mar 2016 02:21:51 +0000 (03:21 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes

8 years agoMerge branch 'new-avatar' into 'master'
mmn [Mon, 21 Mar 2016 02:21:39 +0000 (22:21 -0400)]
Merge branch 'new-avatar' into 'master'

Changed default avatar in neo-gnu for the more fun @mosphirit gnu.

For now I am going to propose only that change, the default avatar. In the future maybe we can use only one SVG instead multiple PNG but I want to do for now the less changes possible.

See merge request !116

8 years agooEmbed CSS file
Mikael Nordfeldth [Mon, 21 Mar 2016 02:12:24 +0000 (03:12 +0100)]
oEmbed CSS file

8 years agogeometa.js doesn't exist anymore
Mikael Nordfeldth [Mon, 21 Mar 2016 02:11:22 +0000 (03:11 +0100)]
geometa.js doesn't exist anymore

8 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Mon, 21 Mar 2016 02:10:19 +0000 (03:10 +0100)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes

Conflicts:
plugins/Minify/extlib/minify/README.txt
plugins/Minify/extlib/minify/UPGRADING.txt
plugins/Minify/extlib/minify/min/README.txt
plugins/Minify/extlib/minify/min/builder/index.php
plugins/Minify/extlib/minify/min/lib/JSMin.php
plugins/Minify/extlib/minify/min/lib/Minify.php
plugins/Minify/extlib/minify/min/lib/Minify/CSS.php
plugins/Minify/extlib/minify/min/lib/Minify/CSS/Compressor.php
plugins/Minify/extlib/minify/min/lib/Minify/Controller/Page.php
plugins/Minify/extlib/minify/min/lib/Minify/Packer.php
plugins/Recaptcha/RecaptchaPlugin.php

8 years agoMerge branch 'bashrc/remove_google_references' into 'master'
mmn [Mon, 21 Mar 2016 02:07:06 +0000 (22:07 -0400)]
Merge branch 'bashrc/remove_google_references' into 'master'

Remove Google References

This removes most references to:

 - Google Code
 - Google Buzz
 - Google Maps
 - Google Gears
 - General Google services promotion

There are still some remaining Google references, particularly a script within plugins/Minify. You might want to check that to see if it's really necessary and whether the javascript it points to is actually free software.

See merge request !117

8 years agoMinify is evil.
Mikael Nordfeldth [Mon, 21 Mar 2016 02:02:22 +0000 (03:02 +0100)]
Minify is evil.

8 years agoIssue #166 - we test exif data below, no need for error output
Mikael Nordfeldth [Mon, 21 Mar 2016 01:56:47 +0000 (02:56 +0100)]
Issue #166 - we test exif data below, no need for error output

8 years agoFix issue #171 with latent htmLawed reference
Mikael Nordfeldth [Mon, 21 Mar 2016 01:55:10 +0000 (02:55 +0100)]
Fix issue #171 with latent htmLawed reference

8 years agoDon't use default_port for irc schemes
Mikael Nordfeldth [Mon, 21 Mar 2016 01:48:37 +0000 (02:48 +0100)]
Don't use default_port for irc schemes

8 years agoirc and ircs schemes for HTMLPurifier
Mikael Nordfeldth [Mon, 21 Mar 2016 01:46:28 +0000 (02:46 +0100)]
irc and ircs schemes for HTMLPurifier

8 years agoHacky method to avoid cutting conversation "more" link out
Mikael Nordfeldth [Mon, 21 Mar 2016 01:42:28 +0000 (02:42 +0100)]
Hacky method to avoid cutting conversation "more" link out

8 years agoSplit threaded notice list classes into own files.
Mikael Nordfeldth [Mon, 21 Mar 2016 01:33:57 +0000 (02:33 +0100)]
Split threaded notice list classes into own files.

8 years agoRemove Google References
Bob Mottram [Sun, 20 Mar 2016 13:06:58 +0000 (13:06 +0000)]
Remove Google References

This removes most references to Google, with some
remaining since they may point to things which are still
relevant. References to Google Code, Google Buzz and
Google Maps have been removed

8 years agoChanged default avatar in neo-gnu for the more fun @mosphirit gnu.
Carlos SanmartĂ­n Bustos [Sat, 19 Mar 2016 11:53:59 +0000 (12:53 +0100)]
Changed default avatar in neo-gnu for the more fun @mosphirit gnu.

8 years agoFull-content oEmbed html doesn't take up all space (and renders properly)
Mikael Nordfeldth [Thu, 17 Mar 2016 11:58:40 +0000 (12:58 +0100)]
Full-content oEmbed html doesn't take up all space (and renders properly)

8 years agooEmbed neatifying (inspired by Qvitter)
Mikael Nordfeldth [Wed, 16 Mar 2016 23:31:45 +0000 (00:31 +0100)]
oEmbed neatifying (inspired by Qvitter)

8 years agoh5 and h6 don't need margin-bottom methinks
Mikael Nordfeldth [Wed, 16 Mar 2016 23:31:32 +0000 (00:31 +0100)]
h5 and h6 don't need margin-bottom methinks

8 years agoonly direct .inline-attachment children
Mikael Nordfeldth [Wed, 16 Mar 2016 19:37:57 +0000 (20:37 +0100)]
only direct .inline-attachment children

8 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Tue, 15 Mar 2016 15:55:39 +0000 (16:55 +0100)]
Merge branch 'master' into mmn_fixes

8 years agoUpgrading from 1.1.x would make uri fields have length=255
Mikael Nordfeldth [Tue, 15 Mar 2016 15:52:57 +0000 (16:52 +0100)]
Upgrading from 1.1.x would make uri fields have length=255

8 years agoMore verbose salmon debugging
Mikael Nordfeldth [Tue, 15 Mar 2016 15:53:19 +0000 (16:53 +0100)]
More verbose salmon debugging

8 years agoUpgrading from 1.1.x would make uri fields have length=255
Mikael Nordfeldth [Tue, 15 Mar 2016 15:52:57 +0000 (16:52 +0100)]
Upgrading from 1.1.x would make uri fields have length=255

8 years agoUPDATE ActivityVerb
Mikael Nordfeldth [Mon, 14 Mar 2016 14:26:03 +0000 (15:26 +0100)]
UPDATE ActivityVerb

8 years agoWoops, forgot to include this file!
Mikael Nordfeldth [Mon, 14 Mar 2016 14:25:05 +0000 (15:25 +0100)]
Woops, forgot to include this file!

8 years agoRedundant font definitions in CSS
Mikael Nordfeldth [Thu, 10 Mar 2016 14:15:06 +0000 (15:15 +0100)]
Redundant font definitions in CSS

8 years agoMake oEmbed handle our http/https setting better.
Mikael Nordfeldth [Thu, 10 Mar 2016 13:20:21 +0000 (14:20 +0100)]
Make oEmbed handle our http/https setting better.

8 years agoforgot 'new' after throw
Mikael Nordfeldth [Thu, 10 Mar 2016 12:46:19 +0000 (13:46 +0100)]
forgot 'new' after throw

8 years agoMake sure File_thumbnail->getPath() doesn't throw NoResultException
Mikael Nordfeldth [Wed, 9 Mar 2016 22:49:01 +0000 (23:49 +0100)]
Make sure File_thumbnail->getPath() doesn't throw NoResultException

8 years agoDefine-ify excluded end-characters of URL autolinking
Mikael Nordfeldth [Wed, 9 Mar 2016 14:16:47 +0000 (15:16 +0100)]
Define-ify excluded end-characters of URL autolinking

8 years agoReduce the number of allowed characters in auto-linking URLs.
Mikael Nordfeldth [Wed, 9 Mar 2016 14:05:36 +0000 (15:05 +0100)]
Reduce the number of allowed characters in auto-linking URLs.

8 years agoIf our host matched in File lookup, it could throw exceptions on Router->map
Mikael Nordfeldth [Wed, 9 Mar 2016 13:52:15 +0000 (14:52 +0100)]
If our host matched in File lookup, it could throw exceptions on Router->map

8 years agoSave allowed path/qstring/fragment characters in constants
Mikael Nordfeldth [Wed, 9 Mar 2016 13:51:52 +0000 (14:51 +0100)]
Save allowed path/qstring/fragment characters in constants

8 years agothrow exception instead of clientError
Mikael Nordfeldth [Wed, 9 Mar 2016 13:17:55 +0000 (14:17 +0100)]
throw exception instead of clientError

8 years agoLet's be consistent with URL verbs
Mikael Nordfeldth [Tue, 8 Mar 2016 19:01:06 +0000 (20:01 +0100)]
Let's be consistent with URL verbs

8 years agoProfile->noticeCount minor change
Mikael Nordfeldth [Tue, 8 Mar 2016 18:56:25 +0000 (19:56 +0100)]
Profile->noticeCount minor change

8 years agoMatch empty on "" and not just NULL
Mikael Nordfeldth [Tue, 8 Mar 2016 01:00:34 +0000 (02:00 +0100)]
Match empty on "" and not just NULL

8 years agoSuper special case where we should copy files instead of mv
Mikael Nordfeldth [Tue, 8 Mar 2016 00:59:58 +0000 (01:59 +0100)]
Super special case where we should copy files instead of mv

8 years agoDisplay locally stored remote GIFs as thumbnails
Mikael Nordfeldth [Tue, 8 Mar 2016 00:36:24 +0000 (01:36 +0100)]
Display locally stored remote GIFs as thumbnails

Many newspapers seem to use animated GIFs as catchy header images, which
we would fail to show from oEmbed/OpenGraph fetching since they would
want us to "use File as Thumbnail", but the only place the image filename
was stored was in File_thumbnail, for the thumbnail of that file_id which
had a URL set.

8 years agoNote that you should run upgrade procedure as the PHP user
Mikael Nordfeldth [Mon, 7 Mar 2016 22:37:07 +0000 (23:37 +0100)]
Note that you should run upgrade procedure as the PHP user

8 years agochmod 0775 directories we create
Mikael Nordfeldth [Mon, 7 Mar 2016 22:23:32 +0000 (23:23 +0100)]
chmod 0775 directories we create

Security for the 'g+rx' should be handle by having the parent directory
inaccessible for global users, which is usually the case.

8 years agofillConfigVoids to set default value of empty config options
Mikael Nordfeldth [Mon, 7 Mar 2016 21:55:52 +0000 (22:55 +0100)]
fillConfigVoids to set default value of empty config options

8 years agoRelatively experimental change to store thumbnails in 'file/thumb/' (by default)
Mikael Nordfeldth [Mon, 7 Mar 2016 21:33:34 +0000 (22:33 +0100)]
Relatively experimental change to store thumbnails in 'file/thumb/' (by default)

8 years agoPortability for filepath in File
Mikael Nordfeldth [Mon, 7 Mar 2016 19:13:07 +0000 (20:13 +0100)]
Portability for filepath in File

8 years agostatic function declaration
Mikael Nordfeldth [Mon, 7 Mar 2016 19:09:15 +0000 (20:09 +0100)]
static function declaration

8 years agoUnnecessary debug output
Mikael Nordfeldth [Sun, 6 Mar 2016 17:15:36 +0000 (18:15 +0100)]
Unnecessary debug output

8 years agoUse information about activityschema public mention for Notice scope
Mikael Nordfeldth [Sun, 6 Mar 2016 16:47:35 +0000 (17:47 +0100)]
Use information about activityschema public mention for Notice scope

8 years agoDeclare AdminpanelAction::canAdmin as static, since that's how it's used.
Mikael Nordfeldth [Sun, 6 Mar 2016 16:31:40 +0000 (17:31 +0100)]
Declare AdminpanelAction::canAdmin as static, since that's how it's used.

8 years agoMove mail_confirm_address out of mail.php
Mikael Nordfeldth [Sun, 6 Mar 2016 16:27:40 +0000 (17:27 +0100)]
Move mail_confirm_address out of mail.php

8 years agoDon't resend confirm_address if profile is silenced
Mikael Nordfeldth [Sun, 6 Mar 2016 15:45:29 +0000 (16:45 +0100)]
Don't resend confirm_address if profile is silenced

8 years agoAllow gopher: scheme in link href
Mikael Nordfeldth [Sun, 6 Mar 2016 02:39:02 +0000 (03:39 +0100)]
Allow gopher: scheme in link href

8 years agoMerge branch 'no_sandboxed_repeats_branch' into 'nightly'
mmn [Sat, 5 Mar 2016 13:08:42 +0000 (08:08 -0500)]
Merge branch 'no_sandboxed_repeats_branch' into 'nightly'

Don't include repeated notices from sandboxed users in the public timeline

See merge request !115

8 years agoAccessibility navigation improvement
Mikael Nordfeldth [Sat, 5 Mar 2016 11:42:27 +0000 (12:42 +0100)]
Accessibility navigation improvement

8 years agoMediaFile::fromUpload handles missing local file better
Mikael Nordfeldth [Sat, 5 Mar 2016 11:05:12 +0000 (12:05 +0100)]
MediaFile::fromUpload handles missing local file better

8 years agofilename_base option isn't optimal
Mikael Nordfeldth [Sat, 5 Mar 2016 10:59:46 +0000 (11:59 +0100)]
filename_base option isn't optimal

For different "download filenames" we should use some other method.

8 years agoPEAR Mail package updated to 1.3.0
Mikael Nordfeldth [Sat, 5 Mar 2016 01:54:13 +0000 (02:54 +0100)]
PEAR Mail package updated to 1.3.0

1.3.0 (stable) was released on 2016-01-31
Source: https://pear.php.net/package/Mail

8 years agoHandle reuploads via filehandle better if original is missing
Mikael Nordfeldth [Sat, 5 Mar 2016 00:26:34 +0000 (01:26 +0100)]
Handle reuploads via filehandle better if original is missing

8 years agoUse $this->scoped in AvatarsettingsAction
Mikael Nordfeldth [Sat, 5 Mar 2016 00:03:48 +0000 (01:03 +0100)]
Use $this->scoped in AvatarsettingsAction

8 years agoFile upload logging for dummies
Mikael Nordfeldth [Fri, 4 Mar 2016 23:59:39 +0000 (00:59 +0100)]
File upload logging for dummies

8 years agothe repeated notice can be from a sandboxed user too
hannes [Fri, 4 Mar 2016 21:53:57 +0000 (16:53 -0500)]
the repeated notice can be from a sandboxed user too

8 years agoMerge branch 'remote-media-blacklist-mk2' into 'nightly'
mmn [Thu, 3 Mar 2016 20:17:23 +0000 (20:17 +0000)]
Merge branch 'remote-media-blacklist-mk2' into 'nightly'

add server blacklist to StoreRemoteMedia plugin

allows server admins to block local storage of remote media from particular servers while still allowing a default policy of acceptance

See merge request !114

8 years agoupdate readme
Saul St John [Wed, 2 Mar 2016 16:05:40 +0000 (16:05 +0000)]
update readme

8 years agoadd blacklist to StoreRemoteMedia plugin
Saul St John [Wed, 2 Mar 2016 15:41:17 +0000 (15:41 +0000)]
add blacklist to StoreRemoteMedia plugin

8 years agoResend confirm_address stuff, please read its NOTE first
Mikael Nordfeldth [Wed, 2 Mar 2016 14:48:18 +0000 (15:48 +0100)]
Resend confirm_address stuff, please read its NOTE first

8 years agoCatch exception on delete of Confirm_address in a plugin
Mikael Nordfeldth [Wed, 2 Mar 2016 14:37:47 +0000 (15:37 +0100)]
Catch exception on delete of Confirm_address in a plugin

8 years agoRefactor some ConfirmaddressAction stuff
Mikael Nordfeldth [Wed, 2 Mar 2016 14:31:48 +0000 (15:31 +0100)]
Refactor some ConfirmaddressAction stuff

8 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Wed, 2 Mar 2016 13:39:19 +0000 (14:39 +0100)]
Merge branch 'master' into mmn_fixes

8 years agoFix a regression in 1f76c1e4 that stopped sending email confirmation on registration
Mikael Nordfeldth [Wed, 2 Mar 2016 13:35:08 +0000 (14:35 +0100)]
Fix a regression in 1f76c1e4 that stopped sending email confirmation on registration

8 years agoFix a regression in 1f76c1e4 that stopped sending email confirmation on registration
Mikael Nordfeldth [Wed, 2 Mar 2016 13:35:08 +0000 (14:35 +0100)]
Fix a regression in 1f76c1e4 that stopped sending email confirmation on registration

8 years agoSome more Microformats2 data for notices and rendering
Mikael Nordfeldth [Wed, 2 Mar 2016 12:29:54 +0000 (13:29 +0100)]
Some more Microformats2 data for notices and rendering

8 years agoProper Microformats2 h-entry p-name + u-uid markup
Mikael Nordfeldth [Wed, 2 Mar 2016 12:10:02 +0000 (13:10 +0100)]
Proper Microformats2 h-entry p-name + u-uid markup

8 years agoOnly OStatus distribute if profile hasRight to PUBLICNOTICE
Mikael Nordfeldth [Wed, 2 Mar 2016 11:42:09 +0000 (12:42 +0100)]
Only OStatus distribute if profile hasRight to PUBLICNOTICE

8 years agoSome rights one does not have if either sandboxed or silenced
Mikael Nordfeldth [Wed, 2 Mar 2016 11:41:56 +0000 (12:41 +0100)]
Some rights one does not have if either sandboxed or silenced

8 years agoIntroduce a ConfigException
Mikael Nordfeldth [Wed, 2 Mar 2016 11:33:06 +0000 (12:33 +0100)]
Introduce a ConfigException

8 years agoDon't set is_local=LOCAL_NONPUBLIC on sandboxed user notices
Mikael Nordfeldth [Wed, 2 Mar 2016 11:18:16 +0000 (12:18 +0100)]
Don't set is_local=LOCAL_NONPUBLIC on sandboxed user notices

Let's decide whether they are nonpublic by testing them when the notice
is shown instead.

8 years agoMake the public streams ModeratedNoticeStream (hide sandboxed users etc.)
Mikael Nordfeldth [Wed, 2 Mar 2016 10:50:50 +0000 (11:50 +0100)]
Make the public streams ModeratedNoticeStream (hide sandboxed users etc.)

Which streams should be put under ModeratedNoticeStream is probably open
to debate. But at least the public ones should hide the posts from users
that are sandboxed.

8 years agoStricted typing + protected on FilteringNoticeStream->filter
Mikael Nordfeldth [Wed, 2 Mar 2016 10:40:43 +0000 (11:40 +0100)]
Stricted typing + protected on FilteringNoticeStream->filter