Age | Commit message (Collapse) | Author | Files | Lines |
|
I may do the docs later as well, when I'm terribly bored again.
|
|
Conflicts:
data/lang.txt
|
|
This one is also configurable, but mainly because I want to avoid
generating several thousands of notifications for a single action...
|
|
And added a settings window where you can disable this notification,
which is something you really want to do if you're an active
contributor...
|
|
Forgot to do this in the earlier commit.
|
|
|
|
As requested, http://vndb.org/t423
|
|
And changed vn.c_languages to an array type while I was at it. This
required some changes in the Perl code, and I found a bug in DBD::Pg
while I was at it:
https://rt.cpan.org/Ticket/Display.html?id=54224
Luckily, there's an easy workaround for that.
|
|
|
|
This one's a lot faster.
|
|
|
|
Complex queries...
|
|
Nothing wrong with using the same name...
|
|
These aren't likely to change anyway, and things will become less easy
to display when other types of notifications are added.
|
|
More intuitive to allow clicking on that as well to open the
notification.
|
|
|
|
|
|
Too many "HEY CAN YOU RECOMMEND ME .." people going around. The channel
is crowded enough now.
|
|
62cb41c3b8780bffe5a8ea58a6a7b5053d9e1059
and
4895ea63323b94f0b128d6874be997a24d3a3b0d
were bad jokes, really... let's hope this permanently fixes the problem.
|
|
|
|
|
|
An expiration date doesn't make much sense if it's both not used and if
it can't be configured by the user, so just make this a timestamp to
indicate when the session has been added, which, while still not really
used, is more valuable.
|
|
If we're going to automatically remove older sessions, it would make
more sense to remove unused sessions, rather than old sessions that are
still in use. But we first need to keep track of when a session has last
been used to do so...
|
|
Setting the l10n cookie is now done from a separate url: /setlang
This makes the language determination code less complex, and makes sure
nobody links to pages that change the UI language without intending to.
(I've seen some links floating around with the l10n parameter included,
which is... bad)
|
|
The current setup should be able to handle all kinds of notifications,
though only PMs are implemented at this point. More to come.
|
|
The current error message isn't really intuitive, though...
|
|
Added a userid field in the skin config files, from which the credits
are loaded. Now I don't have to constantly update d7 for every language
when something changes in the skin files.
|
|
And updated skingen.pl and vndb.pl to make use of this abstraction.
|
|
This way you can easily see the difference between an announcement and a
regular user-requested reply.
|
|
They used to be hidden from all edit histories, but there's not really a
point in hiding them. In fact, it'll only confuse people who just got
their DB entry deleted and can't find any evidence that it even existed
at all.
|
|
This is implemented by adding ihid (item hidden) and ilock (item
locked) columns to the changes table,
The (vn|release|producer).(hidden|locked) columns now work as a
cache, refering to the changes.(ihid|ilock) columns with
changes.id = (vn|release|producer).latest.
The cached columns are updated automatically each time a new revision is
inserted.
This is a pretty large change, bugs are quite likely.
|
|
Simply re-using them by truncating the tables first is faster, and
requires less locking when performing batch edits in one transaction.
|
|
Seems to work without those hacks now... kind-of.
And I didn't like seeing a warning in the the firefox debug window.
|
|
|
|
Replaced the selection boxes with some javascript dropdown magic.
This saves a click and a scroll per date part in most cases.
|
|
|
|
And greatly simplified the HTML of the screenshot viewer and fixed a
HTML bug (colspan when it wasn't needed) in the process.
|
|
|
|
|
|
|
|
|
|
Damn, so many bugs...
This one was introduced in 9613533da2c58af3c64e3bd4ed7b92b22ffd442f
|
|
Makes more sense this way
|
|
It should work perfectly now...
|
|
The 'l10n' cookie doesn't always exist, so use the language tag in the
HTML code instead.
|
|
|
|
|
|
+ Changelog update for 2.10
|
|
So that people with correctly configured browsers don't have to manually
choose their language of choice with the language switcher, and so that
most people will have one cookie less. (The 'l10n' cookie is removed if
it matches the Accept-Header language -- or the fallback)
More info @
http://www.w3.org/International/questions/qa-lang-priorities
|
|
|