cover photo

Hubzilla Development

hubzilla@project.hubzilla.org

Haakon Meland Eriksen (Parlementum)
  
@Hubzilla Development+ I added [widget=wiki_pages][/widget] to the PDL for my channel page, but I do not see any wikis in my left aside. Do I need to add some variable?
Haakon Meland Eriksen (Parlementum)
  
@Hubzilla Development+ I cannot check the checkboxes in my checklists at Parlementum or Els Mussols. I have tried Firefox on mobile and on my computer. This is a bit of a problem, since I wanted to show the world Hubzilla checks most of the 17 recommendations for MoodleNet.




  • Recommendation #1: Checklist should check.



https://parlementum.net/channel/moodlenetfan/?f=&mid=65f56caaed212408e7fe2800154dbe35856602f0ae6c953d16385eee91075a53@parlementum.net


Relevant site info:
https://parlementum.net/siteinfo/json
https://elsmussols.org/siteinfo/json
Haakon Meland Eriksen (Parlementum)
  
What do you think, Charles? :-)
Charles Roth MPC
  
Impressive!
M. Dent
  last edited: Fri, 20 Apr 2018 00:48:14 -0400  
!Hubzilla Development

The context here is the cart addon.  At some level there is a need to have access to at least SOME info about the purchaser - especially for customer service purposes.  But after mucking about in the code, I can't figure out what information the seller should rightly have access to and how to properly obtain it so that there is no inadvertant leak of private data.  I'd prefer not to force a remote profile query every time there is a search done - that seems wasteful.  But I don't want to store info that could later be leaked or misused.

As it stands, the order table stores the channel hash of the purchaser, but does not directly store any other information about the purchaser.  I'd like to maintain whatever "boundaries" already exist regarding access to profile data and would rather not expose anything even if it happens to be in the data tables on the storefront's hub.

So... what information can I get about purchasers using the existing tables in the storefront hub and what is the "right" way to get it?  Is it appropriate to simply query the xchan table directly?  If I have the channel hash, is there a proper way to grab the profile without making a remote request to the purchaser's hub?  Is there another place this info should come from?  My goal at this point is not to store more than absolutely necessary in the order table - data that isn't stored can't be leaked, after all.
Mike Macgirvin
  
A minimal public profile (the default profile) is provided in the zot-info packet and honours the permissions of the requested channel - meaning the profile array may be missing if view_profile permissions are insufficient. It of course only contains whatever information has been made available in the public profile and is used for instance to populate some directory information. Basically make a call to Zotlabs/Zot/Finger::run()
Andrew Manning
  
Am I the only one that experiences a broken left aside menu on small screens in #3.4RC? I run Firefox on Android. The left menu arrow button also fails when I open the page in "responsive design mode" in desktop Firefox for Mac.

!Hubzilla Development
Mario Vavti
  
Works for me. Might have something todo with your derived theme :wink:
Andrew Manning
  
Yes, you are correct. I am surprised the single CSS element I modified caused such a problem, so I clearly don't understand the system well enough. You did tell me I should have made a schema instead of a theme.
Mario Vavti
  
You are probably missing redbasic.js

M. Dent
  
!Hubzilla Development

Based on the discussion started by RockyIII on the support channel:

As I'm reading Mike's comments on the RockyIII post in @Hubzilla Support Forum  :


if you enable federation you basically can't really use anything that makes Hubzilla great. Nomadic identity doesn't work. Privacy controls on most anything don't work (photos, media, webpages, wikis, chats, events, whatever) because people in other networks cannot access them.


It dawned on me that "Federated Hubzilla" and "Zot Only Hubzilla" are really two different things in some very significant ways and yet we don't really actively distinguish this.  Rather we tend to talk about this single thing, "Hubzilla".

While the internal workings of Hubzilla are the same, the effects of Federation make for a very different user experience.  For example, it sounds to me like "privacy groups" in a federated environment, really aren't "privacy groups" at all but merely "distribution groups."  Is that correct?

One thing that may be considered is to recognized the reality that "Federated Hubzilla" and "Zot Only" are truly distinct and find ways to make that more clear in our conversations (perhaps even having a separate "Federation Updates" in release notes/etc.) and perhaps also do some things from a UI perspective.  The basic message that seems to need reinforcing is, "Federation changes what you should expect from Hubzilla."  If this is so, by making our language clear about it, we would be able to talk more directly about the tradeoffs and how to manage those tradeoffs.  It also would give us a way to more clearly define "the main thing" about Hubzilla and keep that "the main thing."

Such discussions may even find it's way into UI elements that make the behavior differences clear.  For example, if my assertion above is correct (that Federation essentially makes "privacy groups" into "distribution groups"), perhaps add a  "Federate" toggle to the right of the submit button.  The effect of the toggle would be:  (1) Produces a popup that makes clear that "Federated" items are fundamentally PUBLIC items that (in some cases) may be restricted in distribution by choosing a "distribution group".  (also giving an option, "hide this warning in the future")  (2) For those things where it makes sense (eg. posts), change the LOCK icon to something of a "group of people" icon showing that you are not choosing "privacy options" you are choosing a "distribution group". (3) For those things where making an item visible to the Fediverse requires the object to be PUBLIC and a post will not be generated by the action, remove the lock icon entirely and simply sets the ACL to Public.  (4) Perhaps change the color of the textbox background (for posts) to indicate the choice to use a less secure/private distribution mechanism.

Of course, these are just thoughts, and are predicated on a specific understanding of "how it works"... so feel free to correct me or slice and dice as needed to reflect reality.
Mike Macgirvin
  
Last year we separated the two into server roles (basic, standard, and pro) and this confused people even more. So we merged these all back together and are trying to present one unified hubzilla. The problem is our audience. We get way more adventurers from the federated web than we do from our target market (community builders) and all they tend to see is "social network with federation". That is their chosen worldview filter. It's obvious that our messaging is not reaching them, but it's even more difficult to fine tune our messaging in response because for the most part they are filtering this messaging and only seeing the bits they wish to see.

You've got some excellent ideas - and I think we should probably experiment a bit with them. I'm just worried about making things even more complicated since some people would have one type of ACL behaviour and some have another.
Anatoly
 
Hello all.

I installed my own hub https://hub.plyuk.rocks with the version 3.2.2 and followed friend from the #friendica.
But hubzilla remove spaces in all messages are received from friendica.

Version: 3.2.2 - 1207
Repository version: 3.2.2

Log
Anatoly
  last edited: Thu, 19 Apr 2018 07:45:03 -0400  
But another messages (from Diaspora) are shown correct:

Image/photo
Mario Vavti
  
I am not sure. In that case the issue might be on the friendica site. Diaspora and Friendica connections share the same codebase in hubzilla.
Anatoly
  
Messages show invalid only on my hub. I double checked that on the other Diaspora, Mastodon or Friendica nodes all show correct.

There is log in my first post.
From log:
There is an incoming message
balancer@spica.wrk.ru
7bcf5298315ad870c508521731735688
2018-04-19T10:34:45Z
true
Шаг вправо, шаг влево — и сообщение из Френдики в Мастодонт не транслируется :)


Then:
2018-04-19T10:34:49Z:LOG_INFO:mhmbcdk336k78tf4m5unh13tu9:items.php:1901:item_store: item_store: Array
...
[body] => Шагвправо, шагвлево—исообщениеизФрендикивМастодонтнетранслируется :)
...

Hubzilla @ sasiflo
 Deutschland, Schleswig-Holstein,  
!Hubzilla Development

The editor toolbars (Bold, Attach, etc) are realised completely different in the post/status/article and comment editors. Is this by intention? Should'nt the comment editor toolbar be unified and use the "jot" as in the post editor? With all the things one can do in post editor?

If the answer is yes, I suppose someone to bring this to reality is missing ;-) ... maybe I try to, but it is a very complex structure at a first glance. Have to fiddle with the templating and all this. But if just a developer is missing to accomplish this, I will try my very best.

The main reason I came to this is, that I miss the add foto button. The addon from @Andrew Manning is working on desktop, but not on phone and pad (iphone/ipad). So I tried to add the button and noticed the different realizations of editor toolbars.
Hubzilla @ sasiflo
  
@Mike Macgirvin ??? Upload photos in comment? But here I don't have a button for photos. That was the reason for me to add the embe_photo plugin from @Andrew Manning . Some configuration to activate somewhere?
Andrew Manning
  
But that repo doesn't exist... ;-)
Mike Macgirvin
  
Some configuration to activate somewhere?


It will show up automatically in recent versions if you are using a compatible privacy role. It isn't a photo button but a paperclip (attach) icon.

Hubzilla @ sasiflo
 Deutschland, Schleswig-Holstein,  
!Hubzilla Development

Hello illuminated hubzilla power-devs and bug-hunters :-)

I have a phenomenum with my distributed profile information. The entries in directories seems not to update after changing the full-name.

My profile holds this data: Showing "sasiflo @ Hubzilla" ... this should be
Image/photo

But when posting or commenting, there is: Showing "Hubzilla @ sasiflo" ... this is wrong, I chanegd it six months ago!
Image/photo

And searching the directory give me:
Image/photo

I don't know, if some other phenomenon is related to this problem. I had two other hubzilla hubs yinc.de and yanc.de with clones of my main channel sasiflo@sasiflo.de. A few month ago I deleted these clones and stopped the instances. But if I want to remote-auth on a hubzilla channel I am not connected with, I get e redirect to yanc.de isntead of sasiflo.de, which is for now the only hub holding this channel. The "My clones" app shows correctly no clones.
Mike Macgirvin
  
There are still a couple of redmatrix directory servers out there. You should probably check that you aren't using one for your site. I know a few sites are, and their directory results are pretty bad.
Hubzilla @ sasiflo
  
I changed the directory servers multiple times. But no luck. Currently hubzilla.zottel.net.

It is even more weird: Here we have both forms "sasiflo @ Hubzilla" and "Hubzilla @ sasiflo".

Image/photo

Herbert Thielen
  
!Hubzilla Development
Hi, just updated on dev branch and got the error message above in the apache log. It's an ubuntu 14.04 with PHP5.5.9.
This change helped:

diff --git a/include/features.php b/include/features.php
index c865f67..3e30781 100644
--- a/include/features.php
+++ b/include/features.php
@@ -44,7 +44,7 @@ function feature_level($feature,$def) {
return $def;
}

-function get_features($filtered = true, $level = (-1)) {
+function get_features($filtered = true, $level = -1) {

$account = \App::get_account();

Is PHP5 still supported on dev branch, or should I search for a more up to date PHP version?
Mario Vavti
  
@Mike Macgirvin do you see this error on 5.6?
Mike Macgirvin
  
I'm running 7 most everywhere but I just executed and did a syntax check on that file with a 5.6 version and there were no reported issues. I nearly always wrap negative numbers in parens so they can't possibly be interpreted as operators. I've been doing that for 40-50 years and it's mostly habit.
elmussol
  
Debian stable/stretch (as I have found over the last 12 hours) only offers 7.0. Both 7.1 and 7.2 are in testing/buster. I can't see Debian dropping the ball on not getting at least 7.1 into stable before 7.0 expires.

M. Dent
  
!Hubzilla Development

Following along with RockyIII's notes in Support - and decided to create a new account and check out the "New Member Links" menu on the right sidebar.  One thing I noticed was that the right sidebar collapsed and was hidden from even with a reasonably wide screen (disappears at 1180px width)  and becomes inaccessible and invisible (which makes it completely inaccessible and therefore useless for smartphone users - and I use the webui all the time on my phone --- it's GREAT!).  The left menu goes away at 980px, but the slider arrow (->) appears in the top navbar.

I am SO not a UI person, so I'm not sure I have any good suggestions.  My first thought (partially because I think would be fairly easy to implement) is to "fold" the right menu and make it visible at the top of the left aside when it is removed from the right.  But I'm sure someone here has a better idea than that.

neue medienordnung plus
  last edited: Wed, 18 Apr 2018 00:18:10 -0400  

neue medienordnung plus
  last edited: Wed, 18 Apr 2018 01:12:40 -0400  
I administrate both channels @Hubzilla connected people. Workshop and https://hub.libranet.de/channel/hubzillaru . But I understand not, why get @Hubzilla connected people. Workshop one stop sign. The procedure:
  • I dleted as @'Русскоговорящие пользователи' the @Hubzilla connected people. Workshop connection
  • I connected as @'Русскоговорящие пользователи' the hucope-channel
  • I connected as hucope-channel the connection request from @'Русскоговорящие пользователи' channel
Yet works the {@'Русскоговорящие пользователи'  <-->  hucope-channel} connection. Thank you, Mike ;-).

#HubzillaManual #eliminateStopSign #StopSign #HubzillaConnectedPeople #РусскоговорящиеПользователи #connectionRequest #HubzillaWorkshop
Kris Kelvin ✪
 La Ilusión,  
!Hubzilla Development Hi guys, do you have bitcoin wallet? I want to give you a coffee.

#bitcoin

M. Dent
  
!Hubzilla Development

I've been playing with the affinity slider and "prioritizing" my contacts.  I REALLY like it.  The only thing I don't like is that it isn't sticky and I don't see a way to set a default.

My preferred thought is to simply have the value stored as a default in the profile whenever it is changed - maybe with a profile setting, "Affinity Slider - Remember Last Setting" or something.  Another option is to put a default range in the profile settings.

I'm guessing this has been discussed before, so I'm happy to defer to the previous conversation, if so.  If not, are there any thoughts to this?
Mike Macgirvin
  
Settings -> Addon/Feature Settings or whatever I changed the name to recently.
M. Dent
  
I knew I had seen it.... Thanks!
itsme
  
@Hubzilla Development+  Does the OpenWebAuth mean that people who host their own Hub know when I look at their channel?
Andrew Manning
  
Anytime you authenticate to a hub, that information can be recorded and reviewed by the hub admin (and anyone else with whom that admin shares server access privileges, of course). This is an independent issue from OpenWebAuth, which is simply one way for the hub to remotely authenticate your channel.
Mike Macgirvin
  last edited: Tue, 17 Apr 2018 19:39:36 -0400  
It's always possible for a rogue developer to modify his software to track this information but the software itself honours your browser DNT (DoNotTrack) setting and I believe also turns on DNT mode automatically if your channel uses a restrictive privacy mode. A plugin exists (visage) which let's you see who has visited your channel recently but most have us have discovered it's nearly useless with this mob. I think Firefox turns on DNT by default. There is another plugin which allows you to configure openwebauth so that you only authenticate to friends' sites by default which can reduce the possibility of getting picked up by a rogue tracker "somewhere in the grid". Even without any authentication at all, rogue sites can track you by IP address and browser fingerprint so if you're on the internet you can be tracked. You are free to examine our source code and I think you'll discover that we go out of our way to do the right and ethical thing when it comes to your privacy, while offering a lot of capabilities which traditionally require large centralised user databases (and provide their owners with nearly infinite tracking/monitoring possibilities).

Haakon Meland Eriksen (Parlementum)
  
@Hubzilla Development+ What is the optimal size for a channel cover photo? The crop tool only allows moving, not resizing.
Haakon Meland Eriksen (Parlementum)
  
I fixed a new version of the cover photo at 1200 x 435, and here is the channel -
https://parlementum.net/channel/moodlenetfan
:-)
Haakon Meland Eriksen (Parlementum)
  
The background colour of the navbar bleeds into the profile photo. I suspect it is because the profile photo is transparent, I think it needs a white background to pop up.
Haakon Meland Eriksen (Parlementum)
  
Yup, since my MoodleNet fan profile photo was transparent and included the same orange as the navbar, I needed to add a white background to the profile photo. The channel is now ready.

Hubzilla Stuff
  last edited: Mon, 16 Apr 2018 16:19:45 -0400  
!Hubzilla Development

Hi, I did this by making a widget and adding a bunch of pdl files to the redbasic theme. Each .pdl has this at the top:

[region=nav][widget=navbuttons][/widget]$nav[/region]

It's not perfect, as I'd rather have the icons to the right of the profile dropdown, but that would require editing the navbar code outside of any theme,  I  think... ? Is there any other way?

Image/photo
Galette Saucisse
  
So new theme! Greenbasic
If you are on 22330.fr, go to menu profile -> settings -> display to select it.
I'll upload it to my git account as soon as I get time

#hubzilla #theme #green


Image/photo
galettesaucisse (Galette Saucisse)

Image/photo

galettesaucisse has 3 repositories available. Follow their code on GitHub.
Haakon Meland Eriksen (Parlementum)
  
In a theme there can be schemes too.
Hubzilla Stuff
  last edited: Wed, 18 Apr 2018 16:24:52 -0400  
Yes, this is an experiment really, I wanted to learn how to build a theme that works across a site without user input. Plus it has a modified navbar.
Jeroen
  last edited: Mon, 16 Apr 2018 12:36:57 -0400  
!Hubzilla Support Forum !Hubzilla Development So I'm running now Hubzilla.nl on a VPS with a lot of memory. Hubzilla.nl has been converted (already months ago) to InnoDB. All works well, but the database is 12GB and together with jeroenpraat.nl that makes 13.2GB. According documentation I have to set the amount of innodb_buffer_pool_size to 13GB, but that really is to much, so I have set it first to 6GB and eventually to 5GB (innodb_log_file_size=640M). And it still works well. But actually I find it very strange that I need so much RAM for only 10 active users).

So my question is if there is a solution to have less RAM with still having enough performance?
Mario Vavti
  
@Jeroen i think if you set "Expiration period in days for imported (grid/network) content" the content will be expired retroactively.

Also i am pretty sure you can keep your outqueue threshold at about 3000 without issues.
Jeroen
  
@Mario Vavti It's about your own channel, not about the grid.

Yes, I now have set it to 3000. Let's see if that works.
Manuel
  
My problem seems to be solved. Thank you!

Andrew Manning
  
I find it convenient in some forum software that selecting text triggers a little popup that has a button to quote the text in a response. This would be especially useful in Hubzilla where the decentralization sometimes allows a conversation to not be in sync for all observers at a given moment, so knowing the text that a commenter is responding to would be helpful. I think it would be relatively easy to implement.

!Hubzilla Development
M. Dent
  
Piggybacking - I go back and forth on the idea of threaded discussions.  

A good compromise I've seen is to have a lilnk automatically inserted into the comment when replying that will take the user to the comment being replied to (usually just an anchor with some sort of unique comment id).  

The only thing that I think would make it better is if somehow it slightly changed the color of the <div> to make it stand out a little more.

Andrew Manning
  
Can we switch to monospace font in the text editors as a default? It would look like this:

Image/photo

if we used

#profile-jot-text {
    font-family: "Courier New", Courier, monospace;
}


!Hubzilla Development
Mario Vavti
  
there is already the ability to achieve what I want with a simple derived theme

Please don't make themes for only css overrides. We have schemas for this...
Andrew Manning
  
Please don't make themes for only css overrides. We have schemas for this...

You can beg and you can cry, Mario, but you're too late. The deed is done.
Mario Vavti
  
Image/photo

neue medienordnung plus
  last edited: Sun, 15 Apr 2018 07:21:47 -0400  
  
Yes, I think it is a good idea. Translation with community would be better that translation which made one person.
You can contact me via matrix (@Anatoly:matrix.org) or jabber (sablintolya@jabber.ru).