
User: too2q
- Joined:
- Last visit:
- Last active:
- Posts: 75
- Threads: 2
>green
<orange
RED
glow
(((jews)))
spoilerI'm not at home now and just took a look from phone, looks OK and will merge tomorrow, just check if you can replace the XML escaping method with
org.owasp.encoder.Encode which I already use for escaping embed links, if not, put a comment above so I don't wonder later why do I have a special method for that.>I'm beginning to hate how inadequate my art looks despite all the time I've spent drawing
Maybe you just need to spend twice as much, I don't know what the standard is
>On the phantasia scale I'm probably a 1 but I've never done a proper test for it.
Are there proper tests for it? When I consciously try to imagine an apple, I can't, but I can easily imagine anything as long as I'm not aware it's a test.
kek, I actually subtract 1 from that index to get the proper internal array index, but thought starting with 1 will be consistent with page numbering
That's not long, I expected at least 10h, I remember having to draw crankshafts and such at school and it would take me like 6h hours for a single A4 drawing while being much less complicated than this
How long does it take to finish such a drawing? Looks super detailed.
New features:
- Anonymous threads: posts in an anonymous thread do not have the author's account linked; they are also not visible on user pages.
- Restricted threads: visible only to logged-in and activated users.
- Inline references to uploaded attachments: attachments can be referenced using
, where<index>designates the specific attachment to use. - Button to show/hide mod controls: located in the top bar, this button toggles the visibility of control buttons, IP hashes, etc.
Misc. improvements:
- Inline images now have the
no-referrerattribute; the Referer header will not be sent when downloading an image from an external source. - Removed the flickering effect caused by post timestamps being replaced with relative times during page refreshes.
added, the syntax is  (or some other number ofc), the ![] part is required because I'm abusing markdown syntax to handle this
>you can't use images from arbitrary domains because that's how IP leaks happen, there is a whitelist
>the image has to already be uploaded somewhere because you need a link to it
>there are no thumbnails
I plan to add syntax like , where the number will reference an uploaded image and then we would get thumbnails, but that's something that needs to be added someday, currently I'm working on those restricted threads that somebaldi asked for
we do have this though
>avatars
i'm not so sure about this because my conception for the site was that even though there are accounts with all the nice features they enable like access control or auto-approval, namefagging shouldn't really get in the way while posting, posts should still be more about content than about who wrote them
>private messages
on todo list already
>feels a bit too zarty like and it doubles the dutch cartoon imageboard
it's also supposed to replace vichan there, so you could say it's a test instance of sorts
yes, that's how it's implemented, it's just that it effectively doubles the cache sizes because now all queries have to take into account whether the user is logged in or not, and this information has to be passed everywhere, and also in some cases it means an additional join
i will try to add this anyway, now i don't think it should be such a big complication because it's only an account requirement, which when retrieving threads for overboard or index can be checked because we are retrieving threads so the only place that actually has to change is the user page
making a thread anonymous is super easy, making a thread restricted complicates every single query that returns posts to be displayed anywhere because now we must also check if the thread is restricted.
this is because an anonymous post is just a post with name, while there is no concept of a restricted post
/oc3/ for people who want the account requirement AND don't want their accounts attached to their posts
Introduction and retention of code. Most of changes are additive which means I got the design mostly right from the beginning and could focus on adding features instead of writing and rewriting the same lines of code all the time. The codebase is quite small for this kind of a project, slightly above 26k LOC. November and February were DNB months because I was busy with SNCA, also the progress accelerated somewhat in April because I finally started using Codex to burn through the backlog, but that was only possible because all the foundational infrastructural work around session management, authorization, database caching, templating etc. had already been done and what was left was adding some moderation buttons or administration endpoints. For instance, account deletion means that for each of deleted accounts the threads, posts, post edits, and reports have to be either detached from the account (which just means setting the user ID to NULL) or deleted. All invites, roles, notes, bookmarks, and sessions have be deleted and in case of moderators, wordfilters, bans, banned files, news items, and notes have to be detached. The exact kind of a repetitive work that doesn't have to be done manually.
More detailed stats:
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Blanks Comments Code Complexity
───────────────────────────────────────────────────────────────────────────────
Scala 143 21672 1972 402 19298 1601
(ULOC) 12645
-------------------------------------------------------------------------------
SVG 10 10 0 0 10 0
(ULOC) 10
-------------------------------------------------------------------------------
JavaScript 4 1686 257 70 1359 223
(ULOC) 1109
-------------------------------------------------------------------------------
SQL 4 644 90 0 554 0
(ULOC) 355
-------------------------------------------------------------------------------
CSS 3 1891 179 13 1699 0
(ULOC) 1049
-------------------------------------------------------------------------------
Markdown 2 411 88 0 323 0
(ULOC) 250
-------------------------------------------------------------------------------
License 1 661 117 0 544 0
(ULOC) 545
-------------------------------------------------------------------------------
Properties File 1 1 0 0 1 0
(ULOC) 1
-------------------------------------------------------------------------------
Shell 1 3 1 1 1 2
(ULOC) 3
-------------------------------------------------------------------------------
XML 1 12 1 0 11 0
(ULOC) 12
-------------------------------------------------------------------------------
YAML 1 16 1 0 15 0
(ULOC) 16
───────────────────────────────────────────────────────────────────────────────
Total 171 27007 2706 486 23815 1826
───────────────────────────────────────────────────────────────────────────────
Unique Lines of Code (ULOC) 15963
───────────────────────────────────────────────────────────────────────────────
