Wakaba 2.1.0 (48)

1 Name: !WAHa.06x36 2005-02-26 12:58 ID:+S1qVTsT (Replies) [Del]

http://wakaba.c3.cx/releases/wakaba_2.1.0.zip

A new version with some minor improvements. I bumped the version number since it's not just a pure bugfix release, though. This one isn't a very essential upgrade, so no big rush to upgrade. Changes:

  • Slightly clearer error messages for template errors, for those who like to hack the templates.
  • Small fix for the example.htaccess.
  • Javascript code updates to behave better in XHTML mode.
  • FORCED_ANON implemented for Wakaba too, because recent events reminded me I never got around to that.
  • MAX_MEGABYTES option added, to limit the total size of the pictures on disk. Deletes old threads until the disk space limit is reached.
  • Slightly improved character set handling. Won't be noticed on anything but Shift_JIS boards, but I don't think any of those exist. Also, the world's most famous tripcode, #kami, now works (as long as you're running Perl 5.8 or up).

2 Name: Anonymous 2005-02-28 01:55 ID:Heaven [Del]

This release seems to have come in the shadows of Kareha 2.0.0.

Anyway, it is appreciated. I will update my boards later this day.

3 Name: Anonymous 2005-03-01 17:49 ID:yC3Bb+MA [Del]

Shouldn't there be some way to select language in config.pl?

4 Name: !WAHa.06x36 2005-03-01 18:40 ID:Heaven [Del]

That would maybe be a more elegant solution, but for now you have to change the strings_*.pl line in wakaba.pl.

5 Name: !yGAhoNiShI 2005-03-02 10:32 ID:nf6lp/Uc [Del]

what's #kami

6 Name: !WAHa.06x36 2005-03-02 11:13 ID:Heaven [Del]

>>5

It's THE WORLD'S MOST FAMOUS TRIPCODE.

7 Name: !3X1b8VAs/E 2005-03-02 16:51 ID:PRMDl7xM [Del]

hm?

8 Name: anon!pA1UE1eGto 2005-03-02 19:09 ID:Heaven [Del]

>>6

Question: why?

9 Name: !WAHa.06x36 2005-03-02 19:33 ID:Heaven [Del]

>>7 needs more #kami instead of #kami.

>>8

Back when 2ch was using 8-character tripcodes, somebody noticed #kami gave the tripcode AhoNiShI, which means something like "idiot west". Hilarity ensued.

10 Name: #kami 2005-03-03 17:30 ID:Heaven [Del]

I’m writing alphanumeric.

11 Name: !yGAhoNiShI 2005-03-03 17:31 ID:Heaven [Del]

Wah,# couldn’t be #.

12 Name: Anonymous 2005-03-11 19:02 ID:ucRX3slA [Del]

I just upgraded to 2.1.0 and posts are disappearing...

Maybe I've just done something stupid, but it looks like using MAX_MEGABYTES prevents any posts but the latest from showing in wakaba.html (they're there in the admin panel and /res/postnr.html)
Without MAX_MEGABYTES only the first post vanishes, after that things work as expected (I think) until I bump the hidden post, which makes the bottom post disappear. Madness.

13 Name: !WAHa.06x36 2005-03-11 20:58 ID:Cbov5q0/ [Del]

Hmm, that sounds pretty weird. Lots of boards run 2.1.0, but none have reported anything like that. What other options do you use?

14 Name: Anonymous 2005-03-11 21:34 ID:ucRX3slA [Del]

Other than the required sql/password settings all I've set is a title, favicon and a higher filesize limit. Oh, and I'm running without captcha's...

I think I jumped to conclusions due to retarded testing earlier, or maybe nuking the board sorta fixed something, but what I'm seeing now (with MAX_MEGABYTES on) is the bottom post in the management panel not showing up in the html board pages.

Maybe nobody noticed the pages listing one less post than they should on boards that are actually populated? The fist post I made didn't show up, that's something you do notice...

15 Name: !WAHa.06x36 2005-03-12 07:33 ID:Cbov5q0/ [Del]

Hmm. I'll look into it.

16 Name: !WAHa.06x36 2005-03-12 08:04 ID:Cbov5q0/ [Del]

Turns out you're right, the last post is always ignored when generating the main pages. Fixed in this version:

http://wakaba.c3.cx/releases/wakaba_2.1.1.zip

I also added the USE_XHTML option to disable application/xhtml+xml mode if you don't like it. Changes to wakaba.pl, wakautils.pl and config_defaults.pl.

17 Name: Mr VacBob!JqK7T7zan. 2005-03-12 21:58 ID:Z50WBrol [Del]

I get this trying to follow the instructions to set up oekaki:
Bareword "CSS_FILE" not allowed while "strict subs" in use at oekaki_style.pl line 332, <FILE> line 5.
Compilation failed in require at wakaba.pl line 19, <FILE> line 5.
BEGIN failed--compilation aborted at wakaba.pl line 19, <FILE> line 5.

I fixed it by forcing the CSS to css/futaba.css, but that kind of sucks.

18 Post deleted by user.

19 Name: !WAHa.06x36 2005-03-13 08:48 ID:Cbov5q0/ [Del]

Oops. Actually the code that broke there isn't even used - it's some old left-over code from when I did some rewriting, that I forgot to remove. You can just remove that whole function and it'll work just fine. Alternatively, get the fixed version:

http://wakaba.c3.cx/releases/wakaba_2.1.2.zip

Changes only to oekaki_style.pl and config_defaults.pl (for the version number).

20 Name: !WAHa.06x36 2005-03-14 16:54 ID:Cbov5q0/ [Del]

Shii found some bugs in the oekaki_style, and I found some more in the futaba_style (nothing very important, though). I also re-wrote some of the oekaki code to be less stupid and bothersome (it no longer needs to post through the webserver).

http://wakaba.c3.cx/releases/wakaba_2.1.3.zip

Changes to wakaba.pl, wakautils.pl, futaba_style.pl, config_defaults.pl, and a lot of the oekaki files.

21 Post deleted by user.

22 Name: !WAHa.06x36 2005-03-14 19:18 ID:Cbov5q0/ [Del]

Oops, didn't get it quite right. Fixed fixed:

http://wakaba.c3.cx/releases/wakaba_2.1.4.zip

Changes to wakautils.pl, finish.pl, oekaki_style.pl and config_defaults.pl.

23 Name: Anonymous 2005-03-14 21:28 ID:Heaven [Del]

So what do you think will be the next "OMG go upgrade" feature in Wakaba? Is one planned?

24 Name: Anonymous 2005-03-14 21:54 ID:Heaven [Del]

>>23

I vote IP revealing feature for mods.

25 Name: !WAHa.06x36 2005-03-15 10:24 ID:Cbov5q0/ [Del]

Ideas for future features, for whenever I feel like writing some code:

  • Catalogue mode, like on futaba's /b/.
  • Automatic hello kittying for mods.
  • IP revealing.

Anything else?

26 Name: Anonymous 2005-03-15 18:53 ID:Heaven [Del]

> Anything else?
  • Marked for deletion (old)

http://wakaba.c3.cx/sup/kareha.pl/1107187664

  • Turning off Wakamark when AA in Link field

http://wakaba.c3.cx/sup/kareha.pl/1102984488/46

27 Name: Anonymous 2005-03-16 00:59 ID:Heaven [Del]

IP revealing? You mean being able to display someone's IP by going into the Admin panel? What for?

28 Name: Anonymous 2005-03-16 02:11 ID:Heaven [Del]

Is there a way to add a single file type to the allowed list?

29 Name: Anonymous 2005-03-16 13:56 ID:Kck6EEFz [Del]

> Automatic hello kittying for mods.

what

30 Name: !WAHa.06x36 2005-03-16 15:26 ID:Cbov5q0/ [Del]

>>28

Hmm? Just add it as usual to FILETYPES in the config file? Or did you mean something else?

>>29

BlackMage has taken to replacing certain images with Hello Kitty instead of deleting them. It amuses me so I thought I could add an interface to do it.

31 Name: Anonymous 2005-03-16 19:17 ID:Heaven [Del]

> BlackMage has taken to replacing certain images with Hello Kitty instead of deleting them. It amuses me so I thought I could add an interface to do it.

Awesome option.

32 Name: Anonymous 2005-03-16 19:18 ID:Heaven [Del]

>>27

On Futaba and I also believe 2channel, I believe this to be used as a severe warning for asshats and trolls. It's not yet a ban, but a very harsh reduction of privacy and revealing of all the posts by the usually anonymous abuser to the public as coming from one person, etc.

33 Name: Anonymous 2005-03-16 21:46 ID:Heaven [Del]

>>30
Oops. It's not entirely clear that FILETYPES does more than add icons. Although the lack of anything else should make it obvious...heh.

34 Name: _NoSkills!yYqlaT62VQ 2005-03-17 03:01 ID:miZNNskw [Del]

-I'd like a 'view all posts from this ip/subnet/username' option in the admin panel if that's possible. I know we talked about it and static pages, etc. but it's worth an asking, I suppose.
-Scaleable administration (ie, mod status and admin status with different permissions)
-Forcenick and/or force anon for one user
-Maybe word filters? Kinda silly but sometimes fun. If you do it, make sure to allow html injection in the filtered text, because what if someone wants to make it a picture?

I'm sure I'll come up with other stuff, which you can also feel free to ignore.

35 Name: !WAHa.06x36 2005-03-17 11:25 ID:/QLbyIBb [Del]

>>34

I've been thinking it would be useful to be able to add small bits of Perl code that are run for each post. These could then implement nick filters, word filters, or whatever mischief you feel like doing.

Also, there is already two levels of admin, after a fashion - the normal admin password, and the nuke password. I haven't yet seen any use for subdividing it further, though.

36 Name: Anonymous 2005-03-21 09:10 ID:Heaven [Del]

Label which gif files are animated? They usually contain the string "NETSCAPE2.0" near the start, if that helps.

37 Name: !WAHa.06x36 2005-03-21 10:37 ID:/QLbyIBb [Del]

Hmm, would need a new column in the database, and I am trying to avoid that. Unless I'd use some TRICKERY, which isn't too tempting either.

38 Name: !WAHa.06x36 2005-03-21 10:37 ID:/QLbyIBb [Del]

Also, would ruin the "animated" joke.

Ok, fine, it's dead anyway.

39 Name: Anonymous 2005-03-23 14:53 ID:Heaven [Del]

how about allowing people to upload bmp images and automatically converting them to png?

40 Name: !WAHa.06x36 2005-03-23 17:00 ID:KzYNjiwy [Del]

This would certainly be possible, but it would teach them nothing. Give a man a fish...

41 Name: Anonymous 2005-03-23 21:35 ID:XlZ7vSoV [Del]

how about non-animated GIF to PNG? also fixes >>36's beef

42 Name: Anonymous 2005-03-23 23:53 ID:Heaven [Del]

>>40
You could put a big message with "Bitmaps are for buffoons" before redirecting to the thread after posting, or set it as forced text in the message body, like "User was banned for this post".

43 Name: !WAHa.06x36 2005-03-24 09:04 ID:WOsgUaRZ [Del]

USER'S LAME BMP FILE WAS UPGRADED FOR THIS POST

I'm not sure about converting GIF to PNG, though. There might be a small decrease in size, but generally I think it's a better idea to keep files untouched as far as possible, for the purpose of conserving checksums and the like.

44 Name: Anonymous 2005-03-26 00:39 ID:447NDIAu [Del]

Does the latest version move all the x.html files to another directory? The base directory can get cluttered if you have a high thread limit.

45 Name: !WAHa.06x36 2005-03-26 09:04 ID:45FfzWkv [Del]

>>44

No. Maybe that should be an option, though.

46 Name: Anonymous 2005-03-29 07:37 ID:447NDIAu [Del]

wakaba.pl, line 1278, 2.1.4:

I got a bareword not allowed error for USE_XHTML. I stuck a qw() around it. Is that horribly insecure?

The updating procedure was: copy random files (everything in the base, and /extras) into the directory, restore config.pl, rebuild caches, and hope nothing breaks. It appears to work.

47 Name: !WAHa.06x36 2005-03-29 09:31 ID:Cbov5q0/ [Del]

Did you copy the new config_defaults.pl in there?

48 Name: Anonymous 2005-03-29 17:14 ID:Heaven [Del]

Gee, don't I feel stupid. Thanks for the help.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: