pyrook:pyrook.git
6 years agoBump version and docs for 0.2.2 0.2.2
Sam Lade [Fri, 11 Nov 2011 05:38:13 +0000 (05:38 +0000)]
Bump version and docs for 0.2.2

6 years agoFix icon on Windows
Sam Lade [Fri, 11 Nov 2011 05:13:26 +0000 (05:13 +0000)]
Fix icon on Windows

Windows PySide doesn't seem to have SVG support, so generate and package PNGs
with the build script, and load both SVGs and PNGs in the code.

Updates .gitignore to reflect new packaging tool outputs.

6 years agoFix command line arg parsing on Windows
Sam Lade [Fri, 11 Nov 2011 04:26:45 +0000 (04:26 +0000)]
Fix command line arg parsing on Windows

Uses a parser that ignores unknown arguments instead

6 years agoAutomatically return focus to input box
Sam Lade [Fri, 11 Nov 2011 03:56:34 +0000 (03:56 +0000)]
Automatically return focus to input box

After clicking links or selecting from the /msg target box

6 years agoDebug log window
Sam Lade [Fri, 11 Nov 2011 03:39:23 +0000 (03:39 +0000)]
Debug log window

Can now be run without the console visible and still have access to debug
information.

6 years agoUpdate build script to package logo
Sam Lade [Fri, 11 Nov 2011 03:06:59 +0000 (03:06 +0000)]
Update build script to package logo

Outputs zipped file for Windows and .tar.gz'd file for Linux.
Also uses the .pyw extension for Windows to avoid the console window.

6 years agoAdd logo/window icon.
Sam Lade [Fri, 11 Nov 2011 02:46:27 +0000 (02:46 +0000)]
Add logo/window icon.

6 years agoCatch links to rooms and handle correctly.
Sam Lade [Fri, 11 Nov 2011 00:04:24 +0000 (00:04 +0000)]
Catch links to rooms and handle correctly.

6 years agoDon't close automatically with no tabs left
Sam Lade [Thu, 10 Nov 2011 23:28:26 +0000 (23:28 +0000)]
Don't close automatically with no tabs left

Allows users to join a new room.
Also fixes waiting 20 seconds to exit if closed with no open tabs.

6 years agoShow tab close buttons
Sam Lade [Thu, 10 Nov 2011 22:56:11 +0000 (22:56 +0000)]
Show tab close buttons

6 years agoMake web tabs optional
Sam Lade [Thu, 10 Nov 2011 22:52:01 +0000 (22:52 +0000)]
Make web tabs optional

6 years agoAllow userlist pane to wrap
Sam Lade [Thu, 10 Nov 2011 22:13:49 +0000 (22:13 +0000)]
Allow userlist pane to wrap

Long user lines might wrap, but this is on balance less annoying than side-
scrolling for long topic lines etc.

6 years agoFont sizes: px -> pt
Sam Lade [Thu, 10 Nov 2011 21:43:07 +0000 (21:43 +0000)]
Font sizes: px -> pt

6 years agoOpen internal RookChat URLs as tabs
Sam Lade [Thu, 10 Nov 2011 19:49:38 +0000 (19:49 +0000)]
Open internal RookChat URLs as tabs

Uses QtWebKit if available to open internal URLs. If not, opens in external web
browser as before.

6 years agoRemember username/password options in login box
Sam Lade [Thu, 10 Nov 2011 18:29:08 +0000 (18:29 +0000)]
Remember username/password options in login box

6 years agoCommand line arguments
Sam Lade [Thu, 10 Nov 2011 16:01:35 +0000 (16:01 +0000)]
Command line arguments

Allows the username, password, server address and server name to be set.

6 years agoFix font size config
Sam Lade [Thu, 10 Nov 2011 04:39:46 +0000 (04:39 +0000)]
Fix font size config

* Applies to the userlist as well as chatstream
* Handles size deltas properly by replacing font tags with span tags.

6 years agotypo--
Sam Lade [Thu, 10 Nov 2011 03:39:14 +0000 (03:39 +0000)]
typo--

6 years agoBump version and docs for 0.2.1 0.2.1
Sam Lade [Thu, 10 Nov 2011 03:37:04 +0000 (03:37 +0000)]
Bump version and docs for 0.2.1

6 years agoWindow titles for settings and login dialogs
Sam Lade [Thu, 10 Nov 2011 03:34:40 +0000 (03:34 +0000)]
Window titles for settings and login dialogs

6 years agoRookChat options, memos, help etc available in menus
Sam Lade [Thu, 10 Nov 2011 03:27:57 +0000 (03:27 +0000)]
RookChat options, memos, help etc available in menus

6 years agoOption to prevent highlights immediately after posting
Sam Lade [Thu, 10 Nov 2011 02:22:44 +0000 (02:22 +0000)]
Option to prevent highlights immediately after posting

Prevents spurious alerts if you post and immediately change focus, but may
cause messages to be missed if they're posted during the grace period

6 years agoBetter detection of new messages for highlighting
Sam Lade [Thu, 10 Nov 2011 02:22:27 +0000 (02:22 +0000)]
Better detection of new messages for highlighting

6 years agoConfigurable default font size
Sam Lade [Thu, 10 Nov 2011 01:40:16 +0000 (01:40 +0000)]
Configurable default font size

6 years agoUpdate Windows downloads
Sam Lade [Thu, 10 Nov 2011 00:41:39 +0000 (00:41 +0000)]
Update Windows downloads

Use lxml 2.3 not 2.3.1, as there are no 2.3.1 Windows binaries yet.
Clarify 32 vs 64 bit, as there are now 64 bit versions of both lxml and PySide.

6 years agoImprove language-independent detection of topic in room join
Sam Lade [Wed, 9 Nov 2011 21:56:03 +0000 (21:56 +0000)]
Improve language-independent detection of topic in room join

6 years agoLanguage-independent room join parsing
Sam Lade [Wed, 9 Nov 2011 21:27:36 +0000 (21:27 +0000)]
Language-independent room join parsing

6 years agoFix changelog in release notes, because I can't read my git log
Sam Lade [Wed, 9 Nov 2011 20:38:05 +0000 (20:38 +0000)]
Fix changelog in release notes, because I can't read my git log

6 years agoBump version and docs for 0.2.0 0.2.0
Sam Lade [Wed, 9 Nov 2011 20:33:12 +0000 (20:33 +0000)]
Bump version and docs for 0.2.0

Include the required RookChat patch in the repo for convenience

6 years agoHighlight activity on non-current tabs
Sam Lade [Wed, 9 Nov 2011 19:59:58 +0000 (19:59 +0000)]
Highlight activity on non-current tabs

Adds * to the tab label.
Also improves detection of speech rather than other activity or keep-alives for
alerts.

6 years agoExtra shortcuts for switch tab
Sam Lade [Wed, 9 Nov 2011 19:59:04 +0000 (19:59 +0000)]
Extra shortcuts for switch tab

Adds Ctrl+PgUp and Ctrl+PgDown

6 years agoCleanup
Sam Lade [Wed, 9 Nov 2011 19:53:13 +0000 (19:53 +0000)]
Cleanup

Use an explicit reference to the tab widget rather than calling centralWidget()
all the time.

6 years agoOption to alert on mentions of specific words or on any message
Sam Lade [Wed, 9 Nov 2011 17:59:26 +0000 (17:59 +0000)]
Option to alert on mentions of specific words or on any message

6 years agoAdjust timestamp handling to use HTML comment timestamps
Sam Lade [Wed, 9 Nov 2011 16:47:27 +0000 (16:47 +0000)]
Adjust timestamp handling to use HTML comment timestamps

WARNING: This requires that the RookChat server emits timestamps in HTML
comments. This is currently a non-standard feature and is added with a patch.

This makes the time handling code much saner, and fixes bugs including:
* With timestamps off, if PyRook crashes they would be enabled next time it was
  started
* With time-only timestamps, there was weird behaviour around midnight
* Untimestamped lines such as new memo notifications would not appear after a
  refresh

6 years agoRemove debug line which sneaked into previous commit
Sam Lade [Wed, 9 Nov 2011 03:42:54 +0000 (03:42 +0000)]
Remove debug line which sneaked into previous commit

6 years agoAdd option to blink window on new messages
Sam Lade [Wed, 9 Nov 2011 01:15:29 +0000 (01:15 +0000)]
Add option to blink window on new messages

Includes a settings dialog to turn it on and off. Flashes the window with
QApplication.alert() on new messages.
Currently doesn't distinguish miscellaneous events from actual speech.
Also doesn't highlight tabs if there are new messages on an unselected tab.

6 years agoFix "user offline" errors after switching target from left user
Sam Lade [Wed, 12 Oct 2011 15:25:06 +0000 (16:25 +0100)]
Fix "user offline" errors after switching target from left user

Check if the target is actually the user who's not online before raising the
error.

6 years agoFix refresh handling when times go through midnight.
Sam Lade [Sat, 8 Oct 2011 14:57:51 +0000 (15:57 +0100)]
Fix refresh handling when times go through midnight.

6 years agoStop chatstream glow detection erroring on whitespace-only
Sam Lade [Sat, 8 Oct 2011 13:34:22 +0000 (14:34 +0100)]
Stop chatstream glow detection erroring on whitespace-only

6 years agoCatch RuntimeErrors for some possible signal disconnection failures
Sam Lade [Mon, 3 Oct 2011 18:17:08 +0000 (19:17 +0100)]
Catch RuntimeErrors for some possible signal disconnection failures

6 years agoUse setproctitle module if available
Sam Lade [Sun, 2 Oct 2011 20:54:45 +0000 (21:54 +0100)]
Use setproctitle module if available

6 years agoRewrite room join dialogue
Sam Lade [Sat, 1 Oct 2011 21:41:00 +0000 (22:41 +0100)]
Rewrite room join dialogue

Improvements:
* Parsing is saner and can pick up any combination of topic, users and bots
* Display is clearer: separators between each room

6 years agoAdd room creation buttons to new room dialog.
Sam Lade [Sat, 1 Oct 2011 20:29:56 +0000 (21:29 +0100)]
Add room creation buttons to new room dialog.

6 years agoAllow multiple arguments to debug
Sam Lade [Sat, 24 Sep 2011 14:28:04 +0000 (15:28 +0100)]
Allow multiple arguments to debug

6 years agoCleanup for timestamp parsing and merge detection
Sam Lade [Sat, 24 Sep 2011 14:27:35 +0000 (15:27 +0100)]
Cleanup for timestamp parsing and merge detection

7 years agoFix previous commit
Sam Lade [Tue, 16 Aug 2011 10:09:38 +0000 (11:09 +0100)]
Fix previous commit

7 years agoFix chatstream auto-abort. Again.
Sam Lade [Tue, 16 Aug 2011 10:05:38 +0000 (11:05 +0100)]
Fix chatstream auto-abort. Again.

QTimer.singleShot() doesn't actually return the QTimer object, so multiple
reconnection events were getting queued up each chatstream reload.

7 years agoFix chatstream auto-abort after server should have closed it
Sam Lade [Sun, 14 Aug 2011 14:09:43 +0000 (15:09 +0100)]
Fix chatstream auto-abort after server should have closed it

QNetworkReply.abort() is not a slot for some reason, so it can't be connected
to. Create a method in Python, which can be called as a slot, instead.

7 years agoAdd /rmsg to input box glow detector
Sam Lade [Sat, 6 Aug 2011 19:11:45 +0000 (20:11 +0100)]
Add /rmsg to input box glow detector

7 years agoTimeout chatstream after ten minutes automatically
Sam Lade [Fri, 5 Aug 2011 13:43:47 +0000 (14:43 +0100)]
Timeout chatstream after ten minutes automatically

If connection is lost, the stream won't be closed by the server after ten
minutes.

7 years agoIntelligently merge userlist changes into target box
Sam Lade [Wed, 27 Jul 2011 01:35:50 +0000 (02:35 +0100)]
Intelligently merge userlist changes into target box

Prevents flicker when box is cleared and refilled on every userlist refresh

7 years agoColorise input box based on typed command
Sam Lade [Wed, 27 Jul 2011 00:35:47 +0000 (01:35 +0100)]
Colorise input box based on typed command

/msg, /memo, /b are now detected in text and used to set the input box glow, as
well as the target selector combobox.

7 years agoAdd refresh stream menu option
Sam Lade [Wed, 27 Jul 2011 00:00:11 +0000 (01:00 +0100)]
Add refresh stream menu option

Allows you to force a reload of the chatstream in case of network issues without
losing the buffer (which happens if /purge is used).

7 years agoRename File menu -> PyRook menu
Sam Lade [Tue, 26 Jul 2011 23:43:13 +0000 (00:43 +0100)]
Rename File menu -> PyRook menu

It's not actually doing anything with files, so this is a much more logical name.

7 years agotypo--
Sam Lade [Tue, 26 Jul 2011 23:40:43 +0000 (00:40 +0100)]
typo--

7 years agoFix /hi5 alias
Sam Lade [Tue, 26 Jul 2011 21:34:14 +0000 (22:34 +0100)]
Fix /hi5 alias

Split the msg into a cmd and args and check against cmd, rather than string
slicing.

7 years agoAdd /hi5 alias for /highfive
Sam Lade [Tue, 26 Jul 2011 21:18:30 +0000 (22:18 +0100)]
Add /hi5 alias for /highfive

7 years agoFix multiple connection of signals on room rejoin
Sam Lade [Sun, 24 Jul 2011 00:41:19 +0000 (01:41 +0100)]
Fix multiple connection of signals on room rejoin

Connect signals for clicked links and input box enter pressed on tab layout,
rather than on room join.

7 years agoFix previous commit
Sam Lade [Thu, 14 Jul 2011 15:07:27 +0000 (16:07 +0100)]
Fix previous commit

7 years agoChange window title to "<server> - PyRook"
Sam Lade [Thu, 14 Jul 2011 15:03:46 +0000 (16:03 +0100)]
Change window title to "<server> - PyRook"

7 years agoLazy mobile interface
Sam Lade [Sat, 9 Jul 2011 09:13:39 +0000 (10:13 +0100)]
Lazy mobile interface

Just stack the userlist behind the main chat frame
No other changes, no way to change through the stack at the moment

7 years agoBasic library/frontend split
Sam Lade [Sat, 9 Jul 2011 09:00:42 +0000 (10:00 +0100)]
Basic library/frontend split

Just allows definition of a layout function for ChatTab for $PLATFORM.
Quick and dirty, but it's enough to test a mobile interface.

7 years agoCatch for empty responses to login
Sam Lade [Sat, 9 Jul 2011 08:11:30 +0000 (09:11 +0100)]
Catch for empty responses to login

7 years agoRemove obsolete line in login fail catcher
Sam Lade [Sat, 9 Jul 2011 08:03:56 +0000 (09:03 +0100)]
Remove obsolete line in login fail catcher

7 years agoInclude link to Gitorious repo
Sam Lade [Mon, 4 Jul 2011 22:42:08 +0000 (00:42 +0200)]
Include link to Gitorious repo

7 years ago.gitignore file
Sam Lade [Fri, 1 Jul 2011 10:33:10 +0000 (12:33 +0200)]
.gitignore file

7 years agoBump version and release notes for 0.1.3 0.1.3
Sam Lade [Thu, 30 Jun 2011 23:02:34 +0000 (00:02 +0100)]
Bump version and release notes for 0.1.3

7 years agoRemove another backup file. Oops.
Sam Lade [Thu, 30 Jun 2011 23:00:39 +0000 (00:00 +0100)]
Remove another backup file. Oops.

7 years agoAdd timeout for quitting on all windows closing
Sam Lade [Thu, 30 Jun 2011 22:46:29 +0000 (23:46 +0100)]
Add timeout for quitting on all windows closing

7 years agoAdd wrapping on room list window
Sam Lade [Thu, 30 Jun 2011 22:33:53 +0000 (23:33 +0100)]
Add wrapping on room list window

todo--

7 years agoFix script tag excluding
Sam Lade [Thu, 30 Jun 2011 22:08:18 +0000 (23:08 +0100)]
Fix script tag excluding

7 years agoSane exiting
Sam Lade [Thu, 30 Jun 2011 22:07:23 +0000 (23:07 +0100)]
Sane exiting

* Leaving one room doesn't exit all rooms
* Doesn't cancel system shutdown
* Should still log out properly on system shutdown

todo--

7 years agoMake userlist timer recurring again
Sam Lade [Thu, 30 Jun 2011 19:48:11 +0000 (20:48 +0100)]
Make userlist timer recurring again

New requests kill off any existing request
This is necessary because QNetworkReplies don't time out by themselves.

Partially reverts 6866a111892057533ec51d26dd10549126c5a8c4

7 years agoStrip <script>s from chatstream
Sam Lade [Thu, 30 Jun 2011 18:57:31 +0000 (19:57 +0100)]
Strip <script>s from chatstream

todo--

7 years agoTrim <head> from chatstream before parse
Sam Lade [Thu, 30 Jun 2011 18:13:21 +0000 (19:13 +0100)]
Trim <head> from chatstream before parse

Avoids errors from trying to wrap it in a <div>.

7 years agoUserlist: prevent multiple requests
Sam Lade [Thu, 30 Jun 2011 14:35:42 +0000 (15:35 +0100)]
Userlist: prevent multiple requests

Next request should only be started when the previous finishes for
whatever reason, either completion or error (e.g. timeout)

7 years agoFurther work on userlist crash
Sam Lade [Thu, 30 Jun 2011 14:28:41 +0000 (15:28 +0100)]
Further work on userlist crash

7 years agoParsing improvements
Sam Lade [Thu, 30 Jun 2011 14:27:56 +0000 (15:27 +0100)]
Parsing improvements

7 years agoInput visual glitch--
Sam Lade [Thu, 30 Jun 2011 02:09:07 +0000 (03:09 +0100)]
Input visual glitch--

7 years agoMinor: whitespace only line cleaning
Sam Lade [Thu, 30 Jun 2011 01:59:10 +0000 (02:59 +0100)]
Minor: whitespace only line cleaning

7 years agoAdd input box glow for /msg targets.
Sam Lade [Thu, 30 Jun 2011 01:54:31 +0000 (02:54 +0100)]
Add input box glow for /msg targets.

todo--

7 years agoKick handling cleanup
Sam Lade [Thu, 30 Jun 2011 00:55:06 +0000 (01:55 +0100)]
Kick handling cleanup

* Move handler to separate function
* Halt room list request timer while kicked
* Allow room list to catch kicks as well

todo--

7 years agoWork on crash bug
Sam Lade [Thu, 30 Jun 2011 00:29:39 +0000 (01:29 +0100)]
Work on crash bug

* Add debug assertions at crashy line
* Prevent multiple active userlist requests

7 years agoFix opening of complex external URLs
Sam Lade [Thu, 2 Jun 2011 16:42:02 +0000 (17:42 +0100)]
Fix opening of complex external URLs

7 years agoFix URL opening on PySide 1.0.3
Sam Lade [Mon, 30 May 2011 23:26:23 +0000 (00:26 +0100)]
Fix URL opening on PySide 1.0.3

Patch by iwpg

7 years ago/highfive command
Sam Lade [Sun, 22 May 2011 17:13:19 +0000 (18:13 +0100)]
/highfive command

Also, more #todos

7 years agoExtra debug output
Sam Lade [Thu, 12 May 2011 00:28:53 +0000 (01:28 +0100)]
Extra debug output

Try and pin down a hang on startup for a Windows user
Also, todo comments

7 years agotypo--
Sam Lade [Tue, 3 May 2011 20:40:49 +0000 (21:40 +0100)]
typo--

7 years agoRemove accidentally added backup file
Sam Lade [Tue, 3 May 2011 18:20:30 +0000 (19:20 +0100)]
Remove accidentally added backup file

7 years agoException handling for another parser call
Sam Lade [Tue, 3 May 2011 18:20:00 +0000 (19:20 +0100)]
Exception handling for another parser call

7 years agoFix internal URLs (e.g. memos) pointing to login page
Sam Lade [Mon, 25 Apr 2011 18:32:23 +0000 (19:32 +0100)]
Fix internal URLs (e.g. memos) pointing to login page

7 years agoReally really fix smileys. For everyone. 0.1.2
Sam Lade [Mon, 25 Apr 2011 03:21:45 +0000 (04:21 +0100)]
Really really fix smileys. For everyone.

7 years agoReally fix smileys on Windows.
Sam Lade [Mon, 25 Apr 2011 02:38:25 +0000 (03:38 +0100)]
Really fix smileys on Windows.

7 years agov0.1.2 release
Sam Lade [Mon, 25 Apr 2011 02:26:44 +0000 (03:26 +0100)]
v0.1.2 release

7 years agoFixes:
Sam Lade [Mon, 25 Apr 2011 02:18:52 +0000 (03:18 +0100)]
Fixes:

* Fix smileys on Windows
* Fix extraneous comma in some room names
* Prevent crash when attempting to produce join list with a room
  containing bots visible (user list still isn't displayed
  correctly for that room - to be fixed)
* Various XML syntax error hardening
* Fix purging
* Maybe fix intermittent segfault on user list receipt

7 years agoUpdate site re: old version of PySide in Ubuntu.
Sam Lade [Sat, 23 Apr 2011 16:43:59 +0000 (17:43 +0100)]
Update site re: old version of PySide in Ubuntu.

7 years agoReally fix external URLs 0.1.1
Sam Lade [Sat, 23 Apr 2011 16:26:47 +0000 (17:26 +0100)]
Really fix external URLs

7 years agov0.1.1 release.
Sam Lade [Sat, 23 Apr 2011 16:20:40 +0000 (17:20 +0100)]
v0.1.1 release.

7 years agoHopefully fix chatstream merges at midday
Sam Lade [Sat, 23 Apr 2011 16:16:52 +0000 (17:16 +0100)]
Hopefully fix chatstream merges at midday

7 years agoFix sending messages with non-ASCII characters
Sam Lade [Sat, 23 Apr 2011 16:10:57 +0000 (17:10 +0100)]
Fix sending messages with non-ASCII characters