Wakaba & Kareha 3.0.0 (349)

1 Name: !WAHa.06x36 : 2005-10-30 18:57 ID:j/j8XBOa [Del]

So, it's finally release time!

http://wakaba.c3.cx/releases/wakaba_3.0.0.zip
http://wakaba.c3.cx/releases/kareha_3.0.0.zip

I decided to bump the version number up to 3.0.0, partly because of a number of new features, and partly because there's been lots of messing around in the guts of the scripts, which means there are probably some new and interesting bugs. I do not recommend installing these scripts on any busy boards without doing some testing first, or waiting for others to test them for you. Conversely, testing is very welcome. Report those bugs!

Specific information will follow in the next posts.

36 Name: !WAHa.06x36 : 2005-11-01 14:51 ID:j/j8XBOa [Del]

http://wakaba.c3.cx/releases/kareha_3.0.1.zip

>>20,23,28 fixed. Some of >>31 copied (error messages should be friendly, not professional, though), and some other strings changed a little. admin.pl can now edit spam.txt, too.

37 Name: !WAHa.06x36 : 2005-11-01 15:10 ID:j/j8XBOa [Del]

Also: Most of the translations are getting a bit out-of-date and are kind of full on English. They need updating, if anyone feels like doing some work.

38 Name: Anonymous : 2005-11-01 18:00 ID:Heaven [Del]

Kareha 3.0.1, mode_message, perl 5.8.6.
I see the following warnings in my servers error.log:

kareha.pl: Warning: Use of "shift" without parentheses is ambiguous at /home/www/bbs/kareha.pl line 1145, <FILE> line 7.

The script works but the warnings are a bit annoying.

39 Name: !WAHa.06x36 : 2005-11-01 18:57 ID:j/j8XBOa [Del]

>>38

Find the line, and change shift to (shift). Should fix it.

40 Name: 33 : 2005-11-01 22:30 ID:nJuTyjCA [Del]

>>34-35
the problem is that 'background-color' is in body instead of in html.

41 Name: Anonymous : 2005-11-01 22:53 ID:nJuTyjCA [Del]

also, mode_image templates.pl doesn't have any way to choose formatting

42 Name: !WAHa.06x36 : 2005-11-02 04:30 ID:j/j8XBOa [Del]

>>40

Fixed, except in psed0ch where there's not much to be done about it.

>>41

Didn't really think it was necessary. Wakaba doesn't have it, either.

43 Name: Anonymous : 2005-11-02 17:49 ID:rSWySAOC [Del]

Kareha 3.0.1. The "permasage" link in admin.pl/$thread should be an "unpermasage" link for permasaged threads like in admin.pl/list.

44 Name: !WAHa.06x36 : 2005-11-02 19:15 ID:j/j8XBOa [Del]

>>43

The code to do that is there, but there was a typo that broke it. orz

45 Name: Anonymous : 2005-11-03 08:58 ID:Heaven [Del]

There's at least one typo with regard to the DELETED_THUMBNAIL/DELETED_IMAGE parameters in futaba_style.pl.

Also, would it be possible to release a minor Kareha upgrade in the near future with a few tweaks (I've implemented most of them myself in a custom distribution, but it'd probably be good for the main version too)?

  • DELETED_THUMBNAIL/IMAGE parameters
  • S_ANOTITLE and S_ANOTEXT parameters
  • Removed capcode checks in kareha.pl and templates.pl (now that they're customizable, admins can easily add the <em> tags and append the name/cap string with '(Admin)')
  • PAGE_GENERATION checks at least for mode_image's templates.pl(ie, if I set a board to 'single' it won't display the page list at the bottom)
  • HOME parameter in mode_image's config.pl (so people stop wondering why the hell the link never works)
  • Removed THREADS_LISTED parameter in mode_image's config.pl
  • Non-styled (ie, no h1, no center alignment, no extra line break) error template in mode_image, with designated headers above and below -- the markup should have its own div class to be styled in CSS
  • Tweaked mode_image CSS (at least for Futaba) that reduces the page header's <hr />'s width to 90% of the page width.
  • Is there a way to replace the <br clear> tags with something more sane in CSS? AFAIK the clear parameter has been deprecated in XHTML.

46 Name: !WAHa.06x36 : 2005-11-03 09:29 ID:Heaven [Del]

> There's at least one typo with regard to the DELETED_THUMBNAIL/DELETED_IMAGE parameters in futaba_style.pl.

Well, what is the typo?

> DELETED_THUMBNAIL/IMAGE parameters

Not possible to implement without regexp trickery that is not guaranteed to work on different templates.

> S_ANOTITLE and S_ANOTEXT parameters

Meh, I never liked those much.

> Removed capcode checks in kareha.pl and templates.pl (now that they're customizable, admins can easily add the <em> tags and append the name/cap string with '(Admin)')

For mode_image? I think I forgot to update that, will fix.

> PAGE_GENERATION checks at least for mode_image's templates.pl(ie, if I set a board to 'single' it won't display the page list at the bottom)

PAGE_GENERATION isn't really an option you're supposed to change for a given template. Why would you want to run mode_image in single-page mode? That makes no sense, as there's no way to access the older threads.

> Non-styled (ie, no h1, no center alignment, no extra line break) error template in mode_image, with designated headers above and below -- the markup should have its own div class to be styled in CSS

You can just style h1, can't you? The entire page should have its own class so you can do that (if it doesn't, that's a bug), but I haven't bothered to style it. Thing is, though, I'm not touching the CSS for the Futaba-style templates, because I prefer it to be compatible. I could make the HTML more like the original Futaba/Futallaby error page, but it's not really an issue that has very high priority.

> Is there a way to replace the <br clear> tags with something more sane in CSS? AFAIK the clear parameter has been deprecated in XHTML.

XHTML 1.0 is just HTML 4.0 in XML. Maybe it's deprecated in XHTML 2.0, but this isn't that.

47 Name: Anonymous : 2005-11-03 10:22 ID:Heaven [Del]

> Well, what is the typo?

Unfortunately, this computer doesn't have anything better than Notepad, so I can't give you the exact line numbers. Just search for "DELETE_THUMBNAIL".

> For mode_image? I think I forgot to update that, will fix.

In kareha.pl too though, since admin functions are now independent of whether you input a capped trip or not.

> You can just style h1, can't you?

I don't know if this is sarcasm or not, but I assumed it's possible in CSS.

> The entire page should have its own class so you can do that (if it doesn't, that's a bug), but I haven't bothered to style it.

Indeed there is no body class for mode_image's error template.

> Thing is, though, I'm not touching the CSS for the Futaba-style templates, because I prefer it to be compatible. I could make the HTML more like the original Futaba/Futallaby error page, but it's not really an issue that has very high priority.

Futaba's error page doesn't use header tags in HTML, but it does center the text (then again, it also centers "postarea" and right-aligns "userdelete")

About <br clear>: I'm really just echoing the W3C spec for HTML 4.01 (http://www.w3.org/TR/REC-html40/present/graphics.html#h-15.1.3.2), which states it's deprecated.

> Using style sheets, you could specify that all line breaks should behave this way for objects (images, tables, etc.) floating against the left margin. With CSS, you could achieve this as follows:
> <STYLE type="text/css">
> BR { clear: left }
> </STYLE>

48 Name: !WAHa.06x36 : 2005-11-03 10:34 ID:Heaven [Del]

> In kareha.pl too though, since admin functions are now independent of whether you input a capped trip or not.

No. They never had anything to do with admin functions before, either. What they DO let you do is post on a board where posting is disabled.

> Indeed there is no body class for mode_image's error template.

I'll have to fix that, then.

> About <br clear>: I'm really just echoing the W3C spec for HTML 4.01

Ah, it's not listed as deprecated when you just look up the definition for the <br> tag. I don't think I'll be changing that, though, because the whole Futaba layout is heavily outdated in the first place. It's also nearly impossible to implement in proper modern XHTML/CSS, at least in such a way as to make it work in IE, too. I tried, but it was much more pain that it was worth.

49 Name: Anonymous : 2005-11-03 10:55 ID:Heaven [Del]

>>48

> the whole Futaba layout is heavily outdated in the first place

You mean the actual Futaba software, or Kareha's Futaba mode template?

> It's also nearly impossible to implement in proper modern XHTML/CSS, at least in such a way as to make it work in IE, too. I tried, but it was much more pain that it was worth.

IE needs to die.

50 Name: !WAHa.06x36 : 2005-11-03 11:31 ID:j/j8XBOa [Del]

> You mean the actual Futaba software, or Kareha's Futaba mode template?

I mean the HTML code it uses. futaba_style.pl is an attempt to make it a bit more XHTML-like, and is at least in part based on thatdog's work of Futallaby, but there's only so much you can do with it.

> IE needs to die.

That it does, but it hasn't yet.

51 Name: !WAHa.06x36 : 2005-11-03 11:45 ID:j/j8XBOa [Del]

Well, here's the latest batch of bugfixes:

http://wakaba.c3.cx/releases/wakaba_3.0.1.zip
http://wakaba.c3.cx/releases/kareha_3.0.2.zip

Nothing terribly important, just getting these things uploaded so they'll be available.

52 Name: Anonymous : 2005-11-03 12:10 ID:YFRboVPu [Del]

>>50
I was under the impression that mode_image's template was 99% XHTML.

53 Name: !WAHa.06x36 : 2005-11-03 13:42 ID:j/j8XBOa [Del]

Sure, but you can write circa-1993 style HTML in XHTML too, just as long as you keep it well-formed.

54 Name: Anonymous : 2005-11-03 21:10 ID:gh+zh4Qo [Del]

http://rapidshare.de/files/7160780/templates.diff.html
Diff for Karehas mode_message templates. Fixes two typos ($permasaged -> $permasage and S_LIST_PERMSAGED -> S_LIST_PERMASAGED) and removes some now unused constants.

55 Name: Anonymous : 2005-11-04 10:57 ID:Heaven [Del]

>IE needs to be fixed or upgraded so it supports webstandards.

Fixed.

56 Name: !WAHa.06x36 : 2005-11-05 09:03 ID:j/j8XBOa [Del]

http://wakaba.c3.cx/releases/kareha_3.0.3.zip

Should implement the fixes in >>54 (although I was kind of sloppy with that, I might have missed some unused string), some fixes for the Japanese template, and there's now an option to turn off the ability of admins to edit include templates (since templates can execute code, that's a bit risky). It's off by default, so if you want editing, remember to turn it on.

57 Name: Anonymous : 2005-11-05 14:49 ID:Tmc6/1xI [Del]

I have to say that kareha has a much more professional feel to it now than it had before!

58 Name: Anonymous : 2005-11-05 18:33 ID:Heaven [Del]

>>57
( ´∀`)

59 Name: Anonymous : 2005-11-06 11:27 ID:CiC7eqWr [Del]

I installed a new copy of Kareha 3.0.0 (now upgraded to 3.0.2) and the tripcodes are acting funny. Each time I enter my name as "foo#bar" (with foo and bar being constants), the tripcode resulting from bar is different. I've gotten three tripcodes so far out of three posts, entering the same thing in the Name field each time. (Also, none of the three matches my tripcode on another, Kareha 2.0.4 forum.) Why might this happen?

60 Name: !WAHa.06x36 : 2005-11-06 12:29 ID:j/j8XBOa [Del]

That's strange... could you link to the board in question, or post the results here?

61 Name: 59 : 2005-11-06 13:53 ID:HJQS1KIL [Del]

>>60
bar is equal to "super" and the results are hnaqdgEjIm, VT4sg21iYS, 8JCn9fwUsm, umVH01Gevu. The expected result (from Kareha 2.0.4) was oCplYpbPzw.

62 Name: !oCplYpbPzw : 2005-11-06 15:09 ID:j/j8XBOa [Del]

It does work as expected here. That's very strange. The only thing I can think of is that the crypt() function would for some reason be returning weird values, but that shouldn't just affect the one version. The code that generates the 2ch tripcodes hasn't changed at all between those versions, either. Do other tripcodes work as expected? Short ones? Long ones? Try posting in the test thread to compare.

63 Name: 59 : 2005-11-06 15:46 ID:HJQS1KIL [Del]

Actually, this experiment is unscientific because one of the variables has changed. The 2.0.4 install is on a Linux server, while the 3.0.x is on a FreeBSD server. I will try installing 2.0.4 on the latter and see if it, too, produces ridiculous results. (Probably it will.)

64 Name: !WAHa.06x36 : 2005-11-06 16:39 ID:j/j8XBOa [Del]

If it doesn't work, then I suspect BSD has some weird-ass crypt() implementation that doesn't do what it's supposed to. I'm really not entirely sure what can be done about that, though.

65 Name: Anonymous : 2005-11-06 17:23 ID:HJQS1KIL [Del]

Here is the FreeBSD crypt(3) manpage:

http://www.freebsd.org/cgi/man.cgi?query=crypt&sektion=3

It looks like the problem might be that the format defaults to something other than DES (probably Blowfish). Can you do crypt_set_format("des") first? (I'm not familiar with how C functions are called from Perl.) Of course, you would only do this if (`uname` eq 'FreeBSD').

According to the manpages from NetBSD and OpenBSD, both of their crypt(3) implementations can be used in the traditional way, so no workarounds should be necessary for those.

66 Name: !WAHa.06x36 : 2005-11-06 17:52 ID:j/j8XBOa [Del]

> I'm not familiar with how C functions are called from Perl.

That's the problem, you can't, without an XS module in between. Searching for this on Google, I turn up lots of Japanese pages. I guess various tripcode-using programs would all have this problem. The only way out I see off hand is to use this suggestion from the man page:

> The global default format can be set using the /etc/auth.conf file using the crypt_default property.

Of course, if you're not allowed to do that, then you have a problem.

If you ask me, FreeBSD should not go around changing how well-established system calls work on a whim, but what the hell do I know.

67 Name: Anonymous : 2005-11-06 19:22 ID:Heaven [Del]

Does anybody else see a little line above the style picker on the Society board?

68 Name: !WAHa.06x36 : 2005-11-06 20:34 ID:j/j8XBOa [Del]

That's a pretty useless question unless you specify what style you use and what you mean by a "little line".

69 Name: Anonymous : 2005-11-06 23:07 ID:Heaven (Image: 368x176 png, 6 kb) [Del]

src/1131343627945.png: 368x176, 6 kb

Stardard futuba, a 2-3 pixel this <> background-color line where the board into text and the style selector are.

In firefox, too.

A picture alright?

70 Name: Anonymous : 2005-11-07 05:36 ID:qpgibh/x [Del]

Ordered HTML lists in WakabaMark ("1. foobar..") seem to cause infinite loops in the wakautils.pl version included in Kareha 3.0.3.

71 Name: !WAHa.06x36 : 2005-11-07 06:23 ID:j/j8XBOa [Del]

http://wakaba.c3.cx/releases/wakaba_3.0.2.zip
http://wakaba.c3.cx/releases/kareha_3.0.4.zip

>>69 fixed (although I'm tempted to call it a Firefox bug, because it was pretty hard to reproduce, and it took a sort of ugly hack to work around it), and also >>70 (which I thought I fixed once already but apparently it didn't take).

72 Name: Anonymous : 2005-11-07 09:51 ID:83mWpDke [Del]

Now that ordered lists work:

  1. Go to http://wakaba.c3.cx/sup/kareha.pl/1106698024/1
  2. Click on "Replies"
  3. Undefined subroutine &main::get_reply_text called at /home/waha/public_html/sup/kareha.pl line 871.

Dead code calling a nonexistent sub, should probably be removed completely in the next release.

73 Name: !WAHa.06x36 : 2005-11-07 09:58 ID:j/j8XBOa [Del]

http://wakaba.c3.cx/releases/kareha_3.0.5.zip

Yet another bugfix! There were a couple of bugs related to deleting files that were fixed. You only need to update if you're using images.

74 Name: Anonymous : 2005-11-07 10:21 ID:Heaven [Del]

Oh, and can you include the fix for >>38 in the next release? I dont want to edit kareha.pl after every update.

75 Name: !WAHa.06x36 : 2005-11-07 10:30 ID:Heaven [Del]

I thought I fixed that?

76 Name: 74 : 2005-11-07 10:43 ID:Heaven [Del]

>>75
Sorry, my fault, I looked in the wrong file.

77 Name: Anonymous : 2005-11-07 13:03 ID:HJQS1KIL [Del]

I get a Mozilla yellow screen of death when using admin.pl:

XML Parsing Error: mismatched tag. Expected: </body>. Location: http://mysite/forum/admin.pl Line Number 8, Column 50:<br /></div></div></div> </div></div> </div> </div> <div id="navi"> Pages: 0 <a href="/forum/admin.pl/p1">1</a> <a href="/forum/admin.pl/p2">2</a> <a href="/forum/admin.pl/p3">3</a> <a href="/forum/admin.pl/p4">4</a> <a href="/forum/admin.pl/list">Thread list</a> </div> </body></html> -------------------------------------------------^

78 Name: Anonymous : 2005-11-07 14:30 ID:Heaven [Del]

If you get around to it, the CSS files in Kareha's mode_image have a lot of old unused elements still defined -- and THREADS_LISTED still exists in config.pl, while HOME is nowhere to be found. Also:

  • What CSS tag can be used to modify the "logo" element's <hr />'s width to 90% of the page?
  • Error template div/body class in mode_image still missing -- on a side note, what font-size and/or font-weight would be appropriate to match h1 text styling in CSS?
  • Back to capcode checking: why shouldn't admins be able to make admin posts anonymously? I think that as long as they have the password, they should be able to bypass all thread/board limitations without the need to use any sort of unique identification. This might require its own sub function that basically removes all such limitations (text/file posts, permasaged/closed threads, choice of whether to use ID, etc).

79 Name: !WAHa.06x36 : 2005-11-07 15:29 ID:j/j8XBOa [Del]

> the CSS files in Kareha's mode_image have a lot of old unused elements still define

Once again, the CSS for mode_image is the same as both Wakaba and Futallaby uses. It's not supposed to be perfectly tailored to Kareha, and I won't be doing any tweaking for that.

> and THREADS_LISTED still exists in config.pl,

All options exist in config.pl, even those that don't apply to the current style.

> Error template div/body class in mode_image still missing -- on a side note, what font-size and/or font-weight would be appropriate to match h1 text styling in CSS?

I decided that since neither Wakaba nor Futallaby have it, I'm not going to add it, for the same reason as above.

> This might require its own sub function that basically removes all such limitations (text/file posts, permasaged/closed threads, choice of whether to use ID, etc).

Because it's a lot of work for something that will hardly ever be used, and really isn't necessary for anything.

80 Post deleted by user.

81 Name: !WAHa.06x36 : 2005-11-07 15:35 ID:j/j8XBOa [Del]

Also, yet another release:

http://wakaba.c3.cx/releases/kareha_3.0.6.zip

Fixes >>77 (which was tricky to track down, because it only happens when posts posted in AA mode get abbreviated), and some other more obscure and harmless bugs I found.

82 Name: Anonymous : 2005-11-07 16:26 ID:Heaven [Del]

>>79

What's the point of supporting Futallaby CSS when the only stock styles available are "Futaba" and "Burichan," both of which are also included in the Wakaba and Kareha packages? If it were an issue of maintaining compatibility with Futaba (the software) I would understand, because it's freely available and used across countless Japanese sites, but there is really no reason to bind ourselves to 4chan's crappy exclusive software.

(BTW, don't take any of this personally, despite the strong tones :))

83 Name: !WAHa.06x36 : 2005-11-07 16:39 ID:j/j8XBOa [Del]

It's just easier to work against a set standard than constantly changing things on a whim, like I do with mode_message. It's a major pain in the ass, keeping all styles updated.

Besides, lots of people have now created more styles to this standard, even if they're using Wakaba and not Futallaby.

84 Name: Anonymous : 2005-11-07 19:15 ID:Heaven [Del]

>>83

>It's a major pain in the ass, keeping all styles updated.

Why not just work on the stock styles (Futaba and Pseud0ch) and leave the others up to the community to update?

85 Name: !WAHa.06x36 : 2005-11-07 19:43 ID:Heaven [Del]

Because I made all of them except Blue Moon (and Pseud0ch which was a cooperation)?

86 Name: Anonymous : 2005-11-07 19:56 ID:Heaven [Del]

>>85
That doesn't mean you're the only person capable of maintaining them. I'm sure there's enough of a following that if people really wanted to keep certain styles, they wouldn't mind updating them every once in a while (especially for such a large version jump like 2.0.0 to 3.0.0).

87 Name: Anonymous : 2005-11-09 01:34 ID:k6YbZ0f4 [Del]

Can you make the path to log.txt configurable? This would make it easy to place log.txt outside of the servers document root (e.g. somewhere in your home directory). While it is possible to configure the server to forbid access to it not many people seem to do this: http://wakaba.c3.cx/sup/log.txt and even if the file is encrypted it is a threat to posters anonymity.

88 Name: !WAHa.06x36 : 2005-11-09 04:44 ID:Heaven [Del]

I thought I had put that in as an option, but maybe I forgot. I should also add some more crypto on the password field, so that one doesn't matter either.

89 Name: !WAHa.06x36 : 2005-11-09 17:34 ID:j/j8XBOa [Del]

http://wakaba.c3.cx/releases/kareha_3.0.7.zip

Added config options for LOG_FILE and INCLUDE_DIR, and also a KEEP_MAINPAGE_NEWLINES option to disable the stripping out of newlines when generating the main page. This keeps Google ads working. Also added more encryption to log.txt, so there's really nothing in there to identify anyone in any way.

90 Name: Anonymous : 2005-11-10 07:58 ID:WC674cGg [Del]

Configurable CSS directory?

91 Name: Anonymous : 2005-11-10 08:07 ID:Heaven [Del]

>>90

$ grep CSS mode_*/config.pl 
mode_image/config.pl:#use constant DEFAULT_STYLE => 'Futaba'; # Default CSS style title
mode_image/config.pl:#use constant CSS_DIR => 'css/'; # CSS file directory
mode_message/config.pl:#use constant DEFAULT_STYLE => 'Headline'; # Default CSS style title
mode_message/config.pl:#use constant CSS_DIR => 'css/'; # CSS file directory

92 Name: Anonymous : 2005-11-10 08:31 ID:Heaven [Del]

Derp.

93 Name: Anonymous : 2005-11-10 08:41 ID:Heaven [Del]

There's a bug with the post abbreviation code, which you can see at http://pyc.h8r.net

94 Name: !WAHa.06x36 : 2005-11-10 10:53 ID:j/j8XBOa [Del]

I've noticed that one, actually, but for the life of me I can't figure out what causes it.

95 Name: !WAHa.06x36 : 2005-11-13 14:25 ID:j/j8XBOa [Del]

http://wakaba.c3.cx/releases/wakaba_3.0.3.zip
http://wakaba.c3.cx/releases/kareha_3.0.8.zip

Well, I sat down and tried again, and I did finally figure >>93 out. It was a regexp bug. I also fixed another regexp bug that caused both Wakaba and Kareha to change "." in filenames to "%2e", which technically isn't wrong, but it's a pretty silly thing to do.

96 Name: Anonymous : 2005-11-14 11:04 ID:Heaven [Del]

Yeah, I had noticed the %2e thing too. Thanks for the fixes.

97 Name: Anonymous : 2005-11-14 12:21 ID:d2IVz4X5 [Del]

I've been extensively tweaking and slimming down the mode_image template for Kareha over the weekend, and making the necessary adjustments to each CSS file (while converting some deprecated variable parameters). Some of it dealt with removing redundant div elements such as postername/commentpostername and filetitle/replytitle, and for others it was changing certain structure elements to more closely resemble the Futaba board layout.

Some shortcomings:

  • as you will see in futaba.css, I tried to style the logo element header with no success, though I wish I could get it working.
  • the page list table at the bottom of each main page is having some alignment issues, particularly the widget buttons.
  • I kept playing around with styling rules.html so that it would left-align with the rest of the postarea table, but instead it just centers.
  • reply table cells are larger than they should be around the blockquote text (most noticeably below).

Here's the template + CSS files: http://rapidshare.de/files/7635013/templatecss.zip.html

You can test it out on http://dongs.hadoken.net (WARNING: NWS), and use http://dongs.hadoken.net/kareha.pl/1131952971/ as the unofficial test thread. As you can see, older threads have been left in the dust due to these incompatible changes. The other possible issue is that I voluntarily removed the extra CSS elements that only Wakaba uses, but these can be easily readded if necessary. I hope you will find the changes useful.

98 Name: Anonymous : 2005-11-14 13:23 ID:Heaven [Del]

Slight template update (changed body margin to 10px and removed the padding altogether).

http://rapidshare.de/files/7638487/templates.pl.html

99 Name: Anonymous : 2005-11-14 15:39 ID:dCfJ21Tt [Del]

I don't understand what you mean by "older threads have been left in the dust". Aren't they just created from the database when you rebuild caches?

100 Name: Anonymous : 2005-11-14 15:46 ID:Heaven [Del]

Second update: created a CSS element each for the inner and outer page list table cells. For now, the border styles and widths are defined in templates.pl, but maybe they should be offloaded to individual CSS files. If not, they can just as easily be overriden.

http://rapidshare.de/files/7645370/templates.pl.html

101 Name: Anonymous : 2005-11-14 15:48 ID:Heaven [Del]

>>99
Not in Kareha's case. Once threads/replies are created, the only way to keep them up to date is to modify the class names by hand in each html file.

102 Name: Anonymous : 2005-11-14 16:15 ID:Heaven [Del]

http://pyc.h8r.net still exhibits the >>93 bug, even after updating wakautils and rebuilding the caches. Does the fix affect only new posts?

103 Name: !WAHa.06x36 : 2005-11-14 17:29 ID:j/j8XBOa [Del]

>>102

What in the... The fix has disappeared from all my files, too!

All right, I added it back one more time, and uploaded new files. Didn't bother to bump the version number, just re-download. The only file that's affected is wakautils.pl

104 Name: Anonymous : 2005-11-14 19:21 ID:bU9NQzp3 [Del]

>>103
Snacks is covertly undermining your efforts.

Also, new bug found: http://wakaba.c3.cx/soc/kareha.pl/1098492851
It happens when you put more than 3 whitespaces in front of a line of text.

105 Name: !WAHa.06x36 : 2005-11-15 05:37 ID:Iu4Ln97/ [Del]

Not a bug, it triggers code mode. Four space or one tab will make everything <pre> formatted. It's copied from Markdown, but it's a bit unfortunate since it's sort of easy to trigger by mistake. Haven't come up with a better solution though. Using only tabs would be hard to trigger accidentially, but most web browsers make it impossible to input tabs by anything except copy-paste.

107 Post deleted by user.

108 Name: Anonymous : 2005-11-20 07:16 ID:Tmc6/1xI [Del]

109 Name: !WAHa.06x36 : 2005-11-20 14:54 ID:Heaven [Del]

>>108

Eh... Let's say it isn't.

110 Post deleted by user.

111 Name: anon!21anon4H3U : 2005-11-26 22:47 ID:TtKPzDp1 (Image: 240x154 png, 3 kb) [Del]

src/1133070453417.png: 240x154, 3 kb

This is the ■ ▲ ▼ for the 6th thread on the /dis/ board, and it's located at the very top of the page. css bug?

112 Name: dmpk2k!hinhT6kz2E : 2005-11-27 07:20 ID:Heaven [Del]

It's worth noting Pseud0ch is still borked in Opera. Namely, the [del] links. I'm not certain whether it's the -1.3em or the relative positioning, but deletebutton should be replaced with one of the ones in the other CSS.

BTW, Amber seems to work fine with 3.0, at least for normal posting modes.

113 Name: !WAHa.06x36 : 2005-11-27 10:27 ID:Heaven [Del]

>>111

That's not 3.0.

>>112

No, it doesn't. It's missing a ton of frames.

114 Name: dmpk2k!hinhT6kz2E : 2005-11-27 20:22 ID:Heaven [Del]

See here: http://forum.akatsukimanga.com/index.html

It's missing a ton of frames? So what? The differences are trivial. It also works better than Pseud0ch (cough).

115 Name: !WAHa.06x36 : 2005-11-29 10:51 ID:j/j8XBOa [Del]

http://wakaba.c3.cx/releases/wakaba_3.0.4.zip
http://wakaba.c3.cx/releases/kareha_3.0.9.zip

Latest batch of bugfixes:

  • Should fixes the validation errors in >>106.
  • Fixes a warning in Wakaba that was spamming logs.
  • Adds the missing link for deleting threads in admin.pl.
  • admin.pl now never uses XHTML mode.
  • Fixes a big where spaces in filenames got encoded as + instead of %20
  • Now strips out numerical entities bigger than 1114111, which apparently causes Mozialla YSODs.
  • Pseud0ch (and some other styles) fixed to work better in IE. I had no idea it wasn't working, you people need to tell me this stuff.

116 Name: Anonymous : 2005-11-29 13:42 ID:8sRlREtP [Del]

>>111 a missing position: relative; for sagethread in pseud0ch.css. This bug ist still present in kareha 3.0.9.

117 Name: !WAHa.06x36 : 2005-11-29 16:09 ID:j/j8XBOa [Del]

>>116

Thanks! Fixed and re-uploaded 3.0.9 without bumping the version number.

118 Name: Anonymous : 2005-12-01 12:21 ID:yxcw+wVf [Del]

Some of the "Return" links match the referring url (eg: the error page when a thread doesn't exist) - but when there isn't a referer, those links go nowhere.

119 Name: Anonymous : 2005-12-05 12:23 ID:dCfJ21Tt [Del]

Did you make any substantial changes to how build_cache() and build_cache_page() work? The changes I did for my board were done with a nebulous understanding of the inner workings, so...

120 Name: !WAHa.06x36 : 2005-12-05 16:40 ID:Heaven [Del]

Umm... In Wakaba, no, in Kareha, yes. As I recall.

121 Name: Anonymous : 2005-12-05 20:47 ID:581OH/XS [Del]

Okay. And you're currently limiting yourself to small diffs, barring showstopping bugs?

122 Name: !WAHa.06x36 : 2005-12-06 06:27 ID:Heaven [Del]

Pretty much. Not planning any big work in the near future.

123 Name: Anonymous : 2005-12-06 11:17 ID:Heaven [Del]

>>122
So we will not have a working post preview in the near future?

124 Name: Anonymous : 2005-12-06 13:13 ID:Heaven [Del]

>>123
Post preview shouldn't be implemented in the core functionality. It would work best as a browser extension.

125 Name: !WAHa.06x36 : 2005-12-06 14:25 ID:Heaven [Del]

>>123

It's not a very big thing, actually, if I implement it with XMLHttpRequest as mentioned elsewhere.

126 Name: Anonymous : 2005-12-07 15:53 ID:Heaven [Del]

>>125
Then please do it so. :)

127 Name: Anonymous : 2005-12-13 07:49 ID:LFzPJaK6 [Del]

Kareha (in Futaba mode, at least) seems to have a bug where clicking a post number on a main page (to reference the post in a reply) produces a something like http://dongs.hadoken.net/kareha.pl/1134468901/#i%3E%3E1 in the URL bar. The link actually works for inserting post references -- that's why I'm not sure if it's a bug or not.

128 Name: Anonymous : 2005-12-16 16:31 ID:9RkuUO3I [Del]

What happened to the dumplog.pl file came with kareha 2.x? How do I decode the IP address of a poster in kareha 3.x?

129 Name: !WAHa.06x36 : 2005-12-16 18:27 ID:Heaven [Del]

Aah, I didn't leave in any automatic way to do it, but you can edit admin.pl and change <var $masked_ip> to <var $ip> to have it show the real IPs instead of the masked ones.

130 Name: Anonymous : 2005-12-23 12:42 ID:bU9NQzp3 [Del]

age for >>127

131 Name: !WAHa.06x36 : 2005-12-23 16:51 ID:isTB5zT3 [Del]

>>127 isn't a bug.

133 Name: Anonymous : 2005-12-24 13:01 ID:Heaven [Del]

i've found a bug in kareha... if i set CAPPED_TRIPS and rebuild caches, all posts on the board disappear from index.html and the thread views, but are still in the files in res/. if i comment out the line for CAPPED_TRIPS, the posts reappear when i rebuild caches.

134 Name: !WAHa.06x36 : 2005-12-24 17:33 ID:VgCtlMza [Del]

What did you set it to?

135 Name: 133 : 2005-12-24 20:05 ID:Heaven [Del]

>>134

use constant CAPPED_TRIPS => ('!hoTarufiRE!!yUegcdbn'=>'<span title="admin">!hoTarufiRE</span>');
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: