/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
[ / / ]

2.6 release / 2.7 development Stephen Lynx 05/16/2021 (Sun) 01:59:37 Id:4d162d No. 2383
2.6 is out. It's not very feature packed, but it brings posting trash bin and report categories. yeet
(31.49 KB 223x349 Pt4JWqo.jpg)
>>2379 naisu
I put together a shell script to automatically setup Node, Mongo, etc., and Lynxchan. Tested on Debian. https://pastebin.com/T5hXchU3 I also attempted a shell script to do Cloudflare setup according to https://lynxchan.com/lynxchan/res/1.html . Haven't tested as much as I don't have a spare domain to test with. Config files seem to be correct though. https://pastebin.com/bSyUv6h6 Again, if anyone's interested. Figured I might as well post these somewhere.
maybe in this version, add simple features like disable subject in reply and more?
>>2386 maybe learn css?
>>2386 I don't see the need in that.
What do you think of the idea of having a dedicated board page, or at least an easier way to see a board's banners that doesn't involve going to /randomBanner.js again and again in hopes of seeing a different banner each time.
>>2389 For non-mods?
>>2390 Yes. Currently only BO (and I assume admins) can see all of the banners of their respective boards, while regular users can only see a banner (chosen at random from the board's banner pool) at the top of the page and on the /randomBanner.js?boardUri= page. I was thinking that having a dedicated page for the display of a board's assets (banners, spoiler image, custom CSS*, custom JS, maybe word filters if showing them isn't too riskfull) could be a nice addition. *Right now one can see a board's custom CSS by simply going to www.some.site/board/custom.css, but having a direct link for increased visibility and ease of access would be better.
>>2391 Ok, but why?
>>2392 I think a little transparency on what boards have would be nice. I was thinking that this "board details" page could also show its current settings (bump limit, max file size limit, formats allowed, r9k enabled, etc). It also would make it easier to share board assets with others.
Hey Lynx, how does the engine decide which pages require authentication?
>>2394 It's Mr. Lynx for you.
>>2394 It's hardcoded on the src/be/forms.js file of that page. The common parameters are if it requires authentication at all, if it also requires the referer to match the host and if authentication is mandatory.
>>2395 Mrs. actually
>>2386 That filters do not apply to subjects is a similar stupidity.
Implemented customized thumbnails for mimetypes on 2.7. I plan on polishing it a bit, but the core feature is done.
How do I increase the file size limit?
>>2400 global settings. keep in mind there is a separate size for the whole request.
>>2401 Thank you! I mean increase the size limit to 300mb or 500mb.
>>2399 What does this mean? Will BO be able to choose the image used in files that can't generate their own thumbnails (txt, pdf, zip, swf) in the same way they can choose the image used for spoilers?
>>2396 Thank you.
>>2403 No, it will be global. You got the other part right tho
Updated mime thumbs so existing files are updated both on creation and deletion of the thumbs.
global announcements and option to disable board announcements in global settings.
>>2405 Damn. It could have been a nice way to have additional board customization.
>>2408 stephen never wants to expand it, i don't why he doesn't follow jschan way of adding tons of customization, but maybe he wants to slowly add them. maybe stephen can answer this?
>>2409 make addon
>>2410 based and addon-pilled tbh >>2409 You can swap it with css, but I'll see if that's too troublesome AND there's enough demand for it.
Is it possible to migrate a vichan board to lynx?
>>2412 https://gitgud.io/LynxChan/VichanMigration
>>2413 I get a "ER_NOT_SUPPORTED_AUTH_MODE" error from mysql when trying to use this.
>>2415 I don't have how to debug this currently, but see if any of this works: https://stackoverflow.com/questions/44946270/er-not-supported-auth-mode-mysql-server Like changing the library used for mysql to mysql2.
Added JS amenities to the mime thumbnail management page on master branch and to the trash bin on master and 2.6.x braches.
>>2416 Adding a password to the mysql root user fixed it, thanks.
Make it possible for everyone to edit their posts. To prevent *****, there should be a time limit (e.g. 5min) and edits are locked for users with less privileged roles than the last one who edited it. The feature should be optional.
>>2419 Also, the time limit should only apply to non-moderators.
Another question for you Lynx: What is the function that routes to the board pages? Somewhere in requestHandler.js I'm sure, I'm just not easily spotting it I guess.
>>2421 Look at jithandler, cache handler, destructor and constructor, I'll give you a better reply Monday or tuesday
>>2422 I think I found it. Seems to be cacheHandler.outputFile I was looking for. So with that I was able to make the addon I was working on. A way to make private boards on LynxChan. However, any chance I could get you to give it a quick look over? Make sure I've not done anything especially dumb or missed something obvious? There's not much there. It basically inserts a check into the beginning of requestHandler.decideRouting to see if the request is to any of the boards marked private, if so it calls formOps.getAuthenticatedPost (which I've more or less just copied from one of the forms) and has cacheHandler.outputFile as the callback. It at least appears to be working as intended. Link below: https://gitgud.io/mys_elf/Private-Boards
>>2423 Seems alright, but I'd use exports.oldDecideRouting instead of directly calling cachehandler.outputFile because if some needed behavior is added to requestHandler.decideRouting you would have to reimplement it.
>>2424 Makes sense to me. I've updated the addon to use exports.oldDecideRouting instead. Thank you for taking a look.
how to make addon that disables and hides subject?
>>2426 I think the easiest way would be to take the return of the functions that create the new posting document and delete the subject from it, look into src/be/engine/postingOps. In the front-end you could simply remove the field from the template and javascript, it isn't used by the back-end. Unless you want it to be toggleable, then you'd need to include it in the data of page elements and remove on dommanipulator, but I think that wouldn't be worth it.
>>2426 input#qrsubject { display: none; }

11.14 KB 374x425 821398.png
how to have like endchan "return", "catalog" and "bottom" instead of navbar?
>>2432 Add to the thread template and remove from the navbar template.
How to remove fieldset and remove it safely to not break it?
>>2435 You mean the tag? Lookup elements the engine uses on template.txt and keep those.

190.26 KB 2000x458 21312213213.png
>> 2436 i want to remove "fieldset" tag and have it like kohlchan and endchan, and i want to keep the "Mode: Reply". I tried removing "fieldset" tag and it broke the form, but then i tried to center the form and i couldn't.
>>2437 i think that tag is actually being used somehow, so try changing it to a span and remove the "legend" tag.
Someone please tell me how I can use tripcodes. For example, my name is Carlos, password is 12345.
>>2439 Now I see Carlos#WZRHGr. And if I change password to 6666 (Carlos#6666), My name will be
>>2440 Carlos#12345 --> Carlos#WZRHGr Carlos#6666 --> Carlos#12l1cE And if I use a secure tripcode Carlos##777
>>2441 Carlos##777 --> Carlos##Ghlds+ Is it what a tripcode or a secure tripcode is supposed to be?
trips are per thread only btw
>>2442 Secure >>2443 No they are not, ids are per thread , trips are global
How to replace spoiler "font icon" with checkbox?
Is it possible to reconstruct IP addresses from IDs with only the board salt even if the original thread is gone? I suppose it wouldn't take long to create a rainbow table using the salt. If yes, how about adding the _id of the thread as an additional salt value?
>>2446 No because only part of the final hash is used, the id is incomplete.
Can you please add PPD (Posts Per Day) to boards.js? Because my own board is slow on a hourly basis, I barely get any visibility there.
>try to make new thread >"new threads must have a file" >add a file >"flood detected, wait 78 more seconds" yeah, going to be like pulling teeth even getting me to come back to this shithole to check this thread >flood detected, wait 6 more seconds >flood detected, wait 22 more seconds >flood detected, wait 69 more seconds >flood detected, wait 24 more seconds >flood detected, wait 33 more seconds >flood detected, wait 40 more seconds >flood detected, wait 42 more seconds >flood detected, wait 23 more seconds >flood detected, wait 57 more seconds >trannyjanny faggots here will still ban for "flooding" after you make it through this bullshit system
>>2450 Have you tried taking your meds?
Stephen, what important features are you considering to develop the next release?
>>2454 i dunno lol I thought of adding posts per day, but total posts already serve as a measure of long term activity. So far I added custom thumbnails for specific mimetypes, so there's that.
>>2455 add activity pub https://github.com/FChannel0/FChannel-Server
>>2456 I don't have faith in the federated model.
Is Mongo the only DB that can be used with this?
>>2458 Yes.

28.69 KB 455x461 Boards.png

292.33 KB 1114x1484 bug.png
>>2455 I have some ideas: - daily graphs per board - the ability for BO to customize the boards listed on the top navbar - secondary banners (like cuckchan's that redirect to other boards) - inline replies based on the work provided by >>2379 - fix the bug that happens when you move the quick reply window upwards when it contains an image (it gets stuck like in pic related and can't be moved anymore) Also what's the point of having the option to search unindexed boards if unindexed boards don't appear on the board list?
>>2460 maybe you can't move it because it fits the full available height? try *****m out
>>2460 I think site staff can see unindexed boards on the list
>>2462 All registered users can see after logging in.
Is Lynxchan hackable?
>>2465 In what sense?
>>2471 does it support GUI in visual basic?
>>2472 only if you can E N H A N C E with your database.
>>2471 1. Hackers could get full control with or without passwords; 2. User data breach; 3. Vulnerable to ransom ware. I just want to know how secure this software is.
>>2474 1: if they manage to get the login and password of a root lynxchan account they could do a lot in the system and view ips, but not have access in the OS. They could not even fully manipulate the database, let alone run OS commands. 2: that could be achieved with a root lynxchan account, outside that it depends on the deploy security. 3: entirely dependable of the OS security, lynxchan doesn't run arbitrary code that haven't been deployed through the OS.
how to change each page navbar with global navbar, so i add [b / rules] and it applies to all pages?
>>2476 You can change on the vast majority of pages by changing the templates/content/header.html file, but some pages have their own. You could change your FE to all use the exact same header, but then there are the issues of where goes the catalog, gallery and other stuff.
>>2477 they could go into thread.html
>>2478 This is what I currently do. You are missing the point, the issue is having something that can apply to every page.
Added an indicator of the type of offense on offense records. Added a setting to limit the amount of flags boards are allowed to have.
how do you increase thumb size? increasing max thumb dimensions in global settings doesn't seem to do anything
>>2482 1: did you try posting a new file after doing so? Files are reused when possible and thumbs are not rebuilt. 2: did you check if your css is forcing thumbs to a specific size?
>>2390 >>2391 jschan has this
Added a list of related asn bans to the offense record page.
how to install kohlnumbra?
>>2486 I don't know, you will have to ask KC staff, probably tjark. He hangs on rizon.
How to change html so that i edit one file and it changes all navbar like vichan?
>>2488 Change templates/content/header.html on penumbra and it should change most of pages, but some have their own, because it contains specific elements.
How do I track backlinks to a post? The backlinks to a post are shown if the backlinks and the post are in the same thread. What if the backlinks are cross thread, or even cross board? Is there a way to track them?
>>2490 No, backlinks are done exclusively on the front-end. If the post is not shown on the page, it won't have backlinks.
Implemented block bypass purge, it's on the global management page.

3.35 KB 406x104 DANGER.png
you should update your packages
>>2506 Ill have a look at that, but I think it's just npm overreacting.
>>2507 yeah, the vulnerability can't be triggered from lynxchan, because it would require people to add arbitrary text to emails being sent, which you can't. I saw there was a vulnerability for a while, and was waiting for the dev to update it, but since he isn't, I'll contact him.
>>2508 When people submit reports and a LynxChan site is set up to send report emails, doesn't the contents of the report text - which is arbitrary text - get included in the email? Is that sufficient to be exploitable?
>>2509 *****, I had forgotten about that. I'll patch it so only sendmail can be used for sending e-mails. This vulnerable package is only used when sending e-mails directly.
>>2509 >>2510 Patched and tagged. The package has been removed from package.json and is never used. But users get a warning if the sendMail is disabled anyway so they know what's going on when e-mails stop going through.
>>2511 Any particular instructions for setting up sendmail to work with Lynxchan? I can manually send emails with it but notifications from the site don't seem to go through with it enabled.
>>2512 ngl, but I forgot it. try this: https://tldp.org/LDP/lame/LAME/linux-admin-made-easy/sendmail-upgrades.html
Also, have a look at this: https://nodemailer.com/transports/sendmail/ it links this page: https://www.computerhope.com/unix/usendmai.htm
>>2513 First link appears to be mostly about incoming mail and configuring a blacklist. >>2514 I noticed that the "sendmail" command is not available to the non-root user. /usr/sbin/sendmail works though. So I added /usr/sbin to path. Thought maybe that would help looking at the command spawned, but it didn't. Any other suggestions you might have?
>>2515 Try adding a link using ln -s that will link your /usr/sbin/sendmail to /usr/bin/sendmail.
>>2517 But that's for postfix, not sendmail which is what Lynxchan uses. And I should note that sendmail does appear to be able to successfully send mail. The problem is trying to get Lynxchan to successfully use it.
>>2518 >But that's for postfix, not sendmail which is what Lynxchan uses. same shit set up postfix so it works lynxchan doesn't care
>>2519 >set up postfix so it works lynxchan doesn't care But it would? Whole point of setting up email in the first place is so Lynxchan can send out report notifications via email. Worked great with the old method, but that's soon to be gone which is why I'm trying to figure out sendmail. Unless I were to attempt to add support for another software, which would likely be more difficult than just trying to figure out why Lynxchan and Sendmail aren't working together. Unless of course there's something I'm missing.
>>2516 I did try this, but again no luck.
>>2520 >But it would? yes
>>2516 >>2521 I take it back. I think it is working now. Must have just taken a little while to go through the first time I tested it. I think this is the solution. Thanks for the help.
how do i link custom front-end in global settings, because i have it saved in Documents dir?
>>2524 Just put the path to it in global settings under "Front-end directory" and don't forget to hit save at the bottom.
https://www.postfix.org/sendmail.1.html
>>2505 I never knew what "block bypasses" were supposed to be.
>>2535 Some sort of long term permission to post. Imagine it as a captcha that allows you to post multiple times.
Now you are also required to input your password to change account settings. But the setting that disabled the password confirmation for changing global settings also disables it for account settings. So if you have password confirmation enabled, it can be disabled only if you confirm your password.
divPages in the media management page needs word-break or something
would be nice if bans.js also showed the board the ban was issued on and applies to
>>2549 You *****ed up adding the archive button/merge button to the postingMenu. postingMenu.js:694-714, you use archiveButton for the mergeButton shit too.
>>2579 Fixed. Funny how no one caught up on that until.
>>2580 It effectively just dropped the archive button from existing, so unless someone was really excited about that feature in particular there'd be no reason to think about why it's not on the posting menu.
are you a virgin?
>>2583 No, i've got *****ed in the ass dozens of times.
>>2584 Was it by Chad?
>>2586 Many, many different dudes.
faggot
In case anyone wants to improve their LynxChan site, for example by changing the way tripcodes are displayed or by having transparent animated gif thumbnails, check out https://gitgud.io/LynxChan/LynxChan/-/merge_requests?scope=all&state=closed Lots of other useful features there too. Sérgio Augusto Vianna hates the thought of his software actually being improved and giving the users what they want, so he closes any useful merge request. But you can still add it yourself.
>>2600 You don't need to act all butthurt about it. You could've made an addon or even a fork, instead of whining here. Both of these options would be more productive.
>>2601 >instant reply Cope faggot, get a life.
>>2602 It took me longer to reply to >>2600 than you did to me. Seethe.
>>2600 damn bro its a real shame your merge request to add orange text and modify a single ffmpeg command were rejected what an epic btfo
how does force anonymous work and what files should i check? because i want to add remove subject field thats why
put <!-- on line 11 and --> on line 24 https://gitgud.io/LynxChan/PenumbraLynx/-/blob/master/templates/content/postingForm.html remove the subject stuff in static/js/qr.js
>>2600 I really expected something worthwhile when I went to that.
>>2608 On the front-end, you will have to deal with the posting form, as the other anon said and the qr.js static file. If all you want is to remove the view from sight, that's enough. If you actually want the back-end to not use the subject, look up src/be/engine/postingOps/post.js and thread.js on the same directory. If you want to make it toggable, look up src/be/engine/domManipulator/common.js You don't have to change the back-end files, you can write an addon that monkey patches the correct functions to.
>>2611 >toggable What, toggable subject?
>>2623 It means it can be enabled or disabled, like forced anon.
Thoughts on the new 4chan capcha?
>>2633 It's genuinely awful.
>>2633 Yeah, it's dogshit, I rather select cars, bikes and signs for the botnet than figure that shit out.
>>2633 >>2635 Can't post AT ALL without js, but the page won't tell you anything. You just get an error about the captcha being wrong when you submit.
>>2633 Better than jewgle's at the very least.
>>2635 >t. low iq ***** code monkey

13.36 KB 925x58 3dOHoygP5P0KXRKqupD.png
HELP
>>2639 You are probably on 2.6 and ran npm update, update your engine version too.
did my question get deleted?
>>2643 I'm not sure, some guy posted some unintelligible retarded shit today and I deleted it.
>>2644 where did lynxchan-x thread go?
>>2645 in his anus
>>2645 That made no sense so I deleted it.
>>2647 are you living under a rock? 4chan has 4chan-x, that works on many sites, has many settings, so lynxchan-x when?
>>2648 Yeah, I'm not a 4chan power user. Well, if it depends on me, never. If I see a good feature for the front-end I would implement it straight to penumbra instead of writing some 3rd party thing.
>>2645 >lynxchan-x Was this ever a thing? I've been kind of writing some of my own userscripts for some of the features. Would be nice if there was something already existing.
>>2650 Don't hesitate in pitching the features for me to put on penumbra or submitting merges, I'm quite open to submissions on front-end.
>>2651 Main userscript I had been working on recently is one to basically copy how 4chanx remembers where you left off in threads. You can see a copy of it here: https://gitgud.io/mys_elf/nhnb-thread-resumer I would imagine it should work with most Lynxchan sites, just need to add the site urls to match in the script. It's still fairly new, so there may be some yet undiscovered bugs. Just today I found that it doesn't like threads with no responses (which should be an easy fix, might even do it tonight). But other than that it seems to work pretty good. >Integration into the FE The thing for me is that I don't like to store browser data. So at least for me it makes more sense to have this particular thing as a userscript so the thread data can persist. >Other features I've just kind of been working on adding them to my own (only slightly modified) fork of PenumbraLynx. I think I've posted about most of them in these threads already.
>>2651 >Don't hesitate in pitching the features for me to put on penumbra or submitting merges, I'm quite open to submissions on front-end. seen enough, you make arguments against any submission users been asking for quite some time, even for backend
>>2654 I'll be honest, I am protective when it comes to back-end. Which is why the last part of my post was "I'm quite open to submissions on front-end."
>>2652 I believe the one issue that I knew about with this is now fixed. Also added this site to the URL match list, so if anybody wants they should be able to just try out the userscript here.
>>>/cob/238 How valid is this?
>>2657 Quite possible. That anon can either reload the page or open the no cookie captcha page and use it.
I pushed a few changes to the navbar to the master branch on penumbra. Let me know what you guys think and I can push them to 2.5.x and 2.6.x if they are popular.
How to change css and pages so styles work like vichan, where it is one file?
>>2660 Do you mean a single CSS sheet per theme? If so, 8chan.moe has done basically that: https://gitgud.io/8chan/Aleph I've done something very similar to what 8chan has, you can see that particular commit here: https://gitgud.io/mys_elf/PenMod/-/commit/d1e324ea544abf0e3a43d9bb826ba711ee122fb3 Main thing different I did is to preserve the original themes in PenumbraLynx. Basically I just used .css in the theme ID to determine whether or not it's setup like the built in themes or is a separate CSS like 8chan has. Main file to look at would be themeLoader.js to modify how the themes are loaded and then themes.js to add to them to the list of themes.
>>2659 pros: leaves more free space for favs it's [return] [catalog] [etc] not [return / catalog / etc] if it matters at all

110.79 KB 1679x876 qNii7XXe8Tad5p21NY.png
https://gitgud.io/jimboneutron/lynxchan-iwakura-theme Some parts aren't finished yet.
Changed penumbra default theme to mimic futaba. The old theme was put on a separate selectable theme, but it's a bit wonky.
Made another push to penumbra. Changed missing stuff. I also upgraded the driver version to 4.0, which required a few changes.
https://gitgud.io/LynxChan/PenumbraLynx/-/commit/ba0b1dd023987a20ea369eca3bea7b92f46d91e5#61ba17f5aa6d2bd2c5fbd00c89dfd8173f38a76a_45_30 ?
>>2666 ???
>>2667 why do you need that there on new install it's just [ / ]
>>2668 Because it's where the overboard links go and it's very minor.
>>2669 but overboard was in it's usual place
>>2670 Yes, it was. Because that was the global overboard link. It is redundant if you put the overboard link in the navbar. It was a consequence of having a global navbar instead of dedicated navbars so pages that had their own characteristics.
>>2671 ps: the one that was empty was the dynamic overboard links.
why do i need a block bypass to post from a normal fag IP
>>2673 Because site admin said so.
Made a small push to penumbra, I hadn't changed the modal panels background.
How to change global theme to cyber or clear? Please don't tell me to edit css files just to change global style ._.
>>2677 You can hack it with js to make one of the alternative themes be selected by default. Otherwise, yeah, you will have to edit the css. You have to keep in mind that the default theme is just plain css, the alternative themes are css operating on top of an id set through js. So to change the default ,you will have to either hack the js and make it work only when js is enabled, or change the css.
>>2677 Actually, there's an alternative. You can add the id directly into the html of every page's the same way the js would do. The issue with that is that without adapting the theme js, it would glitch out.
>>2677 This got me thinking, what if I made a setting that added a theme to all pages? The js could work in response to being loaded with this theme in place.
>>2681 Pushed to master branch.
Why did you write LynxChan in JS and not C?
>>2683 Because this is a serious project.
How to put global theme, i tried to put "Cyber", but it didn't work?
>>2685 The code for that theme is "cyber", lowercase. See static/js/themes.js for the list of themes.
How to change board owner icon with "##", tried looking through gitgud, but found nothing?
>>2687 You mean role signature like the one I'm using now or secure tripcodes?
>>2688 Oops, I meant this.
>>2688 yes role signature
>>2690 It's set through css. Look for .labelRole::before on posting.css.
>>2557 #pagesDiv { max-width: 36em; word-break: break-all; }
ส์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์ส์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์ ส์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์ส์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์์ํ์ั์ํ์ >this is still possible on LynxChan in 2021
>>2701 What is "this"?
>>2702 https://github.com/vichan-devel/vichan/blob/master/inc/config.php#L487 make it toggleable in global settings
>>2703 That's a browser issue. The css should prevent them from leaking. On firefox and chromium it works as intended, but not on my phone's chrome.
how do you enable copying images from clipboard for uploading, used to work by default before
>>2705 Front-end feature, I didn't implement it on penumbra.
>>2706 oh is it okay to just copy paste postCommon.js from a frontend that has them? everything seems to work...
>>2707 If it works, it works.
how do you make ssl websocket updates work when using a reverse nginx proxy
>>2711 1: on lynxchan, set only a websocket port, not a secure one. 2: on nginx, make it redirect from a different port that will use secure sockets to the non secure port you configured on lynxchan 3: on your front-end, edit the code that automatically picks an available port, make it always use the port you made nginx listen to.
>>2712 could you elaborate on the second point, how exactly are you supposed to do that in nginx do i just make nginx listen on another arbitrary port and proxy pass that to the port I've set in lynxchan?
>>2713 No idea.
does the default front end provide post/IP/file counter functionality?
>>2718 then add it and NO jewscript
>>2719 no u
is there something you specifically have to configure for the 8chan.moe frontend? I can change settings and make threads but I can't post replies (nothing happens when you press the button) this is on 2.6.7
>>2721 I don't know, you will have to ask them. As a rule of thumb, are you sure the caches are properly refreshed after changing front-end? Did you change it through global settings or did you manually change the files that were in the front-end location? If you did it manually, did you run -cc to refresh individual caches, -rfe to refresh the cached FE and -r to refresh cached pages?
>>2722 I just cloned the repo and renamed it to fe won't just restarting lynxchan do the trick? anyway I tried running it with those commands and it complained about an error during cache deletion: Error: connect ENOENT /tmp/unix.socket
>>2723 I would have advised you to use the global settings to change the front-end path. But if you already restarted then -rfe won't do anything and -r won't do much. Keep in mind those commands only run if the daemon is already running, in which case you much add -nd too to prevent a new daemon to spawn.
How about a captcha that never expires and can be refreshed any time? Sometimes the captcha image is hard and one letter is always janky looking which is almost impossible to figure out.
https://files.catbox.moe/dto39j.7z
So what is the icon set used for the navigation and where can I browse a more complete set (if there is more)?
>>2730 It's a font, https://unitid.nl/iconfonts/?font=iconic&size=big
>>2731 I looked through the fonts loaded but I guess I must have missed it. Thanks.

16.76 KB 1048x149 Please Help.png
So trying to upgrade to a newer version of LynxChan I get some errors with MongoDB? I get pic rel on boards.js and an "Error: connect ENOENT /tmp/unix.socket" in the console after "An error occured during the full cache deletion.". I followed the upgrading directions in the doc folder: https://gitgud.io/LynxChan/LynxChan/-/blob/master/doc/Upgrading.txt Is there something I did wrong?
>>2748 What are your versions for: 1: lynxchan 2: mongodb 3: the mongo driver. Did you run npm update after the update?
>>2749 1) Using master Wanted report categories. 2) Mongo reports version 4.4.7 3) I did run npm update after running git pull. Made sure to run it in /src/be.
>>2750 Do you have any boards? Were you using any filters? Can you show me your URI? No need for the full URL. Also, the issue with your reload as running it without an active daemon.
>>2750 Also, what's your setting for boardsPerPage?
>>2750 Also, what's your node.js version?
Don't know what exactly caused it, but I pushed a patch to make it silently ignore invalid values for the page value on boards.js.
>>2751 On the test instance I'm using there is one board. On another test instance I tried it there is 4 boards, but the same thing happened. Am running on localhost. URL is "https://localhost:8080/boards.js". Interesting enough, I just noticed that the boards themselves do appear to load. Cannot make replies though that seems to be do to the js breaking somewhere due to a CSP violation. >Also, the issue with your reload as running it without an active daemon. Alright, good to know. I haven't set up the service yet on this test instance. >>2752 >Also, what's your setting for boardsPerPage? Where is that setting at? I don't see it on the globalSettings page. >>2753 Node is version 14.17.3 >>2754 Will give it a try shortly.
>>2754 >>2755 Looks like the patch got boards.js working. Still need to figure out why posting is broken. Never had an issue posting on a local instance before. I'll let you know if I find anything else up with it. Hopefully I can get everything sorted before the week's up. Looking into the CSP violation, at least one of them is on me. I added a small script to automatically set the local and relative time settings to default on. Browser seems to be taking issue with it. And the second I haven't tracked down quite yet. Something in qr.js. Could potentially be on me again, though I think the only thing I added to it was the character count from the big reply box. Thank you as always for helping.
>>2755 Update node to 16. To debug posting, try disabling js entirely and trying again. Also, now the default CSP blocks inline JS, so check for that.
>>2757 Updated to v16, doesn't seem like anything else broke. I had one inline js script, so I got that. But I'm a bit confused by it rejecting qr.js. Seems to take issue with some of the other things I've added to the js files as well. For example, what I've added to the qr.js file was this: https://gitgud.io/mys_elf/PenMod/-/commit/ed975e394944e3b28cc16be0763a3d953bfe7980 Of course the browser just lists "<script src="/.static/js/qr.js"></script>" in the console so I'm rather unsure. Is there anything that you immediately spot that would trigger the CSP in the link above? Because the quick reply will work with the original file from PenumbraLynx so I figure it must be something in what I've written.
>>2758 Can you show me more of the console output? I remember it teling me specific lines.

15.13 KB 1275x45 CSP.png
>>2759 Sure thing, pic rel. The error just quotes line 402 of the thread template which is just qr.js.
>>2760 And that's literally everything?
>>2760 If you show me your site I can have a better look.
>>2761 That's literally everything. >>2762 >If you show me your site I can have a better look. My site hasn't been updated yet. I'm trying to get everything prepared before updating. Nonetheless you can see everything working as intended at nhnb.org. The exact same frontend code that I'm trying to get working with the newer version of Lynxchan can be found here: https://gitgud.io/mys_elf/PenMod

7.11 KB 1277x22 FireFox.png
>>2761 >>2763 Looks like FireFox actually gives a bit more info than Chrome. Seems it's complaining about line 190 setting the innerHTML of something. Just checked the current PenumbraLynx repo and the line is still there. Which is odd because as I said, the original qr.js file seems to work.
>>2764 qrhtml += '<button accesskey="s" id="qrbutton" type="button" onclick="thread.postReply()">Reply'; Line 184. Look for onclick, onchange.
>>2764 Also lines 88 and 141.
>>2765 >>2766 >Inline js in the variables That looks like it fixes it. I suppose I need to copy over most of this commit here: https://gitgud.io/LynxChan/PenumbraLynx/-/commit/b239aae975dbe7a36ad8a3280f011baa1639479a I'll let you know how it works out once I've done that. Thanks.
>>2767 Yeah, I didn't write the original QR and didn't change to the style of how I do things, so it's a bit inconsistent.
>>2768 So I've copied over the changes from that commit and a few others that are necessary for the new version of LynxChan. So far things seem alright. I'll probably do a bit more testing today and maybe do the update sometime tonight. These are what I've copied over: >Removed inline js. >Added login field to global settings page. >Implemented an account setting that allows users to disable the password check >Added password confirmation for changing account settings. These are what I have not yet copied over: >Implemented display of custom mime thumbs. >Implemented custom mime thumb creation and deletion. >Added js to features of the trash bin and mime thumbs page. >Added a limit on board flags. >Added related asn bans to the offense record page. >Implemented block bypass purge. >Fixed merge button on posting menu. >Moved some elements from the navbar to the page itself on board and thread pages. Is there anything from the commits I've not copied over yet that you think may pose an issue for upgrading? Obviously there are complaints about missing elements, but I figure I can address the rest of it after the update.
>>2772 I wouldn't upgrade until there are zero complaints about missing stuff. Also, you mentioned you wanted the report categories, but there came way before 2.7.
>>2773 >I wouldn't upgrade until there are zero complaints about missing stuff I'll of course be working on it, my main reason for doing so would be to get on the newer LynxChan sooner than later due to the vulnerability found in it. >Also, you mentioned you wanted the report categories, but there came way before 2.7. I started with the master branch prior to the 2.6 release. In hindsight I suppose I could have switched to 2.6 when it released. Maybe I'll investigate switching. Might be less work to get that going.
>>2774 Both 2.5.x and 2.6.x were patched and upgrading withing a stable branch is very safe. If you want to be secure, just do a git pull on your current in use stable branch.
>>2775 >just do a git pull on your current in use stable branch. I wasn't using a stable branch ^:) But I'm thinking I will switch to the latest 2.6. That seems like the best way forward. I think with the frontend as it is now (after reverting the additional password commits) should be alright. The only commits lacking from the 2.6 branch are: >Added js to features of the trash bin. >Fixed merge button on posting menu. >Removed filter management js from archives page. But the engine has no complaints about anything missing.
>>2776 Yeah, none of that matters to the back-end. Item 1 is very minor, only a QOL feature. Item 2 is a minor bug that made it impossible to use the archive shortcut on the posting menu. The feature itself was accessible either without js or using the bottom form. Item 3 is just an error which I believe wasn't consequential at all.
how about you move the mod links on the bottom right next to the new links on the top-ish left so you don't have to scroll to bottom to click them
>>2777 So I was looking into adding in these commits to keep up to date with PenumbraLynx, and I think I've found some issues. First and foremost, the trash option does not appear to work. You trash a post and it does get deleted, but it does not seem to show up in the trash bin. I've checked both the global and board trash. Secondly, trashBin.html seems to try and load a style sheet that doesn't exist, markdown.css. All of this happens on the default FE as well.
>>2784 Did you enable trashbin? And indeed it's linking a non-existent css file. The source of that is the latestPostings page, I'll check what's up with that.
>>2787 >Did you enable trashbin? I did not. Didn't realize that "How many days posts stay in the trash bin" needed a value for it to work. But it works now, so that's good.
Remove delete post option for volunteers so they can only trash posts. BO/s then review the pseudo deleted trashed posts.
>>2804 Should make the change optional if it happens. I personally would want volunteers able to do full deletes if necessary.
>>2804 >>2805 I found that it was best to remove delete from the posting menu and continue to let everyone remove things from the trash bin. Creating the extra step meant that all but the worst of posts were trashed instead of deleted and could be restored.
does lynxchan log account logins anywhere (like ip) also, when IPs are set to be periodically removed are they completely expunged from the database as well?
also, how do you expunge ASN values attached to posts as well
>>2815 >does lynxchan log account logins anywhere (like ip) No. >also, when IPs are set to be periodically removed are they completely expunged from the database as well? Yes, the field in the posts are completely erased. >>2816 I think you can't without a manual query to the db.
>>2817 ASN values should probably be erased as well. >I think you can't without a manual query to the db. What's the syntax to do this? In what collection are the ASN values even stored?
>>2819 posts and threads. update all of them using $unset and then the asn field.
>>2814 Sounds like a shitty solution.
how to enable global japanese font?
>>2823 Only per board.

6.62 KB 464x180 1628791501.png
uh-mazin
Is it possible to make FE without js(zero) at all?
>>2839 You can currently delete all the js off of PenumbraLynx and it'll work fine.
>>2839 That is one of lynxchans core principle
>>2843 remove js then faget
>>2845 You know you can disable js on your browser, don't you?
>>2824 No, code tags are per board. Japtext is always globally enabled.
>>2862 true
yo im looking for an imageboard that can be statically hosted and use a restful api (ideally a small and simple one that forgoes efficiency for simplicity) that revolves around a json store, is lynxchan the open source software for me?
>>2877 >statically No, is not. Lynxchan builds pages and serves them from memory, both the HTML and the json version of the data. And then you have a few 100% dynamic pages, suh as management and moderation pages.

90.31 KB 632x570 lynxchan tooltip.png
https://atfzl.com/don-t-attach-tooltips-to-document-body
>>2901 Yeah, nah. If you can show me tooltips on lynxchan are slow by any noticeable margin, then I'll listen to someone saying broad things like this.
>>2906 on board page they almost never load load on first hover, you have to move pointer out and in again
>>2907 Because they are loading the thread json, you egg. Try this one.
Btw, vleut, I did a google search of that line of spam, and out of the first 8 sites with it, only one was running lynxchan. So there is NO WAY in hell I believe your claim this is something "that terrorize a lot of LynxChan sites". And btw, one of these sites were running jschan.
you know how email clients color every +1 > if i want to do that on lynxchan would it be >split = split.replace(/^&gt&gt;.*/g, brownTextFunction); ?
>>2915 >you know how email clients color every +1 No, I don't. :v
>>2916 yes you do
>>2916 Don't lie to us, you know.

113.59 KB 600x400 biden.jpg
>>2916 You know the thing.
1. How do I add media files when I edit a post? And, 2. how do I insert posts to the place I want?
>>2954 I gonna answer assuming you are trying to make an addon that modifies default behavior, lynxchan does not allow to edit the post files, with the exception of unlinking them(which is not done at the edit post feature). 1: you would have to add the appropriate data to the files array. That also implies you have added the file to the uploadReferences collection or read the appropriate data if it already exists. 2: by place I gonna assume all meanings of it: there is the boardUri, threadId and then both the postId and creation date are relevant to the order they are shown inside a thread.
Just to verify: >Amount of replies required to automatically archive threads Only applies to threads falling off the end of the catalog, correct?
>>2978 Correct.
>>2979 Thanks.
>>>/cob/541 who was file?
Thoughts on using LC for bug reports? No more annoying registrations, verifications, etc.
>>2981 I don't know, maybe it was manually deleted. >>2982 I've always accepted bug reports through any communication channel. If I can put my sight balls on it, it's an acceptable bug report.
does global report also notify the bo?
>>2984 I don't think so.
After I unlink a file, how do I link it to another post?
>>2998 You can't, you have to make a new post.
So does the 'staticExpiration' setting primarily apply to images, or does it apply to /.static/ files as well?
>>3000 It only applies to /.static/. Media files have unlimited expiration since they are expected to never change.

25.81 KB 1224x323 1631253428.png
>>2911 Who's vleut?
>>3058 Irc guy that went offline before I could reply.
>>3059 sounds like something you made up so you can be lazy and not implement a very useful keyword blocking feature
>>3061 I don't need to make up stuff to justify what I do or not.
Can you add a feature to lock a board?
>>3066 That's already a thing.
>>3067 Since when?
>>3068 For as long as I've been using Lynxchan (so a year at least). It's either under board settings or the special board settings page.
>>3069 OK. Found it. What's the point of board moderation when most of it is already in board management?
>>3070 Board moderation is meant for global staff to perform actions in the interest of them and not in the interest of board staff. Such as setting it SFW among other stuff.
Fix thread updates for .torify.net users since websocket updates (which are enabled by default) don't work if the site has a clearnet version which uses WSS websocket.
I forgot. Could LC do this: 1. ban X and Y countries from reply and making new threads 2. ban X and Y countries from making new threads only
>>3084 No, but I remember making an addon for that.
Pushed to master the possibility of a post being reported multiple times.
Implemented a separated setting to control the captcha pool. I didn't test this commit at all, so let me know if it's broken.
>>3093 Issues were found with the templates. Cell reportCell Error, missing element totalLabel Page globalSettingsPage Error, missing element fieldCaptchaPool
>>3096 Ah yeah, forgot to push penumbra changes. I'll do in a few hours when I get up
Pushed to penumbra.

38.17 KB 957x528 1633679578.png
you can apply at ddg
build addon sir please
>Accepting Big Thick Cocks
>>3101 You know I'm always up for cocks. >:3
Can you look at the tor per board addon to confirm if it works for 2.7 >>635
What's with the URL change?
>>3105 it's an annual thing.
>>3105 No idea, I don't own this site.
can boards.js use table for desktop
>>3111 I don't think it's possible to use an approach where tables are used for one platform and something else for a different platform. A front-end could use tables for everything, though.
>/src/fe/templates/cells/boardsCell.html >/src/fe/templates/pages/boards.html https://short.smelle.xyz/Wc0rT Didn't werk, wot do?
>>3113 why didn't work?

18.51 KB 1419x688 1634131565.png
>>3114 idk
>>3115 Ah yeah, the cells have hardcoded tags.
https://plus*****.autism.exposed/ update your loicence
Fix for this >>3079 and keyword blocking when?
>>3121 3edgy5me >>3125 FE issue, not lynxchan. And I will never add keyword filtering of any sorts. I've tried and it failed.
>>3127 >FE issue ok so what do?
>>3129 Fix on the front-end you use.
>>3130 define "Fix"
>>3131 When the js is picking up a port, make it take in consideration if it's using an onion, if it is, don't use the wss port.
Thoughts on infinity next?
>>3133 Many. I was there during it's development, what stuck out the most to me was the lack of foresight when it came to caching. Then when they tried to put it into production, they had to scramble to get some cache going, because it couldn't generate that much html fast enough. The incredibly complex and unnecessary permission system was another thing I was critical of at the time too. Josh admittedly was more focused on getting something to show to people in order to get donations coming rather than getting things done properly or fulfilling the needs of the place it would be used. I was also critical of using PHP, it was a decadent tool at the time and laravel will not fix the core issues it has. If anything it introduced some, I remember josh being a dick to laravel devs because of something related to the ORM. On the other hand, it had some good novel ideas, like the file deduplication, which would be later introduced to lynxchan and infinity or w/e they call it these days. At this moment it's just abandonware, afaik. Some turk dude (m712 i think) was the bigged IN enthusiast but he's mia for a while now. Josh moved on to be a streamer.
>>3134 is this about the thing they never finished or the thing he released last year
>>3135 >Infinity Next was never completed and is currently in an unusable state. Source: https://github.com/infinity-next/infinity-next/commits/master So I assume it never finished.
https://gitgud.io/LynxChan/PenumbraLynx/-/merge_requests/32/diffs#ad84beb64716876c20fe699d00a2e4ea39a60318_171_183 >accept merge request for Odysee embed links >use the wrong link in the code (Odysee never uses www.) great job guys
The beta for 2.7 has begun. The spec change log has been updated and the rc1 tag has been put in place.
can we not bump node and mongo?
>>3139 What?

9.39 KB 620x170 1634525625.png
>>3141 No. I will keep up with their releases. I know how shitty a long term project can become if you keep looking for workarounds for outdated dependencies. If you want to maintain a fork meant to work with older dependencies versions, feel free to do it. I will always try my best to use the latest stable version of all dependencies, specially node and mongo but I will not try to sabotage attempts of using older versions like I do attempts of using windows.
Can we have some sort of persistent notification when there's a report? Like some icon in the nav going red.
>>3149 I did see somebody do this on their frontend: https://bitbucket.org/Amm_/flaskmod/src/master/static/js/reportWatcher.js
>>3149 >>3154 Yeah, there's already an endpoint on the backend, you just have to access it with a script.
Abandon 7.0 and switch to 6.x
>>3162 What?
can we get a posts / posters / page number in this bitch?
>>3165 or just posts / page
>>3166 >>3165 https://bitbucket.org/Amm_/flaskaddons/src/master/ThreadStats/index.js Then add spans with labelReplies, labelImages, and labelPage as their ID wherever you want it displayed on the thread template. Though it'd be nice if it were native since it's such a small expected thing.
(test)2.70 Can't save settings in the background? Did I do something wrong? If you don’t clear the cf dns cache, anyone in the background can open it directly (no password required)
>>3168 Seems like a CF configuration issue, if you ask me. Try to reproduce it without CF at all. Also, see if the setting for the different expiration header is enabled. I remember CF being buggy with certain expiration methods.
https://docs.mongodb.com/manual/administration/production-notes/#ref-microarch-intel-id1
>>3174 Huh. That seems like a pain in the ass. I'll probably hang on 4.x until AVX is broadly available. Thanks for the heads up.
"latestImageCell": "cells/latestImageCell.html", Has this file been deleted? If it still works, what code can I add to this file? Is there any sample code?
>>3179 It's still there on penumbra, at /templates/cells/latestPostsCell.html You can add anything you want. If you remove elements that are specified on templates.txt things might break.
>>3181 "latestImageCell": "cells/latestImageCell.html", "latestPostCell": "cells/latestPostsCell.html", Please note that I am talking about the latestImageCell.html file, not latestPostsCell.Because this latestImageCell.html file does not exist in /templates/cells/.
>>3182 Indeed, that seems to have been removed and is now hardcoded. But apparently penumbra templateSettings was not updated accordingly.
How can I make this work on every page? <div id="divBoards" class="topBoards title"></div>
>>3184 You mean add? Look for the "content" template "header". It will add to 90% of the pages. You can add it manually to the other few that use their own navbar.
>>3185 <div id="divBoards" class="topBoards title"></div> I plan to use this code to automatically add the thread name (including the thread title) to the top navigation bar. However, this code is only useful on the home page and does not work on other pages. Several methods were tested, but none was resolved.
>>3185 It's like giving you a tool. You know what the name of the tool is, but you just don't know how to use it.
>>3186 >>3187 I have no idea what you mean.
>>3188 Automatically add threads in the top navigation bar
>>3190 Threads? Plural? But you said "the thread name". Can you draw? Is this a back-end or front-end feature?

60.92 KB 732x913 28072624.png
>>3191 front-end
>>3192 Did you find the thing I told you?
>>3192 So you want your boards to populate on the header like in pic related. If your boards are static, just add them to the header on the front end manually. If your boards are dynamic and you don't want to touch the back end, you can use javascript to populate the header as there is a board list endpoint on the backend already. If your boards are dynamic and you want it to work without javascript then you'll need to make an addon that hooks into each pages generation to populate it. Whatever you choose, no one's going to do it for you and it won't be added to the default front end.
>>3194 I have posted an explanation of the reason here. >>3186 I just don’t understand why index.html this code <div id="divBoards" class="topBoards title"></div> does not work on other pages? It's not asking others to do this for me. When you add the board URL to the board, it will automatically show the board name on index.html. In fact, there is no need to make another plug-in.
>>3195 >I just don’t understand why index.html this code <div id="divBoards" class="topBoards title"></div> does not work on other pages? It's because the engine only looks to replace that element on the front page.
>>3195 I told you that MOST pages use the template I mentioned but a few have their own navbar, the front-page is one of them.
>>3197 To translate his strangled English >I just don’t understand why index.html this code <div id="divBoards" class="topBoards title"></div> does not work on other pages? is >Why does <div id="divBoards" class="topBoards title"></div> work on index.html but not anything else? And the answer is that divBoards is only populated on the index. So his options are >>3194
>>3199 Aaaaah yeah. Him saying this was front-end here >>3192 really tripped me up. You are right, the issue is not that the element is not present on other pages, but that it is not filled.
Reporting is broken in the latest master (2.7.0) commit; https://mewch.cf/meta/res/53.html Try it yourself by globally reporting a post, it will always say "Flood detected, wait 1 seconds". Probably has something to do with this change: https://gitgud.io/LynxChan/LynxChan/-/commit/d2b46672fc9c3fc84c5cb963dad50d180da89661 (note that on the site Allow multiple reports at once is *not* enabled)
>>3202 Could not reproduce. I cleared the db of all reports and then globally reported a thread, it went through.
Pushed a patch to all maintained branches. This patch fixes a bug where videos that had an orientation had their thumbs incorrectly scaled.

7.40 KB 449x440 1636238042.png
can we make quick reply more like this
>>3212 Maybe. LynxChan has a lot more options than 4chan, so some thought must be put when attempting so.
>>3212 Which website does this picture come from?
>>3216 4chan-x.net

375.90 KB 1029x941 1608787749521.jpg
>>3213 >LynxChan has a lot more options than 4chan
>>3219 Spoilers, block bypass, opt-out of location flags, multiple files.
>new lc release my anus is twitching with anticipation
https://www.nodeclipse.org/ goes to an ad
>>3238 That's the superior node editor right there. ***** vscode!
>electron oh no no no
>>3238 Now I feel old.
Fixed a bug with reporting on 2.7.
>>3252 Related to >>3202 after all?
>>3253 Yes.
>>3254 HA! I told you so, bitch.
>>3255 Yeah, I had flood checks disabled. :V

Я Щ Е Р Т Ю У И О П
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