summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2015-07-21Multi::API: Support IPv6Yorhel1-1/+5
This was more trivial than I had expected. I already took ipv6 into account when rewriting the API for AnyEvent (including the use of norm_ip()), so that part was fine. The only part I had to fix was the listening socket, and I had to ensure that the $c->{ip} was correct. The first was easy, and the latter was properly handled by AnyEvent automatically. Looks like AnyEvent automatically 'unpacks' IPv4-mapped IPv6 addresses, so I didn't have to deal with that myself.
2015-07-20Multi::API: Throttle "throttled" error repliesYorhel1-3/+13
This is to save system resources when a misbehaving client keeps sending commands while it's being throttled. It also protects against trivial DoS attacks.
2015-07-20L10N: Support plural forms for charrolesYorhel2-4/+4
Used /v+/chars, other occurrences just use singular.
2015-07-19Remove reliance on Referer header for the login formYorhel2-5/+8
2015-07-19Remove reliance on Referer header for /[vr]+/list modificationsYorhel1-6/+6
2015-07-19Remove the MSIE browser check & warning pageYorhel1-47/+1
It's a relic of the past. IE 6 & 7 are very rarely used nowadays, and people still using it will quickly realize why things don't quite work - they'll be used to it.
2015-07-19Remove reliance on Referer header for language switchingYorhel1-9/+9
First step in removing the use of the Referer header for redirects. The Referer header is ugly and not always reliable, it's better to encode the required information in the URL.
2015-07-18Multi::Maintenance: Fix bug in calculating timer for monthly cronYorhel1-1/+1
AE::timer accepts a time interval as argument, not a complete timestamp. So the monthly cron job hasn't run in a while...
2015-07-18Handler::(VNEdit|Chars): Fix removal of alpha layer in imagesYorhel2-2/+4
Apparently, imagemagick's Flatten() has some odd corner cases where it seems to do more than just remove the alpha layer. The current approach is the one recommended by the official docs: http://www.imagemagick.org/Usage/masking/#remove
2015-07-17tladmin: Fix wrapping of lang.txt textareasYorhel1-1/+1
2015-07-12Handler::VNEdit: Use better resizing algorithmYorhel1-1/+6
Same as 2f61c4f6772f852f9e0b9ede6228de4e4dbf71a0
2015-07-12tladmin: Various improvementsYorhel1-10/+20
- Allow non-logged in visitors to browse the translations - Add 'Recent changes' link to the doc pages - Add 'incomplete' indication to the doc page links
2015-07-12d17: Document the interface translation procedureYorhel1-15/+1
2015-07-01Handler::Chars: Use better image resizing algorithmYorhel1-1/+5
As suggested at https://vndb.org/t6668.18 I also like how the 'amount' option isn't documented for UnsharpMask(). All documentation says 'gain' instead, but that option throws an error.
2015-06-21Multi::IRC: Increase delay between random quotesYorhel1-1/+1
2015-06-15Multi::IRC: Some fixes wrt. chat loggingYorhel1-8/+6
2015-06-15d7: Replace "top 5 contributors" with "special users" listingYorhel2-6/+13
Having a proper and up-to-date list of moderators is an often requested feature.
2015-05-13Changed layour of staff pagesYorhel2-129/+107
Not entirely sure if this is an improvement, but it's slightly more consistent with other layouts (combination of user page, release page and character page), and leaves more room for the credit/cast listings.
2015-05-13Add staff statistic to main menuYorhel2-1/+2
2015-05-12Handler::Tags: Don't allow adding deleted tags to a VNYorhel1-0/+3
2015-05-12Fix display of 'external' iconYorhel2-2/+2
Broken in commit 887607bb3744c727ec617508c17b2b7df46c2287
2015-05-11Multi::{Core,Anime}: More fixes regarding UTF-8Yorhel2-11/+14
2015-04-29Multi::(API:IRC): Fix some unicode handling issuesYorhel2-6/+8
I forgot that AnyEvent::Handle works with bytes rather than unicode strings, even though that is kind of obvious. I expected that AnyEvent::IRC would automatically handle the conversion between byte strings and Unicode strings, but it doesn't, so that has to be done manually.
2015-04-28Merge branch 'anyevent'Yorhel8-2438/+2058
Conflicts: lib/Multi/Feed.pm lib/Multi/IRC.pm
2015-04-27Multi::IRC: Properly handle connection issuesYorhel1-5/+28
2015-04-27Multi::Core: Make log level configurableYorhel1-1/+1
I probably don't want to have the 'trace' log level on the actual server.
2015-04-27Multi::API: Fixed various bugs found while testingYorhel1-4/+7
Ugh I wish I had proper unit tests. Ugh writing proper unit tests is a loooot more work than just doing a bunch of quick manual tests.
2015-04-27Multi::API: Fix bug when querying stuff while logged inYorhel1-1/+1
2015-04-27Multi::API: Fully implement the 'set' command with AnyEventYorhel1-58/+59
2015-04-27Multi::API: Fully implement 'get' command with AnyEventYorhel2-510/+317
2015-04-27Multi: Backport staff database changes from master branchYorhel2-7/+14
Includes changes from 5926ce95395976456c0e15895d13491a81819087 and e20b19ce400ccf382a969a51777e0678ff8d44db
2015-03-08Multi::Feed: Fix IDs of staff editsmorkt1-2/+4
2015-02-27Handler::Chars: Flatten uploaded images to better handle transparencymorkt1-2/+2
2015-02-27staff: Manually stripe credit list on staff pagesmorkt1-3/+4
2015-02-21chars: Display seiyuu on char instancesmorkt1-3/+3
2015-02-16Various staff improvementsmorkt2-2/+6
(Quoting mail:) - character list is sorted by name in cast edit form (managing of the huge lists like v6458 becomes slightly easier); - display number of characters voiced on seiyuu page; - display a notice in staff edit form when primary name could be changed.
2015-02-14DB::Staff: Filter out hidden VNsmorkt1-4/+4
2015-02-14Merge branch 'master' of g.blicky.net:vndbYorhel1-3/+5
Ugh I hate merge commits, but for some reason 'git rebase' doesn't allow empty email addreses, and refuses to rebase my commits. :-(
2015-02-14Revamp staff alias editing interface + fix reverting removed aliassesmorkt2-30/+35
The new alias editing interface makes it a lot easier to change the primary name.
2015-02-07Handler::VNPage: Fix ordering of staff/cast on revision pagemorkt1-3/+5
2015-02-04Handler::Staff: Remove spaces around aliassesmorkt1-0/+1
2015-02-04Add spoiler settings to /v+/staffmorkt2-7/+13
2015-02-04DB::Staff: Fix role filter bugmorkt1-2/+2
2015-02-03Disallow editing your own post after one weekYorhel1-3/+9
2015-02-03Conditionally append char IDs in seiyuu editor + minor fixesmorkt2-2/+10
2015-02-02dbVNHasChar(): Fix bug with hidden/deleted charactersYorhel1-1/+1
2015-02-02Add filters to staff browsers + minor layout fix on staff pagesmorkt3-15/+43
2015-01-29VNPage: Don't shorten credit notes in revision displayYorhel1-2/+2
The revision is supposed to display all changes, so a change to any part of the notes should be visible.
2015-01-28Hide spoilerous characters from the VN staff pages by defaultYorhel2-4/+7
To fix an issue mentioned in <https://vndb.org/t6138.15>. Yay for writing patches on the live site.
2015-01-28Apply bbSubstLinks to database description fieldsYorhel4-0/+4