Commit graph

3699 commits

Author SHA1 Message Date
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
ff2f7b3fdc poezio/plugin_e2ee: import missing type
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-19 16:35:34 +02:00
Emmanuel Gil Peyrot
2514a21f13 Add a DOAP file. 2019-07-19 13:56:37 +02:00
6985572020
tabs/basetabs: Move config.get out of for loop
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-13 16:06:08 +02:00
12c5310e5b
poezio/plugin_e2ee: Use encrypted_tags attribute to complete whitelist filtering on encryption
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02 01:12:22 +02:00
a166fcb5a3
poezio/plugin_e2ee: Implement previous commit, add encrypted_tags attribute
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02 01:10:20 +02:00
12e1c0374c
poezio/plugin_e2ee: Add TODO in decryption method to match more than EME messages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02 00:55:41 +02:00
0c54e834ff
e2ee-api: Fix 0380 link in documentation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02 00:21:01 +02:00
8211f3d6f1
e2ee-api: Some more changes to the documentation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-02 00:07:34 +02:00
a8bf37eb61
e2ee-api: Add documentation
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 23:54:10 +02:00
dd6efb1444 e2ee-api: change log line in _encrypt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
a2721b207b e2ee-api: Always remove non-whitelisted subelements of messages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
2fb0cdbb88 e2ee-api: Drop message if no body and no stanza encryption
To avoid leaking data when plugin doesn't do stanza encryption. This
will inevitably reduce the number of features available, but users want
to send "secure" messages right.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
47103fc5eb e2ee-api: do not edit non-chat/groupchat messages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
2778401b23 e2ee-api: Do not remove body from messages if present
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
98102d075c e2ee-api: Add <eme/> only if <body/> is present
As per discussion in jdev@

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
812d9485e3 e2ee-api: update b64 plugin with latest changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
29a4ea389f e2ee-api: Fix log message
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
5500e771a4 e2ee-api: Add replace_body_with_eme parameter to the class
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
fdb5baeb0c e2ee-api: add comment on tag_whitelist
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
3642e1320c e2ee api: filter out non-whitelisted tags if not doing stanza encryption
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
d1a3a35df6 e2ee api: Utilize priority in event handling
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
708ec2523d e2ee api: Ensure only one encryption method is enabled at a time
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
a0140388f3 e2ee api: Avoid creating EME tag when looking if it's present
Some slixmpp API fail.. it's be great if we didn't have to fiddle with
the xml lib directly

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
47909c4dcf e2ee api: Add space before encryption name in status bar
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
d56d442253 First shot of an E2EE plugin interface
Features:
- Decryption by default once the plugin is loaded if messages contains
the right EME magic
- Encryption of messages only if encryption is enabled for the current
tab

Missing pieces:
- No special treatment done on the order of the treatment for messages
yet
- No special handling of non-Partial(/Full) Stanza Encryption yet (i.e.,
removing stuff other than <body/>)

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
b9deb7e164
doc/dev/slix: Fix Slixmpp title
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:08 +02:00
pitchum
286f69912b Fix doc rendering 2019-06-29 09:31:56 +02:00
0628c97706
Update documentation for scrollback with the alias
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-22 04:17:39 +02:00