â„–4613
[View All][1][2][3][4][5][6][7][8][Quote]
>FUCK SOIJAK POSTERSHere 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 SPACEGet the source code here:
https://files.catbox.moe/d56ws8.7z 662 posts and 149 image replies omitted. Click reply to view. â„–11547[Quote]
>>11424Sounds 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]
>>11882wtf it shows the splash screen then closes?
â„–11957[Quote]
>>11945literally 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]
>>11872Nice
>>11462Yeah, trying to figure out myself as well.
â„–12198[Quote]
>>11957upgrade 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]
>>114244chan 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.
â„–12538[Quote]
>>12536do you do it just for fun? do you enjoy refactoring raisinty php code?
â„–12539[Quote]
>>12538You got a problem?
â„–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?
â„–12558[Quote]
>>12551It's a quirk with this function:
https://www.php.net/manual/en/function.imagecreatefromgif.phpNotice 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.
>>12554What are you getting?
<REDDIT SPACEAlso 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/46eff3139a72f88846df21cb9edae50775604fa9allow 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]
>>12571did 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/3d1fd733e1cbf0c2b9b9d8edaf4cd8db08c802e6add 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/b8cf3bddd9e7ffb625e5b25c33d0482e99ed15f3get 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 awardmay 23:
https://gitgud.io/GapeNewell/OpenYotsuba/-/commit/b8cf3bddd9e7ffb625e5b25c33d0482e99ed15f3add 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/b4f8a7faa2a9a0fad772aea2c1e5c3c3e4ec5a89more un-hardcoding
move board/auth.php and board/signin.php to root
render the email in mobile, fix email CSS bugs
â„–12825[Quote]
>>12823add upvotes and reddit gold
â„–12842[Quote]
>>12825Better 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>>12823Thank 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]
>>15299don'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]
>>16997someone 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
â„–21161[Quote]
>>21160i'd never say o algo
â„–21580[Quote]
damn wtf is this dead also i swear this thread had more reppeys
â„–21581[Quote]
>>6304ok so how do i create a salt