Friendica Developers reshared this.
Yet another Git-Repo :D
@Tobias - I'd like to commit changes for the computed "docs" page at https://git.friendi.ca/friendica/docs.git
Can you create this repo for me and make me admin for it? Thx

Roland Häder likes this.
Friendica Developers reshared this.
docs.friendi.ca
Hi, I'd like to add a new domain `docs.friendi.ca` where we store the whole documentation. It should be versioned, like
https://docs.friendi.ca/2022.09/
for the docs of the stable 2022.09 version or https://docs.friendi.ca/develop/
for the docs of the develop branch.I think it would be possible to automatically generate it.
But before, I do need the domain - pinging @Michael Vogel - and a routing to the current
files.friendi.ca
vm-instance - pinging @utzer ~Friendica~ 
I'd like to generate it automatically during the CI, so the update would be smooth and automatically

2 people like this
Friendica Developers reshared this.
2 people like this
Friendica Developers reshared this.

2 people like this
Friendica Developers reshared this.
Roland Häder likes this.
Friendica Developers reshared this.
https://docs.friendi.ca/<branch>/
or only for develop
?2 people like this
Friendica Developers reshared this.
Roland Häder likes this.
Friendica Developers reshared this.
2 Factor & DB plaintext
Hi all, I lost my mobile phone during the last festival and so my TOTP-App was gone forever. Unfortunately, I wasn't aware of my recovery codes, so I thought I would have to reset my accounts of Friendica.
But no! just use
select code from 2fa_recorvery_codes where uid = 66 and used is NULL;
and voilá, I used the first code and was back in.@Hypolite Petovan , isn't this a possible security issue, is it?? Storing such sensible data as plaintext. I think we should save it as hash like for passwords to make it impossible to read it again .. Yes, the downside is that there's no possibility to save recovery_codes from the settings-panel again, but tbh I feel a little bit unsafe, but maybe it's just a feeling

Roland Häder likes this.
Friendica Developers reshared this.
Additionally, the use of the recovery codes necessitates the use of the password (that you still had in your head/password manager), after all it's a second-factor authentication, which means that it can be freely compromised as long as the first factor (the password) is safe.
Still, we can hash these codes and as a result only show them once, it isn't that hard other than requiring someone™ to spend some quality time on this task.
Roland Häder likes this.
Friendica Admins reshared this.
Large database
Hi everyone,
last week, I struggled with the size of my database for opensocial.at .. It went full (80GB) .. I added additional 10GB to the volume, but it seems to constantly increase and I think in a few weeks, I will be at the same situation like the last week.
Is there a possibility to shrink the database, or to wipe old data?
I recently deleted about 1.200 spam accounts (and set the register option to approval first ... lessons learned...). Are there leftovers inside the db which I can delete?
It's not that I don't have enough space, but I'm afraid of my backup borg-backup space in the near future ^^
Friendica Admins reshared this.
Friendica Admins reshared this.
Squeet.me with now around 5.000 users has da database size of around 100 GB.
2 people like this
What I did:
- Clicked at "Friendica Developers" under "Forums" inside the left navbar
- Opened a new Topic per pencil-button
Friendica Developers reshared this.
New Github/Gitea Label
I'd like to introduce `Refactoring` as a new label. I feel like we should distinguish between "real" enhancements and "just" refactorings. What do you say?
Friendica Developers reshared this.
Locks with hostname
Calling @Hypolite Petovan and @Michael Vogel for support at https://github.com/friendica/friendica/pull/10601
I do want to alter the way how locks are working to make parallel hosts/nodes possible. I think the logic itself is pretty straight forward and final.
BUT - how can I upgrade the lock table without using it during the update process itself, it's a gordon knot

I think about using a new method at
DBStructure
: https://github.com/friendica/friendica/pull/10601/files#diff-eda5315231a6379d57916642e302e3525c3de2161e7dedb209526c7cfc8afcd6R543 and execute it before using the lock.Do you think it works? At least my local nodes are working, but I'm totally unsure about it yet ..
I'd like to finish this PR for 2021.12 as another preparation for making Friendica "cluster ready" :D
Add hostname to Locks by nupplaphil · Pull Request #10601 · friendica/friendica
Superseded #9114 This should help with #9095 We now add the hostname to each lock as well. The hostname is detected based on either uname -n or per environment variable NODE_NAME. This will have th...GitHub
Roland Häder likes this.
Friendica Developers reshared this.
Questions Depository
Calling @Hypolite Petovan for help

Why did you introduce a separate "Navigation" directory under "src"?
My guess: this is really a DDD practice using a directory for a use cases and define the different class-types under it (creating boundaries between differently purposed code). But if so, why don't you include the Modules/Notification as well?
And "Navigation/Notification" triggers for me, that the focus of this class is only the notifications at the top of the navbar, am I right?
I'm trying to follow your pattern and refactor the ProfileField / PermissionSet.
Would it be a new "src":
"src/Profile" , where PermissionSet and ProfileField are Entities/ValueObjects ? Or how would you structure these repositories/models?
Roland Häder likes this.
- Model --> where the business logic is (=> Entity, Depository, ...)
- View --> the presentation layer (=> Renderer / smarty templates)
- Controller --> The logic to show the right business logic (glue between model & view) (=> Modules)
=> And I like it

I'll give it a try after finishing the WebDav class

Roland Häder likes this.

But Disclaimer: I was the only one who tested it yet, so please test it for your own before using it in production
Roland Häder likes this.
A test Post from Friendica

Steffen K9 🐰 likes this.
Friendica Logo for andOTP
Hypolite Petovan likes this.
Top 15 Best Global Brands
Top 15 Best Global Brands Ranking (2000-2018)
The ranking video compare Top 15 Best Global Brands since 2000. It comparing brand value calculated by Interbrand. Datasource: https://www.interbrand.com/ Me...m.youtube.com
Conversations - sicherer Android Messenger

Conversations: Sicherer Android Messenger
Conversations ist ein Messenger für die sichere und datenschutzfreundliche Kommunikation über das XMPP-Protokollwww.kuketz-blog.de
Friendica Developers reshared this.
Tobias
•Philipp Holzer likes this.