Commit Graph

156 Commits

Author SHA1 Message Date
Philipp Hörist 1196e1df0d Unittest: Add more caps hash examples 2018-11-21 20:02:44 +01:00
Marcin Mielniczuk 9d8b56bc0f Refactor groupchat nick auto completion 2018-11-20 10:37:12 +01:00
Philipp Hörist fedc00eb83 Move notify to gtk folder
- Rename notify to notification
- Move get_show_in_roster() to gtk.util
- Move get_show_in_systray() to gtk.util
2018-11-18 22:24:33 +01:00
Philipp Hörist 3ba34fa396 Remove old iconset code 2018-11-18 22:24:32 +01:00
Philipp Hörist f40f171ecd Refactor parse_datetime and add unit test 2018-11-18 10:35:13 +01:00
André Apitzsch a1b798b8fc Remove useless comment 2018-11-17 11:25:24 +01:00
André Apitzsch 5c0ff1de9f Test: Fix KeyError
The added account causes an issue with test_gui_interface,
so the account needs to be removed again
2018-11-17 11:23:38 +01:00
Philipp Hörist 63ff9478bd XHTML: Fix parsing font-size
Remove checking for font_scale, Gtk.TextIter.get_attributes() seems buggy at
the moment, and we dont need to check the current scale to apply a new scale

Fixes #9067
2018-11-16 16:23:42 +01:00
Philipp Hörist 7f1dfe5a8c New DataFormWidget: Add Captcha support 2018-11-15 21:02:09 +01:00
Philipp Hörist f26db88424 Refactor htmltextview test 2018-11-11 22:54:43 +01:00
André Apitzsch 989926a680 Restructure test 2018-11-11 16:50:59 +01:00
André Apitzsch 522eec007d Test: caps cache: use mock from unittest 2018-11-11 16:50:59 +01:00
André Apitzsch 49758ab30e Test: remove unused imports 2018-11-11 16:50:59 +01:00
André Apitzsch fd97d64205 Test: Remove unused xmpp_mocks 2018-11-07 22:36:54 +01:00
Philipp Hörist 44d56ac2fa Tests: Add a DataFormWidget test window 2018-11-03 23:09:12 +01:00
Philipp Hörist 460d390795 Refactor Chat State Notifications
- Move code into chatstate module
- Refactor most of the code, make it much simpler
2018-09-30 22:58:38 +02:00
Philipp Hörist 74b66837fa Add annotations
- Remove some unused vars from app
2018-09-21 15:46:52 +02:00
Philipp Hörist 5a906c1454 Move HtmlTextView test into test folder 2018-09-21 15:46:52 +02:00
André Apitzsch 38218aced1 Tests: fix imports 2018-08-18 22:19:01 +02:00
Philipp Hörist 5a6f03dea4 Add connect_maschine()
Add method that sequentially works the steps we have to do
before sending first presence

- Move Delimiter into own module
- Move Metacontacts into own module
2018-07-27 16:01:10 +02:00
Philipp Hörist a943a35a5d Move caps code into own module 2018-07-22 20:49:53 +02:00
Philipp Hörist 07c87a4194 Rewrite discovery code and move it into own module 2018-07-22 16:20:00 +02:00
Philipp Hörist 37f7a80396 Move message handler into own module 2018-07-22 12:33:55 +02:00
Philipp Hörist bd79fe629f Refactor Privacy and Blocking into own modules 2018-07-08 16:44:14 +02:00
Philipp Hörist 8b800f4646 Refactor VCard code into own modules 2018-06-30 19:32:36 +02:00
Philipp Hörist 5bc9822cec Call notify check methods with JID arg
For subscription requests we dont have a contact obj
2018-06-30 11:02:30 +02:00
Alexander Krotov d871dcdcb1 More spelling fixes 2018-06-22 01:47:29 +03:00
Philipp Hörist 32b74b459e Remove support for ESessions
Fixes #5294
2018-05-28 18:21:45 +02:00
Philipp Hörist 105427b8fd Use consistent way to get paths
This lets us now import the app module without setting paths
2018-04-25 20:49:37 +02:00
Philipp Hörist 4a26ecb12c Refactor configpaths
- init configpaths earlier so logging can access it to store debug logs
- First step for more consistency across Gajim when looking up paths

  Recommended usage for the future:
  app.configpaths.get()
  configpaths.get()
2018-04-21 12:48:57 +02:00
Philipp Hörist 32e23ff58b Remove unused code in resolver test 2018-01-26 23:58:24 +01:00
Philipp Hörist 7dacd51c1d Add complex caps test 2018-01-26 23:57:32 +01:00
Philipp Hörist a01cdbf271 Refactor Avatars
- Add support for Pubsub Avatars
- Dont poll for vCard Updates, only use XEP-0153
- Dont cache vCards
- Store the avatar SHA of roster contacts in the DB
- Store the current SHA of each contact in the Contacts Object
- Move some code into the ConnectionVcard Class
2017-10-08 11:26:28 +02:00
André Apitzsch 9ef942469a Package test, but don't install it 2017-09-22 19:12:26 +02:00
Yann Leboulanger 84060484c4 Remove more Gmail things 2017-09-19 15:52:53 +02:00
Yann Leboulanger 152be4473b Fix some strings for a better translation 2017-09-19 12:45:02 +02:00
André Apitzsch 0080c61014 Install data to new location 2017-09-16 12:18:22 +02:00
Yann Leboulanger 5c0538a202 Fix running make test 2017-09-15 15:11:55 +02:00
André Apitzsch 40770843ae test_pluginmanager: fix imports 2017-09-10 12:22:49 +02:00
André Apitzsch 3c31574cf9 Unittest: replace deprecated functions 2017-09-10 12:21:10 +02:00
André Apitzsch 89c7eb6e6a Rename gajim.common.gajim to avoid name conflicts 2017-08-18 20:03:20 +02:00
André Apitzsch 56d002ce34 Fix test imports 2017-08-18 19:48:48 +02:00
André Apitzsch efec098aef Use absolute imports 2017-08-18 19:48:48 +02:00
Yann Leboulanger 44a29e7a50 make tests run without gui 2017-08-09 22:09:01 +02:00
Yann Leboulanger b5c3b15c0f Fix running tests 2017-08-09 21:05:45 +02:00
André Apitzsch 68a57e7c91 Replace src by gajim 2017-07-02 17:25:46 +02:00
Yann Leboulanger 0d3ce37b27 fix a test. Fixes #8660 2017-06-14 20:25:06 +02:00
Yann Leboulanger e5b69fae5c start running tests 2016-10-10 15:22:51 +02:00
tmolitor 065d08cebf Honor profile given on commandline for plugin dir and history db and more.
Also added new property 'additional_data' to message event objects. Changes to this attribute (a dict) are passed on from event to event and are also written to the history db as json string (reading of those values isn't implemented yet).
2016-09-05 00:01:29 +02:00
Yann Leboulanger cf40035a65 start fixing last test. still a problem with sessions 2013-04-08 18:57:39 +02:00