[ an / aw / cr / fi ] [ ra ] [ au / ga / he / sp ]

/aw/ - AwsumChan Meta

Discussion of AwsumChan itself.
Name
Email
Subject
Comment
Verification
File
Password (For file deletion.)

File: 1542427492247.jpg (154.05 KB, 960x720, lyf8jso.jpg)

 No.21

I've been unsure what needs to be done to Tinyboard in order to make it a better software for our site.

In response, I'm creating this thread so you – the user, can make suggestions for me to implement into the site. Feel free to request anything. Hell, if you don't like what I've done, you can tell me that too. I'll listen.

The source code that we use for AwsumChan can be found at https://github.com/Circlepuller/Tinyboard

 No.22

/an/'s catalog has a deleted thread sitting in it. You might want to figure that out

 No.23

>>22
My guess is the Catalog theme doesn't respond to post deletion events, so I'll have to fix that.

Thanks for coming across that bug!

UPDATE: Interestingly, it's that it generates catalog pages, even when it's not in the list of boards to compile catalog pages for. I've fixed this in the code I'm working on.

Also, speaking of the code, I'm working on a major update to the Tinyboard/vichan codebase. In a nutshell, I'm getting rid of a lot of pointless, broken features, such as:

- NNTPChan
- "Smart" build (daemon based page generation)
- Custom vichan CAPTCHA

All of these features - as mentioned above, are fucking broken and not worth keeping in the code. If anything, The next major update after this one will be even more code cleanup in the form of uniform structure and refactoring.

 No.25

As a follow up to the previous post, I've updated AwsumChan to run on this updated code, so it should be fixed.

Once again, let me know if you notice any bugs!

 No.28

As mentioned in
>>27

I've added a page for frames and have in general been working on Tinyboard's user experience. (In particular AwsumChan's custom theme.) Over the next few weeks I'll be working more on the stylesheets, notably sharp.css, wasabi.css, and a new design that I've been devising over this last week. Also on the table is some major work to the JavaScript - which has became a massive shitshow of broken, inefficient code. I'm looking to create a userscript friendly framework that provides an extensible navigation menu as well as some AJAX or even realtime data services. Unfortunately it is a real massive undertaking - so it'll be a slow process to churn it out.

But next up is a news.html page and a faq.html page, as we desperately need both.

 No.33

>>28
How many of the infinity features can be backported?

Backlinks, local time, colour IDs, country flags, gallery mode and such.

 No.34

>>33
Country flags, local time, color IDs, and the like are already in the codebase, they were here before the infinity fork. They should still work. Although, a lot of the code is getting rusty and that's why it needs a refresh and polish.

Out of all the plugins that frustrate me right now, it's post-hover.js - I've been trying to figure out a sane way to get it to be a little more.. portable. It doesn't like to be used outside of the boards themselves (and I really wanna use it on the index). Ideally, having it pull from the API would be the cleanest way to grab the data.

 No.215

Style selector (either at the bottom of this page or moved to [Options] by style-select.js) is absent in mod.php pages, and so my choice doesn't persist there, instead the default style is forced always.

Infinity didn't have this problem. I noticed it had a different user-css.js (the selector is moved to that Custom CSS tab instead). I'm not sure but somehow the choice is applied fine in mod.php, probably because of this.

Could you please fix it in Tinyboard?

 No.217

File: 1583636804556.png (16.22 KB, 1002x204, reply.png)

Something that show the replies, so I can show my autism.

 No.218

File: 1583637389792.png (20.63 KB, 581x566, float.png)

>>217
Also floating reply box with multiple files and multiple file format support like sushigirl would be nice.

 No.219

And also something that don't make you redirected to main page after you reply to a thread.

 No.220

>>218
quick-reply.js should accomplish this, although it may need some updates in order to support multiple files.

>>219
Set $config['always_noko'] to true in inc/instance-config.php and that should always redirect you to a thread after making a reply (normally, you would set your email to 'noko')
I'll think about making this enabled by default on here as well since I don't see any benefit in disabling it.

>>217
Add these to your inc/instance-config.php file
$config['additional_javascript'][] = 'js/jquery.min.js';
$config['additional_javascript'][] = 'js/post-hover';
$config['additional_javascript'][] = 'js/show-backlinks.js';

>>215
I'll look into this. It's probably due to some stylesheets lacking appropriate CSS for the moderation panel.

 No.222

>>220
It works, thanks.

 No.224

>>220
I just realize that there is multi-image.js that support multiple files.
So the thing is multiple file formats.

 No.228

Make update button, but not reload the whole page. And change email field to options field.

 No.229

>>228
I can enable js/ajax.js.
As for replacing the email field with an options field, I have no intent to do so? Why? Because the email field allows for optional email AND for one to sage/noko option their post, which is useful.

 No.248

Archive? maybe

 No.249

>>248
This is something I've slowly been working on. I've been taking a different approach to it compared to NPFchan's implementation. I don't know how long it will be before I feel comfortable with releasing it.

 No.251

>>249 Yeah, you "HAVE BEEN WORKING" on it for like 2 years, and you still have crappy software that breaks with every php change. Grow up and just use lynxchan, stupid!(USER IS A CUCK)

 No.252

>>251
What the fuck did you just fucking say about me, you little bitch? I'll have you know I graduated top of my class in the Navy Seals, and I've been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I'm the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USA and your IP is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You're fucking dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that's just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the United States Marine Corps and I will use it to its full extent to wipe your miserable ass off the face of the continent, you little shit. If only you could have known what unholy retribution your little "clever" comment was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn't, you didn't, and now you're paying the price, you goddamn idiot. I will shit fury all over you and you will drown in it. You're fucking dead, kiddo.

Anyways, I'm not going to use Lynxchan. Quit fucking plugging it in here, JS has even worse language behavior than PHP.

 No.279

Show anchor image thing when bumplock? It doesn't seem to work no matter what I do

 No.323

How can I create a "secret" board only visible to mods/admins?

 No.324

>>279
There isn't one. That's why. I'm not sure what fork or other imageboard software has it.

>>323
Pretty much impossible. Boards are statically generated, and even if that was disabled for "secret" boards, you'd still have images/files that anyone could access, given they take the time to find it or they are given a link.

Let me emphasize that Tinyboard is not, and likely will never be a good candidate for highly dynamic content. It is primarily geared to be a "lightweight" and efficient 4chan-style imageboard software and not all that much more. However - if you know a thing or two about PHP and front-end web design, I'd be more than happy to take in code contributions. My primary goal as of current is to keep the software running smoothly on the latest versions of PHP as it is considered a legacy software at this point.

 No.328

Hi Circle, I would to know if its possible to make a ban in all boards except one. For example, a ban in /b/, /a/ and /qa/ but the IP is allowed to post in administrative boards.

 No.330

>>328
As it stands, no. Bans currently handle which boards to ban from as a scalar value, not an array. Would it be possible to change this to do otherwise? It's possible. It's a bit of an edge-case though.

 No.333

This is a question about rights your code.
I use another version of tinyboard(NPFchan) in my imageboard, and I am updating the code to use composer. I've tried vichan upstream and that didn't work so well and your version is superior. So am I wondering how can I give the rights to you or something like that?

 No.334

>>333

https://getcomposer.org/doc/04-schema.md#authors

You can also fork or cherry-pick changes with git which would further detail any changes people have made.

And of importance is keeping the copyright notices in the files and generated HTML intact.

I appreciate your concern about this.

 No.335

>>334
>https://getcomposer.org/doc/04-schema.md#authors
Consider it done. About git cherry picking I will do it in the next commits.
My fork is already running on php7.4 and twig 2.4 thanks to you.

 No.336

>>334
Hello again!
PHP 8.1.x is out recently.
When would you plan to support that?

 No.337

Just a notice: sitemap.xml is broken after twig 2.9 update
https://awsumchan.org/sitemap.xml

 No.338

>>336
I plan to support it as it exists. I don't know what issues with it currently exist right now but pending some overhauling I'm working on, there should be less.

>>337
Thanks for the heads up, I'll be getting this addressed soon. One of the biggest projects in an upcoming update is upgrading to Twig 3.

 No.339

Was wondering if you were aware of the "Ponychan" fork of Tinyboard? It started as a deployment of the Savetheinternet Tinyboard, but their past webmaster made a massive overhaul while updating for PHP7.4 and it's a masterpiece. A lot of the changes cater to their own community and amount to bloat unbecoming of Tinyboard. (Not to mention the js side is all custom and not cross-compatible) but on the PHP side of things most of the code is relatively unchanged and there's a lot of added functionality that, with some adaptation, should be portable.

I already had success in transplanting their "deletePostContent" function (if
config allowOPselfdelete is false and the post being deleted is an op with at least 1 reply then it will instead just blank out the post, allowing the rest of the thread to remain intact).

There's also functions to allow user self edit and time how long a post has been up for the sake of limiting how long after a post is made it can be edited. Haven't had success with that yet since it's a more tangled web and I barely know what I'm doing as it is.

Their ban system is way more comprehensive but would probably require database changes.

They do have an open source repo just not on github

I also wrote in a setting which allows you to set a board to accept replies but not new threads if you're interested.

One of my users also wrote me a js that embeds YouTube links in the post body that he might be willing to share.

 No.340

>>339
Ponychan fork is very nice indeed, I wish I could be able to backport the appeal system with response of why the appeal was denied.

>There's also functions to allow user self edit and time how long a post has been up for the sake of limiting how long after a post is made it can be edited. Haven't had success with that yet since it's a more tangled web and I barely know what I'm doing as it is.

This has been done in lainchan. It works well enough.
https://github.com/lainchan/lainchan/pull/127/commits/e7213d974952b1d1e8e180b3f1c747c51fc18538

 No.341

>>339
>>340

I'll take a look, from first impressions they did a proper separation of the front and back ends.

I've been pretty busy working on some changes. Twig 3 upgrade is pretty much done, updating password hashing/checking to use the new builtin functions (they're much more secure!), and looking to slowly modernize the codebase into something that isn't a nightmare to troubleshoot.

 No.342

Thanks for accepting my PR. I have one question, would you be interested in the hash from 8chan(less_ip)?

 No.343

>>342

It might be a good idea to hold off on PRs for a little bit as I'm doing a huge refactor. Believe it not, I'm making a major push to modernize and upend Tinyboard's quickly deteriorating code state.

Right now I'm wrapping up moving all the code in functions.php, templates.php, etc. to classes that tie associated functions together as services in order to eliminate global variable usage. This will make the future of this software much more bright. If you have any questions, feel free to ask, I'd be more than happy to answer.

 No.345

>>343
>Right now I'm wrapping up moving all the code in functions.php, templates.php, etc. to classes that tie associated functions together as services in order to eliminate global variable usage.
Based. Every since I started making some changes in the code I couldn't understand why functions.php is such a huge mess.

Thank you for taking your time and effort to run this software until today. I appreciate that.

 No.347

Do you think the trans extension is gonna be any problem with twig 3.0? I was looking at better alternatives and I've found this fork from phpmyadmin up to date.
https://github.com/phpmyadmin/twig-i18n-extension

 No.351

>>347
This is working fine, just tested and couldn't see a difference.

 No.352

>>351
Btw, theres somethings which need to change. The only ones I got a little trouble was in view_ip.html template (notes_on_record and bans_on_record).
{% set … %}
Which are a check to see if plurals are needed or not. Then it calls on the next line {% trans 'notes_on_record %}
To make it work, {% trans %} {{ notes_on_record }} {% endtrans %}

 No.463

What's everyone's take on the addition of a dark mode design for sharp.css? It would probably burn your retinas a little less. Adding it would only require me to edit the CSS to have some media queries and some colors.

Additionally, I'm thinking about changing the gradient in the background at the top of pages to be CSS instead of an image as well, which would really help with dark mode and other changes that may happen.

 No.467

>>463
sounds kinda good

 No.576

Promote this

 No.577

>>576
Site. It's too unactive

 No.578

>>577
Can't really do anything about that. I'm not one for shilling out the site on others. However, do as you wish if you want to tell others.



[Return][Go to top] [Catalog] [Post a Reply]
Delete Post [ ]
[ an / aw / cr / fi ] [ ra ] [ au / ga / he / sp ]