Age | Commit message (Collapse) | Author | Files | Lines |
|
dbUserGet() doesn't return the email address by default anymore.
|
|
|
|
|
|
+ ChangeLog update
|
|
|
|
|
|
|
|
|
|
So that it will only be loaded in the scripts where it is used.
This is still a rather ugly solution, though.
|
|
See Plugin::TransAdmin for details.
I wrote it as a plugin so that it can make use of the framework and
functions of the main VNDB website code, but that it doesn't have to
confirm to the rest of the code or have to be loaded into memory when
unused.
|
|
TODO:
- document the relations
- emit a relgraph notify when needed
|
|
As the same table can easily be used to store producer relation graphs
as well.
|
|
|
|
Again, mostly copied from the VN relation editor...
|
|
|
|
And again copied something from the VN relation code... meh.
|
|
The current list of relations isn't final yet, may be changed later on.
Quite a bit of this code has been copied from the VN relations... need
to find a way to use prober code reuse here.
TODO:
- Nice relation editor interface
- Display relations in revision browser
- Display relations on producer pages
- Generate relation graphs
- Sync update_2.8.sql into dump.sql
|
|
|
|
|
|
|
|
I could swear I'd found and fixed a similar bug in the past...
|
|
|
|
This fixes a strange issue that the ordering changes when browsing to
the next page, resulting in some VNs not showing up at all.
|
|
<@EchoMateria> for example I searched for 'Maika' in Visual Novels
<@EchoMateria> then remembered that it was a producer not a game and
clicked Producers instead
<@EchoMateria> can you set it so that entry in the search field would
stay and it would search for it in the producers instead?
|
|
This is a very important column in a very important table, I hope I
didn't forget to update a piece of code somewhere...
|
|
Performance improvement of ~15ms for all release and VN browse pages.
There are in total 20 known languages in the DB, and 12 of them are
actually used (i.e. a release in that language exists). Which means 8 of
the listed language filters won't produce any results (yet), but I'd say
that's an accaptable trade-off.
|
|
Most of the columns are only used in some rare situations, so fetching
all that information is unecessary. To fetch this information, a
what => 'extended'
is now required. This change should be most noticable for the user list
(now less than half of the previous data is fetched from the database).
|
|
This way the counter resets itself immediately when opening the unread
thread page, which is more intuitive.
|
|
Not very obstructive now that number will automatically reset itself
after opening the threads.
|
|
Instead of displaying the total number of threads. Posts are marked as
read when the thread is opened.
|
|
|
|
Still the VN & producer pages to go...
|
|
They aren't displayed on the site yet, though.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Should be converted to enums at some point... integers don't do the
trick here.
|
|
|
|
This way the translators can TL/improve their own translation of the age
display, instead of asking me to fix it.
|
|
+ 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.
|
|
- 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)
|
|
+ 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.
|
|
|
|
|
|
|
|
Abstacted a simple set of reusable functions for generating dropdown
lists, as I'm likely going to need that more often.
|