Age | Commit message (Collapse) | Author | Files | Lines |
|
As requested, http://vndb.org/t423
|
|
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.
|
|
|
|
|
|
|
|
+ ChangeLog update
|
|
While this 'processing' is currently limited to minifying the file if
JavaScript::Minifier::XS is available, this change would make it a lot
easier to make the strings in the JS code translatable.
|
|
+ removed last traces of forms.js
+ converted code to use tables, as that is easier to expand more
accurate for this purpose. The reason I probably didn't use tables
before was that the innerHTML property doesn't work on tr elements.
The split was mainly because the producer linking is going to be
expanded with an additional field later on.
|
|
Because I am bound to forget all those and add duplicates.
|
|
I use Midori as a representative for all webkit-based browsers, not sure
how reliable that is, but it definitely can't do harm to fix javascript
problems in Midori. :-)
|
|
- You can now click the spoiler column to scroll through the options
- Or mouse-over the spoiler column to see a JS dropdown with the options
(no more select box, which introduces several more clicks to do the same)
|
|
Works pretty much the same as the old version.
|
|
It works slightly different from the previous, in that it enforces a
proper selection instead of validating the selection on form submit, and
it handles adding new media differently. Probably a bit less efficient,
but less code and easier to maintain.
|
|
+ Some fixes and improvements in the dropdown search
+ Renamed 'relations' field to 'vnrelations', as other relations are
going to be implemented as well
New relation editor code is somewhat smaller than the old, mostly thanks
to the tag() function. Also tried to make things less error-prone and
easier to maintain by referencing things using self-explainable class
names instead of the ordering of the HTML tags.
|
|
Also converted the last onload function in script.js.
I think I'll merge forms.js into script.js when converting that
functionality. The total file probably wouldn't larger than 15kB
gzipped, which is still smaller than the jquery core, and that doesn't
even do anything by itself.
|
|
All by EchoMateria.
|
|
|
|
|
|
|
|
|
|
|
|
Abstacted a simple set of reusable functions for generating dropdown
lists, as I'm likely going to need that more often.
|
|
This *should* be more standards-compliant, and *should* work in all major
browsers. But I really have to test that.
|
|
Time to clean up the javascript code a bit, this is a start...
|
|
Mainly because someone offered to translate the interface into
Hungarian, and interface languages are directly linked with database
languages.
|
|
OK, these are actually two separate things: to make the relations
translatable they didn't necessarily have to be stored as enum, and I
could've also converted them to enum but not have it translatable.
Nevertheless, it was easier to just do both at the same time.
Also note how I used the string "$____vnrel_<rel>____$" as identifier in
the relation graphs while I could have used something a lot shorter
("$<rel>$" would have been fine, for example). This is done so that
graphviz can make some space for those relations - the long identifier
gives a slightly more realistic representation of the actual length of
the relation titles.
|
|
|
|
|
|
Had to increase the size of icons.png a bit...
|
|
The subform id is now passed to htmlForm() as first formpart item. This
way the id won't change even if the title does, which will be the case
with the interface translation.
|
|
Damn, my javascript code is pure crap...
|
|
That image hasn't been used for a while. Used to be a selection
indicator for category filters.
|
|
|
|
Now the last unused space in icons.png is used as well. Another icon and
we'll need to enlarge it a bit.
|
|
There were only two states, processed and unprocessed, so simply
using a boolean column with correct naming is more clarifying.
|
|
|
|
|
|
|
|
It was a rather stupid and buggy idea...
|
|
|
|
Makes use of cookies to store the users' preference. Might be a good
idea to store this in the DB for logged in users, together with the
tagspoil cookie.
|
|
This way, we can just use our internal database date format for
client-side communication as well. The calculation is now done in
a centralized place in script.js, rather than all over the place in
the Perl code.
This'll also make it possible to make the date selector more
interactive. But that doesn't have a very high priority at the moment,
the good old three-selection-boxes-thing works fine.
Current implementation has only been tested on FF3, though I doubt
other browsers will complain.
|
|
|
|
Conflicts:
data/docs/4
|
|
|
|
This is what you get when you write half-hearted code and end up
having to change something afterward, you just always forget
to update *something*.
|
|
|
|
...and updated the changelog
|
|
Conflicts:
lib/VNDB/DB/Discussions.pm
util/updates/update_2.3.sql
|
|
|