[Psi-Devel] [patch] for Plugins

C. H. ptitkov at gmail.com
Sat Jul 12 04:08:14 PDT 2008


I made some patches for PSI.
http://www.nuos.edu.ua/~pavel/psi/chpatches.tar.gz

1. added DiscoItemsQuerier class
2. added to Advanced options: Tab position property
3. fixed plugins options, now it can load & save properties
4. fixed Tabs:
- now tabs can change position
- added to tab user status icon
5. fixed PsiTextView widget: changed select color (FS #824)
6. fixed ChatDlg & PsiChatDlg classes:
- added send button to UI (FS #725)
- added plugin interceptMessage function (FS #79)
- added plugin nickChange function (FS #79)
- added typeMessage & putMessage - call from plugin (FS #79)
- added pluginFrame to UI (container for plugin's widgets) (FS #79)
- added chatEditTextChanged signal for plugin (FS #79)
7. fixed GCMainDlg class:
- added question "Leave room?" before leave room.
8. added to PsiMain class plugin quit function.
9. fixed ChatEdit class:
- added HistoryMessags (you can press ctrl+arrow up/down for scroll
your sent messages) (FS #483)
10. fixed Plugins Systems (FS #79):
- fixed "apply-restore options" functions
- added contactOffline, contactOnline, login, logout, groupChatJoin,
groupChatLeave functions for OTR plugin (thanks to Timo Engel
http://public.tfh-berlin.de/~s717689/)
- added query for VCard.
- added functions for read-write PrivateData packets.
- added functions for read-write IQ packets.
- added createWidgets & deleteWidgets functions: plugin can insert
widgets to ChatDlg.
11. fixed PsiAccount class: added functions for OTR plugin.
12. fixed PsiPopup:
- now it can display incoming message (FS #187).
- it has setting on/off
13. Added Aliases plugin, it stores aliases in PrivatData. It's
helpfully for Support chat operators, when they write the same
message. For example:
Hello, how can I help you?
or
Hello, how can I assist you?

You can add aliases for this /hl & /ha. Then just input /hl and press Enter.

That's all


More information about the Psi-Devel mailing list