summaryrefslogtreecommitdiff
path: root/poezio/common.py
AgeCommit message (Collapse)Author
2021-04-12fix: remove all remaining safejids (fix #3457)mathieui
2021-04-11fix: issue when converting local timezonesmathieui
2021-03-13style: do not override the loaded time modulemathieui
2021-01-28Move get_error_message to commonmathieui
2020-12-12from __future__ import annotationsEmmanuel Gil Peyrot
Now that our baseline is Python 3.7, we can rely on type annotations to be lazily evaluated.
2020-06-01mypy: type more strictly common.pymathieui
2020-05-23Convert all datetimes to UTC when doing comparisonsmathieui
2020-05-12Add function to calculate unique prefix of two stringsJonas Schäfer
2019-04-07safeJID: Add debug logging on invalidJID exceptionMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-19Fix various spelling mistakes throughout the codeKim Alvefur
2018-08-15rostertab, common: Use the default arg of os.getenv().Emmanuel Gil Peyrot
2018-08-15Fix mypy errors, add type annotationsmathieui
2018-07-22Add type hints here and theremathieui
2018-07-10common: Simplify get_os_info() using pathlib.Path().Emmanuel Gil Peyrot
2018-07-10common: Remove unused get_base64_from_file() function.Emmanuel Gil Peyrot
2018-01-10Fix typos, thanks `codespell`!Emmanuel Gil Peyrot
2017-11-12yapf -irmathieui
2017-10-14Remove use of deprecated base64.encodestring methodmathieui
2016-10-04"information" is already plural, fix wordingmathieui
2016-09-20Stop using deprecated aliases from slixmpp.Emmanuel Gil Peyrot
2016-06-30Absolute imports everywheremathieui
2016-06-27Make all relative imports explicit.Emmanuel Gil Peyrot
2016-06-11Make poezio.common more Cython-friendly.Emmanuel Gil Peyrot
Also remove support for OLD_PYTHON (before 3.3), some unused constants, mark private functions with a leading underscore, and clean up some pep8 violations.
2016-06-11Make poezio.poezio_shlex more Cython-friendly.Emmanuel Gil Peyrot
2016-06-11Move the src directory to poezio, for better cython compatibility.Emmanuel Gil Peyrot