05019c4f2b
core/completions: Use tab.jid where appropriate
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27 21:46:18 +01:00
5a7bc16fe1
CommandCore: remove None check on MucTab.jid
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27 21:46:18 +01:00
9358d541f8
PrivateTab: Use jid parameter instead of name where appropriate
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27 21:46:18 +01:00
e1de0d95c6
*ConversationTab: Use jid parameter instead of name where appropriate
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27 21:46:18 +01:00
2071788948
OneToOneTab: Remove default value for jid parameter
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27 21:46:18 +01:00
d57352dc03
ChatTab: Remove None checks on ChatTab.jid
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27 20:42:58 +01:00
a7826b7b33
ChatTab: Change ChatTab.name meaning
...
`ChatTab.name` is now its own property. It only mirrors `ChatTab.jid`
when it is None for compat reasons.
If code tries to set `ChatTab.name` and it is a valid JID, `ChatTab.jid`
is set instead for compat reasons and `ChatTab.name` stays with its
previous value.
To have `ChatTab.name` mirror `ChatTab.jid` again, set it to None.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27 20:42:54 +01:00
0a4781134e
ChatTab: now accepts only Jids with a domain
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27 19:39:18 +01:00
dc9edb101f
Merge remote-tracking branch 'origin/mr/29'
2019-04-24 21:59:27 +01:00
Emmanuel Gil Peyrot
b07dc1b262
doc: Fix scroll_to_separator description.
2019-04-21 14:15:36 +02:00
Emmanuel Gil Peyrot
c737d2721f
doc: Rename keys into keyboard shortcuts, to be more easily discoverable
2019-04-21 14:15:33 +02:00
2508eea8e6
Refresh tab when information element is added or removed
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-19 15:14:53 +01:00
e2981f3377
doc/commands: fix versionadded
block indentation
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-18 20:36:42 +01:00
74abc59dca
save_order, save: config option is not always a string
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-17 15:50:23 +01:00
PS Le Stang
0d39b52962
Sort chatrooms by name
2019-04-13 23:59:46 +02:00
bddca0c62c
core/commands: remove more safeJID calls; add type hints
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 23:45:05 +01:00
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