]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Mikael Nordfeldth [Mon, 21 Mar 2016 02:02:22 +0000 (03:02 +0100)]
Minify is evil.
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
Mikael Nordfeldth [Mon, 21 Mar 2016 01:55:10 +0000 (02:55 +0100)]
Fix issue #171 with latent htmLawed reference
Mikael Nordfeldth [Mon, 21 Mar 2016 01:48:37 +0000 (02:48 +0100)]
Don't use default_port for irc schemes
Mikael Nordfeldth [Mon, 21 Mar 2016 01:46:28 +0000 (02:46 +0100)]
irc and ircs schemes for HTMLPurifier
Mikael Nordfeldth [Mon, 21 Mar 2016 01:42:28 +0000 (02:42 +0100)]
Hacky method to avoid cutting conversation "more" link out
Mikael Nordfeldth [Mon, 21 Mar 2016 01:33:57 +0000 (02:33 +0100)]
Split threaded notice list classes into own files.
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)
Mikael Nordfeldth [Wed, 16 Mar 2016 23:31:45 +0000 (00:31 +0100)]
oEmbed neatifying (inspired by Qvitter)
Mikael Nordfeldth [Wed, 16 Mar 2016 23:31:32 +0000 (00:31 +0100)]
h5 and h6 don't need margin-bottom methinks
Mikael Nordfeldth [Wed, 16 Mar 2016 19:37:57 +0000 (20:37 +0100)]
only direct .inline-attachment children
Mikael Nordfeldth [Tue, 15 Mar 2016 15:55:39 +0000 (16:55 +0100)]
Merge branch 'master' into mmn_fixes
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
Mikael Nordfeldth [Tue, 15 Mar 2016 15:53:19 +0000 (16:53 +0100)]
More verbose salmon debugging
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
Mikael Nordfeldth [Mon, 14 Mar 2016 14:26:03 +0000 (15:26 +0100)]
UPDATE ActivityVerb
Mikael Nordfeldth [Mon, 14 Mar 2016 14:25:05 +0000 (15:25 +0100)]
Woops, forgot to include this file!
Mikael Nordfeldth [Thu, 10 Mar 2016 14:15:06 +0000 (15:15 +0100)]
Redundant font definitions in CSS
Mikael Nordfeldth [Thu, 10 Mar 2016 13:20:21 +0000 (14:20 +0100)]
Make oEmbed handle our http/https setting better.
Mikael Nordfeldth [Thu, 10 Mar 2016 12:46:19 +0000 (13:46 +0100)]
forgot 'new' after throw
Mikael Nordfeldth [Wed, 9 Mar 2016 22:49:01 +0000 (23:49 +0100)]
Make sure File_thumbnail->getPath() doesn't throw NoResultException
Mikael Nordfeldth [Wed, 9 Mar 2016 14:16:47 +0000 (15:16 +0100)]
Define-ify excluded end-characters of URL autolinking
Mikael Nordfeldth [Wed, 9 Mar 2016 14:05:36 +0000 (15:05 +0100)]
Reduce the number of allowed characters in auto-linking URLs.
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
Mikael Nordfeldth [Wed, 9 Mar 2016 13:51:52 +0000 (14:51 +0100)]
Save allowed path/qstring/fragment characters in constants
Mikael Nordfeldth [Wed, 9 Mar 2016 13:17:55 +0000 (14:17 +0100)]
throw exception instead of clientError
Mikael Nordfeldth [Tue, 8 Mar 2016 19:01:06 +0000 (20:01 +0100)]
Let's be consistent with URL verbs
Mikael Nordfeldth [Tue, 8 Mar 2016 18:56:25 +0000 (19:56 +0100)]
Profile->noticeCount minor change
Mikael Nordfeldth [Tue, 8 Mar 2016 01:00:34 +0000 (02:00 +0100)]
Match empty on "" and not just NULL
Mikael Nordfeldth [Tue, 8 Mar 2016 00:59:58 +0000 (01:59 +0100)]
Super special case where we should copy files instead of mv
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.
Mikael Nordfeldth [Mon, 7 Mar 2016 22:37:07 +0000 (23:37 +0100)]
Note that you should run upgrade procedure as the PHP user
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.
Mikael Nordfeldth [Mon, 7 Mar 2016 21:55:52 +0000 (22:55 +0100)]
fillConfigVoids to set default value of empty config options
Mikael Nordfeldth [Mon, 7 Mar 2016 21:33:34 +0000 (22:33 +0100)]
Relatively experimental change to store thumbnails in 'file/thumb/' (by default)
Mikael Nordfeldth [Mon, 7 Mar 2016 19:13:07 +0000 (20:13 +0100)]
Portability for filepath in File
Mikael Nordfeldth [Mon, 7 Mar 2016 19:09:15 +0000 (20:09 +0100)]
static function declaration
Mikael Nordfeldth [Sun, 6 Mar 2016 17:15:36 +0000 (18:15 +0100)]
Unnecessary debug output
Mikael Nordfeldth [Sun, 6 Mar 2016 16:47:35 +0000 (17:47 +0100)]
Use information about activityschema public mention for Notice scope
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.
Mikael Nordfeldth [Sun, 6 Mar 2016 16:27:40 +0000 (17:27 +0100)]
Move mail_confirm_address out of mail.php
Mikael Nordfeldth [Sun, 6 Mar 2016 15:45:29 +0000 (16:45 +0100)]
Don't resend confirm_address if profile is silenced
Mikael Nordfeldth [Sun, 6 Mar 2016 02:39:02 +0000 (03:39 +0100)]
Allow gopher: scheme in link href
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
Mikael Nordfeldth [Sat, 5 Mar 2016 11:42:27 +0000 (12:42 +0100)]
Accessibility navigation improvement
Mikael Nordfeldth [Sat, 5 Mar 2016 11:05:12 +0000 (12:05 +0100)]
MediaFile::fromUpload handles missing local file better
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.
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
Mikael Nordfeldth [Sat, 5 Mar 2016 00:26:34 +0000 (01:26 +0100)]
Handle reuploads via filehandle better if original is missing
Mikael Nordfeldth [Sat, 5 Mar 2016 00:03:48 +0000 (01:03 +0100)]
Use $this->scoped in AvatarsettingsAction
Mikael Nordfeldth [Fri, 4 Mar 2016 23:59:39 +0000 (00:59 +0100)]
File upload logging for dummies
hannes [Fri, 4 Mar 2016 21:53:57 +0000 (16:53 -0500)]
the repeated notice can be from a sandboxed user too
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
Saul St John [Wed, 2 Mar 2016 16:05:40 +0000 (16:05 +0000)]
update readme
Saul St John [Wed, 2 Mar 2016 15:41:17 +0000 (15:41 +0000)]
add blacklist to StoreRemoteMedia plugin
Mikael Nordfeldth [Wed, 2 Mar 2016 14:48:18 +0000 (15:48 +0100)]
Resend confirm_address stuff, please read its NOTE first
Mikael Nordfeldth [Wed, 2 Mar 2016 14:37:47 +0000 (15:37 +0100)]
Catch exception on delete of Confirm_address in a plugin
Mikael Nordfeldth [Wed, 2 Mar 2016 14:31:48 +0000 (15:31 +0100)]
Refactor some ConfirmaddressAction stuff
Mikael Nordfeldth [Wed, 2 Mar 2016 13:39:19 +0000 (14:39 +0100)]
Merge branch 'master' into mmn_fixes
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
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
Mikael Nordfeldth [Wed, 2 Mar 2016 12:29:54 +0000 (13:29 +0100)]
Some more Microformats2 data for notices and rendering
Mikael Nordfeldth [Wed, 2 Mar 2016 12:10:02 +0000 (13:10 +0100)]
Proper Microformats2 h-entry p-name + u-uid markup
Mikael Nordfeldth [Wed, 2 Mar 2016 11:42:09 +0000 (12:42 +0100)]
Only OStatus distribute if profile hasRight to PUBLICNOTICE
Mikael Nordfeldth [Wed, 2 Mar 2016 11:41:56 +0000 (12:41 +0100)]
Some rights one does not have if either sandboxed or silenced
Mikael Nordfeldth [Wed, 2 Mar 2016 11:33:06 +0000 (12:33 +0100)]
Introduce a ConfigException
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.
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.
Mikael Nordfeldth [Wed, 2 Mar 2016 10:40:43 +0000 (11:40 +0100)]
Stricted typing + protected on FilteringNoticeStream->filter
Mikael Nordfeldth [Wed, 2 Mar 2016 09:49:33 +0000 (10:49 +0100)]
No 'acct:' in FancyName please.
Mikael Nordfeldth [Tue, 1 Mar 2016 23:13:28 +0000 (00:13 +0100)]
Some changes since getFancyName() is longer with full acct: URI
Mikael Nordfeldth [Tue, 1 Mar 2016 23:04:31 +0000 (00:04 +0100)]
User->hasBlocked typing
Mikael Nordfeldth [Tue, 1 Mar 2016 22:53:36 +0000 (23:53 +0100)]
Translation changes, use FancyName in email subject
Mikael Nordfeldth [Tue, 1 Mar 2016 22:48:32 +0000 (23:48 +0100)]
Make Profile->getFancyUrl() somewhat better on fallback
It tries to get a referential identifier apart from the fullname trying
with acct: URI, profile URL and lastly URI.
Mikael Nordfeldth [Tue, 1 Mar 2016 22:37:38 +0000 (23:37 +0100)]
Make Profile->getFancyName() return including the acct URI
Mikael Nordfeldth [Tue, 1 Mar 2016 22:36:47 +0000 (23:36 +0100)]
Strict typing for mail_notify_attn
Mikael Nordfeldth [Tue, 1 Mar 2016 17:20:50 +0000 (18:20 +0100)]
Iterate through input=file attachments (not multi yet)
Mikael Nordfeldth [Tue, 1 Mar 2016 15:30:00 +0000 (16:30 +0100)]
Nothing interesting was made in this commit.
Mikael Nordfeldth [Tue, 1 Mar 2016 14:00:52 +0000 (15:00 +0100)]
Use another method of detecting unspecified defaultImage size
Mikael Nordfeldth [Tue, 1 Mar 2016 13:51:47 +0000 (14:51 +0100)]
Consistent behaviour for ScopingNoticeStream $scoped
We don't guess the current profile anymore if the value of the profile === -1
Also sets $this->scoped for all ScopingNoticeStream inheritors, which just
like in an Action can be null if we're not scoped in any way (logged in).
Mikael Nordfeldth [Tue, 1 Mar 2016 12:10:18 +0000 (13:10 +0100)]
Make javascript XHR timeout a variable.
SN.V.xhrTimeout = [time in milliseconds];
Mikael Nordfeldth [Sun, 28 Feb 2016 19:50:45 +0000 (20:50 +0100)]
Woops, undefined $type there.
mmn [Sun, 28 Feb 2016 18:45:31 +0000 (18:45 +0000)]
Merge branch 'delete_group_logo' into 'nightly'
Now we can delete a group logo.
I added a function of deleting a group logo.
I'm not sure we should delete group's avatar through Avatar::deleteFromProfile like on line 426:
```php
Avatar::deleteFromProfile($this->group->getProfile());
```
See merge request !84
mmn [Sun, 28 Feb 2016 18:42:36 +0000 (18:42 +0000)]
Merge branch 'fix-author-fallback' into 'nightly'
Fix author fallback
Previously if there was no discernable author the nickname "Array"
would end up used. This was a bug, obviously. It is fixed now.
See merge request !111
Mikael Nordfeldth [Sun, 28 Feb 2016 18:40:16 +0000 (19:40 +0100)]
No need to set $threads = 0 on the line before it's set ;)
mmn [Sun, 28 Feb 2016 18:36:54 +0000 (18:36 +0000)]
Merge branch 'nightly' into 'nightly'
Enable configuration option for number of threads used by queuedaemons.php
Could we change the script for queuedaemon.php to using a configuration setting if not arguments such as -t or --threads is set?
Example in configuration file:
```
$config['queue']['threads'] = 15; //Spawning 15 threads for handling the queue
```
See merge request !105
Mikael Nordfeldth [Sun, 28 Feb 2016 18:34:48 +0000 (19:34 +0100)]
Refactoring ApiStatusesDestroyAction
Mikael Nordfeldth [Sun, 28 Feb 2016 18:23:13 +0000 (19:23 +0100)]
Change to more recent code style in ApiStatusesDestroyAction
Mikael Nordfeldth [Sun, 28 Feb 2016 18:19:46 +0000 (19:19 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
mmn [Sun, 28 Feb 2016 18:19:11 +0000 (18:19 +0000)]
Merge branch 'mods_can_delete_others_notices_branch' into 'nightly'
moderators can delete others' notices using the api
See merge request !112
Mikael Nordfeldth [Sun, 28 Feb 2016 12:31:21 +0000 (13:31 +0100)]
Verify loaded config function, must be completed further.
Mikael Nordfeldth [Sun, 28 Feb 2016 12:30:47 +0000 (13:30 +0100)]
HTMLPurifier cache settings, put stuff in subdir of get_sys_temp_dir()
Mikael Nordfeldth [Sun, 28 Feb 2016 12:16:52 +0000 (13:16 +0100)]
Edited the list of allowed rel values
abjectio [Sat, 27 Feb 2016 19:37:03 +0000 (20:37 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
hannes [Sat, 27 Feb 2016 01:03:24 +0000 (01:03 +0000)]
moderators can delete others' notices using the api
Stephen Paul Weber [Fri, 26 Feb 2016 22:06:04 +0000 (22:06 +0000)]
Fix author fallback
Previously if there was no discernable author the nickname "Array"
would end up used. This was a bug, obviously. It is fixed now.
Mikael Nordfeldth [Fri, 26 Feb 2016 21:37:26 +0000 (22:37 +0100)]
Ostatus_source filled no purpose whatsoever
Mikael Nordfeldth [Fri, 26 Feb 2016 15:10:03 +0000 (16:10 +0100)]
Don't auto-silence other users by IP by default
Mikael Nordfeldth [Fri, 26 Feb 2016 13:53:12 +0000 (14:53 +0100)]
Slightly more correct log message in index.php
Mikael Nordfeldth [Fri, 26 Feb 2016 13:46:26 +0000 (14:46 +0100)]
Resolve relative URLs (assuming URI.Base==notice URL)
The real way to do this would be to get the xml:base property from
the Atom feed but it's probably not there in any posts we see today.