[ overboard / sfw / alt / cytube] [ leftypol / b / hobby / tech / edu / games / anime / music ] [ meta ] [ GET / ref]

/tech/ - Technology

"Technology reveals the active relation of man to nature"
Name
Email
Subject
Comment
Flag
File
Embed
Password (For file deletion.)


File: 1612129656526.gif (2.28 MB, 224x240, 1608608621350.gif)

 No.6724[View All]

This thread is only for feedback related to technical issues(bug reports, suggestions). Otherwise use >>>/leftypol/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

Archived thread:
>>>/leftypol_archive/903
64 posts and 23 image replies omitted. Click reply to view.
>>

 No.7026

Some minor nitpicks/ideas about the onion:

On the index page for the news sections etc, leftypol.org links are not replaced with the onion.

Also with the index page and site in general, it might be worthwhile having a specific filter to replace links that have known onions for when accessing leftypol from its onion. Example would be marxists.org and archive.is both have onions, respectively: http://www.marxist7mbr3mbaj.onion http://archivecaslytosk.onion

Font Awesome and other icon fonts do not display in Tor Browser when its set at the safest security levels. SVGs are disabled as well

Continuing the idea of link replacements, might be good idea for reddit, twitter, and youtube links to be replaced on the fly to respective random instances for their privacy-oriented frontend alternatives: https://codeberg.org/teddit/teddit https://github.com/zedeus/nitter/wiki/Instances https://github.com/iv-org/documentation/blob/master/Invidious-Instances.md All three have onions listed.
>>

 No.7050

>>7026
V2 onions are about to expire.
>>

 No.7066

My suggestion is that we make it so it previews the flag you choose, so we lesson the chance we pick the wrong flag and it tells the new anons watch each flag looks like.
>>

 No.7071

File: 1616240322726.txt (655 B, issue-125-patch.txt)

>>6890
> It also helps to attach patches (as .txt) so that they're easier to apply.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/238
> Commit the patch from issue 229 #238

Here's #125 >>>/leftypol_archive/1517
>>

 No.7096

would it be complicated to add mathjax support? I want to start more technical thread and simply attaching latex rendered image seems unwieldy.
>>

 No.7106

File: 1616527912107.png (555.04 KB, 633x550, 13a504621c2edd4fe7ec52dcc4….png)

> Failed to resize image! Details: gm convert: iCCP: profile 'ICC Profile': 'RGB ': RGB color space not permitted on grayscale PNG (/tmp/phparr3Fy).
When posting this: https://files.catbox.moe/0mhv8x.png
>>

 No.7107

The https://files.catbox.moe/0mhv8x.png >>7096 image is a type 0 grayscale png with an iCCP chunk holding 'RGB '.
$ identify rgb.png
rgb.png PNG 609x282 609x282+0+0 8-bit sRGB 256c 93.8KB 0.000u 0:00.020
identify-im6.q16: iCCP: profile 'ICC Profile': 'RGB ': RGB color space not permitted on grayscale PNG `rgb.png' @ warning/png.c/MagickPNGWarningHandler/1654.

Without the iCCP the image passes >>>/meta/3992. In IM this is only a warning which doesn't prevent thumbnailing.
$ convert rgb.png -thumbnail 200x200 rgbthumb.png
convert-im6.q16: iCCP: profile 'ICC Profile': 'RGB ': RGB color space not permitted on grayscale PNG `rgb.png' @ warning/png.c/MagickPNGWarningHandler/1654.
$ identify rgbthumb.png 
rgbthumb.png PNG 200x93 200x93+0+0 8-bit sRGB 15.2KB 0.000u 0:00.000

The entire >>>/leftypol_archive/1787 #221 applies with the additional exception string "'RGB ': RGB color space not permitted on grayscale PNG".
>>

 No.7372

test
>>

 No.7374

I wrote a small script to filter posts by flag. just posting it here for personal convenience so I can use it between devices. if you want to add or remove flags, just alter the "blocklist" and add or remove the strings that you see when you hover over the flags in question. might expand on it in the future to make it gui-based.
blocklist = ["Sandinista","Sabo-Tabby"]

x = document.getElementsByClassName("flag")
for(var i = 0; i < x.length; i++) {
  flag = x[i]
  if (blocklist.find(element => element == flag.title)) {
    flag.parentNode.parentNode.parentNode.style.display = "none";
  }
}
>>

 No.7375

>>7374
does the great-than symbol not work in code?
blocklist = ["Sandinista","Sabo-Tabby"]

x = document.getElementsByClassName("flag")
for(var i = 0; i < x.length; i++) {
  flag = x[i]
  if (blocklist.find(element => element == flag.title)) {
    flag.parentNode.parentNode.parentNode.style.display = "none";
  }
}
>>

 No.7376

x = document.getElementsByClassName("flag")
for(var i = 0; i < x.length; i++) {
flag = x[i]
if (blocklist.find(element => element == flag.title)) {
flag.parentNode.parentNode.parentNode.style.display = "none";
}
}
>>

 No.7382

>>7375
>does the great-than symbol not work in code?
see >>6933 >>6934
>>

 No.7390

>Could we have one spoiler checkbox per file instead of it spoilering all files in a post?
>Could the Embed field be on the quick reply box too?

Also
>>>4015
>>

 No.7391

>>

 No.7435

>>7390
>Could we have one spoiler checkbox per file instead of it spoilering all files in a post?
The storage model supports this with spoilers consisting of a per-file thumb value of 'spoiler'. >>>/anime/4442 The use of $_POST['spoiler'] in post.php for every file is relatively easy to upgrade.
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/1a6b26d2be19e430add273af00a0718fd41ef016/post.php#L1057
But after that every file with posting responsibilities would also have to be upgraded to allow for individual spoilers, among them multi-image.js, file-selector.js and quick-reply.js. This is only likely to be done by someone who needs that feature and regularly uploads multiple images, since multiple image upload is only available to begin with to those who regularly browse with remote code execution enabled.
>>

 No.7464

File: 1617038832156.png (134.01 KB, 1002x674, "no".png)

Is this really necessary?
I doubt it.
>>

 No.7465

Don't make a /mu/ board without fixing youtube embeds first
>>

 No.7521

>>6727
This issue has recurred. It's leaking on catalog, but not in overboard or in-thread. Pretty sure it's still to do with embeds bugging out.
>>

 No.7525

>>6824
>HELLLO. JANNIES. WHY CANT I HIDE INDIVIDUAL POSTS? ONLY THE OP OF THREADS WHICH IS GREAT BUT I WANT TO HIDE INDIVIDUAL POSTS IN THREADS
this still isn't fixed
>>

 No.7526

comrades, jump on the matrix and help out contributing code.

>>7525
there's a [-] button to hide the entire thread.
>>

 No.7528

>>

 No.7632

>>7465
>>6727
<done I think
>>

 No.7633

File: 1617493199624.png (Spoiler Image, 8.59 KB, 493x402, rl.png)

>>7632
Hey you
Yeah, you
I love you
<3
>>

 No.7634

Bugged link found (radio link to .ogg as JS?)
>>>/music/1174
>>

 No.7635

>>7634
Works ok for me, you realize it's a stream right?
>>

 No.7637

>>7635
Yes I know it's a stream, I'm saying how it was added to the site caused a bug, similar to >>6727
>>

 No.7641

(but obv has nothing to do with youtube this time)
maybe it's an underlying thing?
>>

 No.7651

Requesting a peertube instance with increased maximum tag count to be used as a booru. The webm thread sucks for searching.
It will also be fun to see how long it takes to get blocked by 'safe space' socialist instances
>>

 No.7683

>>7651
Does PeerTube even allow for more than 5 tags?
>>

 No.7855

>>6724
Is there a way to go to the Cytube on the .onion domain? I just tried butchering the URL together with a tv. prefix and it didn't seem to work. Not really a big deal but it would be preferable to stay on the Tor network than to shoot out an exit node.
>>

 No.7857

>>7855
Well the cytube has embedded content, I don't think that will work over tor anyway, I'm not sure it can be supported.
>>

 No.8225

https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/251
>Certain Posts with images do not stretch enough to fit the text #251
see >>6801 >>6803
>>

 No.8386

I don't see the update button at bottom of threads anymore ?
>>

 No.8406

>>8386
I do. What are you using?
Do you have any script blockers? Is your window larger than your screen?
>>

 No.8425

test
>>

 No.8631

File: 1621543189535.png (1.89 KB, 140x142, Screenshot_2021-05-20_22-3….png)

>>

 No.8772

>>8631
amogus
>>

 No.9096

File: 1623357174519.png (4.97 KB, 194x60, pls-do-this.png)

(reminder)
Pls do this
Thnks
>>

 No.9214

File: 1623700986087.png (74.49 KB, 1316x358, 000.png)

Please fix cytube config to allow direct streaming of videos, change picrel to true and avprobe respectively. Join https://cytu.be/r/ipfstest for an example of how it is supposed to work.
>>

 No.9253

>>6756
PeerTube now supports livestreaming. Even if we don't have our own instance, can cytube support PeerTube streams?
>>

 No.9478

File: 1624214509975.png (175.69 KB, 1291x637, ClipboardImage.png)

Very small thing but that I think would make a better user experience:
Put the title of the thread as the title of the page. It would make having multiple tab open much better.
>>

 No.9481

>>9478
(() =&gt; {
  const ops = document.querySelectorAll ("div.thread &gt; div.op")
  if (ops.length !== 1) return
  const sub = ops [0].querySelector ("span.subject")
  if (!sub) return
  document.title = sub.innerText
})()


>>6933 >>6934
>>

 No.9482

Also:
>// Show thread subject in page title.
>$config['thread_subject_in_title'] = false;
https://github.com/towards-a-new-leftypol/leftypol_lainchan/blob/9acdacbb352f6f515f454f851bab581baef8fe3c/inc/config.php#L929
>>

 No.9483

Update of catalog links in div.boardlist >>>/leftypol_archive/1803 for the new overboards:
Array.from (document.querySelectorAll ("div.boardlist a")).filter (a =&gt; a.hasAttribute ("href")).forEach (a =&gt; {
  const href = a.getAttribute ("href")
  const ma   = href.match (/^(\/[^\/]+\/)(index.html)?$/)
  let   cata = null
  if (ma != null) {
    cata = ma [1] + "catalog.html"
  }
  if (cata != null) {
    const e = document.createElement ("a")
    e.setAttribute ("href", cata)
    e.innerText = "+"
    if (a.hasAttribute ("title")) {
      e.setAttribute ("title", a.getAttribute ("title") + " - Catalog")
    }
    a.insertAdjacentElement ("afterend", e)
  }
})


>>6933 >>6934
>>

 No.9485

Update of
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/229
https://github.com/towards-a-new-leftypol/leftypol_lainchan/commit/237ad41fc02dded98ccde72c34ed3f87fb17186d
for the new overboards:
$('#Grid').mixItUp('sort', (((value == "random") || /^(overboard|sfw|alt)$/.test (board_name)) ? value : "sticky:desc " + value));

Or you might add a new JS var to signal an overboard.
>>

 No.9565

>>9478
>>9482
Sorry for not seeing this earlier. Incidentally, I was thinking of doing the same thing yesterday for both user experience and SEO purposes.

Unique IPs: 18

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ overboard / sfw / alt / cytube] [ leftypol / b / hobby / tech / edu / games / anime / music ] [ meta ] [ GET / ref]