/ttg/ - Tech Team General Barbara_Pitt 2020-12-22 (Tue) 03:43:41 No. 903 [Last 50 Posts]
This thread is only for feedback related to technical issues(bug reports, suggestions). Otherwise use >>30356 Public Repo: https://github.com/towards-a-new-leftypol/leftypol_lainchan If you have any grievances you can make a PR.
Mobile Support: https://github.com/PietroCarrara/Clover/releases/latest Thread For Mobile Feedback:
>>>/tech/6316 Onion Link: http://wz6bnwwtwckltvkvji6vvgmjrfspr3lstz66rusvtczhsgvwdcixgbyd.onion Cytube: https://tv.leftypol.org/ Matrix: https://app.element.io/#/room/!RQxdjfGouwsFHwUzwL:matrix.org We are currently working on improvements to the site, subject to the need of the tech team to sleep and go to their day jobs. If you need more immediate feedback please join the matrix room[s] and ask around. Feel free to leave comments, concerns, and suggestions about the tech side of the site here and we will try to get to it as soon as possible
Anonymous 2020-12-22 (Tue) 05:18:26 No. 906
Barbara_Pitt
Barbara_Pitt
Barbara_Pitt
https://www.youtube.com/watch?v=iNCidAi5Zxw Barbara_Pitt
Barbara_Pitt
Barbara_Pitt
Anonymous 2020-12-22 (Tue) 05:27:52 No. 909
A feature I'd really love is the following: If OP adds a certain codeword as the last line of non-cyclical OP, say, ">auto_archive", then when the thread reaches 490 post territory, the site automatically puts the thread thru archive.org or archive.is and posts a link for everyone to save. I know you are working through basic shit now and I'm not impatient. Just putting it out there. Naturally this should be listed as a feature if adopted under our FAQ, which we don't seem to have yet.
Anonymous 2020-12-22 (Tue) 05:29:00 No. 910
>>909 >codeword or not even that, just have an "auto archive" checkbox at the start of the thread
Anonymous 2020-12-22 (Tue) 05:38:22 No. 912
>>909 an idea that went sort of parallel to this is having a pastebin of sorts native to the site to archive newsanon posts, and a way to keep them native to the site while pastebin the site has been purging political content from their site.
Anonymous 2020-12-22 (Tue) 06:08:25 No. 915
Guys, why do we not have the fucking link to our matrix posted in the resources section?
Anonymous 2020-12-22 (Tue) 06:49:25 No. 916
>>903 Cyclical threads imported from bunkerchan have the wrong OP. Please fix.
Anonymous 2020-12-22 (Tue) 06:51:42 No. 917
>>915 Links section also needs a link to leftybooru
Anonymous 2020-12-22 (Tue) 07:30:08 No. 919
public repo is here:
https://github.com/towards-a-new-leftypol/leftypol_lainchan so if you have any grievances you can make a PR.
i still have to upload the devops stuff, that's coming soon
Anonymous 2020-12-22 (Tue) 07:30:51 No. 920
>>919 this is verbatim whats running right now
Anonymous 2020-12-22 (Tue) 08:31:40 No. 921
>>918 no, i also see that.
Anonymous 2020-12-22 (Tue) 12:08:16 No. 922
Needs: Public logs An icon showing that threads are anchored. The ability for mods to edit threads with of course a message like "Edited by X at XX:XX"
Anonymous 2020-12-22 (Tue) 12:50:35 No. 924
whenever I post something it returns me back to the main page.
Anonymous 2020-12-22 (Tue) 13:07:27 No. 925
>>924 Type "noko" in the email field, like the good old days…
Anonymous 2020-12-22 (Tue) 13:24:55 No. 926
<no orange text
Anonymous 2020-12-22 (Tue) 13:50:35 No. 929
Brainlet here, it would be nice if you were trasparent and post regular updates om the site situation
Anonymous 2020-12-22 (Tue) 13:53:34 No. 930
>>929 We will try our best to do so. The tech team right now is working on making this site as usable as possible rapidly enough.
Anonymous 2020-12-22 (Tue) 15:32:38 No. 932
>>903 I would add a search filed in the catalog in the already long list of suggestions.
>>931 Yeah, I just can't get (you) and the floating reply box to work
Anonymous 2020-12-22 (Tue) 16:58:29 No. 933
>>932 I would appreciate it if people would start tracking issues. I will probably make issues for things itt on github when I get a moment.
Anonymous 2020-12-22 (Tue) 17:05:54 No. 934
>>903 If possible a dashchan extension to browse on mobile would be awesome.
Anonymous 2020-12-22 (Tue) 17:09:33 No. 935
>>928 >With one huge caveat: that right hand sidebar was pure cancer. Dont bring that one back, please. What are you talking about? The sidebar was sick and extremely convenient.
Anonymous 2020-12-22 (Tue) 17:28:19 No. 936
>>928 i always thought that thing was stupid i click the X every time
Anonymous 2020-12-22 (Tue) 17:57:14 No. 938
Why is the software in R9k mode? i cant post duplicate images?
Anonymous 2020-12-22 (Tue) 18:06:42 No. 939
ok
Anonymous 2020-12-22 (Tue) 18:16:38 No. 940
>>935 Lmfao, are you insane?
Anonymous 2020-12-22 (Tue) 18:18:19 No. 941
>>940 I don't think so, what's wrong with it?
Anonymous 2020-12-22 (Tue) 18:33:28 No. 942
>>941 NTA but its annoying and makes it so i cant scroll thread until I X it out
Anonymous 2020-12-22 (Tue) 18:40:25 No. 943
Major concern: does this site actually have the bandwidth and money for expenses to handle the kind of traffic that bunkerchan regularly got? Just where was space getting his money to finance bunkerchan in the first place?
Anonymous 2020-12-22 (Tue) 18:53:11 No. 944
>>943 Money is not a problem for the moment and I think it would have to overtake current bunkerchan in terms of userbase to become one in my opinion, the priority is fixing software issues and having enough the working hands to do that.
>Just where was space getting his money to finance bunkerchan in the first place? Don't know, surely from his own pocket. But he indeed wanted to bring ads to bunkerchan maybe for that reason and split the revenue 50/50 with us (the mod team), we refused of course telling him donations would be preferable if he had any problems with covering server costs.
Anonymous 2020-12-22 (Tue) 19:10:00 No. 946
My hands are 100% tied atm. It would help if someone made a list of the suggestions so I can later on write them down somewhere.
Anonymous 2020-12-22 (Tue) 19:11:31 No. 947
>>946 jannies also want ability to edit posts and other people want post character limit to be increased
Anonymous 2020-12-22 (Tue) 19:28:54 No. 949
>>948 any way to put each of those in a separate bug/issue?
Anonymous 2020-12-22 (Tue) 19:35:38 No. 950
>>949 I thought about splitting them into separate issues but I think having a plan first would be better.
Anonymous 2020-12-22 (Tue) 19:35:47 No. 951
This is more out of curiosity than anything, but do we have a vague timetable for when we might get this site up to at least the features of the previous site?
Anonymous 2020-12-22 (Tue) 19:44:46 No. 952
>>948 Thank you your help is appreciated.
>>951 To quote what the OP told me "lainchan needs to be beat into shape before its really usable", I will ask the techies and will give you an answer to your question, if they have one.
Anonymous 2020-12-22 (Tue) 20:39:07 No. 955
>>30433 £60 a month?
Anonymous 2020-12-22 (Tue) 20:41:43 No. 956
For some reason I keep getting this error while trying to reply to this
>>953 post
Anonymous 2020-12-22 (Tue) 22:44:12 No. 959
Any news?
Anonymous 2020-12-22 (Tue) 22:47:25 No. 960
>>959 tech team is at their day jobs and they're merging some new changes into the code base tomorrow, such as dockerizing the app
Anonymous 2020-12-22 (Tue) 23:11:17 No. 961
>>953 Isn't that quite expensive? For a site that handles 10 posts a minute tops and stores less than 40 GB of data.
Anonymous 2020-12-22 (Tue) 23:19:36 No. 962
>>961 He had a rather expansive VPS service, ovh if I recall well.
Anonymous 2020-12-22 (Tue) 23:49:19 No. 963
>>962 >>961 ovh isnt that expensive for a euro hoster, the problem is he kept trying to brute force scale lynxchan with bigger buffer hardware when like less than 10% of the processing power was even being used
Anonymous 2020-12-23 (Wed) 04:19:33 No. 964
I found it quite impressive that you managed to scrape almost every threads and post from bunkerchan. Well done! Could you please consider using similar technique to allow users to save thread like we could back in fullchan?
Anonymous 2020-12-23 (Wed) 05:17:26 No. 965
>>964 what do you mean exactly? archive feature from bunkerchan?
Anonymous 2020-12-23 (Wed) 06:13:45 No. 967
>>943 This shit all started because Space_ wanted to sell user data to Google to cover server costs in the first place. I'm not going back to Bunkerchan, I don't trust the new management there in the slightest.
Anonymous 2020-12-23 (Wed) 06:22:40 No. 968
>>967 That's not true. I'm not sure why /GET/ would start this rumor.
Anonymous 2020-12-23 (Wed) 06:26:18 No. 969
>>966 is this theme better or
>>905 this one
>>967 >>968 I haven't heard of that one but space is 100% looking to turn into a grifter
Anonymous 2020-12-23 (Wed) 06:57:50 No. 970
>>969 Personally, I prefer>>30570
Anonymous 2020-12-23 (Wed) 07:22:46 No. 971
>>953 Shoe never fails to make me hard as a rock.
Anonymous 2020-12-23 (Wed) 07:27:48 No. 972
>>928 >With one huge caveat: that right hand sidebar was pure cancer. Dont bring that one back, please. This.
Anonymous 2020-12-23 (Wed) 07:52:06 No. 973
>>926 That's racist. The preferred politically correct term is Text of Color (TOC).
Anonymous 2020-12-23 (Wed) 08:12:22 No. 974
>>973 You got a weird taste in comedy anon but you do you.
Anonymous 2020-12-23 (Wed) 08:40:33 No. 975
>>971 is that shoe or boxxy i can never tell
Torrent boy 2020-12-23 (Wed) 10:25:48 No. 976
>>903 BANNERS
MAKE A THREAD SO WE CAN MAKE BANNERS FOR THE CHAN.
Anonymous 2020-12-23 (Wed) 10:35:36 No. 977
>>975 What's the difference?
Anonymous 2020-12-23 (Wed) 10:49:24 No. 978
>>976 Feel free to make it, anon.
Anonymous 2020-12-23 (Wed) 11:44:33 No. 979
add flags
Anonymous 2020-12-23 (Wed) 11:48:22 No. 980
requesting to separate the NSFW boards from the NSFW boards in the sidebar
Anonymous 2020-12-23 (Wed) 11:53:55 No. 982
>>981 compare to
these were screencapped at the same time
Anonymous 2020-12-23 (Wed) 11:55:38 No. 983
replace the "file deleted" image with the old "this file never existed image from 8/leftypol/"
Anonymous 2020-12-23 (Wed) 11:56:19 No. 984
BUG report: you are not allowed to post a duplicate image even of deleted pictures.
Found out via
https://leftypol.org/leftypol/res/30620.html I was trying to reply to this thread (since we can't post more than one image at the same time) and this shit auto-drops me back to leftypol. Since this is the first sticky I still thought I was inside the thread.
Anonymous 2020-12-23 (Wed) 12:07:37 No. 987
>>986 >>985 Looks like deleted posts maybe?
Anonymous 2020-12-23 (Wed) 12:14:10 No. 988
>>987 Nope. Site issue. New posts don't appear now in some threads, can only be seen on the index.
Anonymous 2020-12-23 (Wed) 12:45:25 No. 989
Why is this site so bad, like im happy to move over but this site is much uglier and works worse than Bunker
Anonymous 2020-12-23 (Wed) 12:52:43 No. 990
>>989 >>30635 comrades are working on it 24/7 as far as I'm aware. Give it time, the impression they give is that it's a competent team.
Anonymous 2020-12-23 (Wed) 15:10:23 No. 991
>>30635 As some are aware and others aren't, this site was not meant to be ready so soon, but our plans were forced forwards by our purge at bunkerchan when someone leaked info to space_.
Anonymous 2020-12-23 (Wed) 15:32:41 No. 992
>>919 Hahaha can we try and get Hot Wheels to come code for us? cudbgud
>>905 Make the purple a light yellow
Anonymous 2020-12-23 (Wed) 15:46:38 No. 993
>>992 Hotwheels sided with the reactionary regime of bunkerchan unfortunately.
https://twitter.com/fr_brennan/status/1340712625940869123 Anonymous 2020-12-23 (Wed) 17:48:36 No. 995
[spoiler]test[/spoiler]
Anonymous 2020-12-23 (Wed) 17:49:50 No. 996
test
Anonymous 2020-12-23 (Wed) 19:40:21 No. 998
Site admin when you add these >>30665 don't forget that it often takes a hard refresh (ctrl+f5) for people's browser cache, as well as a new reply/thread to update serve cache for each page for changes to take effect
Anonymous 2020-12-23 (Wed) 20:04:23 No. 1000
>>999 Can confirm posting works fine in Palemoon as well.
Anonymous 2020-12-23 (Wed) 20:18:02 No. 1002
>>999 i think it is fixable by commenting out (prepending with //) lines 474-476
https://github.com/lainchan/lainchan/blob/master/post.php i don't really know the reason for why they added referrer header checking for posting replies other than possible cross-site request forgery (CSRF)?
https://security.stackexchange.com/questions/66165/does-referrer-header-checking-offer-any-real-world-security-improvement https://security.stackexchange.com/questions/96114/why-is-referer-checking-needed-for-django-to-prevent-csrf https://security.stackexchange.com/questions/158045/is-checking-the-referer-and-origin-headers-enough-to-prevent-csrf-provided-that https://portswigger.net/web-security/csrf i think it is meant more to protect the user rather than anything server-side. however i think on a site like this such a scenario is extremely unlikely. my guess is it's to prevent the scenario of somebody leaking their tripcode on a fake/spoofed/third-party-front-end of a vichan instance (such as leftypol.org). so for example i could be a sneaky hacker and make some "webring" front-end site that has a bunch of imageboards sites like leftypol.org, lainchan.org, etc. etc. all in one, and if someone posts in one of those sites through my front-end, i can record what they type in the Name field and steal any tripcodes. that's my theory at least. it's up to the site admin if he wants to comment this out or not, personally i think it's next-to-useless and safe to comment out
Anonymous 2020-12-23 (Wed) 20:47:40 No. 1003
>>1002 Thanks for fast confirmation.
Do you think this is icecat bug that needs to be reported? I am not familiar with web protocol stuffs and not sure why would only icecat trigger this
Anonymous 2020-12-23 (Wed) 20:57:07 No. 1005
>>1004 1. No
and 2. It seems like most people in this thread are against it?
Anonymous 2020-12-23 (Wed) 21:12:01 No. 1007
>>1005 >>1006 >>1004 i think autoupdate/autorefresh is a feature request the tech people are working on, check the open issues on the github
Anonymous 2020-12-23 (Wed) 21:13:37 No. 1008
Get this error when trying to report stuff: Error An error has occured. Undefined index: id in /srv/http/lainchan.leftypol.org/inc/functions.php at line 2777
Anonymous 2020-12-23 (Wed) 21:46:31 No. 1010
What do you mean? The screeshoted post is there >>>/gulag/5290
Anonymous 2020-12-23 (Wed) 22:05:04 No. 1012
>>1004 >can we bring back the thread sidebar? dude
Anonymous 2020-12-23 (Wed) 22:14:47 No. 1013
>>1012 I liked the sidebar :3
Anonymous 2020-12-23 (Wed) 22:22:14 No. 1014
I get this error when trying to reply in >>30730>iconv(): Unknown error (84) in /srv/http/lainchan.leftypol.org/inc/functions.php at line 2745
Anonymous 2020-12-23 (Wed) 22:25:15 No. 1015
>>1008 this is a problem specific to lainchan. vichan does not have this problem afaik.
observe lines 323 and 333 in vichan's post.php
https://github.com/vichan-devel/vichan/blob/master/post.php and lines 328 and 337 in lainchan's post.php
https://github.com/lainchan/lainchan/blob/master/post.php for
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/config/post.php in line 328 change first line to second line:
$thread = $query->fetch(PDO::FETCH_ASSOC);
$post = $query->fetch(PDO::FETCH_ASSOC);
in line 337 change first fragment to second fragment:
link_for($thread) . ($thread['thread']
link_for($post) . ($post['thread']
i think that will fix the error, give it a try
Anonymous 2020-12-23 (Wed) 22:37:18 No. 1016
There's an issue with >>30356 where new posts display on the first page but not in the thread itself
Anonymous 2020-12-23 (Wed) 22:42:14 No. 1019
>>1015 do a pull request on github
Anonymous 2020-12-23 (Wed) 22:44:05 No. 1020
>>1015 >>1014 are we sure thats the problem? iconv is a php extension that needs to be installed
Anonymous 2020-12-23 (Wed) 22:51:01 No. 1021
>>1016 >>1018 i'll need to see the site admin's most up-to-date
instance-config.php to see what's going on.
also i made a small inaccuracy in >>30665 , inline-expanding has nothing to do with reply behavior, i think all it is is expanding an image when clicking a thumbnail instead of opening in a new tab
Anonymous 2020-12-23 (Wed) 22:52:17 No. 1022
>>1021 if you're gonna be that involved maybe go to the matrix room and ask to join the tech team.
tech team hasnt put the more recent prod/server version of instance config in source control
Anonymous 2020-12-23 (Wed) 22:59:03 No. 1024
actually i don't think i need to see the config file, this reply problem (not staying on the same page after replying) must be a client-side problem, should be solvable just by checking through page source, probably the js files
Anonymous 2020-12-23 (Wed) 23:06:55 No. 1025
It seems that the catalog doesn't really care about stickies.
Anonymous 2020-12-23 (Wed) 23:13:34 No. 1026
>>1025 they are anarcho-stickies
they don't obey your arbitrary rules
Anonymous 2020-12-23 (Wed) 23:59:33 No. 1028
some basic mobile support for devices up to 768px width, add to end of /stylesheets/style.css @media (max-width:768px) { #sidebar{display:none;} iframe#main{left: 0; border-left:none; width:100%;} .bar.bottom{opacity:0.8;} footer p.unimportant{display:none;} } a client-side js solution that checks browser user agent for mobile browser would be much better but this css workaround should do for now
Anonymous 2020-12-23 (Wed) 23:59:53 No. 1029
>>30828 can you post some screenshots of what it looks like? how much support does it add?
Anonymous 2020-12-24 (Thu) 00:00:54 No. 1030
>>1028 also why dont u just do it as a pull request on github?
just fork the leftypol repo, make a change, add/commit, push to your repo then go to github and click the pull request button on that repo
Anonymous 2020-12-24 (Thu) 00:10:07 No. 1032
>>1031 its just a setting on lainchan i think it already existed,
nevertheless, based Anonymous 2020-12-24 (Thu) 00:16:51 No. 1034
>>1033 (you)
Do we really need to bring back (you)s? I think not having it actually incentivizes people to read more posts and discourages people from baiting for (you)s or only focusing on (you)s while other shit is going on in the thread.
Anonymous 2020-12-24 (Thu) 00:21:16 No. 1035
>>1034 It's good for when I forgot I posted something and see the (You) though
Anonymous 2020-12-24 (Thu) 00:27:26 No. 1036
>>1033 >>1034 (you)s are newfag crap that seeped into image boards due to reddit migrants who can't handle genuine anonymity.
Anonymous 2020-12-24 (Thu) 00:28:17 No. 1037
>>1036 I don't think you understand what genuine anonymity is
Anonymous 2020-12-24 (Thu) 00:36:04 No. 1039
>>1033 >>1034 >>1035 >>1036 the (You) config code are just these two lines:
$config['additional_javascript'][] = 'js/ajax.js';
$config['additional_javascript'][] = 'js/show-own-posts.js';
however i strongly recommend not adding this until first fixing the not-staying-on-same-page-after-replying problem because ajax.js is known to also cause a similar conflict at least with my experience with lainchan which is why i deliberately left it out of >>30665
Anonymous 2020-12-24 (Thu) 00:39:51 No. 1040
>>1039 >the not-staying-on-same-page-after-replying problem This is just how imageboards used to be a over a decade ago, it's probably left disabled as the default setting because that's how it used to be. It's likely labelled as "noko" which is what you used to have to type in the email field to use it.
Anonymous 2020-12-24 (Thu) 00:40:10 No. 1041
>>1040 >which is what you used to have to type in the email field to use it. Just tested it and it still works btw
Anonymous 2020-12-24 (Thu) 00:42:51 No. 1042
>>1040 ah you're right now i remember
site admin add this to your config: $config['always_noko'] = true; homework for site admin Anonymous 2020-12-24 (Thu) 02:06:20 No. 1043
Enable other themes replace/add the following in your
instance-config.php :
$config['stylesheets']['Yotsuba B'] = ''; // Default
$config['stylesheets']['Yotsuba'] = 'yotsuba.css';
$config['stylesheets']['Burichan'] = 'burichan.css';
$config['stylesheets']['Dark'] = 'dark.css';
$config['stylesheets']['Futaba'] = 'futaba.css';
$config['stylesheets']['Gentoochan'] = 'gentoochan.css';
$config['stylesheets']['Gurochan'] = 'gurochan.css';
$config['stylesheets']['Jungle'] = 'jungle.css';
$config['stylesheets']['LainchanJP'] = 'lainchanjp.css';
$config['stylesheets']['Miku'] = 'miku.css';
$config['stylesheets']['Notsuba'] = 'notsuba.css';
$config['stylesheets']['Photon'] = 'photon.css';
$config['stylesheets']['Szalet'] = 'szalet.css';
$config['stylesheets']['Tsuki'] = 'tsuki.css';
Fix reply behavior >>1042 Basic mobile support >>1028 (and make note to delete this css if a better js solution is made in the distant future)
Fix reporting >>1015 Anonymous 2020-12-24 (Thu) 02:11:38 No. 1044
This is a small change, but I love that you've added a favicon so quickly.
Anonymous 2020-12-24 (Thu) 02:24:15 No. 1045
>>1043 check the issue list before making a suggestion
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues some of the things you asked for were already there
Anonymous 2020-12-24 (Thu) 02:27:19 No. 1046
>>1045 i don't post suggestions/issues here, just fixes
Anonymous 2020-12-24 (Thu) 02:28:01 No. 1047
>>1046 same dif its a ticket either way.
Anonymous 2020-12-24 (Thu) 02:44:56 No. 1048
update your issue/ticket on github for broken reporting with the suggested fix/info
>>1015 my fixes are public domain i dont care who takes credit no need to type anon wants x
Anonymous 2020-12-24 (Thu) 03:25:38 No. 1049
how can i make the left side bar die? preferably with as much blood as possible
remove sidebar imo Anonymous 2020-12-24 (Thu) 03:49:22 No. 1051
>>1049 i personally don't like the sidebar either and think the site admin should strongly consider removing it, it does more harm than good because
A) there's no easily-clickable way to close it
B) it breaks mobile support, requiring wacky workarounds like
>>1028 which im not a fan of
C) theme changing doesn't work with the sidebar
take a look at this other lainchan instances, their front page doesn't load in any sidebar
https://lainchan.org https://seenoevil.lol https://www.4chon.me some vichan instances front pages to check out, since the difference is very minimal anyway:
https://pildilaud.ee http://zerochan.org https://macechan.org https://pawsru.org https://sushigirl.us https://ponkolauta.net https://www.latinchan.org Anonymous 2020-12-24 (Thu) 03:59:48 No. 1053
>>1049 you can get rid of the sideby by typing in the address as
>>1050 said before
Anonymous 2020-12-24 (Thu) 04:00:20 No. 1054
>>1052 was it down before??
Anonymous 2020-12-24 (Thu) 04:15:33 No. 1055
>>1054 There's some references to it being down ages ago, but I haven't seen anywhere since it went down say it has gone back up, only what must be out of date text saying it's dead, so I never bothered checking.
Anonymous 2020-12-24 (Thu) 04:24:21 No. 1056
>>1015 >>1043 for fixing reporting (or at least attempting to), will also need to change line 388
( $thread['thread'] ? $thread['thread'] : $id ) . ".html" . ($thread['thread']
to
( $post['thread'] ? $post['thread'] : $id ) . ".html" . ($post['thread']
Anonymous 2020-12-24 (Thu) 04:28:14 No. 1057
>>1015 >>1043 >>1056 also lines 373 and 374 change all $thread to $post
to sum up, lines 328, 337, 373, 374, 388 will need to be changed
Anonymous 2020-12-24 (Thu) 04:39:10 No. 1060
>>1058 can u try this, makes the
red a little brighter and therefore easier to read
span.heading {
color: indianred;
}
Anonymous 2020-12-24 (Thu) 04:44:21 No. 1061
>>1060 can you edit the board name at the top as well?
Anonymous 2020-12-24 (Thu) 04:50:46 No. 1063
>>1062 For colors, you add something like this:
header div.subtitle, h1 {
color: #444444;
}
Then, replace #444444 with whatever color or hex code you want.
Anonymous 2020-12-24 (Thu) 04:52:51 No. 1065
>>1062 ctrl+shift+c and clicking the element usually gives the appropriate selector
header div.subtitle, h1 {
color: indianred;
}
Anonymous 2020-12-24 (Thu) 05:12:29 No. 1068
>>1067 try these
div.banner {background-color:RebeccaPurple;}
#quick-reply th, #quick-reply td {background-color:#1F1F1F;}
#quick-reply table {border-color:#373b41}
Anonymous 2020-12-24 (Thu) 05:16:59 No. 1069
>>1068 wait nevermind that's shit, change div.banner bg color to indianred not rebeccapurple
Anonymous 2020-12-24 (Thu) 05:23:50 No. 1070
>>999 >>1002 Can any mods comment on this? It would be nice if I could hsitpost on icecat
Anonymous 2020-12-24 (Thu) 05:42:31 No. 1072
>>1071 I like the aggressive orange. Makes me feel like I'm writing something important, something with gravity.
Anonymous 2020-12-24 (Thu) 05:53:55 No. 1073
>>1067 aw shit, this is sexy.
Anonymous 2020-12-24 (Thu) 06:21:52 No. 1075
>>1074 Well, I don't know to do any of that, I'm rather technically illiterate.
Anonymous 2020-12-24 (Thu) 07:16:34 No. 1078
>>1070 I'll look into it soon.
Anonymous 2020-12-24 (Thu) 07:48:26 No. 1079
Question, I am using 4chanx and a custom theme but it seems to disable showing the hover-over feature of linked posts when looking at replies if the post is on-screen, but it also looks like it disables highlighting of the post so if the post is on screen its counter-intuitively hard to find. Is there a way to make there always be hover-over replies in the settings of 4chanx or whatever?
Anonymous 2020-12-24 (Thu) 09:02:55 No. 1080
Why are the UI improvements in leftypol not in GET?
Anonymous 2020-12-24 (Thu) 09:18:22 No. 1081
>>1080 GET uses Kusaba X, a board software from like 2008. vichan (the one we are using) is much more modern. GET is planning to change software soon-ish to something new though.
Anonymous 2020-12-24 (Thu) 12:15:19 No. 1082
Where is the overboard?
Anonymous 2020-12-24 (Thu) 12:43:58 No. 1083
$config['spoiler_images'] = true;
Anonymous 2020-12-24 (Thu) 13:30:08 No. 1084
>>1012 I liked it, it was comfy
Anonymous 2020-12-24 (Thu) 14:34:18 No. 1085
This error comes up when trying to post sometimes, but it still posts which is why people (like me lol) make multiple posts blaming an error: iconv(): Unknown error (84) in /srv/http/lainchan.leftypol.org/inc/functions.php at line 2745
Anonymous 2020-12-24 (Thu) 14:37:48 No. 1086
iconv(): Unknown error (84) in /srv/http/lainchan.leftypol.org/inc/functions.php at line 2745
Anonymous 2020-12-24 (Thu) 15:19:16 No. 1088
5 things that should be added to match Bunkerchan: 1) Flags 2) Other themes (i know there are ways to do it outside but it would be nice have them embedded) 3) A rapid way to get to catalog 4) Fix the fact that after posting you are being brought back to overboard 5) A way to post webm or mp4 files
Anonymous 2020-12-24 (Thu) 15:32:04 No. 1089
>>1087 It's definitely happening exclusively to longer posts, sometimes to posts w pics attached.
Anonymous 2020-12-24 (Thu) 16:08:13 No. 1090
>>1089 cuz he aint enable noko yet
>>1042 >>1083 enable this too admin
>>1076 >>1077 at the cost of server cpu
>>1085 >>1086 1 thing at a time, still waitin for this
>>1057 >>1088 all dat shud b ez including vids, just needs to enable the ffmpeg crap, but still waitin for more more urgent bug fixes
>>1051 and now 4th reason found for why sidebar should be removed A) there's no easily-clickable way to close it
B) it breaks mobile support, requiring wacky workarounds like
>>1028 which im not a fan of
C) theme changing doesn't work with the sidebar
D)
when you refresh on any page, it brings you back news.html (front page) get rid of it asap no one likes it
Anonymous 2020-12-24 (Thu) 16:30:22 No. 1091
the reporting problem wouldnt be here if you didn't use lainchan 5.1.3 instead of vichan 5.1.4. lainchan hasnt been updated for over a year. i don't know who convinced you to use lainchan instead of vichan, the dude unnecessarily changed a bunch of shit in the code which ended up breaking a whole bunch of other shit
look how this turdburglar totally rewrote the report code and didnt bother to bug test through it
lines 276-397
https://github.com/lainchan/lainchan/blob/master/post.php lines 268-354
https://github.com/vichan-devel/vichan/blob/master/post.php Anonymous 2020-12-24 (Thu) 17:11:22 No. 1092
ffs see this is where a strongly-typed language would've helped, as well as an error/sanity check in the beginning of function body of link_for to give a proper alert like "HEY IDIOT! YOU PASSED THE WRONG FUCKING ASSOCIATIVE ARRAY!". the fuck is this assgoblin on lainchan source randomly switching between $thread and $post and passing it to function link_for
Anonymous 2020-12-24 (Thu) 17:14:10 No. 1093
>>1091 Precisely because vichan warns of not being actively developed while lainchan has a live instance and seems to work. It's hard to tell from the outside that shit is broken or badly built.
Anonymous 2020-12-24 (Thu) 18:03:33 No. 1094
>>1093 that warning is bogus, it's just hotwheels acting like a whiny baby and asking for $80/hr or some shit, he's a notorious drama queen, vichan is more up-to-date
see look for here some vichan instances
>>1051 and
https://mintboard.org/vichan/bone/ notice how they have everything working including the report system
and another
https://uboachan.net Anonymous 2020-12-24 (Thu) 18:10:53 No. 1095
>>1091 >>1093 >>1094 Would it be much of a task to switch to vichan? It would essentially just be like a large update given the code similarities, right?
>>1092 Yeah I don't know much about computers and even I thought that was weird when I looked at it. It's like he submitted a rewrite of a feature halfway through.
Anonymous 2020-12-24 (Thu) 18:29:49 No. 1096
>>1095 i dont know how much, but this is probably what one would do
1. host a test instance of lainchan and vichan locally, make some threads, posts, images etc. on lainchan, and attempt to copy everything to the vichan instance to see if it's even possible in the first place. verify if reporting even works on the vichan instance (and possibly other bugs like that iconv() thing), otherwise a migration would be pointless since that's the intended purpose of the migration to vichan
2. host an instance of vichan, copy everything from leftypol.org onto there, may need to shut the site down temporarily for migration
Anonymous 2020-12-24 (Thu) 18:34:13 No. 1097
>>1096 Well it makes long term sense to change now as we can get vichan features as they're coded and contribute to its development, rather than being stuck porting whatever cool shit they come up with.
Anonymous 2020-12-24 (Thu) 19:13:19 No. 1098
>>980 having NSFW boards at all is a recipe for disaster
FSLNanon Anonymous 2020-12-24 (Thu) 19:13:25 No. 1099
>>31115 Seconding the thread thing: cancel old threads and open new cyclicals in their place.
Anonymous 2020-12-24 (Thu) 19:15:55 No. 1100
>>1091 >>1092 if leftypol was to rewrite totally new board software, what language would it be in?
Scala? Java? C#? Python?
Anonymous 2020-12-24 (Thu) 19:18:10 No. 1102
>>1100 I thought they were working on gochan already.
https://github.com/gochan-org/gochan Anonymous 2020-12-24 (Thu) 19:27:58 No. 1103
>>1102 yeah but thats by Rat, who is currently taking a break due to some personal real life issues and gochan hasn't really been making progress
im talking about brand new here
Anonymous 2020-12-24 (Thu) 19:40:58 No. 1104
>>1100 >>1102 >>1103 as much as i like to bitch about vichan and the weak typing of php, i think it would be overly ambitious especially for a tiny group like leftypol to attempt to write board software that would replace vichan, lynxchan or infinity-next. most pragmatic thing would be to try to improve vichan
Anonymous 2020-12-24 (Thu) 19:41:28 No. 1105
>>977 they two different people u dumb dumb
Anonymous 2020-12-24 (Thu) 19:42:00 No. 1106
>>1104 the old .org did it in like 2 months…
Anonymous 2020-12-24 (Thu) 20:28:12 No. 1107
>>31115 >because it would feel like talking to ghosts or something I made a lot of those posts…
Anonymous 2020-12-24 (Thu) 20:29:58 No. 1108
>>31115 if you guys need disk space I've been offering free motherfucking hard drives or buttcoin donation for over nearly two years now.
Anonymous 2020-12-24 (Thu) 20:33:34 No. 1109
>>1108 what we really need is something that isn't lynxchan or outdated shit like vichan/lainchan.
>inb4 they're updating vichanits still incompatible with php7 and stuck on php5.6 which is deprecated and came out in like 2004. Its basically legacy software which is just being maintained with minor updates at this point
Anonymous 2020-12-24 (Thu) 20:56:48 No. 1110
>>1109 I'm sure you answered this before but could it be practical to help refactor infinity next? commits have been sparse but steady and they seem to have at least one live instance with respectable amount of traffic?
https://github.com/infinity-next/infinity-next Anonymous 2020-12-24 (Thu) 21:01:15 No. 1111
>>934 Dashchan sucks, but Kuroba is nice. I'm developing support for leftypol on it. It would be cool if there was a test board so that I don't have to spam in
>>>/b/ .
Sent from my IPad Anonymous 2020-12-24 (Thu) 21:07:00 No. 1112
>>1051 I installed the side bar and I don't like it either. I'm currently doing holiday stuff when I'm not doing work stuff.
I think I can make an easy fix. The reason the horse shit front page makes sense right now is because it is autogenerated.
Anonymous 2020-12-24 (Thu) 21:13:43 No. 1113
>>1104 Agree with this tbh, we shouldn't just focus on feature parity but having better features. We should strive to be ahead of vichan and them pulling our features, not us scavenging from other codebases.
>>1106 Then where's the code for it?
Anonymous 2020-12-24 (Thu) 21:17:28 No. 1115
>>1110 AFAIK infinity next was never finished?
>Infinity Next was never completed and is currently in an unusable state. I am currently working on refactoring it to Laravel 6 and modernizing some backend work, but it is just something I am doing for myself. For some reason, I just can't stand to see it unfinished. >Use at your own risk: I can't help you.I mean i guess with that much work you might as well just keep working on vichan
Anonymous 2020-12-24 (Thu) 21:32:06 No. 1116
>>1115 if it was never finished how could there be a live instance? what features are actually missing? I'm only bringing it up as you mentioned php7.
Anonymous 2020-12-24 (Thu) 21:35:26 No. 1118
>>1116 not sure, thats just what the author put in the readme
Anonymous 2020-12-24 (Thu) 21:40:58 No. 1119
>>1117 yeah but the old .org never wrote that code, it was some other rando who had nothing to do with the site, same as stephen lynx has nothing to do with bunkerchan. IMO if leftypol wants to make a chan it has to be from scratch on our own codebase not adopted shit which is undocumented and no testing.
Anonymous 2020-12-24 (Thu) 21:56:46 No. 1120
>>1114 it actually matters to talk about board policy such as starting the site from scratch with just one /leftypol/ board because it's the difference of potentially days of work trying to migrate a bunch of cruft from bunkerchan to lainchan to vichan, or just starting fresh on vichan.
Anonymous 2020-12-24 (Thu) 22:19:01 No. 1121
>>1109 >its still incompatible with php7 vichan works fine on php 7.3 but is known to have some issues with 7.4
Anonymous 2020-12-24 (Thu) 22:33:49 No. 1122
It does make me wonder how quickly an agnostic back end could be built. There are so many hidden functionality and quirks that it's hard to even quantify. A front end could be built with modern tools, such as react or even implement several as long as it respects the backend api.
Anonymous 2020-12-24 (Thu) 23:05:17 No. 1123
>>1121 maybe thats true for vichan but lainchan breaks and has weird bugs on anything beyond php5 specifically in the install script. thats why the containerized environment/docker uses php5.6
Anonymous 2020-12-24 (Thu) 23:09:45 No. 1124
>>1122 I would support building a headless/api only chan but the problem is that alot of /g/entoo-fags hate javascript and disable it in the browser because Richard Stallman told them to in 201, even though with the rise in popularity of SPA's this would essentially break 50% of the internet that isnt just certain news sites or blogs.
So the react/frontend js would be a problem
The headless ib would have to be called by another server side program that made shit into static html/css for the autists, or people on imageboards would just have to get over javascript in [current year]
Anonymous 2020-12-24 (Thu) 23:09:49 No. 1125
>>1123 So we should switch to vichan!
We already moved from lynxchan, lainchan to vichan should be a walk in the park.
Anonymous 2020-12-24 (Thu) 23:13:45 No. 1126
Any particular reason you've rejected nntp-chan? I would have thought the decentralized backend would have made more sense given the staff desires for democracy, as well as making it easier to manage further splits in the event on future disputes.
Anonymous 2020-12-24 (Thu) 23:22:04 No. 1127
>>1125 lainchan is vichan, any differences are trivial and can easily be copypasta'd over anyway
Anonymous 2020-12-24 (Thu) 23:25:40 No. 1128
>>1127 no, lainchan is a partial rewrite of vichan that hasn't been updating for over a year, see
>>1091 Anonymous 2020-12-24 (Thu) 23:26:38 No. 1129
>>1126 AFAIK its rat, zero, and comatoast who made the original decision to use lainchan. ask them. lainchan also has some nntp compatibility but i think its disabled by default
Anyway i dont think its a good idea for leftypol to be in a federation with a bunch of imageboards since imageboards other than leftypol/bunkerchan tend to be filled with schizos, nazis, furfags, pedos, and other general weirdos who are too autistic for mainstream social media. lainchan, bunkerchan, and leftypol are literally the only decent imageboards out there.
>>1123 I mean the team has already started to make changes to the code, if they do even half the shit on the issues list it will already make it better and more maintained than vichan, like adding unit tests and proper logging. I say just stick with the codebase we have and improve it as much as possible until such time as something better is developed.
Any updates from vichan is similar enough to be merged in pretty easily id imagine
Anonymous 2020-12-24 (Thu) 23:27:15 No. 1130
ok so merge the vichan updates in, whats the problem its only a minor difference
Anonymous 2020-12-24 (Thu) 23:27:29 No. 1131
>>1127 If the differences are trivial then we can switch over.
Anonymous 2020-12-24 (Thu) 23:28:17 No. 1132
is "always noko" a thing now?
Anonymous 2020-12-24 (Thu) 23:30:31 No. 1133
>>1131 if the differences are trivial you wont need to switch over because you can just merge them in which is a hell of a lot less work than switching
Anonymous 2020-12-24 (Thu) 23:31:31 No. 1134
>>1129 >I mean the team has already started to make changes to the code, if they do even half the shit on the issues list it will already make it better and more maintained than vichan, like adding unit tests and proper logging. I say just stick with the codebase we have and improve it as much as possible until such time as something better is developed. This is what we're trying to say though. We're saying the codebases are so similar now we can switch over with little effort, then improve vichan. It will stop us developing in parallel and allow us both to reap the benefits of cooperation, rather than porting each others works.
We are early in the project and the code is still quite similar, we can switch and contribute to a greater project or become a backwater catching up to them.
Anonymous 2020-12-24 (Thu) 23:34:07 No. 1135
>>1133 Is that possible with github? We're effectively developing lainchan now, and all the work is being done on vichan. It would be easier for everyone if we ported the work done to vichan rather than whatever the alternative is. You can't just merge a fork into a downstream fork.
Anonymous 2020-12-24 (Thu) 23:51:28 No. 1136
>>1134 1. that would require the tech team to contribute to vichan instead of our fork, so the source code would ultimately be under control of the vichan devs and that would become a bottleneck, because those people would have to approve all changes which would slow down development velocity
2. "Backwater", uh, which one is developing faster, standard vichan or the leftypol version? because the last commit to leftypol-chan was like 2 hours ago and the last commit to vichan was 22 days ago. There is no "developing in parallel", there's 1 team doing active development (leftypol) and another team doing small maintainence patches like once a month MAX (vichan).
its more likely vichan will want to merge leftypol changes than the other way around.
Read the readme.md of vichan - it literally says
>Vichan has next to no active development. and has for years. the whole point of the split was that space_ was inactive and refusing the mods. why hand over control to another clique of not even leftist inactives who have control over codebase? even if they fork vichan they site would be down for another couple of days to week while the recreate all the same functionality in vichan that they've enabled here
Anonymous 2020-12-25 (Fri) 00:00:06 No. 1137
>>1135 >port shit due to my autism the users don't want another week of downtime and the devs are burned out from doing frantic work to get it even up to this level, and you want them to redo it to switch from one unmaintained no active development software to another unmaintained no active development software because… why??? reasons?? like 3-4 configuration bugs that could easily be copypasta'd to the current codebase?
Anonymous 2020-12-25 (Fri) 00:14:58 No. 1139
>>1138 >dark mode uh which is better dark or "dark red"
Anonymous 2020-12-25 (Fri) 00:19:50 No. 1140
Based fixes as usual
>>1139 dark red is just dark with red replacing the green, which kills the
>greentext <orangetext Anonymous 2020-12-25 (Fri) 00:50:33 No. 1141
Anons let's try to make things clearer for the dev team. Here are some of the issue son github we should be answering.
Flags:
Make a thread with the flags we want and name them
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/10 Inline reply:
What is this? I genuinely don't know what is this supposed to mean.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/4 floating reply box:
It works for now. Anything you want to say about it?
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/12 Themes:
I know most of you will use dark, but I like colgate. post your wanted themes.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/26 /GET/chan:
I'm not sure what's gonna happen to /GET/, but for now what do you want to see comrades? Should we have on the top bar or the sidebar? Should we include it here or should we just link to getchan.net?
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/13 Archiving threads:
I don't think this is coming anytime soon, but in the meantime let's see how should this be done. What archiving service should we use? archive.is or archive.org or something else?
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/3 Filetypes:
I'm not sure if you want support for anything other than books and videos. If there is a format you wish to be supported please say so.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/11 Anonymous 2020-12-25 (Fri) 01:32:20 No. 1142
>>1136 >>1129 >>1134 i just told you that reporting is broken in lainchan. go try reporting a post right now. if that isn't enough to convince you that vichan is better, i don't know what will.
FSLNanon Anonymous 2020-12-25 (Fri) 01:53:16 No. 1143
Two things: 1)Board is better with dark theme, good job 2) Sidebar color does not change with the theme and the result is hideous 3) I think we should invite /GET/ people down here
Anonymous 2020-12-25 (Fri) 02:51:34 No. 1144
>>1142 the amount needed to fix lainchan reporting is infinitely less than switching software entirely
Anonymous 2020-12-25 (Fri) 02:52:38 No. 1145
>>1143 2) dont use sidebar. i dont. just go directly to leftypol.org/leftypol
3) thats their choice and AFAIK they decided to go back to their own site
Anonymous 2020-12-25 (Fri) 05:12:49 No. 1146
Please dull the names on Dark by default, looks like people are saging. They should be more like the topic header.
Anonymous 2020-12-25 (Fri) 05:40:34 No. 1148
Someone at
>>>/tech/6316 has started mobile support for leftypol. Please help them test it and provide feedback
Anonymous 2020-12-25 (Fri) 05:46:01 No. 1149
>>1147 Yes do do that your post looks like another type of sage. Hell it looks more like a normal post than default.
can't see shit Anonymous 2020-12-25 (Fri) 06:05:59 No. 1150
>>1146 the subject line is far too dark, brighten that first
Anonymous 2020-12-25 (Fri) 07:06:18 No. 1151
>>1150 The current situation is crazy though, looks like everyone is saging every post.
Anonymous 2020-12-25 (Fri) 12:07:44 No. 1153
Add the ability to save files with the original name like on 8chan
Anonymous 2020-12-25 (Fri) 14:51:16 No. 1155
The catalog puts threads in whatever order it finds them in recent_posts.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/f37be95547268a466eb0a3714f7a76bea165ecf3/templates/themes/catalog/catalog.html#L49 > {% for post in recent_posts %} recent_posts is set by the Catalog class' build method.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/f37be95547268a466eb0a3714f7a76bea165ecf3/templates/themes/catalog/theme.php#L319 > $recent_posts = $this->generateRecentPosts($threads); generateRecentPosts uses whatever order it finds in $threads.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/f37be95547268a466eb0a3714f7a76bea165ecf3/templates/themes/catalog/theme.php#L339 > foreach ($threads as $post) { $threads is set by the Catalog class' build method with a query that mandates bump order.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/f37be95547268a466eb0a3714f7a76bea165ecf3/templates/themes/catalog/theme.php#L310 > $query = query($sql . ' ORDER BY `bump` DESC') or error(db_error()); So sticky is ignored in the non-JS catalog. By contrast the index order is based on a sticky query.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/f37be95547268a466eb0a3714f7a76bea165ecf3/inc/functions.php#L1335 > $query = prepare(sprintf("SELECT * FROM ``posts_%s`` WHERE `thread` IS NULL ORDER BY `sticky` DESC, `bump` DESC LIMIT :offset,:threads_per_page", $board['uri'])); If sticky is desired in the non-JS catalog
>>1025 its ORDER BY clause can be adjusted to that of the index query.
Anonymous 2020-12-25 (Fri) 15:12:59 No. 1156
Anonymous 2020-12-25 (Fri) 15:17:29 No. 1157
You need to get an onion address to be able to compete Also the default Light theme is really annoying for my already sore quarantine eyes
Anonymous 2020-12-25 (Fri) 15:59:57 No. 1158
Anybody know the pph of this site?
Anonymous 2020-12-25 (Fri) 16:17:13 No. 1159
>>1157 >You need to get an onion address to be able to compete yeah nothing like some CP to get banned for
Anonymous 2020-12-25 (Fri) 16:39:44 No. 1160
>>1159 t. Know Jackshitingson
Tor isn't illegal if that's what your scared ass believed. Though being a communist in many jurisdictions is (in how you're targeted).
Anonymous 2020-12-25 (Fri) 17:37:48 No. 1161
>>1160 You can already post here using tor, just thru an exit node
Anonymous 2020-12-25 (Fri) 17:54:29 No. 1162
Why r9k mode on I want to spam wojaks
Anonymous 2020-12-25 (Fri) 18:21:07 No. 1163
>>1162 It's not clear how to deactivate it. We will look into it.
Anonymous 2020-12-25 (Fri) 18:39:55 No. 1164
can we not post mp4s or webms?
Anonymous 2020-12-25 (Fri) 19:11:39 No. 1166
>>1161 Yes I know. I'm just saying that an onion server was a long awaited feature on bunkerchan and I think it's extremely unfortunate that it seems to have come out in this under-handed "seee?? we've got the onion server now tho!" way on Space_'s side just as the long awaited mod uprising took place.
I've always been pro-onion server AND pro-mod uprising. I just anticipated that the onion server would come WITH the second, and now it at least appears to be a little of an arms-war, but judging by the weakened state Space_'s domain is in I'd say we could easily catch up.
Anonymous 2020-12-25 (Fri) 22:19:35 No. 1167
>>31466 Test
MY EYES 2020-12-26 (Sat) 00:21:37 No. 1168
Noscript user here and PLEASE change the default theme
Anonymous 2020-12-26 (Sat) 00:40:54 No. 1169
The Bunkechan onion just went online again, this time it appears successfully:
http://nk6ceeffxhsa7qesgv37iux44lhwsvr522z2vb3eg55qtqaci4zdreid.onion/ Please consider the baller move of matching it.
Anonymous 2020-12-26 (Sat) 00:41:34 No. 1170
A little button at the bottom of thread pages for refreshing the page, please. This is trivial to implement, too!
>>904 >rename /b/ to "random" hard no, keep board names as short as possible. /v/, /a/, etc. /edu/ and /ent/ are fine too.
Anonymous 2020-12-26 (Sat) 00:44:59 No. 1171
Could staff come together at some point and figure out what they want from the community? To help things along or just generally add flare. Graphics, board themes (CSS and such), a foot massage, you name it.
Anonymous 2020-12-26 (Sat) 00:45:45 No. 1172
>>1169 The Space_ Race begins
Anonymous 2020-12-26 (Sat) 01:09:31 No. 1173
>>1172 >>1169 do we really want onion traffic?
Anonymous 2020-12-26 (Sat) 01:16:56 No. 1176
>>1175 link the CSS of that? is that just 'dark red'? or is it a custom theme?
Anonymous 2020-12-26 (Sat) 01:17:20 No. 1177
>>1155 is that the chick from cowboy bebop
Anonymous 2020-12-26 (Sat) 01:45:39 No. 1179
>>1178 dev here- tried using that on my local and it doesn't change the sidebar. is that ok?
Anonymous 2020-12-26 (Sat) 01:48:41 No. 1180
>>1179 I didn't change the side bar because I don't know how to change the side bar. So yes it's supposed to be that way.
Anonymous 2020-12-26 (Sat) 01:50:31 No. 1181
>>1173 >do we really want onion traffic? Onion traffic = based revolutionary guerilla blog posts and occasional spam.
Yes we want onion traffic.
Anonymous 2020-12-26 (Sat) 01:51:16 No. 1182
>>1174 Basically yeah.
>>1175 Cool palette.
Anonymous 2020-12-26 (Sat) 02:40:53 No. 1185
>>1184 As long as we have rules that dissuade them we're fine.
Anonymous 2020-12-26 (Sat) 03:42:22 No. 1186
>>1009 I'm gonna
NEED you to repost that Mommy Yo Jong image in full resolution please
Anonymous 2020-12-26 (Sat) 04:06:24 No. 1187
>>1186 Error
An error has occured.
That file already exists!
Go back
Janny retards won't turn off R9K
Anonymous 2020-12-26 (Sat) 04:08:43 No. 1188
>>1187 If its already posted you can link to where it is
Anonymous 2020-12-26 (Sat) 04:13:31 No. 1189
>>1177 Yes. Faye Valentine. Have you updated the order by clause?
Anonymous 2020-12-26 (Sat) 05:07:39 No. 1190
>>923 oh fuck it works here? Alright I'm convinced, I'm leaving bunkerchan
Anonymous 2020-12-26 (Sat) 06:02:20 No. 1192
>>1189 order by clause is getting fixed soon, waiting on a PR from zer0
Anonymous 2020-12-26 (Sat) 06:22:28 No. 1193
>>1192 looks like it got merged it, hello catalog!
Anonymous 2020-12-26 (Sat) 06:28:09 No. 1194
>>909 You also need to remember to save images in archive.is separately. Otherwise they don't get saved at fullresolution in the archived page.
Anonymous 2020-12-26 (Sat) 06:31:04 No. 1195
>>1194 does archive.is or archive.org even have an api?
Anonymous 2020-12-26 (Sat) 06:34:21 No. 1196
>>903 Nice numbers
As a side note, it would be nice if you could update the /hobby/ and /anime/ board threads again, because I had no fucking idea about this split and have been actively posting on those boards and thus posting new content that does not exist on the current boards here, despite my older posts and threads being up; An example would be the FMA thread and Communist Leftist Anime threads or the Harry Potter and Star Wars threads, as well as the ATLA thread, which recently featured a lengthy debate on Aang's ethics and was a serious discussion.
Also the transfer of threads from bunkerchan to here was done without spoilers, so a lot of spoiled pics are unspoilered… such as my post on Boruto Chapter 52, (the excerpt on Nuclear Fusion) as those are serious manga spoilers.
Anonymous 2020-12-26 (Sat) 06:38:06 No. 1197
>>1195 If you save the image url in archive.is, then it will be at full resolution in the archived thread and thus be saved. As you see with any 8ch.net thread saved on wayback.org. No archive has an effective image saver, it's too much of a load on the archiving system to do so.
Anonymous 2020-12-26 (Sat) 06:38:28 No. 1198
>>1196 We will be discussing it (publicly with the userbase) in the next few days on what to do with the Alt-boards and the old threads. Bear with us right now it's a little hectic and many of us have had little sleep.
Anonymous 2020-12-26 (Sat) 06:39:33 No. 1199
>>1198 And don't hesitate to use the new and shiny
>>>/meta/ !
Anonymous 2020-12-26 (Sat) 06:41:48 No. 1200
>>1196 Also the orange text didn't transfer, the <-sign turned into an &-sign many times in many, MANY threads
Anonymous 2020-12-26 (Sat) 11:43:25 No. 1203
>>1192 >>31687
Thanks. It works now. Since it's an easy fix, how about enabling spoilers
>>1083 as well?
Anonymous 2020-12-26 (Sat) 14:37:36 No. 1205
The second post quote of
>>1203 was not recognized due to the regexp used in:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/64103eb6fc743d8c76496c41edac2901efb67c6d/inc/functions.php#L2020 > if (isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.)?]|$)/m', $body, $cites, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) { which consumes the space after a post quote, instead of merely checking that it's there. As a result textually consecutive post quotes, which the source calls cites, cannot be separated by a single space. The solution is to use a lookahead assertion instead, which keeps the space available as the prefix of the next post quote. And since post quotes are allowed at the end of a question, it doesn't seem fair to discriminate against exclamations.
> if (isset($board) && preg_match_all('/(^|\s)>>(\d+?)((?=[\s,.)?!])|$)/m', $body, $cites, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) { The same problem exists for "Cross-board linking":
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/64103eb6fc743d8c76496c41edac2901efb67c6d/inc/functions.php#L2070 > if (preg_match_all('/(^|\s)>>>\/(' . $config['board_regex'] . 'f?)\/(\d+)?([\s,.)?]|$)/um', $body, $cites, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) { and the same solution applies.
currently:
- one space: >>1 >>2
- two spaces: >>3 >>4
Assertions:
https://www.php.net/manual/en/regexp.reference.assertions.php Anonymous 2020-12-26 (Sat) 14:39:06 No. 1206
Alright, the posts need to exist. - one space: >>1 >>1 - two spaces: >>1 >>1
Anonymous 2020-12-26 (Sat) 14:56:55 No. 1207
To add the orange quotes of issue #31 look at the green quote line:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/64103eb6fc743d8c76496c41edac2901efb67c6d/inc/functions.php#L2208 > $body = preg_replace("/^\s*>.*$/m", '<span class="quote">$0</span>', $body); and add a new line after it:
> $body = preg_replace("/^\s*<.*$/m", '<span class="orangequote">$0</span>', $body); then add whatever styling you want to a span.orangequote css rule in the same way as for span.quote, e.g.:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/64103eb6fc743d8c76496c41edac2901efb67c6d/stylesheets/dark_red.css#L8 Anonymous 2020-12-26 (Sat) 15:48:17 No. 1208
So fucking hard to phonefag in this site
Anonymous 2020-12-26 (Sat) 15:57:46 No. 1209
>>1208 yeah I don't see thread links to save
Anonymous 2020-12-26 (Sat) 16:02:40 No. 1210
Can we get an [ Update ] button at the bottom? I don't care if it amounts to an F5 either, I just constantly try to reach for it.
Anonymous 2020-12-26 (Sat) 16:03:42 No. 1211
>>1203 I think the ** spoilers work just fine
spoiler Anonymous 2020-12-26 (Sat) 18:12:52 No. 1216
>>31854 Anon with all this shit why don’t you submit a PR Yourself? Would probably be faster than asking the jannies to do it
Anonymous 2020-12-26 (Sat) 18:24:49 No. 1217
>>1203 i thought spoilers worked?
like this Anonymous 2020-12-26 (Sat) 18:26:00 No. 1218
>>1205 is the second post the correct line?
Anonymous 2020-12-26 (Sat) 19:49:10 No. 1219
can't underline muh words
Anonymous 2020-12-26 (Sat) 19:56:08 No. 1220
>>1219 was that a feature in 8ch or any imageboard? never seen it
Anonymous 2020-12-26 (Sat) 21:02:22 No. 1221
>>1220 I think it was lynxchan specific.
Anonymous 2020-12-26 (Sat) 21:30:46 No. 1223
>>1164 See
>>>/anime/5637 >>1211 >>1217 That refers to the 'Spoiler Image' checkbox in the post form. Example:
>>>/anime/5632 NSFW. The fix:
>>1083 >>1216 I don't want my github account associated with anything even remotely connected to anime, and making a burner account for a few small fixes is too much hassle.
>>1218 The
> if (isset($board) && preg_match_all('/(^|\s)>>(\d+?)((?=[\s,.)?!])|$)/m', $body, $cites, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) { line is the fix for "Cites". The same change from
> ([\s,.)?]|$) to
> ((?=[\s,.)?!])|$) fixes "Cross-board linking", so the fixed "Cross-board linking" line is:
> if (preg_match_all('/(^|\s)>>>\/(' . $config['board_regex'] . 'f?)\/(\d+)?((?=[\s,.)?!])|$)/um', $body, $cites, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) { Anonymous 2020-12-26 (Sat) 21:30:48 No. 1224
I want to be able to hide threads I don't like. I've used this feature back at bunkerchan to hide the chinlet autism from ruining my experience.
Anonymous 2020-12-26 (Sat) 21:33:18 No. 1225
>>1224 (checked)
What I mean by this is I use the catalog, and I want to be able to hide threads through there without having to find the page number. Also worth noting is that I want to be able to see the page number of the post.
Anonymous 2020-12-26 (Sat) 22:39:48 No. 1227
>>1221 >>1223 >>1222 testing triple quote
Anonymous 2020-12-26 (Sat) 22:40:25 No. 1228
testing crossboard quote
>>1164 >>>/anime/5637 Anonymous 2020-12-26 (Sat) 23:34:52 No. 1229
Dropping to say that whenever we get updated board software or whatever I'd really appreciate the ability to see the PPH and unique IPs on each board like on flunkerchan
Anonymous 2020-12-26 (Sat) 23:37:16 No. 1230
>>1228 >>1227 such nice tests
Anonymous 2020-12-26 (Sat) 23:57:08 No. 1231
To add underlining for issue #37 look at the spoiler markup line:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/64103eb6fc743d8c76496c41edac2901efb67c6d/inc/config.php#L659 > $config['markup'][] = array("/\*\*(.+?)\*\*/", "<span class=\"spoiler\">\$1</span>"); then add a new line with:
> $config['markup'][] = array("/(.+?) /", "<span class=\"underline\">\$1</span>"); then add
> text-decoration: underline; in a span.underline css rule to whichever stylesheet you want, e.g.:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/64103eb6fc743d8c76496c41edac2901efb67c6d/stylesheets/style.css#L606 orange quotes:
>>1207 >>1226 Thanks.
Anonymous 2020-12-27 (Sun) 00:31:33 No. 1232
>>1078 not sure which commit fixed it but I can confirm that I can post with icecat. THX BASED TECHNONS
Anonymous 2020-12-27 (Sun) 02:31:45 No. 1234
If mods added a hidden /test/ board for testing the mobile app and site changes, that would be based
Anonymous 2020-12-27 (Sun) 03:19:28 No. 1235
test again are we down?
Anonymous 2020-12-27 (Sun) 03:56:41 No. 1237
>>1235 >>1236 we are down for now. the domain is currently not working but the tech team is working on is as fast as they can
Anonymous 2020-12-27 (Sun) 05:31:18 No. 1238
Please make the server more lenient to slow connections. I have a 512 kbps 3G connection with an absurd amount of lag. This new server is too impatient with me, timeouts too fast and cuts off long threads. Static content loads fine. So please significantly increase the php / fcgi / nginx proxy timeout. I know it's bad for DDOS but please think of your third world comrades.
Anonymous 2020-12-27 (Sun) 05:45:48 No. 1239
>>903 >using a fork of a dead fork of a dead fork of a dead fork instead of glorious JSchan powered by Aussie shitposts For real, not only JSchan is under active development (unlike with 99% of the vichan forks), but in its current state is much better than vichan and Lynxchan combined.
>totally functional without Javascript >fast as fuck because it only loads new elements instead of reloading the entire page >uses websockets to display new posts as soon as they're made instead of using a timer (you still can use a timer if you want) >looks great on phones (unlike Lynxshit) >looks great in general (unlike Lynxshit) >has a logs page that doesn't give AIDS (unlike Lynxshit) >has a chess-like captcha that filters out retards (the classic 6-char captcha can be used as well) >dozens of cool themes, including one inspired in Windows 95 >easy as fuck board creation >supports multiple formats >supports multiple files per post >multiple post styling options (similar to Lynxchan's) >compatible with Tor (can run as a hidden service) >can report and delete multiple posts with one click (useful against spam) >dozens of anti-spam features >has a JSON API >overboard with a catalog view >thumbnails have a nice loading bar >audio files use waveforms as thumbnails >optional desktop notifications >(You)s >regex filters >various other options Seriously, give it a check:
https://gitgud.io/fatchan/jschan/ Anonymous 2020-12-27 (Sun) 05:54:43 No. 1240
>>1239 from their website:
>Please note: jschan is not production-ready. There may be bugs and WILL be breaking changes. If you insist on running your own instance, do not expect help when something breaks. Please read everything including the update section thoroughly. These instructions are NOT step-by-step or complete, and assume you have some experience with software setup, servers, networking, etc. soooo.. not ready yet
Anonymous 2020-12-27 (Sun) 06:04:02 No. 1241
>>1239 >>has a chess-like captcha that filters out retards (the classic 6-char captcha can be used as well) i just tried that shit. you weren't joking. what the fuck is that. I can't imagine doing that for each post, breaks your balls
Anonymous 2020-12-27 (Sun) 06:20:27 No. 1242
Linking filtering suggestions: >>32162 Also, the overboard is broken ;)
Anonymous 2020-12-27 (Sun) 06:55:32 No. 1243
>>1238 (me)
Nevermind, my ISP is acting out, it's not your fault.
Anonymous 2020-12-27 (Sun) 06:59:55 No. 1244
>>1238 (me)
Nevermind, my ISP is acting out, it's not your fault.
Anonymous 2020-12-27 (Sun) 07:03:02 No. 1245
>github why not something like disroot.org or (best of all) self-hosting a Gitea instance? Github.com is M$ corporate surveillance and, once we get settled, should be discouraged.It would be excellent if we could get useful services like polls and pastebins self-hosted, like snopyta, disroot and other libreho.st style websites do, to help move people away from google/microsoft/facebook-infested services like strawpoll that are no more useful than free ones. (I wouldn't do anything private like emails though, since this site has obvious adversaries.)
Anonymous 2020-12-27 (Sun) 07:13:09 No. 1246
>>992 I get that it may be a joke, but IIRC you can pay him hourly for tech support on vichan (which this is a fork of)
However I suspect he want to
have a Fillipino caretaker wash his hands from the imageboard whole mess and work on font software.
Anonymous 2020-12-27 (Sun) 10:04:26 No. 1247
Ok so when I type in leftypol.org in my browser, there's a start page and a sidebar on the left. If I click on "Leftist politics" in the sidebar I'm taken to /leftypol/ (while the sidebar remains), but the url at the top of my browser window still only says leftypol.org and not leftypol.org/leftypol or something like that. I click on a thread and the url still says only leftypol.org. This seems like a strange way for a website to behave. Why is it like this?
Anonymous 2020-12-27 (Sun) 10:44:31 No. 1248
>>1247 there's nothing secret in the source code so to a certain extent it doesn't matter. Plus github has lots of integrations and tools built in
>>1247 yes the DNS is broken
Anonymous 2020-12-27 (Sun) 17:10:35 No. 1250
>>1247 >Why is it like this? The sidebar is implemented with HTML frames. Back in the 00s every website had this annoying behaviour, so the web collectively decided that frames suck and nobody should use them ever again. Apparently tinyboard did not get the news.
Anonymous 2020-12-27 (Sun) 17:52:34 No. 1251
>>1245 Github's the easiest choice for now. We might migrate later.
Anonymous 2020-12-27 (Sun) 18:15:53 No. 1252
If you hate the sidebar Please start writing html to replace it
Anonymous 2020-12-27 (Sun) 19:15:55 No. 1253
EXPECT DOWNTIME like right now.
Anonymous 2020-12-27 (Sun) 19:35:34 No. 1254
>>1240 That warning means nothing and only exists as a way to tell people that the software is under continuous development as opposite of having "stable releases" like other frameworks. The software is stable enough to be used without problem, and despite what the warning says the dev actually listens to your feedback when something is bugged or broken.
>>1241 You only need to use your brain for 10 seconds. The FAQ includes a detailed explanation as well:
>Select the boxes that correspond to each solid/filled icon in the grid. The image is shuffled and distorted, so use your brain. Junk around the edges is not included. See this example (red lines added for illustrative purposes): Anonymous 2020-12-27 (Sun) 21:45:12 No. 1255
The reason the spoiler image fails to show in this test
>>>/anime/5652 is the img.src with two leading slashes:
> src="//static/spoiler.png" A further hint is the lack of image dimensions:
> style="width:px;height:px" The src attribute is this concatenation:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/3612790a51496ac1209833c8a9b597f04dcc5f25/templates/post/image.html#L37 > {{ config.root }}{{ config.spoiler_image }} The $config['root'] should end in a slash:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/3612790a51496ac1209833c8a9b597f04dcc5f25/inc/config.php#L1167 > // The root directory, including the trailing slash, for Tinyboard. and in leftypol it does:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/3612790a51496ac1209833c8a9b597f04dcc5f25/inc/instance-config.php#L84 > $config['root'] = '/'; This means that $config['spoiler_image'] should not start with a slash, and it does not start with one in vichan:
https://github.com/vichan-devel/vichan/blob/d6d10829918f5354f7cbc3bc942547d79ac1f245/inc/config.php#L818 > $config['spoiler_image'] = 'static/spoiler.png'; while in leftypol a leading slash appears:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/3612790a51496ac1209833c8a9b597f04dcc5f25/inc/config.php#L797 > $config['spoiler_image'] = '/static/spoiler.png'; According to git log the commit that added the extra slash is:
> Author: Benjamin Southall <[email protected] > > Date: Fri Mar 3 12:26:00 2017 +0900 https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/f758139c8714244755ee2c5167ff761f9086395b This is why the spoiler image gets two slashes in its src attribute and fails to show. The reason it does show on the main lainchan instance, which runs in a jail:
https://lainchan.org/test/res/528.html#1240 is that their instance-config.php, which is not on github, sets $config['root'] to the empty string, which goes against the config.php documentation for $config['root'].
The correct solution for leftypol is to remove the leading slash from $config['spoiler_image']. The same chain of reasoning applies to $config['image_deleted'], which should also drop the leading slash.
And let's try to keep this thread as clean and focused as possible. Generic feedback can go into >>30356.
Anonymous 2020-12-27 (Sun) 23:11:58 No. 1256
>>1255 https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/39 your spoiler image was fixed in instance-config, which overrides config since the devs have made the choice to leave config alone.
see bottom commits
Anonymous 2020-12-28 (Mon) 02:18:59 No. 1257
>>1256 Thanks. Both src and style are now correct:
>>>/anime/5653 Anonymous 2020-12-28 (Mon) 03:30:08 No. 1258
>>903 >I was one of the minor jannies on old bunkerchan and now a member of the tech team here. Uphold the revolution! Space_ squanders the potential of his workers! Unleash the productive forces of /leftypol/!
Anonymous 2020-12-28 (Mon) 05:26:01 No. 1259
Post reporting appears to be broken.
Anonymous 2020-12-28 (Mon) 13:04:02 No. 1261
>>903 Are pdf thumbnails on the plans? Or will we be sticking with the paper clip thumbnail? Asking for the development of the mobile app
Anonymous 2020-12-28 (Mon) 14:43:18 No. 1263
>>1262 I tried splitting my post into smaller chunk in this thread
https://leftypol.org/leftypol/res/31976.html but still getting the same error :/
Anonymous 2020-12-28 (Mon) 14:47:06 No. 1264
>>1263 I have no idea but I've seen your responses. Now they are gone.
Anonymous 2020-12-28 (Mon) 14:50:54 No. 1265
>>1264 >>1263 This is wacky, I can see these in the mod view but not in the normal view.
Anonymous 2020-12-28 (Mon) 14:57:04 No. 1266
>>1265 Hopefully you guys can fix the situation, I spent some time making that post ;_; I even had to rewrite it when it messed up the first time and I didn't copy it before hand
Anonymous 2020-12-28 (Mon) 15:12:30 No. 1267
>>1262 The workaround until this is fixed is to remove punctuation marks until it goes through. Its a punctuation mark that triggers this.
Anonymous 2020-12-28 (Mon) 15:15:55 No. 1268
>>1266 https://pastebin.com/WbTkv9xt This is a pastebin from mod view of one of the posts
Anonymous 2020-12-28 (Mon) 15:20:59 No. 1270
>>1267 Or other special characters
Anonymous 2020-12-28 (Mon) 15:22:00 No. 1271
>>1267 which punctuation mark?
Anonymous 2020-12-28 (Mon) 15:26:27 No. 1272
>>1267 Ah I see
>>1269 thanks for the pastebin link, I'll just respond to him with the link
FSLNanon 2020-12-28 (Mon) 15:27:52 No. 1273
Please add possibility to delete posts
Anonymous 2020-12-28 (Mon) 15:30:41 No. 1274
>>1273 We are working on it.
>>1266 Please bear with us, the tech team has been informed, however they will only be available later today.
Anonymous 2020-12-28 (Mon) 15:30:51 No. 1275
>>1273 yeah I just checked the thread I posted and it seemed to have spammed my posts
Anonymous 2020-12-28 (Mon) 15:33:48 No. 1276
>>1275 It seems they appeared after one post got through.
Anonymous 2020-12-28 (Mon) 15:45:44 No. 1277
>>1273 You're able to do this. Check the checkbox next to your post and press delete at the bottom of the page
FSLNanon 2020-12-28 (Mon) 17:27:31 No. 1278
>>1277 Oh shit thanks alot.
This board just lacks flag to be perfect then.
Anonymous 2020-12-28 (Mon) 18:58:25 No. 1279
’
Anonymous 2020-12-28 (Mon) 21:11:41 No. 1280
Will mods make a dark theme and make it default? I feel like it sets us apart from the other imageboards
Anonymous ## Mod 2020-12-28 (Mon) 22:13:23 No. 1281
>>1280 It will be implemented asap.
Anonymous 2020-12-29 (Tue) 00:36:46 No. 1282
There are problems when posting while using certain characters.
Anonymous 2020-12-29 (Tue) 00:40:00 No. 1283
>>32858 く
Anonymous 2020-12-29 (Tue) 00:47:06 No. 1284
>>1282 Specifically, this occurs if katakana, for example, are used in the post body.
>iconv(): Unknown error (84) in /srv/http/lainchan.leftypol.org/inc/functions.php at line 2720 Anonymous 2020-12-29 (Tue) 01:55:40 No. 1285
>>1284 this is already an option look in the bottom right of the screen you can choose a dark theme
Anonymous 2020-12-29 (Tue) 08:00:35 No. 1288
>>1286 I like it. I would prefer the box be 80% width placed in the center rather than full width, but that's personal taste.
What if the blue/purple accents were made red?
Anonymous 2020-12-29 (Tue) 08:49:53 No. 1289
>>1286 Love it. Only needs a link to GETchan
Anonymous 2020-12-29 (Tue) 09:52:31 No. 1290
>new themes enabled amg gaiz
FSLNanon 2020-12-29 (Tue) 10:06:11 No. 1291
>>1286 Very nice.
We should find something to fill that [news] gap though
Anonymous 2020-12-29 (Tue) 11:28:16 No. 1292
>>1286 kinda feel like the text boxes need to be smaller and either centered or off to the side. them being that wide just looks a bit off.
workaround Anonymous 2020-12-29 (Tue) 12:29:54 No. 1293
You can get posts with non-ASCII bodies to go through cleanly
>>1014 by putting "workaround" into the Subject field, or any other non-empty and completely ASCII string. This makes slugify() use the subject and leave the body alone.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/27cfc70a57737f2fbb620b9543d688a80c0ac48a/inc/functions.php#L2709 ❤
失楽園 渡辺 淳一
Anonymous 2020-12-29 (Tue) 18:21:08 No. 1294
Great job.
Anonymous 2020-12-29 (Tue) 20:25:55 No. 1295
>>1281 nice thank you
>>1286 a beaut she is, but i agree with
>>1288 that the purple accents would look better in red or white
Anonymous 2020-12-29 (Tue) 22:09:55 No. 1298
>>1297 I like the layout and theme a lot more, but personally I'd prefer a list over the grid of buttons, at least for our boards.
Anonymous 2020-12-29 (Tue) 22:22:42 No. 1299
>>1297 ooo fancy
also, are there plans for an onion link ?
FSLNanon 2020-12-29 (Tue) 22:28:48 No. 1300
>>1297 This is fucking based ngl
FSLNanon 2020-12-29 (Tue) 22:29:10 No. 1301
>>1300 Also, any possibility of adding flags?
Anonymous 2020-12-29 (Tue) 22:34:33 No. 1302
>>1301 Of course, we are working on it. Please bear with us, there's so much the tech team can work on at the same time.
Anonymous ## Mod 2020-12-29 (Tue) 22:48:26 No. 1305
Iframes have been removed from the homepage. The side bar will no longer "follow" you when you click on a board from the home page. We are of course still working on a new home page as you can see here
>>1297 or >>33088
Anonymous ## Mod 2020-12-29 (Tue) 23:47:27 No. 1309
If anyone wants to inspire the devs, draw a sketch of the homepage you'd like to see and post the result.
https://sketch.io/sketchpad/ Anonymous 2020-12-30 (Wed) 00:15:24 No. 1313
>>1303 Is this data collected using a JS script or just plain page requests? Want to know if the mobile app traffic is being included
Anonymous 2020-12-30 (Wed) 00:23:31 No. 1314
>>1313 This is just from cloudflare, so this is http requests.
Anonymous 2020-12-30 (Wed) 01:03:44 No. 1318
>>1306 https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/9934d4c178de2f27ea0283b4a28624ebd4bdf3d7/inc/lib/webm/ffmpeg.php#L32 >} elseif ($extension === 'mp4' || stristr($ffprobe_out['format']['format_name'], 'mp4')) { > if ($ffprobe_out['streams'][0]['codec_name'] != 'h264' && $ffprobe_out['streams'][1]['codec_name'] != 'aac') > return array('code' => 2, 'msg' => $config['error']['invalidwebm']."error 2"); Get_webm_info also makes this assumption.
Anonymous 2020-12-30 (Wed) 01:19:15 No. 1320
$ ffprobe -v quiet -print_format json -show_format -show_streams 1609284326207.mp4 { "streams": [ { "index": 0, "codec_name": "h264", "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", "profile": "Main", "codec_type": "video", "codec_time_base": "1001/60000", "codec_tag_string": "avc1", "codec_tag": "0x31637661", "width": 854, "height": 480, "coded_width": 854, "coded_height": 480, "has_b_frames": 2, "sample_aspect_ratio": "1:1", "display_aspect_ratio": "427:240", "pix_fmt": "yuv420p", "level": 31, "color_range": "tv", "chroma_location": "left", "refs": 1, "is_avc": "true", "nal_length_size": "4", "r_frame_rate": "30000/1001", "avg_frame_rate": "30000/1001", "time_base": "1/30000", "start_pts": 990, "start_time": "0.033000", "duration_ts": 236250, "duration": "7.875000", "bit_rate": "1592969", "bits_per_raw_sample": "8", "nb_frames": "236", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "language": "eng", "handler_name": "Video Media Handler" } }, { "index": 1, "codec_name": "aac", "codec_long_name": "AAC (Advanced Audio Coding)", "profile": "LC", "codec_type": "audio", "codec_time_base": "1/48000", "codec_tag_string": "mp4a", "codec_tag": "0x6134706d", "sample_fmt": "fltp", "sample_rate": "48000", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/48000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 375840, "duration": "7.830000", "bit_rate": "128010", "max_bit_rate": "128010", "nb_frames": "367", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "language": "eng", "handler_name": "Sound Media Handler" } } ], "format": { "filename": "1609284326207.mp4", "nb_streams": 2, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.000000", "duration": "7.842000", "size": "1703266", "bit_rate": "1737583", "probe_score": 100, "tags": { "major_brand": "isom", "minor_version": "512", "compatible_brands": "isomiso2avc1mp41", "encoder": "Lavf58.45.100" } } } "codec_type" is "audio" or "video" and should be used instead of 'codec_name' to locate the first video and optional first audio stream.
Caballo 2020-12-30 (Wed) 01:28:06 No. 1322
>>1321 My vote is for this one!
Anonymous 2020-12-30 (Wed) 01:36:42 No. 1323
>>1318 >>1320 Could you contribute code? I have no deep knowledge of ffmpeg, and I don't think we'll be able to get to this soon.
Anonymous 2020-12-30 (Wed) 01:52:40 No. 1324
>>1323 I can propose some code but I have no way of testing it on your server, so the downside compared to one of the tech team writing it is that it may have to go through several rounds of fixes. The problem itself is not difficult, only the logistics.
Anonymous 2020-12-30 (Wed) 01:56:40 No. 1325
>>1324 If it's simple, you could post it so that it can be added to the issue on GitHub. So that when it is worked on, it takes less time to implement.
Anonymous 2020-12-30 (Wed) 06:00:43 No. 1326
>>1304 these are pretty horrible stats ngl
Anonymous 2020-12-30 (Wed) 06:31:37 No. 1327
>>1326 Gayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.
I mean, or zero-day was, like, not even a week ago.
Anonymous 2020-12-30 (Wed) 06:36:10 No. 1328
You don't need to look at cloudfare, you can see from the bunkers stats that they've lost about ~100 active posters. This site is still in beta as well.
Anonymous 2020-12-30 (Wed) 06:54:11 No. 1329
test
Anonymous 2020-12-30 (Wed) 06:55:06 No. 1330
test
Anonymous 2020-12-30 (Wed) 09:16:26 No. 1331
>>1328 100 active posters from the ~600 they had is still like 500 active posters
Anonymous 2020-12-30 (Wed) 09:28:07 No. 1332
>>1331 This is false. The actual numbers they average is more around 450.
Furhtermore, lurkers do not count. You can have 1000 people looking but if no one is posting then you might as well not even be keeping count. FAce it, you faggots are done. Fuck space.
Anonymous 2020-12-30 (Wed) 12:28:36 No. 1333
>>1307 this is really good. not sure about the top part: why white text? why no spaces b/w boards?
Anonymous 2020-12-30 (Wed) 12:29:27 No. 1334
>>1316 I like the background, not sure the dark theme goes well with it tho
Anonymous 2020-12-30 (Wed) 12:30:43 No. 1335
>>1317 >2nd pic how about a transparency effect for the star behind the boxes? Make it a few shades darker behind the boxes, maybe?
Anonymous 2020-12-30 (Wed) 12:49:48 No. 1337
>>1323 >>1325 Here is some code that locates tracks by type and allows audio before video.
>>1306 #63
http://0x0.st/-rO5.txt The checks that didn't involve a hardcoded track order were left alone. Don't expect this to work with an ancient ffprobe.
Anonymous 2020-12-30 (Wed) 12:54:23 No. 1338
A separate bug/tech thread would be very useful, since the> technical issues ONLY in the OP is completely ignored.
Anonymous 2020-12-30 (Wed) 14:45:46 No. 1340
Refresh button and auto-refresh when? I thought that came stock standard with every imageboard boilerplate these days.
Anonymous ## Mod 2020-12-30 (Wed) 15:38:02 No. 1341
>>1340 Soon, we are working on it.
FSLNanon 2020-12-30 (Wed) 20:52:03 No. 1344
I'd say that with flags+ autoupdate the basic building phase of this place will be 100% complete. Props to the developers for the great progress done in 10 days!
Anonymous 2020-12-30 (Wed) 20:58:33 No. 1346
>>1345 this, a thousand times this
Anonymous 2020-12-30 (Wed) 21:57:14 No. 1347
>>1345 >>1345 This meme fills me with joy.
Anonymous 2020-12-30 (Wed) 23:19:41 No. 1349
>>1348 Thank you for your efforts
Anonymous 2020-12-30 (Wed) 23:28:35 No. 1350
>>1348 we have flags now? based
socialism Socialism Anonymous 2020-12-31 (Thu) 02:31:24 No. 1351
>>1332 the ips counted as active are posters AFAIK not lurkers
Anonymous 2020-12-31 (Thu) 03:02:39 No. 1352
>using poster numbers as a metric of life My homeboard of ~10 users has more OC and far less self-destruction then that den. It's not all about who has the highest number.
Anonymous 2020-12-31 (Thu) 03:39:53 No. 1353
Feature requests: allow anons to edit their own posts
Anonymous 2020-12-31 (Thu) 03:55:48 No. 1354
>>1353 no imageboard ever had that afaik, you would need a named account
Anonymous 2020-12-31 (Thu) 04:08:16 No. 1355
>>1354 it was possible on 8ch i believe
Anonymous 2020-12-31 (Thu) 04:56:40 No. 1356
>>1354 I think mlpol.net did, not certain.
>>1355 Mod spotted
Anonymous 2020-12-31 (Thu) 08:06:28 No. 1359
We didn't really have time to develop a nice dark theme from scratch, and people were complaining about unsolicited laser eye surgery from the yotsuba theme. Soo, the site's dark now.
Anonymous 2020-12-31 (Thu) 08:20:11 No. 1360
Welp the mods decided to make the dark theme the default. And they didn't wait to tweak it or anything. I think we should make >greentext actually green, and get rid of the shitty font for the title. Oh and add banners - how do we not have banners yet?
FSLNanon 2020-12-31 (Thu) 10:59:18 No. 1361
>>1358 YES YES YES
GODSPEED YOU BASED ANONS.
FSLNanon 2020-12-31 (Thu) 11:01:27 No. 1362
>>1361 OH SHIT WE HAVE FLAGS, EVEN MORE THAN BUNKERCHAN
YOU DID IT YOU GLORIOUS LEGENDS sandinista Sandinista Anonymous 2020-12-31 (Thu) 11:19:43 No. 1363
>>1362 >>1358 dont get excited it probably just gonna refresh the page, making an actual autorefresh would involve rewriting alot of javascript and making an api or something to serve the updated posts
Anonymous 2020-12-31 (Thu) 12:33:02 No. 1364
Wow I was gone for a few days and returned to some massive improvements! Good work comrades! So proud of you all!
The theme looks amazing, flags are numerous, onion* is up and running! Be sure to take a break now over New Years, you definitely deserve it.
* Bug-report:
http://wz6bnwwtwckltvkvji6vvgmjrfspr3lstz66rusvtczhsgvwdcixgbyd.onion/leftypol/ shows a "Connection not secure" warning, with the clarification "Parts of this page are not secure (such as images)", but this isn't show on all pages, for example when I opened this thread /ttg/ thread the error was gone, same as when I open webms in new tabs.
Anonymous 2020-12-31 (Thu) 13:03:36 No. 1365
>>1354 GETchan has it. No account needed
>>1363 Doesn't lainchan has an autorefresh setting? If not then you're right we will have to implement it.
ak-47 AK-47 Anonymous 2020-12-31 (Thu) 13:40:59 No. 1366
>>1363 Still a great improvement in any way shape or form.
Now the last thing to do is make some banners, but the core stuff is complete.
Your hard work and dedication to this has been remarkable, literally bringing this place on par with Bunkerchan in 10 days.
sandinista Sandinista Anonymous 2020-12-31 (Thu) 17:44:31 No. 1368
>>1364 > http://wz6bnwwtwckltvkvji6vvgmjrfspr3lstz66rusvtczhsgvwdcixgbyd.onion/leftypol/ shows a "Connection not secure" warning, with the clarification "Parts of this page are not secure (such as images)", but this isn't show on all pages, for example when I opened this thread /ttg/ thread the error was gone, same as when I open webms in new tabs. Okay I have an update on this bug report:
It appears only on pages with an embedded YouTube™ video. IIRC YouTube tracks with a script pages that embed their videos, kind of similar to the Facebook Like button on standard web pages, it also implements a script/tracker on the domains in question.
I advocate removing the support for the embed in the face of this.
Anonymous 2020-12-31 (Thu) 22:25:46 No. 1369
>>1364 Small issue but not sure if there's a fix: the leftypol.org Cloudflare 1020 Error page (HTTP 403) doesn't send the Onion-Location header, which is ironically the one place it's most useful. If it can't be added there, I suggest a workaround of specifying a custom 1XXX error page, mentioning the .onion link.
Anonymous 2020-12-31 (Thu) 22:27:21 No. 1370
>>1354 It probably works the same way (You)s work; cookies. No named account.
Anonymous 2021-01-01 (Fri) 00:31:06 No. 1371
If your organization blocks automatic font downloads before they have a chance of getting to you, and you see placeholder hex boxes instead of the U+F023 padlock and the U+F08D thumbtack, you can fix this client-side with:
[code]
.fa-lock::before { content: "locked"; }
.fa-thumb-tack::before { content: "sticky"; }
[/code]
orange quotes of issue #31
>>1207 underlining for issue #37
>>1231 track order for issue #63
>>1337 Anonymous 2021-01-01 (Fri) 01:01:51 No. 1372
>>1371 We're bringing custom client side js soon, so that anyone can add their own js.
Anonymous 2021-01-01 (Fri) 03:46:53 No. 1374
>>1373 lol no
put me in the screencap Anonymous 2021-01-01 (Fri) 03:48:04 No. 1375
>>1373 No. Go back. The competition is nice anyways gives us more time to innovate and stuff. Leftypol.org really had leaps of development in its short life.
Anonymous 2021-01-01 (Fri) 03:52:15 No. 1376
>>1373 False flagging already? Space must be scared
Anonymous 2021-01-01 (Fri) 04:10:19 No. 1377
>>1374 >>1375 >>1376 Two types of social contradictions - those between ourselves and the enemy (Space_ and his gang) and those among the people (average anons) themselves confront us. The two are totally different in their nature.
There is only on way, to resolve the the contradiction between ourselves and the enemy.
Anonymous 2021-01-01 (Fri) 04:11:26 No. 1378
>>1373 >>1377 Dangerously based.
Anonymous 2021-01-01 (Fri) 06:24:44 No. 1382
>>1373 >bunkerchan actually went down Is this you Space_ or has anyone here a big enough botnet to take on cloudflares DDOS protection?
Anonymous 2021-01-01 (Fri) 06:31:24 No. 1383
>>1382 The site was already down when he made that post.
Anonymous 2021-01-01 (Fri) 06:31:59 No. 1384
>anyone here a big enough botnet to take on cloudflares DDOS protection? Effectively 0 chance, and cloudflare isn't the part that failed. Gateway issue.>Is this you Space_ I'd say that's unlikely. This has happened a few times before in the last month or two, I honestly doubt it's anyone's intentional action. Plus I don't think it helps that /pol/ started raiding once they heard of the split.
Anonymous 2021-01-01 (Fri) 07:03:05 No. 1385
>>1381 thats a built in lainchan theme AFAIK the devs didnt make it they just enabled it in the config
Anonymous 2021-01-01 (Fri) 07:04:37 No. 1386
>>1382 the site was already down
>>1384 DDOS is not possible any more in the modern era of cloudflare except absolutely mammoth ddos attacks probably done by state actors.
Anonymous 2021-01-01 (Fri) 07:23:17 No. 1387
>>1386 We have the entire arsenal of Lord Soros at our disposal. Do not underestimate our power, bunkerfag.
Anonymous 2021-01-01 (Fri) 08:56:46 No. 1388
>>1381 >Can you just turn it off completely, plz? by that I mean the transparency effect
>>1385 still, an be tweaked, no?
Anonymous 2021-01-01 (Fri) 08:57:29 No. 1389
>>1388 yeah it can still be tweaked
Anonymous 2021-01-01 (Fri) 09:30:20 No. 1391
>>1390 edit to my post. Compromise could be the option on the user end to turn it on or off. Maybe add a gentoochan theme with no transparency?
Anonymous 2021-01-01 (Fri) 09:52:35 No. 1392
>>1391 maybe yeah… like a gentoo-solid
Anonymous 2021-01-01 (Fri) 12:48:47 No. 1394
>>1393 how would this be fixed
Anonymous 2021-01-01 (Fri) 15:57:59 No. 1396
I'm on mobile browser. I'd like a "go to bottom" button on the bottom bar like the "go to top" button that's already there. I'm aware that there's already such a button at the top of the thread, but it's inconvenient when you're in the middle of a very long thread and just want to go to the last posts immediately.
Anonymous 2021-01-01 (Fri) 16:01:14 No. 1397
Oh and also there's no floating reply box.
Anonymous 2021-01-01 (Fri) 16:04:06 No. 1398
>>1396 Why aren't you using the leftypol kuroba fork? Areyou on iOS?
ak-47 AK-47 Anonymous 2021-01-01 (Fri) 16:50:24 No. 1399
Redtexting isn't a bug, it just works the way it used to. You can only redtext on one line If you try to redtext in the middle of a regular line it won't work. It can only be used as heading. So its more of a feature request to change it like it was on bunker, not a bug
Anonymous 2021-01-01 (Fri) 17:38:47 No. 1401
>Invalid webm uploaded.error 2 when uploading (certain) mp4s
Anonymous 2021-01-01 (Fri) 18:34:12 No. 1402
>>1400 what does this mean?
Anonymous 2021-01-01 (Fri) 21:03:33 No. 1404
Are the mods planning to add (you)'s. It would also be nice if the site remembered which flag you last used
Anonymous 2021-01-01 (Fri) 21:08:15 No. 1405
>>1402 Looks like a DDOs attack
Anonymous 2021-01-01 (Fri) 21:16:35 No. 1406
>>1401 See
>>1306 and
>>1337 #63.
>>1394 >>1399 To "redtext in the middle of a regular line" you can bring the heading markup
>>1393 in line with the other three markups by dropping the anchors, classes and multiline:
> $config['markup'][] = array("/(.+?) /", "<span class=\"heading\">\$1</span>"); As a bit of trivia, the current headings allow |s on their line in the post form, and the |s will be silently stripped, because a gent thought | meant alternation within a character class:
> | || |||thegentoo ||| || | > Author: thegentoo <[email protected] > > Date: Wed Jul 11 17:11:08 2012 -0300 https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/9f4fd8e44551448a73badedb89ead9ad004c1443 Anonymous 2021-01-01 (Fri) 21:17:49 No. 1407
>>1405 >>1402 These are stats for leftypol.org I believe. Users came here because bunkerchan choked.
Anonymous 2021-01-01 (Fri) 21:38:21 No. 1408
And to dispel the myth
>>1256 that inc/config.php is not modified:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/d34e4f682837b5f338241f48d6c68692855186a8 > WIP https://github.com/towards-a-new- leftypol/leftypol_lainchan/commit/1596ab3421dc8c3f39959f311eda4135af650a1d
> remove ffmpeg_path from cfg https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/77f3bf0d1693a1f531cf0a2b04e966c5f30c95eb > first commit of config file While everything that can reasonably go into inc/instance-config.php should go into inc/instance-config.php, sometimes there are things that are better done in inc/config.php.
Anonymous 2021-01-01 (Fri) 22:46:31 No. 1409
>>1407 >Users came here because bunkerchan choked. This is why I'm correct with my proposal:
>>1373 Anonymous 2021-01-01 (Fri) 23:12:03 No. 1410
>>1409 Bunkerchan will die by itself. The quality of the website is decreasing every hour.
sage 2021-01-02 (Sat) 00:44:08 No. 1411
>>1409 This implies the bunkerchan exodus had a positive effect on this website.
Anonymous 2021-01-02 (Sat) 01:31:15 No. 1412
>>1409 You should be gotten rid of, wrecker. We know who you are, what you're here for.
Anonymous 2021-01-02 (Sat) 02:02:32 No. 1413
All requests look automated. Site discarded.
Anonymous 2021-01-02 (Sat) 02:06:57 No. 1414
>>1413 Dude, how many posts are you making?
Anonymous 2021-01-02 (Sat) 02:15:41 No. 1416
>>1415 I make plenty of posts here and never get that error.
What the fuck are you doing different?
Anonymous 2021-01-02 (Sat) 02:20:47 No. 1417
>>1416 Maybe it thinks it sees a word it doesn't like and it assumes I'm spamming.
Anonymous 2021-01-02 (Sat) 03:36:24 No. 1418
>>1417 This was previously happening due to a lack of headers but it was supposed to be fixed. Anything special about your browser?
Anonymous 2021-01-02 (Sat) 03:57:28 No. 1419
>>1418 NTA but i also got that error message, once.
that anon is probably using a vpn or something
Anonymous 2021-01-02 (Sat) 07:41:54 No. 1420
>>1404 Yes. (You)s are on their way real soon. Remembering flags would be nice. It's not planned. I'll try to remember to open an issue asap so it doesn't get forgotten.
>>1406 > $config['markup'][] = array("/(.+?) /", "<span class=\"heading\">\$1</span>"); This is missing a '/m', right? To do multiple red texting in the same line. Plz confirm.
> $config['markup'][] = array("/(.+?) /m", "<span class=\"heading\">\$1</span>"); Anonymous 2021-01-02 (Sat) 07:46:20 No. 1421
>>1398 Is there a guide anywhere on how to set this up on Android?
Anonymous 2021-01-02 (Sat) 07:49:16 No. 1422
>>1421 >Is there a guide anywhere on how to set this up on Android? Download the apk and run it. Simple as
Anonymous 2021-01-02 (Sat) 07:54:26 No. 1423
>>1422 AAHHH (You)s are live
What apk? I don't want to install it tbh, but I think a guide would be nice for anyone who wants it and doesn't know about it.
Anonymous 2021-01-02 (Sat) 07:56:04 No. 1424
>>1423 when you click the link it takes you to the page with the apk for downloading. apk's are like exe's for your phone. it installs the app, and that's it. nothing to it.
Anonymous 2021-01-02 (Sat) 08:10:09 No. 1425
>>1424 Ah, I hadnt clicked the links. Ridiculously based and incredible work by that anon.
Anonymous 2021-01-02 (Sat) 10:35:36 No. 1426
HEY, TECHIES! (now that I have your attention)
>>1381 >>1388 FIX THE FUCKING THEME. CAN'T SEE SHIT WITH THE TRANSPARENCY EFFECT. THANK YOU. THIS FIX WILL TAKE UP LIKE 2 MINUTES OF YOUR TIME, I'M SURE.
also, plz add .mp3 upload, it came up here recently: >>34885 "Does the site do mp3 uploads?" >>1390 Stop pretending to be retarded. No matter how I resize my UI, the transparancy effect still makes this shit unreadable. Also: are you actually going to try to "prove a point" by screencapping your posting window having the background of clear space? Nigga, I'm trying to post here. Fuck you.
Anonymous 2021-01-02 (Sat) 10:48:31 No. 1429
>>1426 >>1427 To fix this, add something like the following to the "gentoochan.css" file:
#quick-reply table { background: #f0f0f0; }
Anonymous 2021-01-02 (Sat) 10:50:09 No. 1430
oh my god the (you)s are here
Anonymous 2021-01-02 (Sat) 11:01:28 No. 1431
please add:fukk -> strikethrough: fuck also, I really liked the feature on 8ch where the site automatically translated "–" to "–"…
Anonymous 2021-01-02 (Sat) 11:02:04 No. 1432
>>1429 >It's not the site's problem, it's a (you) problem "no"
Anonymous 2021-01-02 (Sat) 11:03:15 No. 1433
>>1431 >I really liked the feature on 8ch where the site automatically translated "- -" to "–"… lol, it's already working.
disregard my comment and thanx for your efforts
Anonymous 2021-01-02 (Sat) 11:03:19 No. 1434
>>1432 i'm telling the mods what to do dumbfuck
calm the fuck down
Anonymous 2021-01-02 (Sat) 11:07:17 No. 1436
>>1435 >>1434 & apologies, I obv. misunderstood
Anonymous 2021-01-02 (Sat) 11:37:25 No. 1437
Could you make text whiter or background darker? As it is now its kinda blurring together, makes it hard to read.
Anonymous 2021-01-02 (Sat) 12:03:04 No. 1438
>>1420 > This is missing a '/m', right? To do multiple red texting in the same line. No. The effect of the 'm' flag, PCRE_MULTILINE, was to make the ^ and $ anchors match around every embedded newline, instead of only at the ends of the whole string. With the removal of ^ and $ the 'm' flag became useless, so it was dropped. You can check in config.php that the 'm' flag is already absent from the other three markups, for the same reason.
A line such as:
> a b c d e will be parsed correctly into two headings by the regex given in
>>1406 due to the lazy/reluctant iteration of '.+?', which causes a heading to extend only upto the first == that can close it.
Markup is applied with preg_replace at:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/315edca5a95f064016e4798f0b8122bb38dc89da/inc/functions.php#L1964 and you can directly verify the effect:
> $ php7.2 -r 'var_dump (preg_replace ("/(.+?) /", "<span class=\"heading\">\$1</span>", "a b c d e"));'string(67) "a <span class="heading">b</span> c <span class="heading">d</span> e"
Pattern Modifiers:
https://www.php.net/manual/en/reference.pcre.pattern.modifiers.php lazy quantifiers:
https://www.php.net/manual/en/regexp.reference.repetition.php orange quotes for issue #31
>>1207 underlining for issue #37
>>1231 track order for issue #63
>>1337 Anonymous 2021-01-02 (Sat) 13:22:27 No. 1440
>>1439 Test
ދިވެހި ބަހުގެ އަކުރު
Anonymous 2021-01-02 (Sat) 15:12:48 No. 1441
>>1439 Leftypol serves vanilla ASCII 0x20 spaces in >>35096 which is not informative.
[code]
000232b0 6c 2f 72 65 73 2f 32 33 33 34 37 2e 68 74 6d 6c |l/res/23347.html|
000232c0 23 71 33 35 30 39 36 22 3e 33 35 30 39 36 3c 2f |#q35096">35096</|
000232d0 61 3e 3c 2f 70 3e 20 20 20 20 20 20 20 20 3c 64 |a></p> <d|
000232e0 69 76 20 63 6c 61 73 73 3d 22 66 69 6c 65 73 22 |iv class="files"|
000232f0 3e 20 20 20 20 3c 2f 64 69 76 3e 20 20 20 20 20 |> </div> |
00023300 20 20 20 20 3c 64 69 76 20 63 6c 61 73 73 3d 22 | <div class="|
00023310 62 6f 64 79 22 20 3e 20 20 20 21 20 20 20 20 20 |body" > ! |
00023320 20 20 20 20 20 20 20 20 20 2e 20 20 20 20 20 20 | . |
00023330 2e 3c 62 72 2f 3e 3c 61 20 6f 6e 63 6c 69 63 6b |.<br/><a onclick|
00023340 3d 22 68 69 67 68 6c 69 67 68 74 52 65 70 6c 79 |="highlightReply|
00023350 28 27 33 35 30 38 32 27 2c 20 65 76 65 6e 74 29 |('35082', event)|
00023360 3b 22 20 68 72 65 66 3d 22 2f 6c 65 66 74 79 70 |;" href="/leftyp|
00023370 6f 6c 2f 72 65 73 2f 33 35 30 38 32 2e 68 74 6d |ol/res/35082.htm|
[/code]
Please provide a hexdump of that Comment
before it was posted.
Anonymous 2021-01-02 (Sat) 19:12:41 No. 1443
>>1442 Got that once too trying to post "4 u"
Anonymous 2021-01-02 (Sat) 19:18:40 No. 1444
>>1443 If this happens again please report here with the full details, like the thread and complete content of post. The more the tech team knows the sooner they can fix it.
Anonymous 2021-01-02 (Sat) 23:42:24 No. 1446
The static paths in the catalog are only partially correct. This line is correct:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/315edca5a95f064016e4798f0b8122bb38dc89da/templates/themes/catalog/theme.php#L375 > $post['file'] = $config['root'] . $config['image_deleted']; It prepends the root, as it should, and as happens in
>>1255 templates/post/image.html with the "{{ config.root }}{{ config.spoiler_image }}" concatenation.
This line is almost correct:
> $post['file'] = '/' . $config['spoiler_image']; except that it uses a hardcoded '/' for the root. That hardcoded '/' needs to be replaced with $config['root'].
The two lines that both look like:
> $post['file'] = $config['image_deleted']; are wrong. Both need to prepend the root, and become:
> $post['file'] = $config['root'] . $config['image_deleted']; The commits that introduced the problem are:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/14cd12ff2a52afcbf84d15816b21cc828c7fef00 > Author: marlencrabapple <[email protected] > > Date: Wed Sep 17 16:15:18 2014 -0700 https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/cff2af99d5afb3dadd54152b1502c4d36d309dd7 > Author: Ian Bradley <[email protected] > > Date: Tue Sep 16 13:10:54 2014 -0700 Another Anon made a "Posting doesn't work for me" thread in meta, and its entry on the meta catalog page, which fails to show the deleted.png image, currently serves as the test case that exposed this issue.
The reason the same image fails to show inside the thread
>>>/meta/979 and on the meta index page is this line in templates/post/fileinfo.html:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/315edca5a95f064016e4798f0b8122bb38dc89da/templates/post/fileinfo.html#L8 > <img class="post-image deleted" src="{{ config.image_deleted }}" alt="" /> It needs to prepend the root, as is done in
>>1255 templates/post/image.html, and become:
> <img class="post-image deleted" src="{{ config.root }}{{ config.image_deleted }}" alt="" /> This fileinfo.html issue is already fixed in vichan by prepending the root:
https://github.com/vichan-devel/vichan/commit/0b84fc26d691d90425787d126947303d4b9add91 The commit that introduced this problem is:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/c483e1258cb5d168812a6e509e982a172f6c36c6 > Author: copypaste <[email protected] > > Date: Sun Apr 27 15:48:47 2014 +0200 orange quotes for issue #31
>>1207 underlining for issue #37
>>1231 track order for issue #63
>>1337 redtext for issue #78
>>1406 >>1438 Anonymous 2021-01-03 (Sun) 04:10:10 No. 1447
>>1439 Maybe this is related to why some webms with Arabic filenames were not transferred
Anonymous 2021-01-03 (Sun) 04:19:35 No. 1449
Like Bunkerchan, I want to be able to access the catalog from the top bar. I've really grown accustomed to using it.
Anonymous 2021-01-03 (Sun) 07:52:53 No. 1450
>>903 Add an overboard so I can casually browse and bump a variety of threads from different boards when I desire to without having to check each board for a new thread.
Anonymous 2021-01-03 (Sun) 11:18:15 No. 1452
>>1451 Yeah same it is getting quite annoying
Anonymous 2021-01-03 (Sun) 13:21:37 No. 1453
Is there an auto refresh or is there no auto refresh?
Anonymous ## Mod 2021-01-03 (Sun) 20:25:41 No. 1455
We are aware of the problem with new posts not appearing immediately Working to fix it, shouldn't be long.
Anonymous 2021-01-03 (Sun) 23:31:47 No. 1456
>>1454 It would be nice if it were moved a bit up, I think quite a few browsers have an URL popup there when hovering over a link or loading a page.
Anonymous 2021-01-04 (Mon) 01:26:27 No. 1457
A small 300k mp4 test file for #63.
>>1337 >>1306 NSFW
http://0x0.st/-sqz.mp4 Anonymous 2021-01-04 (Mon) 02:22:05 No. 1458
seems like dark red theme does not distinguish posts with empty email field from posts with email field set. Is this intentional or am I going colour blind? [spoiler] I like spiting ledditors with downvoot [/spoiler]
Anonymous 2021-01-04 (Mon) 03:36:22 No. 1460
>>1458 Make sages darker red, rather than brighter.
Anonymous 2021-01-04 (Mon) 03:40:39 No. 1461
Can you guys make an eepsite for the board? I think that would set us light years ahead of the competition.
Anonymous 2021-01-04 (Mon) 04:20:50 No. 1462
>>1459 more like thread NOTICER
Anonymous 2021-01-04 (Mon) 05:54:29 No. 1463
>>1455 Looks like it’s fixed.
Anonymous 2021-01-04 (Mon) 06:11:08 No. 1464
>>1461 Ooooo that would be cool. Just learned about i2p from what you said and it’s supposed to be better for websites than tor.
Anonymous 2021-01-04 (Mon) 15:02:27 No. 1465
how do I view just images? I could swear I saw a based picof an an anarcho-greenie holding an ak yesterday but cannot find
Anonymous 2021-01-04 (Mon) 15:22:53 No. 1466
>>1465 Media tab in Page Info.
Anonymous 2021-01-04 (Mon) 16:17:33 No. 1467
Are posts being imported over from bunkerchan? We shouldn't rely on the posts being made there.
Anonymous 2021-01-04 (Mon) 16:25:24 No. 1468
>>1467 The jannies have only done this twice. The first time being when this site was created and a second time because OPs with emojis didn't copy.
Anonymous 2021-01-04 (Mon) 17:41:10 No. 1469
>All these board settings This place is better than Bunkerchan after two weekssandinista Sandinista
Anonymous 2021-01-04 (Mon) 17:42:28 No. 1470
>>1465 There's gallery mode now, you can use that too.
Anonymous 2021-01-04 (Mon) 18:36:24 No. 1471
> Watchlist > Relative time > User CSS > User JS Based. The checkboxes for relative time and auto update in the general options don't seem to work though.
Anonymous 2021-01-04 (Mon) 20:36:43 No. 1472
So apparently we have Stalinist board logs. They are both public but also broken lol. We'll get them fixed asap, we hadn't noticed.
Anonymous 2021-01-04 (Mon) 21:02:54 No. 1473
are we ever going to get an XMPP or Matrix chat at some point? I know it's pretty early right now and we don't have a lot of pop, but is it something to expect?
Anonymous 2021-01-04 (Mon) 21:04:50 No. 1474
Also, an option to autoplay gifs would be nice.
Anonymous 2021-01-04 (Mon) 21:06:04 No. 1475
>>1473 We already have a matrix chat. If you're talking about a self-hosted one, I'd say it's more likely than not. XMPP I don't see it happening anytime soon, tbh.
The link:
https://app.element.io/#/room/!vdWmErwFTxUwRiefpe:matrix.org This is the vetting channel btw, just to avoid spammers.
Anonymous 2021-01-04 (Mon) 23:13:49 No. 1476
Undefined index: id in /srv/http/lainchan.leftypol.org/inc/functions.php at line 2753tankie Tankie
Anonymous 2021-01-04 (Mon) 23:16:54 No. 1477
Please fix the report feature. There's some fools that need the gulag.
Anonymous 2021-01-04 (Mon) 23:36:22 No. 1478
haven't been here in a few days. The new theme is beautiful, the onion is working, I'm sold on leftypol.org. nice one jannies
Anonymous 2021-01-04 (Mon) 23:39:58 No. 1479
UI Feedback: The small font used in the top bar makes it hard to hit the links on small cheap touch screens Maybe make it larger?
Anonymous 2021-01-05 (Tue) 00:12:06 No. 1480
>>1478 >haven't been here in a few days. The new theme is beautiful, the onion is working, I'm sold on leftypol.org. nice one jannies Yeah as I've always said as far as jannies go ours are pretty decent
stalin Stalin Anonymous 2021-01-05 (Tue) 00:31:38 No. 1482
>>1481 Yay! Yay!
tankie Tankie Anonymous 2021-01-05 (Tue) 01:46:13 No. 1483
If one wanted to copy paste custom CSS, where would they look for compatible code?
Anonymous 2021-01-05 (Tue) 02:46:09 No. 1484
>>1483 You could start a thread on /tech/ for sharing custom css. You could edit one of the pre-existing styles (it's not super hard to learn how to style simple stuff). You could search online for styles for tinyboard or vichan.
You can use the [Options] tab at the top right to put your custom css. You can also use something like the Stylish add-on.
Anonymous 2021-01-05 (Tue) 02:58:33 No. 1485
Embeds for /leftypol/ don't show the subject as the title of the embed, instead it shows the first few lines of the post. I dunno if this is something that can be fixed on our end, though.
Anonymous 2021-01-05 (Tue) 04:31:10 No. 1486
>>1481 Yay
Make it optional though
Anonymous 2021-01-05 (Tue) 04:40:12 No. 1488
Is there currently a way to download files with the original filename like on Bunkchan where you just click on the file's link? It's impossible to copy some of the names when saving from here because they're so long.
>>1398 >Why aren't you using the leftypol kuroba fork? Sorry, I have a shitty phone with little storage, plus I didn't know how to set it up. I browse on PC most of the time though.
>>1487 To the users
Anonymous 2021-01-05 (Tue) 09:40:50 No. 1491
>>1485 Please remove the YouTube embed, it installs a tracker that breaks the security/privacy of every page it's implemented on (including when you're using the onion server).
Anonymous 2021-01-05 (Tue) 10:11:50 No. 1492
>>1491 A way of reliably bug test this is by going to
http://wz6bnwwtwckltvkvji6vvgmjrfspr3lstz66rusvtczhsgvwdcixgbyd.onion/leftypol/catalog.html and just refreshing. You will see that img.youtube.com keeps reconnecting, since there are now several youtube embed trackers across the entirety of the /leftypol/ catalog.
We don't need this, YouTube embed is not an essential feature. We've obviously been able to go about without it before just fine, I think we're able too, as well.
Anonymous 2021-01-05 (Tue) 11:11:25 No. 1493
Why not make a catalog setting that explicitly shows all threads across all boards by most recent bump? (Similar to the "mega" "Board" on Lainchan) Since Leftypol.org's user base and PPH are admittedly a bit slower then Bunkerchan it would help make sure you weren't just replying to dead threads and show you which threads have recent activity.
Anonymous 2021-01-05 (Tue) 11:45:36 No. 1494
should the onion be served over HTTPS or do exit nodes not have the capability to monitor traffic that way?
Anonymous 2021-01-05 (Tue) 12:36:53 No. 1495
Text file upload:
> Undefined index: txt_file_thumbnail in /srv/http/lainchan.leftypol.org/post.php at line 1142 https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/5ef52b3c71763defc7d551ebd27157e98a0d89fb/post.php#L1142 > else if ($file['extension'] == "txt" && $config['txt_file_thumbnail']){ You need to set $config['txt_file_thumbnail'], in whichever config you like, to either true or false, just set it.
Since "PDF file thumbnail generation" is disabled by default with a false setting rather than an absent setting:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/5ef52b3c71763defc7d551ebd27157e98a0d89fb/inc/config.php#L1882 > $config['pdf_file_thumbnail'] = false; it would make little sense to resort to isset.
track order for issue #63
>>1337 root-relative paths for catalog and fileinfo
>>1446 Anonymous 2021-01-05 (Tue) 13:18:04 No. 1496
>>1494 As far as I understand HTTPS for exit onion service exit nodes are redundant (and rare, the only one I've seen that does it is DuckDuckGo).
But for normal tor usage, browsing the clear web, HTTPS is important.
Anonymous 2021-01-05 (Tue) 13:23:48 No. 1497
Is this thread bumplocked by accident?
Anonymous 2021-01-05 (Tue) 14:18:13 No. 1498
>>903 Can mods plz ban and warn this post or point me to one that was?
I'm trying to display ban/warn messages in the mobile app
gentoo Gentoo Anonymous 2021-01-05 (Tue) 15:21:56 No. 1499
A quick fix to "download files with the original filename like on Bunkchan"
>>1488 #104 is to change the text link line:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/5ef52b3c71763defc7d551ebd27157e98a0d89fb/templates/post/fileinfo.html#L10 > <p class="fileinfo">File: <a href="{{ config.uri_img }}{{ file.file }}" target="_blank">{{ file.file }}</a> <span class="details"> by replacing the target attribute with a download attribute set to the same expression that generates the full file name:
> <p class="fileinfo">File: <a href="{{ config.uri_img }}{{ file.file }}" {% if file.filename %}download="{{ file.filename|e|bidi_cleanup }}"{% else %}target="_blank"{% endif %}>{{ file.file }}</a> <span class="details"> However, with this quickfix the user is responsible for the sanity of the file name, and for its compatibility with the filesystem.
track order for issue #63
>>1337 root-relative paths for catalog and fileinfo
>>1446 text file upload
>>1495 Anonymous 2021-01-05 (Tue) 15:48:22 No. 1500
I keep seeing new replies in threads I've hidden.
Anonymous 2021-01-05 (Tue) 16:13:35 No. 1501
Thx for fixing the Gentoochan theme, techies.
Anonymous 2021-01-05 (Tue) 19:01:32 No. 1502
>>1501 :)
<orange text works now Also slurs like
faggot are automatically striked-through. That's
a joke .
Don't
angry text everywhere
about why
that's oppressive .
~~ to strikethrough
== to red text (but now not only at the beginning of the line)
__ to underline
Anonymous 2021-01-05 (Tue) 21:11:27 No. 1506
>>1505 SLAPPACHOPPAFLOPPA OH YEAH FUCK
Anonymous 2021-01-05 (Tue) 21:55:45 No. 1507
Trying to post 4 MP4s in the webm thread It gets to 100% and then this pops out>Invalid webm uploaded.error 2
Anonymous 2021-01-05 (Tue) 22:17:04 No. 1508
>>1507 Hmm probably related to the webm error reported above. I was going to ask you to post the example to inspect it, but I realize now the futility of such request. I'm taking a break today on site issues. Thanks for reporting, thanks for the patience.
Anonymous 2021-01-05 (Tue) 22:36:56 No. 1509
>>1508 Just upload them to another site lol
Anonymous 2021-01-06 (Wed) 05:58:33 No. 1514
>>1512 IP counts per thread will be done soon. It's a small change. I'm just too tired to put in work today. Plus I have some personal stuff I need to do and I can't justify working on the site before getting that done.
PPH and recent IPs I was thinking of implementing after the homepage is done.
Graphs, idk, I don't see them happening soon to be completely honest. We could perhaps make an API and have let people use the data?
One of us is looking into integrating a cytube instance into the page. I think that's a more useful feature.
I'll be working on this feature next: https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/104 (it's a one line change, most probably)
The IP count per thread is also an easy fix. I'll maybe do that next.
Then I was thinking of adding banners:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/15 I have no idea how it's done in lainchan, but it didn't work here. I had to rewrite the banners thing and that needs some eyes. It won't be cached which kinda sucks, but I think having banners is pretty cool, and I think it's worth the load on the server, which will probably be rather minimal.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/80 Someone asked for this before, I wasn't planning on working on it soon, but I recently got annoyed with the small font size. It's hard to read for me, I'm sure it's similar for others. I think tweaking this a little would be good for everyone's eyes. A comrade said: "I personally think this should be left as a choice for the end user via custom User CSS". I agree with more drastic font changes, but a lot of people won't use it, and improving the default readability is an important aspect of a leftist website, since there's frequently long posts.
There are some mobile issues. We have an absolutely based mobile app for android, if you don't have it, you should definitely check it out, but comrades who use iPhones unfortunately are deprived of such privilege. I wanted to look into some built-in fixes for improving the mobile experience for phone posters.
You can look at the issues we have here:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues If there's something you want fixed or added and it isn't there, you can bet it won't be done.
So please do tell us. >>1513 My
personal opinion is that we should add word filters if we ever get undesirables. The uhiger filter is honestly my favorite of all time, and I confess that I can't spell that word, so when speaking about the ethnic group, I sometimes wrote nigger so that it got changed to the correct word.
Anonymous 2021-01-06 (Wed) 13:47:55 No. 1515
>>1513 I'm not so sure about these:
>Degeneracy= fun. Discipline>hedonism
>Soros= Our Glorious Leader No, the dude is a real, existing, influential ultraliberal bourg.
>Cultural Marxism= I haven't read Adorno Better to conflate it with what it is: nazi propaganda
>tankie= MLs[…] Don't intentionally play into dumbing down terminology. A tankie has always been a specific type of ML, whether contemporary Twitter radlibs know about it or not.
>Productive Forces= Gallons of Semen That's dumb, just no.
>Race War= Masturbatory Fantasy This would need to be more derisive and condescending. A nazi could just own up to getting aroused the thought of a race war. Actually, writing this out reminded me of some of the practices of the Imperial Japanese during WWII, which were, to say the least, very 'ecstatic' in their celebration of genocidal violence.
>I.Q levels= Good Boy Points>Race Realism= Debunked Pseudo Science These were good.
Also bring back some of the popular ones like "Agent Kochinski", just to continue to fuck with that piece of shit's internet-relevancy in terms of mentions/indexing while the ITG people just continue to levy hate his way.
Also maybe filter Dengism, Xism, Maupinism, Caleb Maupin Thought, Socialism with Chinese Characteristics -> Socialism with Billionaire Characteristics.
Anonymous 2021-01-06 (Wed) 14:37:25 No. 1516
Bunkerchan is down for me, might have more people coming over.
Anonymous 2021-01-06 (Wed) 15:12:46 No. 1517
Arabic text is removed
>>1439 from posts due to this line in strip_combining_chars:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/5ef52b3c71763defc7d551ebd27157e98a0d89fb/inc/functions.php#L2267 > if ( ($ord >= 768 && $ord <= 879) || ($ord >= 1536 && $ord <= 1791) || ($ord >= 3655 && $ord <= 3659) || ($ord >= 7616 && $ord <= 7679) || ($ord >= 8400 && $ord <= 8447) || ($ord >= 65056 && $ord <= 65071)) The limits converted to hex:
[code]
>>> s = 'if ( ($ord >= 768 && $ord <= 879) || ($ord >= 1536 && $ord <= 1791) || ($ord >= 3655 && $ord <= 3659) || ($ord >= 7616 && $ord <= 7679) || ($ord >= 8400 && $ord <= 8447) || ($ord >= 65056 && $ord <= 65071))' >>> import re >>> ' '.join ('{:06x}'.format (int (mo.group ())) for mo in re.finditer ('[0-9]+', s)) '000300 00036f 000600 0006ff 000e47 000e4b 001dc0 001dff 0020d0 0020ff 00fe20 00fe2f'
[/code]
The relevant unicode blocks:
[code]
6 000300 - 00036F 112 COMBINING_DIACRITICAL_MARKS
12 000600 - 0006FF 256 ARABIC
31 000E00 - 000E7F 128 THAI
67 001DC0 - 001DFF 64 COMBINING_DIACRITICAL_MARKS_SUPPLEMENT
73 0020D0 - 0020FF 48 COMBINING_MARKS_FOR_SYMBOLS
156 00FE20 - 00FE2F 16 COMBINING_HALF_MARKS
[/code]
Four COMBINING_* blocks are removed, along with five characters from THAI and the entire ARABIC block. The five THAI characters are:
[code]
U+0E47 Mn THAI CHARACTER MAITAIKHU
U+0E48 Mn THAI CHARACTER MAI EK
U+0E49 Mn THAI CHARACTER MAI THO
U+0E4A Mn THAI CHARACTER MAI TRI
U+0E4B Mn THAI CHARACTER MAI CHATTAWA
[/code]
However, strip_combining_chars is only applied to:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/5ef52b3c71763defc7d551ebd27157e98a0d89fb/post.php#L803 > $post['name'] = strip_combining_chars($post['name']); > $post['email'] = strip_combining_chars($post['email']); > $post['subject'] = strip_combining_chars($post['subject']); > $post['body'] = strip_combining_chars($post['body']); which means that leftypol already allows arabic characters in post file names, such as this post >>32563 in the webm thread.
If a decision is made to allow arabic characters in posts, this can be implemented by removing the arabic block limits
> ($ord >= 1536 && $ord <= 1791) from strip_combining_chars.
The commit that stripped arabic characters is:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/126ee42b9dffe262457177c5dbb7ffa2db170763 > Author: czaks <[email protected] > > Date: Fri May 6 14:34:42 2016 +0200 > better rules for stripping combined chars, based on 45c0d327619 by @ctrlcctrlv track order for issue #63
>>1337 root-relative paths for catalog and fileinfo
>>1446 text file upload
>>1495 original file names for issue #104
>>1499 Anonymous 2021-01-06 (Wed) 15:17:45 No. 1518
>>903 can't report :
>Undefined index: id in /srv/http/lainchan.leftypol.org/inc/functions.php at line 2753 also why isn't there a report button directly on the post
Anonymous 2021-01-06 (Wed) 15:34:56 No. 1519
Also did you not put back the wordfilters ? I miss them
Anonymous 2021-01-06 (Wed) 19:03:07 No. 1520
this site supposedly uses the same code as lainchan yet many of the formating features are missing
from
https://www.lainchan.org/faq.html: [b] makes it bold [/b]
[i] makes it italic [/i]
[spoiler]text [/spoiler] makes it spoiler
[code]text [/code] makes it code
To specify language for the syntax highlighting. Use something like the example below
[code]
lisp
(defun foo ()
(if (mapcar (lambda (x) (format t "~a " x)) '(is this not infuriating?))
t
nil))
[/code]
Anonymous 2021-01-06 (Wed) 19:04:11 No. 1521
Can we get a setting that lets us turn off the auto-loop for videos? That was a convenient feature. Not super pressing though.
Anonymous 2021-01-06 (Wed) 21:44:29 No. 1522
hey jannies, yesterday I couldn't Torpost at all the page wouldn't load
Anonymous 2021-01-06 (Wed) 22:49:46 No. 1523
>>1522 Really? I could and can now. Do you have an updated TB and visit the link with a slash at the end? That might be what bugs stuff out, if I visit
http://wz6bnwwtwckltvkvji6vvgmjrfspr3lstz66rusvtczhsgvwdcixgbyd.onion/leftypol for example, it makes it seem like I can't connect, but if I add a last slash
http://wz6bnwwtwckltvkvji6vvgmjrfspr3lstz66rusvtczhsgvwdcixgbyd.onion/leftypol/ I can.
Maybe this helped.
Anonymous 2021-01-07 (Thu) 00:09:33 No. 1525
>>1524 >habbenings >bunkerchan topology D E S T R O Y E D lookin good!
Anonymous 2021-01-07 (Thu) 01:37:35 No. 1526
Well tonight was a huge success! Massive user base increase.
Anonymous 2021-01-07 (Thu) 01:43:08 No. 1527
I’m curious, where and by whom is our server hosted?
Anonymous 2021-01-07 (Thu) 03:28:22 No. 1529
>>1528 No that was the one in bunkerchan, this one is a physical server hosted in the US.
Anonymous 2021-01-07 (Thu) 04:20:03 No. 1530
Where can I see, how many users this board has? Are we growing?
Anonymous 2021-01-07 (Thu) 06:21:29 No. 1531
>>1513 Maybe Race War = WoW fanfiction?
I agree though that most word filters are unnecessary until those words are spammed
Anonymous 2021-01-07 (Thu) 06:59:03 No. 1532
>>1513 >productive forces = gallons of semen read a book uighur
Anonymous 2021-01-07 (Thu) 11:37:41 No. 1534
>>1533 You just couldn't help yourself could you?
Anonymous 2021-01-07 (Thu) 13:05:52 No. 1535
>>1521 The loop parameter is respected in player.php:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/5ef52b3c71763defc7d551ebd27157e98a0d89fb/player.php#L23 > <video controls<?php if ($loop) echo ' loop'; ?> src="<?php echo htmlspecialchars($v); ?>"> but image.html hardcodes the initial loop parameter to 1:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/5ef52b3c71763defc7d551ebd27157e98a0d89fb/templates/post/image.html#L3 > {{ config.root }}player.php?v={{ config.uri_img }}{{ post.file }}&t={{ post.filename|e('url') }}&loop=1 You can toggle the loop parameter of all videos on a page, such as the >>32434 webm thread, with:
Array.from (document.querySelectorAll ("div.file > a.file")).filter (e => e.hasAttribute ("href")).map (e => [e, e.getAttribute ("href").match (/^(\/player[.]php[?].+&loop=)([01])$/)]).filter (e_match => e_match [1] != null).forEach (e_match => e_match [0].setAttribute ("href", e_match [1] [1] + (1 - e_match [1] [2])))
Anonymous 2021-01-07 (Thu) 13:58:33 No. 1536
Can we get that midnight theme from /get/?
Anonymous 2021-01-07 (Thu) 17:43:18 No. 1537
>>1536 If someone ports it, definitely yes. It might already be largely compatible too. But the tech team will probably not work on this soon.
Anonymous 2021-01-07 (Thu) 19:24:27 No. 1538
I’m getting “this connection is not private” on bunkerchan lol.
Anonymous 2021-01-07 (Thu) 22:39:29 No. 1539
>>1538 God, what if space_ left some malware on bunkerchan as one last parting shot before disappearing for good?
Anonymous 2021-01-08 (Fri) 06:35:04 No. 1540
>>1536 >>1537 try this
https://pastebin.com/raw/ir9adb94 I threw it together really quickly by just making some fixes to the GETchan stylesheet, so it might have some issues. let me know if there are.
Anonymous 2021-01-08 (Fri) 16:49:41 No. 1541
>>1540 made some fixes
https://pastebin.com/raw/KtfpjPSF it's strange, it's almost like the leftypol HTML changed overnight.
Anonymous 2021-01-08 (Fri) 19:28:43 No. 1543
>>1542 We're open to PRs. I'm really tired and very busy with work and other personal matters right now.
There's a js module called filesave or something like that. It's supposed to make the filename clickable. You'd just need to test it because the ajax version got changed and some plugins need to be updated, and also some don't work properly.
Anonymous 2021-01-08 (Fri) 19:58:47 No. 1545
>>1543 I haven't taught myself to do git, if it was a big dealbreaker I'd do it myself though. Only just noticed it and it's the only feature that seems to be lacking from the site at this point. Don't worry about it.
>>1541 >it's strange, it's almost like the leftypol HTML changed overnight. Spoogy
Anonymous 2021-01-08 (Fri) 21:14:25 No. 1546
>>1542 Here's a version that will work for everyone, without requiring JS to be enabled.
>>1499 Anonymous 2021-01-08 (Fri) 23:41:27 No. 1547
Can you guys post user statistics for today? I feel like there was a big uptick
Anonymous 2021-01-08 (Fri) 23:42:04 No. 1548
>>1542 And here's what you can do right now from the client side:
Array.from (document.querySelectorAll ("div.file > p.fileinfo")).map (e => [e.querySelector ("a[target=_blank]"), e.querySelector ("span.details > span.postfilename")]).filter (a_span => (a_span [0] != null) && (a_span [1] != null)).forEach (a_span => [a_span [0].removeAttribute ("target"), a_span [0].setAttribute ("download", a_span [1].hasAttribute ("title") ? a_span [1].getAttribute ("title") : a_span [1].innerText)])
Clicking a text link like 1608608621350.gif will give you the original file name like overmind.gif.
Anonymous 2021-01-09 (Sat) 04:15:58 No. 1549
now that leftypol.org won (And I moved here), just giving you some advice mods, pretty much all proxies are unbanned here, unlike bunkerchan where most of them were blocked. Maybe you need to get on that to dissuade proxyfags from posting
Anonymous 2021-01-09 (Sat) 04:17:35 No. 1550
Damn. I'm browsing with the Tsuki theme and it's fucking gorgeous.
Anonymous 2021-01-09 (Sat) 04:42:07 No. 1551
>>1550 fuck yea TSUKI GANG
Anonymous 2021-01-09 (Sat) 04:42:31 No. 1552
For #110 PDF thumbnails set
> $config['pdf_file_thumbnail'] = true; > $config['djvu_file_thumbnail'] = true; and have imagemagick installed for the 'convert' command.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/5ef52b3c71763defc7d551ebd27157e98a0d89fb/post.php#L1079 track order for issue #63
>>1337 root-relative paths for catalog and fileinfo
>>1446 text file upload
>>1495 original file names for issue #104
>>1499 arabic characters
>>1517 Random anon 2021-01-09 (Sat) 04:51:25 No. 1553
Can the people posting "use Lynxchan" explain what Lynxchan features they want?
Anonymous 2021-01-09 (Sat) 05:05:31 No. 1554
>>1547 >Can you guys post user statistics for today? I feel like there was a big uptick Lol. I have the same strange feeling.
>>1552 Thanks, mate. Btw, the compiling of previous issues that are still unresolved is also very useful.
Anonymous 2021-01-09 (Sat) 05:28:22 No. 1555
>>1549 I'm a proxyfag and I was here before new year. In fact, the ease of posting over Tor was a feature that made me use this site more.
Adding a blocklist ready to use when /pol/ decides to raid is a good idea but always having it up hurts the community IMO.
gentoo Gentoo Anonymous 2021-01-09 (Sat) 09:31:01 No. 1556
>>1555 Idea: engage this 'siege mode' automatic once the number of reports / hour rises above normal. That way the usertariat can repel raids by themselves even if all the mods are asleep.
Anonymous 2021-01-09 (Sat) 17:34:51 No. 1557
All I want is a catalog refresh/update button so I don't need to press F5 and refresh the entire page.
Anonymous 2021-01-09 (Sat) 19:32:39 No. 1558
Would I be possible to remove the border on pictures, aswell as to make gifs auto play like they did on bunkerchan, or is that just because it’s lainchan?
Anonymous 2021-01-09 (Sat) 22:20:33 No. 1559
>>1558 4chanx works on this site (if you add it to the whitelist) and I think there's an option for autoplay.
Anonymous 2021-01-10 (Sun) 00:29:57 No. 1562
COOOMING SOON Overboard. Catalog view doesn't work, even though there will be a link for it.Thumbnails for PDFs and DJVUs And you can click the thumbnail to download the file. Not even lainchan has that!Reporting Because your opinion matters™Banners! I mean the images on the top. Banners is not another name for jannies. Mod tool fixes Which none of you give a shit about, but it helps with running the site.Per-thread unique IP counter Samefags on suicide watch.
Anonymous 2021-01-10 (Sun) 01:40:51 No. 1563
>>1552 Added issues on github for:
text file upload
arabic text
root relative path for catalog and file info
Anonymous 2021-01-10 (Sun) 02:13:52 No. 1564
>>1562 also coming in hot: Fix for the TXT file upload issue.
>>1495 Original file names download
>>1499 Users won't be able to delete their own threads soon (this has been an issue already). Users can still freely delete their own posts, as long as they have the password.
That's all for today folks.
Anonymous 2021-01-10 (Sun) 04:19:03 No. 1565
>>1563 Thanks.
The PR in #126 will only work for those users who visit the site with JS enabled, whereas the version in
>>1499 will work for all users of the site.
Anonymous 2021-01-10 (Sun) 06:15:33 No. 1566
Bug Report (low priority) Red text does not work across lines. See >>41095 Thanks
Anonymous 2021-01-10 (Sun) 06:18:14 No. 1567
in the meantime just do = = on each line you want
Anonymous 2021-01-10 (Sun) 07:37:11 No. 1568
Can there be, like GETchan, a front page thread OP search box?
Anonymous 2021-01-10 (Sun) 09:18:48 No. 1570
>>1569 that would probably be a subdomain
Anonymous 2021-01-10 (Sun) 18:43:34 No. 1574
>>1572 ahhh, that explains it
fuuuuuckkkk
Anonymous 2021-01-10 (Sun) 18:48:57 No. 1575
>>1572 Having a lot of issues connecting to onionsite
Anonymous ## Mod 2021-01-10 (Sun) 19:08:25 No. 1576
>>1574 >>1575 So, it is looking more like the tor network is under attack:
https://lists.torproject.org/pipermail/tor-relays/2021-January/019201.html People are speculating this is a DDOS attack. Hence why the Network operators can't open up the network. I am not affiliated with tor, or, an expert on the network so take what I am saying with a grain of salt. Information is coming out in real time, aswell. How long the network is gonna be down is any ones guess at this point.
Anonymous 2021-01-10 (Sun) 19:18:53 No. 1578
>>1577 This is much higher than two onion servers sysadmins fighting. This is a literally attack on the infrastructure of the network of Tor itself. These retards are DDOSing the entry nodes then they are massive retards.
Anonymous 2021-01-10 (Sun) 19:23:50 No. 1579
>>1578 Who do you think is doing this? Does it glow or is it some retard
Anonymous 2021-01-10 (Sun) 19:26:55 No. 1580
thx based techies for adding banners40% are not funny or relevant tho
Anonymous 2021-01-10 (Sun) 19:50:29 No. 1583
>>1581 why would the feds do this though? massive drug bust thing or related to the riots?
Anonymous 2021-01-10 (Sun) 20:02:55 No. 1584
>>1583 Why wouldn't they? Tor has been a thorn in the side of the glowies for a decade and a half and they are probably using the current state of the world as an excuse to assault the network. NBC was running shit about the "mobs" who "attacked the capital" using
"THE DARKNET" to organized their attempted coup.
Anonymous 2021-01-10 (Sun) 20:07:37 No. 1585
>>1573 The feature already existed for mods. The feature added was to allow non mods to see it. Not much else was changed.
Anonymous 2021-01-10 (Sun) 20:08:55 No. 1586
>>1584 Source on that NBC darknet thing?
also, it's unknown if the traffic hitting the dirauths is maliciously motivated, and there's no evidence that the traffic overload is actively trying to hurt v3 onions….
I think we'll just have to wait for more information on the situation
Anonymous 2021-01-10 (Sun) 20:40:18 No. 1587
>>1586 I'll have to find the news segment.
Also, They had said it was speculation, but, that's a weird thing to say about the failure of consensus. Did you read that link
>>1576 Anonymous 2021-01-10 (Sun) 20:44:31 No. 1588
>>1576 https://www.youtube.com/watch?v=yALIMUfThhA Here is the news article mentioning the "DARK WEB" and its influence on the attempted coup
Anonymous 2021-01-10 (Sun) 22:01:47 No. 1589
>v3 onion down due to Tor network Just tested another unrelated v3 site and it's also down. Confirmed for not a leftypol issue.
Anonymous 2021-01-10 (Sun) 22:38:59 No. 1590
Our own self-hosted cytube instance has been implemented https://tv.leftypol.org Feel free to create an account and your own channel. Hello. I'm part of bunkerchan old cytube Admin team before I stopped being active due to depression and irl stuff. I wanted to know if you guys want to keep using the existing channel or create a new channel? I'm asking you guys here because we are doing so much direct development for ourselves here and if someone wanted to explore doing further customization and stuff with cytube or whatever similar platform we wanted to use I'm willing to let anyone with that creative itch to run it.
Cytube currently isn't directly allowed to embed twitch videos due to twitch blocking the domain from embedding their streams and now with their whole new bullshit of being unable to block ads and stuff. So if you guys want to host and maintain a server for our purposes and stuff. Cytube has all the information here:
https://github.com/calzoneman/sync If you guys have any recommendations or suggestions for us to use a different sync tube solution please post below.
Current cytube used from bunkerchan:
https://cytu.be/r/bunkerchantemp Anonymous 2021-01-10 (Sun) 23:03:11 No. 1591
>>1582 fair point
porky Porky Anonymous 2021-01-11 (Mon) 00:07:46 No. 1592
Looks like the Tor network is better now.
Anonymous 2021-01-11 (Mon) 00:29:14 No. 1593
For pdf thumbnails
>>>/anime/5736 and txt thumbnails you may need to change rights="none" to rights="read" on the lines with pattern="PDF" and pattern="@*" in the IM policy file:
$ convert -list policy | grep '^Path'
Path: /etc/ImageMagick-6/policy.xml
Path: [built-in]
You can then set $config['txt_file_thumbnail'] to true. Since the default theme here is dark, as it should be, the txt thumbnail colors can be swapped with xc:black and -fill white.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/663233f34d1346239d7d5239ad84f25cfbef2ab2/post.php#L1148 To use a monospaced font for txt thumbnails add -font Liberation-Mono. If you don't have Liberation-Mono use one of the monospaced fonts that IM is aware of:
$ convert -list font | grep -ie mono
To verify:
$ wget -O input.txt '
http://www.gutenberg.org/files/10/10.txt' $ convert -thumbnail x300 xc:black -pointsize 12 -fill white -font Liberation-Mono -annotate +15+15 @input.txt text.png
+ original file name downloads for non-JS users
>>1499 in issues but not applied yet:
+ track order for #63 webm error 2
>>1337 + arabic characters for #125
>>1517 + root-relative paths for #124 deleted.png
>>1446 Anonymous 2021-01-11 (Mon) 00:49:41 No. 1594
>>1593 PDF thumbnail generation worked in a dev environment. We'll need to check why it isn't working on prod.
TXT generation did not work properly, pic related.
Issue tracking txt thumbnail support.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/129 Added this new issue to track the non-js filename stuff. The other issue was as a mitigation to get the feature to as much people as possible as soon as possible via the already existing js module.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/128 tankie Tankie Anonymous 2021-01-11 (Mon) 01:45:08 No. 1595
>>1594 > #128 #129 Thanks. A small note about:
> This issue tracks removing that js module and instead replacing it with a non-JS solution. There's no incompatibility between the two so there's no problem with leaving js/download-original.js active as well, should that be desired.
Anonymous 2021-01-11 (Mon) 02:35:02 No. 1599
PDFs are failing to produce a thumbnail.
Please be patient while this is getting fixed.
>>1598 :) glad you like it comrade
Anonymous 2021-01-11 (Mon) 03:27:23 No. 1600
bring back the style selector to the bottom right on the bar, it's annoying having to make extra clicks (Options) to access it to change out of this ugly "dark red" default theme each time cookies are cleared
Anonymous 2021-01-11 (Mon) 03:28:29 No. 1601
also move the "unique ips" crap to the right side like in 4chan, it's insanely distracting seeing it right below the latest post
Anonymous 2021-01-11 (Mon) 04:06:18 No. 1602
>>1596 Thanks. Test case once it's applied:
>>>/meta/979 Anonymous 2021-01-11 (Mon) 04:34:05 No. 1603
Coming soon: OVERBOARD anddrum roll drum roll drum roll drum roll drum roll drum roll OVERBOARD CATALOGUE
Anonymous 2021-01-11 (Mon) 04:42:22 No. 1604
>>1603 based
can you consider adding post formatting guide page somewhere? I experienced existential horror when
spoiler didn't work with usual [spoiler] tag
Anonymous 2021-01-11 (Mon) 05:56:45 No. 1606
reply divs are offset by the unique ips text to the right fix this
Anonymous 2021-01-11 (Mon) 12:34:37 No. 1608
Thanks for deploying 87b0e972ee4e2c668a3f7019d47363d7e3fba411
>>1446 . The image
>>>/meta/979 showed up in the thread, catalog and index.
Anonymous 2021-01-11 (Mon) 15:49:39 No. 1611
Is there anywhere you can view PPH and/or amount of unique IPs?
Anonymous 2021-01-11 (Mon) 15:50:31 No. 1612
>>1611 I see unique IPs, what about PPH?
Anonymous 2021-01-11 (Mon) 16:56:41 No. 1613
>>1612 This will probably come with the new homepage, which won't be done in a while.
Anonymous 2021-01-11 (Mon) 18:03:21 No. 1615
>>1614 BASED, but may I request that stickies aren't sticky on the overboard.
Anonymous 2021-01-11 (Mon) 18:06:11 No. 1616
>>1615 >on the overboard. *the overboard catalog
Anonymous 2021-01-11 (Mon) 20:08:32 No. 1618
Can there be a make new thread button added to the catalog view? I prefer to browse through the catalog, the lack of a 'new thread' button is a minor inconvenience to me. Thank you <3
Anonymous 2021-01-11 (Mon) 23:26:54 No. 1621
>>1592 issues connecting again, as of a few hours ago it seems like consensus could not be achieved, problems with v3 onions is still ongoing right now
>>1587 >>1588 hmmm… very interesting…. at the risk of coming off as a schizo i'm not going to say it's a glowop but still is interesting, the CIA uses Tor though so it's probably not them
Anonymous 2021-01-12 (Tue) 01:41:18 No. 1622
It would be nice if embedded youtube videos also displayed their URL so I can copy and paste it.
Anonymous 2021-01-12 (Tue) 06:44:32 No. 1623
>>1622 cant u just right click and copy link address
Anonymous 2021-01-12 (Tue) 06:45:31 No. 1624
plz move the unique ips thing to the right, it is so distracting
Anonymous 2021-01-12 (Tue) 07:53:21 No. 1625
>>1624 I'm not staff but it appears the code fix was merged and approved 22hrs ago, so next time they update the website it should work fine.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/131 Anonymous 2021-01-12 (Tue) 11:00:10 No. 1626
Next time someone is messing with the configs and shit can you try turning this on so we can get raw video on cytube? I think that's the issue with it.>>42702
Anonymous 2021-01-12 (Tue) 12:15:50 No. 1627
Reminder to remove YouTube™ embed as it fucks up secure connection with data leaks, even on .onion
Anonymous 2021-01-12 (Tue) 14:32:04 No. 1628
There is a bug on the overboard, it always shows.>5 posts and 5 image replies omitted. whether or not there are 5 posts and 5 images omitted
Anonymous 2021-01-12 (Tue) 19:00:42 No. 1630
Some retard made a thread for this. I'm re-posting it here and deleting the thread.
>Your shitty navigation bar fucks with the position of backlinked posts. You need to account for this so when a backlink is clicked, the top of the post isn't hidden under the navigation bar. Bunkerchan does this just fine, so copy their CSS.>On another note, you don't seem to have a public repository for this stuff which makes me think y'all are authoritarian as fuck and don't want to democratize this site. CRINGE!! (attached pic is from OP)
>>1628 heh. I wondered when someone was going to notice. Thanks for reporting.
>>1626 >>42702 Oooh that sounds nice.
>>1625 That PR just makes it so that the new posts don't go below the unique ip counter.
Anonymous 2021-01-12 (Tue) 19:26:24 No. 1631
>>1629 ty bb
>>1630 >Oooh that sounds nice. I don't know if it will fix it but it's the easiest thing to do to attempt to fix it lol. If it doesn't someone has to install ffmpeg, but it appears to be on the main repository so it should work just by turning it on? Maybe the comment was written before it was included or something.
Anonymous 2021-01-12 (Tue) 19:43:08 No. 1634
>>1633 Can you upload your webm here :
https://catbox.moe/ Anonymous 2021-01-12 (Tue) 21:33:52 No. 1636
I think 'js/options.js' needs to be moved above 'js/local-time.js' and any other script that adds to the options dialog.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/d43f18813e137b1dab45bac91d8222da9d81f6e5/inc/instance-config.php#L317 I would open an issue/pr myself but my github account is tied to my irl identity.
Anonymous 2021-01-12 (Tue) 22:16:45 No. 1639
>>1638 Based Krates. Now the little rhyme I was so pleased with I reposted with multiple images to format properly will be immortalised forever.
Anonymous 2021-01-12 (Tue) 22:41:55 No. 1640
>>1636 (this is why some of the checkboxes in the options don't work)
Anonymous 2021-01-12 (Tue) 23:30:41 No. 1641
>>1636 Write your PR/issue here and I'll copypast it with my account.
Anonymous 2021-01-12 (Tue) 23:56:31 No. 1642
>>1641 NTA. You could make a PR with this single-line change
>>1499 to templates/post/fileinfo.html that fixes #128.
Anonymous 2021-01-13 (Wed) 00:03:50 No. 1643
>>1641 Bug: these checkboxes don't do anything
I'm pretty sure it's because options.js is loaded after other scripts that depend on it. The fix should be to move this line (317):
$config['additional_javascript'][] = 'js/options.js';
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/d43f18813e137b1dab45bac91d8222da9d81f6e5/inc/instance-config.php#L317 above this line (298):
$config['additional_javascript'][] = 'js/local-time.js';
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/d43f18813e137b1dab45bac91d8222da9d81f6e5/inc/instance-config.php#L298 Anonymous 2021-01-13 (Wed) 11:51:53 No. 1650
I'm not sure why you need both issues #109 and #144. You even have the same medium link in both.
Anonymous 2021-01-13 (Wed) 12:20:56 No. 1651
>>1627 Why are mods
not replying to this in any way? Now with the overboard catalog
this bug is constant, for the majority of users . (picrel)
The majority of leftypol.org users right now have a simultaneous data stream outgoing to Google servers collecting details of their posting on this site for no real reason other than "embed b cool" (what, you can't mousewheel click a link for it to open in another tab and watch it there, you fuck?) .
Anonymous 2021-01-13 (Wed) 12:31:28 No. 1652
>>1651 I have passed this along, thanks for the concern.
Anonymous 2021-01-13 (Wed) 15:53:12 No. 1653
There is no indicator for when a thread is anchored.
Anonymous 2021-01-14 (Thu) 01:03:00 No. 1655
What's the difference between dev.leftypol.org and leftypol.org?
Anonymous 2021-01-14 (Thu) 02:29:23 No. 1657
>>1648 White techs fuck cats.
Anonymous 2021-01-14 (Thu) 02:29:27 No. 1658
>>1491 >>1492 >>1627 >>1651 I support removing embedded youtube links.
Anonymous 2021-01-14 (Thu) 04:45:33 No. 1662
For #147
>>1653 change this line in catalog.html:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/templates/themes/catalog/catalog.html#L68 > <strong>R: {{ post.replies }} / I: {{ post.images }}{% if post.sticky %} (sticky){% endif %}{% if post.locked %} <span class="fa fa-lock"> </span>{% endif %}</strong> by adding post.sage and config.reply_limit tests:
> <strong>R: {{ post.replies }} / I: {{ post.images }}{% if post.sticky %} (sticky){% endif %}{% if post.sage %} (sage){% endif %}{% if (config.reply_limit > 0) and (post.replies >= config.reply_limit) %} (full){% endif %}{% if post.locked %} <span class="fa fa-lock"> </span>{% endif %}</strong> Thread views have a bumplocked test:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/templates/post_thread.html#L34 > {% if post.bumplocked and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %} For us proles:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/inc/config.php#L1508 > // View whether a thread has been bumplocked ("-1" to allow non-mods to see too) > $config['mod']['view_bumplock'] = MOD; There's no post.bumplocked, it's called post.sage:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/templates/posts.sql#L21 > `sage` int(1) NOT NULL, and for OPs it acts as a bumplock:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/post.php#L1360 > if (!$post['op'] && strtolower($post['email']) != 'sage' && !$thread['sage'] && ($config['reply_limit'] == 0 || $numposts['replies']+1 < $config['reply_limit'])) { > bumpThread($post['thread']); Using both +1 and a strict inequality is wrong and makes threads unable to bump on an unsaged final reply, so the +1 needs to go.
The img.src is wrong in the usual way
>>1446 https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/templates/post_thread.html#L38 > <img class="icon" title="Bumplocked" src="{{ config.image_bumplocked }}" alt="Bumplocked" /> and needs to prepend the root. Same for the post.sticky, post.locked and post.cycle blocks.
While you have a locked.gif in static, there's no sage.png and sticky.png.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/inc/config.php#L1222 in issues but not resolved yet:
+ pdf and txt IM rights #129
>>1593 + original file name downloads for non-JS users #128
>>1499 + track order #63 webm error 2
>>1337 + arabic characters #125
>>1517 + semirand omitted counts #136
>>1635 Use the Jungle Theme 2021-01-14 (Thu) 04:48:41 No. 1663
>>1662 can you explain why the fuck KDA Ahri is doing in this thread
Anonymous 2021-01-14 (Thu) 17:42:05 No. 1665
I can't access this site thru tor.
Anonymous 2021-01-14 (Thu) 19:11:25 No. 1666
>>1665 Using leftypol.org or the onion url?
Can you access other sites?
The onion network has been experiencing attacks and decreased reliability lately.
Anonymous 2021-01-14 (Thu) 19:50:56 No. 1667
>>1666 the onion url works, but I got a problem when I used the .org url
Anonymous 2021-01-14 (Thu) 19:57:19 No. 1668
>>1665 It appears other onion services are currently up and ours is currently down.
I've notified the sysadmins.
## Mod 2021-01-14 (Thu) 20:07:26 No. 1669
>>1665 Currently posting this over tor. We've restarted the server. Can you try now?
Anonymous 2021-01-14 (Thu) 20:33:41 No. 1670
>>1669 Please turn YouTube embed off (security vuln) while you're at it
Anonymous 2021-01-14 (Thu) 23:34:51 No. 1672
>>1532 Read theory -> lurk moar
Anonymous 2021-01-14 (Thu) 23:50:14 No. 1673
>>1594 Maybe including gsfonts will make a difference for txt #129, based on:
https://github.com/docker-library/redmine/issues/132 Anonymous 2021-01-15 (Fri) 14:23:09 No. 1674
>>1671 Thank you so much krates.
Anonymous 2021-01-15 (Fri) 14:54:20 No. 1675
For pdf thumbnails #110, after setting the IM policy
>>1593 rights, it seems IM will communicate with the ghostscript delegate through temporary files, so the same temporary location should be available to both. If nix isolates packages to the point where such sharing of the temporary location is not possible, then a workaround appears to be to resort to direct invocation of gs for pdf thumbnailing, bypassing IM.
Temporary file issues:
https://forum.enfocus.com/viewtopic.php?t=261 https://docs.filerun.com/imagemagick https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=15960 Anonymous 2021-01-15 (Fri) 15:21:44 No. 1676
I'm posting it here instead of /tech/ because I mainly want to convey this message to our People's Champions.
It may be worth considering the need to get a Gitlab Community Edition "mirror" for our repos if Microsoft's Github follows the footsteps of its partners (Facebook and Twitter) and starts repressing projects on a
political basis; along "extremist" lines (a broad brush-stroke which pretty certainly would catch us too).
Gitlab CE or GNU Savannah, by contrast, have two advantages for them. 1): They are not subsidiaries to mega-corporations well-known for their collaborative attitudes to the US government (see links below to post-Microsoft acquisition tech-news headlines) and 2): they're fully open source with much better ratings from libre software institutions.
Revealing recent Github controversies: https://thenextweb.com/politics/2019/10/09/github-microsoft-trump-ice-contract/ https://thenextweb.com/microsoft/2021/01/12/hundreds-sign-letter-demanding-answers-after-github-fires-jewish-employee-for-calling-insurrectionists-nazis/ Leftist tech article on Microsoft's acquisition of Github and wider implications and consequences: https://blog.p2pfoundation.net/are-the-digital-commons-condemned-to-become-capital-commons/2018/08/03 >How to guarantee the independence of digital Commons? >For a project like Wikipedia, things would probably be different if firms like Google or Facebook answered the call launched by Katherine Maher. The Wikipedia community has strict rules in place regarding paid contributions, which means that you would probably never see 90% of the content produced by employees. Company contributions would likely be in the form of cash payments to the Wikimedia Foundation. However, economic dependence would be no less strong; until now, Wikipedia has ensured its independence basically by relying on individual donations to cover the costs associated with maintaining the project’s infrastructure. This economic dependence would no doubt quickly become a political dependence – which, by the way, the Wikimedia Foundation has already been criticised for, regarding a large number of personalities with direct or indirect links with Google included on its board, to the point of generating strong tensions with the community. The Mozilla Foundation, behind the Firefox browser, has sometimes received similar criticism. Their dependence on Google funding may have attracted rather virulent reproach and doubts about some of its strategic choices. >In the end, this question of the digital Commons’ state of economic dependence is relatively widespread. There are, in reality, very few free projects having reached a significant scale that have not become more or less “Capital Commons”. This progressive satellite-isation is likely to be further exacerbated by the fact that free software communities have placed themselves in a fragile situation by coordinating with infrastructures that can easily be captured by Capital. This is precisely what just happened [in 2018] with Microsoft’s $7.5 billion acquisition of GitHub . Some may have welcomed the fact that this acquisition reflected a real evolution of Microsoft’s strategy towards Open Source, even that it could be a sign that “free software has won”, as we sometimes hear. >But, we can seriously doubt it. Although free software has acquired an infrastructural dimension today – to the point that even a landmark player in proprietary software like Microsoft can no longer ignore it – the developer communities still lack the means of their independence, whether individually (developers employed by large companies are in the majority) or collectively (a lot of free software depends on centralized platforms like GitHub for development). Paradoxically, Microsoft has taken seriously Platform Cooperativism’s watchwords, which emphasize the importance of becoming the owner of the means of production in the digital environment in order to be able to create real alternatives. Over time, Microsoft has become one of the main users of GitHub for developing its own code; logically, it bought the platform to become its master. Meanwhile – and this is something of a grating irony – Trebor Scholz – one of the initiators, along with Nathan Schneider, of the Platform Cooperativism movement – has accepted one million dollars in funding from Google to develop his projects. This amounts to immediately making oneself dependent on one of the main actors of surveillance capitalism, seriously compromising any hope of building real alternatives. >For now, Wikipedia’s infrastructure is solidly resilient, because the Wikimedia Foundation only manages the servers that host the collaborative encyclopedia’s contents. They have no title to them, because of the free license under which they are placed. GitHub could be bought because it was a classic commercial enterprise, whereas the Wikimedia Foundation would not be able to resell itself, even if players like Google or Apple made an offer. The fact remains that Katherine Maher’s appeal for Google or Facebook funding risks weakening Wikipedia more than anything else, and I find it difficult to see something positive for the Commons. In a way, I would even say that this kind of discourse contributes to the gradual dilution of the notion of Commons that we sometimes see today. We saw it recently with the “Tech For Good” summit organized in Paris by Emmanuel Macron, where actors like Facebook and Uber were invited to discuss their contribution “to the common good”. In the end, this approach is not so different from Katherine Maher’s, who asks that Facebook or Google participate in financing the Wikipedia project, while in no way being able to impose it on them. In both cases, what is very disturbing is that we are regressing to the era of industrial paternalism, as it was at the end of the 19th century, when the big capitalists launched “good works” on a purely voluntary basis to compensate for the human and social damage caused by an unbridled market economy through philanthropy. Libre rating of git repos: https://www.gnu.org/software/repo-criteria-evaluation.html >GNU Savannah: Grade A >Gitlab: Grade C >Github: Grade F >Sourceforge: Grade F O7 Anonymous 2021-01-15 (Fri) 18:58:38 No. 1677
>>1676 I was a Gitlab advocate until very recently when I found out they are quite literally funded by the CIA through In-Q-Tel.
https://www.iqt.org/portfolio/page/2/ Consider something else like Gitea.
Anonymous 2021-01-15 (Fri) 19:23:32 No. 1678
>>1677 Real shit? But do you think they'd put a backdoor?
Anonymous 2021-01-15 (Fri) 19:28:14 No. 1679
>>1678 The project is open source and not terribly big from what I'm aware. It can be audited easily and backdoors found if they exist. The real issue is project control and censorship concerns like we saw over youtube-dl on github recently. Either find a host you trust or simply self-host your own git.
Anonymous 2021-01-15 (Fri) 21:05:34 No. 1680
Can we please have refresh and catalog buttons added to the thread links.brocialism Brocialism
Anonymous 2021-01-15 (Fri) 21:50:33 No. 1681
>>1656 Looking at show-backlinks.js, scrolling within the index page is the behavior you get on regular boards as well. You are not taken inside the thread there either, so this is the same behavior you had before the overboard was added.
Anonymous 2021-01-15 (Fri) 22:51:25 No. 1682
BUG REPORT: respond window keeps saving last used flag, even after "None" was selected before.
Anonymous 2021-01-15 (Fri) 23:24:26 No. 1683
>>1680 can you specify where exactly?
Anonymous 2021-01-16 (Sat) 00:10:41 No. 1684
BUG REPORT: Clicking on @s after the initial post leads to weird results. Example: post says "u r fag" and it has 3 replies. If I click on any of these replies the site brings me up a few inches but it doesn't actually bring me to said post.
Anonymous 2021-01-16 (Sat) 00:37:24 No. 1687
>>1685 i did several refreshes (F5) in that vid, fyi
Anonymous 2021-01-16 (Sat) 01:23:04 No. 1688
>>1682 https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/js/save-user_flag.js#L8 The post form at the top has the controlling flag setting, the one that is saved to localStorage. The quick reply takes its flag setting from the top form each time. This appears to be deliberate so that you can have a main flag for that board, switch to a different flag momentarily for one quick reply, and still have your main flag next time. To switch to a different flag on a more permanent basis set it in the top form and subsequent quick replies will pick it up.
Anonymous 2021-01-16 (Sat) 01:28:25 No. 1689
>>1677 …oookay I never heard that about Gitlab before but – then use the A-rated GNU Savannah instead then? Or Gitea. Or self-host, indeed.
Anonymous 2021-01-16 (Sat) 10:23:16 No. 1690
Antinous (one of our vols) asked me to post the following information here: "antinous is a poop." that is all
Anonymous 2021-01-16 (Sat) 15:13:38 No. 1691
Deleting a thread
>>1685 is currently the same event as deleting a post.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/post.php#L276 > rebuildThemes('post-delete', $board['uri']); The catalog handles 'post-delete':
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/templates/themes/catalog/theme.php#L41 > } elseif ($action 'post-thread' || ($settings['update_on_posts'] && $action 'post') || ($settings['update_on_posts'] && $action == 'post-delete') > || $action 'sticky' || ($action 'lock' && in_array($board, $boards))) { Notice the ludicrous placement of the parens around the lock and board tests, which means the board test only applies to lock. The parens should group the || chain.
'post-delete' is guarded by $settings['update_on_posts'], which goes into the catalog theme settings editable in the mod pages, not into the config files:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/cf315cf58ca93f161fc7fa1ee8adf8cde285797b#diff-24c6c21709e217835e10ed15d225b5a7a81cfc5c7f83e113fe818d6cdf2294ceR89 When $settings['update_on_posts'] is set, the issue is that post deletions must eventually be followed by a rebuildThemes with 'post-delete' and the appropriate board, otherwise deleted threads will occasionally show in some themes. But inc/mod/pages.php occasionally omits this rebuildThemes call on the $originBoard when moving or merging.
A better longterm solution would be to introduce a thread-delete event for OPs, since posting is already aware of OPs with 'post-thread' versus 'post':
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/post.php#L1435 That way themes would have the granularity of control to be able to respond to OP events but not to non-OP reply events, if they so choose. Deleting locations are already aware whether they're deleting an OP or a reply, e.g.:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/0eb4059a7c2debc89fe4dd404f87d25d3c33adf6/post.php#L233 > if (isset($config['allow_thread_deletion']) && !$config['allow_thread_deletion'] && !$post['thread']) { Also note that both mod_move and mod_move_reply in inc/mod/pages.php fire the 'post' event on $targetBoard even if they happen to be creating target threads. The appropriate event if creating target threads is 'post-thread'.
in issues but not resolved yet:
+ pdf and txt thumbnails #110 #129
>>1593 >>1673 >>1675 + original file name downloads for non-JS users #128
>>1499 + track order #63 webm error 2
>>1337 + arabic characters #125
>>1517 + semirand omitted counts #136
>>1635 + bumplock and full markers #147
>>1662 Anonymous 2021-01-16 (Sat) 15:18:23 No. 1692
test for == workaround> } elseif ($action = = 'post-thread' || ($settings['update_on_posts'] && $action = = 'post') || ($settings['update_on_posts'] && $action = = 'post-delete') > || $action = = 'sticky' || ($action = = 'lock' && in_array($board, $boards))) {
Anonymous 2021-01-16 (Sat) 16:32:37 No. 1693
what's the official booru of .org?
Anonymous 2021-01-16 (Sat) 19:23:03 No. 1695
>>1694 still using the flunkerchan symbol :P
Anonymous 2021-01-16 (Sat) 19:56:53 No. 1696
>>1695 No it isnt. The emblem with the bunker is leftypols. Leftybooru is using its own variation.
Anonymous 2021-01-16 (Sat) 20:21:30 No. 1697
>>1695 2015-10-21 refers to /leftypol/'s founding and bunkers were an early /leftypol/ in-joke.
Anonymous 2021-01-16 (Sat) 22:42:39 No. 1698
Who is complaining about post reporting? It works fine? Works on my machine
Also who was saying the mod log doesn't work?
https://leftypol.org/log.php?board=b https://leftypol.org/log.php?board=leftypol Anonymous 2021-01-17 (Sun) 05:02:46 No. 1699
OK we need to do a sprint to close some of these issues. we're at 48 so I'm thinking about doing a sprint and going through the easy ones to get those implemented. I really would like to do some stuff like pull the log_err or whatever it's called out of anti-bot.php, but obviously that works so the existing issues will be my focus. But I want to get issues cut down to maybe 20 within the next two weeks.
Anonymous 2021-01-17 (Sun) 07:06:55 No. 1700
I hate to interrupt but we are being raided with random character string with length 5anarcho-communism Anarcho-Communism
Anonymous 2021-01-17 (Sun) 09:02:49 No. 1703
>>1699 Based. Any help is appreciated.
>>1701 We were made aware of point 1 today. I had no clue about point 2.
Anonymous 2021-01-17 (Sun) 11:03:51 No. 1704
>>1703 It's a privacy feature. Instead of NAT you have an ever-changing second half of the address. Most operating systems change it automatically after 1-24 hours.
Anonymous 2021-01-17 (Sun) 11:06:22 No. 1705
the filters don't work
Anonymous 2021-01-17 (Sun) 16:19:12 No. 1706
How about the boards list "[overboard] … [watchlist]" gets aligned left on the top bar, with the bottom bar stuff being added to the right of that, so that there is only the top bar? Also, are unique IPs not adjusting automatically for anyone else? I have to refresh to see a change.
Anonymous 2021-01-17 (Sun) 16:22:24 No. 1707
>>1706 >Also, are unique IPs not adjusting automatically for anyone else? I have to refresh to see a change. My understanding is that it has always behaved that way.
Anonymous 2021-01-17 (Sun) 16:26:07 No. 1708
>>1707 It should update dynamically, then. And, be in the same section as `# replies | # images | Page #`
Anonymous 2021-01-17 (Sun) 18:16:17 No. 1709
Added a naive fix for
>>1701 brocialism Brocialism Anonymous 2021-01-17 (Sun) 21:44:06 No. 1710
>>1699 >I want to get issues cut down to maybe 20 Compare #109 with #144
>>1650 and #154 with #161.
Anonymous 2021-01-17 (Sun) 22:29:34 No. 1711
Posting from a theme that gives me PTSD.
>inb4 this was the reason I hadn't moved <well now you have no choice >>1701 >IPv6 The tech leftypol strikes again. A new contributor is incomparably based and has submitted a fix.
Anonymous 2021-01-17 (Sun) 22:32:01 No. 1712
NEW THEMES NEW THEMES NEW THEMES NEW THEMES NEW THEMES NEW THEMES NEW THEMES All user submitted.
The cache needs a little while to refresh. Try hard refreshing.
There's even a bunker-like theme!
Check the details here:
>>1711 Anonymous 2021-01-17 (Sun) 23:36:12 No. 1713
>>909 It's probably easier to just save with wget. tinyboardvichanlainchan produces really easy to archive pages
brocialism Brocialism Anonymous 2021-01-17 (Sun) 23:43:57 No. 1714
OH MY FUCKIN GAWD THERE'S NEWS ON THE FRONTPAGE brocialism Brocialism
Anonymous 2021-01-17 (Sun) 23:55:17 No. 1715
>>1709 You can simplify $ipv[46]_link_regex by taking advantage of the fact that when you have an anchor with a href with ?/IP/ you are validating the anchor text anyway, so there's no need to validate the rest of the href. PHP also allows alternate regex delimiters, like sed, so you don't need the backslash soup, e.g.:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/8ba8bbb8aa1d4c9075f757a3eb9da1b55da6b4a9/inc/mod/pages.php#L123 So you can do:
$ipv4_link_regex = '@(?:<a href="\?/IP/[^"]+">)?(' . $ipv4_regex . ')(?:</a>)?@';
$ipv6_link_regex = '@(?:<a href="\?/IP/[^"]+">)?(' . $ipv6_regex . ')(?:</a>)?@';
Anonymous 2021-01-18 (Mon) 03:47:18 No. 1717
glory to whoever made the bunker lite theme. It's better than the real thing
Leftybooru !lolbGUOOyY 2021-01-18 (Mon) 06:00:24 No. 1718
>>1693 >>1694 The official booru is one of the few things that .org and .xyz administration agree on. It was same with the /leftpol/ split.
>>1695 >>1696 The symbol is variation of the USSC symbol. USSC being an attempt in 2015 to create a united leftist imageboard with /leftypol/, /GET/, and /ref/.
>>1697 2015-10-21 is the booru foundation date. /leftypol/ itself is from 2014.
Anonymous ## Mod 2021-01-18 (Mon) 07:28:53 No. 1719
If anyone wants to help us figure out a solution:
https://github.com/PietroCarrara/Clover/issues/1 We are looking to solve the issue related to posting over the app and when we raise threat levels for cloud-flair that causes phone posting to break, thank you.
Anonymous 2021-01-18 (Mon) 11:17:41 No. 1720
coming soon coming soon coming soon coming soon coming soon coming soon coming soon coming soon >more posts in the IP history view>bumplock icon >cytube on the board list >warranty canary (written by coma) >allow gz and bz2 extensions uploads >mass mod deletions (using the checkboxes and the delete button) >fix the checkboxes of the options menu that apparently wasn't working >fixes overboard count (5 posts 5 images omitted) >removes deprecated tomorrow stylesheet
Anonymous 2021-01-18 (Mon) 13:00:00 No. 1722
To fix post quotes at the end of orangequotes
>>1721 you could add < to the lookahead class as a hack entrenching a bug, or you could put orangequotes after greenquotes where they belong and where originally suggested.
>>1207 https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/31 https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/11d59a91812c420d986ff0d8060201b39b4ca27c/inc/functions.php#L2184 The commit that put orangequotes into $config['markup'] instead:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/e32e12798ecc7290e80583e2e27eb85b6d56b431 > Author: nonmakina <[email protected] > > Date: Mon Jan 4 15:59:59 2021 -0600 Anonymous 2021-01-18 (Mon) 17:22:43 No. 1723
Hey mods, I don't think the filters work.
Anonymous 2021-01-18 (Mon) 18:28:04 No. 1725
SEO: How can we increase the SEO of this site so it overtakes flunkerchan on google?? any ideas
Anonymous 2021-01-18 (Mon) 19:00:01 No. 1726
>>1724 the ones in the options menu
Anonymous 2021-01-18 (Mon) 21:25:42 No. 1728
>>1721 I actually already tried that and had to fix it here:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/185/commits/e936312db509c5a355b4bb1131f644556aed242a Apparently mixing count and limits doesn't work well.
Feel free to throw in a PR, I'll review it ASAP.
>>1722 Hadn't noticed that the quotes didn't work. Thanks for reporting it. I'll open an issue.
>>1727 >>1725 Tracked by this issue:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/187 >>1691 Thanks for the feedback, as per usual.
>+ semirand omitted counts #136 >>1635 In PR:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/185 >+ bumplock and full markers #147 >>1662 In PR:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/178 >+ pdf and txt thumbnails #110 #129We're using nix. PDF thumbnails worked on dev, but not on prod. So much for "reproducibility" lol. There must be an issue I'm overlooking. This is devops shit and I'm not familiar with nix, so I've been putting it off.
Could people look at this:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues and tell me which issues are the most important to them?
!!Kv6Q4bF05o 2021-01-18 (Mon) 23:19:07 No. 1730
I'll be changing the font size to 14px and the font to Verdana of the current theme. Does anyone have any objections? Legibility is pretty poor atm.
Anonymous 2021-01-18 (Mon) 23:56:48 No. 1731
>>1728 >I actually already tried that We're referring to different things. See where I said "
unsorted totals"
>>1721 . I was simply admiring the tech's willpower in forcing the sql to do his bidding with 2^64-1, instead of using the existing approach for index pages in index+numPosts in inc/functions.php
>>1635 .
>I'll open an issue.If you're in the mood to move bugs into issues you might open one for the mp4 anon's
>>1685 zombie threads in the catalog bug as well, since one source of zombie threads is already explained in the Tifa post.
>We're using nix. PDF thumbnails worked on dev, but not on prod. So much for "reproducibility" lol. There must be an issue I'm overlooking.Printing out the $error value returned by shell_exec_error on both the pdf and txt branches might prove worthwhile.
Anonymous 2021-01-19 (Tue) 01:21:43 No. 1732
To show the catalog post form without JS: #post-form-container { display: block !important; }
Anonymous 2021-01-19 (Tue) 01:33:37 No. 1733
>>1732 Shit. Forgot about that. Will add in pull request.
Anonymous 2021-01-19 (Tue) 01:36:43 No. 1734
Quick question. If we self-hosted gitlab or some other git repo software, would people be more inclined to contribute?
Anonymous 2021-01-19 (Tue) 01:38:50 No. 1735
>>1734 I was actually just shot posting when I talked shit about GitHub. I don’t really care and it won’t affect whether I contribute or not.
Anonymous 2021-01-19 (Tue) 01:43:13 No. 1736
Hey, can mods post user stats for today
Anonymous 2021-01-19 (Tue) 03:38:55 No. 1737
>>1736 Good luck trying to get those hoes to respond
ak-47 AK-47 Anonymous 2021-01-19 (Tue) 12:59:14 No. 1738
About those iconv errors
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/8a2f3a00282a477204028b491090cab5dec32f65 and about the mod_edit_post commented block changes quietly sneaked into the "Protect IPs in public moderation logs" commit
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/6d43a7f62bafc8a86405d43de7c30d469825b9bf $ git show -w 6d43a7f62bafc8a86405d43de7c30d469825b9bf
The codebase assumes that the internal multibyte character encoding for PHP strings is UTF-8. If either default_charset or mbstring.internal_encoding are set to something else in php.ini, you'll get occasional charset errors like those two. This is only a remote possibility since UTF-8 is most likely already set, but it's also quick and easy to rule out.
https://www.php.net/manual/en/ini.core.php#ini.default-charset https://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding Further UTF-8 checklist:
https://stackoverflow.com/questions/279170/utf-8-all-the-way-through#279279 >>1734 You already get more contributions than you reasonably have time for, including single-line changes posted in this thread that would close an issue. Your bottleneck is the small number of people with commit rights to the repo. For an example of what happens when you increase the contributions but keep that bottleneck see the youtube-dl repo.
+ zombie threads in catalog
>>1691 + post quote ending an orange quote
>>1722 in issues but not resolved yet:
+ pdf and txt thumbnails #110 #129
>>1593 >>1673 >>1675 + original file name downloads for non-JS users #128
>>1499 + track order #63 webm error 2
>>1337 + arabic characters #125
>>1517 + semirand omitted counts #136
>>1635 [in PR]
+ bumplock and full markers #147
>>1662 [in PR]
FILTERTHIS 2021-01-19 (Tue) 13:31:55 No. 1739
>>1738 >and about the mod_edit_post commented block changes quietly sneaked into the "Protect IPs in public moderation logs" commit holy shit that was not supposed to get in
Anonymous 2021-01-19 (Tue) 13:39:40 No. 1740
>>1738 I think the issue might be that the DB connection charset is not set. I was looking into that but I'm not exactly sure how or where to set that.
Anonymous 2021-01-19 (Tue) 20:11:07 No. 1741
Is it just me or is the increased activity making the site slower?
Anonymous 2021-01-19 (Tue) 20:13:25 No. 1742
>>1741 Works faster than ever for me.
Anonymous 2021-01-19 (Tue) 23:06:20 No. 1743
Extremely minor issue but hiding posts does not work for me.
Anonymous 2021-01-19 (Tue) 23:41:52 No. 1744
>>1740 As in the UTF-8 checklist link above and in the link in issue #193, that is certainly worth trying. However the iconv EILSEQ 84 errors in slugify happened on data coming in from the post form before it touched the database, which is why php.ini is worth a quick glance. You can also check the internal multibyte character encoding for PHP strings by looking at the bin2hex of the $slug just before "// Transliterate local characters" in slugify. For the U+1F44D THUMBS UP SIGN from the error string in issue #50 you must get f09f918d. You can control the $slug via the Subject field.
$ python3
>>> b = b'\xF0\x9F\x91\x8D' >>> b.decode ('utf-8') ''
$ php7.2 -r 'var_dump (bin2hex (""));'
string(8) "f09f918d"
Anonymous 2021-01-20 (Wed) 17:26:46 No. 1745
Sorry for being captain obvious but could we maybe have some anti-spam measures like:>a captcha you have to fill in to make a thread >a cap on the amount of threads that can be made in a hour?
Anonymous 2021-01-20 (Wed) 17:56:27 No. 1746
>>1745 >>a captcha you have to fill in to make a thread i thought we already had this?
Anonymous 2021-01-20 (Wed) 19:03:53 No. 1749
There's some issue with Cloudflare fucking up and giving me a 450 error after I do the captcha. The site url has a load of gibberish data in it relating to the captcha but entering the normal site link works, so it's nothing too serious. It just gives the impression that the site is broke.
Anonymous 2021-01-20 (Wed) 19:25:37 No. 1750
Individual board backups would be nice
Anonymous 2021-01-20 (Wed) 21:50:20 No. 1751
>>1750 there actually are individual backups, jannies can choose to reset only 1 board (allegedly)
Anonymous 2021-01-20 (Wed) 22:37:15 No. 1753
>>1752 Yeah it seems to have something to do with the way (you)s are calculated. The post numbers of your old posts are saved to you, so if someone else now gets your old post number, it's displayed as (you).
Anonymous 2021-01-21 (Thu) 00:08:20 No. 1754
>No auto refresh yet Cringe
Anonymous 2021-01-21 (Thu) 00:39:44 No. 1756
move the "Unique IPs" shit to the right side with the reply and image counts, it's distracting and making me want to stick with bunkerchan only
Anonymous 2021-01-21 (Thu) 01:20:34 No. 1757
>>1756 >bunkerchan Why? Stop posting there. Do you seriously have no discipline?
Anonymous 2021-01-21 (Thu) 03:43:46 No. 1758
>>1754 there is auto refresh actually, theres just no timer displayed
Anonymous 2021-01-21 (Thu) 04:26:13 No. 1759
>>1755 Here are some old posts from lainchan with some anon explaining the posts below the line bug #207 as it existed back then, as well as a few related bugs. Parts of the explanation are likely to still apply to the current leftypol.
2019-03-13 14:51:52 No.12838
The new post insertion in auto-reload.js >>12829 is wrong.
if ($("div.post").length > 1){
$(this).parent().insertAfter($('div.post:not(.post-hover):last').parent().next()).after('<br class="clear">');
}
else {
$(this).insertAfter($('div.post:not(.post-hover):last')).after('<br class="clear">');
}
The structure of div.thread in a thread page without JS is defined by templates/post_thread.html, templates/post_reply.html and templates/post. It looks like this:
a.post_anchor
div.files
div.post.op
repeat (
div.postcontainer
<br/> ) for every reply
<br class="clear"/> <hr/> https://github.com/lainchan/lainchan/blob/master/templates/post_thread.html https://github.com/lainchan/lainchan/blob/master/templates/post_reply.html One issue is that the 'after' calls should use '<br/>' as used by templates/post_reply.html. The '<br class="clear"/>' is only used once by templates/post_thread.html, to separate the horizontal rule / thematic break, and it would have lacked the closing slash anyway. More importantly, the else branch inserts the wrong element. It inserts the div.post.reply instead of the div.postcontainer, which is its .parent(). And while the insertion point is correct, right after the only div.post, that :last can be removed and an .op class added before the :not, which will be faster.
The effect of inserting the wrong element, div.post.reply, is that the next insertion, which will take the first branch, will find that the last reply's .parent() is the div.thread, the .next() is the div.thread-interactions, and will insert after that, completely outside the reply list. This is the mechanism by which replies can end up under the separator line. This effect can be deterministically replicated by the following procedure.
- Go to a thread with a small number of replies, not less than two, with scripts enabled. E.g. >>12786
- Uncheck the auto update box.
- Inspect the page and delete the div.postcontainer elements and the br elements immediately following each one, leaving only the op.
- Click '[Update]'.
You will see the replies from the second onward go under the reply area, below the separator and some links. Inserting the .parent() on the else branch will fix this.
2019-03-13 21:57:10 No.12844
For some light entertainment, the >>12838 test can be performed on a thread with a large number of replies. The deletion can be performed by
$('div.postcontainer').remove ();
$('div.thread > br:not(.clear)').remove ();
which reduces the thread to the op. Clicking '[Update]' then demonstrates the effect.
2019-03-17 04:09:58 No.12885
Here is one mechanism that will cause auto-reload.js >>12829 to skip posts when updating. When polling the thread is reread via ajax and the replies are looped over and added if they pass this test:
$(data).find('div.post.reply').each(function() {
var id = $(this).attr('id');
if($('#' + id).length == 0) {
This seems reasonable in isolation, since it avoids readding existing replies. The problem appears in js/post-hover.js which attempts to support hovering over crossboard links.
https://github.com/lainchan/lainchan/blob/master/js/post-hover.js If a linked post is hovered and not already present in this thread, its thread is obtained via ajax and then:
var mythreadid = $(data).find('div[id^="thread_"]').attr('id').replace("thread_", "");
if (mythreadid
= = threadid && parentboard
= = board) {
$(data).find('div.post.reply').each(function() {
if($('[data-board="' + board + '"] #' + $(this).attr('id')).length == 0) {
$('[data-board="' + board + '"]#thread_' + threadid + " .post.reply:first").before($(this).hide().addClass('hidden'));
}
});
}
else if ($('[data-board="' + board + '"]#thread_'+mythreadid).length > 0) {
$(data).find('div.post.reply').each(function() {
if($('[data-board="' + board + '"] #' + $(this).attr('id')).length == 0) {
$('[data-board="' + board + '"]#thread_' + mythreadid + " .post.reply:first").before($(this).hide().addClass('hidden'));
}
});
}
else {
$(data).find('div[id^="thread_"]').hide().attr('data-cached', 'yes').prependTo('form[name="postcontrols"]');
}
If the post belongs to this thread, or to a thread already stored in this one, it is added as a hidden post to the top of its thread in reverse order. If the post belongs to another thread not yet stored in this one, its entire div.thread is added as a hidden element to the top of the postcontrols form. This can be observed in the new CA thread >>12868 where someone linked the old one from the archive. Before hovering over the archive link the postcontrols form starts with the hidden input and div.thread#thread_9558. After hovering over the archive link the postcontrols form acquires a hidden div.thread#thread_17 as its first child. In this particular case this will not be a problem, because all post numbers in the old thread are lower than all post numbers in the new thread.
The problem is that while post numbers are unique within a board, they are not unique across boards. By storing a foreign thread in the current one, post-hover.js risks duplicating post numbers and thus duplicating ids, which is already illegal in plain HTML. The id namespace of a page is flat, so care must be taken to separate ids that use the same post number. For example, templates/post_reply.html uses #pcNNN for post containers and reply_NNN for replies.
https://github.com/lainchan/lainchan/blob/master/templates/post_reply.html The same care is not exercised by post-hover.js with crossboard post numbers, which can collide. This lack of namespacing of crossboard ids in a flat page id space was introduced by czaks on Aug 5 2013 in commit:
https://github.com/lainchan/lainchan/commit/185e68de47210b9886d87196832d166ff85dc72c Auto-reload.js can skip posts like this. If the current thread has a crossboard link to a thread with higher ids, that thread is stored in the current one upon hover. If the current thread then receives a new reply with a post number that is already used in the foreign thread, that reply will not pass the insertion test and auto-reload.js will not add it, believing it to be already present.
The solution is to either have post-hover.js use a different storage location for foreign threads, outside the DOM, or to apply namespacing to all ids inserted from foreign threads, using their board name. For example, the foreign thread's div.thread could be traversed and any id modified with the foreign board name as a prefix or suffix. The same scheme would then be used for looking up foreign posts.
No offense to the original Tinyboard crew but the architecture of JS extensions is looking increasingly like a haphazardly thrown together pile of good intentions, held up by hope and faith.
2019-03-17 12:32:38 No.12887
Experimental verification of >>12885. On the test board, a music post is linked that is in a thread that contains the next post number from the test thread. The next test post is the skip test. This procedure follows:
- Uncheck auto reload.
- Inspect the page and remove the skip test post's postcontainer and br.
- Enabling auto reload brings in the removed post as if it were a new reply.
- Uncheck auto reload again.
- Remove the skip test post again.
- Hover the music post's link and wait for the overlay to load.
- Enabling auto reload does not bring in the removed post. Instead, the countdown interval is doubled.
This happens because the removed post's id was added by post-hover.js as part of the hidden copy of the music thread. So auto-reload.js considers that reply to be already present and sees nothing that needs to be inserted. To verify this final state:
>> $('#reply_725')Object { 0: <div#reply_725.post.reply>, length: 1, context: HTMLDocument → 528.html, selector: "#reply_725" }
>> $('#reply_725').parent ().parent () Object { 0: <div#thread_667.thread>, length: 1, prevObject: Object, context: HTMLDocument → 528.html }
>> $('#reply_725').parent ().parent () [0].attributes NamedNodeMap [ data-board="music", id="thread_667", class="thread", style="display: none;", data-cached="yes" ]
2019-03-20 11:32:23 No.12913
The new post insertion in ajax.js is even more broken than in auto-reload.js >>12838.
https://github.com/lainchan/lainchan/blob/master/js/ajax.js $(data).find('div.post.reply').each(function() {
var id = $(this).attr('id');
if($('#' + id).length == 0) {
$(this).insertAfter($('div.post:last').next()).after('<br class="clear">');
- The insertion needs the branching that handles OP-only threads.
- The inserted element has to be the parent div.postcontainer instead of the div.post.reply.
- The insertion point is explained in the linked post.
- The 'after' should be the '<br/>' used by templates/post_reply.html.
Since this is causing trouble and is used in at least two places, it might be worth factoring out into a function.
2019-03-29 00:51:32 No.13036
In addition to a mechanism that causes auto-reload.js to skip >>12885 posts, here is one mechanism that causes posts to appear out of order. Clicking on '[Last 50 Posts]' on an index page loads a page like
https://lainchan.org/%CE%BB/res/10399+50.html with the OP and the last 50 replies – choosing a large thread. If one of the loaded posts is deleted between updates, usually one of the last ones, and no new posts are made in the same update interval, the next update will fetch a 50-post slice that has moved back by one position. The first post of the new slice has a post number smaller than the first displayed reply and is not in the current DOM, so auto-reload.js will consider it a new post, and just like any other new post it will be added to the end of the thread. This causes it to be out of order. To replicate this open a +50.html page, uncheck auto update, then inspect and remove the first reply's postcontainer and br. This is equivalent to having had the last reply of the incremented slice removed. Clicking '[Update]' then brings in a lower numbered post, into the last position.
To deal with this in the general case, binary search can be used to find the insertion point that maintains the sorted list invariant at every step. To accelerate the most common case of a new reply, the higher end can be tested first. To avoid each inserter script having to reinvent the wheel, sorted post insertion that correctly handles OP-only threads should be moved into a common utility function.
Anonymous 2021-01-21 (Thu) 09:14:30 No. 1760
Make it so that we can watch videos hosted on google drive and other places on cytube. cytu.be has this feature, therefore it is possible. Having a "watch party" for YouTube is redundant, because you can do that on YouTube and other sites. cytube is for watching pirated movies and shows with people. how do you not understand this?
Anonymous 2021-01-21 (Thu) 09:38:49 No. 1761
>>1760 Mate. We have a tiny team of devs that work day jobs and have social lives, and on top of that we've been here for a month. Plus devs shit post too. (At least I do). We get that the specific cytube feature you mention is important. A mod has repeatedly asked us to work on it. It is high on the list. Please be patient, but keep insisting, we are listening and it is useful to prioritize issues.
Anonymous 2021-01-21 (Thu) 10:05:41 No. 1763
>>1758 >theres just no timer displayed Yes there is.
Anonymous 2021-01-21 (Thu) 15:49:32 No. 1765
Add an option to toggle between serif and sans-serif.
Anonymous 2021-01-21 (Thu) 23:01:32 No. 1768
>>1761 >>1767 That's all you had to say, thanks.
Anonymous 2021-01-22 (Fri) 03:03:54 No. 1769
Any updates on additional flags?zapatista Zapatista
Anonymous 2021-01-22 (Fri) 03:11:55 No. 1770
whats thread full mean
Anonymous 2021-01-22 (Fri) 03:58:25 No. 1771
>>1770 thread is now bumplocked but you can still post in it.
this thread is pinned so it doesn't do anything.
Warrant Canary is now active on the homepage
Top bar now has a link to the cytube
Mod mass deletion tools
Delete by IP should be faster (it was prohibitively slow.)
Deletion of deprecated Tomorrow theme.
Viewing posts by IP used to have a limit of 5 per board. removed limitation.
Fixed 'marxis' spelling mistake on the homepage that was driving everyone nuts
Gzip and Bzip2 files are now uploadable.
We will now be more indexable by Google.
Overboard now shows accurate omitted post and file count.
We now have bumplock indicators?
Anonymous 2021-01-22 (Fri) 04:01:03 No. 1772
>>1770 There are two conditions which can make a thread not bump:
1. A mod sets the thread's sage flag. This is (sage).
2. The reply count exceeds the reply limit for bumping. This is (full).
Without a marking for 2. a thread could be in nobump behavior without having sage set and without any visual indicator.
Anonymous 2021-01-22 (Fri) 04:07:56 No. 1773
> this thread is pinned so it doesn't do anything. This is inaccurate. It has an effect among sticky threads. This is why "Welcome Thread + Feedback" stays above this one.
Anonymous 2021-01-22 (Fri) 20:53:57 No. 1775
To add reply limit nobump markers to index pages and thread view pages as well, templates/post_thread.html needs to consider the circumstances in which it might be invoked. The thread might have no replies. The thread view page is handed all replies. The index page is only handed preview replies, and there may or may not be omitted replies. This should take care of these cases:
[code]
{% if post.posts %}
{% set postpostscount = post.posts|length %}
{% else %}
{% set postpostscount = 0 %}
{% endif %}
{% if index %}
{% if post.omitted %}
{% set totalreplycount = postpostscount + post.omitted %}
{% else %}
{% set totalreplycount = postpostscount %}
{% endif %}
{% else %}
{% set totalreplycount = postpostscount %}
{% endif %}
{% if (config.reply_limit > 0) and (totalreplycount >= config.reply_limit) %}
<i title="no bump due to reply count">(full)</i> {% endif %}
[/code]
A reasonable place to put this is between the sage and cycle blocks:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/4f99268548965fc5756568185909c0cc93121dba/templates/post_thread.html#L41 + zombie threads in catalog
>>1691 + post quote ending an orange quote
>>1722 in issues but not resolved yet:
+ pdf and txt thumbnails #110 #129
>>1593 >>1673 >>1675 + original file name downloads for non-JS users #128
>>1499 + track order #63 webm error 2
>>1337 + arabic characters #125
>>1517 + UTF-8 troubles #193
>>1738 >>1744 + posts below the line and related #207
>>1759 Anonymous 2021-01-23 (Sat) 11:05:16 No. 1776
To check small pieces of template code on the command line from the leftypol_lainchan root, without having to put them into files:
$ twig () { php7.2 -r 'require "inc/lib/Twig/Autoloader.php"; Twig_Autoloader::register(); $loader = new Twig_Loader_Array(["test.html" => '"$1"']); $twig = new Twig_Environment($loader); var_dump($twig->render("test.html", '"${2:-[]}"'));'; }
$ twig '"Hello, {{ name }}!"' '["name" => "Anonymous"]'
string(17) "Hello, Anonymous!"
For example join of version 1.37 is supported:
https://twig.symfony.com/doc/1.x/filters/join.html $ twig '"{{ (0..9)|join }}"'
string(10) "0123456789"
But map of version 1.41 doesn't appear to be supported:
https://twig.symfony.com/doc/1.x/filters/map.html $ twig '"{{ (0..9)|map(v => v) }}"'
PHP Fatal error: Uncaught Twig_Error_Syntax: Unexpected token "operator" of value ">" in "test.html" at line 1. in leftypol_lainchan/inc/lib/Twig/ExpressionParser.php:211
Anonymous 2021-01-23 (Sat) 20:45:23 No. 1778
is it possible to have embed option available in quick reply box so I can stop being outed as newfag?
Anonymous 2021-01-23 (Sat) 21:26:36 No. 1779
bruh
I notice that lainchan's default captcha system is recaptcha so I assume that's why you won't turn it on, if you are hard pressed for an alternative here is one coded for lainchan that was never integrated because an alternative was coming Soon™. Securimage is open source so it should be fine for your uses.
https://github.com/lainchan/lainchan/pull/146 Anonymous 2021-01-24 (Sun) 01:07:39 No. 1780
would it be possible to add a spoiler option to the quick reply checkbox? having it only appear on the reply box at the top of the page is unintuitive
Anonymous 2021-01-25 (Mon) 02:36:58 No. 1783
>>1782 yes it needs to say something along the lines of "whoopsie daisy ^__^;;;; the server ated this page"
Anonymous 2021-01-25 (Mon) 09:03:22 No. 1784
>>1783 I was thinking of adding one of those doctored USSR images.
Anonymous 2021-01-25 (Mon) 10:46:18 No. 1785
>>1784 >stalin standing next to /leftypol/-logo-head person. >stalin standing next to . I like it.
juche Juche Anonymous 2021-01-25 (Mon) 10:47:21 No. 1786
>>1785 (actually I think just the stalin with erased person is famous enough by itself)
juche Juche Anonymous 2021-01-25 (Mon) 10:47:27 No. 1787
To fix
>>1777 "ICC profile tag start not a multiple of 4" can be added to the two exceptions already present at:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/inc/image.php#L367 > "known incorrect sRGB profile" > "iCCP: Not recognizing known sRGB profile that has been edited" The image's iCCP chunk is disliked by the libpng version used by ImageMagick/GraphicsMagick:
$ identify sage.png
sage.png PNG 1596x1918 1596x1918+0+0 8-bit sRGB 376KB 0.000u 0:00.010
identify-im6.q16: iCCP: profile 'ICC Profile': 'desc': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'wtpt': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'bkpt': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'rXYZ': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'gXYZ': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'bXYZ': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'dmnd': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'dmdd': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'vued': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'view': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'lumi': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'meas': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'tech': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'rTRC': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'gTRC': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
identify-im6.q16: iCCP: profile 'ICC Profile': 'bTRC': ICC profile tag start not a multiple of 4 `sage.png' @ warning/png.c/MagickPNGWarningHandler/1654.
Without the iCCP chunk the image is accepted:
>>>/meta/2580 The image's exif data from the zTXt chunk claims it was produced by GIMP 2.10.18. The message that ends up in the error is only a warning in IM which doesn't prevent thumbnailing, but for separate reasons shell_exec_error considers any stderr output an error.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/inc/functions.php#L2622 The logic in shell_exec_error is wrong in that it first removes the TB_SUCCESS marker and after that it checks for the marker's presence.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/5300ffadf1c7faf3f505a585f2223fb6448b86bf > Author: Michael Foster <[email protected] > > Date: Sat Aug 3 20:34:59 2013 -0400 The return must only be false if the TB_SUCCESS marker is present and is the only output, but the function currently returns the empty string when the $command fails with a nonzero exit code.
The logic of the color profile exceptions is also wrong, because their presence gives any other error in the output a free pass. After the exceptions are allowed $error might not end up being empty.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/6052ed8d3d6b39e870fdb403584f05efde7d91c8 > Author: 8chan <[email protected] > > Date: Sat Oct 11 15:41:16 2014 -0700 To preserve other warnings or errors:
function allow_profile_warnings ($error) {
return implode ("\n", array_filter (explode ("\n", $error), function ($line) {
return ($line !== '') &&
(strpos ($line, 'known incorrect sRGB profile') === false) &&
(strpos ($line, 'Not recognizing known sRGB profile that has been edited') === false) &&
(strpos ($line, 'ICC profile tag start not a multiple of 4') === false);
}));
}
$ php7.2 -f test.php "$(echo "identify-im6.q16: iCCP: profile 'ICC Profile': 'desc': ICC profile tag start not a multiple of 4 'sage.png' @ warning/png.c/MagickPNGWarningHandler/1654."; echo "some error"; echo "libpng warning: iCCP: Not recognizing known sRGB profile that has been edited"; )"
string(10) "some error"
+ zombie threads in catalog
>>1691 + post quote ending an orange quote
>>1722 in issues but not resolved yet:
+ pdf and txt thumbnails #110 #129
>>1593 >>1673 >>1675 + original file name downloads for non-JS users #128
>>1499 + track order #63 webm error 2
>>1337 + arabic characters #125
>>1517 + UTF-8 troubles #193
>>1738 >>1744 + posts below the line and related #207
>>1759 + reply limit nobump markers in index and thread view #147
>>1775 Anonymous 2021-01-25 (Mon) 16:36:48 No. 1790
Why have you still not disabled youtube embed?
Anonymous 2021-01-25 (Mon) 18:09:42 No. 1791
>>1790 Have we not? Do you not want people to be able to embed it at all?
Anonymous 2021-01-25 (Mon) 18:46:37 No. 1792
>>1791 Is the error message not showing 24/7 on overboard and/or catalog when using Firefox? I'm using Tor Browser and the "connection not secure" (youtube embed breaking the TLS and onion connection open by leaking data directly to Google's servers) message is there whenever a youtube clip, embedded, is displayed on whatever page I'm on (so basically 24/7 for most people, as they're using catalog / overboard like sensible people).
It's easily reproducible (and I've explained this before): go to Catalog of /leftypol/ and click on the 'site info' button left of the URL box.
If you're using Firefox please screenshot and share what you see on your end like I did.
Chrome doesn't display this type of thing IIRC, as it would go against Google's economic self-interest (Google breaks your security for you , after all). Anonymous 2021-01-25 (Mon) 19:58:21 No. 1793
>>1792 I'm using a hardened version of firefox and it doesn't display this error for me. I encountered this once on the tor browser, but, only once. Did you post a fix already? Also, I know this is an issue we need to fix and we will, but, I always have to recommend using tor in conjunction with a VPN, or, even Lokinet. There's apparently a fix already in this thread.
Anonymous 2021-01-25 (Mon) 20:53:02 No. 1794
>>1793 Vanilla Tor browser, also getting it.
e.g. >>57652
I know some sites like kddit are able to embed the video instead of using the YouTube frame, resulting in a secure connection.
e.g.
http://kddit.kallist4mcluuxbjnr5p2asdlmdhaos3pcrvhk3fbzmiiiftwg6zncid.onion/r/deepintoyoutube juche Juche Anonymous 2021-01-25 (Mon) 21:07:41 No. 1795
>>1793 >I'm using a hardened version of firefox and it doesn't display this error for me. I'm assuming you're using some addons that heavily restricts Google trackers or their functionality.
>>1794 >I know some sites like kddit are able to embed the video instead of using the YouTube frame, resulting in a secure connection. Good tip. Until something like this is implemented please turn it off mods.
Anonymous 2021-01-26 (Tue) 00:29:15 No. 1797
fix the favicon so its not that anime chick
Anonymous 2021-01-26 (Tue) 10:05:51 No. 1799
>>1797 >fix This word erroneously implies the current favicon choice is broken and not excellent.
think Think Anonymous 2021-01-26 (Tue) 20:43:09 No. 1800
The quick reply spoiler
>>1789 problem is due to this bit:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/js/quick-reply.js#L264 > $postForm.find('input[type="file"]').parent() > .removeAttr('colspan') > .after($('<td class="spoiler"></td>').append(this, ' ', $('<label for="q-spoiler-image">').text(_('Spoiler Image')))); Without file-selector.js this works, but with file-selector.js there is no input[type="file"] in $postForm, so the spoiler is reparented to the new td.spoiler which is then added to nothing. The lack of input[type="file"] can be detected and the spoiler put somewhere else in that case.
>>1788 >site with default dark theme >brightly lit 404 image Anonymous 2021-01-26 (Tue) 23:40:56 No. 1801
The quick reply spoiler #213
>>1800 can be fixed for the file-selector.js case by replacing the unconditional use of input[type="file"]:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/js/quick-reply.js#L264 [code]
$postFormFile = $postForm.find('input[type="file"]');
if ($postFormFile.length) {
$postForm.find('input[type="file"]').parent()
.removeAttr('colspan')
.after($('<td class="spoiler"></td>').append(this, ' ', $('<label for="q-spoiler-image">').text(_('Spoiler Image'))));
} else {
$postForm.find('div.banner').append(' ', $('<span></span>').attr("title", _('Spoiler Image')).append(this, $('<label for="q-spoiler-image">').text("SI")));
}
[/code]
Someone willing to fiddle with the #quick-reply CSS is welcome to place the spoiler in a different location. Until a backend fix the following can be added to Options -> User JS, since quick reply needs JS anyway:
[code]
(() => {
const addspoiler = () => {
$qr = $('#quick-reply')
if (($qr.length == 0) || ($qr.find('input[name="spoiler"]').length != 0)) return;
$qr.find('div.banner').append(' ', $('<span></span>').attr("title", _('Spoiler Image')).append($('<input id="q-spoiler-image" name="spoiler" type="checkbox">'), $('<label for="q-spoiler-image">').text("SI")))
};
addspoiler()
$(window).on('quick-reply', addspoiler)
})()
[/code]
+ zombie threads in catalog
>>1691 + post quote ending an orange quote
>>1722 + ICC profile error
>>1787 in issues but not resolved yet:
+ pdf and txt thumbnails #110 #129
>>1593 >>1673 >>1675 + original file name downloads for non-JS users #128
>>1499 + track order #63 webm error 2
>>1337 + arabic characters #125
>>1517 + UTF-8 troubles #193
>>1738 >>1744 + posts below the line and related #207
>>1759 + reply limit nobump markers in index and thread view #147
>>1775 Anonymous 2021-01-27 (Wed) 03:35:26 No. 1802
>>1795 we're literally working on a fix like this, lol.
Anonymous 2021-01-27 (Wed) 13:16:36 No. 1803
Catalog links
>>1088 >>1449 in div.boardlist, client-side JS version:
[code]
Array.from (document.querySelectorAll ("div.boardlist a")).filter (a => a.hasAttribute ("href")).forEach (a => {
href = a.getAttribute ("href")
ma = href.match (/^(\/[^\/]+\/)index.html$/)
if (ma != null) {
cata = ma [1] + "catalog.html"
} else if (href == "/overboard/") {
cata = "/overboard/catalog.html"
} else {
cata = null
}
if (cata != null) {
e = document.createElement ("a")
e.setAttribute ("href", cata)
e.innerText = "+"
a.insertAdjacentElement ("afterend", e)
}
})
[/code]
Anonymous 2021-01-27 (Wed) 19:57:31 No. 1804
What's the current situation with the sync/cytube and hosting from non-embed sources? IIRC there's supposed to be a function where you upload a file or use a file on cloud storage like google drive. How do you do that? With the Movie Night and Lecture channels we've run into age restrictions and copyright nonsense stopping the video from embedding, and we want to find workarounds to it. Also in general it would be tight to be able to play stuff that's not publicly available.
Anonymous 2021-01-27 (Wed) 22:15:38 No. 1805
I noticed "Hide Post" doesn't work. Also, hiding a thread still shows its replies.
Anonymous 2021-01-27 (Wed) 23:59:10 No. 1807
Catalog links
>>1088 >>1449 in div.boardlist, backend version, regular boards:
Replace
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/inc/display.php#L40 $body .= ' <a href="' . $root . $actual_board . '/' . $config['file_index'] . '"'.$title.'>' . $board . '</a>' . ($config['catalog_link'] ? ('<a href="' . $root . $actual_board . '/' . $config['catalog_link'] . '">+</a>') : '') . ' /';
Replace
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/inc/display.php#L48 $body .= ' <a href="' . $root . $board . '/' . $config['file_index'] . '"'.$title.'>' . $board . '</a>' . ($config['catalog_link'] ? ('<a href="' . $root . $board . '/' . $config['catalog_link'] . '">+</a>') : '') . ' /';
For /overboard/ append
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/inc/display.php#L78 $body = preg_replace('!<a href="/overboard/">overboard</a>!', '$0<a href="/overboard/catalog.html">+</a>', $body);
Options -> User JS version until a backend fix:
>>1803 Anonymous 2021-01-28 (Thu) 00:50:50 No. 1808
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/216 >(instead of index links) You just made that up, mate. The index links aren't touched.
Anonymous 2021-01-28 (Thu) 01:14:54 No. 1809
>>1805 >>1806 #215
>I noticed "Hide Post" doesn't work. The unhide branch has a show(ele) call after blacklist.remove.post:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/js/post-filter.js#L254 but the hide branch is missing a hide(ele) call after blacklist.add.post:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/js/post-filter.js#L260 >Also, hiding a thread still shows its replies.This appears to be the intended behavior:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/53769d8f3a966db48b4c8f562203187053e5fe59/js/post-filter.js#L184 > $ele.parent().find('.body, .files, .video-container').not($ele.children('.reply').children()).hide(); The code deliberately exempts the children, otherwise you couldn't hide the OP alone.
Anonymous 2021-01-28 (Thu) 01:34:23 No. 1810
The onion address is currently unreachable.>The most likely cause is that the onionsite is offline. Contact the onionsite administrator.
Anonymous 2021-01-28 (Thu) 02:52:21 No. 1811
>>1810 fixed
>>1801 >#110 This issue seems fixed? We didn't actually change anything to this. Not sure what the problem was but apparently it's working now.
>#63 In PR now. We've made basic tests and appears to be working.
Anonymous 2021-01-28 (Thu) 04:05:56 No. 1812
WHERE ARE THE FLAGS, EGGMAN? YOU SAID THERE WOULD BE FLAGS!
Anonymous 2021-01-28 (Thu) 04:21:23 No. 1813
>>1811 > #63 PR + #110 Thanks.
>>>/anime/5920