Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
This removes the need for the dbVNCache() function in perl.
|
|
|
|
The ORDER BY was previously specified using an 'order' argument, which
would then be directly inserted into the query. The new method is the
same as what I used for the public API: two 'sort' and 'reverse'
arguments. This should be less error-prone and more readable.
This changes quite a lot of code, so I hope I haven't forgotten to
update something along the way.
|
|
CommonHTML.pm was starting to get a bit large.
Also renamed htmlHistory to htmlBrowseHist while I was at it, to keep
consistency with the htmlBrowse functions.
|
|
|
|
+ ChangeLog update
|
|
|
|
I could swear I'd found and fixed a similar bug in the past...
|
|
This is a very important column in a very important table, I hope I
didn't forget to update a piece of code somewhere...
|
|
|
|
|
|
|
|
When a [docname].[langauge tag] file is available for the user language,
that is used instead of the main [docname] file.
|
|
|
|
This finishes Handler::Misc.
|
|
|
|
and age()
|
|
|
|
There are a few things left hardcoded, though: The 'expand' link is also
in Javascript, that will probably need some mechanism for TL as well.
The format of the items on the homepage might need to change depending
on the language, I can imagine that not every language uses the 'title
by name' construct. Especially the age() function needs a localized
version.
|
|
Things are looking good so far.
|
|
It's still not perfect, though:
- New version is table-based - meh.
- Uses negative margins more than once - meh!
- Only works if any of the columns has enough content to wrap. If all
content fits in the columns without wrapping, the total table width
falls back to the "min-width: 100%" statement - which, with the
negative margins, isn't really 100%. MEH!
Still... it looks better than the previous solution.
So far tested on FF3.5, Opera 9.something, and some semi-recent version
of webkit. Reported to work fine on IE7 as well.
|
|
|
|
This finishes the new relation graph generator, as it'll now regenerate
graphs as soon as is needed.
This obsletes the VNDB::Util::Misc::vnCacheUpdate() function, this
functionality is provided by triggers within PostgreSQL.
The update_vncache(0) procedure is now significantly slower due to the
trigger on the vn table. It'd be a good idea to rewrite this procedure
by using triggers and conditional updates, to drastically lower the number
of rows that need to be updated.
|
|
|
|
That URL is so extremely old that I doubt anyone still links to it.
|
|
And another 5ms to the page loading time of the homepage. Byebye,
server resources, byebye! :-(
|
|
+ Set 2.4 date in ChangeLog
|
|
|
|
|
|
<SilverDragon> btw, a small thing
<SilverDragon> in vn's edit history, there are two selectors: "Show automated
edits / Hide automated edits" and "Exclude / Include edits of releases".
Shouldn't "Exclude" be "Exclude edits of releases" as well?
<Yorhel> looks obvious enough to me without the full "..edits [..]"
<SilverDragon> true, that's obvious, but imho looks too strange together with
the first one, where 'automated edits' is repeated
|
|
|
|
|
|
|
|
/u+/votes was used somewhere in the past. While I don't think anyone
still uses it, nothing's wrong with providing a redirect.
|
|
|
|
|
|
|
|
(12:46:39) applehq: bug: recent changes on the homepage show hidden v+.+
Fixed!
|
|
|
|
I kind of forgot there was a firefox search plugin for VNDB which
points to /v/search, let's not break that one.
|
|
|
|
|
|
|
|
Three-box-layout didn't work very well together with the screenshots
on the homepage and the CSS icon hack needed a to get rid of
a strange top margin.
With this, the following browsers should render all pages correctly:
FF2, FF3 and the latest Opera, Safari and Chrome
|
|
No idea why, but it looks like a mess :-(
|
|
|
|
|
|
DB/{Votes,VNList,WishList}.pm into ULists.pm
|