I can pay for the feature to delete inns.

โš“ Dev    ๐Ÿ“… 2024-01-12    ๐Ÿ‘ค Sacaro    ๐Ÿ‘๏ธ 455      

Sacaro

Warning

This post was published 48 days ago. The infomation described in this article may have changed.

Consider that the community really needs this, currently I host quite a lot of content and this feature is necessaryโ€ฆ

๐Ÿท๏ธ dev ๐Ÿท๏ธ feature

freedit    2024-01-12 ๐Ÿ‘ ๐Ÿ‘Ž

Oh, sorry for slow to response. You donโ€™t have to pay anything.

Iโ€™m busy for another open project. I hope I can fix this problem this weekend with a (temp) solution.

It may be a little surprise. Deletion is not as easy as it looks like.

So I want to know how do you deal with if there are posts in these inn.

The next version, site admin could pin/lock/hide posts and the new user would be standard(not senior, so they have no permission to create inn).

Could you accept this solution?

1

Sacaro    2024-01-12 ๐Ÿ‘ ๐Ÿ‘Ž [op]

Iโ€™ve done something similar while waiting for a big update that would really delete posts and inns (deleting an inn also means deleting topics and replies to those topics of course, I know thereโ€™s a lot to consider so Iโ€™ll let you do your job youโ€™re much more competent).

What Iโ€™ve done is modify the is_mod function to return true if uid == 1.

As for the senior role at registration, Iโ€™ve reduced the number to 10 so that future registrants donโ€™t have to.

Iโ€™ve also set an image limit of 4mo.

So thatโ€™s it, this patch Iโ€™ve made will hold up so that youโ€™ll take your time for a future big update rather than just a patch, reading my feedback topic might help you find new features or focus on whatโ€™s really important.

Thank you ;)

2

Kafka    2024-01-13 ๐Ÿ‘ ๐Ÿ‘Ž

If it appears to be an illegal inn then itโ€™s possible that the related posts in it are also disallowed content and could perhaps be deleted together or moved to another legal inn

3

Kafka    2024-01-13 ๐Ÿ‘ ๐Ÿ‘Ž

Maybe there should be permissions set for usergroups, so that only trusted usergroups are given permission to create Inn, donโ€™t you think?

4

freedit    2024-01-13 ๐Ÿ‘ ๐Ÿ‘Ž

Only the senior user could create inn. And I set the first 500 users senior default. This will be removed in the next version.

As for deletion, there may not be a truly deletion in the next version. There might be something like inn_status == โ€œbannedโ€. So only the site admin could see this inn.

5

Sacaro    2024-01-24 ๐Ÿ‘ 1 ๐Ÿ‘Ž [op]

Iโ€™m actually thinking of stopping using freedit for a while, itโ€™s not functional enough.

Because today images of child pornography were posted on the my instance, I canโ€™t stand it and I couldnโ€™t even delete them because freedit has so few moderation tools.

I also thought that if someone made a solo for their following and it was pornography or something forbidden, Iโ€™d never know. Not to mention the impossibility of deleting inns (but I could wait for that). This is too much.

6

freedit    2024-01-25 ๐Ÿ‘ ๐Ÿ‘Ž

@Sacaro Iโ€™m sorry for this. I worked for another project these weeks in my spare time. And it has been done. I think I may have more time for these features.

Iโ€™m working on an admin page /admin/gallery for site admin to view all images.

7

mm    2024-01-25 ๐Ÿ‘ ๐Ÿ‘Ž

@freedit โ€œI worked for another project these weeks in my spare time.โ€

Curious about your other projects.

8

freedit    2024-01-26 ๐Ÿ‘ ๐Ÿ‘Ž

@mm I create a brand new GitHub account to release the code. I donโ€™t want to my account to be linked. And that project is more popular than Freedit, receiving more stars than freedit within a few weeks.

9

mm    2024-01-27 ๐Ÿ‘ ๐Ÿ‘Ž

@freedit I understand, Iโ€™m all about privacy, too. I donโ€™t think a project can be judged purely by the number of stars. For example, compared to answer.apache.org, although there are many stars, freedit looks more like a work of art. So Iโ€™m looking forward to seeing your other works.

11

freedit    2024-02-01 ๐Ÿ‘ ๐Ÿ‘Ž

@mm @Kafka As I said, I donโ€™t want my ID to be associated between the two projects. Sorry I cannot share it for you. But itโ€™s highly domain specific and itโ€™s probably of no use to you

12