about summary refs log tree commit diff stats
path: root/tests/unittests/xmpp
Commit message (Collapse)AuthorAgeFilesLines
* Final touches for `/avatar set`Michael Vetter2022-05-271-2/+0
|
* Add checks for whether gdk-pixbuf exists before using avatar setMarcoPolo-PasTonMolo2022-05-261-1/+4
|
* Add `/avatar set` command to publish avatarMarcoPolo-PasTonMolo2022-05-261-0/+5
| | | | | | | | Use `/avatar set <path>` where <path> is an image file to upload a new avatar for the current user. When the avatar is too big it gets scaled down. Scaling code copied from dino. Fixes https://github.com/profanity-im/profanity/issues/1687
* tests: add publish_user_mood stubMichael Vetter2021-12-061-0/+5
|
* Format new register code correctlyMichael Vetter2021-10-131-1/+1
|
* registration: add test stubMichael Vetter2021-10-131-0/+12
|
* Adjust test stub of blocking commandMichael Vetter2021-07-011-1/+1
|
* Add command to show single bookmark detailsMichael Vetter2021-06-091-0/+6
| | | | | | | `/bookmark list` lists all bookmarks with its details. `/bookmark list <jid>` shows the details of a single bookmark. Implement https://github.com/profanity-im/profanity/issues/1558
* Add support to register with a roomMichael Vetter2021-03-251-0/+10
| | | | | | | | | | `/affiliation register` can now be used to register a nickname with a MUC. Tested with a server without forms. Couldn't find a server which supports forms yet. Implements https://github.com/profanity-im/profanity/issues/1210
* MUC: Add voice requestThorben Günther2021-03-121-0/+5
| | | | closes https://github.com/profanity-im/profanity/issues/1211
* Add command to change password of logged in userThorben Günther2021-03-111-0/+10
|
* OX: XEP-0373: OpenPGP for XMPP - Version 0.5.0 (2020-06-19)DebXWoody2020-07-101-0/+10
| | | | | | | | | | | Discovering Public Keys via PEP * 4.3 Discovering Public Keys of a User * 4.4 Requesting Public Keys * Import Public Keys into GnuPG's local keyring. Issue: #1331
* Apply coding styleMichael Vetter2020-07-074-118/+328
|
* Revert "Apply coding style"Michael Vetter2020-07-074-332/+122
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-074-122/+332
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Tests: Add ox_announce_public_key stubMichael Vetter2020-07-061-0/+9
|
* Add OX test stubsMichael Vetter2020-06-291-0/+5
|
* Add option for legacy authenticationDmitry Podgorny2020-06-051-1/+2
| | | | | | | | New options: /connect <account> [auth default|legacy] /account <account> set auth default|legacy Fixes #1236.
* Fix clears_chat_sessions unittestMichael Vetter2020-05-281-0/+5
|
* Update bookmark test stubMichael Vetter2020-05-221-2/+2
|
* Fix message_send_private unittest stubMichael Vetter2020-04-061-1/+6
|
* Parse mentions and triggers in muc history if display is 'regular'Michael Vetter2020-02-201-1/+1
| | | | Fix https://github.com/profanity-im/profanity/issues/1261
* xep-0308: adapt unit test stubsMichael Vetter2020-02-141-5/+4
|
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-311-3/+3
| | | | Fix #1068
* Use OMEMO for offline MUC members (#1242)Paul Fariello2020-01-201-1/+1
|
* xep-0084: add test stub fileMichael Vetter2019-12-181-0/+7
|
* Don't override ProfMessage Id with origin-idMichael Vetter2019-10-311-1/+1
| | | | | | | | | | Profanity sends the same value for both. Other clients might not. Safe both since we could need them later. Once we implement Last Message Correction we will need the regular id. If we override it with origin-id and another client chooses to not use the same value for id and origin-id then we can't interpret the id sent with the LMC request correctly.
* Adjust stub for connection_get_profanity_identifierMichael Vetter2019-10-221-1/+1
|
* Move ProfMessage and message_is_sent_by_us to xmppMichael Vetter2019-10-191-1/+0
| | | | Not meant for internal usage only.
* Add message_is_sent_by_us stubMichael Vetter2019-10-181-0/+5
|
* Remove accidentally added fileMichael Vetter2019-10-181-7/+0
|
* Add connection_get_profanity_identifier stubMichael Vetter2019-10-182-0/+11
| | | | And move defintion to xmpp.h
* Add missing stub filePaul Fariello2019-07-171-0/+7
|
* Cancel autoping timer on disconnect or connection lossDmitry Podgorny2019-06-031-0/+1
| | | | | | | | | If Profanity is disconnected in any way before ping response is received, the autoping timer will expire after the next connection is established. As result, user will be disconnected immediately. Cancel autoping timer in ev_disconnect_cleanup(), so it is done for all kind of disconnections.
* Use mock_type() for casting mock()Frank Zschockelt2019-05-081-5/+5
|
* Use mock_ptr_type() to silence compiler warningsFrank Zschockelt2019-05-081-4/+4
| | | | | | Unit tests on 32-bit architectures were failing due to "cast to pointer from integer of different size" warnings. mock_ptr_type silences those by first casting to uintptr_t.
* Rework MUC reflected message filteringPaul Fariello2019-04-101-1/+4
| | | | | | | | | 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.
* Remove unused stup session_get_domainPaul Fariello2018-09-051-5/+0
|
* Add connection_get_domain stub for testsPaul Fariello2018-09-051-0/+5
|
* Add conf win callbackPaul Fariello2018-09-051-2/+2
|
* Add command subcommands: list and execPaul Fariello2018-09-051-0/+2
| | | | Also handle list result
* Add /rooms cacheJames Booth2018-02-051-0/+1
|
* Fix tests, move glob creationJames Booth2018-01-271-1/+2
|
* Allow previous autocompletion with shift tabJames Booth2017-04-011-4/+4
|
* Remove status from cl_ev_presence_sendJames Booth2017-01-151-2/+3
| | | | fixes #888
* Use hash table for bookmarksJames Booth2016-08-211-1/+1
|
* Send receipt request only when receiver supports featureJames Booth2016-08-181-3/+8
| | | | issue #829
* Only include receipts feature in disco responses when enabledJames Booth2016-08-181-0/+2
| | | | issue #829
* Rename Capabilties -> EntityCapabilitiesJames Booth2016-08-131-2/+2
|
* Move autoaway checkJames Booth2016-07-241-0/+2
|
06 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220