[ home / overboard ] [ soy / qa / raid / r ] [ soy2 / tdh ] [ ss / craft ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: feraljak yotsuba.png 📥︎ (686.97 KB, 1400x1630) ImgOps

 â„–4613loop[View All][1][2][3][4][5][6][7][8][Quote]

>FUCK SOIJAK POSTERS
Here we talk about the source code leak of 4chan's proprietary software Yotsuba and try to "fix" it in order to make a proper open-source version of 4chan's (sh!tty) software, for example by fixing bugs such as the colored border on GIF thumbnails and making it work on modern, traditional server setups.
<REDDIT SPACE
Get the source code here:
https://files.catbox.moe/d56ws8.7z
662 posts and 149 image replies omitted. Click reply to view.

 â„–11547[Quote]

>>11424
Sounds believable but no proofs

 â„–11746[Quote]

uo

 â„–11872[Quote]

Development on OpenYotsuba 0.3.0 will resume eventually. The main aim of it is fixing bugs and unhardcoding sh!t.

 â„–11882[Quote]

>install netbeans 8.0.2 on the other pc
>file dated from 2018
>installer says it supports php
gem alarm

 â„–11884[Quote]

>>11882
wtf it shows the splash screen then closes?

 â„–11886[Quote]

File: ClipboardImage.png 📥︎ (139.41 KB, 1360x768) ImgOps

>>11884
nvm, JRE problem, it didnt like java 22 lmao, least now i can screw around and not have to switch pcs to use a real ide now

 â„–11942[Quote]

File: ClipboardImage.png 📥︎ (144.55 KB, 1360x768) ImgOps

damn, not bad, only 2 errors that i dont know how to fix + setting up mysql lol

 â„–11945[Quote]

File: 1742223429356c.png 📥︎ (64.88 KB, 1500x1500) ImgOps

>netbeans

 â„–11957[Quote]

>>11945
literally just works and never uses over 1gb of ram

 â„–11958[Quote]

>damn, not bad, only 2 errors that i dont know how to fix + setting up mysql lol
dizzychan anon here, the only time i think i saw an end of file error was because of a template(?) file (or file containing a template) where PHP was mixed with HTML had a short tag sneakily wedged halfway through the template
no idea if that's the same for you (if you enabled short tags or don't have a problem with short tags)
if i was to guess from the image it looks like a PHP tag opening into `<?php =$form['id'] ?>` and maybe the equals sign shouldn't be there

 â„–12197[Quote]

>>11872
Nice
>>11462
Yeah, trying to figure out myself as well.

 â„–12198[Quote]

>>11957
upgrade your core 2 duo cheap ass nigga

 â„–12301[Quote]

Things I've done
>Ads are now disabled by default (to disable them on 0.2.0, open both files in config/categories and change "ADS_DANBO=yes" to "ADS_DANBO=no"
>Added WebP support (this file format is a bitch due to the lack of support, but thankfully GD, the library used to generate thumbnails, supports it)
>Un-hardcoding links
Full IPv6 support is planned next.

 â„–12354[Quote]

>>11424
4chan moderation is so full of evil scum that I genuinely believe you.

 â„–12361[Quote]

A thought: Why fix it for them? Let it rot.

 â„–12534[Quote]

The update became bigger than expected, but I'm happy to announce OpenYotsuba 0.3.0 is ready and will be released in a while.

 â„–12536[Quote]


 â„–12538[Quote]

>>12536
do you do it just for fun? do you enjoy refactoring raisinty php code?

 â„–12539[Quote]

>>12538
You got a problem?

 â„–12542[Quote]

>>12536
Keyed.

 â„–12544[Quote]


 â„–12551[Quote]

>>12335
so what actually caused that bug? is it the fact that jpeg uses 8x8 tiles and has to overdraw if img.h % 8 != 0 || img.w % 8 != 0?

 â„–12554[Quote]

File: 97fa6c7bc2ef7cb8d8797a6372….jpg 📥︎ (30.58 KB, 422x533) ImgOps

>>12536
someone can I run this raisin because I've been trying and it doesn't really work.

 â„–12558[Quote]

>>12551
It's a quirk with this function:
https://www.php.net/manual/en/function.imagecreatefromgif.php
Notice this:
>When reading GIF files into memory, only the first frame is returned in the image object. The size of the image is not necessarily what is reported by getimagesize().
Specifically, it returns the size of the first frame. Yotsuba happens to use getimagesize() to get the size of the image, but when the two don't match, the thumbnail generates a colored border (which I assume is the first color in the palette) as image data doesn't exist past that point. To fix it, I create a black image with the correct size with imagecreatetruecolor(), set the background to transparent, get the X and Y offset of the first frame in the GIF through a function I made, then paste the GIF into the transparent image with the correct X and Y offsets, width and height.
>>12554
What are you getting?
<REDDIT SPACE
Also notice, starting from today I will make daily commits.

 â„–12571[Quote]

>>12558

>What are you getting?


I get a thousand errors and more can you make a more complete tutorial and host the openyotsuba to see how it will look like already installed?.

 â„–12591[Quote]

https://gitgud.io/GapeNewell/OpenYotsuba/-/commit/46eff3139a72f88846df21cb9edae50775604fa9
allow replies with subjects but no comment to be posted
update every file containing mysql_real_escape_string to use mysqli
fix the user behind blotter messages always being "moot"
fix the default favicon in admin/ (1 pixel too short)
delete more -test files
remove unneeded continues from admin/manager/dmcatool.php
fix links in admin/views/index-nav.tpl.php
fix the footer on the homepage on mobile

 â„–12592[Quote]

>>12571
did you follow the readme, it contains the installation instructions

 â„–12608[Quote]

i

 â„–12715[Quote]

I have re-added the email field, note that you will need to re-run setup.php when upgrading to the latest master version as I had to change the SQL schema for this.

 â„–12739[Quote]

https://gitgud.io/GapeNewell/OpenYotsuba/-/commit/3d1fd733e1cbf0c2b9b9d8edaf4cd8db08c802e6
add support for MediaWiki-like markup like headings, italic text and bold text (ported from vichan) and <leftarrow/purpletext
create config.php in root and admin/ to make subdomain setups easier
add fixes for mysql_affected_rows (mysqli_affected_rows requires a mysqli connection handle) and fix all instances of mysql_affected_rows to use said fix
more un-hardcoding
add lib/version.php to make updating the version number in the footer easier (version number is now master for master branch builds)
more upgrading to mysqli
delete more -test files
fix calls to mysql_board_escape with invalid arguments in imgboard.php
disable lib/sec.php

 â„–12778[Quote]

https://gitgud.io/GapeNewell/OpenYotsuba/-/commit/b8cf3bddd9e7ffb625e5b25c33d0482e99ed15f3
get all the admin pages in root to load
more un-hardcoding
delete .htaccess files requiring login
upgrade every file containing mysql_num_rows to use mysqli
remove "require_once 'lib/auth.php'" from lib/otp_session.php as it's always loaded by the files that require it
fix warning in admin/stafflog.php
removing more instances of deprecated L::d
make headings bigger than normal text on mobile
remove CAPTCHA requirement from feedback.php

 â„–12823[Quote]

>yesterday's development update didn't post through award
may 23: https://gitgud.io/GapeNewell/OpenYotsuba/-/commit/b8cf3bddd9e7ffb625e5b25c33d0482e99ed15f3
add new global_config.ini lines to upgrade instructions in README.txt
get all the admin pages in root to load
more un-hardcoding
delete .htaccess files requiring login
upgrade every file containing mysql_num_rows to use mysqli
remove "require_once 'lib/auth.php'" from lib/otp_session.php as it's always loaded by the files that require it
fix warning in admin/stafflog.php
removing more instances of deprecated L::d
make headings bigger than normal text on mobile
remove CAPTCHA requirement from feedback.php
may 24: https://gitgud.io/GapeNewell/OpenYotsuba/-/commit/b4f8a7faa2a9a0fad772aea2c1e5c3c3e4ec5a89
more un-hardcoding
move board/auth.php and board/signin.php to root
render the email in mobile, fix email CSS bugs

 â„–12825[Quote]

>>12823
add upvotes and reddit gold

 â„–12828[Quote]

>>12825
do this

 â„–12842[Quote]

>>12825
Better idea: Make it so all moderator and janitor actions are visible to users and make individual moderators accountable. User feedback should stay private for obvious reasons.

 â„–13024[Quote]

>>12739
>>12778
>>12823
Thank you based gapen

very tempted to launch a European chan site

 â„–15088[Quote]

up

 â„–15299[Quote]

why no one has yet tried to install openyotsuba on a public hosting so that we can test it?

 â„–16997[Quote]

>>15299
don't tempt me

also it does say on the repo *WARNING:* OpenYotsuba is in ALPHA, it's full of bugs. Use this on a
production website *AT YOUR OWN RISK*


I do want to launch my own chan/s though so I may well just do it and damn the consequences if there is an exploit

 â„–17127[Quote]

The last commit was 1 month ago. Is it still under development?

 â„–17176[Quote]

up

 â„–17241[Quote]

wow interesting

 â„–17331[Quote]

>>16997
someone launched one, can't say the name here for obvious reasons but someone made one.

 â„–19454[Quote]

>>19442
New license just dropped

 â„–21144[Quote]

does any website actually use openyotsuba

 â„–21160[Quote]

>>4617
Hi quote

 â„–21161[Quote]

>>21160
i'd never say o algo

 â„–21580[Quote]

damn wtf is this dead also i swear this thread had more reppeys

 â„–21581[Quote]


>>6304
ok so how do i create a salt

 â„–21583[Quote]

File: 1762460388755y.png 📥︎ (39.73 KB, 242x270) ImgOps

>>21161
you just did DOE



[1] [2] [3] [4] [5] [6] [7] [8]
[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ soy / qa / raid / r ] [ soy2 / tdh ] [ ss / craft ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]