Commit graph

4177 commits

Author SHA1 Message Date
Madhur Garg
4818210a63 Disabled the history of MUC(from 0045) if the MUC supports MAM. 2019-08-22 00:54:25 +05:30
Madhur Garg
c5ef5b0421 Changed the parameter from 'self' to 'tab' where the function is not a method. 2019-08-22 00:54:25 +05:30
Madhur Garg
bb20db0d0a Removed unnecessary 'self' argument from the add_line function. 2019-08-22 00:54:25 +05:30
Madhur Garg
e38fb04da6 Moved the splitting of nick to the function before the call of add_line is made. 2019-08-22 00:54:25 +05:30
Madhur Garg
8937a751d1 Added a check on the category of the chat group 2019-08-22 00:54:25 +05:30
Madhur Garg
e3485cc2b3 Changed the check on an empty message because the earlier one might leave an empty body in XML representation. 2019-08-22 00:54:25 +05:30
Madhur Garg
dfec8bdfb7 Aligned the timestamp of MAM start/end messages, added info message if no more messages are left. 2019-08-22 00:54:25 +05:30
Madhur Garg
a7530dc337 Added a check for IqError and IqTimeout exceptions, while doing mam and disco query. 2019-08-22 00:54:25 +05:30
Madhur Garg
d6ccafbc96 Added a check on empty messages and not displaying them in MAM query 2019-08-22 00:54:25 +05:30
Madhur Garg
836e53bdfe Added a check for tabs (because there is a different way to query messages for MUC and any other type of tab) 2019-08-22 00:54:25 +05:30
Madhur Garg
cc8c808e10 Added await on the get_info call so that MAM support is checked first before proceeding further. 2019-08-22 00:54:25 +05:30
Madhur Garg
7ea48f4cdc Removed /mam command as it is implemented in mam_tab (WIP:37) 2019-08-22 00:54:25 +05:30
Madhur Garg
8b4cc91285 Fixed issue with the start timestamp (removed it) 2019-08-22 00:54:25 +05:30
Madhur Garg
2ca14edbb5 Fixed repeated query for messages on pressing PageUp 2019-08-22 00:54:25 +05:30
Madhur Garg
241f026ccf Fixed timestamp 2019-08-22 00:54:25 +05:30
Madhur Garg
0c22a85626 Changed default start date of the query to be 360 days before current date. 2019-08-22 00:54:25 +05:30
Madhur Garg
8470e52516 Added check for MAM support in disco#info 2019-08-22 00:54:25 +05:30
Madhur Garg
a592baf438 Fixed window refresh 2019-08-22 00:54:25 +05:30
Madhur Garg
6bd012e129 Fixed scroll up 2019-08-22 00:54:25 +05:30
Madhur Garg
8e07c6d60e Added messages when the query is starting and ending. 2019-08-22 00:54:25 +05:30
Madhur Garg
3e491589a8 Changed type of history to 'boolean 2019-08-22 00:54:25 +05:30
Madhur Garg
a0d8e1ceee Corrected description of /mam command 2019-08-22 00:54:25 +05:30
Madhur Garg
772cec28fb Changed the name of MAM function. 2019-08-22 00:54:25 +05:30
Madhur Garg
788c21b986 Apply suggestion to poezio/mam.py 2019-08-22 00:54:25 +05:30
Madhur Garg
ef95461bd7 Apply suggestion to poezio/mam.py 2019-08-22 00:54:25 +05:30
Madhur Garg
7445c37b91 Apply suggestion to poezio/mam.py 2019-08-22 00:54:25 +05:30
Madhur Garg
7220c12d98 Added fuction for infinite scroll, limited number of messages per request to 10. 2019-08-22 00:54:25 +05:30
Madhur Garg
cca0a69bde Added argument to add messages at the bottom for mam command 2019-08-22 00:54:25 +05:30
Madhur Garg
ce21831c97 Added function to build messages and add them on the top 2019-08-22 00:54:25 +05:30
Madhur Garg
de22b2ee98 Added 'top' parameter in add_message function to add messages on the top. 2019-08-22 00:54:25 +05:30
Madhur Garg
971c41eac6 Added call to mam_scroll function when page_up is pressed while on the top. 2019-08-22 00:54:25 +05:30
Madhur Garg
527765e9f6 Removed repetitive code and added Error message for wrong timestamp 2019-08-22 00:54:25 +05:30
Madhur Garg
c988e5fbe0 Removed MAM class and changed it into function. 2019-08-22 00:54:25 +05:30
Madhur Garg
6df26dc98d Removed /mam as a plugin, added it as a command in basetabs. 2019-08-22 00:54:25 +05:30
Madhur Garg
ba93143e8a Removed extra jid and password fields 2019-08-22 00:54:25 +05:30
Madhur Garg
448f70a5c6 Added check for password in eval_password 2019-08-22 00:54:25 +05:30
Madhur Garg
4929c298e5 Removed extra connection 2019-08-22 00:54:25 +05:30
Madhur Garg
e3412f6d36 Registers xep-0313 plugin 2019-08-22 00:54:25 +05:30
Madhur Garg
258cb0ba08 Plugin to fetch an archive of messages using MAM 2019-08-22 00:54:25 +05:30
Madhur Garg
d909adcb5c Client to fetch an archive of messages and add them in the current window 2019-08-22 00:54:25 +05:30
mathieui
3ea2ea338f
Fix xml debug logs
don’t ask, don’t tell
2019-08-21 16:18:23 +02:00
mathieui
de953c9d55
Fix /join <muc name without domain> from an existing muc 2019-08-20 01:16:00 +02:00
louiz’
036f79a662 Update a daemon.py link in the link plugin doc 2019-08-13 11:15:50 +02:00
d8774d8390
text_buffer: Prevent using str as a datetime object
Cleanup a bit how `str_time` is assigned.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-02 17:40:34 +02:00
d43c8cf878 Merge remote-tracking branch 'origin/mr/28'
Address multiple reconnect issues. Thanks Ge0rG!
2019-07-29 19:42:53 +02:00
Link Mauve
a9d17a420d Merge branch 'smile' into 'master'
plugins: "new" emoji_ascii conversion plugin for terminally broken users

See merge request poezio/poezio!39
2019-07-29 18:54:38 +02:00
Georg Lukas
b48c8c3c6c plugins: "new" emoji_ascii conversion plugin for terminally broken users 2019-07-29 18:50:07 +02:00
b5849a868e
plugins: Make all changed plugins work in 1:1 tabs
These were still using tabs.ConversationTab that's been replaced by
Dynamic and StaticConversationTab. These class have been introduced
after resource locking was removed in 1:1, because they were needed for
some plugins like OTR.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-19 18:55:16 +02:00
7fe073c602
plugins/link: typo in class name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-19 18:22:16 +02:00
21d2698b09
plugins/link: make link plugin work in 1:1 tabs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-19 18:20:01 +02:00