Mario Vavti
  
@Hubzilla Development+ what about not marking posts read when they are loaded in the stream but only if we access them via notifications or mark them read manualy?
Erik Lundin
  last edited: Thu, 23 Mar 2017 17:33:29 -0400  
Would it be possible to mark posts as read once they have been shown to the user (within the visible area)? For example the Tiny Tiny RSS web interface does that.
Mario Vavti
  
Would it be possible to mark posts as read once they have been shown to the user (within the visible area)? For example the Tiny Tiny RSS web interface does that.

That would be possible somehow... The question is how big the impact on DB performance for small systems would be...
mrjive
  last edited: Fri, 24 Mar 2017 07:42:33 -0400  
My experience of lazy user is that sometimes I get a double notification: one "general" and one "home", so I have to mark it as read twice, not to mention the fact that often times I've already read the comment that is notified. So don't call me lazy, rather stakanovist :P
Einer von Vielen
  last edited: Tue, 21 Mar 2017 12:48:26 -0400  
@Hubzilla Development+

@Mike Macgirvin , @Mario Vavti , @Andrew Manning This might be helpful?

Is anybody aware of this solution Friendica implemented? I know that @Michael Meer could answer some question regarding the error message and what measures a admin could try to take in Hubzilla at the moment.

Accidentally, I deleted the original post but was able to find the comment via the search.

If I got this right, this was what riendica implemented
  • A post has to be delivered (to many contacts).
  • The processes are not forked. Instead the deliveries are written into a table.
  • Friendica looks into the table and delivers the post using a limited number of processes.


The comment of @ https://pirati.ca/profile/heluecht
Genau diese Problematik wurde in Friendica für die Backgroundjob-Verarbeitung berücksichtigt. Arbeitet Hubzilla immer noch so, dass eine unbestimmte Anzahl von Hintergrundprozessen gestartet wird, wenn Beiträge ausgeliefert werden? D.h. wenn man einen Beitrag an 100 Leute ausliefert, dass dann auch auf einen Schlag 100 Hintergrundjobs gestartet werden?

Wenn ja, dann empfehle ich einen Blick auf den "Worker" in Friendica: https://github.com/friendica/friendica/blob/develop/include/poller.php

Statt direkt Prozesse zu forken, werden die Hintergrundjobs in eine Tabelle geschrieben. Eine fest definierte maximale Anzahl von sogenannten "Workern" greift diese Tabelle ab und arbeitet die Jobs ab. Die Worker achten dabei selbständig auf die Systemload und die maximale Anzahl von Datenbankverbindungen und erhöhen und reduzieren die Anzahl der parallelen Prozesse entsprechend. Ein Prioritätsmanagement sorgt währenddessen dafür, dass die Worker gerecht verteilt werden und niemand zu kurz kommt.

Ich denke, dass das viel zur Stabilität beigetragen hat, insbesondere auf schmalbrüstigeren Systemen.

Vielleicht findest Du ja jemanden, der das für Hubzilla umsetzt. Meine Erlaubnis zur Übernahme meines Codes hast Du. (Es gibt ja Lizenzprobleme, die das einfache Übernehmen verhindern)
Mike Macgirvin
  
Was going to reply before you deleted the other post. Dreamhost has a different issue - they don't restrict the number of SQL connections, but whenever your shared host exceeds some preset limit a 'process reaper' goes in and starts killing stuff.

If you've got a 'worker' arrangement, it means you have to have a 'boss' to keep track of who is employed at the time. This is hard enough to accomplish in a cross-platform manner, but also has issues with Dreamhost, as sometimes the assassin kills workers and sometimes it kills the boss. Hubzilla is designed to survive this and still provide reliable (though sometimes delayed) delivery.

Trying to provide reliable delivery across all these different hosting variations is a real challenge. It might make sense to make it "pluggable" to work with different provider models.

In the uberscape case, you might want to look into shared DB connections. I know this is possible under some fcgi modes but may take a bit of code on the hubzilla side to detect a shared DB and pull the connection handle from a shared file or env variable. Then you open the DB when the VM starts up and use one connection - period.
sasiflo
  
@Michael Meer Have you contacted their support? I made good experiences with them. Albeit my Hubs are located on a vps at Strato now.
Michael Meer
  
Yes, I did. Their advise was to restructure hubzilla to consume less resources. No, they don't give me more SQL connections.
So I made for me the decision that uberspace is the wrong provider for me.
I paid already the money for the next few month 3 weeks ago. But I don't spend much more money to uberspace.

May be that I'm the first one who scratches the limits from uberspace, cause my system communicates to Hubzilla, Friendica and Diaspora (lots of servers) with lots of contacts.
I expect more problems of this kind when the count of servers and channels increase.

In between I've got the question in my head about recommended resources.
How much resources do we need for example for a server of an local sports club with 400 members?
Do we've got some experiences with different kind of sizing?
Guess this might be a point for the hubzilla FAQs.
Mario Vavti
  
@Hubzilla Development+ i am making good progress porting hubzilla to bootstrap 4. It is in a usable state already but still has some gliches here and there though. If you are curious and running dev branch you can simply switch over to the bs4 branch to have a look.
Klaus
 
The missing top navbar in /import is it related to bs4?
Mario Vavti
  
The missing top navbar in /import is it related to bs4?

Haha... That's wierd... It's actually there but invisible... It seems the navbar is missing it's background color for some reason... I'll have a look at it later...
Mario Vavti
  
The /import issue should be #fixed now...
Andrew Manning
  
I'm playing with adding keyboard shortcuts to Hubzilla core, using the Mousetrap library. So far I've added some navigation shortcuts. You type "g" (for "go") followed by another letter designating where to go, such as "g" for grid/network view, "w" for wiki, "f" for cloud files, "p" for webpages, etc. You can press "a" at any time to open the app menu, after which you can use the arrow keys and enter to select one of the app links.

I realize these are all based on English, but maybe we can figure out how to pull in the shortcut keys from a translatable file. Or maybe each channel can customize their shortcuts; Mousetrap does offer an extension to allow recording of custom shortcuts.

You can check it out what I'm doing here: https://github.com/redmatrix/hubzilla/compare/dev...anaqreon:keyboard-shortcuts?expand=1

@Hubzilla Development+
Mario Vavti
  
@Andrew Manning i appreciate the plugin decision. Thank you!
Jeroen
  
Thank you @Andrew Manning for doing this.
Andrew Manning
  
I got custom shortcut recording working on the client side, but now I need to save and restore these settings to the channel profile preferences.

I suppose we'll need a version-controlled schema for what shortcuts are supported as the list will certainly grow...

Image/photo
Andrew Manning
  
Now that Hubzilla 2.2 is officially released, I updated the project website git repo with a new advertisement for it (here's an example).

You can import the webpage elements into Hubzilla to host the website by uploading the zip file using the Webpages import tool.

@Hubzilla Development+
tobias
  
This is awesome. Just added it to this page. Import worked well, but you should mention that code needs ti be allowed for that account in the admin/account section.
Riseup provides online communication tools for people and groups working on liberatory social change. We are a project to create democratic alternatives and practice self-determination by controlling our own secure means of communications.
https://riseup.net/
May be co-op potential with Riseup-community?
@Hubzilla Development+
Steff
  
... or was the long downtime only to compromise. ^^
neue medienordnung plus
  
@Steff
Thank you for hint. You mean https://news.ycombinator.com/item?id=13007234 or https://wutimbauch.wordpress.com/2016/11/24/riseup-net-user-aufgepasst/ ?  I wouldn't know. I'm afraid I haven't even any time to investigate and verify this information.
Paweł Szymon Kosiński (pskosinski)
  
They already explained what was going on: https://riseup.net/en/about-us/press/canary-statement

Simply, they got two warrants from FBI and couldn't tell anyone about that. Thus, they did not update the canary.
Andrew Manning
  
On my phone, I don't see the notification icon until there are no new notifications, then I see a grey non interactive icon. If I tap the blank space when I have new notifications, a drop-down list of notifications appears with the notification count icon as the first in the list, which expands to show the notification links if I then tap that badged icon. Is this normal?

@Hubzilla Development+
giac hellvecio
  
in my clone I have not received notification of this conversation ... but i see the comments

my clone is in DEV-hub.
giac hellvecio
  last edited: Thu, 02 Mar 2017 10:10:29 -0500  
@Mario Vavti
found the bug: when you have the Narrow Navbar enabled you can not see the 'Red notifications' in Dev  version of hubzilla.
Mario Vavti
  
found the bug: when you have the Narrow Navbar enabled you can not see the 'Red notifications' in Dev  version of hubzilla.

#fixed
Andrew Manning
  
The Hubzilla wiki should be back online with grid.reticu.li now running #2.2RC. Approved connections have edit permission as before.

@Hubzilla Development+
Raymond Monret
  
The one shipped with samsung galaxy android phones
Mario Vavti
  
Mind to share your android version?
Raymond Monret
  
5.0.2
Raymond Monret
 
@Hubzilla Development+
some more updates to FR language in transifex
Andrew Manning
  
This is unfortunate. I just copied in a bunch of content from the old @Hubzilla Development+ wiki after updating grid.reticu.li to #2.2RC by manually copying page content downloaded using the new gitwiki plugin. I added several pages, but then after adding the page with a code block, the entire wiki appeared empty (not even pages are listed). This bug should probably be a blocker to releasing 2.2. Hopefully I'll have time to help debug soon. This is likely related to this issue.
Mario Vavti
  
I see it: in wiki.tpl window.wiki_page_content contains unescaped "
Mario Vavti
  
The javascript issue should be #fixed now...
Andrew Manning
  
It works! Good job!
Mario Vavti
  last edited: Mon, 27 Feb 2017 04:31:42 -0500  
From version 2.2RC onwards we will be checking for a minimal and maximal core version requirement in themes. If the requirement is not met we will fall back to the default theme.

To set the minversion and maxversion of a theme you have to add MinVersion: x.x.x and MaxVersion: x.x.x in view/theme/yourtheme/php/theme.php  of your theme.

Please make sure that your theme is really functional with the given core version before raising min or max version!

I hope this will help to maintain the quality of themes at a decent level and prevent members to end up with broken sites.

@Hubzilla Development+
Mario Vavti
  last edited: Mon, 27 Feb 2017 04:57:06 -0500  
I changed the check to read the info from view/theme/yourtheme/php/theme.php instead of a separate file and added a maxversion check to make sure we are safe in both ways. I also edited the top level post accordingly...
phellmes
  
Regarding the overwrite for devs - I just figured out that they could simply write in the DEV or RC version they're developing/testing with so no separate overwrite mechanism would be needed. Looks all set now.
Mike Macgirvin
  
The file based flags go back a long time. I think the info blocks are a better mechanism. The only one I think should be file based going forward  is 'hidden' because that's a site decision and not a plugin/theme implementation decision.
Mario Vavti
  last edited: Fri, 24 Feb 2017 06:16:40 -0500  
I am wondering if we should introduce a min theme version and fallback to default if the requirement is not met. None of the alt themes seem to be maintained anymore and i am not sure how well they will work with the recent changes. We should not lock out members just because they have selected an alt theme...

Possibly we should include this into 2.2 release...

@Hubzilla Development+
Andrew Manning
  
That sounds like a good idea.
neue medienordnung plus
  last edited: Tue, 21 Feb 2017 07:35:57 -0500  
Einer von Vielen
  
https://grid.reticu.li/help/member/member_guide#WebDAV_access

I use davfs2 as described on Linux machines. It works for Hubzilla master (2.0.7)
Andrew Manning
  
Although the webpage import tool is currently broken in Hubzilla 2.0 (don't use it or it may delete existing elements!), we have fixed the bug in the development branch and will publish the fix in the upcoming Hubzilla 2.2 release.

That being said, I wanted to share the git repo for the project website that allows you to easily import the website for use on your hub. For example, in my https://grid.reticu.li/admin/site admin settings panel, I set the site homepage to page/hubzilla/hubzilla-project/ so that non-authenticated viewers see information about Hubzilla and not my particular hub. This is currently not completely consistent with the official project page at https://hubzilla.org, but ideally we can build this together, and you can always tweak the content as necessary when you import the elements to your channel.

@Hubzilla Development+
neue medienordnung plus
  
@Mike Macgirvin
I'd also like to see header support in the browser for identity so we wouldn't have pass a zid around with every link,

Exist a Request for Comments - Wikipedia  
A Request for Comments (RFC) is a type of publication from the Internet Engineering Task Force (IETF) and the Internet Society (ISOC), the principal technical development and standards-setting bodies for the Internet. An RFC is authored by engineers and computer scientists in the form of a memorandum describing methods, behaviors, research, or inno...

for the feature header support in the browser for identity?
Mike Macgirvin
  
There have been a few proposals. Most are stuck in "internet draft hell". None have reached RFC status.

This is a few years old, but is a good place to start.

https://www.w3.org/2011/identity-ws/papers.html
Andrew Manning
  
I like how in one of the Mozilla papers Facebook users illustrate the lowest levels of computer literacy:

Email addresses have significant additional advantages ... they are well understood by all types of users. Even Facebook users log in using their email address.
Raymond Monret
 
The French translation has been updated on Transifex. Can someone please sync it with github?
Raymond Monret
 
Automatic syncing seems to be off.
Andrew Manning
  last edited: Wed, 15 Feb 2017 23:32:14 -0500  
Thanks to @Manuel Jiménez Friaza for recent contributions to the Spanish context help translations. I believe that the context help is likely the most useful help for the average member (once they know that the context help system exists), and I feel it is important that we make this accessible to people in their native language.

And don't forget: everyone, including translators, is also encouraged to suggest revising the content of the context help. It is certainly not the case that whatever I originally wrote is the clearest, most helpful text that could possibly be written. To make it easy to contribute translations, you can connect to the @Hubzilla Development+ channel and edit the Context Help Translations page
Raymond Monret
  
It actually worked. The only feedback I got after clicking "save" was a red traffic sign across the save button preventing me from clicking it so I wrongly deduced it didn't work. I got it now :-).
Might be worth adding a "saved" notice once the content has been saved.
neue medienordnung plus
  last edited: Fri, 17 Feb 2017 03:21:26 -0500  
I stumbled also thereover
only feedback I got after clicking "save" was a red traffic sign across the save button preventing me from clicking it so I wrongly deduced it didn't work.
Quite deceptive this red traffic sign :|.
Raymond Monret
 
Andrew Manning
  
We seriously need to add some pizzazz to the Features section of the #doco. If anyone would like to make some little graphics or screenshots to illustrate the various features, share them using a cloud files folder, I will incorporate them into the text to make it more visually appealing.

@Hubzilla Development+
Manuel Jiménez Friaza
  
mrjive
  
I choose "Must be on hubzilla to have a slice" privacy settings
Manuel Jiménez Friaza
  
This would be a great advertising campaign! :-)
Andrew Manning
  
It's a little weird having a simple link to an external website be an "app", isn't it? Unless you're considering the GitHub page as a "webapp"?
Mike Macgirvin
  
It's a little weird having a simple link to an external website be an "app", isn't it?


You may need to look at this through a different set of eyes than you have been accustomed. I have an entirely different way of looking at the app ecosystem than Apple and Google. Github is a webapp, is it not? We can in fact create access controlled webapps in Hubzilla and charge for access. We can even give away the app (the link) freely and still only allow access to the underlying service to those who have purchased the app from us. We can use any existing web service as an app. Anything. Most vendor app spaces are used to lock you into a platform. Ours is totally open but also allows for the possibility of compensation to attract creative minds that aren't completely altruistic. It's the best of both worlds.

I've personally got hubzilla apps for metric converters and local weather and traffic information.
Mario Vavti
  
@Mike Macgirvin we are having an issue with login form id's when there is a login in the main section. I suggest we either get rid of the login form on the startpage or we don't provide nav-login if there is a login form on the page already...

What do you think?

@Hubzilla Development+
Mike Macgirvin
  
Probably related to duplcated div ids. I wasn't sure how to reliably detect duplicates, but I  agree we should only have one. I'll see if I can work something out.
Andrew Manning
  
Looks like the #chess #plugin is broken. At least I can't make a new game on either 2.0.7 or dev. Lame.

@Hubzilla Development+
Andrew Manning
  
Nevermind. I just didn't remember to select both players. That should be more intuitive.
Mike Macgirvin
  
That was initially due to changes in the ACL tool where for a while we always selected you whenever you chose something besides 'public'. I didn't realise that bit had been quietly fixed.