Spyke

Posts

boostforlemmy·Boost for Lemmybyshrugal

Hiding read posts stopped working

I have "Show read posts" disabled in the settings, but it just stopped working all of a sudden. Since yesterday I'm seeing read posts again.

I tried toggling the setting, clearing cache and switching instances, but no luck so far.

Anybody else who has this problem? Any idea how to fix it?

Edit: Looks like it's a problem with the new Lemmy version!

View original on lemm.ee
europe·Europebyshrugal

Election: Poll results for small parties?

In this election there won't be any % barrier in some countries, but I still haven't seen any poll numbers for small parties here in Germany for example. Everything below 2-3% gets lumped in with "Others" as usual, even though about 0.5% would already get them a seat in parliament this time. This makes voting strategically very difficult, because we have no idea whether any small party could even get in.

I get that there are limits to what you can show in a graphic, but even the source links I checked didn't provide more details. Why is that, and has anyone seen poll numbers for small parties, particularly for Germany?

View original on lemm.ee
selfhosted·Selfhostedbyshrugal

Guide: Setup authentication for the default Synology reverse proxy

Hey everyone,

My personal server of choice is a DiskStation right now, and I'm using the default reverse proxy for all my subdomains. I went through a few stages to secure them, and now that I'm finally finished (famous last words heh?!) I thought I'd document my approach and provide some configs and code. I've seen a few unanswered questions here and there about how to do this on Synology, so hopefully this helps a few people.

The guide covers limiting access to local IPs, as well as adding Basic or SSO authentication. The main goal is to integrate well with the GUI and access control profiles, and to leave all existing and autogenerated files untouched, so updates and changes via the GUI still work as expected.

Here is the basic idea:

The nginx server config is located in /etc/nginx/, and the reverse proxies are defined in the sites-available/server.ReverseProxy.conf file inside that folder. There's one server directive for every proxied site, and the DSM config adds a include .acl.<random string>.conf* directive if you set up an access control profile for a site. That * at the end there is crucial, because it means we can manually add more configuration files with the same prefix, and they will automatically be included and applied to all sites using this access control profile.

There are also include directives for the main and http scopes, as well as for the default DSM server directives. This means we can inject configurations in these places, just by adding correctly named files to the conf.d folder.

For Single Sign-On (SSO) authentication we run a Vouch-Proxy instance to handle the communication between nginx and the OIDC server. We also need to spin up another nginx reverse proxy and forward requests to it, because the built-in one doesn't support the required auth_request directive. Its container script just copies the default reverse proxy configuration with some modifications, and it is set up to reload whenenver the original file changes.

Link

Guide: Setup authentication for the default Synology reverse proxyhttps://codeberg.org/shrugal/synology-reverse-proxy-authenticationOpen linkView original on lemm.ee
firefox_addons·FF addons&extensionsbyshrugal

Touch navigation gestures on desktop

Hey everyone,

I created an addon to bring touchscreen navigation gestures to the desktop version of Firefox, so mainly for 2-in-1 laptops and Linux/Windows tablets. It adds back/forward navigation and pull-to-refresh gestures, shows the same icons as existing touchpad gestures, and will check beforehand if you can still scroll in a given direction.

Here is the link: Touch Navigation

https://addons.mozilla.org/firefox/addon/touch-navigation/Open linkView original on lemm.ee

You reached the end