Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-22 | Merge remote-tracking branch 'origin/mr/31' | Maxime “pep” Buquet | |
2019-06-22 | Rework priority handling for events | Maxime “pep” Buquet | |
Introduce the concept of priority for event handlers, instead of the position parameter. The new `priority` parameter replacing `position` should be an integer between 0 and 100. It defaults to 50. The previous `position` parameter was only used to insert at a certain position in the list of handlers (for this particular event). No reference of it was kept, which means that it was not possible to ensure an event was called in the position is was supposed to be. I am now using per-event dicts, containing priority buckets (lists) of handlers. I am using OrderedDicts to make it easier to loop through all of the handlers, as insertion happens less often than reading. I was also suggested using bisect with a simple list of tuples (priority, handler) per event, but bisect tries to compare bound methods, which is obviously not possible. Maybe it would be interesting to find a way use this method instead of OrderedDict as that might be less resource consuming. This said, I don't think this part of poezio is a bottleneck at all, so maybe this is just fine as is. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-06-20 | Added few comments in the code and splitted a part of code into different ↵ | Madhur Garg | |
function. | |||
2019-06-20 | Fixed some mistakes in coding style | Madhur Garg | |
2019-06-20 | Corrects the repeated refresh of the window | Madhur Garg | |
2019-06-20 | Updated usage of /sb in documentation | Madhur Garg | |
2019-06-20 | Getting the line number of the message in the tab based on the searched ↵ | Madhur Garg | |
timestamp | |||
2019-06-20 | Code work for /sb goto <+|-linecount>|<linenum>|<timestamp> | Madhur Garg | |
2019-06-20 | Corrected code duplication | Madhur Garg | |
2019-06-20 | Corrected description of the scrollback command | Madhur Garg | |
2019-06-20 | Few imports for scrollback command | Madhur Garg | |
2019-06-20 | Documentation for scrollback command. | Madhur Garg | |
2019-06-20 | Initial version of scrollback | Madhur Garg | |
2019-06-18 | Merge https://lab.louiz.org/poezio/poezio | Madhur Garg | |
2019-06-17 | Merge remote-tracking branch 'origin/mr/35' | Maxime “pep” Buquet | |
2019-06-17 | Updated copyright for lastlog plugin | Madhur Garg | |
2019-06-14 | Corrected the search for lastlog messages and refresh of the window. | Madhur Garg | |
Corrected the search for lastlog messages and refresh of the window. patch from Maxime Buquet Corrected the search for lastlog messages and refresh of the window. | |||
2019-06-13 | Corrected the search for lastlog messages and refresh of the window. | Madhur Garg | |
2019-06-13 | patch from Maxime Buquet | Maxime Buquet | |
2019-06-12 | Corrected the search for lastlog messages and refresh of the window. | Madhur Garg | |
2019-06-12 | initial version of a lastlog plugin | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-06-07 | plugins/figlet: error out when figlet doesn't exist | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-05-28 | Also skip librsvg import on AttributeError | Emmanuel Gil Peyrot | |
In the case python-gobject isn’t installed, but another package (such as libibus) provides overrides, the gi module will still get imported fine despite being empty, resulting in a traceback. To prevent this, we also catch AttributeError so that gi.require_version can fail. | |||
2019-05-11 | plugins/ping: Import missing JID value (thanks madhur, and pylint) | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-05-07 | config: ensure tabname is not a JID object | Maxime “pep” Buquet | |
Tabnames should be treated as opaque strings. This specific fix prevents tabname (JID) to be compared with invalid stringly-typed JIDs. JID's __eq__ method used to (after poezio/slixmpp@47968963) try and convert anything into JIDs. This has been fixed and now properly returns NotImplemented. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-29 | ConversationTab: fix undefined reference, missing self | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-28 | plugins: Update use of tab.name to tab.jid where appropriate | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-28 | MucTab: Replace tab.name with tab.jid where appropriate | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | Replace tab.name with tab.jid | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | multiuserchat: type change_show method | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | core/commands: Use jid parameter instead of name where appropriate | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | core/completions: Use tab.jid where appropriate | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | CommandCore: remove None check on MucTab.jid | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | PrivateTab: Use jid parameter instead of name where appropriate | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | *ConversationTab: Use jid parameter instead of name where appropriate | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | OneToOneTab: Remove default value for jid parameter | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | ChatTab: Remove None checks on `ChatTab.jid` | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-27 | ChatTab: Change ChatTab.name meaning | Maxime “pep” Buquet | |
`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 | ChatTab: now accepts only Jids with a domain | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-24 | Merge remote-tracking branch 'origin/mr/29' | Maxime “pep” Buquet | |
2019-04-21 | doc: Fix scroll_to_separator description. | Emmanuel Gil Peyrot | |
2019-04-21 | doc: Rename keys into keyboard shortcuts, to be more easily discoverable | Emmanuel Gil Peyrot | |
2019-04-19 | Refresh tab when information element is added or removed | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-18 | doc/commands: fix `versionadded` block indentation | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-17 | save_order, save: config option is not always a string | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-13 | Sort chatrooms by name | PS Le Stang | |
2019-04-08 | core/commands: remove more safeJID calls; add type hints | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-08 | list command: default to domain jid if no argument specified | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-08 | core/commands: remove safeJID call in list command | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> | |||
2019-04-08 | ChatTab: Oops. prevent recursion when using setters | Maxime “pep” Buquet | |
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net> |