[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / git ] [ GET / ref / marx / booru / zine ]

/tech/ - Technology

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

Join our Matrix Chat <=> IRC: #leftypol on Rizon


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 /meta/.
Public Repo:
https://git.leftypol.org/leftypol/leftypol
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:
76i2c3hn55fcj5nut3tqlboqqbbh23zvphv7lefk3vftpx6wketlanyd.onion

Cytube:
https://tv.leftypol.org

Matrix rooms:
https://matrix.to/#/#leftypolPublic: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
412 posts and 88 image replies omitted. Click reply to view.

 No.15364

About >>15357
> 2. Why do I have to select /siberia/ again in the search form?

The board parameter sent from search.php to search_form.html is called 'board':
https://git.leftypol.org/leftypol/leftypol/src/commit/631a5b5fc705252697734c74a69e9edffbd55bec/search.php#L18
> $body = Element('search_form.html', Array('boards' => $boards, 'board' => isset($_GET['board']) ? $_GET['board'] : false, 'search' => isset($_GET['search']) ? str_replace('"', '&quot;', utf8tohtml($_GET['search'])) : false));

But search_form.html tests for equality with 'b':
https://git.leftypol.org/leftypol/leftypol/src/commit/631a5b5fc705252697734c74a69e9edffbd55bec/templates/search_form.html#L10
{% for b2 in boards %}
    {% if b2 == b %}
    <option value="{{ b2 }}" selected>/{{ b2 }}/</option>
    {% else %}
    <option value="{{ b2 }}">/{{ b2 }}/</option>
    {% endif %}
{% endfor %}

If either the board parameter sent from search.php to search_form.html is renamed to 'b', or the equality test is switched to 'board', the search form should pick up the correct board as its initial selection.

 No.15365


 No.15374

>>15365
Maybe the global $board interferes with the twig template, although I can't see why it would, and we should just switch both the loop variable equality test target and the Element parameter to searchboard.

> Benjamin

This is the same Southall guy who adds parens around &&, which took precedence anyway, instead of >>>/leftypol_archive/1691 around the || chain:
https://git.leftypol.org/leftypol/leftypol/commit/1792bf48eec755ee9a07aa5bef5fbf1e27d406c4

 No.15377

>>15374
It's Appleman1234 of Lainchan fame.

I would just revert b89fe3046bfbc0d7db8e7e8773e92c0536417450.

 No.15464

The report function doesn't seem to be working on /leftypol/.
The /leftypol/ thread "Why is /pol/and so fucking right-wing?" Is overrun by /pol/yp raiders and constantly derailed. Mods don't react to reports. Could you please look into it and clean up?

 No.15636

>>15464
I know it fails on posts that have already been deleted (a refresh will show if that's the case), is this a different issue?

 No.15908


 No.16143

Bug report:
When you have set another theme from the default, the Rules and FAQ pages look atrocious / almost unreadable

 No.16145


 No.16149

>>16145
Dark Bunker Red, which is one of the very few dark themes with good contrast between the text v background, so please don't change anything else with it, it saved my eyes on here

 No.16159

You idiots do realize that Cloudflare is who shut down 8ch, right? Don't you think it'd be smarter to pick a different DDoS "protection" service?

 No.16161

>>16159
In general, complaining about something isn't really useful. If you're going to complain about something, it helps to have a plan to fix it, at least. Even better if you're willing to commit the work required to make it happen.

 No.16162


 No.16165

> the Rules and FAQ pages look atrocious / almost unreadable >>16143
> Dark Bunker Red >>16149
The relevant property of dark_bunker_red.css is that it lacks ban class styling. >>16145
https://git.leftypol.org/leftypol/leftypol/src/commit/858a501b1f652831feafd9b51c6f06c3b92e30a0/stylesheets/dark_bunker_red.css
The default dark_red.css has three div.ban sections.
https://git.leftypol.org/leftypol/leftypol/src/commit/858a501b1f652831feafd9b51c6f06c3b92e30a0/stylesheets/dark_red.css#L157

To fix add div.ban { … } and div.ban h2 { … } sections to Dev Tools → Style Editor → New Stylesheet while on the Dark Bunker Red theme, adjust the foreground and background colors as well as any other desired properties until the faq and rules pages are no longer "atrocious / almost unreadable", then once satisfied post the changes for inclusion into dark_bunker_red.css.
https://developer.mozilla.org/en-US/docs/Web/CSS/color#syntax

 No.16209


 No.16236

I just realized that this site is literally fully fucking functional without using JavaScript.

I want to give the devs a french kiss right now. A commie imageboard run by unpaid volunteers handles JavaScript better than most Fortune 500 websites.

 No.16239

>>16236
I thought all imageboards are fully functional without JS unless they add crap like recaptcha.

 No.16241

>>16239
I admittedly only really use 4chan so I can't speak for others, but with 4chan the catalog, posting (as you pointed out with the captcha part), and many other smaller little things don't work without JS. You can still browse and read but it's a much less pleasant experience than /leftypol/.

 No.16491

Why does the site now load when clicking >> links between posts in a thread? It's pretty annoying tbh

 No.16622

… U+2026 Po HORIZONTAL ELLIPSIS >>>/meta/22513 &hellip;

space >>16162
no space >>16162…

Happens here:
https://git.leftypol.org/leftypol/leftypol/src/commit/858a501b1f652831feafd9b51c6f06c3b92e30a0/inc/config.php#L557
// Automatically convert things like "..." to Unicode characters ("…").
$config['auto_unicode'] = true;

https://git.leftypol.org/leftypol/leftypol/src/commit/858a501b1f652831feafd9b51c6f06c3b92e30a0/inc/functions.php#L2076
if ($config['auto_unicode']) {
    $body = unicodify($body);

https://git.leftypol.org/leftypol/leftypol/src/commit/858a501b1f652831feafd9b51c6f06c3b92e30a0/inc/functions.php#L1976
function unicodify($body) {
    $body = str_replace('...', '&hellip;', $body);


Cite markup:
https://git.leftypol.org/leftypol/leftypol/src/commit/858a501b1f652831feafd9b51c6f06c3b92e30a0/inc/functions.php#L2089
https://git.leftypol.org/leftypol/leftypol/src/commit/858a501b1f652831feafd9b51c6f06c3b92e30a0/inc/functions.php#L2136
> ((?=[\s,.:)?!])|$)

To fix add the ampersand to the character class.
< ((?=[\s,.:)?!&])|$)

 No.16848

>>16622
You broke my ascii :(
>>>/leftypol/1178093

 No.16849

File: 1663541209002.jpg (366.99 KB, 1392x2048, nitter.jpg)

User JS snippet for twitter → nitter conversion >>>/meta/22665
Array.from (document.querySelectorAll ('a[href^="https://twitter.com/"]')).forEach (e => { e.outerHTML = e.outerHTML + ' <a target="_blank" href="' + e.getAttribute ("href").replace (/^https:\/\/twitter\.com\//, "https://nitter.net/") + '">[nitter]</a>'; })

test link: >>>/meta/22666

 No.16975

Should there be an option to see "other pages" of posts? There are topics that seem to be visible only through enabling the catalog, but without that you can only see the newest posts on a single "page" of the standard UI. This is in contrast to some other imageboards (notably 4chan, among others) where you can select page 2, 3 etc.. displaying posts without having to go to the catalog display.

Is it intended functionality to not have that feature here (and a few other boards that seem to be on a similar vichan codebase like lain )? Or is there some strangeness going on on my browser's end, possibly because of addons or the like? Thanks.

 No.17152

File: 1665034717185.png (10.81 KB, 967x46, ClipboardImage.png)

>>16975
(Sorry for late reply, I've been away from /tech/)
Looks like it's a local thing if you're not seeing the page list at the bottom of the board index.

>>16849
Has anyone asked you if you want to be part of the dev team yet? We've been pretty slow for a couple of months due to other obligations.

 No.17207

can't report cp spam from /alt/

 No.17209

Onion link asking me for a login? Then if I don't just saying "Authentication required"

 No.17300

> Failed to resize image! Details: gm convert: iCCP: cHRM chunk does not match sRGB (/tmp/phpxeccyD).
When posting this: https://upload.wikimedia.org/wikipedia/commons/0/0b/Romance_languages.png

 No.17307

Dear tech team,
Can you guys make it possible to attach .mobi files?
Thanks

 No.17328

Can .webm’s finally be uploaded on the site?

Last time I tried that it didn’t work, so I had to convert it to a .png instead.

 No.17338

>>17328
Do you mean .webp?

 No.17406

>>17338
NTA but probably.

Also IMO .webp is shit

 No.17440

OGG support when

 No.18177

Hey could we add .jxl support? It's supported by default on librewolf, and I think the only reason chrome is holding off on it is because it competes with .webp, but chrome still supports it via about:flags.

We could make some absurdly storage efficient memes with it, like sub-kilobyte file sizes, and even double digit byte sizes.
https://jpegxl.info/art/

 No.18191

>>18177
you're not going to get that kind of performance with general image compression usage. while neat the kind of features on display here scream "difficult to parse" and therefore "security/DoS risk". fun that inercia ran a jxl compo tho

 No.18195

>>17328
>>18177
I'm not sure it's a good idea to at the moment.
The reason we only added webp for thumbnails is because all the common-enough browsers and forks worked fine. Only issue was apparently one guy whose browser version did support it but his setup was broken. We didn't add support for uploading them, because they're still considered an annoying non-default format on many operating systems. Well, unless that's changed in the past year. I haven't kept up with formats/compatibility for a while so I'm open to counterpoints.
Until .jxl and av1 formats get more mainstream support, I don't think it's wise to allow either of them to be uploaded. Especially if Chrome doesn't support them (out of the box). The average griller user shouldn't be expected to dig into their most-common-in-the-world browser just to make images show up.

>>17440
I don't see why not. I'll try and add this when I get home.

 No.18196


 No.18198

File: 1673855642798.png (724.33 KB, 2048x2048, e007.315574.png)

>>18191
also for those who can't see the images there are converted version on demozoo: https://demozoo.org/parties/4406/#competition_17507

 No.18199

>>18196
noice

 No.18422

Heads up for codemonkey and admin vols
https://youtu.be/eUPJ9zFV5IE
Matrix 2.0 go vroom

 No.18447

>>18196
Let the music be free

 No.18461

Could we have some means of adding alt-text to images? Perhaps a tick next to the spoiler tick to preserve the description part of the metadata, and use that to give images alt-text?

 No.18659

Interesting This vid is filtered from the Deutsche thread why?

Even trying to link >>>/leftypol/1386982 in thread fails

 No.18660

>>18659
I can tell you it has nothing to do with the german thread. No one cares about that thread, not even me.

 No.19168

When posts are merged into another thread the links still point to the previous one.

 No.19430

File: 1682686544099.mp4 (230.69 KB, 600x600, ae048e96bf45e9cc.mp4)

The RSS feed for the overboard seems to be broken, all the links point to /leftypol/, even if they're on other boards like /siberia/. So 404 since there's no threads on /leftypol/ with that number.
https://leftypol.org/overboard/index.rss

Works fine for board specific feeds tho, just the overboards are having this issue.

 No.19505

>>19430
>the board supports RSS
how did I not know this? this is amazing

 No.19508


 No.19509


 No.19510

File: 1683536733614.png (7.46 KB, 128x128, Feed-icon.png)

to add to the RSS thing, there should be appropriate <meta> tags to allow RSS readers to automagically find the feeds. this is perhaps more an issue to bring up upstream. also an RSS icon somewhere would be nice, but again this also probably belongs upstream

 No.19511

>>19510
finally, I see that the feeds list threads in the order they were created rather than bump order. it might be nice if there were feeds for the latter, so that threads with new posts are shown as new


Unique IPs: 23

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / git ] [ GET / ref / marx / booru / zine ]