Commit graph

3438 commits

Author SHA1 Message Date
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
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
Jonas Schäfer
322f02f0f4 Remove now-obsolete hsluv dependency 2019-02-14 17:24:23 +01:00
Jonas Schäfer
07606b0cd2 Embed hsluv
See:
https://lab.louiz.org/poezio/poezio/merge_requests/13#note_7453
2019-02-14 16:35:39 +01:00
fa2f6a62ed
Update urls to point to lab.louiz.org
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-14 15:19:11 +00:00
Emmanuel Gil Peyrot
e5e0533b6e logger: Log the JID during a parsing error. 2019-02-07 02:31:15 +01:00
42b87268b3
muctab: fix command_affiliation docstring
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-05 00:45:38 +00:00
e5bc466b27
Fix wording in command_args_parser.quoted docstring
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-05 00:45:17 +00:00
Emmanuel Gil Peyrot
ebc886d670 Render SVG avatars directly at the final resolution. 2019-01-25 01:13:00 +01:00
Emmanuel Gil Peyrot
71ef2a362e Add a stub Image class, to let poezio run even when Pillow isn’t installed. 2019-01-24 22:31:36 +01:00
Emmanuel Gil Peyrot
d19046b5b1 AvatarWin: Add SVG support. 2019-01-24 20:08:41 +01:00
ed8224a3a5 Improve text of impromptu command
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-01-23 23:36:31 +00:00
Emmanuel Gil Peyrot
66c4f02c8e Fix syntax errors in the previous commit. 2019-01-22 21:07:25 +01:00
Emmanuel Gil Peyrot
a1af8a49f1 Store get_theme() in a variable in each function, to avoid redundant calls. 2019-01-22 21:02:17 +01:00