/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.

Posting mode: Reply

Check to confirm you're not a robot
Name
Email
Subject
Comment
Password
Drawing x size canvas
File(s)

Board Rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Magrathea | Catalog | Bottom

Expand All Images


Version 427 Anonymous Board owner 01/27/2021 (Wed) 23:14:50 Id: 031065 [Preview] No. 953
https://youtube.com/watch?v=E97ftpTjeC4 [Embed]
windows
zip: https://github.com/hydrusnetwork/hydrus/releases/download/v427/Hydrus.Network.427.-.Windows.-.Extract.only.zip
exe: https://github.com/hydrusnetwork/hydrus/releases/download/v427/Hydrus.Network.427.-.Windows.-.Installer.exe
macOS
app: https://github.com/hydrusnetwork/hydrus/releases/download/v427/Hydrus.Network.427.-.macOS.-.App.dmg
linux
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v427/Hydrus.Network.427.-.Linux.-.Executable.tar.gz

I had an ok week. I mostly fixed and cleaned things.

more ghosts

There was another 'ghost' pending tag issue. Sometimes, on committing pending tags with siblings up to the PTR, the pending record and its count was not clearing properly. I reproduced the problem and fixed it, and a new test ensures it will not happen again. Thank you to the reports about this, they helped me to figure it out.

Since we have had some trouble with pending tags in particular, I have written a new maintenance routine to recalculate pending tags and their counts efficiently without having to wait for siblings/parents re-sync. This will run on update, so with luck, your tags and autocompletes should be fixed up (until the next problem!).

the rest

There is a new shortcut set under file->shortcuts to handle tag autocomplete shortcuts. Any 'switch searching immediately' that was previously on 'main gui' will be migrated over to this on update, and I have also moved several previously hardcoded and undocumented shortcuts to the new shortcut system, so you can now edit them! The new actions (with their defaults) are: forcing tag autocomplete lookup now (ctrl+space), flipping an IME-friendly input mode on/off (insert), navigating autocomplete results tabs left/right when input is empty (left/right arrow), navigating the service pages in manage tags dialog left/right when input is empty (up/down arrow), and navigating a parent media viewer previous/next when input is empty (page up/down).

I fixed a bad auto-setup link in the gelbooru downloader last week that messed up some users. Also rolled in is a new URL definition that should fix 420chan thread watching for their newer url format.

full list

- ghost pending tags:
- fixed another ghost pending tags bug. this may have been new or there since the display cache started, I am not sure, but it shouldn't happen again. it was occuring when a pending tag was being committed to 'current' and another tag in its sibling group already existed as a current tag for that file. the pending tag and its count would not clear for non-'all known files' domains, causing ghosts to appear in search pages but not typically manage tags. you may have noticed ghost tags hanging around after a pending commit--this was it. the true problem here was in the 'rescind pending' action that occurs just before an add/commit. a new unit test tests for this situation both for two non-ideal tags being pend-merged, and a non-ideal tag being pend-merged into the existing ideal
- wrote a routine to regenerate _pending_ tag storage and autocomplete counts from scratch for the combined and specific display tag caches. this job is special in that it regens tags instantly without having to reset sibling/parent sync. you can run the job from the database->regen menu. this is the start of 'fix just this tag' maintenance ability
- the pending regen routines will occur on update. it shouldn't take long at all, unless you have five million tags pending, where it could be a couple minutes


Anonymous Board owner 01/27/2021 (Wed) 23:15:23 Id: 031065 [Preview] No.954 del
- autocomplete shortcuts:
- there is a new shortcut set under _file->shortcuts_ just for tag autocomplete shortcuts. any 'switch searching immediately' shortcut previously on 'main gui' will be migrated over
- the tag autocomplete input text box is now plugged into the new shortcut system and uses this set
- migrated previously hardcoded autocomplete shortcuts to the shortcut system (defaults):
- - force search now, for when you have automatic searching turned off (ctrl+space)
- - enable IME-friendly mode (insert)
- - if input empty, move left/right a tab (left/right arrow)
- - if input empty, move left/right a service page (up/down arrow)
- - if input empty and on media viewer, move to previous/next media (page up/down)
- misc improvements to my shortcut handler
- misc shortcut code cleanup
- .
- the rest:
- I fixed a bad example url in the new gelbooru file page parser that was sometimes leading to a link to the gallery url class. this was an artifact of an old experiment with md5-search parsing, now fixed with newer redirection tech. the updated parser is folded into update, and if you ended up with the incorrect link, it should be detected, dissolved, and re-linked with the file page parser
- thanks to a user report, wrote a new url class for 420chan's newer thread url format
- sorting a gallery downloader or thread watcher multi-column list by 'status' should now group 'done' and 'paused' items separately
- fixed a bug in the /add_tags/add_tags Client API call when checking some petitioned tags data types. cleaned all that code, it was ugly (issue #788)
- added unit tests for /add_tags/add_tags to test the service_names_to_actions_to_tags parameter better and repository actions, including petitioning with and without specified reason
- .
- code refactoring:
- finally addressing the near-1MB ClientDB file, I have started a framework to break the db into separate modules with their own creation/repair/work responsibilities. this will make the file easier to work on, maintain, update, and test. this week starts off simple, with the master definitions being peeled off into hashes, tags, urls, and texts submodules
- cleaned some misc code around here, including a bunch of related decoupling
- ClientDB.py is now in its own 'db' module as well. the db will further fracture and this module will gain more files in future
- the boot code in the launch scripts is now migrated to the 'hydrus' directory, with the actual launch scripts now doing nicer main checks to not launch the program if you want to play around with importing hydrus. more work to come here
- finished the help's header linking job--all headers across the help are now #fragment links
- misc help cleanup

next week

While I am pleased with the cleanup and fixes, I had trouble getting in all the work time I wanted this week. Next week is scheduled to be a 'medium size' job week. I will try to improve my 'taglist' widget to better display implied parents and siblings in the manage tags dialog. I never got this done properly in the tag display cache work, and workflow suffers for it, so I will reserve some time and hammer it out. There's a small chance it will take two weeks, but we'll see.


Anonymous 02/02/2021 (Tue) 06:29:36 Id: 3cd043 [Preview] No.955 del
>>953
I hate to bitch, but can we change the nitter downloader to a new instance or something? They error out pretty much constantly anymore.


No Release Tomorrow! Anonymous Board owner 02/03/2021 (Wed) 01:06:39 Id: ec785a [Preview] No.956 del
I had an ok week. I was thinking of taking two weeks so I could do the taglist improvements nicely, and since that would give me a little extra time, I decided to pull the trigger on finally upgrading my main dev computer as well. I spent a bit of this week sorting that out, replacing my six year old office computer with a nice mini pc with an SSD. Beyond that, I only have some little bug fixes and cleanup done, so I will spend tomorrow as a normal work day and put off the release.

There will be no release tomorrow. 428 should be on the 10th!

>>955
I will see about updating the defaults, thank you for the report.


Release Tomorrow! Anonymous Board owner 02/10/2021 (Wed) 09:05:42 Id: 6195ce [Preview] No.966 del
I had a good couple of weeks. As well as fixing a bunch of bugs and improving quality of life, I was able to finish an important backend update to the taglists used across the program. Implied parents and siblings are now shown nicely in the manage tags dialog.

There is a whole bunch to test, so the release may be late tomorrow.



Top | Catalog | Post a reply | Magrathea | Return