Herzlich Willkommen ツ

LDAP query Synology NAS for all users of a group

20.07.2020 - 12:05

Well some experienced LDAP administrators may laugh, but it was quite hard for me, as LDAP "newbie" to find out how to get a list of all LDAP Group Members from my Synology DiskStation. So I'd like to share my experience and result.

My task was to get a list of all active users in my Synology LDAP which belong to a certain Group ("CEO").


WinSCP "Keep remote directory up to date" doesn't upload / work due to timestamp problems

30.06.2020 - 12:20

If you should also encounter the problem that WinSCP's wonderful syncing / folder watch functionaity "Keep remote directory up to date" doesn't work correctly, first have a look here, also for troubleshooting: https://winscp.net/eng/docs/task_keep_up_to_date

I couldn't find a working fix for this, but I found a good workaround:


Run Jira Server on Hetzner Managed vServer

18.06.2020 - 09:40

Szenario

Wir wollen testen, ob das beliebte Atlassian Jira auch auf einem Hetzner Managed Server betrieben werden kann.
Um das Leistungs-Minimum zu testen, haben wir uns für einen VSERVER MC40 entschieden.

Vorarbeiten


Running GitLab CE on sloppy.io Docker Container

Running GitLab CE on sloppy.io Docker Container

12.06.2020 - 15:40

Some weeks ago I found the European Docker Hosting provider sloppy.io and I'm still impressed by the wonderful UI / UX to administer and run Docker containers online so simple.

As a fun project I tried to run a GitLab CE instance on Sloppy and after some drawbacks, I finally managed to run it!

Here are the pieces:

Image Path: gitlab/gitlab-ce


Drupal 8: Add menu item with anchor link programmatically in .menu.yml

08.06.2020 - 17:04

For a Drupal 8 EU Cookie Compliance patch I needed a way to add an anchor link as default menu item programmatically in .menu.yml


example.anchor:
title: "Anchor example"
description: "Scroll to top on the current page"
url: "internal:#top"


Shopware 5 - defekte Varianten entfernen

05.06.2020 - 11:10

Es kann in Shopware 5 aufgrund fehlender Validierung im Import / Export passieren, dass "defekte" Varianten angelegt werden. Also Varianten, denen die korrekte Zuordnung zu ihrem Elternartikel fehlt.


Migrating ownCloud 10.4.1 to nextcloud 18 Odyssee

28.05.2020 - 20:55

Migrating ownCloud to nextcloud typically isn't that hard thank to the nextcloud developers who provide a user friendly migration script: https://nextcloud.com/migration/

Sadly at the moment the migration script only supports ownCloud migrations up to 10.0.x and not 10.x.

1) Old PHP Versions


Drupal 8: Add field validation constraint programmatically

14.05.2020 - 16:41

In foundation_anchor_menu_block module I needed to add a validation to a field in a block to ensure the entered value matches the regex allowed for an "id" HTML element attribute.


Drupal 8: Delete view programmatically

12.05.2020 - 15:22

If you should run into the same situation, that you'd like to delete a view programmatically, for example on module uninstall, here you go:

  1. \Drupal::service('config.factory')->getEditable('views.view.' . $view_name)->delete();


VSCode: (Better) alternative to phpcs & intelephense for Drupal Code style / linting: phpcbf

08.05.2020 - 18:00

After fighting a lot with phpcs, intelephense and WSL2 in VSCode, I found vscode-phpcbf and hey, it works! :D immediately!

And it shares the Standard with phpcs!

https://marketplace.visualstudio.com/items?itemName=persoderlind.vscode-...


Inhalt abgleichen