quassel.git
11 years agoRussian translation update +plural fix in paste protection.
Edward Hades [Sun, 22 Feb 2009 11:59:04 +0000 (14:59 +0300)]
Russian translation update +plural fix in paste protection.

11 years agoUpdated Russian translation.
Edward Hades [Fri, 16 Jan 2009 11:03:57 +0000 (14:03 +0300)]
Updated Russian translation.

11 years agoUpdated Slovenian translation for Quassel IRC 0.4.0
Jure Repinc [Fri, 20 Feb 2009 15:26:53 +0000 (16:26 +0100)]
Updated Slovenian translation for Quassel IRC 0.4.0

11 years agoUse correct Window/Page titles for categories
Sebastian Goth [Sat, 14 Mar 2009 14:38:23 +0000 (15:38 +0100)]
Use correct Window/Page titles for categories

11 years agoAdd ' to urlChars. Fixes #626
Sebastian Goth [Sat, 14 Mar 2009 23:13:56 +0000 (00:13 +0100)]
Add ' to urlChars. Fixes #626

11 years agoRemove old Qtopia code from dev-notes/obsolete - we have version control
Manuel Nickschas [Sun, 15 Mar 2009 12:58:05 +0000 (13:58 +0100)]
Remove old Qtopia code from dev-notes/obsolete - we have version control

11 years agoBump inxi script to 1.0.8
Manuel Nickschas [Sat, 14 Mar 2009 23:24:52 +0000 (00:24 +0100)]
Bump inxi script to 1.0.8

11 years agoreally don't..
Sebastian Goth [Sat, 14 Mar 2009 22:43:23 +0000 (23:43 +0100)]
really don't..

11 years agoSet working directory for scripts to their scriptdir
Manuel Nickschas [Sat, 14 Mar 2009 22:54:41 +0000 (23:54 +0100)]
Set working directory for scripts to their scriptdir

11 years agoProperly handle whitespace in script paths
Manuel Nickschas [Sat, 14 Mar 2009 22:49:14 +0000 (23:49 +0100)]
Properly handle whitespace in script paths

11 years agoDon't send empty lines with KTextEdit
Sebastian Goth [Sat, 14 Mar 2009 12:55:40 +0000 (13:55 +0100)]
Don't send empty lines with KTextEdit

Fixes #623.

11 years agoVarious tweaks to the input line in KDE mode
Manuel Nickschas [Sat, 14 Mar 2009 22:43:26 +0000 (23:43 +0100)]
Various tweaks to the input line in KDE mode

* Resize correctly according to font size, fixes #625
* Handle Ctrl+F correctly, thanks to Jesper Thomschütz for input

11 years agoUse standard key sequence for toggling search rather than hardcoding Ctrl+F
Manuel Nickschas [Sat, 14 Mar 2009 22:33:02 +0000 (23:33 +0100)]
Use standard key sequence for toggling search rather than hardcoding Ctrl+F

11 years agoMove ActionCollection handling from QtUi to GraphicalUi
Manuel Nickschas [Sat, 14 Mar 2009 22:29:18 +0000 (23:29 +0100)]
Move ActionCollection handling from QtUi to GraphicalUi

Needed to allow stuff in uisupport to access action collections.

11 years agoAdd extra spacing to deal with borders so that the input text doesn't "bounce"
Jesper Thomschütz [Sat, 14 Mar 2009 19:23:57 +0000 (21:23 +0200)]
Add extra spacing to deal with borders so that the input text doesn't "bounce"

11 years agoProperly handle \r and \n
Manuel Nickschas [Sat, 14 Mar 2009 01:13:06 +0000 (02:13 +0100)]
Properly handle \r and \n

We now treat \r, \n and \r\n as linebreak, fixing a problem with windows-based
scripts. Also we don't accept ..\ in the script name anymore.

11 years agoSome more tweaks to the KDEified input line
Manuel Nickschas [Sat, 14 Mar 2009 01:11:23 +0000 (02:11 +0100)]
Some more tweaks to the KDEified input line

* Remove unneeded context menu entries
* Properly handle the return key
* Scroll is better than wrap :>

11 years agoCatch recursion in message logger.
Jesper Thomschütz [Fri, 13 Mar 2009 22:41:21 +0000 (00:41 +0200)]
Catch recursion in message logger.

11 years agoUse KTextEdit instead of QLineEdit. On most KDE systems this means Spell Check support!
Jesper Thomschütz [Fri, 13 Mar 2009 15:53:11 +0000 (17:53 +0200)]
Use KTextEdit instead of QLineEdit. On most KDE systems this means Spell Check support!

11 years agoAdd inxi script for system information
Manuel Nickschas [Fri, 13 Mar 2009 22:58:28 +0000 (23:58 +0100)]
Add inxi script for system information

This is only installed for non-Windows systems. We also provide default
aliases /sysinfo and /inxi.

Thanks a lot to Harald "h2" Hope for promptly adding Quassel support to inxi,
and encouraging us to ship this great script!

11 years agoChange signal names in ExecWrapper to not collide with stdout/stderr (MSVC hates...
Manuel Nickschas [Fri, 13 Mar 2009 22:23:18 +0000 (23:23 +0100)]
Change signal names in ExecWrapper to not collide with stdout/stderr (MSVC hates this)

11 years agoUse stdout for --version
Manuel Nickschas [Fri, 13 Mar 2009 21:56:55 +0000 (22:56 +0100)]
Use stdout for --version

11 years agoAdd --version (-v) switch for non-KDEified Quassel
Manuel Nickschas [Fri, 13 Mar 2009 21:32:27 +0000 (22:32 +0100)]
Add --version (-v) switch for non-KDEified Quassel

11 years agoUse correct encoding (system locale) for processing script data
Manuel Nickschas [Fri, 13 Mar 2009 20:07:16 +0000 (21:07 +0100)]
Use correct encoding (system locale) for processing script data

11 years agoExecWrapper tweaks
Manuel Nickschas [Fri, 13 Mar 2009 18:05:54 +0000 (19:05 +0100)]
ExecWrapper tweaks

We now handle params for scripts sanely, plus we refuse to execute ../ in script names
to avoid breaking out of our scripts jail.

11 years agoEmpty output buffers on script termination
Manuel Nickschas [Fri, 13 Mar 2009 09:16:58 +0000 (10:16 +0100)]
Empty output buffers on script termination

11 years agoIntroduce /exec support for running simple client-side scripts
Manuel Nickschas [Thu, 12 Mar 2009 23:56:08 +0000 (00:56 +0100)]
Introduce /exec support for running simple client-side scripts

/exec myscript [param1 param2 ...] runs an executable named "myscript" in one of the acceptable
script dirs ($configdir/scripts, $datadir/scripts) and pipes its stdout into IRC. This is not much,
but enough to run stuff like infobash/inxi or the infamous now-playing stuff :P

It's recommended to use aliases for invoking scripts, e.g. /audio could expand to /exec nowplaying,
where nowplaying is your fancy script that queries your Amarok for the current song.

Now keep 'em scripts coming, good ones will be included in our repo :)

11 years agoMove the client's AliasManager into Client
Manuel Nickschas [Thu, 12 Mar 2009 23:08:02 +0000 (00:08 +0100)]
Move the client's AliasManager into Client

Used to be in AliasesModel used by the settingspage, but we also need it for handling
input, so we move it into Client proper. Note that existence of the AliasManager is only
guaranteed as long as Client::isConnected() == true.

11 years agoAdd Quassel::scriptDirPaths() to get a list of locations we look for scripts in
Manuel Nickschas [Thu, 5 Mar 2009 15:59:47 +0000 (16:59 +0100)]
Add Quassel::scriptDirPaths() to get a list of locations we look for scripts in

This includes a subdirectory named scripts/ in the configdir and in all dataDirPaths(),
where configdir/scripts/ takes precedence to allow for overriding the system installation.

11 years agoAdd MessageModel::insertErrorMessage()
Manuel Nickschas [Thu, 5 Mar 2009 15:57:38 +0000 (16:57 +0100)]
Add MessageModel::insertErrorMessage()

This allows displaying transient client-side error messages (e.g. for script execution).
These error messages are not sent to the core and hence not stored in the database.

11 years agoMoving alias expansion yet again - this time into AliasManager itself
Manuel Nickschas [Wed, 4 Mar 2009 10:56:41 +0000 (11:56 +0100)]
Moving alias expansion yet again - this time into AliasManager itself

We need alias handling both client (for /exec) and core (for perform) side.
Thus, we need it in mod_common. AliasManager is now able to process an input
line, providing a list of resulting commands. In doing this, it also ensures that
privmsgs are always prefixed by /SAY.
The client and core input handlers both pipe commands through AliasManager now. At
some point, we can think about client-only and core-only aliases, maybe.

11 years agoInitialize ClientUserInputHandler in init() rather than the ctor
Manuel Nickschas [Mon, 2 Mar 2009 07:52:10 +0000 (08:52 +0100)]
Initialize ClientUserInputHandler in init() rather than the ctor

11 years agoMove alias handling into the client
Manuel Nickschas [Mon, 2 Mar 2009 07:50:49 +0000 (08:50 +0100)]
Move alias handling into the client

This allows for aliasing client-side commands such as the soon-to-exist
/exec command.
Note that the core-side code is still there, to be removed as soon as we
break protocol again.

11 years agoHandle empty LINK_EXTRA
quassel [Fri, 13 Mar 2009 15:44:07 +0000 (15:44 +0000)]
Handle empty LINK_EXTRA

11 years agoAdd -DLINK_EXTRA to the buildsys to allow for specifying additional libs to link
Manuel Nickschas [Fri, 13 Mar 2009 15:25:51 +0000 (16:25 +0100)]
Add -DLINK_EXTRA to the buildsys to allow for specifying additional libs to link

This is intended for adding missing libs for static builds, as deps are not always picked
up correctly. As it is highly system- and configuration-specific, we can't hardcode those libs
in the buildsys.

For example, to build a static core with postgres support, I need:
-DLINK_EXTRA=pq,crypt

Also fix a warning for WIN32.

11 years agoadding --change-userpass=<username> option to the core
Marcus Eggenberger [Thu, 12 Mar 2009 17:35:58 +0000 (18:35 +0100)]
adding --change-userpass=<username> option to the core

11 years agoPreserving the order of bound values when dumping error messages
Marcus Eggenberger [Thu, 12 Mar 2009 12:01:18 +0000 (13:01 +0100)]
Preserving the order of bound values when dumping error messages

11 years agoTreating invalid IdentityIds as NULL values
Marcus Eggenberger [Thu, 12 Mar 2009 12:00:57 +0000 (13:00 +0100)]
Treating invalid IdentityIds as NULL values

11 years agofixes a bug where the data/config-dir option was not availble in the client
Marcus Eggenberger [Wed, 11 Mar 2009 18:18:25 +0000 (19:18 +0100)]
fixes a bug where the data/config-dir option was not availble in the client

11 years agofixes #609 - bufferview not correctly sorted
Marcus Eggenberger [Wed, 11 Mar 2009 18:18:06 +0000 (19:18 +0100)]
fixes #609 - bufferview not correctly sorted

11 years agofixes #580 - nick-dropdown is updated even if nickchange fails
Marcus Eggenberger [Wed, 11 Mar 2009 16:51:21 +0000 (17:51 +0100)]
fixes #580 - nick-dropdown is updated even if nickchange fails

11 years agoFixing issues with SQLite backend not properly storing some boolean values.
Marcus Eggenberger [Wed, 11 Mar 2009 15:05:10 +0000 (16:05 +0100)]
Fixing issues with SQLite backend not properly storing some boolean values.
Affected network settings are: useautoidentify, useautoreconnect,
unlimitedconnectretries, rejoinchannels, wasconnected
Affected irc server settings are: usessl, useproxy

11 years agofixes #611 - quasselclient --help shows core options
Marcus Eggenberger [Wed, 11 Mar 2009 12:54:36 +0000 (13:54 +0100)]
fixes #611 - quasselclient --help shows core options

11 years agoreenabling the logging facility for all messagetypes
Marcus Eggenberger [Wed, 11 Mar 2009 12:37:34 +0000 (13:37 +0100)]
reenabling the logging facility for all messagetypes

11 years agoDropping --migrate-backend option and adding --add-user option to the core.
Marcus Eggenberger [Wed, 11 Mar 2009 01:01:19 +0000 (02:01 +0100)]
Dropping --migrate-backend option and adding --add-user option to the core.
--select-backend supersedes --migrate-backend now as it switches your
backend, merges the old to thew new backend (if supported by both
backends and the new backend was found uninitialized). Otherwise
prompt for credentials to add a new user.
You can now also use the --add-user option at any time to add a core user.

11 years agoproperly purging the core buffersyncer
Marcus Eggenberger [Tue, 10 Mar 2009 21:01:02 +0000 (22:01 +0100)]
properly purging the core buffersyncer

11 years agotackeling 30 sec ping timeout issues
Marcus Eggenberger [Tue, 10 Mar 2009 11:22:34 +0000 (12:22 +0100)]
tackeling 30 sec ping timeout issues

11 years agoselecting a proper default identity when creating a new network
Marcus Eggenberger [Sun, 8 Mar 2009 15:23:39 +0000 (16:23 +0100)]
selecting a proper default identity when creating a new network

11 years agoFixes #583 - identity settings: clicking delete or rename crashes client if there...
Marcus Eggenberger [Sun, 8 Mar 2009 15:05:46 +0000 (16:05 +0100)]
Fixes #583 - identity settings: clicking delete or rename crashes client if there is no identity

11 years agosome SQLite love <3
Marcus Eggenberger [Sun, 8 Mar 2009 13:10:18 +0000 (14:10 +0100)]
some SQLite love <3

11 years agoproperly making identity cert and key persistent
Marcus Eggenberger [Sat, 7 Mar 2009 18:43:23 +0000 (19:43 +0100)]
properly making identity cert and key persistent

11 years agofixing issues with deleting and renaming buffers with the postgres backend
Marcus Eggenberger [Sat, 7 Mar 2009 10:31:07 +0000 (11:31 +0100)]
fixing issues with deleting and renaming buffers with the postgres backend

11 years agoupdating bufferid seq properly after migration to postgres
Marcus Eggenberger [Thu, 5 Mar 2009 19:32:48 +0000 (20:32 +0100)]
updating bufferid seq properly after migration to postgres

11 years agosaner amount for cached ids (postgres only)
Marcus Eggenberger [Tue, 3 Mar 2009 21:05:10 +0000 (22:05 +0100)]
saner amount for cached ids (postgres only)

11 years agoprettyficating the prompting for backend credentials
Marcus Eggenberger [Tue, 3 Mar 2009 17:23:37 +0000 (18:23 +0100)]
prettyficating the prompting for backend credentials

11 years agohandling some sqlite inconsistencies more gracefully
Marcus Eggenberger [Tue, 3 Mar 2009 15:46:53 +0000 (16:46 +0100)]
handling some sqlite inconsistencies more gracefully

11 years agoPostgres tweaks
Marcus Eggenberger [Tue, 3 Mar 2009 14:36:15 +0000 (15:36 +0100)]
Postgres tweaks

11 years agomigration no longer eats memory
Marcus Eggenberger [Tue, 3 Mar 2009 11:54:38 +0000 (12:54 +0100)]
migration no longer eats memory

11 years agoupdating sequences after mirgration
Marcus Eggenberger [Sun, 1 Mar 2009 11:49:43 +0000 (12:49 +0100)]
updating sequences after mirgration

11 years agofirst version of postgres migration writer
Marcus Eggenberger [Sat, 28 Feb 2009 18:08:20 +0000 (19:08 +0100)]
first version of postgres migration writer

11 years agofirst version of sqlite migration reader
Marcus Eggenberger [Sat, 28 Feb 2009 18:06:49 +0000 (19:06 +0100)]
first version of sqlite migration reader

11 years agofirst version of backend migration interface
Marcus Eggenberger [Sat, 28 Feb 2009 17:58:10 +0000 (18:58 +0100)]
first version of backend migration interface

11 years agomaking use of postgres timestamps
Marcus Eggenberger [Sun, 22 Feb 2009 16:50:38 +0000 (17:50 +0100)]
making use of postgres timestamps

11 years agoFurther improvements to the postgres backend:
Marcus Eggenberger [Sun, 22 Feb 2009 15:21:37 +0000 (16:21 +0100)]
Further improvements to the postgres backend:
 - prohibit Qt's postgres driver from deallocating frequently used queries
 - grouping message logging: all messages available on the IRC socket
   are now stored at once. this can be further improved by breaking
   protocol and sending a that messagegroup as one chunk to the client.

11 years agotweakinating
Marcus Eggenberger [Sat, 21 Feb 2009 17:02:51 +0000 (18:02 +0100)]
tweakinating

11 years agofirst version of postgres backend
Marcus Eggenberger [Sat, 21 Feb 2009 15:47:18 +0000 (16:47 +0100)]
first version of postgres backend

11 years agoMake manageusers.py look in various locations for the database
Manuel Nickschas [Tue, 3 Mar 2009 13:27:07 +0000 (14:27 +0100)]
Make manageusers.py look in various locations for the database

Thanks to blizzz and neversfelde.

11 years agoBuild without QWebKit
Manuel Nickschas [Tue, 3 Mar 2009 10:26:01 +0000 (11:26 +0100)]
Build without QWebKit

11 years agoUpdate db path for manageusers.py
Manuel Nickschas [Sun, 1 Mar 2009 19:18:54 +0000 (20:18 +0100)]
Update db path for manageusers.py

11 years agoRename NickCompletionSettings to TabCompletionSettings
Manuel Nickschas [Sat, 28 Feb 2009 20:44:27 +0000 (21:44 +0100)]
Rename NickCompletionSettings to TabCompletionSettings

Also add some more stuff to set which I might use later. I'll commit this now,
in order to avoid unnecessary migration later.

11 years agoAllow QGroupBox for auto widget handling in settingspages
Manuel Nickschas [Sat, 28 Feb 2009 20:25:16 +0000 (21:25 +0100)]
Allow QGroupBox for auto widget handling in settingspages

11 years agoAlways put own nick last in nick completion
Manuel Nickschas [Wed, 25 Feb 2009 19:21:06 +0000 (20:21 +0100)]
Always put own nick last in nick completion

11 years agoSmart tab completion!
Manuel Nickschas [Wed, 25 Feb 2009 17:38:45 +0000 (18:38 +0100)]
Smart tab completion!

This prefers nicks that you addressed last, followed by nicks that last spoke in the channel.
This is a preliminary implementation; we'll modelify this soon and do more interesting things.
But for now, this gives you a feature many of you have waited a long time for :)

Fixes #65.

11 years agoSlot is gone from Client
Manuel Nickschas [Wed, 25 Feb 2009 17:38:21 +0000 (18:38 +0100)]
Slot is gone from Client

11 years agoUpdate IrcUser's lastChannelActivity timestamp if she says something
Manuel Nickschas [Wed, 25 Feb 2009 17:37:32 +0000 (18:37 +0100)]
Update IrcUser's lastChannelActivity timestamp if she says something

11 years agoIntroduce ClientUserInputHandler
Manuel Nickschas [Wed, 25 Feb 2009 17:35:50 +0000 (18:35 +0100)]
Introduce ClientUserInputHandler

This provides a client-side hook for every input that goes through via input line
or Client::userInput(). For now, this checks if we addressed an IrcUser and updates its
lastSpokenTo timestamp.

11 years agoMove nick completion suffix setting from UiSettings to a new NickCompletionSettings
Manuel Nickschas [Wed, 25 Feb 2009 17:33:16 +0000 (18:33 +0100)]
Move nick completion suffix setting from UiSettings to a new NickCompletionSettings

We need it in Client rather than uisupport.

11 years agoAdd timestamps for lastChannelActivity and lastSpokenTo for IrcUsers
Manuel Nickschas [Wed, 25 Feb 2009 17:31:00 +0000 (18:31 +0100)]
Add timestamps for lastChannelActivity and lastSpokenTo for IrcUsers

This stores, per channel, when a user has last said something, and when we
addressed it last (using the nick and the completion suffix). We can certainly
do fun stuff with that.

11 years agoDon't use Qt::Sheet on != Mac
Manuel Nickschas [Fri, 20 Feb 2009 09:09:26 +0000 (10:09 +0100)]
Don't use Qt::Sheet on != Mac

QMessageBox does stupid things if this property is enabled on non-Mac systems.

11 years agoChop linefeed from a single line selection
Manuel Nickschas [Fri, 20 Feb 2009 08:31:41 +0000 (09:31 +0100)]
Chop linefeed from a single line selection

This will chop a trailing linefeed for a single selected line, so you can paste it without
sending it. Note that the behavior for multi-line selecions is still the same (you'd be pasting
all but the last line in that case, which doesn't make much sense).

11 years agofixing images in webpreview when linked statically
Marcus Eggenberger [Thu, 19 Feb 2009 22:24:36 +0000 (23:24 +0100)]
fixing images in webpreview when linked statically

11 years agoAdd -DSTATIC for static builds
Manuel Nickschas [Thu, 19 Feb 2009 22:10:52 +0000 (23:10 +0100)]
Add -DSTATIC for static builds

11 years agoChange version.inc for release 0.4.0
Manuel Nickschas [Tue, 17 Feb 2009 18:12:48 +0000 (19:12 +0100)]
Change version.inc for release

11 years agoChange wording in first-run wizard
Manuel Nickschas [Tue, 17 Feb 2009 18:11:33 +0000 (19:11 +0100)]
Change wording in first-run wizard

11 years agofixing button size
Marcus Eggenberger [Tue, 17 Feb 2009 18:21:27 +0000 (19:21 +0100)]
fixing button size

11 years agoworaround for old bufferviews that had colors disabled
Marcus Eggenberger [Tue, 17 Feb 2009 17:39:15 +0000 (18:39 +0100)]
woraround for old bufferviews that had colors disabled

11 years agominor improvements to automatic buffer selection
Marcus Eggenberger [Tue, 17 Feb 2009 17:26:24 +0000 (18:26 +0100)]
minor improvements to automatic buffer selection

11 years agodisabling away on detach in mono mode. some minor improvement to the away settings
Marcus Eggenberger [Tue, 17 Feb 2009 17:22:50 +0000 (18:22 +0100)]
disabling away on detach in mono mode. some minor improvement to the away settings

11 years agogetting rid of FG abbrevs and unused color buttons
Marcus Eggenberger [Tue, 17 Feb 2009 16:49:14 +0000 (17:49 +0100)]
getting rid of FG abbrevs and unused color buttons

11 years agodisabling global unread requester
Marcus Eggenberger [Tue, 17 Feb 2009 16:42:09 +0000 (17:42 +0100)]
disabling global unread requester

11 years agotypo--
Manuel Nickschas [Tue, 17 Feb 2009 17:07:36 +0000 (18:07 +0100)]
typo--

11 years agoTrigger paste protection if pasting more than 3 lines, rather than 4.
Manuel Nickschas [Tue, 17 Feb 2009 17:05:47 +0000 (18:05 +0100)]
Trigger paste protection if pasting more than 3 lines, rather than 4.

This is to shut up a certain person. :> And no, we won't do it on a single newline
already, as this would be quite annoying.

11 years agoChangeLog++
Manuel Nickschas [Tue, 17 Feb 2009 17:02:18 +0000 (18:02 +0100)]
ChangeLog++

11 years agoThe BufferSyncer cache is now purged when an unknown bufferId is encountered.
Marcus Eggenberger [Tue, 17 Feb 2009 16:32:55 +0000 (17:32 +0100)]
The BufferSyncer cache is now purged when an unknown bufferId is encountered.
Aka: getting rid of "NetworkModel::setLastSeenMsgId(): buffer is unknown" messages.
Note: needs core upgrade

11 years agoTweak aboutDlg some more
Manuel Nickschas [Tue, 17 Feb 2009 15:53:40 +0000 (16:53 +0100)]
Tweak aboutDlg some more

* Don't use hardwired background color
* Make version string selectable (again)

11 years ago/* no comment */
Marcus Eggenberger [Tue, 17 Feb 2009 15:41:01 +0000 (16:41 +0100)]
/* no comment */

11 years agofixing issues with the nick selector not displaying the current nick
Marcus Eggenberger [Tue, 17 Feb 2009 13:20:31 +0000 (14:20 +0100)]
fixing issues with the nick selector not displaying the current nick

11 years agofixes #543
Marcus Eggenberger [Tue, 17 Feb 2009 13:20:19 +0000 (14:20 +0100)]
fixes #543

11 years agofixing auto expand issues with new networks
Marcus Eggenberger [Tue, 17 Feb 2009 01:02:45 +0000 (02:02 +0100)]
fixing auto expand issues with new networks

11 years agofixing disabled away reason fields
Marcus Eggenberger [Mon, 16 Feb 2009 19:46:29 +0000 (20:46 +0100)]
fixing disabled away reason fields