/lynx/ - LynxChan

[Return] [Catalog] [Bottom]
Mode: Reply
Name
Subject
Message

Max message length: 4096

Files (?)

Max files size: 8.00 MB Max files: 8

Captcha
E-mail
Password

(used to delete files and postings)

Misc

Remember to follow the rules


Accepting btc donations at: 1Jv11eRMNPwRc1jK1A1Pye5cH2kc5urtLP
[ / / ]

Useful addons Anonymous 06/17/2021 (Thu) 00:23:53 Id:8cd106 No. 2463
https://github.com/LynxChan has some useful addons for LynxChan 2.6. Including: -detected addon, adds the (((detected))) markup -rainbowtext addon, adds the rainbow text markup -bettervideothumb addon, gets rid of those ugly black thumbnails of videos by picking the thumbnail at 50% playtime of the video. -r9kstricter addon, to make R9K mode for messages more strict
(42.16 KB 679x736 lynxlogo.png)
>>2463 Great! Please add a few more: -search site or board addon -board address change addon (admin could change a board address, for example, https://smelle.xyz/lynx/res/2463.html#q2463, lynx can be changed )
And a "private board" addon Board owners can decide who can see their boards (after logging in, users need board owners' approval to see their board. This will make anonymous private conference possible. But site admins have the privilege to see so if anything goes illegal the private boards could be deleted.) Unindexing a board is not enough for users could find them after logging in.
>>2470 This isn't quite that, but it's similar: https://gitgud.io/mys_elf/Private-Boards Can't specify who has access to a board, but requires one to have an account to be able to view a board added to the list. >>2468 >board address change addon Could probably go at it in a similar way to the private-boards addons above, messing around with the navigation. Otherwise if your using NGINX you could configure it to redirect a URL for you. I did something like that redirecting catalog -> catalog.html.
>>2532 Remarkable!
>>2532 "Private boards" + "automatically deleting posts after a short period of time" would be attractive to a lot of people ...
>>2538 would it rly?
>>2538 If the "private boards" are >>2532 >https://gitgud.io/mys_elf/Private-Boards the auto deleting won't make a big difference. But if the "private boards" owners can specify who can have access to a board, then the auto deleting addon may release a monster possibly. Just imagine who would like to see their posts deleted soon after they post.
>>2532 >https://gitgud.io/mys_elf/Private-Boards I'm not sure if this covers all cases. I guess when multi board is enabled it can worked around.
>>2606 >multi board Do you mean the overboard? If you check the option to make board unindexed, it shouldn't show up anywhere else.
>>2617 If you sign up, after you log in, you will see all of the unindexed boards. And, "private" means you can see the contents in a board only after you are approved by the board owner.
>>2618 >If you sign up, after you log in, you will see all of the unindexed boards. not true
>>2618 >>2619 Even if it did I don't think it would matter much. The addon only makes it so you need an account.
>>2470 Is this with the addon? I logged in and saw no boards.
>>2619 Sorry, I made a mistake. I used admin role and could see all of the unindexed boards. I tried a user account, I could not see them.
>>2627 only if you're the owner of these boards
>>2617 No I mean multiboard. /board1+board2/ in URL.
Can someone make a addon that disables subject OP and subject in reply, 2 separate toggles?
.labelSubject { display: none; } #postingTable > tbody:nth-*****(1) > tr:nth-*****(2) { display: none; } Youre welcome
>>2631 i know who do that, i want a addon that also adds checkbox like forced anon.
>>2532 Is there a chan with the private-boards addon installed?
>>2693 Yes, nhnb.org. It's used for a staff board.
>>2694 The link to the board? I want to see what it looks like when I try to open it.
>>2697 It is exactly the same as if you were to try and access something like global settings. Try and access the page while not logged in and you will be redirected to the login.
>>2698 It looks like there's no "control panel" where you can change settings, add or remove users, add or remove boards, etc.
>>2733 The Private-Boards addon? It's fairly basic. There's just the config file to set what boards require authentication. Note that you'll need to restart Lynxchan if you make edits to the file. Individual users can't be set, it's just whether they are signed into an account or not.
>>2735 Does the person who made the Private-boards addon have a chan site?
>>2770 Yes, nhnb.org
Add dice to LynxChan: https://gitgud.io/nop/dice Even though it says for 2.5.x it does work with 2.6.x.
>>2789 >Even though it says for 2.5.x it does work with 2.6.x. most if not all of them should work, i just havent personally validated them to work in 2.6.x yet i dont think the hooked functions in thread or post have changed at all
>>2735 The Private-boards feature isn't new. You may find many old fashioned forums have "restricted boards" or "private boards". They are the same thing. The Private-boards addon could be made much better.
>>2801 actually you do it with nginx you don't need addon at all
>>2802 WIth nginx running the lynxchan authentication checks?
>>2807 idk what that is but i do know it has a simple pass prompt
>>2808 https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/ https://nginx.org/en/docs/http/ngx_http_auth_basic_module.html https://www.digitalocean.com/community/tutorials/how-to-set-up-password-authentication-with-nginx-on-ubuntu-14-04
>>2808 Yeah, you don't know. >>2809 Can that tell who is logged in on lynxchan or not?
>>2802 A feature that board owners could enable or disable "private"? If enabled, the owners could add or remove user accounts?
>>2807 It's possible. LynxChan has to provide some URL which responds with HTTP 200 while logged in and with HTTP 401/403 while not logged in. Then you can add into your location in Nginx config "auth_request /lynxchan-auth;" and it will allow requests to the location or not based on the response of the /lynxchan-auth location. I don't currently know which lynxchan URL responds with 403 cause most tested ones forward instead with 302 to login.html https://nginx.org/en/docs/http/ngx_http_auth_request_module.html#auth_request
>>2991 Try making a request using json=1, the json responses are different than html ones.
>>2992 It's in this case HTTP 200 with a JSON informing about an invalid account, which would result with auth_request to be a false positive allowance of the location.
btw here is a typo: https://gitgud.io/LynxChan/LynxChan/-/blob/master/src/be/form/logout.js#L13
>>2993 f >>2994 Ill fix on the next patch.
>>2995 Actually I might not. That string is a cookie meant to clear out the user's login credentials. It is never ever exposed to anyone ever, if I put 'aaaaaa' it would work the same.
>>2996 Well it was exposed to me as a I looked into cookies, but that is an edge case. But if you write "aaaaa" in it nobody will think its a typo and report it. I solved the 401/403 endpoint by creating a small application whichs checks the session in the mongo db and creates a fitting response. Guess it could be also easily done by an addon.
I have the addons cloned into the directory and entered them in the global settings, and also updated global.css restarted server and reloaded pages, but still no change? permissions seem all to be the same for everything else. what am i missing?
Requesting board URI blacklist addon, maybe with wildcard support.
rip rodent you will be missed
***** rodent
bump 4 more addons

Я Щ Е Р Т Ю У И О П
Q W E R T Y U I O P
А С Д Ф Г Х Й К Л
A S D F G H J K L
З Ж Ц В Б Н М
Z X C V B N M
Delete
Report