pyrook:pyrook.git
2 years agofix 'new room' action from message tab master
Sam Lade [Sat, 31 Jan 2015 21:47:44 +0000 (21:47 +0000)]
fix 'new room' action from message tab

3 years agoVersion and docs for 0.4.2 0.4.2
Sam Lade [Wed, 6 Aug 2014 14:48:47 +0000 (15:48 +0100)]
Version and docs for 0.4.2

3 years agoDon't write blank saved details from login
Sam Lade [Wed, 6 Aug 2014 14:44:38 +0000 (15:44 +0100)]
Don't write blank saved details from login

This means you can, for example, temporarily log in with a different
user (specified on the command line or in the form) and set it not to be
remembered, and the previous settings won't be lost.

Editing the saved settings can be achieved from the settings dialogue
now.

3 years agoAdd saved account details to config dialogue
Sam Lade [Wed, 6 Aug 2014 14:38:36 +0000 (15:38 +0100)]
Add saved account details to config dialogue

3 years agofix missed version number change
Sam Lade [Sun, 9 Mar 2014 21:20:05 +0000 (21:20 +0000)]
fix missed version number change

3 years agoFix images with wrong extensions on Windows 0.4.1
Sam Lade [Sun, 9 Mar 2014 17:29:31 +0000 (17:29 +0000)]
Fix images with wrong extensions on Windows

The fix: just strip all extensions, which forces the type to be
autodetected.

3 years agoversion and docs for 0.4.1
Sam Lade [Sun, 9 Mar 2014 17:02:31 +0000 (17:02 +0000)]
version and docs for 0.4.1

3 years agoSpellingLineEdit: fix right click menu with no enchant
Sam Lade [Sun, 9 Mar 2014 16:52:45 +0000 (16:52 +0000)]
SpellingLineEdit: fix right click menu with no enchant

3 years agoImprove re-layout on image load
David Leverton [Sun, 9 Mar 2014 14:54:29 +0000 (14:54 +0000)]
Improve re-layout on image load

This works better than the scrolling hack.  We're assuming that
marking the whole document dirty isn't going to be a problem
performance-wise, as finding the specific part needed is not
straightforward.

3 years agoTurn console off in exe build
Sam Lade [Sun, 17 Nov 2013 23:39:03 +0000 (23:39 +0000)]
Turn console off in exe build

3 years agoBump version and docs for 0.4.0 0.4.0
Sam Lade [Sun, 17 Nov 2013 16:43:48 +0000 (16:43 +0000)]
Bump version and docs for 0.4.0

3 years agoUpdate PyInstaller build for current version
Sam Lade [Sun, 17 Nov 2013 16:36:51 +0000 (16:36 +0000)]
Update PyInstaller build for current version

Now builds successfully with PyInstaller 2.1. This is still limited to
Python 2 support only, but meh. At least it works, with fewer hacks than
last time around.

3 years agoFix opening log directory
Sam Lade [Sun, 17 Nov 2013 14:10:05 +0000 (14:10 +0000)]
Fix opening log directory

3 years agoFix display of topics with < in in join dialogue
Sam Lade [Thu, 14 Nov 2013 08:11:52 +0000 (08:11 +0000)]
Fix display of topics with < in in join dialogue

3 years agoFix bug when font not set in options
Sam Lade [Thu, 7 Nov 2013 20:14:12 +0000 (20:14 +0000)]
Fix bug when font not set in options

3 years agoUse configured fonts
Sam Lade [Sun, 27 Oct 2013 00:34:22 +0000 (01:34 +0100)]
Use configured fonts

Further to previous commit, the ThemeEngine now respects the configured
font.

3 years agoAdd font selection to settings dialogue
Sam Lade [Sun, 27 Oct 2013 00:01:53 +0000 (01:01 +0100)]
Add font selection to settings dialogue

This isn't actually used by the client yet, and removes the current
option for font size selection.

3 years agoChatstream: reload if keep-alives not received
Sam Lade [Sat, 26 Oct 2013 17:46:15 +0000 (18:46 +0100)]
Chatstream: reload if keep-alives not received

The server sends keep-alive empty lines every 200s even if there's no
activity. Therefore, if no data is received for 200s, the chatstream has
died and needs reloading.

4 years agotypo--
Sam Lade [Fri, 30 Aug 2013 19:08:16 +0000 (20:08 +0100)]
typo--

4 years agoVersion and docs for 0.3.13 0.3.13
Sam Lade [Sat, 8 Jun 2013 20:00:22 +0000 (21:00 +0100)]
Version and docs for 0.3.13

4 years agoFix segfault loading WebTab module
Sam Lade [Sat, 8 Jun 2013 19:54:07 +0000 (20:54 +0100)]
Fix segfault loading WebTab module

Some Qt versions segfault if QWebSettings.globalSettings() is accessed
before QApplication() has been created. Delay this call to the __init__
of WebTab to avoid this problem.

4 years agoChatTab: fix images with absolute paths
Sam Lade [Wed, 20 Feb 2013 20:17:29 +0000 (20:17 +0000)]
ChatTab: fix images with absolute paths

4 years agoBump version and docs for 0.3.12 0.3.12
Sam Lade [Sun, 27 Jan 2013 17:13:27 +0000 (17:13 +0000)]
Bump version and docs for 0.3.12

4 years agoAdd focus input box keyboard shortcut
Sam Lade [Sun, 27 Jan 2013 16:57:19 +0000 (16:57 +0000)]
Add focus input box keyboard shortcut

4 years agoFix a couple of error message dialogs
Sam Lade [Tue, 15 Jan 2013 20:16:21 +0000 (20:16 +0000)]
Fix a couple of error message dialogs

4 years agoFix outdated URL
Sam Lade [Thu, 27 Dec 2012 18:33:37 +0000 (18:33 +0000)]
Fix outdated URL

5 years agoKeep scroll position when toggling timestamps
Sam Lade [Fri, 10 Aug 2012 16:08:59 +0000 (17:08 +0100)]
Keep scroll position when toggling timestamps

This won't work for message tabs and would require some heavy
modifications to the AutoScroll to accept multiple streams, but could be
done if anyone notices.

5 years agoFix purge duplicating messages in useful_html
Sam Lade [Fri, 10 Aug 2012 16:07:09 +0000 (17:07 +0100)]
Fix purge duplicating messages in useful_html

Only actually showed up when toggling forced timestamps, but the
internal representation had been wrong for quite a while.

5 years agoAdd F2 as shortcut for timestamp toggle
Sam Lade [Fri, 10 Aug 2012 03:35:41 +0000 (04:35 +0100)]
Add F2 as shortcut for timestamp toggle

5 years agoFix timestamp toggling in some cases
Sam Lade [Fri, 10 Aug 2012 03:35:06 +0000 (04:35 +0100)]
Fix timestamp toggling in some cases

Sometimes (not sure when) it hit invalid times and errored out.

5 years agoBump version and docs for 0.3.11 0.3.11
Sam Lade [Fri, 10 Aug 2012 02:56:29 +0000 (03:56 +0100)]
Bump version and docs for 0.3.11

5 years agoAdd action to toggle forced timestamp display
Sam Lade [Fri, 10 Aug 2012 02:49:42 +0000 (03:49 +0100)]
Add action to toggle forced timestamp display

Usecase: user without timestamps enabled wants to quickly check when a
message was posted.
Action is added to message stream right click menu with a keyboard
shortcut which toggles display of short timestamps on and off.
These are inserted by the theme engine if no timestamp is already
present.

5 years agoFix long-format timestamps
Sam Lade [Fri, 10 Aug 2012 00:54:52 +0000 (01:54 +0100)]
Fix long-format timestamps

Fix exception due to typo.
Fix displaying the time twice.
Oops.

5 years agoAdd choice of log rotation frequency
Sam Lade [Thu, 9 Aug 2012 23:05:28 +0000 (00:05 +0100)]
Add choice of log rotation frequency

5 years agoUse default system font for default WebTab font
Sam Lade [Sun, 20 May 2012 14:17:26 +0000 (15:17 +0100)]
Use default system font for default WebTab font

Qt uses a serif font for StandardFont in QtWebKit for some reason, which
clashes with the font used in ChatTabs etc, at least on some systems.
Using the default font should fix this.

5 years agoCatch extra error when IP location lookup fails
Sam Lade [Sat, 12 May 2012 02:38:23 +0000 (03:38 +0100)]
Catch extra error when IP location lookup fails

5 years agoBump version and docs for 0.3.10 0.3.10
Sam Lade [Sat, 28 Apr 2012 16:20:43 +0000 (17:20 +0100)]
Bump version and docs for 0.3.10

5 years agoFix userlist crash with non-ASCII labels
Sam Lade [Sat, 28 Apr 2012 16:13:44 +0000 (17:13 +0100)]
Fix userlist crash with non-ASCII labels

5 years agoRevert "Partial revert of 3df59dcc3f07b5751"
Sam Lade [Wed, 25 Apr 2012 03:28:26 +0000 (04:28 +0100)]
Revert "Partial revert of 3df59dcc3f07b5751"

This reverts commit 0ef576a4a2574fdd8c5f31a55ec94d5a3a67fbbd. Issue was
a false positive caused by library bugs and not related to PyRook
changes.

5 years agoPartial revert of 3df59dcc3f07b5751
Sam Lade [Mon, 23 Apr 2012 16:10:25 +0000 (17:10 +0100)]
Partial revert of 3df59dcc3f07b5751

It removed an error signal disconnect, which ought not to have done
anything as it wasn't connected. After user error reports, it appears it
*did* do something after all.

5 years agoBump version and docs for 0.3.9 0.3.9
Sam Lade [Sat, 21 Apr 2012 00:57:08 +0000 (01:57 +0100)]
Bump version and docs for 0.3.9

5 years agoShow notification for network errors on userlist timeout
Sam Lade [Sat, 21 Apr 2012 00:23:14 +0000 (01:23 +0100)]
Show notification for network errors on userlist timeout

This was not technically an error, just the 20 second timer to start the
next request expiring, so was not being detected.

5 years agoUse RinkChat external link scheme for topic URLs
Sam Lade [Wed, 18 Apr 2012 22:11:33 +0000 (23:11 +0100)]
Use RinkChat external link scheme for topic URLs

Fixes some odd behaviour with topic links to other parts of RinkWorks

5 years agoFix error when pressing enter with an empty input box on MessageTab
Sam Lade [Tue, 17 Apr 2012 02:20:58 +0000 (03:20 +0100)]
Fix error when pressing enter with an empty input box on MessageTab

5 years agoFix timestamps to local time option
Sam Lade [Mon, 26 Mar 2012 00:24:35 +0000 (01:24 +0100)]
Fix timestamps to local time option

Was previously displaying in UTC regardless of real timezone.

5 years agoBump version and docs for 0.3.8 0.3.8
Sam Lade [Fri, 23 Mar 2012 02:33:09 +0000 (02:33 +0000)]
Bump version and docs for 0.3.8

5 years agoAdd notification about network connectivity issues
Sam Lade [Fri, 23 Mar 2012 02:23:17 +0000 (02:23 +0000)]
Add notification about network connectivity issues

Status notifier as cornerWidget in TabWidget, which displays a simple
notification if the userlist or message send requests fail.

5 years agoAdd sent message history to SpellingLineEdit
Sam Lade [Fri, 23 Mar 2012 01:24:44 +0000 (01:24 +0000)]
Add sent message history to SpellingLineEdit

Up and down arrows scroll through recent messages

5 years agoPrevent constant chatstream reloading after kick
Sam Lade [Fri, 23 Mar 2012 00:33:55 +0000 (00:33 +0000)]
Prevent constant chatstream reloading after kick

Introduced by reopen backoff in d5b7f39c1.

5 years agoAdd option to start pdb on exceptions
Sam Lade [Thu, 8 Mar 2012 16:16:53 +0000 (16:16 +0000)]
Add option to start pdb on exceptions

Checks config file for debug_pdb value. No GUI config - useful only to
developers. Starts pdb from the generic exception handler.
Hopefully helpful for debugging the QNetworkReply return issue.

5 years agoAlert on /memo as well as /msg
Sam Lade [Sat, 3 Mar 2012 23:28:44 +0000 (23:28 +0000)]
Alert on /memo as well as /msg

5 years agoBump version and docs for 0.3.7 0.3.7
Sam Lade [Fri, 2 Mar 2012 22:43:49 +0000 (22:43 +0000)]
Bump version and docs for 0.3.7

5 years agoDebug writes to stderr and takes config option
Sam Lade [Fri, 2 Mar 2012 22:32:11 +0000 (22:32 +0000)]
Debug writes to stderr and takes config option

Can disable debug write to stderr with config/debug in settings. Doesn't
disable debug log window. No settings dialogue option as this would be
confusing to most users.

5 years agoSplit QSettings convenience methods into separate file
Sam Lade [Fri, 2 Mar 2012 22:31:37 +0000 (22:31 +0000)]
Split QSettings convenience methods into separate file

5 years agoBehave better if login is cancelled
Sam Lade [Fri, 2 Mar 2012 20:21:58 +0000 (20:21 +0000)]
Behave better if login is cancelled

Checks if the server is actually logged in and retries if not before
opening a new chat tab.

5 years agoAdd proxy support
Sam Lade [Fri, 2 Mar 2012 20:12:13 +0000 (20:12 +0000)]
Add proxy support

Includes config dialogue page for proxies and support for SOCKS5 or HTTP
proxies.

5 years agoError check fontsize value read in from conf
Sam Lade [Fri, 2 Mar 2012 20:11:54 +0000 (20:11 +0000)]
Error check fontsize value read in from conf

5 years agoRendered logos rerendered with Qt 4.8
Sam Lade [Fri, 2 Mar 2012 18:28:07 +0000 (18:28 +0000)]
Rendered logos rerendered with Qt 4.8

5 years agoFix images in streams on Qt 4.8
Sam Lade [Fri, 2 Mar 2012 18:27:46 +0000 (18:27 +0000)]
Fix images in streams on Qt 4.8

5 years agoQt 4.8 fix: Specify content-type header for form POSTs
Sam Lade [Thu, 1 Mar 2012 13:04:29 +0000 (13:04 +0000)]
Qt 4.8 fix: Specify content-type header for form POSTs

5 years agoBump version and docs for 0.3.6 0.3.6
Sam Lade [Mon, 27 Feb 2012 00:50:42 +0000 (00:50 +0000)]
Bump version and docs for 0.3.6

5 years agoFix up some userlist parse issues
Sam Lade [Mon, 27 Feb 2012 00:47:56 +0000 (00:47 +0000)]
Fix up some userlist parse issues

Encountered during Oscar chat, with extra stuff in the userlist which was being
hit by the parser.

5 years agoPrevent CPU eating if network connection totally dies
Sam Lade [Sun, 26 Feb 2012 00:00:52 +0000 (00:00 +0000)]
Prevent CPU eating if network connection totally dies

If the connection becomes marked as unavailable, the chatstream network reply
signals finished immediately, leading to an infinite loop of retrying the
stream fetch.
We now check the time the stream was opened and sleep for a few seconds if it
was too recent.

5 years agoFix theme engine when not rewriting timestamps
Sam Lade [Sat, 11 Feb 2012 22:38:54 +0000 (22:38 +0000)]
Fix theme engine when not rewriting timestamps

5 years agoBump version and docs for 0.3.5 0.3.5
Sam Lade [Sat, 11 Feb 2012 16:33:42 +0000 (16:33 +0000)]
Bump version and docs for 0.3.5

5 years agoCopy status messages to messagetabs
Sam Lade [Sat, 11 Feb 2012 15:55:58 +0000 (15:55 +0000)]
Copy status messages to messagetabs

Join, part, away, back.
Notifications are not triggered for these messages in tabs.

5 years agoFix message tabs being case sensitive for usernames
Sam Lade [Sat, 11 Feb 2012 15:39:01 +0000 (15:39 +0000)]
Fix message tabs being case sensitive for usernames

5 years agoAllow expanded versions of bot images to be shown
Sam Lade [Sat, 11 Feb 2012 02:46:31 +0000 (02:46 +0000)]
Allow expanded versions of bot images to be shown

Bot images use some JavaScript to change the size when clicked. This patch adds
the ability to show a full-size version of the image in a popup by clicking on
it. Altering the image size in place like the web client is not cleanly
possible.

5 years agoFix slow shutdown in some cases
Sam Lade [Sat, 11 Feb 2012 02:45:00 +0000 (02:45 +0000)]
Fix slow shutdown in some cases

If the window closeEvent was triggered directly, rather than by a global
close_all, the application did not get quitting set, and so waited 20 seconds
after window close before the timeout killed it. Should now exit immediately in
this case.

5 years agoFix loading new images in message tabs
Sam Lade [Thu, 9 Feb 2012 23:19:33 +0000 (23:19 +0000)]
Fix loading new images in message tabs

5 years agoUse /b when sending from message tabs with bots
Sam Lade [Thu, 9 Feb 2012 23:02:00 +0000 (23:02 +0000)]
Use /b when sending from message tabs with bots

5 years agoTimestamp handling fixes when a font size is specified
Sam Lade [Thu, 9 Feb 2012 19:37:59 +0000 (19:37 +0000)]
Timestamp handling fixes when a font size is specified

Fix rewriting to local time and stripping before logging.

5 years agoCleaner fix for FindFlags on older PySide
Sam Lade [Thu, 9 Feb 2012 04:22:30 +0000 (04:22 +0000)]
Cleaner fix for FindFlags on older PySide

5 years agoDetect and linkify URLs in topics
Sam Lade [Wed, 8 Feb 2012 17:35:27 +0000 (17:35 +0000)]
Detect and linkify URLs in topics

5 years agoImprove spellcheck tokeniser
Sam Lade [Wed, 8 Feb 2012 16:25:23 +0000 (16:25 +0000)]
Improve spellcheck tokeniser

No longer includes apostrophes at the beginning or end of a word.

5 years agoFix find on older versions of PySide
Sam Lade [Wed, 8 Feb 2012 14:16:04 +0000 (14:16 +0000)]
Fix find on older versions of PySide

5 years agoFix userlist and chatstream when people are shrunken
Sam Lade [Tue, 7 Feb 2012 22:12:53 +0000 (22:12 +0000)]
Fix userlist and chatstream when people are shrunken

Was causing some parsing crashes.

5 years agoMake find close button trigger cleanup functions correctly
Sam Lade [Tue, 7 Feb 2012 20:59:58 +0000 (20:59 +0000)]
Make find close button trigger cleanup functions correctly

5 years agoWrapper object for browser scroll handling
Sam Lade [Tue, 7 Feb 2012 19:48:05 +0000 (19:48 +0000)]
Wrapper object for browser scroll handling

Used when inserting data into the streams, or when altering the size
otherwise (e.g. when showing/hiding the find controls). Supports the with
statement.

5 years agoAdd find function for chat/message streams.
Sam Lade [Tue, 7 Feb 2012 18:57:48 +0000 (18:57 +0000)]
Add find function for chat/message streams.

5 years agoPrevent logging to a room called "Loading..." in some cases
Sam Lade [Mon, 6 Feb 2012 19:03:11 +0000 (19:03 +0000)]
Prevent logging to a room called "Loading..." in some cases

5 years agoBump version and docs for 0.3.4 0.3.4
Sam Lade [Thu, 19 Jan 2012 15:17:41 +0000 (15:17 +0000)]
Bump version and docs for 0.3.4

5 years agoInclude logo PNGs for Windows distribution
Sam Lade [Thu, 19 Jan 2012 22:21:24 +0000 (22:21 +0000)]
Include logo PNGs for Windows distribution

5 years agoUse US dictionary if local language not found
Sam Lade [Thu, 19 Jan 2012 22:07:58 +0000 (22:07 +0000)]
Use US dictionary if local language not found

5 years agoFully functional Windows standalone exe generation
Sam Lade [Thu, 19 Jan 2012 20:35:38 +0000 (20:35 +0000)]
Fully functional Windows standalone exe generation

Uses PyInstaller. cx_freeze has been dropped. Includes spec file for
generation of exe and some code tweaks to enable finding libraries and data
files in this setup.

5 years agoAdd cx_freeze script
Sam Lade [Thu, 19 Jan 2012 02:32:24 +0000 (02:32 +0000)]
Add cx_freeze script

Allows building of Windows packages with no other dependencies.
Commit includes a .ico version of the icons for use with the output exe.
Not tested in Windows yet!

5 years agoFix exit timeout
Sam Lade [Thu, 19 Jan 2012 01:29:35 +0000 (01:29 +0000)]
Fix exit timeout

5 years agoClean comment that appeared in wrong place in build
Sam Lade [Thu, 19 Jan 2012 00:31:58 +0000 (00:31 +0000)]
Clean comment that appeared in wrong place in build

5 years agoRemove tab detachment feature
Sam Lade [Wed, 18 Jan 2012 23:58:28 +0000 (23:58 +0000)]
Remove tab detachment feature

Clumsy and poorly implemented, and actively broken for message and web tabs.
Could be re-implemented properly, including dragging tabs between windows, if
there's interest for it.

5 years agoFix previous commit...
Sam Lade [Fri, 13 Jan 2012 01:11:45 +0000 (01:11 +0000)]
Fix previous commit...

5 years agoFix non-inline purge for messagetabs
Sam Lade [Fri, 13 Jan 2012 01:09:29 +0000 (01:09 +0000)]
Fix non-inline purge for messagetabs

5 years agoAddress msgtabs by frozenset of participants
Sam Lade [Thu, 12 Jan 2012 23:15:46 +0000 (23:15 +0000)]
Address msgtabs by frozenset of participants

5 years agotypo--
Sam Lade [Thu, 12 Jan 2012 23:10:09 +0000 (23:10 +0000)]
typo--

5 years agoUse a set of users for msgtab not a list
Sam Lade [Thu, 12 Jan 2012 23:07:31 +0000 (23:07 +0000)]
Use a set of users for msgtab not a list

Prevents issues with duplicates occasionally.

5 years agoWord wrap messagetab header for very big conversations.
Sam Lade [Thu, 12 Jan 2012 22:51:26 +0000 (22:51 +0000)]
Word wrap messagetab header for very big conversations.

5 years agoBump version and docs for 0.3.3
Sam Lade [Thu, 12 Jan 2012 05:04:39 +0000 (05:04 +0000)]
Bump version and docs for 0.3.3

5 years agoLayout tweak on messagetab
Sam Lade [Thu, 12 Jan 2012 19:15:51 +0000 (19:15 +0000)]
Layout tweak on messagetab

5 years agoFix WebTab copy shortcut on Windows
Sam Lade [Thu, 12 Jan 2012 13:40:37 +0000 (13:40 +0000)]
Fix WebTab copy shortcut on Windows

5 years agoWarn on offline users from /msg tab
Sam Lade [Thu, 12 Jan 2012 04:55:41 +0000 (04:55 +0000)]
Warn on offline users from /msg tab

5 years agoHandle commands from /msg tabs normally
Sam Lade [Thu, 12 Jan 2012 04:22:04 +0000 (04:22 +0000)]
Handle commands from /msg tabs normally

Stops people accidentally messaging things that were supposed to be commands.
More logical behaviour.
Includes capture and /msg-ising of /me commands.