Skip to content

Updated Shibboleth auth plugin to work with LimeSurvey version 5 and 6

Thanks to the nature of open source software, I was able to quickly fix an issue reported internally.

Thanks to leandrobhbr (and atlet of course), there is an existing Shibboleth plugin working for LimeSurvey version 4.

Too bad, it stopped working for version 5. After a quick check, I was able to make it work again within my version 1.0.1.

I've created two more versions to prepare the code base for upcoming php versions.
Within version 1.0.2, I have introduced composer and fixed the code quality by using phprector.
Within version 1.0.3, I have introduced php-cs-fixer to make the code look great again.

And of course, I have created a pull request to the source.

Thanks to my current employer giving me the opportunity to fix this issue during my working hours.

Temporary fix lot of entries in nextclouds user "Devices & sessions"

Hello there,

when logged into my nextcloud server as user, I clicked to User Bubble -> Settings -> Security and found a long list of entries below Devices & sessions.

After searching the issue list, I found this issue ticket.

The issue is know but either it is a kind of special issue ore no one really cares about it.

There is currently no real solution but I want to offer a temporary one.

You can create a cronjob that executes the following sql statement once per week or day.

```sql
--- 
--- You have to replace <user_name> with your user name
--- 

DELETE FROM 
  `oc_authtoken` 
WHERE 
  `uid` = <user> 
  AND `last_activity` < UNIX_TIMESTAMP(DATE_SUB(CURRENT_DATE(), INTERVAL 16 DAY));

OPTIMIZE TABLE `oc_authtoken`;
```

From my point of view, it looks like Firefox is doing something strange. Maybe other browsers behave the same.

Best regards, artodeto