Commit graph

3700 commits

Author SHA1 Message Date
e61b7742bb
list command: default to domain jid if no argument specified
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 23:16:46 +01:00
b5e8933ea0
core/commands: remove safeJID call in list command
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 23:06:00 +01:00
db2a22d099
ChatTab: Oops. prevent recursion when using setters
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 16:11:23 +01:00
8d53ff71d1
ChatTab: utilise self.jid
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 14:33:19 +01:00
4a3d1c76e3
ChatTab: Introduce self.jid as a JID object
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 14:27:40 +01:00
bf2225468e Revert work on tabs module to change tab.name to JID.
This reverts commits:
d693479d05
2d0cc092fc
89a61b84bd
8194d9afbd
e256c31875
a21335ac17
c96e528a8f
0551867bfd
6ab49c188a
2019-04-08 14:01:09 +01:00
6ab49c188a
Fix tab.name not being a string by calling the right property
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 11:38:29 +01:00
0551867bfd
PrivateInfoWin: remove safeJID call
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 11:15:17 +01:00
c96e528a8f
MucInfoWin: fix room name type
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 11:14:43 +01:00
a21335ac17
Remove more safeJID calls
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07 23:52:30 +01:00
e256c31875
poezio/tabs: Fix jid types for base tabs contructors
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07 23:51:22 +01:00
8194d9afbd
poezio/text_buffer: Remove JID type for now
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07 22:27:55 +01:00
89a61b84bd
poezio/tabs/basetabs: remove safeJID call
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07 22:21:29 +01:00
2d0cc092fc
poezio/bookmarks: Fix type for tab name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07 22:20:52 +01:00
d693479d05
safeJID: Remove some safeJID calls
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07 22:15:40 +01:00
cdd4a99c45
impromptu: catch invalidJID exception for room jid
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07 20:41:52 +01:00
11850bfe1d
safeJID: Add debug logging on invalidJID exception
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07 20:40:48 +01:00
Madhur Garg
dd55845af7 Corrects the functionality of /add and /accept commands in all the tabs. Fixes #3395
Corrects the functionality of /add command in all tabs. Fixes #3395

Removed trailing whitespaces

Corrected general way of writing code.

Corrects the functionality of /add and /accept commands in all tabs. Fixes #3395
2019-03-30 17:25:42 +05:30
Georg Lukas
dc5144fdb9 Inform the user and re-instate 0199 pinger on a successful 0198 resume 2019-03-26 14:56:48 +01:00
Georg Lukas
90a5b3d352 Refactor session_end actions out of on_disconnect 2019-03-26 14:29:50 +01:00
Georg Lukas
46e3dece5e Only /part tabs on disconnect, not on reconnect 2019-03-26 12:28:47 +01:00
Georg Lukas
40f292d998 Use new slixmpp!12 disconnect/reconnect semantics 2019-03-26 12:18:30 +01:00
Georg Lukas
910240afb6 Display disconnect reason, depends on slixmpp!12 2019-03-26 11:32:15 +01:00
Madhur Garg
b5cca8687d Corrects the functionality of /add command in all tabs. Fixes #3395 2019-03-24 19:35:43 +05:30
f51d495198 Merge branch 'muc_subject' into 'master'
Corrected the value of timestamp for MUC subject. Fixes #3451

Closes #3451

See merge request poezio/poezio!25
2019-03-23 21:50:42 +01:00
Madhur Garg
24a0df30f0 Corrected the value of timestamp for MUC subject. Fixes #3451
Corrected the value of timestamp for MUC subject. Fixes #3451

Corrects the value of timestamp for messages with delay tag. Fixes #3451
2019-03-23 23:46:27 +05:30
4128cc847b
Treat messages containing subject as regular message if they contain body or thread.
Fixes #3452 in combination with slixmpp@2dda6b80.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-23 17:07:59 +00:00
Madhur Garg
53ededcb19 Corrects functionality of /reconnect in all type of tabs. Fixes #3471
Corrects functionality of /reconnect in all type of tabs. Fixes #3471

Moved command_reconnect from particular tabs to core.commands. Fixes #3471
2019-03-23 16:04:36 +00:00
86ee25491c
's/an user/a user/g'
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-20 12:16:03 +00:00
Kim Alvefur
5eb3e36b61 Change 'his/her' to 'their'
It's shorter and reads better.

Also removes 'its', which might be intented to refer to bots or the like.
2019-03-19 18:25:46 +00:00
Kim Alvefur
a6e66cd50e Fix various spelling mistakes throughout the code 2019-03-19 17:50:58 +00:00
1a5d0493da Merge branch 'set_password' into 'master'
Hide the value of  'password' field being displayed in the InfoTab. Fixes #3426

Closes #3426

See merge request poezio/poezio!24
2019-03-18 12:16:59 +01:00
Madhur Garg
614ea5423b Fixes coding style; Corrected indentation and use of static length when displaying hidden value #3426 2019-03-18 16:39:09 +05:30
Madhur Garg
0ed0bd3c6b Fixes variable name #3426 2019-03-18 16:39:09 +05:30
Madhur Garg
fa8c53e097 Hides the value of 'password' field being displayed in the InfoTab. Fixes #3426 2019-03-18 16:38:07 +05:30
60b935a271
poezio/user: Fix English in docstring
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-17 18:50:40 +00:00
Georg Lukas
c7c3ea49ce MUC: update the presence window after each ~10 incoming presences 2019-03-17 11:25:02 +00:00
Georg Lukas
8cbd8dabdd self-ping: match error responses to XEP-0410 2019-03-17 11:22:12 +00:00
Emmanuel Gil Peyrot
f7e3e003a2 code plugin: Add a language class to specify which language this code block is from. 2019-02-28 22:05:57 +01:00
470696063d Properly raise NotImplementedError, prevent errors being swallowed by safeJID
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-28 00:06:36 +00:00
Link Mauve
738dfe0e9a Merge branch 'root-bailout' into 'master'
Prevent poezio from being run as root

See merge request poezio/poezio!20
2019-02-26 22:36:42 +01:00
8af787e378
Prevent poezio from being run as root
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-26 21:33:50 +00:00
mathieui
cc104f1080
Only server-cycle on exact server matches (#3412) 2019-02-24 15:47:51 +01:00
mathieui
d6952f675b
Rename hidden -v option to --custom-version and add a real -v (#3429) 2019-02-24 15:41:16 +01:00
mathieui
34f6ad1bac
Register all commands in the roster but show an error message if used when anonymous (#3435) 2019-02-24 15:28:28 +01:00
mathieui
1355d7411e
Fix MUC PM logging (#3441) 2019-02-24 15:02:54 +01:00
mathieui
0df17b60c3
Do not process messages with subject AND thread or body as topic changes (#3452) 2019-02-24 14:55:33 +01:00
mathieui
4aea2a2e10
Fix a bug when closing a tab (#3460) 2019-02-24 14:34:27 +01:00
mathieui
cd9bae5c29
Fix MUC self-PM hidden stacktrace (#3454)
and do not display messages twice
2019-02-24 14:19:33 +01:00
4e231185f5 Merge branch 'feature/xep-0392-0.5' into 'master'
Bring XEP-0392 implementation to XEP version 0.5

See merge request poezio/poezio!13
2019-02-14 17:52:30 +01:00