MMN-o ✅⃠ on social.umeahackerspace.se
This remote profile is registered on another site; see mmn's original profile page on social.umeahackerspace.se.
-
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 06:57:45 EST
MMN-o ✅⃠
@maiyannah Btw, I'm not changing the behaviour in any way. I more wanted the discussion on whether I'm thinking correctly. But since I know everything and am always right, I will just argue my point and not deeply care about any input I get. #asshole #sandboxme :D -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 06:48:25 EST
MMN-o ✅⃠
@maiyannah Haha oh wait, I haven't restarted my daemons so the code isn't in effect. Sorry about my debugging user. -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 06:47:09 EST
MMN-o ✅⃠
@maiyannah My instance has no obligation to fulfill remote nodes liberal desires.
Anyway, if you don't want them to be shown in public feeds, why would you want them to _link back to your instance_ from remote sites?!
PS: https://social.umeahackerspace.se/notice/405777 -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 06:37:19 EST
MMN-o ✅⃠
I guess that "sandboxing" a user means that posts during the sandbox period shouldn't be distributed to remote sites. Right? !GNUsocial -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 06:15:49 EST
MMN-o ✅⃠
This is pretty. cc: @laemeur https://social.umeahackerspace.se/attachment/57725 -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 05:10:44 EST
MMN-o ✅⃠
@laemeur And if it's the "userX likes this", it's something that has (or at least should've) passed through common_purify.
Perhaps it doesn't do that on some of those auto-generated things, but then it's a bug that should be fixed. But at least it does that when spreading to other servers, so potential confusion harm is minimised. -
Adam Moore (LÆMEUR) (laemeur)'s status on Tuesday, 01-Mar-2016 14:13:33 EST
Adam Moore (LÆMEUR)
Also check out the Unofficial User Manual, by @thomask , which is, IMO, the best-written user resource at the moment: https://karp.id.au/social/user/index.html -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:57:05 EST
MMN-o ✅⃠
@maiyannah Yes, but protected only means you can't access it directly as an object property from an external scope. It's perfectly legal for the parent object to return a copy or a reference. -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:53:33 EST
MMN-o ✅⃠
@maiyannah Btw, 'php scripts/console.php' lets you try stuff out in a PHP console. Like:
$ php scripts/console.php
GNU social interactive PHP console... type ctrl+D or enter 'exit' to exit.
> $n = Notice::getByID(405641);
> $files = $n->attachments();
> var_dump($files);
[bunchofcrap] -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:42:12 EST
MMN-o ✅⃠
@maiyannah If you get an array returned then it's a _copy_ of the original array anyway. Only if it's sent by reference (&$var) do you get something you can manipulate the original of. Or if it's an object (arrays are not objects). -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:32:11 EST
MMN-o ✅⃠
@maiyannah I think there is ->attachments() :P -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:30:39 EST
MMN-o ✅⃠
@maiyannah You can perhaps have a look at lib/attachmentlistitem.php if not just to see how horribly attachment displays are done in !GNUsocial. -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:29:02 EST
MMN-o ✅⃠
@maiyannah Oh, Twitter adaptation. I thought the world was beyond that. Arbitrary limits are sooo 20th century. -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:28:08 EST
MMN-o ✅⃠
@askan "INTE PERFEKT ENGELSKA? NO KIDS FOR YOU!" -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:27:16 EST
MMN-o ✅⃠
@maiyannah $file = File::getByID($id); // works for all dataobjects with numeric 'id' field. -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:15:43 EST
MMN-o ✅⃠
@maiyannah URL shorteners suck. What's the point of them? Even on mobile interfaces I see no use for it. -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:11:59 EST
MMN-o ✅⃠
@maiyannah You mean getting the mimeType? -
MMN-o ✅⃠ (mmn)'s status on Wednesday, 02-Mar-2016 04:08:57 EST
MMN-o ✅⃠
@askan "Den rätta" när det handlar om att skaffa barn får alltid mina tankar att vandra till någon slags genetisk analys och om inte rasbiologi åtminstone släktträd och efterforskningar i personens släkts historik av ärftliga sjukdomar. -
MMN-o ✅⃠ (mmn)'s status on Tuesday, 01-Mar-2016 18:29:46 EST
MMN-o ✅⃠
@mushi I still thought yours were nice. -
MMN-o ✅⃠ (mmn)'s status on Tuesday, 01-Mar-2016 18:21:52 EST
MMN-o ✅⃠
@laemeur Hm, apparently we only remove those things on stuff run through common_purify() (i.e. notice HTML content), in: function common_remove_unicode_formatting($text) { // Strip Unicode text formatting/direction codes // this is pretty dangerous for visualisation of text and can be used for mischief return preg_replace('/[\\x{200b}-\\x{200f}\\x{202a}-\\x{202e}]/u', …