Paul Fariello
3ef9123ccb
Fix OTR unit test after account_new API change
2019-04-17 14:03:14 +02:00
Paul Fariello
7df7e05639
Fix unit test after account_new API change
2019-04-17 14:03:14 +02:00
Michael Vetter
b40fcf248c
Add omemo_start_sessions to unittest stub
2019-04-14 00:02:17 +02:00
Paul Fariello
0bc660400b
Automatically starts OMEMO if one identity is trusted
2019-04-10 17:24:56 +02:00
Paul Fariello
4ad6904216
Wait for discovery end to publish omemo devicelist and bundle
...
Add sv_ev_connection_features_received for that purpose
2019-04-10 17:23:46 +02:00
Paul Fariello
e69f947547
Rework MUC reflected message filtering
...
Reflected messages can't be filtered by nick only otherwise you might
ignore messages comming from you on another devices.
Consequently we maintain a list of sent messages id in mucwin.
To be sure the id will be correctly reflected we use the origin-id
stanza.
2019-04-10 17:23:46 +02:00
Paul Fariello
e7be3a605b
Add OMEMO in prefs command
2019-04-10 17:23:46 +02:00
Paul Fariello
daf84ced0c
Add required OMEMO stub for unit-test
2019-04-10 17:23:45 +02:00
Philip Flohr
5b7f9dffbc
Fix broken support for case-sensitive account names
...
Don't lower account name before calling accounts_get_account().
Only lower if there is no account with the given name and the name is
interpreted as a jid.
Updated unittests to test this behaviour.
Fixes #725
.
2019-02-22 13:08:08 +01:00
Michael Vetter
706af9a900
Update copyright to include 2019
2019-01-22 11:31:45 +01:00
Dmitry Podgorny
e3f2ca7d10
tests: remove cflag -w and fix warnings
...
The flag hides errors. But we want unit tests to be correct in order
to reveal errors in the main code.
The patch removes tests_unittests_unittests_CFLAGS which makes autotools
use AM_CFLAGS instead. Therefore, unit tests are built with flags
derived from configure.ac.
2018-10-31 18:35:59 +02:00
Michael Vetter
47f90d7a39
Merge pull request #991 from paulfariello/feature/xep-0050
...
Add support for xep 0050 ad-hoc commands, without multi-step
2018-09-27 17:27:37 +02:00
Michael Vetter
82f8083b85
Move p_sha1_hash() to stanza.c
...
Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only
used in this file and now depends on libstrophe so xmpp is a better
namespace folder.
Renaming it as `_stanza_create_sha1_hash()`. And making static since
only used here.
The function cannot be tested in the unit tests anymore.
Once functional tests are working again we should write a test for the
sha1 functionality.
2018-09-06 20:40:09 +02:00
Paul Fariello
f0f973fcb4
Remove unused stup session_get_domain
2018-09-05 15:34:22 +02:00
Paul Fariello
e9e5f382da
Add connection_get_domain stub for tests
2018-09-05 15:13:20 +02:00
Paul Fariello
233e076be9
Add support for command config execution
2018-09-05 13:52:19 +02:00
Paul Fariello
b11d3a79df
Add conf win callback
2018-09-05 13:51:00 +02:00
Paul Fariello
a952776b89
Rename mucconf wins into conf wins
...
Configuration windows are now being used by both muc and cmd.
2018-09-05 13:51:00 +02:00
Paul Fariello
c9f6a78f57
Add command subcommands: list and exec
...
Also handle list result
2018-09-05 13:49:40 +02:00
Rafael Sadowski
bcaf55e5b8
fix: Missing pthread include
2018-08-13 17:19:51 +02:00
James Booth
59382984c0
Add preferences for tab display
2018-03-09 21:15:27 +00:00
James Booth
720dce866e
Add prefs for empty tabs and tab names
2018-03-08 22:27:49 +00:00
James Booth
119c5650cf
Show name in statusbar tabs WIP
2018-03-08 20:01:36 +00:00
James Booth
7c5ece24c5
Use jid argument for /bookmark when in room
...
fixes #983
2018-03-04 00:35:53 +00:00
James Booth
26a182945f
Add /rooms cache
2018-02-05 20:01:54 +00:00
James Booth
8db2389df6
Filter rooms by simple case insensitive text
2018-02-04 21:59:33 +00:00
James Booth
e571ccd8ea
Fix tests, move glob creation
2018-01-27 23:51:03 +00:00
James Booth
d52355d72c
Set locale in unit tests
...
issue #901
2017-04-29 20:33:28 +01:00
James Booth
6b830277a6
Allow previous autocompletion with shift tab
2017-04-01 00:27:11 +01:00
James Booth
1b9d033cef
Add test for case insensitive autocomplete
2017-03-25 20:46:31 +00:00
James Booth
b5e0106526
Autocomplete accent and case insensitive
2017-03-25 01:40:20 +00:00
James Booth
286fecf38d
Allow installing plugins from directory
2017-02-05 21:09:03 +00:00
James Booth
68a3daedb9
Update Copyright
2017-01-28 17:24:22 +00:00
James Booth
6679b890a0
Fix multibyte chars in prof_occurrences
...
issue #901
2017-01-26 00:52:13 +00:00
James Booth
9cfd17821c
Allow room display properies to be set by plugins
2017-01-20 23:26:14 +00:00
James Booth
c8874cd2e0
Allow chat prefix char to be set by plugins
2017-01-20 21:03:55 +00:00
James Booth
1b25aa84cb
Add titlebar encryption text to plugins api
2017-01-19 22:33:29 +00:00
James Booth
70e831e08b
Fix tests
2017-01-16 00:21:57 +00:00
James Booth
2b7894ccff
Remove status from cl_ev_presence_send
...
fixes #888
2017-01-15 23:59:31 +00:00
James Booth
e043029a50
Allow clearing account resource
...
issue #880
2016-11-22 00:39:52 +00:00
James Booth
609d05366c
Use server features for account muc service
...
issue #878
2016-11-20 02:09:34 +00:00
James Booth
333403d2e5
Remove ui_current_print_formatted_line
2016-10-16 22:13:49 +01:00
James Booth
769e71b17b
Remove ui_current_print_line
2016-10-16 21:45:48 +01:00
James Booth
f3aebd547c
Use varargs in win_println_indent
2016-10-15 21:05:26 +01:00
James Booth
711c5b8e45
Add win_appendln
2016-10-15 19:19:44 +01:00
James Booth
8f1d3ab55c
Add win_print
2016-10-15 18:29:02 +01:00
James Booth
3612270e90
Rename win_println -> win_println_indent
2016-10-15 17:23:02 +01:00
James Booth
5488fd6e72
Remove win_vprintln_ch
2016-10-15 17:17:17 +01:00
James Booth
478c749ff9
Remove ui_current_error_line
2016-10-15 17:08:29 +01:00
James Booth
9d075c9805
Remove ui_win_error_line
2016-10-15 17:07:15 +01:00
James Booth
6ed04d87b3
Rename win_get_string -> win_to_string
2016-10-15 16:41:37 +01:00
James Booth
33b4b79f2e
Add ch arg to win_printf_line
2016-10-15 00:04:57 +01:00
James Booth
97898ee082
Add win_printf_line
2016-10-12 00:14:55 +01:00
James Booth
0890179fc4
Remove win_print, use win_printf instead
2016-10-11 23:38:59 +01:00
James Booth
0337c5b22c
Rename win_vprint -> win_printf
2016-10-11 23:10:48 +01:00
James Booth
c40660b0d8
Use current room for /bookmark add and /bookmark remove
2016-10-05 00:52:57 +01:00
James Booth
da437642a5
Merge branch 'master' into win-order
2016-09-25 23:32:15 +01:00
James Booth
a48df40138
Fix assertion errors in unit tests
2016-09-25 23:30:44 +01:00
James Booth
d3cc5bd7ed
Allow vertical positioning of all windows
2016-09-23 00:56:53 +01:00
James Booth
3983ee1d6b
Rename /titlebar -> /wintitle
2016-09-22 21:42:00 +01:00
James Booth
0aa758cbfb
Add /inputwin top|bottom command
...
closes #853
2016-09-19 23:40:45 +01:00
James Booth
ea98a8b04a
Rename Bookmark->jid to Bookmark->barejid
2016-08-28 22:12:50 +01:00
James Booth
0886062806
Use hash table for bookmarks
2016-08-21 15:25:49 +01:00
James Booth
a978bb12bf
Send receipt request only when receiver supports feature
...
issue #829
2016-08-18 22:53:23 +01:00
James Booth
4de570b1ee
Only include receipts feature in disco responses when enabled
...
issue #829
2016-08-18 00:10:15 +01:00
James Booth
9945246a64
Use hashtables for plugin disco features
2016-08-17 23:21:48 +01:00
James Booth
80eb5bee90
Rename Capabilties -> EntityCapabilities
2016-08-13 16:39:25 +01:00
James Booth
a3a73cf003
Move all filepath handling to files.c
2016-07-24 21:49:35 +01:00
James Booth
29452f8f1b
Move xgd functions
2016-07-24 17:12:09 +01:00
James Booth
6cc4abedc5
Move window functions to window_list.c
2016-07-24 17:02:09 +01:00
James Booth
e7bfaa643f
Move autoaway check
2016-07-24 16:06:24 +01:00
James Booth
5bc38b6bc2
Moved window_list.c
2016-07-24 15:14:46 +01:00
James Booth
90b9b48ab9
Moved roster_list.c
2016-07-24 15:08:47 +01:00
James Booth
2af0d38e3d
Moved muc.c
2016-07-24 15:02:43 +01:00
James Booth
1c5efaeb58
Moved jid.c
2016-07-24 14:59:28 +01:00
James Booth
c23506f453
Moved contact.c
2016-07-24 14:55:32 +01:00
James Booth
25a6252a28
Moved chat_session.c
2016-07-24 14:23:55 +01:00
James Booth
0649aad80d
Move event timeout to connection module
2016-07-24 14:08:30 +01:00
James Booth
5f393a6d9f
Remove plugin window on /close
2016-07-12 02:16:12 +01:00
James Booth
3fe1d76a05
Unit test for callback_add_command()
2016-07-04 21:10:11 +01:00
James Booth
71879a3f64
Free plugins commands on quit
2016-07-04 00:41:29 +01:00
James Booth
29eb843d56
Revert "WIP - Unload plugin commands"
...
This reverts commit a01eb5d08e
.
2016-06-30 22:37:52 +01:00
James Booth
a01eb5d08e
WIP - Unload plugin commands
2016-06-29 23:35:57 +01:00
James Booth
383e601f25
Move /statuses options to /presence command
2016-05-31 23:21:19 +01:00
James Booth
6559263b2f
Option to bookmark room invites
...
issue #813
2016-05-23 23:53:44 +01:00
James Booth
fb34785566
Rename command sources
2016-05-22 23:59:52 +01:00
James Booth
eaf2901b01
Add cmd_autocomplete.c
2016-05-20 00:19:03 +01:00
James Booth
3d20c85ada
Remove JABBER_STARTED, JABBER_UNDEFINED connection states
2016-05-10 23:18:11 +01:00
James Booth
6ce8edc194
Move disco info struct to connection
2016-05-07 23:28:16 +01:00
James Booth
81e95966cf
Remove redundant tls secured function
2016-05-06 02:18:31 +01:00
James Booth
579d062063
Move send stanza function
2016-05-06 01:51:58 +01:00
James Booth
b6c4a2029f
Move conn is secure function
2016-05-06 01:49:27 +01:00
James Booth
8950dbb768
Move tls peer cert function
2016-05-06 01:47:19 +01:00
James Booth
31b0f0b0c8
Move uuid functions
2016-05-06 01:16:13 +01:00
James Booth
d1c71e98f4
Move connection fulljid function
2016-05-06 01:12:54 +01:00
James Booth
88f423afea
Rename jabber_ functions
2016-05-06 00:53:03 +01:00
James Booth
3bb1f12410
Add session.c
2016-05-05 23:51:49 +01:00
James Booth
ccabc08fef
Tidy xmpp headers
2016-05-04 01:19:51 +01:00
James Booth
b8c94376aa
Add /blocked command
2016-05-01 19:39:39 +01:00
James Booth
c31913f8d5
Fixed test stubs
2016-05-01 01:27:37 +01:00
James Booth
623fbe9e47
Plugins: Added prof_disco_add_feature()
2016-04-30 23:00:07 +01:00
James Booth
a718e6f91b
Refactored /account set commands
2016-04-28 01:13:42 +01:00
James Booth
38652efb19
Fixed tests
2016-04-27 00:30:33 +01:00
James Booth
fcf486d6b2
Added include to fix tests
2016-04-26 23:50:55 +02:00
Dominik Heidler
1b0ce852bb
Implement XEP-0363: HTTP File Upload
2016-04-26 23:50:55 +02:00
James Booth
2daa02cb60
Merge remote-tracking branch 'asdil12/tray_config'
2016-04-17 23:17:43 +01:00
James Booth
f243e333fc
Added whole word matches for room mention
2016-04-07 01:01:27 +01:00
James Booth
d9344b00fe
Added prof_strstr function
2016-04-03 22:30:24 +01:00
James Booth
9b177a9e01
Removed #AX_PREFIX_CONFIG_H
2016-03-31 21:05:02 +01:00
James Booth
4c913aa08b
Added prof_send_stanza to plugins API
2016-03-23 22:57:03 +00:00
James Booth
6f537c3818
Add PGP decryption for incoming/outgoing carbons
2016-03-22 00:20:29 +00:00
James Booth
639623d625
Tidied cons_show_help
2016-02-18 20:52:52 +00:00
James Booth
a14b7815ae
Added new help format to c plugins WIP
2016-02-18 01:20:37 +00:00
James Booth
41fe8c22b1
Added C plugin code from plugins branch
2016-02-14 22:28:55 +00:00
James Booth
1a3dc91e11
Highlight room trigger terms
2016-02-13 22:46:25 +00:00
James Booth
62b0cdd8fd
Fix room notification reminders
2016-02-07 01:15:40 +00:00
James Booth
19a3066e28
Implemented /console chat setting
2016-02-03 23:16:42 +00:00
James Booth
72574bb944
Fixed tests
2016-02-03 00:13:49 +00:00
James Booth
3ddef99dfe
Handle occupant kicked/banned in private chat wins
2016-02-02 22:25:55 +00:00
James Booth
e816b124ee
Removed unused arg from roster_get_ functions
2016-01-31 02:33:44 +00:00
James Booth
7c1db22fac
Fixed assertion errors in tests
2016-01-30 22:49:44 +00:00
James Booth
b6e9a09c64
Show console messages for room mention and triggers
...
closes #719
2016-01-24 23:47:17 +00:00
James Booth
6281196809
Fixed tests
2016-01-24 23:08:29 +00:00
James Booth
53fc89f711
Added account theme property
2016-01-22 01:06:28 +00:00
James Booth
adb470c454
WIP: Add /theme properties command
2016-01-21 00:50:55 +00:00
James Booth
055a5f71ce
Added roster struct, create and destroy roster on connect/disconnect
2016-01-05 00:06:50 +00:00
James Booth
94b0d2c6da
Added hardcoded autoping timeout
2015-12-31 01:48:04 +00:00
James Booth
6a8656a06b
Added /console command
2015-12-29 23:32:32 +00:00
James Booth
1f56c12377
Added cons_show_incoming_room_message()
2015-12-20 00:54:17 +00:00
James Booth
88fd2a25ee
Show PGP error strings
2015-12-15 00:38:16 +00:00
James Booth
482eea4fcf
Moved sending of initial presence to sv_ev_roster_received
2015-12-14 23:57:06 +00:00
James Booth
0920b65ddf
Added /wins unread
2015-11-30 00:17:44 +00:00
James Booth
d3389db233
Only show reminder notifications when notifications are enabled
2015-11-25 22:33:26 +00:00
James Booth
9c8b137a51
Tidy regular chat and room notifications
2015-11-24 23:03:52 +00:00
James Booth
bf1e7efe23
Show summary of trusted certificates, add /tls cert <fingerprint>
...
fixes #676
2015-11-22 19:53:41 +00:00
James Booth
548f9394be
Removed unused priority settings
2015-11-20 00:18:13 +00:00
James Booth
4efe456e74
Pass offline filter to roster_get_contacts
2015-11-18 01:03:35 +00:00
James Booth
2260e3bd6f
Pass ordering to roster list functions
2015-11-18 00:06:00 +00:00
James Booth
c60060fe5a
Added more group tests
2015-11-14 22:21:57 +00:00
James Booth
c4a1d69a0c
Keep count of group members
2015-11-12 00:46:42 +00:00
James Booth
efb732e3c1
Fixed tests
2015-11-10 01:23:27 +00:00
James Booth
60215cdf9d
Renamed MUC private window functions
2015-11-08 22:08:29 +00:00
James Booth
8a397263dd
ui_incoming_private_msg takes ProfPrivateWin, added asserts
2015-11-08 22:01:51 +00:00
James Booth
9fcdc5901c
Removed ui_new_private_win
2015-11-05 23:28:21 +00:00
James Booth
38255e9be4
Make all mucconfwin functions take ProfMucConfWin
2015-11-02 22:19:01 +00:00
James Booth
a3e9178ea2
Renamed mucconfwin functions
2015-11-02 22:05:17 +00:00
James Booth
eece15d92c
Removed ui_statusbar_new
2015-11-02 21:24:12 +00:00
James Booth
022d20bbdc
Removed ui_clear_win
2015-11-02 21:21:52 +00:00
James Booth
84adec83f9
Removed ui_unread
2015-11-02 21:14:55 +00:00
James Booth
7f5b563a81
Removed ui_handle_room_join_error
2015-11-02 21:11:47 +00:00
James Booth
2089eebf09
Removed ui_win_type
2015-11-02 21:07:04 +00:00
James Booth
bcd19c6d16
Removed ui_swap_wins
2015-11-02 21:05:21 +00:00
James Booth
df5b93987f
Removed ui_tidy_wins
2015-11-02 21:03:30 +00:00
James Booth
75bce88b8a
Renamed ui_switch_win -> ui_focus_win
2015-11-02 20:59:36 +00:00
James Booth
14a81fbbbe
Removed ui_handle_recipient_not_found
2015-11-02 20:46:52 +00:00
James Booth
2ea0e1e938
Removed ui_titlebar_presence
2015-11-02 20:39:43 +00:00
James Booth
1c3eadbf1c
Removed ui_get_chat_recipients
2015-11-02 20:35:01 +00:00
James Booth
6779c5bf68
mucwin_hide_occupants takes ProfMucWin
2015-11-02 01:01:37 +00:00
James Booth
668f92ece2
mucwin_show_occupants takes ProfMucWin
2015-11-02 00:59:27 +00:00
James Booth
ce0763e160
mucwin_update_occupants takes ProfMucWin
2015-11-02 00:57:13 +00:00
James Booth
1602011e01
mucwin_role_set_error takes ProfMucWin
2015-11-02 00:52:50 +00:00
James Booth
982bc8e066
mucwin_affiliation_set_error takes ProfMucWin
2015-11-02 00:51:12 +00:00
James Booth
7bedb6c294
mucwin_handle_role_list takes ProfMucWin
2015-11-02 00:47:43 +00:00
James Booth
1aa3c0ea4f
mucwin_role_list_error takes ProfMucWin
2015-11-02 00:44:33 +00:00
James Booth
3341e8c202
mucwin_handle_affiliation_list takes ProfMucWin
2015-11-02 00:40:23 +00:00
James Booth
d81dbdb233
mucwin_affiliation_list_error takes ProfMucWin
2015-11-02 00:38:26 +00:00
James Booth
2e81a4efa3
mucwin_broadcast takes ProfMucWin
2015-11-02 00:36:25 +00:00
James Booth
5c53c94253
mucwin_kick_error takes ProfMucWin
2015-11-02 00:33:31 +00:00
James Booth
23ada0d38b
mucwin_subject takes ProfMucWin
2015-11-02 00:29:35 +00:00
James Booth
0592c7f9e9
mucwin_requires_config takes ProfMucWin
2015-11-02 00:26:56 +00:00
James Booth
986741dea8
mucwin_message takes ProfMucWin
2015-11-02 00:24:19 +00:00
James Booth
e68784be43
mucwin_history takes ProfMucWin
2015-11-02 00:19:46 +00:00
James Booth
6ed72d8a35
mucwin_nick_change takes ProfMucWin
2015-11-02 00:17:46 +00:00
James Booth
42643391a4
mucwin_occupant_nick_change takes ProfMucWin
2015-11-02 00:16:01 +00:00
James Booth
b3150ef8e1
mucwin_occupant_presence takes ProfMucWin
2015-11-02 00:14:16 +00:00
James Booth
d505a92d1e
mucwin_occupant_online takes ProfMucWin
2015-11-01 23:52:16 +00:00
James Booth
3a98bf315c
mucwin_occupant_banned takes ProfMucWin
2015-11-01 23:49:45 +00:00
James Booth
cc498110e2
mucwin_occupant_kicked takes ProfMucWin
2015-11-01 23:47:59 +00:00
James Booth
24f283e960
mucwin_occupant_offline takes ProfMucWin
2015-11-01 23:45:54 +00:00
James Booth
8b4bb1c7f1
mucwin_roster takes ProfMucWin
2015-11-01 23:41:45 +00:00
James Booth
d21faa4609
mucwin_room_disco_info takes ProfMucWin
2015-11-01 23:33:50 +00:00
James Booth
363fda82c1
mucwin_room_info_error takes ProfMucWin
2015-11-01 23:30:44 +00:00
James Booth
ed9585376e
mucwin_occupant_role_and_affiliation_change takes ProfMucWin
2015-11-01 23:23:49 +00:00
James Booth
799c064dff
mucwin_occupant_affiliation_change takes ProfMucWin
2015-11-01 23:14:27 +00:00
James Booth
288c1a9d6e
mucwin_occupant_role_change takes ProfMucWin
2015-11-01 23:12:35 +00:00
James Booth
6ea9314f98
mucwin_role_and_affiliation_change takes ProfMucWin
2015-11-01 23:08:02 +00:00
James Booth
c0fc7b51e3
mucwin_affiliation_change takes ProfMucWin
2015-11-01 22:46:24 +00:00
James Booth
e547ae0bcc
mucwin_role_change takes ProfMucWin
2015-11-01 22:42:31 +00:00
James Booth
ed2324900a
Renamed ui_room_hide_occupants -> mucwin_hide_occupants
2015-11-01 21:57:57 +00:00
James Booth
a08f112fd0
Renamed mucwin_occupants -> mucwin_show_occupants
2015-11-01 21:57:18 +00:00
James Booth
2e08910841
Renamed ui_room_show_occupants -> mucwin_occupants
2015-11-01 21:56:17 +00:00
James Booth
4697393373
Renamed ui_room_update_occupants -> mucwin_update_occupants
2015-11-01 21:55:16 +00:00
James Booth
e4e76ec58b
Renamed ui_show_room_info -> mucwin_info
2015-11-01 21:54:31 +00:00
James Booth
67f8faf645
Renamed ui_handle_room_role_set_error -> mucwin_role_set_error
2015-11-01 21:53:12 +00:00
James Booth
50765190f7
Renamed ui_handle_room_affiliation_set_error -> mucwin_affiliation_set_error
2015-11-01 21:52:27 +00:00
James Booth
d47da01c00
Renamed ui_show_room_role_list -> mucwin_show_role_list
2015-11-01 21:51:24 +00:00
James Booth
556985ec39
Renamed ui_handle_room_role_list -> mucwin_handle_role_list
2015-11-01 21:50:32 +00:00
James Booth
2cc5f17871
Renamed ui_handle_room_role_list_error -> mucwin_role_list_error
2015-11-01 21:48:28 +00:00
James Booth
381bce385f
Renamed ui_show_room_affiliation_list -> mucwin_show_affiliation_list
2015-11-01 21:46:57 +00:00
James Booth
fa0ed64190
Renamed ui_handle_room_affiliation_list -> mucwin_handle_affiliation_list
2015-11-01 21:45:59 +00:00