Age | Commit message (Collapse) | Author | Files | Lines |
|
Icon created by fuukanou: https://vndb.org/t10665.49
File size reduced a bit further by removing metadata and using scour
Closes #3
|
|
|
|
This might have broken the screenshot uploader on some crappy browsers,
but it's much cleaner than the old iframe hack. The ability to upload
multiple files in one go is also very convenient.
|
|
It became a bit of a hassle to keep updating that file manually in Gimp.
This script performs surprisingly well for our set of icons.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
And added an update_2.23.sql file which now also includes the previously
added indices. Currently, this update file can be run as often as you
want, it doesn't make any noticable changes when you run it on a
database that has already been updated. (i.e. I can update the main site
without a new release)
|
|
+ Fixed makefile
I haven't been able to properly test this yet as a bug[1] in PostgreSQL
9.0.4 is preventing me from editing release entries.
[1] http://archives.postgresql.org/pgsql-bugs/2011-08/msg00119.php
|
|
|
|
|
|
|
|
|
|
As requested, http://vndb.org/t423
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
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...
|
|
|