quassel.git
15 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

15 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.

15 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

15 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 :)

15 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.

15 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.

15 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.

15 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.

15 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

15 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.

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

15 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.

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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.

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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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)

15 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

15 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

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

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

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

15 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

15 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

15 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

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

15 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.

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

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

15 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.

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

15 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

15 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.

15 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

15 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

15 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.

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

15 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

15 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.

15 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.

15 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.

15 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.

15 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).

15 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

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

15 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

15 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

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

15 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

15 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

15 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

15 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

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

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

15 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.

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

15 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

15 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)

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

15 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

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

15 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

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

15 years agoMake nokia.png a proper png
Manuel Nickschas [Mon, 16 Feb 2009 19:43:55 +0000 (20:43 +0100)]
Make nokia.png a proper png

Why do people upload files with a wrong extension? Not that Qt cares about that anyway, but...
Thanks to nonickname2 for noticing.

15 years agoSome more tweaks to AboutDlg
Manuel Nickschas [Mon, 16 Feb 2009 18:58:36 +0000 (19:58 +0100)]
Some more tweaks to AboutDlg

15 years agoFix fontchange notification in InputWidget
Manuel Nickschas [Mon, 16 Feb 2009 16:07:02 +0000 (17:07 +0100)]
Fix fontchange notification in InputWidget

15 years agofixing nossl builds
Marcus Eggenberger [Mon, 16 Feb 2009 15:38:38 +0000 (16:38 +0100)]
fixing nossl builds

15 years agoStop InputLine::eventFilter() from eating JumpKeys
Daniel Albers [Sun, 25 Jan 2009 23:15:00 +0000 (00:15 +0100)]
Stop InputLine::eventFilter() from eating JumpKeys

Fixes #501.

15 years agoMove font settings to general appearance settingspage
Manuel Nickschas [Mon, 16 Feb 2009 09:42:17 +0000 (10:42 +0100)]
Move font settings to general appearance settingspage

This retires our old fonts settingspage for now, since most of what was on
there didn't work anyway. You can now choose fonts for the ChatView, the input line
and (this is brandnew!1!!) the buffer views and nick list.

Also added tooltips for that settingspage and changed the wording a bit.

15 years agoMake the yellow sender color a bit darker to improve contrast on white canvas
Manuel Nickschas [Mon, 16 Feb 2009 00:32:58 +0000 (01:32 +0100)]
Make the yellow sender color a bit darker to improve contrast on white canvas

15 years agotypos--
Manuel Nickschas [Sun, 15 Feb 2009 22:53:10 +0000 (23:53 +0100)]
typos--

15 years agoFix layout issues in SimpleNetworkEditor
Manuel Nickschas [Sun, 15 Feb 2009 22:51:07 +0000 (23:51 +0100)]
Fix layout issues in SimpleNetworkEditor

15 years agoCategories in the settings dialog are now clickable
Manuel Nickschas [Sun, 15 Feb 2009 22:25:00 +0000 (23:25 +0100)]
Categories in the settings dialog are now clickable

Also reordered pages a bit. Fixes #555.

15 years agoGet user name from getpwuid, fixes #546
Manuel Nickschas [Sun, 15 Feb 2009 19:17:29 +0000 (20:17 +0100)]
Get user name from getpwuid, fixes #546

15 years agoDeuglify channel state icons
Manuel Nickschas [Sun, 15 Feb 2009 18:51:52 +0000 (19:51 +0100)]
Deuglify channel state icons

Thanks to Daniel "billie" Pielmeier for providing suitable icons!

15 years agoFix issues with the color settings page, default to off for sender colors
Manuel Nickschas [Sun, 15 Feb 2009 18:09:39 +0000 (19:09 +0100)]
Fix issues with the color settings page, default to off for sender colors

15 years agohide not yet working URL color settings
Daniel Albers [Fri, 13 Feb 2009 19:28:01 +0000 (20:28 +0100)]
hide not yet working URL color settings

15 years agodisable senderColoring per default
Daniel Albers [Fri, 13 Feb 2009 00:23:24 +0000 (01:23 +0100)]
disable senderColoring per default

15 years agoUse Oxygen palette as hardwired sender colors for now Disable sender coloring per...
Daniel Albers [Thu, 29 Jan 2009 00:05:34 +0000 (01:05 +0100)]
Use Oxygen palette as hardwired sender colors for now Disable sender coloring per default

15 years ago_sender became private, use sender() instead
Daniel Albers [Wed, 14 Jan 2009 12:13:07 +0000 (13:13 +0100)]
_sender became private, use sender() instead

15 years agostrip senderFrame and unused colorsettings
Daniel Albers [Fri, 13 Feb 2009 00:20:20 +0000 (01:20 +0100)]
strip senderFrame and unused colorsettings

15 years ago- Implemented: Settings option to enable/disable sender auto coloring
jakob [Fri, 28 Nov 2008 17:01:40 +0000 (18:01 +0100)]
- Implemented: Settings option to enable/disable sender auto coloring

15 years ago- Implemented: Sender auto coloring based on the tango colorscheme
jakob [Fri, 28 Nov 2008 05:51:43 +0000 (06:51 +0100)]
- Implemented: Sender auto coloring based on the tango colorscheme

15 years agofixes #542 - show identities and network settings on first start
Marcus Eggenberger [Sun, 15 Feb 2009 17:01:08 +0000 (18:01 +0100)]
fixes #542 - show identities and network settings on first start

15 years agointernal refactoring: ripping identity editor and identitory settingspage apart
Marcus Eggenberger [Sat, 14 Feb 2009 18:20:42 +0000 (19:20 +0100)]
internal refactoring: ripping identity editor and identitory settingspage apart

15 years agofixing search in messages like join, part, etc...
Marcus Eggenberger [Sat, 14 Feb 2009 16:18:16 +0000 (17:18 +0100)]
fixing search in messages like join, part, etc...