Commit Graph

171 Commits

Author SHA1 Message Date
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger 86271b6e3c [thorstenp] string to comment 2008-10-20 15:30:52 +00:00
Yann Leboulanger 158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger 567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger 9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
Yann Leboulanger 35a9cf5d89 coding standards 2008-09-22 09:10:18 +00:00
Yann Leboulanger b4a645e882 use spec version instead of program version to determine which spec to use for notification-daemon. Fixes #4126 2008-09-22 09:04:16 +00:00
Julien Pivotto de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Jean-Marie Traissard aa749cb77b Remove useless function and check. Make avatar in notification works with jpeg too. See #4060. 2008-07-27 10:21:51 +00:00
Brendan Taylor 4ddadc68d9 fix clicking on notification-daemon sign-in notification 2008-05-18 21:17:53 +00:00
Brendan Taylor d511b5afc4 merged in session-centric branch, with fixes for OTR compatibility 2008-05-13 01:59:10 +00:00
js 573568f9ac Reverted r9614 and r9615.
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
Brendan Taylor 2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +00:00
Jean-Marie Traissard 968b2acc4f http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Yann Leboulanger b3f3a812a9 don't always show events in systray when notify_on_all_muc_mesages is False 2008-02-27 21:33:50 +00:00
Yann Leboulanger de20191e72 no need to escape strings that go to notification daemon 2008-02-17 20:44:38 +00:00
Brendan Taylor 381ba838b9 post-refactor traceback fixing 2008-02-06 05:24:07 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Yann Leboulanger 7d5602c4b1 add a new event to allow not playing sound when chat window is focused. fixes #2907 2008-01-27 20:15:17 +00:00
Yann Leboulanger 077e3370f5 replace /me by nickname in notifications. fixes #3609 2007-12-31 00:24:59 +00:00
Yann Leboulanger 7590a57f66 optionally attach notification to systray. fixes #3123 2007-11-17 22:27:40 +00:00
Yann Leboulanger 1f7a462788 [James Newton] osx port for Gajim. a GREAT thanks!!! 2007-11-14 19:47:52 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Stephan Erb 2fdeabc012 Add my copyright :-) 2007-08-31 23:19:23 +00:00
Yann Leboulanger 2419bd509c ability to load transport iconsets from ~/.gajim/iconsets/transports. Fixes #3390 2007-08-22 22:46:31 +00:00
Stephan Erb 8c255eac60 Fix messeage preview if USER_HAS_PYNOTIFY 2007-07-12 22:19:21 +00:00
Stephan Erb 5f1eaeb312 Ability to disable message previews in notify popups. Fixes #3088 2007-07-10 21:57:56 +00:00
Jean-Marie Traissard 983ea67c00 Use good funtion so we can see icon for pynotify notifs 2007-05-14 16:09:53 +00:00
Jean-Marie Traissard c4d10a780e Small typo, made pynotify click to be broken 2007-05-14 05:47:44 +00:00
Julien Pivotto 19df2a0f9e Fix some bugs and improve coding of minimized groupchats. 2007-05-07 21:02:48 +00:00
Julien Pivotto 253c7e6cfc (Fix #3034) Add ability to minimize groupchats in roster, and to minimize autojoigned bookmarked rooms at launch. 2007-05-03 21:02:50 +00:00
Yann Leboulanger 57e9eadff8 fix version of notification-daemon detection 2007-01-28 12:53:14 +00:00
Nikos Kouremenos e9afe36ff3 clean code and update to using GTK/PyGTK 2.8; see #2248 2007-01-16 23:26:38 +00:00
Yann Leboulanger 99b08744ed fix TB when python-notify is installed but not notification-daemon. fixes #2893 2007-01-13 00:52:47 +00:00
Nikos Kouremenos 6faf04a056 make sure we use dbus public api so we work for python dbus 0.80; see #2784 2006-12-17 11:43:34 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 9347fe10e1 Remove lot of useless imports
Fix gajim-remote contact_info
Fix profile_win right click on avatar
Fix a call and a comment
Thanks pyflakes (a program, not a person) for the whole.
2006-11-15 01:59:21 +00:00
Jean-Marie Traissard a8354e1132 Fixed totally broken trayicon_notification_on_new_messages behaviour, change name to
trayicon_notification_on_events and do what's expected
2006-11-03 19:52:39 +00:00
Nikos Kouremenos 10ae874cb6 We now use one term "group chat" in the place of sometimes used room 2006-10-07 14:36:08 +00:00
Nikos Kouremenos 8dfb1a5a66 unite room and server name resulting in a room jid interface [so it aligns with add new contact]. fixes #2504 2006-10-07 12:18:51 +00:00
Nikos Kouremenos 1f6e5bcd7e move dbus_support to common; try to do exceptions for D-Bus [Dimitur please have a look] 2006-09-29 20:49:15 +00:00
Nikos Kouremenos 9dbc502b54 fix identation 2006-09-28 14:47:18 +00:00
Nikos Kouremenos 33c346b75c fix comment 2006-09-28 13:39:42 +00:00
Nikos Kouremenos b19b73d4cc use better varname; put a comment or two; try to make it better understandable; rm two unneeded lines 2006-09-28 13:35:53 +00:00
Nikos Kouremenos 72e8da7130 intro helpers.build_command and fix helpers.exec_command(). fixes #2464 [now all is okay if path has spaces] 2006-09-28 10:44:16 +00:00
Nikos Kouremenos 11cd6d152c Support for notify-python so if notification-daemon is not available, we still can show cool popups. FIXES #1901 2006-09-28 00:31:59 +00:00
Nikos Kouremenos 37667a99e2 make notify.py pythonic 2006-09-27 22:37:41 +00:00
Nikos Kouremenos 3abc8a02d5 die old dbus die! 2006-09-21 15:11:13 +00:00
Yann Leboulanger 87a2ff3d69 show by default all events in roster 2006-09-15 23:06:40 +00:00
Yann Leboulanger 746a0bf98e show connection lost error in popups instead of error dialogs. Fixes #2138 2006-09-10 10:22:16 +00:00
Yann Leboulanger 7a89f716e4 handle correctly notification window in ANC, particulary le tab_opened condition. 2006-09-05 15:43:07 +00:00
Yann Leboulanger a67eaba727 events are now saved in an Event class. show in roster/systray options in Advanced Notification Control (for incomming messages) now work. 2006-09-02 21:01:11 +00:00
Yann Leboulanger 75fe384da4 handle advanced notification for new_message event only (without systray / roster / urgency hint that require a event refactorizatin)
use subprocess module as we depend on python2.4
2006-08-26 22:51:33 +00:00
Yann Leboulanger 95bdf480b4 indentation 2006-07-17 10:06:04 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Yann Leboulanger d10d8f7815 don't show signed in/out popup notification for 30 seconds for transport contacts when we log in/out this transport. Fixes #2041 2006-06-12 15:24:58 +00:00
Jean-Marie Traissard e96724224d #1005 preparation : move popups and sound code for incomming new messages to notify.py 2006-05-22 20:14:54 +00:00
Jean-Marie Traissard 00669c06a0 Missing upcase letter 2006-05-10 20:29:17 +00:00
Jean-Marie Traissard af3500a225 #1005 preparation : Begin to move notifications to notify.py :
-moved popup and sound for contact in/out
-added popup for status change (always disable for the moment, will be advanced only)
Note : removed "if not gajim.awaiting_events[account].has_key(jid)" from condition for an in/out popup to be showed
2006-05-10 20:25:51 +00:00
Jean-Marie Traissard e96c70d332 Pango escape title of notification too. Fixes #1915. 2006-05-04 03:47:34 +00:00
Nikos Kouremenos 35f2132815 add some new comments in notify.py 2006-04-05 18:37:53 +00:00
Nikos Kouremenos d86797d034 [jim++] pango escape text. (#1806) 2006-04-05 14:57:09 +00:00
Yann Leboulanger ddfd3d7be6 better title / text in popup windows. Fixes #1790 2006-04-03 07:40:15 +00:00
Yann Leboulanger e63de7d933 remove some useless import 2006-04-02 16:07:03 +00:00
Nikos Kouremenos 99276b5b8b revert buttons in notif-daemon popups. notif-daemon new release will fix position bug reported as attach in #1537 2006-03-30 20:08:55 +00:00
Yann Leboulanger ef6ead5d84 fix TB: button_text is now always set 2006-03-30 14:08:57 +00:00
Yann Leboulanger a2b7c819a1 re-introduce button in notification in order to see it fully on screen. I just took Andrew's code from #1388 patch04. Fixes #1537 2006-03-30 12:57:38 +00:00
Yann Leboulanger c2594d8792 [Andrew Sayman] Gajim now uses async call to notification-daemon. Fixes #1388 2006-03-25 00:59:09 +00:00
Nikos Kouremenos 751a6fe483 rm buttons from latest version notification-daemon popups. fixes #1537 2006-03-24 23:47:09 +00:00
Yann Leboulanger 17b0ef3930 handle gc invitation in notify.py 2006-03-24 20:01:52 +00:00
Nikos Kouremenos 1524521c7f pychecker on our files. everyone please have a look so we do not do the same mistakes and in case you catch a mistake I did when cleaning 2006-03-24 18:48:26 +00:00
Nikos Kouremenos 65f89dcc18 rm 2 unused modules from notify.py 2006-02-23 12:23:54 +00:00
Yann Leboulanger 38f0a20355 fix indentation 2006-02-22 21:01:54 +00:00
Yann Leboulanger 5ef0058780 on_close function now support notification daemon 0.3.x (on less argument) see #1468 2006-01-26 15:43:34 +00:00
Nikos Kouremenos a7620919f7 [mathiew schnik] Patch to support new Notification Daemon API (0.3.2) 2006-01-26 15:26:20 +00:00
Nikos Kouremenos 912207c098 get_actor --> get_name_from_jid so it is visible it is on gajim level and not on xmppy (lower) lever 2006-01-20 17:50:01 +00:00
Nikos Kouremenos bbc42cc115 [knuckles] refactor API about notifications so we do not dup code allover 2006-01-20 17:40:45 +00:00
Nikos Kouremenos a9727e39db [knuckles] GMail notification now shows number of messages and if clicked opens inbox and all that :) 2006-01-17 20:23:36 +00:00
Nikos Kouremenos b020492de6 notif AVATAR_PATH 2006-01-17 11:20:55 +00:00
Yann Leboulanger bab21aaf56 [knuckles] improved popup notification to show avatar 2006-01-17 09:01:59 +00:00
Yann Leboulanger f8652420e7 determine the version of libnotify before sending it a message. Fixes #1347 2006-01-13 20:33:43 +00:00
Nikos Kouremenos 3c50094afa we now show avatar instead of general contact img for online/offline 2006-01-12 22:48:49 +00:00
Yann Leboulanger 2335fcdabc typo 2006-01-11 21:30:48 +00:00
Yann Leboulanger 247f4547b6 [Tomasz] convert second to ms 2006-01-11 16:47:27 +00:00
Yann Leboulanger d2ab3031f1 contact.name can now be empty. So use contact.get_shown_name() that returns a user friendly name 2006-01-10 18:30:57 +00:00
Travis Shirk 94564e4e4e Merged revisions 5066-5067 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5066 | asterix | 2006-01-09 12:12:52 -0700 (Mon, 09 Jan 2006) | 2 lines

[Tomasz Torcz] libnotify API changed in 0.3. Fixes #1347

........
r5067 | asterix | 2006-01-09 12:48:33 -0700 (Mon, 09 Jan 2006) | 2 lines

initialize gajim.gc_connected[account][room_jid] when we create a new room

........
2006-01-10 01:52:43 +00:00
Travis Shirk f52afdcbe8 Merged revisions 5017-5020,5022-5029 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5017 | asterix | 2006-01-06 01:55:51 -0700 (Fri, 06 Jan 2006) | 2 lines

use escape for pango markup

........
r5018 | asterix | 2006-01-06 02:21:39 -0700 (Fri, 06 Jan 2006) | 2 lines

missing new contacts function

........
r5019 | asterix | 2006-01-06 11:03:07 -0700 (Fri, 06 Jan 2006) | 2 lines

handle the click on toggle_gpg_encryption menuitem

........
r5020 | asterix | 2006-01-06 11:14:14 -0700 (Fri, 06 Jan 2006) | 2 lines

use the saved size even if a chat window is already opened

........
r5022 | asterix | 2006-01-07 03:43:47 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now resume filetransfert

........
r5023 | asterix | 2006-01-07 03:56:31 -0700 (Sat, 07 Jan 2006) | 2 lines

[Knuckles] Google E-Mail Notification

........
r5024 | asterix | 2006-01-07 04:02:16 -0700 (Sat, 07 Jan 2006) | 2 lines

better string

........
r5025 | asterix | 2006-01-07 04:14:32 -0700 (Sat, 07 Jan 2006) | 2 lines

fix a TB

........
r5026 | asterix | 2006-01-07 05:36:55 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now drag a file on a contact in the roster to send him a file

........
r5027 | asterix | 2006-01-07 06:26:28 -0700 (Sat, 07 Jan 2006) | 2 lines

contact.groups is always a list, even if emtpy

........
r5028 | asterix | 2006-01-07 06:54:30 -0700 (Sat, 07 Jan 2006) | 2 lines

make all buttons insensitive on a category row in disco

........
r5029 | asterix | 2006-01-07 07:19:25 -0700 (Sat, 07 Jan 2006) | 2 lines

auto open groupchat configuration window when we create a new room

........
2006-01-07 17:25:35 +00:00
Travis Shirk 757ed426e3 Merged revisions 4987-4989,4991-4996,4999,5003 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4987 | nk | 2006-01-03 04:00:51 -0700 (Tue, 03 Jan 2006) | 1 line

commit 48x48 transport online/offline imgs by Grenshad (I pngcrushed them)
........
r4988 | nk | 2006-01-03 04:32:01 -0700 (Tue, 03 Jan 2006) | 1 line

icon in notification window not always jabber now. MSN if he uses msn etc. thanks stian barmen for helping me test
........
r4989 | nk | 2006-01-03 04:40:44 -0700 (Tue, 03 Jan 2006) | 1 line

all strings I got report about them, are not translatable; pot/po update
........
r4991 | asterix | 2006-01-03 08:08:21 -0700 (Tue, 03 Jan 2006) | 2 lines

don't remove the jid entry in _contacts[account] when we remove a contact

........
r4992 | asterix | 2006-01-03 08:18:30 -0700 (Tue, 03 Jan 2006) | 2 lines

fix logic

........
r4993 | asterix | 2006-01-03 09:04:14 -0700 (Tue, 03 Jan 2006) | 2 lines

a GC_Contact can have a resource if we knoe his real JID

........
r4994 | asterix | 2006-01-03 09:32:58 -0700 (Tue, 03 Jan 2006) | 2 lines

missing argument in create_gc_contact

........
r4995 | asterix | 2006-01-03 10:36:41 -0700 (Tue, 03 Jan 2006) | 2 lines

we save gc_contact vcard instance in instances[self.account]['infos'][Fake_jid]

........
r4996 | asterix | 2006-01-03 11:17:43 -0700 (Tue, 03 Jan 2006) | 2 lines

in DataForm, a field of type 'list-single' can have no <value> element. Create a default one in such a case to prevent TB

........
r4999 | asterix | 2006-01-04 05:52:26 -0700 (Wed, 04 Jan 2006) | 2 lines

prevent TB when we move a contact that was in no group

........
r5003 | asterix | 2006-01-04 09:03:42 -0700 (Wed, 04 Jan 2006) | 2 lines

handle correctly unlabeled option values in DataForms

........
2006-01-05 03:17:36 +00:00
Travis Shirk 1360933ba9 Merged in trunk updates, including meta_contacts
Merged revisions 4951,4962-4969 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4951 | nk | 2005-12-30 16:50:36 -0700 (Fri, 30 Dec 2005) | 1 line

fixes in greek transl
........
r4962 | asterix | 2006-01-01 11:41:04 -0700 (Sun, 01 Jan 2006) | 2 lines

merge meta_contacts branch with trunk. Meta contacts are not in gajim yet, but framework is here. We now use gajim.contacts.many_functions() to handle contacts and groupchat_contacts.

........
r4963 | asterix | 2006-01-01 11:43:24 -0700 (Sun, 01 Jan 2006) | 2 lines

correct contacts file

........
r4964 | asterix | 2006-01-01 11:47:26 -0700 (Sun, 01 Jan 2006) | 2 lines

dict.remove() doesn't exists, it's del dict[]

........
r4965 | asterix | 2006-01-01 11:50:15 -0700 (Sun, 01 Jan 2006) | 2 lines

some missing commits from branch

........
r4966 | asterix | 2006-01-01 11:53:30 -0700 (Sun, 01 Jan 2006) | 2 lines

end of gc_contact.nick -> gc_contact.name

........
r4967 | asterix | 2006-01-01 12:05:59 -0700 (Sun, 01 Jan 2006) | 2 lines

new ACE option: send_sha_in_gc_presence that allow to send sha info in groupchat presences

........
r4968 | asterix | 2006-01-01 12:12:36 -0700 (Sun, 01 Jan 2006) | 2 lines

0.9.1-2 in debian that solve the group bug (commit [4924])

........
r4969 | asterix | 2006-01-01 12:31:13 -0700 (Sun, 01 Jan 2006) | 2 lines

typo

........
2006-01-01 20:06:26 +00:00
Travis Shirk a52596266c Merged trunk 2005-12-30 21:37:36 +00:00
Yann Leboulanger 02fc0a86c3 print more dbus errors in verbose mode only 2005-12-26 16:41:22 +00:00
Nikos Kouremenos e31d031ea3 use else block in notify for failsafe values 2005-12-12 15:15:56 +00:00
Yann Leboulanger 59561d300e when we click on sign in/out notification window, open a chat window 2005-12-12 09:28:36 +00:00
Nikos Kouremenos c984ef155c use ft_request image. thanks again Grenshad for all icons 2005-12-11 18:40:25 +00:00
Yann Leboulanger 8cc90d1d73 fix DBus TB 2005-12-11 16:58:20 +00:00
Yann Leboulanger 6ed018c93e notify now uses handle_event 2005-12-11 10:32:11 +00:00
Nikos Kouremenos 990a5895c8 clarify comment 2005-12-10 22:45:46 +00:00