]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Mikael Nordfeldth [Wed, 13 Jan 2016 17:34:48 +0000 (18:34 +0100)]
Try if Profile is a Person (in effect ActivityObject::PERSON)
Mikael Nordfeldth [Wed, 13 Jan 2016 14:22:28 +0000 (15:22 +0100)]
Unused, unnecessary and intrusive cookie/storage removed!
Mikael Nordfeldth [Wed, 13 Jan 2016 13:24:00 +0000 (14:24 +0100)]
property attribute could be null in meta tags of course
Mikael Nordfeldth [Wed, 13 Jan 2016 13:17:49 +0000 (14:17 +0100)]
Catch NoHttpResponseException when using HTTPClient
Mikael Nordfeldth [Wed, 13 Jan 2016 13:08:48 +0000 (14:08 +0100)]
NoHttpResponseException needed instead of HTTP_Request2_Exception
HTTP_Request2_Exception assumed an HTTP response status code/line
Mikael Nordfeldth [Wed, 13 Jan 2016 13:00:05 +0000 (14:00 +0100)]
Use the upstream function to get effectiveUrl
Akio Nishimura [Tue, 12 Jan 2016 19:38:24 +0000 (04:38 +0900)]
lib/language.php: rewrited jp as ja.
Mikael Nordfeldth [Tue, 12 Jan 2016 22:12:41 +0000 (23:12 +0100)]
Aspect ratio on elements in inline-attachment list
Mikael Nordfeldth [Tue, 12 Jan 2016 14:38:59 +0000 (15:38 +0100)]
Ugly hack to show thumbnails of otherwise unrepresentable attachments
such as text/html, where the thumbnail has been retrieved via oEmbed/OpenGraph
Mikael Nordfeldth [Tue, 12 Jan 2016 14:29:03 +0000 (15:29 +0100)]
Super-basic OpenGraph image preview support, "works for me"
Mikael Nordfeldth [Tue, 12 Jan 2016 13:31:14 +0000 (14:31 +0100)]
Don't follow redirects on PuSH POST.
Mikael Nordfeldth [Tue, 12 Jan 2016 12:46:25 +0000 (13:46 +0100)]
Mimetypes like image/svg+xml were misinterpreted when guessing
We don't really need the mb_ in mb_strtolower but what the heck, why not. I love Unicode.
Mikael Nordfeldth [Tue, 12 Jan 2016 12:14:17 +0000 (13:14 +0100)]
same as previous, but for mime_to_ext
Mikael Nordfeldth [Tue, 12 Jan 2016 12:08:54 +0000 (13:08 +0100)]
If all file extensions are supported we have no list of comparisons
mmn [Mon, 11 Jan 2016 21:14:41 +0000 (21:14 +0000)]
Merge branch 'common_purify_branch' into 'nightly'
EndCommonPurify event
Because we have problems with htmLawed on quitter.se, we want to check its output and maybe use another HTML purifier...
See merge request !78
mmn [Mon, 11 Jan 2016 21:08:09 +0000 (21:08 +0000)]
Merge branch 'apiaccountregister_event_branch' into 'nightly'
APIStartRegistrationTry event
See merge request !77
mmn [Mon, 11 Jan 2016 21:01:26 +0000 (21:01 +0000)]
Merge branch 'hidden-h2s' into 'nightly'
Show H2s in notice content
With notices coming from other sources (e.g. Diaspora) and rich-text plugins
such as Textile/Markdown/TinyMCE, it's possible notices include H2 we want
to display.
See merge request !76
hannes [Mon, 11 Jan 2016 20:58:34 +0000 (20:58 +0000)]
forgot we need access to $html too
hannes [Mon, 11 Jan 2016 20:54:19 +0000 (20:54 +0000)]
EndCommonPurify event
hannes [Mon, 11 Jan 2016 20:04:31 +0000 (20:04 +0000)]
APIStartRegistrationTry event
Mikael Nordfeldth [Mon, 11 Jan 2016 19:10:38 +0000 (20:10 +0100)]
$target was klantigtly copied from another debug message
Mikael Nordfeldth [Mon, 11 Jan 2016 18:55:02 +0000 (19:55 +0100)]
Update PuSH callback URL if remote side switched to HTTPS
See the comment in the source on why we're not following Location headers...
Mikael Nordfeldth [Mon, 11 Jan 2016 18:54:05 +0000 (19:54 +0100)]
Much more logging in PushHubAction (OStatus)
Mikael Nordfeldth [Mon, 11 Jan 2016 18:52:54 +0000 (19:52 +0100)]
lib/util.php quick function to do var_export($var,true)
Immensely useful when debugging and we want to put quotes around strings,
potentially stopping any "evil logging attacks" (where input data masks
as logging data).
Mikael Nordfeldth [Mon, 11 Jan 2016 18:52:33 +0000 (19:52 +0100)]
Do updateWithKeys properly if someone would like to update PRI
Mikael Nordfeldth [Mon, 11 Jan 2016 17:26:44 +0000 (18:26 +0100)]
Might as well put a $limit on preg_replace here
Since there will (should) never be more than one ^http in that string anyway.
Mikael Nordfeldth [Mon, 11 Jan 2016 14:15:23 +0000 (15:15 +0100)]
Tag notice streams should only show post verbs
Mikael Nordfeldth [Mon, 11 Jan 2016 12:35:29 +0000 (13:35 +0100)]
OpportunisticQM matches against _system_ max_execution_time
Probably never runs if max_execution_time is 0. I'll handle that later.
Mikael Nordfeldth [Mon, 11 Jan 2016 01:36:59 +0000 (02:36 +0100)]
HTTPClient would return null instead of exception
This caused $response->isOK() tests to call a function on a non-existing object, causing all hell to break loose.
Chimo [Sun, 10 Jan 2016 15:37:30 +0000 (15:37 +0000)]
Show H2s in notice content
With notices coming from other sources (e.g. Diaspora) and rich-text plugins
such as Textile/Markdown/TinyMCE, it's possible notices include H2 we want
to display.
Mikael Nordfeldth [Sun, 10 Jan 2016 09:44:16 +0000 (10:44 +0100)]
NSTALL/UPGRADE documentation edits
No more background folder for example. Also comments on chmod a+w
Mikael Nordfeldth [Sat, 9 Jan 2016 23:51:25 +0000 (00:51 +0100)]
Control OpportunisticQM verbosity
Mikael Nordfeldth [Sat, 9 Jan 2016 23:48:04 +0000 (00:48 +0100)]
Minor changes to OpportunisticQM for debugging
Mikael Nordfeldth [Sat, 9 Jan 2016 23:29:32 +0000 (00:29 +0100)]
Put salmon slaps in queues before pushing user Atom feed
Mikael Nordfeldth [Sat, 9 Jan 2016 14:14:38 +0000 (15:14 +0100)]
Not only local groups should be added to group inbox notificiation table
Mikael Nordfeldth [Sat, 9 Jan 2016 14:06:44 +0000 (15:06 +0100)]
Get group attentions too for outbound notices
Mikael Nordfeldth [Sat, 9 Jan 2016 13:36:47 +0000 (14:36 +0100)]
Do proper fromUri lookup on groups too
Mikael Nordfeldth [Sat, 9 Jan 2016 13:13:19 +0000 (14:13 +0100)]
CancelGroupForm gets same typing as Join and Leave
Mikael Nordfeldth [Sat, 9 Jan 2016 13:06:31 +0000 (14:06 +0100)]
Issue #121 - use correct Group ID and strict User_group typing
Mikael Nordfeldth [Sat, 9 Jan 2016 12:47:38 +0000 (13:47 +0100)]
Local user profile getUrl gives dynamically generated URL
Mikael Nordfeldth [Sat, 9 Jan 2016 12:33:30 +0000 (13:33 +0100)]
Actually return the group home URL
Mikael Nordfeldth [Sat, 9 Jan 2016 12:15:09 +0000 (13:15 +0100)]
Wups, $poster could be undefined
Mikael Nordfeldth [Fri, 8 Jan 2016 01:58:31 +0000 (02:58 +0100)]
Attention goes to the parent notice author too
Mikael Nordfeldth [Fri, 8 Jan 2016 00:59:16 +0000 (01:59 +0100)]
Save attentions to Reply table for backwards compatibility
local users only of course
Mikael Nordfeldth [Fri, 8 Jan 2016 00:52:10 +0000 (01:52 +0100)]
Add more info in logging call
There shouldn't be *HandleSalmonTarget, only verification of actor and
then Notice::saveActivity()!
Mikael Nordfeldth [Fri, 8 Jan 2016 00:31:47 +0000 (01:31 +0100)]
OStatus queue handler uses Notice->getAttentionProfiles()
and lots more debugging for LOG_DEBUG
Mikael Nordfeldth [Thu, 7 Jan 2016 22:33:47 +0000 (23:33 +0100)]
Default to not include delete verbs in notice streams
Mikael Nordfeldth [Thu, 7 Jan 2016 22:24:15 +0000 (23:24 +0100)]
Notice from web now saves context->attention too! ;)
Mikael Nordfeldth [Thu, 7 Jan 2016 22:23:51 +0000 (23:23 +0100)]
saveAttentions, trying to move away from saveReply
Mikael Nordfeldth [Thu, 7 Jan 2016 22:23:37 +0000 (23:23 +0100)]
common_find_attentions to populate activities from content text
Mikael Nordfeldth [Thu, 7 Jan 2016 19:24:59 +0000 (20:24 +0100)]
Don't store the notice object for distrib queue handler, just id
Mikael Nordfeldth [Thu, 7 Jan 2016 17:45:36 +0000 (18:45 +0100)]
BeforePluginCheckSchema event for checkschema.php
Mikael Nordfeldth [Thu, 7 Jan 2016 17:14:45 +0000 (18:14 +0100)]
shortenLinks _after_ media upload to be consistent with api
Mikael Nordfeldth [Thu, 7 Jan 2016 17:13:10 +0000 (18:13 +0100)]
Use index for File url (urlhash)
Mikael Nordfeldth [Thu, 7 Jan 2016 17:12:29 +0000 (18:12 +0100)]
shortenLinks with a capital L
Mikael Nordfeldth [Thu, 7 Jan 2016 16:35:37 +0000 (17:35 +0100)]
think I have managed to show oEmbed images better now
Mikael Nordfeldth [Thu, 7 Jan 2016 11:58:14 +0000 (12:58 +0100)]
Fixed group representation in Directory plugin, also some ->raw calls
Mikael Nordfeldth [Thu, 7 Jan 2016 11:35:52 +0000 (12:35 +0100)]
Return Profile objects from getGroups in GroupdirectoryAction
Mikael Nordfeldth [Thu, 7 Jan 2016 11:14:48 +0000 (12:14 +0100)]
Appropriate exception message in GroupNoProfileException
Mikael Nordfeldth [Thu, 7 Jan 2016 11:12:27 +0000 (12:12 +0100)]
Define User_group::$profile_id among class variables
Mikael Nordfeldth [Thu, 7 Jan 2016 10:58:09 +0000 (11:58 +0100)]
Max execution time margin for OpportunisticQM
I guess it could continue a bit too long in case it got a really long
(failing, timeouting) HTTP request just before max_execution_time hit.
Mikael Nordfeldth [Thu, 7 Jan 2016 10:39:46 +0000 (11:39 +0100)]
Index the verb column since we do COUNT(*) based on it
Mikael Nordfeldth [Wed, 6 Jan 2016 21:26:17 +0000 (22:26 +0100)]
Conversation entries where id==0 would screw up the "re-auto-increment" sequencing
Mikael Nordfeldth [Wed, 6 Jan 2016 19:09:59 +0000 (20:09 +0100)]
Gah and a 302 in the non-exception-handling redirect too
Mikael Nordfeldth [Wed, 6 Jan 2016 19:07:40 +0000 (20:07 +0100)]
Attachment thumbnail redirect is a 302 redirect
It SHOULD be cached but it might no longer be valid if we empty cache or something.
Mikael Nordfeldth [Wed, 6 Jan 2016 19:06:14 +0000 (20:06 +0100)]
Our URLs are permanent redirects, mind you!
Mikael Nordfeldth [Wed, 6 Jan 2016 18:46:56 +0000 (19:46 +0100)]
Breaking class definitions out into separate files and fixing typing
Mikael Nordfeldth [Wed, 6 Jan 2016 18:23:38 +0000 (19:23 +0100)]
Don't update stored URLs just because we have a filename
This would overwrite remote URLs with local verisons which removes source href...
The reason one might have filenames for remote URLs is that StoreRemoteMedia plugin
fetches them and uses the filename field.
Mikael Nordfeldth [Wed, 6 Jan 2016 18:06:29 +0000 (19:06 +0100)]
Return dynamically generated URLs for thumbnails for all locally stored entries
Mikael Nordfeldth [Wed, 6 Jan 2016 15:24:33 +0000 (16:24 +0100)]
Always generate notice URLs on the fly for local notices
Related to issue #118
Mikael Nordfeldth [Wed, 6 Jan 2016 15:14:26 +0000 (16:14 +0100)]
Issue #118 wanted better TOR support, now Avatar URLs are not stored
There was no reason to store the generated Avatar URLs because it's so
cheap to generate them on the fly.
Mikael Nordfeldth [Wed, 6 Jan 2016 14:37:30 +0000 (15:37 +0100)]
Note in the debug log if we render the HTML of a message
Mikael Nordfeldth [Wed, 6 Jan 2016 14:32:00 +0000 (15:32 +0100)]
Avoid having to check for notices without rendered copies in upgrade.php
Always call the Notice->getRendered() function to get a rendered copy.
We could perhaps put some sanitation there too in the future
Mikael Nordfeldth [Wed, 6 Jan 2016 13:57:30 +0000 (14:57 +0100)]
Get conversation ID from child too in scripts/upgrade.php
Mikael Nordfeldth [Wed, 6 Jan 2016 13:10:37 +0000 (14:10 +0100)]
Somewhat more meaningful error message
Mikael Nordfeldth [Wed, 6 Jan 2016 12:58:46 +0000 (13:58 +0100)]
Conversation IDs (again) no longer based on Notice ID
Mikael Nordfeldth [Wed, 6 Jan 2016 00:36:46 +0000 (01:36 +0100)]
More listitems and lists into separate files + stronger typing
Mikael Nordfeldth [Wed, 6 Jan 2016 00:30:12 +0000 (01:30 +0100)]
Separating classes into files and stronger typing
Mikael Nordfeldth [Wed, 6 Jan 2016 00:25:00 +0000 (01:25 +0100)]
Typing to Profile
Mikael Nordfeldth [Tue, 5 Jan 2016 23:57:31 +0000 (00:57 +0100)]
Subscriber lists to separate files and also Profile typing
Mikael Nordfeldth [Tue, 5 Jan 2016 23:53:20 +0000 (00:53 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
mmn [Tue, 5 Jan 2016 23:53:08 +0000 (23:53 +0000)]
Merge branch 'nightly' into 'nightly'
only count post-notices (i.e. don't include activity-notices in statuses_count in the API)
See merge request !73
Mikael Nordfeldth [Tue, 5 Jan 2016 23:48:03 +0000 (00:48 +0100)]
Merge request #10 by aroque but in a slightly different version
hannes [Tue, 5 Jan 2016 23:29:48 +0000 (23:29 +0000)]
$notices->verb = ActivityVerb::POST;
mmn [Tue, 5 Jan 2016 23:28:28 +0000 (23:28 +0000)]
Merge branch 'openid-plugin' into 'nightly'
OpenID plugin: 'openid_only' should be 'openidonly'
To match everywhere else.
See merge request !72
Mikael Nordfeldth [Tue, 5 Jan 2016 23:24:41 +0000 (00:24 +0100)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
mmn [Tue, 5 Jan 2016 23:24:16 +0000 (23:24 +0000)]
Merge branch 'lookup_url_fix' into 'nightly'
makes url lookup work and adds full url to href for shortened links
See merge request !74
Mikael Nordfeldth [Tue, 5 Jan 2016 23:18:10 +0000 (00:18 +0100)]
Require Profile for Profile->getLists
hannes [Tue, 5 Jan 2016 23:14:51 +0000 (23:14 +0000)]
longurl in href
hannes [Tue, 5 Jan 2016 23:07:24 +0000 (23:07 +0000)]
add $redir->redir_url to use in common_linkify()
Mikael Nordfeldth [Tue, 5 Jan 2016 22:07:30 +0000 (23:07 +0100)]
Require Profile for Profile->getOtherTags
hannes [Tue, 5 Jan 2016 23:06:02 +0000 (23:06 +0000)]
$longurl->url is just the same $canon we fed to File_redirection::where()
hannes [Tue, 5 Jan 2016 22:44:06 +0000 (22:44 +0000)]
effectiveUrl seems to contain the url we want
Mikael Nordfeldth [Tue, 5 Jan 2016 16:31:09 +0000 (17:31 +0100)]
Don't abort on too long notices in Notice::saveActivity
hannes [Tue, 5 Jan 2016 14:19:33 +0000 (14:19 +0000)]
only count post-notices (i.e. don't include activity-notices in statuses_count in the API)
Mikael Nordfeldth [Tue, 5 Jan 2016 14:00:34 +0000 (15:00 +0100)]
If there's no Happening, we can't use the RSVP.
Mikael Nordfeldth [Tue, 5 Jan 2016 14:00:07 +0000 (15:00 +0100)]
processFeed would abort on certain errors where findLocalObject failed
Mikael Nordfeldth [Tue, 5 Jan 2016 11:15:50 +0000 (12:15 +0100)]
XSS vulnerability when remote-subscribing
->raw was used on non-filtered strings for some reasons, changed
to ->text.
Mikael Nordfeldth [Mon, 4 Jan 2016 23:09:47 +0000 (00:09 +0100)]
ProfileMiniList->newListItem changed to match ProfileList->newListItem
Mikael Nordfeldth [Mon, 4 Jan 2016 20:42:24 +0000 (21:42 +0100)]
Allow Profile->getCurrentNotice to send scoped profile info
not that we're using it anywhere (yet anyway).