Skip to content

Commit

Permalink
Version 146
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrusnetwork committed Feb 3, 2015
1 parent 2f75a7f commit b85c9cc
Show file tree
Hide file tree
Showing 12 changed files with 2,305 additions and 2,390 deletions.
16 changes: 16 additions & 0 deletions help/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@
<div class="content">
<h3>changelog</h3>
<ul>
<li><h3>version 146</h3></li>
<ul>
<li>manage tags and ratings dialogs will now OK on F3/F4, not CANCEL</li>
<li>zoom switch (default shortcut 'z') will now work for images smaller than the media viewer's canvas</li>
<li>in the media viewer, the canvas-fitting zoom value is now inserted into a media's scrollable zooms</li>
<li>added 'tags box background' gui custom colour</li>
<li>volume, chapter, and page tags will sort properly again in thumbnail view, including last week's improvements</li>
<li>the thread watcher will no longer break its checking loop on non-404 http request or parse errors (i.e. the manual 'check now' button will still work after a misc error)</li>
<li>to remove clutter, the preview window will no longer show tags and file information like the normal media viewer</li>
<li>subscriptions will now show a live 'show files' button as they process</li>
<li>the copy and 'open new page' right-click menu options on tags will now work on more controls</li>
<li>cleaned quite a bit of tags box code</li>
<li>cleaned up and unified a lot of miscellaneous canvas zoom and display code</li>
<li>fixed an error when trying to upload a file petition without any accompanying file uploads</li>
</ul>
<li><h3>version 145</h3></li>
<ul>
<li>added custom gui colours for thumbnail backgrounds and borders, the autocomplete background, and media background and text</li>
Expand All @@ -21,6 +36,7 @@ <h3>changelog</h3>
<li>patched old db-stored predicates to attempt to convert to the new format when queried for _inclusive</li>
<li>this _should_ have fixed the recent export folder problems</li>
<li>created an 8chan board, and updated my various links, including in the client, to migrate from my old forum to this</li>
<li>added a 'fit to canvas' checkbox in file->options->media that will zoom small images to the full size of the media viewer</li>
<li>misc code improvements</li>
</ul>
<li><h3>version 144</h3></li>
Expand Down
1 change: 1 addition & 0 deletions include/ClientConstants.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
default_gui_colours[ 'autocomplete_background' ] = ( 235, 248, 255 ) # very light blue
default_gui_colours[ 'media_background' ] = ( 255, 255, 255 )
default_gui_colours[ 'media_text' ] = ( 0, 0, 0 )
default_gui_colours[ 'tags_box' ] = ( 255, 255, 255 )

CLIENT_DEFAULT_OPTIONS[ 'gui_colours' ] = default_gui_colours

Expand Down
18 changes: 17 additions & 1 deletion include/ClientDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -5872,6 +5872,15 @@ def _UpdateDB( self, version ):
self._c.execute( 'UPDATE options SET options = ?;', ( HC.options, ) )


if version == 145:

( HC.options, ) = self._c.execute( 'SELECT options FROM options;' ).fetchone()

HC.options[ 'gui_colours' ][ 'tags_box' ] = ( 255, 255, 255 )

self._c.execute( 'UPDATE options SET options = ?;', ( HC.options, ) )


self._c.execute( 'UPDATE version SET version = ?;', ( version + 1, ) )

HC.is_db_updated = True
Expand Down Expand Up @@ -7383,7 +7392,14 @@ def DAEMONSynchroniseSubscriptions():
try: os.remove( temp_path )
except: pass # sometimes this fails, I think due to old handles not being cleaned up fast enough. np--it'll be cleaned up later

if status in ( 'successful', 'redundant' ): successful_hashes.add( hash )
if status in ( 'successful', 'redundant' ):

successful_hashes.add( hash )

job_key_s_h = set( successful_hashes )

job_key.SetVariable( 'popup_message_files', job_key_s_h )



except Exception as e:
Expand Down
2 changes: 0 additions & 2 deletions include/ClientGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ def _THREADUploadPending( self, service_key ):

if not update.IsEmpty():

i += 1

job_key.SetVariable( 'popup_message_text_1', prefix + 'uploading petitions' )

service.Request( HC.POST, 'update', { 'update' : update } )
Expand Down
Loading

0 comments on commit b85c9cc

Please sign in to comment.