Commit graph

3311 commits

Author SHA1 Message Date
0276e74898
MucInfoWin: correctly pass JID to additional info plugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 14:20:55 +00:00
f00866c56a
ConversationInfoWin: Use similar pattern as MucInfoWin to loop through plugins
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-16 14:19:38 +00:00
167920a9d0 Merge branch 'muc-info-win-additional-info' into 'master'
Allow additional information elements in MucInfoWin same as ConversationInfoWin

See merge request poezio/poezio!17
2018-12-15 22:02:31 +01:00
7d0d4ddb51 Use additional info's value directly in MucInfoWin and ConversationInfoWin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-15 21:00:46 +00:00
0c9c4edfa2 Allow additional information elements in MucInfoWin same as ConversationInfoWin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-12-15 21:00:46 +00:00
mathieui
e992107ecf
I give up
on getting Link Mauve to ever run tests
2018-12-15 15:19:27 +01:00
Emmanuel Gil Peyrot
ce729114bc Also switch the potr plugin to https:// 2018-11-14 19:57:15 +01:00
Emmanuel Gil Peyrot
a9ef1b5fb6 Update the slixmpp git URI to point to GitLab
This also changes from git:// to https:// because many networks like to
block non-standard (read non-HTTP) ports, especially in companies or
universities.
2018-11-14 19:54:25 +01:00
Emmanuel Gil Peyrot
ae12b95f92 Add missing height and width attributes to FormWin
Fixes a regression introduced in
cce1a4090a when displaying data forms.
2018-10-27 19:24:58 +02:00
Emmanuel Gil Peyrot
cce1a4090a Add __slots__ in most of the poezio.windows classes, to be more explicit about their data. 2018-10-24 16:28:55 +02:00
Emmanuel Gil Peyrot
d967c246c8 logger: Look up the correct start position, not two bytes before. 2018-10-18 22:01:26 +02:00
Emmanuel Gil Peyrot
a630f4a13d logger: Prefix private functions with an underscore. 2018-10-18 22:01:21 +02:00
Emmanuel Gil Peyrot
d626aa1533 Fix truncate_nick()’s types to include None.
It is relied on in quite a few places which don’t check for None before
calling it on messages which have no nick.
2018-10-18 22:00:40 +02:00
louiz’
08d31d4fc7 Remove the formatting-check ci build until we decide what we should do with it
If we ignore it, it’s just noise.

We need to decide:
- fix the code to be like yapf wants to be (I’m against this)
- change the rules, to make them way more flexible, and then apply them
- don’t run yapf at all
2018-10-18 21:32:51 +02:00
mathieui
9b95b65add
MUC fix for bad servers (#3430)
tentative fix
2018-10-18 01:33:17 +02:00
mathieui
1ed666c5b5
Fix core import in main 2018-10-15 19:40:54 +02:00
mathieui
8484f9e3c5
Build doc inside the venv with the deps 2018-10-13 13:44:54 +02:00
mathieui
b4417b27a1
Fix build warnings in the doc 2018-10-13 13:44:54 +02:00
mathieui
c785c146d1
Remove implicit import of Core modules leading to circular imports
Which did not break if we imported modules in a certain order…
2018-10-13 13:44:54 +02:00
mathieui
3562bd4fc7 Merge branch 'upload-error' into 'master'
upload: add user friendly error when upload service not found

See merge request poezio/poezio!12
2018-10-13 13:42:48 +02:00
284103d370 upload: add user friendly error when upload service not found
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-10-13 12:13:32 +01:00
mathieui
b4b16c794a
Reference the documentation for the upload plugin 2018-10-13 12:36:57 +02:00
mathieui
da743a023f
add documentation refs for the contact plugin 2018-10-12 22:32:13 +02:00
Georg Lukas
d006d273e8
contact plugin (XEP-0157), in memoriam Bunneh 2018-10-12 22:30:19 +02:00
mathieui
e6fe7c9afb
Don’t pin the cython version 2018-10-07 23:16:48 +02:00
Emmanuel Gil Peyrot
1965abf99a XEP-0231: Extract cids from XHTML-IM. 2018-09-30 11:46:27 +02:00
Emmanuel Gil Peyrot
c13ae1b932 Print the error given by the server when /bookmark fails. 2018-09-29 23:09:32 +02:00
Emmanuel Gil Peyrot
2428084c8d Cache highlighting regex in a lru.
This makes it way faster than having to create it all the time.
2018-09-25 21:55:25 +02:00
Jonas Schäfer
6deffb430e Improve highlighing regex to deal with fancy nicknames
Nicknames which do not end and start on a word boundary or contain
regex metacharacters broke with the previous approach.

Fixes #3433.
2018-09-25 18:59:37 +02:00
4b8c63d25b Split highlight logic and UI changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-09-25 12:47:09 +02:00
louiz’
791d44f1b9 Disable the pylint CI test until upstream's bug is fixed
See https://github.com/PyCQA/pylint/issues/2439
2018-09-17 09:46:54 +02:00
mathieui
0b8fef46f7
Fix compatibility with python 3.5.2
We don’t lose anything, mypy will add these Optionals by itself since it
can see the = None.
2018-09-11 20:16:48 +02:00
mathieui
12700fdaee Merge branch 'tabs-slice' into 'master'
Allow Tabs object to be sliced

See merge request poezio/poezio!11
2018-09-10 23:50:38 +02:00
65649e91c4
Tabs: add test for slice support
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-09-10 22:45:23 +01:00
bb9bc80d9b
Allow Tabs object to be sliced
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-09-09 13:39:46 +01:00
louiz’
2a75589747 Clean the README a little bit
Notably, remove a section that was just describing the workflow that is now
used by 99% of people, thanks to github and co. People now how to do these
things nowadays.
2018-08-23 23:52:21 +02:00
mathieui
4463a0d5b5
Fix /irc_query in the IRC plugin 2018-08-23 21:35:28 +02:00
mathieui
1524245dd0
Do not add our directory to the path
it’s bad practice and can create issues
2018-08-22 23:32:56 +02:00
Emmanuel Gil Peyrot
0e7ebf974e Install the .desktop file. 2018-08-20 22:11:03 +01:00
Emmanuel Gil Peyrot
d3c738b53c Ship appdata, flatpak manifest, and desktop files. 2018-08-20 22:06:24 +01:00
Emmanuel Gil Peyrot
f2d2c4df3c Install the appdata file. 2018-08-20 21:38:45 +01:00
louiz’
7ce30f8f27 Merge branch 'launch-script-version' into 'master'
Only check if `.git` exists, not more

See merge request poezio/poezio!9
2018-08-20 19:42:33 +02:00
0ec5250056 Update version string in launch script
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-20 00:02:18 +01:00
a6f840e7ba Only check if .git exists, not more
`git worktree` has `.git` as a file, not a directory.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-20 00:02:15 +01:00
louiz’
390d076abb No need to have a symlink for sphinx-build, it’s directly in the image 2018-08-20 00:11:51 +02:00
louiz’
9238ee2e1a Update the build-doc CI build to deploy the full doc 2018-08-20 00:00:05 +02:00
mathieui
8edef603fb
Fix UserList.resize 2018-08-19 13:03:40 +02:00
Emmanuel Gil Peyrot
8d2f25095f muctab: Create the last_talked compare lambda only once. 2018-08-18 20:48:57 +01:00
Emmanuel Gil Peyrot
accf6ab777 Fix wrong tests for None. 2018-08-18 08:04:56 +01:00
Emmanuel Gil Peyrot
73749091ae Remove some circular type imports. 2018-08-18 08:04:41 +01:00